/*! For license information please see runtime.a2bf3fdf4d5d250fe1e8.js.LICENSE.txt */
(function(){var __webpack_modules__={97411:function(e,t,n){var r=n(87555),i=n(31730),o=n(9669);e.exports=function(e){var t=o.CancelToken.source(),n=i({cancelToken:t.token},e);return new r((function(e,r){return o(n).then(r).catch(e),t.cancel.bind(t)}))}},87555:function(e,t,n){var r=n(79862),i=n(91486),o=n(22876).type("Async"),a=n(22876).typeFn(o(),5),s=n(92244),u=n(91469),l=n(84449),c=n(57598),d=n(91508),f=n(8317),p=n(57778),h=n(23092),m=n(52387),v=n(83606),g=n(28950),y=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=y,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},u=e(s.bind(null,t),s.bind(null,n)),l=h(u)?u:d;return c((function(){return a((l(),void(i=!0)))}))}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,l(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(l(e,t),l(r,n))}))}}function m(e){return function(t){if(!g(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=d,i=d;return r=u((function(){i=t.fork(e,n)}),n),c((function(){return i(r())}))}))}}function v(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=d,o=d;return i=u(n,(function(i){var a=t(i);if(!g(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),c((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=c((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(r,t))}))},ap:function(e){if(!g(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=c(t);function f(){!s&&o&&a&&l(n,r)(i)}var p=u(d,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()})),m=e.fork(d,(function(e){a=!0,i=e,f()}));return function(){p(),m(),s=!0}}))},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),c((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=y,b.type=o,b[s.of]=y,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=y,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!v(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&g(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},91508:function(e){e.exports=Function.prototype},60068:function(e,t,n){var r=n(61510),i=n(55769);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},91469:function(e,t,n){var r=n(62497),i=n(8317),o=n(34281),a=n(23092),s=n(28950),u=n(85504),l=n(60068),c=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return d([e])}),a)):a.map((function(e){return d([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=l(e);return t.reduceRight(f("sequence",c),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=l(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},84449:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},92955:function(e,t,n){var r=n(23092);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(i,t);return r(s)?e(s):s}}},93548:function(e,t,n){var r=n(28950),i=n(97922),o=n(98399),a=n(8761),s=n(92244),u=function(e,t){return e.valueOf()===t.valueOf()},l={Array:function(e,t){return e.length===t.length&&c(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&c(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function c(e,t){for(var n in e)if(!d(e[n],t[n]))return!1;return!0}function d(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(l[a(e)]||u)(e,t))}e.exports=d},92244:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},98399:function(e,t,n){var r=n(23092),i=n(92244);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},79862:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},91486:function(e,t,n){var r=n(8317),i=n(23092),o=n(43945),a=n(43111),s=n(40903),u=n(40415);function l(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(l).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+l(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=l},61510:function(e,t,n){var r=n(98399),i=n(62497);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},62497:function(e,t,n){var r=n(98399),i=n(12584);e.exports=function(e){return i(e)&&r("ap",e)}},8317:function(e){e.exports=function(e){return Array.isArray(e)}},40415:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},34281:function(e,t,n){var r=n(43945),i=n(84061),o=n(93548),a=n(92244);e.exports=function(e){if(i(e)){var t=e.constructor[a.empty]||e.constructor.empty||e.empty;return o(e,t())}return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},57778:function(e,t,n){var r=n(98399);e.exports=function(e){return!!e&&r("reduce",e)}},23092:function(e){e.exports=function(e){return"function"==typeof e}},12584:function(e,t,n){var r=n(98399);e.exports=function(e){return!!e&&r("map",e)}},52387:function(e,t,n){var r=n(51544);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},84061:function(e,t,n){var r=n(98399),i=n(85504);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},51544:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},43945:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},83606:function(e,t,n){var r=n(23092);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},97922:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},28950:function(e,t,n){var r=n(92955),i=n(23092),o=n(8761);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},85504:function(e,t,n){var r=n(43111),i=n(98399);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},43111:function(e){e.exports=function(e){return"string"==typeof e}},40903:function(e){e.exports=function(e){return"symbol"==typeof e}},55769:function(e,t,n){var r=n(23092);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},57598:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},8761:function(e,t,n){var r=n(23092);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},22876:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},96249:function(e,t,n){t.action=n(54769),n(47697),t.error=n(82769),t.handle=n(54345),n(6154),t.onSuccess=n(11869),n(21159)},54769:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return{type:e,payload:t}}))},47697:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return[t,e]}))},82769:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return{type:e,payload:t,error:!0}}))},54345:function(e,t,n){var r=n(43825);e.exports=r((function(e,t){return function(n,r){void 0===n&&(n=e);var i=r.type,o=r.payload,a=r.error;return t[i]?t[i](n,o,a):n}}))},6154:function(e){e.exports=function(e,t,n){return n&&console.error(t),e}},11869:function(e){e.exports=function(e){return function(t,n,r){return r?t:e(t,n)}}},21159:function(e,t,n){var r=n(67125),i=n(59146);e.exports=function(e){return i(e).map(r({type:"SIDE_EFFECT"}))}},59146:function(e,t,n){var r=n(63707),i=n(98652),o=n(66473).type("IO"),a=n(95097),s=n(85998),u=n(21064),l=function(e){return c((function(){return e}))};function c(e){if(!s(e))throw new TypeError("IO: Must wrap a function");function t(t){if(!s(t))throw new TypeError("IO.chain: Function required");return c((function(){var n=t(e());if(!u(c,n))throw new TypeError("IO.chain: Function must return an IO");return n.run()}))}return{inspect:function(){return"IO"+i(e)},run:e,type:o,map:function(t){if(!s(t))throw new TypeError("IO.map: Function required");return c(a(t,e))},ap:function(e){if(!u(c,e))throw new TypeError("IO.ap: IO required");return t((function(t){return e.map(t)}))},of:l,chain:t}}c.of=l,c.type=o,c["@@implements"]=r(["ap","chain","map","of"]),e.exports=c},67125:function(e,t,n){var r=n(26182);e.exports=r(n(31701))},96956:function(e){e.exports=function(e){return Array.prototype.slice.call(e)}},95097:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},31701:function(e){e.exports=function(e){return function(){return e}}},26182:function(e,t,n){var r=n(96956),i=n(85998);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){var n=r(arguments),a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(o,t);return i(s)?e(s):s}}},63707:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},98652:function(e,t,n){var r=n(80434),i=n(85998),o=n(16626),a=n(58570);function s(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(s).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" {}":a(e)?' "'+e+'"':" "+e;var t}e.exports=s},80434:function(e){e.exports=function(e){return Array.isArray(e)}},85998:function(e){e.exports=function(e){return"function"==typeof e}},65026:function(e){e.exports=function(e){return null==e||Number.isNaN(e)}},16626:function(e){e.exports=function(e){return!!e&&e.toString&&"[object Object]"===e.toString()}},21064:function(e,t,n){var r=n(26182),i=n(80434),o=n(85998),a=n(65026);function s(e){return!!e&&o(e.type)}function u(e){return i(e)?"array":typeof e}e.exports=r((function(e,t){return s(e)||s(t)?function(e,t){return s(e)&&s(t)&&e.type()===t.type()}(e,t):a(e)||a(t)?e===t:function(e,t){return e.name===t.constructor.name||t.name===e.constructor.name}(e,t)||u(e)===u(t)}))},58570:function(e){e.exports=function(e){return"string"==typeof e}},66473:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n}},43825:function(e,t,n){var r=n(26182),i=n(85998);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},22673:function(e,t,n){var r=n(4240),i=n(30449),o=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=function(e){var n=typeof e;return"function"===n?e.apply(void 0,t):e&&"object"===n?o.apply(void 0,[e].concat(t)):e};return r(i,e)};e.exports=i(o)},37990:function(e,t,n){var r=n(87988),i=n(79762),o=n(54456),a=n(44216);e.exports=a(3,(function(e,t){return i(r(e),[t,o])}))},30449:function(e,t,n){var r=n(12637),i=n(15866),o=n(96323),a=n(48215),s=n(48283),u=n(4240),l=n(81250),c=n(47929),d=n(3189),f=o((function(e,t){return typeof t===e})),p=function(e){return c(u(h),Math.max,0,d(e))},h=i([[f("object"),p],[f("function"),s],[l,r(0)]]);e.exports=o((function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=p(t),o=a(i+1,e);return 0===n.length?0===i?function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return o.apply(void 0,[t].concat(e))}:o(t):o.apply(void 0,[t].concat(n))}))},8727:function(e,t,n){var r=n(87988),i=n(79762),o=n(69868),a=n(26039),s=n(3273),u=n(44216),l=n(45724);e.exports=u(3,(function(e,t){return l(a(e),i(r(t),[s(e),o(e)]))}))},62023:function(e,t,n){var r=n(96323),i=function(e,t){for(var n in t=Object.assign({},t),e)if(n in t){var r=e[n];"object"==typeof r?t[n]=i(r,t[n]):(t[r]=t[n],delete t[n])}return t};e.exports=r(i)},81250:function(e,t,n){var r=n(12637)(!0);e.exports=r},12637:function(e,t,n){var r=n(38151)((function(e){return function(){return e}}));e.exports=r},87988:function(e,t,n){var r=n(34525)((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}));e.exports=r},61232:function(e,t,n){var r=n(65102),i=n(22909)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},15866:function(e,t,n){var r=n(65102),i=n(38151),o=n(4240),a=n(26188),s=n(74203),u=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}}))}));e.exports=u},79762:function(e,t,n){var r=n(22909),i=n(48624),o=n(48215),a=n(26188),s=n(30387),u=n(74203),l=r((function(e,t){return o(u(a,0,s("length",t)),(function(){var n=arguments,r=this;return e.apply(r,i((function(e){return e.apply(r,n)}),t))}))}));e.exports=l},96323:function(e,t,n){var r=n(38151),i=n(48215),o=r((function(e){return i(e.length,e)}));e.exports=o},48215:function(e,t,n){var r=n(65102),i=n(38151),o=n(22909),a=n(10593),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},69868:function(e,t,n){var r=n(22909)((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}));e.exports=r},26039:function(e,t,n){var r=n(22909)((function(e,t){return e in t}));e.exports=r},54456:function(e,t,n){var r=n(38151)(n(80975));e.exports=r},65102:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,l,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},38151:function(e,t,n){var r=n(14816);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},22909:function(e,t,n){var r=n(38151),i=n(14816);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},34525:function(e,t,n){var r=n(38151),i=n(22909),o=n(14816);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},10593:function(e,t,n){var r=n(65102),i=n(14816);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,l=0;l<n.length||s<arguments.length;){var c;l<n.length&&(!i(n[l])||s>=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},5083:function(e,t,n){var r=n(66417),i=n(96573);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(i(a)){var u=t.apply(null,o);return u(a)}}return n.apply(this,arguments)}}},41789:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},80975:function(e){e.exports=function(e){return e}},98256:function(e,t,n){var r=n(41789),i=Object.prototype.toString;e.exports=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}},66417:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},29230:function(e,t,n){var r=n(38151),i=n(66417),o=n(56479),a=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=a},5366:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},14816:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},56479:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},96573:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},48624:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},36258:function(e,t,n){var r=n(29230),i=n(92870),o=n(61232);function a(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function s(e,t,n,r){return e["@@transducer/result"](n[r](o(e["@@transducer/step"],e),t))}var u="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=i(e)),r(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return s(e,t,n,"fantasy-land/reduce");if(null!=n[u])return a(e,t,n[u]());if("function"==typeof n.next)return a(e,t,n);if("function"==typeof n.reduce)return s(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},46417:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},85833:function(e,t,n){var r=n(22909),i=n(46417),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},92870:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},83444:function(e,t,n){var r=n(38151),i=n(41789),o=n(98256),a=!{toString:null}.propertyIsEnumerable("toString"),s=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],u=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),l=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},c=r("function"!=typeof Object.keys||u?function(e){if(Object(e)!==e)return[];var t,n,r=[],c=u&&o(e);for(t in e)!i(t,e)||c&&"length"===t||(r[r.length]=t);if(a)for(n=s.length-1;n>=0;)i(t=s[n],e)&&!l(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=c},48283:function(e,t,n){var r=n(38151),i=n(5366),o=r((function(e){return null!=e&&i(e.length)?e.length:NaN}));e.exports=o},4240:function(e,t,n){var r=n(22909),i=n(5083),o=n(48624),a=n(36258),s=n(85833),u=n(48215),l=n(83444),c=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},l(t));default:return o(e,t)}})));e.exports=c},26188:function(e,t,n){var r=n(22909)((function(e,t){return t>e?t:e}));e.exports=r},47229:function(e,t,n){var r=n(22909)((function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}));e.exports=r},30387:function(e,t,n){var r=n(22909),i=n(4240),o=n(3273),a=r((function(e,t){return i(o(e),t)}));e.exports=a},3273:function(e,t,n){var r=n(22909),i=n(47229),o=r((function(e,t){return i([e],t)}));e.exports=o},74203:function(e,t,n){var r=n(34525)(n(36258));e.exports=r},47929:function(e,t,n){var r=n(36258),i=n(92870),o=n(48215)(4,(function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)}));e.exports=o},44216:function(e,t,n){var r=n(22909),i=n(48215),o=r((function(e,t){return i(e,(function(){for(var n,r=1,i=t,o=0;r<=e&&"function"==typeof i;)n=r===e?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i}))}));e.exports=o},3189:function(e,t,n){var r=n(38151),i=n(83444),o=r((function(e){for(var t=i(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}));e.exports=o},45724:function(e,t,n){var r=n(34525)((function(e,t,n){return e(n)?t(n):n}));e.exports=r},33072:function(e,t,n){"use strict";t.Z=void 0;var r,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),o=n(45697),a=(r=n(27543))&&r.__esModule?r:{default:r};function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function u(e){return u="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},u(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){d(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 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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 h(e,t){return h=Object.setPrototypeOf||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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?g(e):t}function g(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)}var b=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}}),t&&h(e,t)}(u,e);var t,n,r,s=m(u);function u(){var e;f(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=s.call.apply(s,[this].concat(n))).state={},e.setDimensions=e.setDimensions.bind(g(e)),e.shouldBeFullWidth=e.shouldBeFullWidth.bind(g(e)),e.getParentDimensions=e.getParentDimensions.bind(g(e)),e}return t=u,r=[{key:"defaultProps",get:function(){return{aspectRatio:9/16,fullWidth:!1,fullWidthAt:0,options:{preload:"auto",controls:!0,controlBar:{remainingTimeDisplay:!0,children:["playToggle","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle","volumePanel"],volumePanel:{inline:!1}}}}}},{key:"propTypes",get:function(){return{aspectRatio:o.PropTypes.number,crossOrigin:o.PropTypes.string,fullWidth:o.PropTypes.bool,fullWidthAt:o.PropTypes.number,options:o.PropTypes.shape({bigPlayButton:o.PropTypes.bool,preload:o.PropTypes.string,controls:o.PropTypes.bool,controlBar:o.PropTypes.object}),poster:o.PropTypes.string}}}],(n=[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.setDimensions),this.player=(0,a.default)(this.video,this.options,(function(){this.on("ended",(function(){this.posterImage.show(),this.bigPlayButton.show(),this.currentTime(0)}))})),this.setDimensions()}},{key:"componentWillUnmount",value:function(){this.player&&this.player.dispose(),window.removeEventListener("resize",this.setDimensions)}},{key:"getParentPadding",value:function(){var e=window.getComputedStyle(this.container.parentNode,null),t=function(e,t){return parseInt(e.getPropertyValue(t),10)||0};return{top:t(e,"padding-top"),bottom:t(e,"padding-bottom")}}},{key:"getParentDimensions",value:function(){var e=this.container.parentNode.getBoundingClientRect(),t=e.width,n=e.height,r=this.getParentPadding();return{parentHeight:n-r.top-r.bottom,parentWidth:t}}},{key:"render",value:function(){var e=this,t={className:"video-js vjs-default-skin",ref:function(t){e.video=t},poster:this.props.poster};return this.props.crossOrigin&&(t.crossOrigin=this.props.crossOrigin),i.default.createElement("div",{className:"videoContainer",style:this.state.dimensions,ref:function(t){e.container=t}},i.default.createElement("video",t,this.props.children))}},{key:"shouldBeFullWidth",value:function(){var e=this.props,t=e.aspectRatio,n=e.fullWidth,r=e.fullWidthAt,i=this.getParentDimensions(),o=i.parentWidth,a=i.parentHeight;return n||o*t<=a||r&&window.innerWidth<r}},{key:"setDimensions",value:function(){var e=this.props.aspectRatio,t=this.getParentDimensions(),n=t.parentWidth,r=t.parentHeight,i=this.shouldBeFullWidth(),o=i?n:r/e,a=i?n*e:r;this.setState({dimensions:{width:o,height:a}})}},{key:"snapshot",value:function(){var e=document.createElement("canvas"),t=e.getContext("2d"),n=this.player.videoHeight(),r=this.player.videoWidth();return e.width=r,e.height=n,t.drawImage(this.video,0,0,r,n),e.toDataURL("image/png")}},{key:"options",get:function(){var e,t,n;return(null===(e=this.props.options)||void 0===e||null===(t=e.controlBar)||void 0===t?void 0:t.children)?this.props.options:c(c({},this.props.options),{},{controlBar:c(c({},null===(n=this.props.options)||void 0===n?void 0:n.controlBar),{},{children:this.constructor.defaultProps.options.controlBar.children})})}}])&&p(t.prototype,n),r&&p(t,r),u}(i.Component);t.Z=b},64057:function(e,t,n){var r=n(88635),i=n(93645),o=n(64430);e.exports=i((function(e,t,n){var i={};return function(){for(var a=[],s=arguments.length;s--;)a[s]=arguments[s];return o((function(){var o=t.apply(null,a);return i[o]||(i[o]={},i[o].async=r((function(e,t){Object.assign(i[o],{reject:e,resolve:t})}))),clearTimeout(i[o].timeout),i[o].timeout=setTimeout((function(){var e=i[o],t=e.reject,r=e.resolve;n.apply(null,a).fork(t,r),delete i[o]}),e),i[o].async}))}}))},71066:function(e,t,n){var r=n(88635),i=n(93645),o=n(64430),a=n(12269);e.exports=i((function(e,t,n){var i={},s=function(e){i[e].last=Date.now();var t=i[e],r=t.args,o=t.reject,a=t.resolve;n.apply(null,r).fork(o,a),delete i[e].args,delete i[e].timeout};return function(){for(var n=[],u=arguments.length;u--;)n[u]=arguments[u];return o((function(){var o=t.apply(null,n);i[o]||(i[o]={},i[o].async=r((function(e,t){Object.assign(i[o],{reject:e,resolve:t})}))),i[o].args=n;var u=Date.now()-(i[o].last||0);if(!i[o].timeout){var l=a(0,e-u);i[o].timeout=setTimeout(s.bind(null,o),l)}return i[o].async}))}}))},88635:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("Async"),a=n(49761).typeFn(o(),3),s=n(70911),u=n(64388),l=n(2167),c=n(79025),d=n(89411),f=n(19380),p=n(97798),h=n(48326),m=n(91042),v=n(96774),g=n(32126),y=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=y,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},u=e(s.bind(null,t),s.bind(null,n)),l=h(u)?u:d;return c((function(){return a((l(),void(i=!0)))}))}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,l(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(l(e,t),l(r,n))}))}}function m(e){return function(t){if(!g(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=d,i=d;return r=u((function(){i=t.fork(e,n)}),n),c((function(){return i(r())}))}))}}function v(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=d,o=d;return i=u(n,(function(i){var a=t(i);if(!g(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),c((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=c((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(r,t))}))},ap:function(e){if(!g(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=c(t);function f(){!s&&o&&a&&l(n,r)(i)}var p=u(d,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()})),m=e.fork(d,(function(e){a=!0,i=e,f()}));return function(){p(),m(),s=!0}}))},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain")})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=y,b.type=o,b[s.of]=y,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=y,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!v(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r).catch(n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&g(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},64430:function(e,t,n){var r=n(67607),i=n(91421),o=n(49761).type("IO"),a=n(49761).typeFn(o(),2),s=n(70911),u=n(2167),l=n(48326),c=n(32126),d=function(e){return f((function(){return e}))};function f(e){var t;if(!l(e))throw new TypeError("IO: Must wrap a function");var n=d,r=function(){return"IO"+i(e)};function p(t){return function(n){if(!l(n))throw new TypeError("IO."+t+": Function required");return f(u(n,e))}}function h(t){return function(n){if(!l(n))throw new TypeError("IO."+t+": Function required");return f((function(){var r=n(e());if(!c(f,r))throw new TypeError("IO."+t+": Function must return an IO");return r.run()}))}}return(t={inspect:r,toString:r,run:e,type:o,ap:function(t){if(!c(f,t))throw new TypeError("IO.ap: IO required");return f((function(){var n=e();if(!l(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()}))},of:n,map:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=f,t}f.of=d,f.type=o,f[s.of]=d,f["@@type"]=a,f["@@implements"]=r(["ap","chain","map","of"]),e.exports=f},89411:function(e){e.exports=Function.prototype},31646:function(e,t,n){var r=n(67158),i=n(60060);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},64388:function(e,t,n){var r=n(86827),i=n(19380),o=n(30191),a=n(48326),s=n(32126),u=n(33748),l=n(31646),c=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return d([e])}),a)):a.map((function(e){return d([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=l(e);return t.reduceRight(f("sequence",c),n([]))},traverse:function(e,t,n){var r=l(e);return n.reduceRight(f("traverse",t),r([]))}}},2167:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},37989:function(e,t,n){var r=n(48326);function i(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(i,t);return r(s)?e(s):s}}},70911:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},33333:function(e,t,n){var r=n(48326),i=n(70911);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},67607:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},91421:function(e,t,n){var r=n(19380),i=n(48326),o=n(22323),a=n(47071),s=n(77136);function u(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(u).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+u(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)?" "+e.toString():" "+e;var t}e.exports=u},67158:function(e,t,n){var r=n(33333),i=n(86827);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},86827:function(e,t,n){var r=n(33333),i=n(99574);e.exports=function(e){return i(e)&&r("ap",e)}},19380:function(e){e.exports=function(e){return Array.isArray(e)}},30191:function(e,t,n){var r=n(22323);e.exports=function(e){return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},97798:function(e,t,n){var r=n(33333);e.exports=function(e){return!!e&&r("reduce",e)}},48326:function(e){e.exports=function(e){return"function"==typeof e}},99574:function(e,t,n){var r=n(33333);e.exports=function(e){return!!e&&r("map",e)}},91042:function(e,t,n){var r=n(29241);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},29241:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},22323:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},96774:function(e,t,n){var r=n(48326);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},32126:function(e,t,n){var r=n(37989),i=n(48326),o=n(21223);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},33748:function(e,t,n){var r=n(47071),i=n(33333);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},47071:function(e){e.exports=function(e){return"string"==typeof e}},77136:function(e){e.exports=function(e){return"symbol"==typeof e}},60060:function(e,t,n){var r=n(48326);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},79025:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},21223:function(e,t,n){var r=n(48326);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},49761:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(){return"Const"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e){return{type:n(e)}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},93645:function(e,t,n){var r=n(66747),i=n(90061),o=r((function(e){return i(e.length,e)}));e.exports=o},90061:function(e,t,n){var r=n(53998),i=n(66747),o=n(45018),a=n(70267),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},53998:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,l,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},66747:function(e,t,n){var r=n(79178);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},45018:function(e,t,n){var r=n(66747),i=n(79178);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},70267:function(e,t,n){var r=n(53998),i=n(79178);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,l=0;l<n.length||s<arguments.length;){var c;l<n.length&&(!i(n[l])||s>=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},79178:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},12269:function(e,t,n){var r=n(45018)((function(e,t){return t>e?t:e}));e.exports=r},52512:function(e,t,n){var r=n(80988);e.exports=r},98998:function(e,t,n){var r=n(59092);e.exports=r},64272:function(e,t,n){var r=n(533);e.exports=r},65451:function(e,t,n){var r=n(77234);e.exports=r},19214:function(e,t,n){var r=n(18234);e.exports=r},18668:function(e,t,n){var r=n(21527);e.exports=r},52973:function(e,t,n){var r=n(12702);e.exports=r},27092:function(e,t,n){var r=n(56053);e.exports=r},74040:function(e,t,n){var r=n(42690);e.exports=r},25029:function(e,t,n){var r=n(97318);e.exports=r},14622:function(e,t,n){var r=n(46545);e.exports=r},85332:function(e,t,n){var r=n(1597);e.exports=r},95268:function(e,t,n){var r=n(76788);e.exports=r},26632:function(e,t,n){var r=n(58015);e.exports=r},83140:function(e,t,n){var r=n(10320);e.exports=r},76094:function(e,t,n){var r=n(11787);e.exports=r},60315:function(e,t,n){var r=n(69213);e.exports=r},53605:function(e,t,n){var r=n(844);e.exports=r},42208:function(e,t,n){var r=n(65012);e.exports=r},46686:function(e,t,n){var r=n(60073);e.exports=r},54827:function(e,t,n){var r=n(20996);e.exports=r},83268:function(e,t,n){var r=n(87935);e.exports=r},77109:function(e,t,n){var r=n(13437);e.exports=r},1779:function(e,t,n){var r=n(55085);e.exports=r},79814:function(e,t,n){var r=n(91156);e.exports=r},29174:function(e,t,n){var r=n(96256);e.exports=r},13262:function(e,t,n){var r=n(62586);e.exports=r},96264:function(e,t,n){var r=n(67837);e.exports=r},6764:function(e,t,n){var r=n(70216);e.exports=r},51308:function(e,t,n){var r=n(77426);e.exports=r},31826:function(e,t,n){var r=n(94998);e.exports=r},74037:function(e,t,n){var r=n(21845);e.exports=r},8434:function(e,t,n){var r=n(89281);e.exports=r},14286:function(e,t,n){var r=n(63353);e.exports=r},24430:function(e,t,n){var r=n(41930);e.exports=r},39384:function(e,t,n){var r=n(18350);e.exports=r},39701:function(e,t,n){var r=n(35802);e.exports=r},73363:function(e,t,n){var r=n(52102);e.exports=r},70446:function(e,t,n){var r=n(24033);e.exports=r},16929:function(e,t,n){var r=n(75049);e.exports=r},23809:function(e,t,n){var r=n(63802);e.exports=r},79574:function(e,t,n){var r=n(12998);e.exports=r},51112:function(e,t,n){var r=n(43296);e.exports=r},44671:function(e,t,n){var r=n(86272);e.exports=r},85857:function(e,t,n){var r=n(86775);n(52711),n(29097),n(73225),n(45392),n(71638),n(53933),n(21366),e.exports=r},1772:function(e,t,n){var r=n(16420);e.exports=r},8655:function(e,t,n){var r=n(36866);n(20795),e.exports=r},65845:function(e,t,n){var r=n(17276);e.exports=r},51386:function(e,t,n){var r=n(97698);e.exports=r},27847:function(e,t,n){var r=n(41314);e.exports=r},71155:function(e,t,n){var r=n(34883);e.exports=r},7618:function(e,t,n){var r=n(78212);e.exports=r},19953:function(e,t,n){var r=n(54918);e.exports=r},89508:function(e,t,n){n(70185),n(34521);var r=n(5058);e.exports=r.Array.from},10197:function(e,t,n){n(81847);var r=n(5058);e.exports=r.Array.isArray},37595:function(e,t,n){n(79398);var r=n(80003);e.exports=r("Array").concat},53199:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").entries},26375:function(e,t,n){n(99632);var r=n(80003);e.exports=r("Array").fill},4572:function(e,t,n){n(38215);var r=n(80003);e.exports=r("Array").filter},1955:function(e,t,n){n(11688);var r=n(80003);e.exports=r("Array").findIndex},99449:function(e,t,n){n(79435);var r=n(80003);e.exports=r("Array").find},36906:function(e,t,n){n(82356);var r=n(80003);e.exports=r("Array").forEach},6051:function(e,t,n){n(93455);var r=n(80003);e.exports=r("Array").includes},77874:function(e,t,n){n(25749);var r=n(80003);e.exports=r("Array").indexOf},41297:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").keys},17166:function(e,t,n){n(94889);var r=n(80003);e.exports=r("Array").map},54237:function(e,t,n){n(11229);var r=n(80003);e.exports=r("Array").reverse},45173:function(e,t,n){n(1859);var r=n(80003);e.exports=r("Array").slice},26454:function(e,t,n){n(76237);var r=n(80003);e.exports=r("Array").sort},82157:function(e,t,n){n(30963),n(30277);var r=n(80003);e.exports=r("Array").values},64362:function(e,t,n){n(98039);var r=n(80003);e.exports=r("Function").bind},60047:function(e,t,n){n(30963),n(70185);var r=n(4187);e.exports=r},78894:function(e,t,n){var r=n(41535),i=n(64362),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||r(o,e)&&t===o.bind?i:t}},15473:function(e,t,n){var r=n(41535),i=n(37595),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||r(o,e)&&t===o.concat?i:t}},90488:function(e,t,n){var r=n(41535),i=n(69782),o=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===o||r(o,e)&&t===o.endsWith?i:t}},42774:function(e,t,n){var r=n(41535),i=n(26375),o=Array.prototype;e.exports=function(e){var t=e.fill;return e===o||r(o,e)&&t===o.fill?i:t}},74760:function(e,t,n){var r=n(41535),i=n(4572),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||r(o,e)&&t===o.filter?i:t}},91093:function(e,t,n){var r=n(41535),i=n(1955),o=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===o||r(o,e)&&t===o.findIndex?i:t}},52246:function(e,t,n){var r=n(41535),i=n(99449),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||r(o,e)&&t===o.find?i:t}},23163:function(e,t,n){var r=n(41535),i=n(6051),o=n(76200),a=Array.prototype,s=String.prototype;e.exports=function(e){var t=e.includes;return e===a||r(a,e)&&t===a.includes?i:"string"==typeof e||e===s||r(s,e)&&t===s.includes?o:t}},97993:function(e,t,n){var r=n(41535),i=n(77874),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||r(o,e)&&t===o.indexOf?i:t}},51597:function(e,t,n){var r=n(41535),i=n(17166),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||r(o,e)&&t===o.map?i:t}},27893:function(e,t,n){var r=n(41535),i=n(84364),o=String.prototype;e.exports=function(e){var t=e.padStart;return"string"==typeof e||e===o||r(o,e)&&t===o.padStart?i:t}},77276:function(e,t,n){var r=n(41535),i=n(54237),o=Array.prototype;e.exports=function(e){var t=e.reverse;return e===o||r(o,e)&&t===o.reverse?i:t}},12066:function(e,t,n){var r=n(41535),i=n(45173),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||r(o,e)&&t===o.slice?i:t}},19721:function(e,t,n){var r=n(41535),i=n(26454),o=Array.prototype;e.exports=function(e){var t=e.sort;return e===o||r(o,e)&&t===o.sort?i:t}},5783:function(e,t,n){var r=n(41535),i=n(88932),o=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===o||r(o,e)&&t===o.startsWith?i:t}},27866:function(e,t,n){var r=n(41535),i=n(17227),o=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===o||r(o,e)&&t===o.trim?i:t}},68563:function(e,t,n){n(19737);var r=n(5058),i=n(26477);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return i(r.JSON.stringify,null,arguments)}},72627:function(e,t,n){n(30963),n(12297),n(30277),n(70185);var r=n(5058);e.exports=r.Map},3456:function(e,t,n){n(8544);var r=n(5058);e.exports=r.Math.cbrt},89345:function(e,t,n){n(504);var r=n(5058);e.exports=r.Number.isNaN},65028:function(e,t,n){n(99421),e.exports=9007199254740991},10273:function(e,t,n){n(64564);var r=n(5058);e.exports=r.Object.assign},19999:function(e,t,n){n(13365);var r=n(5058).Object;e.exports=function(e,t){return r.create(e,t)}},14116:function(e,t,n){n(42883);var r=n(5058).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},70060:function(e,t,n){n(74152);var r=n(5058);e.exports=r.Object.entries},24573:function(e,t,n){n(18909);var r=n(5058).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},33298:function(e,t,n){n(51690);var r=n(5058);e.exports=r.Object.getOwnPropertyDescriptors},68561:function(e,t,n){n(21006);var r=n(5058);e.exports=r.Object.getOwnPropertySymbols},69304:function(e,t,n){n(22569);var r=n(5058);e.exports=r.Object.getPrototypeOf},50688:function(e,t,n){n(93424);var r=n(5058);e.exports=r.Object.is},84802:function(e,t,n){n(44261);var r=n(5058);e.exports=r.Object.keys},76929:function(e,t,n){n(9652);var r=n(5058);e.exports=r.Object.setPrototypeOf},46660:function(e,t,n){n(76818);var r=n(5058);e.exports=r.Object.values},15716:function(e,t,n){n(72750),n(30963),n(30277),n(57491),n(49230),n(33978),n(39952),n(70185);var r=n(5058);e.exports=r.Promise},27313:function(e,t,n){n(24679);var r=n(5058);e.exports=r.Reflect.construct},78284:function(e,t,n){n(22382);var r=n(5058);e.exports=r.Reflect.get},70284:function(e,t,n){n(30963),n(30277),n(1753),n(70185);var r=n(5058);e.exports=r.Set},69782:function(e,t,n){n(28107);var r=n(80003);e.exports=r("String").endsWith},76200:function(e,t,n){n(2126);var r=n(80003);e.exports=r("String").includes},84364:function(e,t,n){n(28051);var r=n(80003);e.exports=r("String").padStart},88932:function(e,t,n){n(914);var r=n(80003);e.exports=r("String").startsWith},17227:function(e,t,n){n(77485);var r=n(80003);e.exports=r("String").trim},39602:function(e,t,n){n(21006);var r=n(5058);e.exports=r.Symbol.for},49457:function(e,t,n){n(79398),n(30277),n(21006),n(63112),n(42019),n(24435),n(93427),n(42526),n(3314),n(25202),n(46916),n(19206),n(28458),n(43743),n(1283),n(17294),n(26287),n(78655),n(15913),n(77014);var r=n(5058);e.exports=r.Symbol},71080:function(e,t,n){n(30963),n(30277),n(70185),n(42526);var r=n(88239);e.exports=r.f("iterator")},8025:function(e,t,n){n(14109),n(1283);var r=n(88239);e.exports=r.f("toPrimitive")},37836:function(e,t,n){n(30963),n(30277),n(40140);var r=n(5058);e.exports=r.WeakMap},46839:function(e,t,n){n(30963),n(30277),n(64852);var r=n(5058);e.exports=r.WeakSet},51714:function(e,t,n){e.exports=n(92275)},25122:function(e,t,n){e.exports=n(90022)},78458:function(e,t,n){e.exports=n(13078)},65600:function(e,t,n){e.exports=n(13265)},28266:function(e,t,n){e.exports=n(11864)},44399:function(e,t,n){e.exports=n(38413)},39367:function(e,t,n){e.exports=n(65453)},22005:function(e,t,n){e.exports=n(9827)},34748:function(e,t,n){e.exports=n(8729)},83696:function(e,t,n){e.exports=n(58485)},76516:function(e,t,n){e.exports=n(9459)},56368:function(e,t,n){e.exports=n(58254)},93739:function(e,t,n){e.exports=n(22593)},89151:function(e,t,n){e.exports=n(65020)},17654:function(e,t,n){e.exports=n(71359)},57762:function(e,t,n){e.exports=n(63623)},81004:function(e,t,n){e.exports=n(78163)},13885:function(e,t,n){e.exports=n(49862)},89329:function(e,t,n){e.exports=n(35638)},38755:function(e,t,n){e.exports=n(28346)},55781:function(e,t,n){e.exports=n(95088)},53185:function(e,t,n){e.exports=n(35690)},88235:function(e,t,n){e.exports=n(82863)},59829:function(e,t,n){e.exports=n(13373)},65560:function(e,t,n){e.exports=n(65820)},41047:function(e,t,n){e.exports=n(98220)},87034:function(e,t,n){e.exports=n(45828)},83734:function(e,t,n){e.exports=n(86243)},20711:function(e,t,n){e.exports=n(20177)},86488:function(e,t,n){e.exports=n(91733)},8827:function(e,t,n){e.exports=n(69953)},56581:function(e,t,n){e.exports=n(49959)},41633:function(e,t,n){e.exports=n(20199)},20344:function(e,t,n){e.exports=n(94269)},48909:function(e,t,n){e.exports=n(10603)},6258:function(e,t,n){e.exports=n(68248)},57602:function(e,t,n){e.exports=n(43630)},11024:function(e,t,n){e.exports=n(84735)},44705:function(e,t,n){e.exports=n(88511)},12232:function(e,t,n){e.exports=n(49769)},44565:function(e,t,n){e.exports=n(77201)},73637:function(e,t,n){e.exports=n(11738)},80407:function(e,t,n){e.exports=n(20459)},19502:function(e,t,n){e.exports=n(25793)},63969:function(e,t,n){e.exports=n(31373)},95413:function(e,t,n){e.exports=n(47308)},21085:function(e,t,n){e.exports=n(22041)},21277:function(e,t,n){e.exports=n(78149)},90007:function(e,t,n){e.exports=n(43760)},34976:function(e,t,n){e.exports=n(21929)},41680:function(e,t,n){e.exports=n(16571)},95214:function(e,t,n){e.exports=n(23001)},33682:function(e,t,n){e.exports=n(14295)},92275:function(e,t,n){var r=n(52512);e.exports=r},90022:function(e,t,n){var r=n(98998);e.exports=r},13078:function(e,t,n){var r=n(64272);e.exports=r},13265:function(e,t,n){var r=n(65451);e.exports=r},11864:function(e,t,n){var r=n(19214);e.exports=r},38413:function(e,t,n){var r=n(18668);e.exports=r},65453:function(e,t,n){var r=n(52973);e.exports=r},9827:function(e,t,n){var r=n(27092);e.exports=r},8729:function(e,t,n){var r=n(74040);e.exports=r},58485:function(e,t,n){var r=n(25029);e.exports=r},9459:function(e,t,n){var r=n(14622);e.exports=r},58254:function(e,t,n){var r=n(85332);e.exports=r},22593:function(e,t,n){var r=n(95268);e.exports=r},65020:function(e,t,n){var r=n(26632);e.exports=r},71359:function(e,t,n){var r=n(83140);e.exports=r},63623:function(e,t,n){var r=n(76094);e.exports=r},78163:function(e,t,n){var r=n(60315);e.exports=r},49862:function(e,t,n){var r=n(53605);e.exports=r},35638:function(e,t,n){var r=n(42208);e.exports=r},28346:function(e,t,n){var r=n(46686);e.exports=r},95088:function(e,t,n){var r=n(54827);e.exports=r},35690:function(e,t,n){var r=n(83268);e.exports=r},82863:function(e,t,n){var r=n(77109);e.exports=r},13373:function(e,t,n){var r=n(1779);e.exports=r},65820:function(e,t,n){var r=n(79814);n(45952),n(78043),n(17017),n(85967),n(16005),n(3556),n(81582),n(72910),n(33709),n(22547),n(97803),n(53014),n(91688),n(26346),n(49459),n(15851),n(93434),n(88415),n(49663),n(59405),e.exports=r},98220:function(e,t,n){var r=n(29174);e.exports=r},45828:function(e,t,n){var r=n(13262);e.exports=r},86243:function(e,t,n){var r=n(96264);e.exports=r},20177:function(e,t,n){var r=n(6764);e.exports=r},91733:function(e,t,n){var r=n(51308);e.exports=r},69953:function(e,t,n){var r=n(31826);e.exports=r},49959:function(e,t,n){var r=n(74037);e.exports=r},20199:function(e,t,n){var r=n(8434);e.exports=r},94269:function(e,t,n){var r=n(14286);e.exports=r},10603:function(e,t,n){var r=n(24430);e.exports=r},68248:function(e,t,n){var r=n(39384);e.exports=r},43630:function(e,t,n){var r=n(39701);e.exports=r},84735:function(e,t,n){var r=n(73363);e.exports=r},88511:function(e,t,n){var r=n(70446);e.exports=r},49769:function(e,t,n){var r=n(16929);e.exports=r},77201:function(e,t,n){var r=n(23809);n(33239),n(82564),n(25361),n(94781),e.exports=r},11738:function(e,t,n){var r=n(79574);e.exports=r},20459:function(e,t,n){var r=n(51112);e.exports=r},25793:function(e,t,n){var r=n(44671);e.exports=r},31373:function(e,t,n){var r=n(85857);n(84170),n(62808),n(82745),n(84070),n(25277),n(34943),n(28404),n(40269),n(91239),n(53180),n(85405),n(81090),n(70146),n(1240),n(80734),n(21946),n(20985),n(76035),e.exports=r},47308:function(e,t,n){var r=n(1772);e.exports=r},22041:function(e,t,n){var r=n(8655);n(34419),n(54596),n(44505),n(57049),n(29545),n(72481),n(52208),e.exports=r},78149:function(e,t,n){var r=n(65845);e.exports=r},43760:function(e,t,n){var r=n(51386);e.exports=r},21929:function(e,t,n){var r=n(27847);e.exports=r},16571:function(e,t,n){var r=n(71155);e.exports=r},23001:function(e,t,n){var r=n(7618);n(70185),n(33976),n(58959),n(63037),n(38894),n(4762),e.exports=r},14295:function(e,t,n){var r=n(19953);n(70185),n(23996),n(42579),n(71963),n(87243),e.exports=r},86148:function(e,t,n){var r=n(16615),i=n(37254),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a function")}},31413:function(e,t,n){var r=n(68630),i=n(37254),o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not a constructor")}},7655:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"get"in e&&"set"in e&&"delete"in e&&"entries"in e)return e;throw TypeError(r(e)+" is not a map")}},65838:function(e,t,n){var r=n(16615),i=String,o=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw o("Can't set "+i(e)+" as a prototype")}},20902:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"size"in e&&"has"in e&&"add"in e&&"delete"in e&&"keys"in e)return e;throw TypeError(r(e)+" is not a set")}},82271:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"has"in e&&"get"in e&&"set"in e)return e;throw TypeError(r(e)+" is not a weakmap")}},64725:function(e,t,n){var r=n(37254);e.exports=function(e){if("object"==typeof e&&"has"in e&&"add"in e&&"delete"in e)return e;throw TypeError(r(e)+" is not a weakset")}},7272:function(e){e.exports=function(){}},77423:function(e,t,n){var r=n(41535),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw i("Incorrect invocation")}},64950:function(e,t,n){var r=n(66106),i=String,o=TypeError;e.exports=function(e){if(r(e))return e;throw o(i(e)+" is not an object")}},89724:function(e,t,n){var r=n(13315);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8660:function(e,t,n){"use strict";var r=n(66504),i=n(4351),o=n(33268);e.exports=function(e){for(var t=r(this),n=o(t),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},99308:function(e,t,n){"use strict";var r=n(2912).forEach,i=n(16680)("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},4133:function(e,t,n){"use strict";var r=n(1912),i=n(93344),o=n(66504),a=n(5300),s=n(57517),u=n(68630),l=n(33268),c=n(79869),d=n(27390),f=n(4187),p=Array;e.exports=function(e){var t=o(e),n=u(this),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m;v&&(m=r(m,h>2?arguments[2]:void 0));var g,y,b,_,w,k,E=f(t),x=0;if(!E||this===p&&s(E))for(g=l(t),y=n?new this(g):p(g);g>x;x++)k=v?m(t[x],x):t[x],c(y,x,k);else for(w=(_=d(t,E)).next,y=n?new this:[];!(b=i(w,_)).done;x++)k=v?a(_,m,[b.value,x],!0):b.value,c(y,x,k);return y.length=x,y}},89830:function(e,t,n){var r=n(51015),i=n(4351),o=n(33268),a=function(e){return function(t,n,a){var s,u=r(t),l=o(u),c=i(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2912:function(e,t,n){var r=n(1912),i=n(32108),o=n(66864),a=n(66504),s=n(33268),u=n(48071),l=i([].push),c=function(e){var t=1==e,n=2==e,i=3==e,c=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,v,g){for(var y,b,_=a(h),w=o(_),k=r(m,v),E=s(w),x=0,S=g||u,T=t?S(h,E):n||f?S(h,0):void 0;E>x;x++)if((p||x in w)&&(b=k(y=w[x],x,_),e))if(t)T[x]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:l(T,y)}else switch(e){case 4:return!1;case 7:l(T,y)}return d?-1:i||c?c:T}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},71319:function(e,t,n){var r=n(13315),i=n(77431),o=n(67544),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},16680:function(e,t,n){"use strict";var r=n(13315);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},21960:function(e,t,n){var r=n(4351),i=n(33268),o=n(79869),a=Array,s=Math.max;e.exports=function(e,t,n){for(var u=i(e),l=r(t,u),c=r(void 0===n?u:n,u),d=a(s(c-l,0)),f=0;l<c;l++,f++)o(d,f,e[l]);return d.length=f,d}},76253:function(e,t,n){var r=n(32108);e.exports=r([].slice)},65702:function(e,t,n){var r=n(21960),i=Math.floor,o=function(e,t){var n=e.length,u=i(n/2);return n<8?a(e,t):s(e,o(r(e,0,u),t),o(r(e,u),t),t)},a=function(e,t){for(var n,r,i=e.length,o=1;o<i;){for(r=o,n=e[o];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},s=function(e,t,n,r){for(var i=t.length,o=n.length,a=0,s=0;a<i||s<o;)e[a+s]=a<i&&s<o?r(t[a],n[s])<=0?t[a++]:n[s++]:a<i?t[a++]:n[s++];return e};e.exports=o},33037:function(e,t,n){var r=n(55345),i=n(68630),o=n(66106),a=n(77431)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(i(t)&&(t===s||r(t.prototype))||o(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?s:t}},48071:function(e,t,n){var r=n(33037);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},5300:function(e,t,n){var r=n(64950),i=n(6861);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},54341:function(e){e.exports=function(e,t){return 1==t?function(t,n){return t[e](n)}:function(t,n,r){return t[e](n,r)}}},94337:function(e,t,n){var r=n(77431)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},80222:function(e,t,n){var r=n(32108),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},50176:function(e,t,n){var r=n(60639),i=n(16615),o=n(80222),a=n(77431)("toStringTag"),s=Object,u="Arguments"==o(function(){return arguments}());e.exports=r?o: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=s(e),a))?n:u?o(t):"Object"==(r=o(t))&&i(t.callee)?"Arguments":r}},37571:function(e,t,n){"use strict";var r=n(1912),i=n(93344),o=n(86148),a=n(31413),s=n(48056),u=n(4553),l=[].push;e.exports=function(e){var t,n,c,d,f=arguments.length,p=f>1?arguments[1]:void 0;return a(this),(t=void 0!==p)&&o(p),s(e)?new this:(n=[],t?(c=0,d=r(p,f>2?arguments[2]:void 0),u(e,(function(e){i(l,n,d(e,c++))}))):u(e,l,{that:n}),new this(n))}},98836:function(e,t,n){"use strict";var r=n(76253);e.exports=function(){return new this(r(arguments))}},30870:function(e,t,n){"use strict";var r=n(26779).f,i=n(58743),o=n(92671),a=n(1912),s=n(77423),u=n(48056),l=n(4553),c=n(7112),d=n(78462),f=n(971),p=n(92290),h=n(54581).fastKey,m=n(90293),v=m.set,g=m.getterFor;e.exports={getConstructor:function(e,t,n,c){var d=e((function(e,r){s(e,f),v(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),p||(e.size=0),u(r)||l(r,e[c],{that:e,AS_ENTRIES:n})})),f=d.prototype,m=g(t),y=function(e,t,n){var r,i,o=m(e),a=b(e,t);return a?a.value=n:(o.last=a={index:i=h(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),p?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},b=function(e,t){var n,r=m(e),i=h(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(f,{clear:function(){for(var e=m(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,n=m(t),r=b(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),p?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=m(this),r=a(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),o(f,n?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),p&&r(f,"size",{get:function(){return m(this).size}}),d},setStrong:function(e,t,n){var r=t+" Iterator",i=g(t),o=g(r);c(e,t,(function(e,t){v(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?d("keys"==t?n.key:"values"==t?n.value:[n.key,n.value],!1):(e.target=void 0,d(void 0,!0))}),n?"entries":"values",!n,!0),f(t)}}},39017:function(e,t,n){"use strict";var r=n(32108),i=n(92671),o=n(54581).getWeakData,a=n(77423),s=n(64950),u=n(48056),l=n(66106),c=n(4553),d=n(2912),f=n(79728),p=n(90293),h=p.set,m=p.getterFor,v=d.find,g=d.findIndex,y=r([].splice),b=0,_=function(e){return e.frozen||(e.frozen=new w)},w=function(){this.entries=[]},k=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};w.prototype={get:function(e){var t=k(this,e);if(t)return t[1]},has:function(e){return!!k(this,e)},set:function(e,t){var n=k(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var d=e((function(e,i){a(e,p),h(e,{type:t,id:b++,frozen:void 0}),u(i)||c(i,e[r],{that:e,AS_ENTRIES:n})})),p=d.prototype,v=m(t),g=function(e,t,n){var r=v(e),i=o(s(t),!0);return!0===i?_(r).set(t,n):i[r.id]=n,e};return i(p,{delete:function(e){var t=v(this);if(!l(e))return!1;var n=o(e);return!0===n?_(t).delete(e):n&&f(n,t.id)&&delete n[t.id]},has:function(e){var t=v(this);if(!l(e))return!1;var n=o(e);return!0===n?_(t).has(e):n&&f(n,t.id)}}),i(p,n?{get:function(e){var t=v(this);if(l(e)){var n=o(e);return!0===n?_(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),d}}},27166:function(e,t,n){"use strict";var r=n(65609),i=n(82202),o=n(54581),a=n(13315),s=n(93446),u=n(4553),l=n(77423),c=n(16615),d=n(66106),f=n(34026),p=n(26779).f,h=n(2912).forEach,m=n(92290),v=n(90293),g=v.set,y=v.getterFor;e.exports=function(e,t,n){var v,b=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),w=b?"set":"add",k=i[e],E=k&&k.prototype,x={};if(m&&c(k)&&(_||E.forEach&&!a((function(){(new k).entries().next()})))){var S=(v=t((function(t,n){g(l(t,S),{type:e,collection:new k}),null!=n&&u(n,t[w],{that:t,AS_ENTRIES:b})}))).prototype,T=y(e);h(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in E)||_&&"clear"==e||s(S,e,(function(n,r){var i=T(this).collection;if(!t&&_&&!d(n))return"get"==e&&void 0;var o=i[e](0===n?0:n,r);return t?this:o}))})),_||p(S,"size",{configurable:!0,get:function(){return T(this).collection.size}})}else v=n.getConstructor(t,e,b,w),o.enable();return f(v,e,!1,!0),x[e]=v,r({global:!0,forced:!0},x),_||n.setStrong(v,e,b),v}},80359:function(e,t,n){var r=n(79728),i=n(1271),o=n(40406),a=n(26779);e.exports=function(e,t,n){for(var s=i(t),u=a.f,l=o.f,c=0;c<s.length;c++){var d=s[c];r(e,d)||n&&r(n,d)||u(e,d,l(t,d))}}},45023:function(e,t,n){var r=n(77431)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49723:function(e,t,n){var r=n(13315);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},78462:function(e){e.exports=function(e,t){return{value:e,done:t}}},93446:function(e,t,n){var r=n(92290),i=n(26779),o=n(42630);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},42630:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},79869:function(e,t,n){"use strict";var r=n(70738),i=n(26779),o=n(42630);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},80674:function(e,t,n){var r=n(26779);e.exports=function(e,t,n){return r.f(e,t,n)}},46037:function(e,t,n){var r=n(93446);e.exports=function(e,t,n,i){return i&&i.enumerable?e[t]=n:r(e,t,n),e}},92671:function(e,t,n){var r=n(46037);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:r(e,i,t[i],n);return e}},13143:function(e,t,n){var r=n(82202),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},74114:function(e,t,n){"use strict";var r=n(37254),i=TypeError;e.exports=function(e,t){if(!delete e[t])throw i("Cannot delete property "+r(t)+" of "+r(e))}},92290:function(e,t,n){var r=n(13315);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},794:function(e){var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},13696:function(e,t,n){var r=n(82202),i=n(66106),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},58981:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},80196:function(e){e.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}},38823:function(e,t,n){var r=n(26023).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},60495:function(e,t,n){var r=n(30880),i=n(61353);e.exports=!r&&!i&&"object"==typeof window&&"object"==typeof document},30880:function(e){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},51918:function(e,t,n){var r=n(26023);e.exports=/MSIE|Trident/.test(r)},85697:function(e,t,n){var r=n(26023),i=n(82202);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},87812:function(e,t,n){var r=n(26023);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},61353:function(e,t,n){var r=n(80222),i=n(82202);e.exports="process"==r(i.process)},51881:function(e,t,n){var r=n(26023);e.exports=/web0s(?!.*chrome)/i.test(r)},26023:function(e,t,n){var r=n(68520);e.exports=r("navigator","userAgent")||""},67544:function(e,t,n){var r,i,o=n(82202),a=n(26023),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},92323:function(e,t,n){var r=n(26023).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},80003:function(e,t,n){var r=n(5058);e.exports=function(e){return r[e+"Prototype"]}},51816:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8604:function(e,t,n){var r=n(32108),i=Error,o=r("".replace),a=String(i("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,u=s.test(a);e.exports=function(e,t){if(u&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,s,"");return e}},44774:function(e,t,n){var r=n(13315),i=n(42630);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},65609:function(e,t,n){"use strict";var r=n(82202),i=n(26477),o=n(40352),a=n(16615),s=n(40406).f,u=n(30646),l=n(5058),c=n(1912),d=n(93446),f=n(79728),p=function(e){var t=function(n,r,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,r)}return new e(n,r,o)}return i(e,this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,i,h,m,v,g,y,b,_,w=e.target,k=e.global,E=e.stat,x=e.proto,S=k?r:E?r[w]:(r[w]||{}).prototype,T=k?l:l[w]||d(l,w,{})[w],C=T.prototype;for(m in t)i=!(n=u(k?m:w+(E?".":"#")+m,e.forced))&&S&&f(S,m),g=T[m],i&&(y=e.dontCallGetSet?(_=s(S,m))&&_.value:S[m]),v=i&&y?y:t[m],i&&typeof g==typeof v||(b=e.bind&&i?c(v,r):e.wrap&&i?p(v):x&&a(v)?o(v):v,(e.sham||v&&v.sham||g&&g.sham)&&d(b,"sham",!0),d(T,m,b),x&&(f(l,h=w+"Prototype")||d(l,h,{}),d(l[h],m,v),e.real&&C&&(n||!C[m])&&d(C,m,v)))}},13315:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},96959:function(e,t,n){var r=n(13315);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},26477:function(e,t,n){var r=n(38482),i=Function.prototype,o=i.apply,a=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},1912:function(e,t,n){var r=n(40352),i=n(86148),o=n(38482),a=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},38482:function(e,t,n){var r=n(13315);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},74908:function(e,t,n){"use strict";var r=n(32108),i=n(86148),o=n(66106),a=n(79728),s=n(76253),u=n(38482),l=Function,c=r([].concat),d=r([].join),f={},p=function(e,t,n){if(!a(f,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";f[t]=l("C,a","return new C("+d(r,",")+")")}return f[t](e,n)};e.exports=u?l.bind:function(e){var t=i(this),n=t.prototype,r=s(arguments,1),a=function(){var n=c(r,s(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return o(n)&&(a.prototype=n),a}},93344:function(e,t,n){var r=n(38482),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},40637:function(e,t,n){var r=n(92290),i=n(79728),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},40352:function(e,t,n){var r=n(80222),i=n(32108);e.exports=function(e){if("Function"===r(e))return i(e)}},32108:function(e,t,n){var r=n(38482),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);e.exports=r?a:function(e){return function(){return o.apply(e,arguments)}}},68520:function(e,t,n){var r=n(5058),i=n(82202),o=n(16615),a=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?a(r[e])||a(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},4187:function(e,t,n){var r=n(50176),i=n(72173),o=n(48056),a=n(87551),s=n(77431)("iterator");e.exports=function(e){if(!o(e))return i(e,s)||i(e,"@@iterator")||a[r(e)]}},27390:function(e,t,n){var r=n(93344),i=n(86148),o=n(64950),a=n(37254),s=n(4187),u=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return o(r(n,e));throw u(a(e)+" is not iterable")}},72173:function(e,t,n){var r=n(86148),i=n(48056);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},47029:function(e,t,n){var r=n(86148),i=n(64950),o=n(93344),a=n(36225),s=TypeError,u=function(e,t,n,r){this.set=e,this.size=t,this.has=n,this.keys=r};u.prototype={getIterator:function(){return i(o(this.keys,this.set))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw s("Invalid size");return new u(e,a(t),r(e.has),r(e.keys))}},82202:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},79728:function(e,t,n){var r=n(32108),i=n(66504),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},3641:function(e){e.exports={}},22189:function(e,t,n){var r=n(82202);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},48238:function(e,t,n){var r=n(68520);e.exports=r("document","documentElement")},61916:function(e,t,n){var r=n(92290),i=n(13315),o=n(13696);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},66864:function(e,t,n){var r=n(32108),i=n(13315),o=n(80222),a=Object,s=r("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},78693:function(e,t,n){var r=n(32108),i=n(16615),o=n(24156),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},90249:function(e,t,n){var r=n(66106),i=n(93446);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},54581:function(e,t,n){var r=n(65609),i=n(32108),o=n(3641),a=n(66106),s=n(79728),u=n(26779).f,l=n(46289),c=n(32751),d=n(57380),f=n(60853),p=n(96959),h=!1,m=f("meta"),v=0,g=function(e){u(e,m,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=l.f,t=i([].splice),n={};n[m]=1,e(n).length&&(l.f=function(n){for(var r=e(n),i=0,o=r.length;i<o;i++)if(r[i]===m){t(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,m)){if(!d(e))return"F";if(!t)return"E";g(e)}return e[m].objectID},getWeakData:function(e,t){if(!s(e,m)){if(!d(e))return!0;if(!t)return!1;g(e)}return e[m].weakData},onFreeze:function(e){return p&&h&&d(e)&&!s(e,m)&&g(e),e}};o[m]=!0},90293:function(e,t,n){var r,i,o,a=n(27103),s=n(82202),u=n(66106),l=n(93446),c=n(79728),d=n(24156),f=n(22434),p=n(3641),h="Object already initialized",m=s.TypeError,v=s.WeakMap;if(a||d.state){var g=d.state||(d.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw m(h);return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},o=function(e){return g.has(e)}}else{var y=f("state");p[y]=!0,r=function(e,t){if(c(e,y))throw m(h);return t.facade=e,l(e,y,t),t},i=function(e){return c(e,y)?e[y]:{}},o=function(e){return c(e,y)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},57517:function(e,t,n){var r=n(77431),i=n(87551),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},55345:function(e,t,n){var r=n(80222);e.exports=Array.isArray||function(e){return"Array"==r(e)}},16615:function(e,t,n){var r=n(794),i=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===i}:function(e){return"function"==typeof e}},68630:function(e,t,n){var r=n(32108),i=n(13315),o=n(16615),a=n(50176),s=n(68520),u=n(78693),l=function(){},c=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(l),m=function(e){if(!o(e))return!1;try{return d(l,c,e),!0}catch(e){return!1}},v=function(e){if(!o(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,u(e))}catch(e){return!0}};v.sham=!0,e.exports=!d||i((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?v:m},24753:function(e,t,n){var r=n(79728);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},30646:function(e,t,n){var r=n(13315),i=n(16615),o=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},15545:function(e,t,n){var r=n(50176),i=n(79728),o=n(48056),a=n(77431),s=n(87551),u=a("iterator"),l=Object;e.exports=function(e){if(o(e))return!1;var t=l(e);return void 0!==t[u]||"@@iterator"in t||i(s,r(t))}},48056:function(e){e.exports=function(e){return null==e}},66106:function(e,t,n){var r=n(16615),i=n(794),o=i.all;e.exports=i.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===o}:function(e){return"object"==typeof e?null!==e:r(e)}},54956:function(e){e.exports=!0},42149:function(e,t,n){var r=n(66106),i=n(80222),o=n(77431)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},23506:function(e,t,n){var r=n(68520),i=n(16615),o=n(41535),a=n(82754),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&o(t.prototype,s(e))}},71967:function(e,t,n){var r=n(93344);e.exports=function(e,t,n){for(var i,o,a=n||e.next;!(i=r(a,e)).done;)if(void 0!==(o=t(i.value)))return o}},4553:function(e,t,n){var r=n(1912),i=n(93344),o=n(64950),a=n(37254),s=n(57517),u=n(33268),l=n(41535),c=n(27390),d=n(4187),f=n(6861),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var v,g,y,b,_,w,k,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),A=r(t,E),O=function(e){return v&&f(v,"normal",e),new h(!0,e)},N=function(e){return x?(o(e),C?A(e[0],e[1],O):A(e[0],e[1])):C?A(e,O):A(e)};if(S)v=e.iterator;else if(T)v=e;else{if(!(g=d(e)))throw p(a(e)+" is not iterable");if(s(g)){for(y=0,b=u(e);b>y;y++)if((_=N(e[y]))&&l(m,_))return _;return new h(!1)}v=c(e,g)}for(w=S?e.next:v.next;!(k=i(w,v)).done;){try{_=N(k.value)}catch(e){f(v,"throw",e)}if("object"==typeof _&&_&&l(m,_))return _}return new h(!1)}},6861:function(e,t,n){var r=n(93344),i=n(64950),o=n(72173);e.exports=function(e,t,n){var a,s;i(e);try{if(!(a=o(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return i(a),n}},8287:function(e,t,n){"use strict";var r=n(59718).IteratorPrototype,i=n(58743),o=n(42630),a=n(34026),s=n(87551),u=function(){return this};e.exports=function(e,t,n,l){var c=t+" Iterator";return e.prototype=i(r,{next:o(+!l,n)}),a(e,c,!1,!0),s[c]=u,e}},7112:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(54956),a=n(40637),s=n(16615),u=n(8287),l=n(29569),c=n(11244),d=n(34026),f=n(93446),p=n(46037),h=n(77431),m=n(87551),v=n(59718),g=a.PROPER,y=a.CONFIGURABLE,b=v.IteratorPrototype,_=v.BUGGY_SAFARI_ITERATORS,w=h("iterator"),k="keys",E="values",x="entries",S=function(){return this};e.exports=function(e,t,n,a,h,v,T){u(n,t,a);var C,A,O,N=function(e){if(e===h&&R)return R;if(!_&&e in L)return L[e];switch(e){case k:case E:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},P=t+" Iterator",I=!1,L=e.prototype,M=L[w]||L["@@iterator"]||h&&L[h],R=!_&&M||N(h),D="Array"==t&&L.entries||M;if(D&&(C=l(D.call(new e)))!==Object.prototype&&C.next&&(o||l(C)===b||(c?c(C,b):s(C[w])||p(C,w,S)),d(C,P,!0,!0),o&&(m[P]=S)),g&&h==E&&M&&M.name!==E&&(!o&&y?f(L,"name",E):(I=!0,R=function(){return i(M,this)})),h)if(A={values:N(E),keys:v?R:N(k),entries:N(x)},T)for(O in A)(_||I||!(O in L))&&p(L,O,A[O]);else r({target:t,proto:!0,forced:_||I},A);return o&&!T||L[w]===R||p(L,w,R,{name:h}),m[t]=R,A}},59718:function(e,t,n){"use strict";var r,i,o,a=n(13315),s=n(16615),u=n(66106),l=n(58743),c=n(29569),d=n(46037),f=n(77431),p=n(54956),h=f("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):m=!0),!u(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=l(r)),s(r[h])||d(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},87551:function(e){e.exports={}},33268:function(e,t,n){var r=n(39875);e.exports=function(e){return r(e.length)}},74833:function(e,t,n){var r=n(68520),i=n(54341),o=r("Map");e.exports={Map:o,set:i("set",2),get:i("get",1),has:i("has",1),remove:i("delete",1),proto:o.prototype}},36686:function(e,t,n){var r=n(71967);e.exports=function(e,t,n){return n?r(e.entries(),(function(e){return t(e[1],e[0])})):e.forEach(t)}},92731:function(e,t,n){"use strict";var r=n(93344),i=n(86148),o=n(16615),a=n(64950),s=TypeError;e.exports=function(e,t){var n,u=a(this),l=i(u.get),c=i(u.has),d=i(u.set),f=arguments.length>2?arguments[2]:void 0;if(!o(t)&&!o(f))throw s("At least one callback required");return r(c,u,e)?(n=r(l,u,e),o(t)&&(n=t(n),r(d,u,e,n))):o(f)&&(n=f(),r(d,u,e,n)),n}},79014:function(e){e.exports=Math.sign||function(e){var t=+e;return 0==t||t!=t?t:t<0?-1:1}},59798:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},75404:function(e,t,n){var r,i,o,a,s,u,l,c,d=n(82202),f=n(1912),p=n(40406).f,h=n(91085).set,m=n(87812),v=n(85697),g=n(51881),y=n(61353),b=d.MutationObserver||d.WebKitMutationObserver,_=d.document,w=d.process,k=d.Promise,E=p(d,"queueMicrotask"),x=E&&E.value;x||(r=function(){var e,t;for(y&&(e=w.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},m||y||g||!b||!_?!v&&k&&k.resolve?((l=k.resolve(void 0)).constructor=k,c=f(l.then,l),a=function(){c(r)}):y?a=function(){w.nextTick(r)}:(h=f(h,d),a=function(){h(r)}):(s=!0,u=_.createTextNode(""),new b(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},12290:function(e,t,n){"use strict";var r=n(86148),i=TypeError,o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw i("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},46914:function(e,t,n){var r=n(91841);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},43708:function(e,t,n){var r=n(42149),i=TypeError;e.exports=function(e){if(r(e))throw i("The method doesn't accept regular expressions");return e}},13110:function(e,t,n){"use strict";var r=n(92290),i=n(32108),o=n(93344),a=n(13315),s=n(12569),u=n(74749),l=n(37222),c=n(66504),d=n(66864),f=Object.assign,p=Object.defineProperty,h=i([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||s(f({},t)).join("")!=i}))?function(e,t){for(var n=c(e),i=arguments.length,a=1,f=u.f,p=l.f;i>a;)for(var m,v=d(arguments[a++]),g=f?h(s(v),f(v)):s(v),y=g.length,b=0;y>b;)m=g[b++],r&&!o(p,v,m)||(n[m]=v[m]);return n}:f},58743:function(e,t,n){var r,i=n(64950),o=n(79297),a=n(51816),s=n(3641),u=n(48238),l=n(13696),c=n(22434),d=c("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=l("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=i(e),n=new f,f.prototype=null,n[d]=e):n=m(),void 0===t?n:o.f(n,t)}},79297:function(e,t,n){var r=n(92290),i=n(85262),o=n(26779),a=n(64950),s=n(51015),u=n(12569);t.f=r&&!i?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),i=u(t),l=i.length,c=0;l>c;)o.f(e,n=i[c++],r[n]);return e}},26779:function(e,t,n){var r=n(92290),i=n(61916),o=n(85262),a=n(64950),s=n(70738),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",p="writable";t.f=r?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n.writable){var r=c(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:f in n?n.configurable:r.configurable,enumerable:d in n?n.enumerable:r.enumerable,writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},40406:function(e,t,n){var r=n(92290),i=n(93344),o=n(37222),a=n(42630),s=n(51015),u=n(70738),l=n(79728),c=n(61916),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=u(t),c)try{return d(e,t)}catch(e){}if(l(e,t))return a(!i(o.f,e,t),e[t])}},32751:function(e,t,n){var r=n(80222),i=n(51015),o=n(46289).f,a=n(21960),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return o(e)}catch(e){return a(s)}}(e):o(i(e))}},46289:function(e,t,n){var r=n(33923),i=n(51816).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},74749:function(e,t){t.f=Object.getOwnPropertySymbols},29569:function(e,t,n){var r=n(79728),i=n(16615),o=n(66504),a=n(22434),s=n(49723),u=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(r(t,u))return t[u];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?c:null}},57380:function(e,t,n){var r=n(13315),i=n(66106),o=n(80222),a=n(89724),s=Object.isExtensible,u=r((function(){s(1)}));e.exports=u||a?function(e){return!!i(e)&&((!a||"ArrayBuffer"!=o(e))&&(!s||s(e)))}:s},41535:function(e,t,n){var r=n(32108);e.exports=r({}.isPrototypeOf)},33923:function(e,t,n){var r=n(32108),i=n(79728),o=n(51015),a=n(89830).indexOf,s=n(3641),u=r([].push);e.exports=function(e,t){var n,r=o(e),l=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&u(c,n);for(;t.length>l;)i(r,n=t[l++])&&(~a(c,n)||u(c,n));return c}},12569:function(e,t,n){var r=n(33923),i=n(51816);e.exports=Object.keys||function(e){return r(e,i)}},37222:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},11244:function(e,t,n){var r=n(32108),i=n(64950),o=n(65838);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),o(r),t?e(n,r):n.__proto__=r,n}}():void 0)},11276:function(e,t,n){var r=n(92290),i=n(32108),o=n(12569),a=n(51015),s=i(n(37222).f),u=i([].push),l=function(e){return function(t){for(var n,i=a(t),l=o(i),c=l.length,d=0,f=[];c>d;)n=l[d++],r&&!s(i,n)||u(f,e?[n,i[n]]:i[n]);return f}};e.exports={entries:l(!0),values:l(!1)}},6350:function(e,t,n){"use strict";var r=n(60639),i=n(50176);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},3185:function(e,t,n){var r=n(93344),i=n(16615),o=n(66106),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!o(s=r(n,e)))return s;if(i(n=e.valueOf)&&!o(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!o(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},1271:function(e,t,n){var r=n(68520),i=n(32108),o=n(46289),a=n(74749),s=n(64950),u=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?u(t,n(e)):t}},5058:function(e){e.exports={}},90830:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},61061:function(e,t,n){var r=n(82202),i=n(63463),o=n(16615),a=n(30646),s=n(78693),u=n(77431),l=n(60495),c=n(30880),d=n(54956),f=n(67544),p=i&&i.prototype,h=u("species"),m=!1,v=o(r.PromiseRejectionEvent),g=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===f)return!0;if(d&&(!p.catch||!p.finally))return!0;if(!f||f<51||!/native code/.test(e)){var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};if((n.constructor={})[h]=r,!(m=n.then((function(){}))instanceof r))return!0}return!t&&(l||c)&&!v}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:v,SUBCLASSING:m}},63463:function(e,t,n){var r=n(82202);e.exports=r.Promise},86538:function(e,t,n){var r=n(64950),i=n(66106),o=n(12290);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},48240:function(e,t,n){var r=n(63463),i=n(94337),o=n(61061).CONSTRUCTOR;e.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},73129:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},96413:function(e,t,n){var r=n(48056),i=TypeError;e.exports=function(e){if(r(e))throw i("Can't call method on "+e);return e}},99428:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},77959:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},14272:function(e,t,n){var r=n(97869),i=n(84828),o=r.Set,a=r.add;e.exports=function(e){var t=new o;return i(e,(function(e){a(t,e)})),t}},70848:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(14272),a=n(75787),s=n(47029),u=n(84828),l=n(71967),c=i.has,d=i.remove;e.exports=function(e){var t=r(this),n=s(e),i=o(t);return a(t)<=n.size?u(t,(function(e){n.includes(e)&&d(i,e)})):l(n.getIterator(),(function(e){c(t,e)&&d(i,e)})),i}},97869:function(e,t,n){var r=n(68520),i=n(54341),o=r("Set"),a=o.prototype;e.exports={Set:o,add:i("add",1),has:i("has",1),remove:i("delete",1),proto:a,$has:a.has,$keys:a.keys}},4749:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(75787),a=n(47029),s=n(84828),u=n(71967),l=i.Set,c=i.add,d=i.has,f=i.$has,p=i.$keys;e.exports=function(e){var t,n=r(this),i=a(e),h=new l;if(((t=i).has!==f||t.keys!==p)&&o(n)>i.size){if(u(i.getIterator(),(function(e){d(n,e)&&c(h,e)})),o(h)<2)return h;var m=h;h=new l,s(n,(function(e){d(m,e)&&c(h,e)}))}else s(n,(function(e){i.includes(e)&&c(h,e)}));return h}},9789:function(e,t,n){"use strict";var r=n(20902),i=n(97869).has,o=n(75787),a=n(47029),s=n(84828),u=n(71967);e.exports=function(e){var t=r(this),n=a(e);return!1!==(o(t)<=n.size?s(t,(function(e){if(n.includes(e))return!1}),!0):u(n.getIterator(),(function(e){if(i(t,e))return!1})))}},36067:function(e,t,n){"use strict";var r=n(20902),i=n(75787),o=n(84828),a=n(47029);e.exports=function(e){var t=r(this),n=a(e);return!(i(t)>n.size)&&!1!==o(t,(function(e){if(!n.includes(e))return!1}),!0)}},42850:function(e,t,n){"use strict";var r=n(20902),i=n(97869).has,o=n(75787),a=n(47029),s=n(71967);e.exports=function(e){var t=r(this),n=a(e);return!(o(t)<n.size)&&!1!==s(n.getIterator(),(function(e){if(!1===i(t,e))return!1}))}},84828:function(e,t,n){var r=n(71967);e.exports=function(e,t,n){return n?r(e.keys(),t):e.forEach(t)}},78513:function(e){e.exports=function(){return!1}},75787:function(e){e.exports=function(e){return e.size}},971:function(e,t,n){"use strict";var r=n(68520),i=n(26779),o=n(77431),a=n(92290),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},76766:function(e,t,n){"use strict";var r=n(20902),i=n(97869),o=n(14272),a=n(47029),s=n(71967),u=i.add,l=i.has,c=i.remove;e.exports=function(e){var t=r(this),n=a(e).getIterator(),i=o(t);return s(n,(function(e){l(t,e)?c(i,e):u(i,e)})),i}},34026:function(e,t,n){var r=n(60639),i=n(26779).f,o=n(93446),a=n(79728),s=n(6350),u=n(77431)("toStringTag");e.exports=function(e,t,n,l){if(e){var c=n?e:e.prototype;a(c,u)||i(c,u,{configurable:!0,value:t}),l&&!r&&o(c,"toString",s)}}},41172:function(e,t,n){"use strict";var r=n(20902),i=n(97869).add,o=n(14272),a=n(47029),s=n(71967);e.exports=function(e){var t=r(this),n=a(e).getIterator(),u=o(t);return s(n,(function(e){i(u,e)})),u}},22434:function(e,t,n){var r=n(51887),i=n(60853),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},24156:function(e,t,n){var r=n(82202),i=n(13143),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},51887:function(e,t,n){var r=n(54956),i=n(24156);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},34237:function(e,t,n){var r=n(64950),i=n(31413),o=n(48056),a=n(77431)("species");e.exports=function(e,t){var n,s=r(e).constructor;return void 0===s||o(n=r(s)[a])?t:i(n)}},32495:function(e,t,n){var r=n(32108),i=n(36225),o=n(91841),a=n(96413),s=r("".charAt),u=r("".charCodeAt),l=r("".slice),c=function(e){return function(t,n){var r,c,d=o(a(t)),f=i(n),p=d.length;return f<0||f>=p?e?"":void 0:(r=u(d,f))<55296||r>56319||f+1===p||(c=u(d,f+1))<56320||c>57343?e?s(d,f):r:e?l(d,f,f+2):c-56320+(r-55296<<10)+65536}};e.exports={codeAt:c(!1),charAt:c(!0)}},70799:function(e,t,n){var r=n(26023);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},13702:function(e,t,n){var r=n(32108),i=n(39875),o=n(91841),a=n(96756),s=n(96413),u=r(a),l=r("".slice),c=Math.ceil,d=function(e){return function(t,n,r){var a,d,f=o(s(t)),p=i(n),h=f.length,m=void 0===r?" ":o(r);return p<=h||""==m?f:((d=u(m,c((a=p-h)/m.length))).length>a&&(d=l(d,0,a)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!0)}},42068:function(e,t,n){"use strict";var r=n(32108),i=2147483647,o=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",u=RangeError,l=r(a.exec),c=Math.floor,d=String.fromCharCode,f=r("".charCodeAt),p=r([].join),h=r([].push),m=r("".replace),v=r("".split),g=r("".toLowerCase),y=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;)e=c(e/35),r+=36;return c(r+36*e/(e+38))},_=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=f(e,n++);if(i>=55296&&i<=56319&&n<r){var o=f(e,n++);56320==(64512&o)?h(t,((1023&i)<<10)+(1023&o)+65536):(h(t,i),n--)}else h(t,i)}return t}(e);var n,r,o=e.length,a=128,l=0,m=72;for(n=0;n<e.length;n++)(r=e[n])<128&&h(t,d(r));var v=t.length,g=v;for(v&&h(t,"-");g<o;){var _=i;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<_&&(_=r);var w=g+1;if(_-a>c((i-l)/w))throw u(s);for(l+=(_-a)*w,a=_,n=0;n<e.length;n++){if((r=e[n])<a&&++l>i)throw u(s);if(r==a){for(var k=l,E=36;;){var x=E<=m?1:E>=m+26?26:E-m;if(k<x)break;var S=k-x,T=36-x;h(t,d(y(x+S%T))),k=c(S/T),E+=36}h(t,d(y(k))),m=b(l,w,g==v),l=0,g++}}l++,a++}return p(t,"")};e.exports=function(e){var t,n,r=[],i=v(m(g(e),a,"."),".");for(t=0;t<i.length;t++)n=i[t],h(r,l(o,n)?"xn--"+_(n):n);return p(r,".")}},96756:function(e,t,n){"use strict";var r=n(36225),i=n(91841),o=n(96413),a=RangeError;e.exports=function(e){var t=i(o(this)),n="",s=r(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},8052:function(e,t,n){var r=n(40637).PROPER,i=n(13315),o=n(9692);e.exports=function(e){return i((function(){return!!o[e]()||"​᠎"!=="​᠎"[e]()||r&&o[e].name!==e}))}},14545:function(e,t,n){var r=n(32108),i=n(96413),o=n(91841),a=n(9692),s=r("".replace),u="["+a+"]",l=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),d=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"")),n}};e.exports={start:d(1),end:d(2),trim:d(3)}},9009:function(e,t,n){var r=n(67544),i=n(13315);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},59423:function(e,t,n){var r=n(93344),i=n(68520),o=n(77431),a=n(46037);e.exports=function(){var e=i("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=o("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},62243:function(e,t,n){var r=n(9009);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},91085:function(e,t,n){var r,i,o,a,s=n(82202),u=n(26477),l=n(1912),c=n(16615),d=n(79728),f=n(13315),p=n(48238),h=n(76253),m=n(13696),v=n(88163),g=n(87812),y=n(61353),b=s.setImmediate,_=s.clearImmediate,w=s.process,k=s.Dispatch,E=s.Function,x=s.MessageChannel,S=s.String,T=0,C={},A="onreadystatechange";try{r=s.location}catch(e){}var O=function(e){if(d(C,e)){var t=C[e];delete C[e],t()}},N=function(e){return function(){O(e)}},P=function(e){O(e.data)},I=function(e){s.postMessage(S(e),r.protocol+"//"+r.host)};b&&_||(b=function(e){v(arguments.length,1);var t=c(e)?e:E(e),n=h(arguments,1);return C[++T]=function(){u(t,void 0,n)},i(T),T},_=function(e){delete C[e]},y?i=function(e){w.nextTick(N(e))}:k&&k.now?i=function(e){k.now(N(e))}:x&&!g?(a=(o=new x).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(I)?(i=I,s.addEventListener("message",P,!1)):i=A in m("script")?function(e){p.appendChild(m("script")).onreadystatechange=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(N(e),0)}),e.exports={set:b,clear:_}},4351:function(e,t,n){var r=n(36225),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},51015:function(e,t,n){var r=n(66864),i=n(96413);e.exports=function(e){return r(i(e))}},36225:function(e,t,n){var r=n(59798);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},39875:function(e,t,n){var r=n(36225),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},66504:function(e,t,n){var r=n(96413),i=Object;e.exports=function(e){return i(r(e))}},20865:function(e,t,n){var r=n(93344),i=n(66106),o=n(23506),a=n(72173),s=n(3185),u=n(77431),l=TypeError,c=u("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var n,u=a(e,c);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!i(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},70738:function(e,t,n){var r=n(20865),i=n(23506);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},65961:function(e,t,n){var r=n(68520),i=n(16615),o=n(15545),a=n(66106),s=r("Set");e.exports=function(e){return function(e){return a(e)&&"number"==typeof e.size&&i(e.has)&&i(e.keys)}(e)?e:o(e)?new s(e):void 0}},60639:function(e,t,n){var r={};r[n(77431)("toStringTag")]="z",e.exports="[object z]"===String(r)},91841:function(e,t,n){var r=n(50176),i=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},37254:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},60853:function(e,t,n){var r=n(32108),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},44478:function(e,t,n){var r=n(13315),i=n(77431),o=n(54956),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},82754:function(e,t,n){var r=n(9009);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},85262:function(e,t,n){var r=n(92290),i=n(13315);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},88163:function(e){var t=TypeError;e.exports=function(e,n){if(e<n)throw t("Not enough arguments");return e}},27103:function(e,t,n){var r=n(82202),i=n(16615),o=r.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},1307:function(e,t,n){var r=n(68520),i=n(54341);e.exports={WeakMap:r("WeakMap"),set:i("set",2),get:i("get",1),has:i("has",1),remove:i("delete",1)}},84186:function(e,t,n){var r=n(68520),i=n(54341);e.exports={WeakSet:r("WeakSet"),add:i("add",1),has:i("has",1),remove:i("delete",1)}},84282:function(e,t,n){var r=n(5058),i=n(79728),o=n(88239),a=n(26779).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},88239:function(e,t,n){var r=n(77431);t.f=r},77431:function(e,t,n){var r=n(82202),i=n(51887),o=n(79728),a=n(60853),s=n(9009),u=n(82754),l=i("wks"),c=r.Symbol,d=c&&c.for,f=u?c:c&&c.withoutSetter||a;e.exports=function(e){if(!o(l,e)||!s&&"string"!=typeof l[e]){var t="Symbol."+e;s&&o(c,e)?l[e]=c[e]:l[e]=u&&d?d(t):f(t)}return l[e]}},9692:function(e){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},12309:function(e,t,n){"use strict";var r=n(65609),i=n(41535),o=n(29569),a=n(11244),s=n(80359),u=n(58743),l=n(93446),c=n(42630),d=n(8604),f=n(90249),p=n(4553),h=n(46914),m=n(77431),v=n(44774),g=m("toStringTag"),y=Error,b=[].push,_=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,s=i(w,this);a?n=a(y(),s?o(this):w):(n=s?this:u(w),l(n,g,"Error")),void 0!==t&&l(n,"message",h(t)),v&&l(n,"stack",d(n.stack,1)),f(n,r);var c=[];return p(e,b,{that:c}),l(n,"errors",c),n};a?a(_,y):s(_,y,{name:!0});var w=_.prototype=u(y.prototype,{constructor:c(1,_),message:c(1,""),name:c(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:_})},72750:function(e,t,n){n(12309)},79398:function(e,t,n){"use strict";var r=n(65609),i=n(13315),o=n(55345),a=n(66106),s=n(66504),u=n(33268),l=n(58981),c=n(79869),d=n(48071),f=n(71319),p=n(77431),h=n(67544),m=p("isConcatSpreadable"),v=h>=51||!i((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),g=f("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,arity:1,forced:!v||!g},{concat:function(e){var t,n,r,i,o,a=s(this),f=d(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(y(o=-1===t?a:arguments[t]))for(i=u(o),l(p+i),n=0;n<i;n++,p++)n in o&&c(f,p,o[n]);else l(p+1),c(f,p++,o);return f.length=p,f}})},99632:function(e,t,n){var r=n(65609),i=n(8660),o=n(7272);r({target:"Array",proto:!0},{fill:i}),o("fill")},38215:function(e,t,n){"use strict";var r=n(65609),i=n(2912).filter;r({target:"Array",proto:!0,forced:!n(71319)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11688:function(e,t,n){"use strict";var r=n(65609),i=n(2912).findIndex,o=n(7272),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},79435:function(e,t,n){"use strict";var r=n(65609),i=n(2912).find,o=n(7272),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o(a)},82356:function(e,t,n){"use strict";var r=n(65609),i=n(99308);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},34521:function(e,t,n){var r=n(65609),i=n(4133);r({target:"Array",stat:!0,forced:!n(94337)((function(e){Array.from(e)}))},{from:i})},93455:function(e,t,n){"use strict";var r=n(65609),i=n(89830).includes,o=n(13315),a=n(7272);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},25749:function(e,t,n){"use strict";var r=n(65609),i=n(40352),o=n(89830).indexOf,a=n(16680),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0,l=a("indexOf");r({target:"Array",proto:!0,forced:u||!l},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return u?s(this,e,t)||0:o(this,e,t)}})},81847:function(e,t,n){n(65609)({target:"Array",stat:!0},{isArray:n(55345)})},30963:function(e,t,n){"use strict";var r=n(51015),i=n(7272),o=n(87551),a=n(90293),s=n(26779).f,u=n(7112),l=n(78462),c=n(54956),d=n(92290),f="Array Iterator",p=a.set,h=a.getterFor(f);e.exports=u(Array,"Array",(function(e,t){p(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=h(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 m=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},94889:function(e,t,n){"use strict";var r=n(65609),i=n(2912).map;r({target:"Array",proto:!0,forced:!n(71319)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11229:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(55345),a=i([].reverse),s=[1,2];r({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),a(this)}})},1859:function(e,t,n){"use strict";var r=n(65609),i=n(55345),o=n(68630),a=n(66106),s=n(4351),u=n(33268),l=n(51015),c=n(79869),d=n(77431),f=n(71319),p=n(76253),h=f("slice"),m=d("species"),v=Array,g=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var n,r,d,f=l(this),h=u(f),y=s(e,h),b=s(void 0===t?h:t,h);if(i(f)&&(n=f.constructor,(o(n)&&(n===v||i(n.prototype))||a(n)&&null===(n=n[m]))&&(n=void 0),n===v||void 0===n))return p(f,y,b);for(r=new(void 0===n?v:n)(g(b-y,0)),d=0;y<b;y++,d++)y in f&&c(r,d,f[y]);return r.length=d,r}})},76237:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(86148),a=n(66504),s=n(33268),u=n(74114),l=n(91841),c=n(13315),d=n(65702),f=n(16680),p=n(38823),h=n(51918),m=n(67544),v=n(92323),g=[],y=i(g.sort),b=i(g.push),_=c((function(){g.sort(void 0)})),w=c((function(){g.sort(null)})),k=f("sort"),E=!c((function(){if(m)return m<70;if(!(p&&p>3)){if(h)return!0;if(v)return v<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)g.push({k:t+r,v:n})}for(g.sort((function(e,t){return t.v-e.v})),r=0;r<g.length;r++)t=g[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:_||!w||!k||!E},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(E)return void 0===e?y(t):y(t,e);var n,r,i=[],c=s(t);for(r=0;r<c;r++)r in t&&b(i,t[r]);for(d(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:l(t)>l(n)?1:-1}}(e)),n=s(i),r=0;r<n;)t[r]=i[r++];for(;r<c;)u(t,r++);return t}})},14109:function(){},98039:function(e,t,n){var r=n(65609),i=n(74908);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},19737:function(e,t,n){var r=n(65609),i=n(68520),o=n(26477),a=n(93344),s=n(32108),u=n(13315),l=n(55345),c=n(16615),d=n(66106),f=n(23506),p=n(76253),h=n(9009),m=i("JSON","stringify"),v=s(/./.exec),g=s("".charAt),y=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,k=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,x=!h||u((function(){var e=i("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),S=u((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),T=function(e,t){var n=p(arguments),r=t;if((d(t)||void 0!==e)&&!f(e))return l(t)||(t=function(e,t){if(c(r)&&(t=a(r,this,e,t)),!f(t))return t}),n[1]=t,o(m,null,n)},C=function(e,t,n){var r=g(n,t-1),i=g(n,t+1);return v(k,e)&&!v(E,i)||v(E,e)&&!v(k,r)?"\\u"+_(y(e,0),16):e};m&&r({target:"JSON",stat:!0,arity:3,forced:x||S},{stringify:function(e,t,n){var r=p(arguments),i=o(x?T:m,null,r);return S&&"string"==typeof i?b(i,w,C):i}})},78655:function(e,t,n){var r=n(82202);n(34026)(r.JSON,"JSON",!0)},6885:function(e,t,n){"use strict";n(27166)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(30870))},12297:function(e,t,n){n(6885)},8544:function(e,t,n){var r=n(65609),i=n(79014),o=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){var t=+e;return i(t)*a(o(t),1/3)}})},15913:function(){},504:function(e,t,n){n(65609)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},99421:function(e,t,n){n(65609)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},64564:function(e,t,n){var r=n(65609),i=n(13110);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},13365:function(e,t,n){n(65609)({target:"Object",stat:!0,sham:!n(92290)},{create:n(58743)})},42883:function(e,t,n){var r=n(65609),i=n(92290),o=n(26779).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},74152:function(e,t,n){var r=n(65609),i=n(11276).entries;r({target:"Object",stat:!0},{entries:function(e){return i(e)}})},18909:function(e,t,n){var r=n(65609),i=n(13315),o=n(51015),a=n(40406).f,s=n(92290),u=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},51690:function(e,t,n){var r=n(65609),i=n(92290),o=n(1271),a=n(51015),s=n(40406),u=n(79869);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,l=o(r),c={},d=0;l.length>d;)void 0!==(n=i(r,t=l[d++]))&&u(c,t,n);return c}})},69169:function(e,t,n){var r=n(65609),i=n(9009),o=n(13315),a=n(74749),s=n(66504);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},22569:function(e,t,n){var r=n(65609),i=n(13315),o=n(66504),a=n(29569),s=n(49723);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},93424:function(e,t,n){n(65609)({target:"Object",stat:!0},{is:n(77959)})},44261:function(e,t,n){var r=n(65609),i=n(66504),o=n(12569);r({target:"Object",stat:!0,forced:n(13315)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},9652:function(e,t,n){n(65609)({target:"Object",stat:!0},{setPrototypeOf:n(11244)})},30277:function(){},76818:function(e,t,n){var r=n(65609),i=n(11276).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},49230:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,c=s((function(){var n=o(t.resolve),a=[],s=0,l=1;u(e,(function(e){var o=s++,u=!1;l++,i(n,t,e).then((function(e){u||(u=!0,a[o]={status:"fulfilled",value:e},--l||r(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--l||r(a))}))})),--l||r(a)}));return c.error&&l(c.value),n.promise}})},29703:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0,forced:n(48240)},{all:function(e){var t=this,n=a.f(t),r=n.resolve,l=n.reject,c=s((function(){var n=o(t.resolve),a=[],s=0,c=1;u(e,(function(e){var o=s++,u=!1;c++,i(n,t,e).then((function(e){u||(u=!0,a[o]=e,--c||r(a))}),l)})),--c||r(a)}));return c.error&&l(c.value),n.promise}})},33978:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(68520),s=n(12290),u=n(90830),l=n(4553),c="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a("AggregateError"),r=s.f(t),d=r.resolve,f=r.reject,p=u((function(){var r=o(t.resolve),a=[],s=0,u=1,p=!1;l(e,(function(e){var o=s++,l=!1;u++,i(r,t,e).then((function(e){l||p||(p=!0,d(e))}),(function(e){l||p||(l=!0,a[o]=e,--u||f(new n(a,c)))}))})),--u||f(new n(a,c))}));return p.error&&f(p.value),r.promise}})},12049:function(e,t,n){"use strict";var r=n(65609),i=n(54956),o=n(61061).CONSTRUCTOR,a=n(63463),s=n(68520),u=n(16615),l=n(46037),c=a&&a.prototype;if(r({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&u(a)){var d=s("Promise").prototype.catch;c.catch!==d&&l(c,"catch",d,{unsafe:!0})}},84062:function(e,t,n){"use strict";var r,i,o,a=n(65609),s=n(54956),u=n(61353),l=n(82202),c=n(93344),d=n(46037),f=n(11244),p=n(34026),h=n(971),m=n(86148),v=n(16615),g=n(66106),y=n(77423),b=n(34237),_=n(91085).set,w=n(75404),k=n(22189),E=n(90830),x=n(73129),S=n(90293),T=n(63463),C=n(61061),A=n(12290),O="Promise",N=C.CONSTRUCTOR,P=C.REJECTION_EVENT,I=C.SUBCLASSING,L=S.getterFor(O),M=S.set,R=T&&T.prototype,D=T,q=R,j=l.TypeError,F=l.document,B=l.process,U=A.f,z=U,H=!!(F&&F.createEvent&&l.dispatchEvent),V="unhandledrejection",W=function(e){var t;return!(!g(e)||!v(t=e.then))&&t},Y=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,l=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&Z(t),t.rejection=1),!0===s?n=o:(d&&d.enter(),n=s(o),d&&(d.exit(),i=!0)),n===e.promise?l(j("Promise-chain cycle")):(r=W(n))?c(r,n,u,l):u(n)):l(o)}catch(e){d&&!i&&d.exit(),l(e)}},G=function(e,t){e.notified||(e.notified=!0,w((function(){for(var n,r=e.reactions;n=r.get();)Y(n,e);e.notified=!1,t&&!e.rejection&&X(e)})))},K=function(e,t,n){var r,i;H?((r=F.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!P&&(i=l["on"+e])?i(r):e===V&&k("Unhandled promise rejection",n)},X=function(e){c(_,l,(function(){var t,n=e.facade,r=e.value;if($(e)&&(t=E((function(){u?B.emit("unhandledRejection",r,n):K(V,n,r)})),e.rejection=u||$(e)?2:1,t.error))throw t.value}))},$=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){c(_,l,(function(){var t=e.facade;u?B.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},Q=function(e,t,n){return function(r){e(t,r,n)}},J=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,G(e,!0))},ee=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw j("Promise can't be resolved itself");var r=W(t);r?w((function(){var n={done:!1};try{c(r,t,Q(ee,n,e),Q(J,n,e))}catch(t){J(n,t,e)}})):(e.value=t,e.state=1,G(e,!1))}catch(t){J({done:!1},t,e)}}};if(N&&(q=(D=function(e){y(this,q),m(e),c(r,this);var t=L(this);try{e(Q(ee,t),Q(J,t))}catch(e){J(t,e)}}).prototype,(r=function(e){M(this,{type:O,done:!1,notified:!1,parent:!1,reactions:new x,rejection:!1,state:0,value:void 0})}).prototype=d(q,"then",(function(e,t){var n=L(this),r=U(b(this,D));return n.parent=!0,r.ok=!v(e)||e,r.fail=v(t)&&t,r.domain=u?B.domain:void 0,0==n.state?n.reactions.add(r):w((function(){Y(r,n)})),r.promise})),i=function(){var e=new r,t=L(e);this.promise=e,this.resolve=Q(ee,t),this.reject=Q(J,t)},A.f=U=function(e){return e===D||undefined===e?new i(e):z(e)},!s&&v(T)&&R!==Object.prototype)){o=R.then,I||d(R,"then",(function(e,t){var n=this;return new D((function(e,t){c(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete R.constructor}catch(e){}f&&f(R,q)}a({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:D}),p(D,O,!1,!0),h(O)},39952:function(e,t,n){"use strict";var r=n(65609),i=n(54956),o=n(63463),a=n(13315),s=n(68520),u=n(16615),l=n(34237),c=n(86538),d=n(46037),f=o&&o.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){f.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=l(this,s("Promise")),n=u(e);return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),!i&&u(o)){var p=s("Promise").prototype.finally;f.finally!==p&&d(f,"finally",p,{unsafe:!0})}},57491:function(e,t,n){n(84062),n(29703),n(12049),n(68464),n(4361),n(10610)},68464:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(86148),a=n(12290),s=n(90830),u=n(4553);r({target:"Promise",stat:!0,forced:n(48240)},{race:function(e){var t=this,n=a.f(t),r=n.reject,l=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return l.error&&r(l.value),n.promise}})},4361:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(12290);r({target:"Promise",stat:!0,forced:n(61061).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},10610:function(e,t,n){"use strict";var r=n(65609),i=n(68520),o=n(54956),a=n(63463),s=n(61061).CONSTRUCTOR,u=n(86538),l=i("Promise"),c=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(c&&this===l?a:this,e)}})},24679:function(e,t,n){var r=n(65609),i=n(68520),o=n(26477),a=n(74908),s=n(31413),u=n(64950),l=n(66106),c=n(58743),d=n(13315),f=i("Reflect","construct"),p=Object.prototype,h=[].push,m=d((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),v=!d((function(){f((function(){}))})),g=m||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(e,t){s(e),u(t);var n=arguments.length<3?e:s(arguments[2]);if(v&&!m)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return o(h,r,t),new(o(a,e,r))}var i=n.prototype,d=c(l(i)?i:p),g=o(e,d,t);return l(g)?g:d}})},22382:function(e,t,n){var r=n(65609),i=n(93344),o=n(66106),a=n(64950),s=n(24753),u=n(40406),l=n(29569);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,c,d=arguments.length<3?t:arguments[2];return a(t)===d?t[n]:(r=u.f(t,n))?s(r)?r.value:void 0===r.get?void 0:i(r.get,d):o(c=l(t))?e(c,n,d):void 0}})},77014:function(){},10466:function(e,t,n){"use strict";n(27166)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(30870))},1753:function(e,t,n){n(10466)},28107:function(e,t,n){"use strict";var r,i=n(65609),o=n(40352),a=n(40406).f,s=n(39875),u=n(91841),l=n(43708),c=n(96413),d=n(45023),f=n(54956),p=o("".endsWith),h=o("".slice),m=Math.min,v=d("endsWith");i({target:"String",proto:!0,forced:!!(f||v||(r=a(String.prototype,"endsWith"),!r||r.writable))&&!v},{endsWith:function(e){var t=u(c(this));l(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=void 0===n?r:m(s(n),r),o=u(e);return p?p(t,o,i):h(t,i-o.length,i)===o}})},2126:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(43708),a=n(96413),s=n(91841),u=n(45023),l=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~l(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},70185:function(e,t,n){"use strict";var r=n(32495).charAt,i=n(91841),o=n(90293),a=n(7112),s=n(78462),u="String Iterator",l=o.set,c=o.getterFor(u);a(String,"String",(function(e){l(this,{type:u,string:i(e),index:0})}),(function(){var e,t=c(this),n=t.string,i=t.index;return i>=n.length?s(void 0,!0):(e=r(n,i),t.index+=e.length,s(e,!1))}))},28051:function(e,t,n){"use strict";var r=n(65609),i=n(13702).start;r({target:"String",proto:!0,forced:n(70799)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},914:function(e,t,n){"use strict";var r,i=n(65609),o=n(40352),a=n(40406).f,s=n(39875),u=n(91841),l=n(43708),c=n(96413),d=n(45023),f=n(54956),p=o("".startsWith),h=o("".slice),m=Math.min,v=d("startsWith");i({target:"String",proto:!0,forced:!!(f||v||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!v},{startsWith:function(e){var t=u(c(this));l(e);var n=s(m(arguments.length>1?arguments[1]:void 0,t.length)),r=u(e);return p?p(t,r,n):h(t,n,n+r.length)===r}})},77485:function(e,t,n){"use strict";var r=n(65609),i=n(14545).trim;r({target:"String",proto:!0,forced:n(8052)("trim")},{trim:function(){return i(this)}})},63112:function(e,t,n){n(84282)("asyncIterator")},40520:function(e,t,n){"use strict";var r=n(65609),i=n(82202),o=n(93344),a=n(32108),s=n(54956),u=n(92290),l=n(9009),c=n(13315),d=n(79728),f=n(41535),p=n(64950),h=n(51015),m=n(70738),v=n(91841),g=n(42630),y=n(58743),b=n(12569),_=n(46289),w=n(32751),k=n(74749),E=n(40406),x=n(26779),S=n(79297),T=n(37222),C=n(46037),A=n(51887),O=n(22434),N=n(3641),P=n(60853),I=n(77431),L=n(88239),M=n(84282),R=n(59423),D=n(34026),q=n(90293),j=n(2912).forEach,F=O("hidden"),B="Symbol",U=q.set,z=q.getterFor(B),H=Object.prototype,V=i.Symbol,W=V&&V.prototype,Y=i.TypeError,G=i.QObject,K=E.f,X=x.f,$=w.f,Z=T.f,Q=a([].push),J=A("symbols"),ee=A("op-symbols"),te=A("wks"),ne=!G||!G.prototype||!G.prototype.findChild,re=u&&c((function(){return 7!=y(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(H,t);r&&delete H[t],X(e,t,n),r&&e!==H&&X(H,t,r)}:X,ie=function(e,t){var n=J[e]=y(W);return U(n,{type:B,tag:e,description:t}),u||(n.description=t),n},oe=function(e,t,n){e===H&&oe(ee,t,n),p(e);var r=m(t);return p(n),d(J,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=y(n,{enumerable:g(0,!1)})):(d(e,F)||X(e,F,g(1,{})),e[F][r]=!0),re(e,r,n)):X(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=b(n).concat(ce(n));return j(r,(function(t){u&&!o(se,n,t)||oe(e,t,n[t])})),e},se=function(e){var t=m(e),n=o(Z,this,t);return!(this===H&&d(J,t)&&!d(ee,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,F)&&this[F][t])||n)},ue=function(e,t){var n=h(e),r=m(t);if(n!==H||!d(J,r)||d(ee,r)){var i=K(n,r);return!i||!d(J,r)||d(n,F)&&n[F][r]||(i.enumerable=!0),i}},le=function(e){var t=$(h(e)),n=[];return j(t,(function(e){d(J,e)||d(N,e)||Q(n,e)})),n},ce=function(e){var t=e===H,n=$(t?ee:h(e)),r=[];return j(n,(function(e){!d(J,e)||t&&!d(H,e)||Q(r,J[e])})),r};l||(V=function(){if(f(W,this))throw Y("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?v(arguments[0]):void 0,t=P(e),n=function(e){this===H&&o(n,ee,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),re(this,t,g(1,e))};return u&&ne&&re(H,t,{configurable:!0,set:n}),ie(t,e)},C(W=V.prototype,"toString",(function(){return z(this).tag})),C(V,"withoutSetter",(function(e){return ie(P(e),e)})),T.f=se,x.f=oe,S.f=ae,E.f=ue,_.f=w.f=le,k.f=ce,L.f=function(e){return ie(I(e),e)},u&&(X(W,"description",{configurable:!0,get:function(){return z(this).description}}),s||C(H,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),j(b(te),(function(e){M(e)})),r({target:B,stat:!0,forced:!l},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(e,t){return void 0===t?y(e):ae(y(e),t)},defineProperty:oe,defineProperties:ae,getOwnPropertyDescriptor:ue}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:le}),R(),D(V,B),N[F]=!0},42019:function(){},52186:function(e,t,n){var r=n(65609),i=n(68520),o=n(79728),a=n(91841),s=n(51887),u=n(62243),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(l,t))return l[t];var n=i("Symbol")(t);return l[t]=n,c[n]=t,n}})},24435:function(e,t,n){n(84282)("hasInstance")},93427:function(e,t,n){n(84282)("isConcatSpreadable")},42526:function(e,t,n){n(84282)("iterator")},21006:function(e,t,n){n(40520),n(52186),n(81936),n(19737),n(69169)},81936:function(e,t,n){var r=n(65609),i=n(79728),o=n(23506),a=n(37254),s=n(51887),u=n(62243),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{keyFor:function(e){if(!o(e))throw TypeError(a(e)+" is not a symbol");if(i(l,e))return l[e]}})},25202:function(e,t,n){n(84282)("matchAll")},3314:function(e,t,n){n(84282)("match")},46916:function(e,t,n){n(84282)("replace")},19206:function(e,t,n){n(84282)("search")},28458:function(e,t,n){n(84282)("species")},43743:function(e,t,n){n(84282)("split")},1283:function(e,t,n){var r=n(84282),i=n(59423);r("toPrimitive"),i()},17294:function(e,t,n){var r=n(68520),i=n(84282),o=n(34026);i("toStringTag"),o(r("Symbol"),"Symbol")},26287:function(e,t,n){n(84282)("unscopables")},53584:function(e,t,n){"use strict";var r,i=n(96959),o=n(82202),a=n(32108),s=n(92671),u=n(54581),l=n(27166),c=n(39017),d=n(66106),f=n(90293).enforce,p=n(13315),h=n(27103),m=Object,v=Array.isArray,g=m.isExtensible,y=m.isFrozen,b=m.isSealed,_=m.freeze,w=m.seal,k={},E={},x=!o.ActiveXObject&&"ActiveXObject"in o,S=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},T=l("WeakMap",S,c),C=T.prototype,A=a(C.set);if(h)if(x){r=c.getConstructor(S,"WeakMap",!0),u.enable();var O=a(C.delete),N=a(C.has),P=a(C.get);s(C,{delete:function(e){if(d(e)&&!g(e)){var t=f(this);return t.frozen||(t.frozen=new r),O(this,e)||t.frozen.delete(e)}return O(this,e)},has:function(e){if(d(e)&&!g(e)){var t=f(this);return t.frozen||(t.frozen=new r),N(this,e)||t.frozen.has(e)}return N(this,e)},get:function(e){if(d(e)&&!g(e)){var t=f(this);return t.frozen||(t.frozen=new r),N(this,e)?P(this,e):t.frozen.get(e)}return P(this,e)},set:function(e,t){if(d(e)&&!g(e)){var n=f(this);n.frozen||(n.frozen=new r),N(this,e)?A(this,e,t):n.frozen.set(e,t)}else A(this,e,t);return this}})}else i&&p((function(){var e=_([]);return A(new T,e,1),!y(e)}))&&s(C,{set:function(e,t){var n;return v(e)&&(y(e)?n=k:b(e)&&(n=E)),A(this,e,t),n==k&&_(e),n==E&&w(e),this}})},40140:function(e,t,n){n(53584)},50111:function(e,t,n){"use strict";n(27166)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(39017))},64852:function(e,t,n){n(50111)},33239:function(e,t,n){n(72750)},17017:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(74833).remove;r({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},85967:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(74833),a=o.get,s=o.has,u=o.set;r({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=i(this);return s(o,e)?(n=a(o,e),"update"in t&&(n=t.update(n,e,o),u(o,e,n)),n):(r=t.insert(e,o),u(o,e,r),r)}})},16005:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e,r){if(!n(e,r,t))return!1}),!0)}})},3556:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){n(e,i,t)&&l(r,i,e)})),r}})},72910:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{key:r}}),!0);return r&&r.key}})},81582:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e,r){if(n(e,r,t))return{value:e}}),!0);return r&&r.value}})},45952:function(e,t,n){n(65609)({target:"Map",stat:!0,forced:!0},{from:n(37571)})},33709:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(32108),a=n(16615),s=n(86148),u=n(4553),l=n(74833).Map,c=o([].push);r({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){var n=new(a(this)?this:l);s(t);var r=s(n.has),o=s(n.get),d=s(n.set);return u(e,(function(e){var a=t(e);i(r,n,a)?c(i(o,n,a),e):i(d,n,a,[e])})),n}})},22547:function(e,t,n){"use strict";var r=n(65609),i=n(99428),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return!0===a(o(this),(function(t){if(i(t,e))return!0}),!0)}})},97803:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(4553),a=n(16615),s=n(86148),u=n(74833).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new(a(this)?this:u);s(t);var r=s(n.set);return o(e,(function(e){i(r,n,t(e),e)})),n}})},53014:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=o(i(this),(function(t,n){if(t===e)return{key:n}}),!0);return t&&t.key}})},91688:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){l(r,n(e,i,t),e)})),r}})},26346:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(74833),s=n(36686),u=a.Map,l=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e,i){l(r,i,n(e,i,t))})),r}})},49459:function(e,t,n){"use strict";var r=n(65609),i=n(7655),o=n(4553),a=n(74833).set;r({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var t=i(this),n=arguments.length,r=0;r<n;)o(arguments[r++],(function(e,n){a(t,e,n)}),{AS_ENTRIES:!0});return t}})},78043:function(e,t,n){n(65609)({target:"Map",stat:!0,forced:!0},{of:n(98836)})},15851:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(7655),a=n(36686),s=TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i,o){n?(n=!1,r=i):r=e(r,i,o,t)})),n)throw s("Reduce of empty map with no initial value");return r}})},93434:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(7655),a=n(36686);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e,r){if(n(e,r,t))return!0}),!0)}})},59405:function(e,t,n){"use strict";n(65609)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:n(92731)})},88415:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(7655),a=n(74833),s=TypeError,u=a.get,l=a.has,c=a.set;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=o(this),r=arguments.length;i(t);var a=l(n,e);if(!a&&r<3)throw s("Updating absent value");var d=a?u(n,e):i(r>2?arguments[2]:void 0)(e,n);return c(n,e,t(d,e,n)),n}})},49663:function(e,t,n){"use strict";n(65609)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:n(92731)})},82564:function(e,t,n){n(49230)},94781:function(e,t,n){n(33978)},25361:function(e,t,n){"use strict";var r=n(65609),i=n(12290),o=n(90830);r({target:"Promise",stat:!0,forced:!0},{try:function(e){var t=i.f(this),n=o(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},82745:function(e,t,n){"use strict";var r=n(65609),i=n(20902),o=n(97869).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=i(this),t=0,n=arguments.length;t<n;t++)o(e,arguments[t]);return e}})},84070:function(e,t,n){"use strict";var r=n(65609),i=n(20902),o=n(97869).remove;r({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},34943:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(70848);r({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){return i(a,this,o(e))}})},52711:function(e,t,n){var r=n(65609),i=n(70848);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("difference")},{difference:i})},25277:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!1!==a(t,(function(e){if(!n(e,e,t))return!1}),!0)}})},28404:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(97869),s=n(84828),u=a.Set,l=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e){n(e,e,t)&&l(r,e)})),r}})},40269:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=a(t,(function(e){if(n(e,e,t))return{value:e}}),!0);return r&&r.value}})},84170:function(e,t,n){n(65609)({target:"Set",stat:!0,forced:!0},{from:n(37571)})},91239:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(4749);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){return i(a,this,o(e))}})},29097:function(e,t,n){var r=n(65609),i=n(4749);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("intersection")},{intersection:i})},53180:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(9789);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){return i(a,this,o(e))}})},73225:function(e,t,n){var r=n(65609),i=n(9789);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isDisjointFrom")},{isDisjointFrom:i})},85405:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(36067);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){return i(a,this,o(e))}})},45392:function(e,t,n){var r=n(65609),i=n(36067);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isSubsetOf")},{isSubsetOf:i})},81090:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(42850);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){return i(a,this,o(e))}})},71638:function(e,t,n){var r=n(65609),i=n(42850);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("isSupersetOf")},{isSupersetOf:i})},70146:function(e,t,n){"use strict";var r=n(65609),i=n(32108),o=n(20902),a=n(84828),s=n(91841),u=i([].join),l=i([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var t=o(this),n=void 0===e?",":s(e),r=[];return a(t,(function(e){l(r,e)})),u(r,n)}})},1240:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(97869),s=n(84828),u=a.Set,l=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0),r=new u;return s(t,(function(e){l(r,n(e,e,t))})),r}})},62808:function(e,t,n){n(65609)({target:"Set",stat:!0,forced:!0},{of:n(98836)})},80734:function(e,t,n){"use strict";var r=n(65609),i=n(86148),o=n(20902),a=n(84828),s=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=arguments.length<2,r=n?void 0:arguments[1];if(i(e),a(t,(function(i){n?(n=!1,r=i):r=e(r,i,i,t)})),n)throw s("Reduce of empty set with no initial value");return r}})},21946:function(e,t,n){"use strict";var r=n(65609),i=n(1912),o=n(20902),a=n(84828);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var t=o(this),n=i(e,arguments.length>1?arguments[1]:void 0);return!0===a(t,(function(e){if(n(e,e,t))return!0}),!0)}})},20985:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(76766);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){return i(a,this,o(e))}})},53933:function(e,t,n){var r=n(65609),i=n(76766);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("symmetricDifference")},{symmetricDifference:i})},76035:function(e,t,n){"use strict";var r=n(65609),i=n(93344),o=n(65961),a=n(41172);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){return i(a,this,o(e))}})},21366:function(e,t,n){var r=n(65609),i=n(41172);r({target:"Set",proto:!0,real:!0,forced:!n(78513)("union")},{union:i})},34419:function(e,t,n){n(84282)("asyncDispose")},20795:function(e,t,n){n(84282)("dispose")},54596:function(e,t,n){n(84282)("matcher")},44505:function(e,t,n){n(84282)("metadataKey")},29545:function(e,t,n){n(84282)("metadata")},57049:function(e,t,n){n(84282)("observable")},72481:function(e,t,n){n(84282)("patternMatch")},52208:function(e,t,n){n(84282)("replaceAll")},38894:function(e,t,n){"use strict";var r=n(65609),i=n(82271),o=n(1307).remove;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},33976:function(e,t,n){"use strict";var r=n(65609),i=n(82271),o=n(1307),a=o.get,s=o.has,u=o.set;r({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var n,r,o=i(this);return s(o,e)?(n=a(o,e),"update"in t&&(n=t.update(n,e,o),u(o,e,n)),n):(r=t.insert(e,o),u(o,e,r),r)}})},58959:function(e,t,n){n(65609)({target:"WeakMap",stat:!0,forced:!0},{from:n(37571)})},63037:function(e,t,n){n(65609)({target:"WeakMap",stat:!0,forced:!0},{of:n(98836)})},4762:function(e,t,n){"use strict";n(65609)({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:n(92731)})},23996:function(e,t,n){"use strict";var r=n(65609),i=n(64725),o=n(84186).add;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{addAll:function(){for(var e=i(this),t=0,n=arguments.length;t<n;t++)o(e,arguments[t]);return e}})},42579:function(e,t,n){"use strict";var r=n(65609),i=n(64725),o=n(84186).remove;r({target:"WeakSet",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e,t=i(this),n=!0,r=0,a=arguments.length;r<a;r++)e=o(t,arguments[r]),n=n&&e;return!!n}})},71963:function(e,t,n){n(65609)({target:"WeakSet",stat:!0,forced:!0},{from:n(37571)})},87243:function(e,t,n){n(65609)({target:"WeakSet",stat:!0,forced:!0},{of:n(98836)})},57394:function(e,t,n){n(30963);var r=n(80196),i=n(82202),o=n(50176),a=n(93446),s=n(87551),u=n(77431)("toStringTag");for(var l in r){var c=i[l],d=c&&c.prototype;d&&o(d)!==u&&a(d,u,l),s[l]=s.Array}},47220:function(e,t,n){var r=n(65609),i=n(82202),o=n(75404),a=n(86148),s=n(88163),u=n(61353),l=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){s(arguments.length,1),a(e);var t=u&&l.domain;o(t?t.bind(e):e)}})},28112:function(e,t,n){"use strict";n(30963);var r=n(65609),i=n(82202),o=n(93344),a=n(32108),s=n(92290),u=n(44478),l=n(46037),c=n(92671),d=n(34026),f=n(8287),p=n(90293),h=n(77423),m=n(16615),v=n(79728),g=n(1912),y=n(50176),b=n(64950),_=n(66106),w=n(91841),k=n(58743),E=n(42630),x=n(27390),S=n(4187),T=n(88163),C=n(77431),A=n(65702),O=C("iterator"),N="URLSearchParams",P="URLSearchParamsIterator",I=p.set,L=p.getterFor(N),M=p.getterFor(P),R=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return i[e];var t=R(i,e);return t&&t.value},q=D("fetch"),j=D("Request"),F=D("Headers"),B=j&&j.prototype,U=F&&F.prototype,z=i.RegExp,H=i.TypeError,V=i.decodeURIComponent,W=i.encodeURIComponent,Y=a("".charAt),G=a([].join),K=a([].push),X=a("".replace),$=a([].shift),Z=a([].splice),Q=a("".split),J=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=z("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return V(e)}catch(t){return e}},ie=function(e){var t=X(e,ee," "),n=4;try{return V(t)}catch(e){for(;n;)t=X(t,ne(n--),re);return t}},oe=/[!'()~]|%20/g,ae={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},se=function(e){return ae[e]},ue=function(e){return X(W(e),oe,se)},le=f((function(e,t){I(this,{type:P,iterator:x(L(e).entries),kind:t})}),"Iterator",(function(){var e=M(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),ce=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Y(e,0)?J(e,1):e:w(e)))};ce.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,s,u,l=S(e);if(l)for(n=(t=x(e,l)).next;!(r=o(n,t)).done;){if(a=(i=x(b(r.value))).next,(s=o(a,i)).done||(u=o(a,i)).done||!o(a,i).done)throw H("Expected sequence with length 2");K(this.entries,{key:w(s.value),value:w(u.value)})}else for(var c in e)v(e,c)&&K(this.entries,{key:c,value:w(e[c])})},parseQuery:function(e){if(e)for(var t,n,r=Q(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=Q(t,"="),K(this.entries,{key:ie($(n)),value:ie(G(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],K(n,ue(e.key)+"="+ue(e.value));return G(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var de=function(){h(this,fe);var e=arguments.length>0?arguments[0]:void 0;I(this,new ce(e))},fe=de.prototype;if(c(fe,{append:function(e,t){T(arguments.length,2);var n=L(this);K(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){T(arguments.length,1);for(var t=L(this),n=t.entries,r=w(e),i=0;i<n.length;)n[i].key===r?Z(n,i,1):i++;t.updateURL()},get:function(e){T(arguments.length,1);for(var t=L(this).entries,n=w(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){T(arguments.length,1);for(var t=L(this).entries,n=w(e),r=[],i=0;i<t.length;i++)t[i].key===n&&K(r,t[i].value);return r},has:function(e){T(arguments.length,1);for(var t=L(this).entries,n=w(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){T(arguments.length,1);for(var n,r=L(this),i=r.entries,o=!1,a=w(e),s=w(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?Z(i,u--,1):(o=!0,n.value=s));o||K(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=L(this);A(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=L(this).entries,r=g(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new le(this,"keys")},values:function(){return new le(this,"values")},entries:function(){return new le(this,"entries")}},{enumerable:!0}),l(fe,O,fe.entries,{name:"entries"}),l(fe,"toString",(function(){return L(this).serialize()}),{enumerable:!0}),d(de,N),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:de}),!u&&m(F)){var pe=a(U.has),he=a(U.set),me=function(e){if(_(e)){var t,n=e.body;if(y(n)===N)return t=e.headers?new F(e.headers):new F,pe(t,"content-type")||he(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:E(0,w(n)),headers:E(0,t)})}return e};if(m(q)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return q(e,arguments.length>1?me(arguments[1]):{})}}),m(j)){var ve=function(e){return h(this,B),new j(e,arguments.length>1?me(arguments[1]):{})};B.constructor=ve,ve.prototype=B,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ve})}}e.exports={URLSearchParams:de,getState:L}},6974:function(e,t,n){n(28112)},80845:function(e,t,n){"use strict";n(70185);var r,i=n(65609),o=n(92290),a=n(44478),s=n(82202),u=n(1912),l=n(32108),c=n(46037),d=n(80674),f=n(77423),p=n(79728),h=n(13110),m=n(4133),v=n(21960),g=n(32495).codeAt,y=n(42068),b=n(91841),_=n(34026),w=n(88163),k=n(28112),E=n(90293),x=E.set,S=E.getterFor("URL"),T=k.URLSearchParams,C=k.getState,A=s.URL,O=s.TypeError,N=s.parseInt,P=Math.floor,I=Math.pow,L=l("".charAt),M=l(/./.exec),R=l([].join),D=l(1..toString),q=l([].pop),j=l([].push),F=l("".replace),B=l([].shift),U=l("".split),z=l("".slice),H=l("".toLowerCase),V=l([].unshift),W="Invalid scheme",Y="Invalid host",G="Invalid port",K=/[a-z]/i,X=/[\d+-.a-z]/i,$=/\d/,Z=/^0x/i,Q=/^[0-7]+$/,J=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,oe=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)V(t,e%256),e=P(e/256);return R(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},ae={},se=h({},ae,{" ":1,'"':1,"<":1,">":1,"`":1}),ue=h({},se,{"#":1,"?":1,"{":1,"}":1}),le=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ce=function(e,t){var n=g(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var n;return 2==e.length&&M(K,L(e,0))&&(":"==(n=L(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&fe(z(e,0,2))&&(2==e.length||"/"===(t=L(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===H(e)},me={},ve={},ge={},ye={},be={},_e={},we={},ke={},Ee={},xe={},Se={},Te={},Ce={},Ae={},Oe={},Ne={},Pe={},Ie={},Le={},Me={},Re={},De=function(e,t,n){var r,i,o,a=b(e);if(t){if(i=this.parse(a))throw O(i);this.searchParams=null}else{if(void 0!==n&&(r=new De(n,!0)),i=this.parse(a,null,r))throw O(i);(o=C(new T)).bindURL(this),this.searchParams=o}};De.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,l=this,c=t||me,d=0,f="",h=!1,g=!1,y=!1;for(e=b(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=F(e,re,"")),e=F(e,ie,""),i=m(e);d<=i.length;){switch(o=i[d],c){case me:if(!o||!M(K,o)){if(t)return W;c=ge;continue}f+=H(o),c=ve;break;case ve:if(o&&(M(X,o)||"+"==o||"-"==o||"."==o))f+=H(o);else{if(":"!=o){if(t)return W;f="",c=ge,d=0;continue}if(t&&(l.isSpecial()!=p(de,f)||"file"==f&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=f,t)return void(l.isSpecial()&&de[l.scheme]==l.port&&(l.port=null));f="","file"==l.scheme?c=Ae:l.isSpecial()&&n&&n.scheme==l.scheme?c=ye:l.isSpecial()?c=ke:"/"==i[d+1]?(c=be,d++):(l.cannotBeABaseURL=!0,j(l.path,""),c=Le)}break;case ge:if(!n||n.cannotBeABaseURL&&"#"!=o)return W;if(n.cannotBeABaseURL&&"#"==o){l.scheme=n.scheme,l.path=v(n.path),l.query=n.query,l.fragment="",l.cannotBeABaseURL=!0,c=Re;break}c="file"==n.scheme?Ae:_e;continue;case ye:if("/"!=o||"/"!=i[d+1]){c=_e;continue}c=Ee,d++;break;case be:if("/"==o){c=xe;break}c=Ie;continue;case _e:if(l.scheme=n.scheme,o==r)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query=n.query;else if("/"==o||"\\"==o&&l.isSpecial())c=we;else if("?"==o)l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query="",c=Me;else{if("#"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.path.length--,c=Ie;continue}l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,l.path=v(n.path),l.query=n.query,l.fragment="",c=Re}break;case we:if(!l.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){l.username=n.username,l.password=n.password,l.host=n.host,l.port=n.port,c=Ie;continue}c=xe}else c=Ee;break;case ke:if(c=Ee,"/"!=o||"/"!=L(f,d+1))continue;d++;break;case Ee:if("/"!=o&&"\\"!=o){c=xe;continue}break;case xe:if("@"==o){h&&(f="%40"+f),h=!0,a=m(f);for(var _=0;_<a.length;_++){var w=a[_];if(":"!=w||y){var k=ce(w,le);y?l.password+=k:l.username+=k}else y=!0}f=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(h&&""==f)return"Invalid authority";d-=m(f).length+1,f="",c=Se}else f+=o;break;case Se:case Te:if(t&&"file"==l.scheme){c=Ne;continue}if(":"!=o||g){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()){if(l.isSpecial()&&""==f)return Y;if(t&&""==f&&(l.includesCredentials()||null!==l.port))return;if(s=l.parseHost(f))return s;if(f="",c=Pe,t)return;continue}"["==o?g=!0:"]"==o&&(g=!1),f+=o}else{if(""==f)return Y;if(s=l.parseHost(f))return s;if(f="",c=Ce,t==Te)return}break;case Ce:if(!M($,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&l.isSpecial()||t){if(""!=f){var E=N(f,10);if(E>65535)return G;l.port=l.isSpecial()&&E===de[l.scheme]?null:E,f=""}if(t)return;c=Pe;continue}return G}f+=o;break;case Ae:if(l.scheme="file","/"==o||"\\"==o)c=Oe;else{if(!n||"file"!=n.scheme){c=Ie;continue}if(o==r)l.host=n.host,l.path=v(n.path),l.query=n.query;else if("?"==o)l.host=n.host,l.path=v(n.path),l.query="",c=Me;else{if("#"!=o){pe(R(v(i,d),""))||(l.host=n.host,l.path=v(n.path),l.shortenPath()),c=Ie;continue}l.host=n.host,l.path=v(n.path),l.query=n.query,l.fragment="",c=Re}}break;case Oe:if("/"==o||"\\"==o){c=Ne;break}n&&"file"==n.scheme&&!pe(R(v(i,d),""))&&(fe(n.path[0],!0)?j(l.path,n.path[0]):l.host=n.host),c=Ie;continue;case Ne:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&fe(f))c=Ie;else if(""==f){if(l.host="",t)return;c=Pe}else{if(s=l.parseHost(f))return s;if("localhost"==l.host&&(l.host=""),t)return;f="",c=Pe}continue}f+=o;break;case Pe:if(l.isSpecial()){if(c=Ie,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Ie,"/"!=o))continue}else l.fragment="",c=Re;else l.query="",c=Me;break;case Ie:if(o==r||"/"==o||"\\"==o&&l.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(u=H(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(l.shortenPath(),"/"==o||"\\"==o&&l.isSpecial()||j(l.path,"")):he(f)?"/"==o||"\\"==o&&l.isSpecial()||j(l.path,""):("file"==l.scheme&&!l.path.length&&fe(f)&&(l.host&&(l.host=""),f=L(f,0)+":"),j(l.path,f)),f="","file"==l.scheme&&(o==r||"?"==o||"#"==o))for(;l.path.length>1&&""===l.path[0];)B(l.path);"?"==o?(l.query="",c=Me):"#"==o&&(l.fragment="",c=Re)}else f+=ce(o,ue);break;case Le:"?"==o?(l.query="",c=Me):"#"==o?(l.fragment="",c=Re):o!=r&&(l.path[0]+=ce(o,ae));break;case Me:t||"#"!=o?o!=r&&("'"==o&&l.isSpecial()?l.query+="%27":l.query+="#"==o?"%23":ce(o,ae)):(l.fragment="",c=Re);break;case Re:o!=r&&(l.fragment+=ce(o,se))}d++}},parseHost:function(e){var t,n,r;if("["==L(e,0)){if("]"!=L(e,e.length-1))return Y;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,d=0,f=function(){return L(e,d)};if(":"==f()){if(":"!=L(e,1))return;d+=2,c=++l}for(;f();){if(8==l)return;if(":"!=f()){for(t=n=0;n<4&&M(ee,f());)t=16*t+N(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,l>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!M($,f()))return;for(;M($,f());){if(o=N(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}u[l]=256*u[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;d++,c=++l}}if(null!==c)for(a=l-c,l=7;0!=l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!=l)return;return u}(z(e,1,-1)),!t)return Y;this.host=t}else if(this.isSpecial()){if(e=y(e),M(te,e))return Y;if(t=function(e){var t,n,r,i,o,a,s,u=U(e,".");if(u.length&&""==u[u.length-1]&&u.length--,(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==L(i,0)&&(o=M(Z,i)?16:8,i=z(i,8==o?1:2)),""===i)a=0;else{if(!M(10==o?J:8==o?Q:ee,i))return e;a=N(i,o)}j(n,a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=I(256,5-t))return null}else if(a>255)return null;for(s=q(n),r=0;r<n.length;r++)s+=n[r]*I(256,3-r);return s}(e),null===t)return Y;this.host=t}else{if(M(ne,e))return Y;for(t="",n=m(e),r=0;r<n.length;r++)t+=ce(n[r],ae);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return p(de,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&fe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",e.includesCredentials()&&(l+=n+(r?":"+r:"")+"@"),l+=oe(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+R(a,"/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},setHref:function(e){var t=this.parse(e);if(t)throw O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new qe(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+oe(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",me)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ce(t[n],le)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ce(t[n],le)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?oe(e):oe(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getHostname:function(){var e=this.host;return null===e?"":oe(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Te)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=b(e))?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+R(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Pe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=b(e))?this.query=null:("?"==L(e,0)&&(e=z(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==L(e,0)&&(e=z(e,1)),this.fragment="",this.parse(e,Re)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var qe=function(e){var t=f(this,je),n=w(arguments.length,1)>1?arguments[1]:void 0,r=x(t,new De(e,!1,n));o||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},je=qe.prototype,Fe=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(d(je,"href",Fe("serialize","setHref")),d(je,"origin",Fe("getOrigin")),d(je,"protocol",Fe("getProtocol","setProtocol")),d(je,"username",Fe("getUsername","setUsername")),d(je,"password",Fe("getPassword","setPassword")),d(je,"host",Fe("getHost","setHost")),d(je,"hostname",Fe("getHostname","setHostname")),d(je,"port",Fe("getPort","setPort")),d(je,"pathname",Fe("getPathname","setPathname")),d(je,"search",Fe("getSearch","setSearch")),d(je,"searchParams",Fe("getSearchParams")),d(je,"hash",Fe("getHash","setHash"))),c(je,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),c(je,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),A){var Be=A.createObjectURL,Ue=A.revokeObjectURL;Be&&c(qe,"createObjectURL",u(Be,A)),Ue&&c(qe,"revokeObjectURL",u(Ue,A))}_(qe,"URL"),i({global:!0,constructor:!0,forced:!a,sham:!o},{URL:qe})},89291:function(e,t,n){n(80845)},74710:function(){},80988:function(e,t,n){var r=n(89508);e.exports=r},59092:function(e,t,n){var r=n(10197);e.exports=r},97863:function(e,t,n){var r=n(53199);e.exports=r},62071:function(e,t,n){var r=n(36906);e.exports=r},20564:function(e,t,n){var r=n(41297);e.exports=r},97520:function(e,t,n){var r=n(82157);e.exports=r},533:function(e,t,n){var r=n(60047);n(57394),e.exports=r},77234:function(e,t,n){var r=n(78894);e.exports=r},18234:function(e,t,n){var r=n(15473);e.exports=r},21527:function(e,t,n){var r=n(90488);e.exports=r},12702:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(97863),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===s||o(s,e)&&t===s.entries||i(u,r(e))?a:t}},56053:function(e,t,n){var r=n(42774);e.exports=r},42690:function(e,t,n){var r=n(74760);e.exports=r},97318:function(e,t,n){var r=n(91093);e.exports=r},46545:function(e,t,n){var r=n(52246);e.exports=r},1597:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(62071),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===s||o(s,e)&&t===s.forEach||i(u,r(e))?a:t}},76788:function(e,t,n){var r=n(23163);e.exports=r},58015:function(e,t,n){var r=n(97993);e.exports=r},10320:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(20564),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===s||o(s,e)&&t===s.keys||i(u,r(e))?a:t}},11787:function(e,t,n){var r=n(51597);e.exports=r},69213:function(e,t,n){var r=n(27893);e.exports=r},844:function(e,t,n){var r=n(77276);e.exports=r},65012:function(e,t,n){var r=n(12066);e.exports=r},60073:function(e,t,n){var r=n(19721);e.exports=r},20996:function(e,t,n){var r=n(5783);e.exports=r},87935:function(e,t,n){var r=n(27866);e.exports=r},13437:function(e,t,n){n(57394);var r=n(50176),i=n(79728),o=n(41535),a=n(97520),s=Array.prototype,u={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===s||o(s,e)&&t===s.values||i(u,r(e))?a:t}},55085:function(e,t,n){var r=n(68563);e.exports=r},91156:function(e,t,n){var r=n(72627);n(57394),e.exports=r},96256:function(e,t,n){var r=n(3456);e.exports=r},62586:function(e,t,n){var r=n(89345);e.exports=r},67837:function(e,t,n){var r=n(65028);e.exports=r},70216:function(e,t,n){var r=n(10273);e.exports=r},77426:function(e,t,n){var r=n(19999);e.exports=r},94998:function(e,t,n){var r=n(14116);e.exports=r},21845:function(e,t,n){var r=n(70060);e.exports=r},89281:function(e,t,n){var r=n(24573);e.exports=r},63353:function(e,t,n){var r=n(33298);e.exports=r},41930:function(e,t,n){var r=n(68561);e.exports=r},18350:function(e,t,n){var r=n(69304);e.exports=r},35802:function(e,t,n){var r=n(50688);e.exports=r},52102:function(e,t,n){var r=n(84802);e.exports=r},24033:function(e,t,n){var r=n(76929);e.exports=r},75049:function(e,t,n){var r=n(46660);e.exports=r},63802:function(e,t,n){var r=n(15716);n(57394),e.exports=r},12998:function(e,t,n){var r=n(35025);e.exports=r},43296:function(e,t,n){var r=n(27313);e.exports=r},86272:function(e,t,n){var r=n(78284);e.exports=r},86775:function(e,t,n){var r=n(70284);n(57394),e.exports=r},16420:function(e,t,n){var r=n(39602);e.exports=r},36866:function(e,t,n){var r=n(49457);n(57394),e.exports=r},17276:function(e,t,n){var r=n(71080);n(57394),e.exports=r},97698:function(e,t,n){var r=n(8025);e.exports=r},41314:function(e,t,n){var r=n(63898);n(57394),e.exports=r},34883:function(e,t,n){var r=n(10360);e.exports=r},78212:function(e,t,n){var r=n(37836);n(57394),e.exports=r},54918:function(e,t,n){var r=n(46839);n(57394),e.exports=r},35025:function(e,t,n){n(47220);var r=n(5058);e.exports=r.queueMicrotask},63898:function(e,t,n){n(6974);var r=n(5058);e.exports=r.URLSearchParams},10360:function(e,t,n){n(89291),n(74710),n(6974);var r=n(5058);e.exports=r.URL},67154:function(e){function t(){return e.exports=t=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.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},22532:function(e,t){"use strict";var n="browser",r=[128468],i="f37e",o="M0 96C0 60.65 28.65 32 64 32H448C483.3 32 512 60.65 512 96V416C512 451.3 483.3 480 448 480H64C28.65 480 0 451.3 0 416V96zM160 128H480V96C480 78.33 465.7 64 448 64H160V128zM128 64H64C46.33 64 32 78.33 32 96V128H128V64zM32 160V416C32 433.7 46.33 448 64 448H448C465.7 448 480 433.7 480 416V160H32z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,i,o]},t.m6=t.DF},75686:function(e,t){"use strict";var n=[128065],r="f06e",i="M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z";t.DF={prefix:"fal",iconName:"eye",icon:[576,512,n,r,i]},t.Md=t.DF},83244:function(e,t){"use strict";var n="eye-slash",r=[],i="f070",o="M25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4zM605.5 268.3c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-51.2 0-96 14.8-133.9 36.8l27.3 21.5C244.6 74.2 280.2 64 320 64c70.4 0 127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-9.2 22.1-25.9 52-49.5 81.5l25.1 19.8c25.6-32 43.7-64.4 53.9-89zM88.4 154.7c-25.6 32-43.7 64.4-53.9 89c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c51.2 0 96-14.8 133.9-36.8l-27.3-21.5C395.4 437.8 359.8 448 320 448c-70.4 0-127.7-32-170.8-72C106.1 336 77.3 288 64 256c9.2-22.1 25.9-52 49.5-81.5L88.4 154.7zM320 384c16.7 0 32.7-3.2 47.4-9.1l-30.9-24.4c-5.4 .9-10.9 1.4-16.5 1.4c-51 0-92.8-39.8-95.8-90.1l-30.9-24.4c-.9 6-1.3 12.2-1.3 18.5c0 70.7 57.3 128 128 128zM448 256c0-70.7-57.3-128-128-128c-16.7 0-32.7 3.2-47.4 9.1l30.9 24.4c5.4-.9 10.9-1.4 16.5-1.4c51 0 92.8 39.8 95.8 90.1l30.9 24.4c.9-6 1.3-12.2 1.3-18.5z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,i,o]},t.Aq=t.DF},54135:function(e,t){"use strict";var n="file-export",r=["arrow-right-from-file"],i="f56e",o="M571.3 308.7l-96-96c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62L521.4 304H208C199.2 304 192 311.2 192 320s7.156 16 16 16h313.4l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.62C455.8 430.4 459.9 432 464 432s8.188-1.562 11.31-4.688l96-96C577.6 325.1 577.6 314.9 571.3 308.7zM368 384c-8.836 0-16 7.164-16 16V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h128v112C192 170.5 213.5 192 240 192H352v48C352 248.8 359.2 256 368 256C376.8 256 384 248.8 384 240V170.5c0-16.97-6.742-33.26-18.75-45.26L258.7 18.74C246.7 6.742 230.5 0 213.5 0H63.1C28.65 0 0 28.65 0 64l.0065 384c0 35.35 28.66 64 64 64H320c35.35 0 64-28.65 64-64v-48C384 391.2 376.8 384 368 384zM224 34.08c4.477 1.566 8.666 3.846 12.12 7.299l106.5 106.5C346.1 151.3 348.4 155.5 349.9 160H240C231.2 160 224 152.8 224 144V34.08z";t.DF={prefix:"fal",iconName:n,icon:[576,512,r,i,o]},t.c=t.DF},86579:function(e,t){"use strict";var n="file-pdf",r=[],i="f1c1",o="M64 480H96v32H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H220.1c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9V288H352V192H240c-26.5 0-48-21.5-48-48V32H64C46.3 32 32 46.3 32 64V448c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2V144c0 8.8 7.2 16 16 16H351.5zM160 352h24c30.9 0 56 25.1 56 56s-25.1 56-56 56h-8v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V448 368c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24h-8v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H272c-8.8 0-16-7.2-16-16V368zm32 112h8c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H400v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V432 368c0-8.8 7.2-16 16-16z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,i,o]},t.gS=t.DF},48148:function(e,t){"use strict";var n="arrow-down",r=[8595],i="f063",o="M377.4 296.6l-168 176C204.8 477.3 198.6 480 192 480s-12.84-2.688-17.38-7.438l-168-176C-2.5 286.1-2.156 271.8 7.438 262.6c9.5-9.156 24.75-8.812 33.94 .8125L168 396.1V56.02c0-13.25 10.75-24.01 23.1-24.01S216 42.77 216 56.02v340.1l126.6-132.7c9.156-9.625 24.41-9.969 33.94-.8125C386.2 271.8 386.5 286.1 377.4 296.6z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.r5=t.DF},25215:function(e,t){"use strict";var n="arrow-right",r=[8594],i="f061",o="M264.6 70.63l176 168c4.75 4.531 7.438 10.81 7.438 17.38s-2.688 12.84-7.438 17.38l-176 168c-9.594 9.125-24.78 8.781-33.94-.8125c-9.156-9.5-8.812-24.75 .8125-33.94l132.7-126.6H24.01c-13.25 0-24.01-10.76-24.01-24.01s10.76-23.99 24.01-23.99h340.1l-132.7-126.6C221.8 96.23 221.5 80.98 230.6 71.45C239.8 61.85 254.1 61.51 264.6 70.63z";t.DF={prefix:"far",iconName:n,icon:[448,512,r,i,o]},t.eF=t.DF},53626:function(e,t){"use strict";var n="arrow-rotate-left",r=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],i="f0e2",o="M40 16C53.25 16 64 26.75 64 40v102.1C103.7 75.57 176.3 32.11 256.1 32.11C379.6 32.11 480 132.5 480 256s-100.4 223.9-223.9 223.9c-52.31 0-103.3-18.33-143.5-51.77c-10.19-8.5-11.56-23.62-3.062-33.81c8.5-10.22 23.66-11.56 33.81-3.062C174.9 417.5 214.9 432 256 432c97.03 0 176-78.97 176-176S353 80 256 80c-66.54 0-126.8 38.28-156.5 96H200C213.3 176 224 186.8 224 200S213.3 224 200 224h-160C26.75 224 16 213.3 16 200v-160C16 26.75 26.75 16 40 16z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.p=t.DF},46487:function(e,t){"use strict";var n="arrow-up",r=[8593],i="f062",o="M6.625 215.5l168-176C179.2 34.7 185.4 32.02 192 32.02s12.84 2.688 17.38 7.438l168 176c9.125 9.594 8.781 24.78-.8125 33.94c-9.5 9.156-24.75 8.812-33.94-.8125L216 115.9V456c0 13.25-10.75 23.1-23.1 23.1S168 469.3 168 456V115.9l-126.6 132.7C32.22 258.2 16.97 258.5 7.438 249.4C-2.156 240.2-2.5 225 6.625 215.5z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.FP=t.DF},20840:function(e,t){"use strict";var n="book-open",r=[128214,128366],i="f518",o="M540.9 56.77C493.8 39.74 449.6 31.58 410.9 32.02C352.2 32.96 308.3 50 288 59.74C267.7 50 223.9 32.98 165.2 32.04C125.8 31.35 82.18 39.72 35.1 56.77C14.02 64.41 0 84.67 0 107.2v292.1c0 16.61 7.594 31.95 20.84 42.08c13.73 10.53 31.34 13.91 48.2 9.344c118.1-32 202 22.92 205.5 25.2C278.6 478.6 283.3 480 287.1 480s9.37-1.359 13.43-4.078c3.516-2.328 87.59-57.21 205.5-25.25c16.92 4.563 34.5 1.188 48.22-9.344C568.4 431.2 576 415.9 576 399.2V107.2C576 84.67 561.1 64.41 540.9 56.77zM264 416.8c-27.86-11.61-69.84-24.13-121.4-24.13c-26.39 0-55.28 3.281-86.08 11.61C53.19 405.3 50.84 403.9 50 403.2C48 401.7 48 399.8 48 399.2V107.2c0-2.297 1.516-4.531 3.594-5.282c40.95-14.8 79.61-22.36 112.8-21.84C211.3 80.78 246.8 93.75 264 101.5V416.8zM528 399.2c0 .5938 0 2.422-2 3.969c-.8438 .6407-3.141 2.063-6.516 1.109c-90.98-24.6-165.4-5.032-207.5 12.53v-315.3c17.2-7.782 52.69-20.74 99.59-21.47c32.69-.5157 71.88 7.047 112.8 21.84C526.5 102.6 528 104.9 528 107.2V399.2z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.cn=t.DF},51546:function(e,t){"use strict";var n="circle-exclamation",r=["exclamation-circle"],i="f06a",o="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.xH=t.DF},20829:function(e,t){"use strict";var n="file",r=[128196,128459,61462],i="f15b",o="M0 64C0 28.65 28.65 0 64 0H229.5C246.5 0 262.7 6.743 274.7 18.75L365.3 109.3C377.3 121.3 384 137.5 384 154.5V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM336 448V160H256C238.3 160 224 145.7 224 128V48H64C55.16 48 48 55.16 48 64V448C48 456.8 55.16 464 64 464H320C328.8 464 336 456.8 336 448z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.gM=t.DF},30352:function(e,t){"use strict";var n="file-lines",r=[128441,128462,61686,"file-alt","file-text"],i="f15c",o="M365.3 93.38l-74.63-74.64C278.6 6.742 262.3 0 245.4 0L64-.0001c-35.35 0-64 28.65-64 64l.0065 384c0 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64V138.6C384 121.7 377.3 105.4 365.3 93.38zM336 448c0 8.836-7.164 16-16 16H64.02c-8.838 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1V448zM96 280C96 293.3 106.8 304 120 304h144C277.3 304 288 293.3 288 280S277.3 256 264 256h-144C106.8 256 96 266.8 96 280zM264 352h-144C106.8 352 96 362.8 96 376s10.75 24 24 24h144c13.25 0 24-10.75 24-24S277.3 352 264 352z";t.DF={prefix:"far",iconName:n,icon:[384,512,r,i,o]},t.nf=t.DF},61322:function(e,t){"use strict";var n="layer-group",r=[],i="f5fd",o="M231.2 5.092C239 1.732 247.5 0 256 0C264.5 0 272.1 1.732 280.8 5.092L490.1 94.79C503.4 100.5 512 113.5 512 128C512 142.5 503.4 155.5 490.1 161.2L280.8 250.9C272.1 254.3 264.5 256 256 256C247.5 256 239 254.3 231.2 250.9L21.9 161.2C8.614 155.5 0 142.5 0 128C0 113.5 8.614 100.5 21.9 94.79L231.2 5.092zM256 48C253.1 48 251.1 48.41 250.1 49.21L66.26 128L250.1 206.8C251.1 207.6 253.1 208 256 208C258 208 260 207.6 261.9 206.8L445.7 128L261.9 49.21C260 48.41 258 48 256 48V48zM250.1 334.8C251.1 335.6 253.1 336 256 336C258 336 260 335.6 261.9 334.8L452 253.3C447.4 246.4 446.5 237.2 450.5 229.3C456.5 217.4 470.9 212.6 482.7 218.5L491.8 223.1C504.2 229.3 512 241.9 512 255.7C512 270.4 503.3 283.6 489.9 289.3L280.8 378.9C272.1 382.3 264.5 384 256 384C247.5 384 239 382.3 231.2 378.9L22.81 289.6C8.971 283.7 .0006 270.1 .0006 255C.0006 242.9 5.869 231.5 15.76 224.4L26.05 217C36.84 209.3 51.83 211.8 59.53 222.6C66.15 231.9 65.24 244.3 57.1 252.5L250.1 334.8zM59.53 350.6C66.15 359.9 65.24 372.3 57.1 380.5L250.1 462.8C251.1 463.6 253.1 464 256 464C258 464 260 463.6 261.9 462.8L452 381.3C447.4 374.4 446.5 365.2 450.5 357.3C456.5 345.4 470.9 340.6 482.7 346.5L491.8 351.1C504.2 357.3 512 369.9 512 383.7C512 398.4 503.3 411.6 489.9 417.3L280.8 506.9C272.1 510.3 264.5 512 256 512C247.5 512 239 510.3 231.2 506.9L22.81 417.6C8.971 411.7 .001 398.1 .001 383C.001 370.9 5.87 359.5 15.76 352.4L26.05 345C36.84 337.3 51.83 339.8 59.53 350.6L59.53 350.6z";t.DF={prefix:"far",iconName:n,icon:[512,512,r,i,o]},t.Kr=t.DF},42226:function(e,t){"use strict";var n="pen-line",r=[],i="e212",o="M36.37 360.9C40.53 346.8 48.16 333.9 58.57 323.5L362.7 19.32C387.7-5.678 428.3-5.678 453.3 19.32L492.7 58.75C495.8 61.87 498.5 65.24 500.9 68.79C517.3 93.63 514.6 127.4 492.7 149.3L188.5 453.4C187.2 454.7 185.9 455.1 184.5 457.2C174.9 465.7 163.5 471.1 151.1 475.6L30.77 511C22.35 513.5 13.24 511.2 7.03 504.1C.8198 498.8-1.502 489.7 .976 481.2L36.37 360.9zM59.44 452.6L137.6 429.6C143.1 427.7 149.8 424.2 154.6 419.5L383 191L320.1 128.1L92.51 357.4C91.92 358 91.35 358.6 90.8 359.3C86.94 363.6 84.07 368.8 82.42 374.4L59.44 452.6zM552 464C565.3 464 576 474.7 576 488C576 501.3 565.3 512 552 512H248C234.7 512 224 501.3 224 488C224 474.7 234.7 464 248 464H552z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.E8=t.DF},23452:function(e,t){"use strict";var n="video",r=["video-camera"],i="f03d",o="M557.6 102.3c-11.53-7.406-25.88-8.391-38.28-2.688L416 147V128c0-35.35-28.65-64-64-64H64C28.65 64 0 92.65 0 128v256c0 35.35 28.65 64 64 64h288c35.35 0 64-28.65 64-64v-19.02l103.3 47.36c5.344 2.453 11.03 3.672 16.69 3.672c7.531 0 15.02-2.141 21.59-6.359C569.1 402.3 576 389.7 576 375.1V136C576 122.3 569.1 109.8 557.6 102.3zM368 384c0 8.822-7.178 16-16 16H64c-8.822 0-16-7.178-16-16V128c0-8.822 7.178-16 16-16h288c8.822 0 16 7.178 16 16V384zM528 363.5L416 312.2V199.8l112-51.33V363.5z";t.DF={prefix:"far",iconName:n,icon:[576,512,r,i,o]},t.Iy=t.DF},20655:function(e,t){"use strict";var n="align-left",r=[],i="f036",o="M288 64c0 17.7-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32H256c17.7 0 32 14.3 32 32zm0 256c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c17.7 0 32 14.3 32 32zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.el=t.DF},75028:function(e,t){"use strict";var n="bars",r=["navicon"],i="f0c9",o="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.xi=t.DF},903:function(e,t){"use strict";var n="check",r=[10003,10004],i="f00c",o="M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,i,o]},t.LE=t.DF},27898:function(e,t){"use strict";var n="grid-2",r=[],i="e196",o="M192 80c0-26.5-21.5-48-48-48H48C21.5 32 0 53.5 0 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80zm0 256c0-26.5-21.5-48-48-48H48c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336zM256 80v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48zM448 336c0-26.5-21.5-48-48-48H304c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48V336z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.em=t.DF},56931:function(e,t){"use strict";var n="lock",r=[128274],i="f023",o="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,i,o]},t.by=t.DF},79066:function(e,t){"use strict";var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],i="f00d",o="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z";t.DF={prefix:"fas",iconName:n,icon:[320,512,r,i,o]},t.g8=t.DF},1516:function(e,t,n){"use strict";var r=n(90888);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}},89632:function(e,t,n){e.exports=n(1516)()},90888:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},69898:function(e,t){"use strict";var n="fass",r="plus-large",i=[],o="e59e",a="M288 32l0-32H224l0 32 0 192H32 0v64H32 224V480v32h64V480 288l192 0 32 0 0-64-32 0-192 0 0-192z";t.DF={prefix:n,iconName:r,icon:[512,512,i,o,a]},t.RL=t.DF},53735:function(e){"use strict";e.exports=function(e,t,n){var r=[],i=0;return n.replace(e,(function(){var e=Array.prototype.slice.call(arguments),n=e.length,o=e[0],a=e[n-1],s=e[n-2],u=a.slice(i,s),l="function"==typeof t?t.apply(null,e):t;r.push(u,l),i=s+o.length})),r.push(n.slice(i)),r}},13490:function(e,t,n){"use strict";var r=n(58908);e.exports=function(e,t){return void 0===t&&(t=!1),function(n,i,o){if(n)e(n);else if(i.statusCode>=400&&i.statusCode<=599){var a=o;if(t)if(r.TextDecoder){var s=function(e){void 0===e&&(e="");return e.toLowerCase().split(";").reduce((function(e,t){var n=t.split("="),r=n[0],i=n[1];return"charset"===r.trim()?i.trim():e}),"utf-8")}(i.headers&&i.headers["content-type"]);try{a=new TextDecoder(s).decode(o)}catch(e){}}else a=String.fromCharCode.apply(null,new Uint8Array(o));e({cause:a})}else e(null,o)}}},9603:function(e,t,n){"use strict";var r=n(58908),i=n(67154),o=n(27376);s.httpHandler=n(13490);function a(e,t,n){var r=e;return o(t)?(n=t,"string"==typeof e&&(r={uri:e})):r=i({},t,{uri:e}),r.callback=n,r}function s(e,t,n){return u(t=a(e,t,n))}function u(e){if(void 0===e.callback)throw new Error("callback argument missing");var t=!1,n=function(n,r,i){t||(t=!0,e.callback(n,r,i))};function r(){var e=void 0;if(e=l.response?l.response:l.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(l),v)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(c),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,g)}function o(){if(!u){var t;clearTimeout(c),t=e.useXDR&&void 0===l.status?200:1223===l.status?204:l.status;var i=g,o=null;return 0!==t?(i={body:r(),statusCode:t,method:f,headers:{},url:d,rawRequest:l},l.getAllResponseHeaders&&(i.headers=function(e){var t={};return e?(e.trim().split("\n").forEach((function(e){var n=e.indexOf(":"),r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]})),t):t}(l.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),n(o,i,i.body)}}var a,u,l=e.xhr||null;l||(l=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var c,d=l.url=e.uri||e.url,f=l.method=e.method||"GET",p=e.body||e.data,h=l.headers=e.headers||{},m=!!e.sync,v=!1,g={body:void 0,headers:{},statusCode:0,method:f,url:d,rawRequest:l};if("json"in e&&!1!==e.json&&(v=!0,h.accept||h.Accept||(h.Accept="application/json"),"GET"!==f&&"HEAD"!==f&&(h["content-type"]||h["Content-Type"]||(h["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),l.onreadystatechange=function(){4===l.readyState&&setTimeout(o,0)},l.onload=o,l.onerror=i,l.onprogress=function(){},l.onabort=function(){u=!0},l.ontimeout=i,l.open(f,d,!m,e.username,e.password),m||(l.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(c=setTimeout((function(){if(!u){u=!0,l.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),l.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&l.setRequestHeader(a,h[a]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(l.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(l),l.send(p||null),l}e.exports=s,e.exports.default=s,s.XMLHttpRequest=r.XMLHttpRequest||function(){},s.XDomainRequest="withCredentials"in new s.XMLHttpRequest?s.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var n=0;n<e.length;n++)t(e[n])}(["get","put","post","patch","head","delete"],(function(e){s["delete"===e?"del":e]=function(t,n,r){return(n=a(t,n,r)).method=e.toUpperCase(),u(n)}}))},72167:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=n({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.freeze=n,t.MIME_TYPE=r,t.NAMESPACE=i},86129:function(e,t,n){var r=n(72167),i=n(41146),o=n(31045),a=n(76925),s=i.DOMImplementation,u=r.NAMESPACE,l=a.ParseError,c=a.XMLReader;function d(e){this.options=e||{locator:{}}}function f(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function h(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function m(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}d.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new f,a=n.errorHandler,s=n.locator,l=n.xmlns||{},d=/\/x?html?$/.test(t),p=d?o.HTML_ENTITIES:o.XML_ENTITIES;return s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+h(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}(a,i,s),r.domBuilder=n.domBuilder||i,d&&(l[""]=u.HTML),l.xml=l.xml||u.XML,e&&"string"==typeof e?r.parse(e,l,p):r.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;v(this,o),this.currentElement=o,this.locator&&p(this.locator,o);for(var s=0;s<a;s++){e=r.getURI(s);var u=r.getValue(s),l=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&p(r.getLocator(s),l),l.value=l.nodeValue=u,o.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,n),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=m.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&p(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=m.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&p(this.locator,r),v(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&p(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,h(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,h(this.locator))},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),t.DOMParser=d,i.DOMImplementation,i.XMLSerializer},41146:function(e,t,n){var r=n(72167).NAMESPACE;function i(e){return""!==e}function o(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function a(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(i):[]}(e);return Object.keys(t.reduce(o,{}))}function s(e,t){for(var n in e)t[n]=e[n]}function u(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,s(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var l={},c=l.ELEMENT_NODE=1,d=l.ATTRIBUTE_NODE=2,f=l.TEXT_NODE=3,p=l.CDATA_SECTION_NODE=4,h=l.ENTITY_REFERENCE_NODE=5,m=l.ENTITY_NODE=6,v=l.PROCESSING_INSTRUCTION_NODE=7,g=l.COMMENT_NODE=8,y=l.DOCUMENT_NODE=9,b=l.DOCUMENT_TYPE_NODE=10,_=l.DOCUMENT_FRAGMENT_NODE=11,w=l.NOTATION_NODE=12,k={},E={},x=(k.INDEX_SIZE_ERR=(E[1]="Index size error",1),k.DOMSTRING_SIZE_ERR=(E[2]="DOMString size error",2),k.HIERARCHY_REQUEST_ERR=(E[3]="Hierarchy request error",3)),S=(k.WRONG_DOCUMENT_ERR=(E[4]="Wrong document",4),k.INVALID_CHARACTER_ERR=(E[5]="Invalid character",5),k.NO_DATA_ALLOWED_ERR=(E[6]="No data allowed",6),k.NO_MODIFICATION_ALLOWED_ERR=(E[7]="No modification allowed",7),k.NOT_FOUND_ERR=(E[8]="Not found",8)),T=(k.NOT_SUPPORTED_ERR=(E[9]="Not supported",9),k.INUSE_ATTRIBUTE_ERR=(E[10]="Attribute in use",10));k.INVALID_STATE_ERR=(E[11]="Invalid state",11),k.SYNTAX_ERR=(E[12]="Syntax error",12),k.INVALID_MODIFICATION_ERR=(E[13]="Invalid modification",13),k.NAMESPACE_ERR=(E[14]="Invalid namespace",14),k.INVALID_ACCESS_ERR=(E[15]="Invalid access",15);function C(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,E[e]),this.message=E[e],Error.captureStackTrace&&Error.captureStackTrace(this,C);return n.code=e,t&&(this.message=this.message+": "+t),n}function A(){}function O(e,t){this._node=e,this._refresh=t,N(this)}function N(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);le(e,"length",n.length),s(n,e),e._inc=t}}function P(){}function I(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function L(e,t,n,i){if(i?t[I(t,i)]=n:t[t.length++]=n,e){n.ownerElement=e;var o=e.ownerDocument;o&&(i&&B(o,e,i),function(e,t,n){e&&e._inc++,n.namespaceURI===r.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(o,e,n))}}function M(e,t,n){var r=I(t,n);if(!(r>=0))throw C(S,new Error(e.tagName+"@"+n));for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&(B(o,e,n),n.ownerElement=null)}}function R(){}function D(){}function q(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function j(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(j(e,t))return!0}while(e=e.nextSibling)}function F(){}function B(e,t,n,i){e&&e._inc++,n.namespaceURI===r.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function U(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o}}}function z(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,U(e.ownerDocument,e),t}function H(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===_){var i=t.firstChild;if(null==i)return t;var o=t.lastChild}else i=o=t;var a=n?n.previousSibling:e.lastChild;i.previousSibling=a,o.nextSibling=n,a?a.nextSibling=i:e.firstChild=i,null==n?e.lastChild=o:n.previousSibling=o;do{i.parentNode=e}while(i!==o&&(i=i.nextSibling));return U(e.ownerDocument||e,e),t.nodeType==_&&(t.firstChild=t.lastChild=null),t}function V(){this._nsMap={}}function W(){}function Y(){}function G(){}function K(){}function X(){}function $(){}function Z(){}function Q(){}function J(){}function ee(){}function te(){}function ne(){}function re(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&null==i&&null==(i=r.lookupPrefix(o)))var a=[{namespace:o,prefix:null}];return ae(this,n,e,t,a),n.join("")}function ie(e,t,n){var i=e.prefix||"",o=e.namespaceURI;if(!o)return!1;if("xml"===i&&o===r.XML||o===r.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===i)return s.namespace!==o}return!0}function oe(e,t,n){e.push(" ",t,'="',n.replace(/[<&"]/g,q),'"')}function ae(e,t,n,i,o){if(o||(o=[]),i){if(!(e=i(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case c:var a=e.attributes,s=a.length,u=e.firstChild,l=e.tagName,m=l;if(!(n=r.isHTML(e.namespaceURI)||n)&&!e.prefix&&e.namespaceURI){for(var w,k=0;k<a.length;k++)if("xmlns"===a.item(k).name){w=a.item(k).value;break}if(!w)for(var E=o.length-1;E>=0;E--){if(""===(x=o[E]).prefix&&x.namespace===e.namespaceURI){w=x.namespace;break}}if(w!==e.namespaceURI)for(E=o.length-1;E>=0;E--){var x;if((x=o[E]).namespace===e.namespaceURI){x.prefix&&(m=x.prefix+":"+l);break}}}t.push("<",m);for(var S=0;S<s;S++){"xmlns"==(T=a.item(S)).prefix?o.push({prefix:T.localName,namespace:T.value}):"xmlns"==T.nodeName&&o.push({prefix:"",namespace:T.value})}for(S=0;S<s;S++){var T,C,A;if(ie(T=a.item(S),0,o))oe(t,(C=T.prefix||"")?"xmlns:"+C:"xmlns",A=T.namespaceURI),o.push({prefix:C,namespace:A});ae(T,t,n,i,o)}if(l===m&&ie(e,0,o))oe(t,(C=e.prefix||"")?"xmlns:"+C:"xmlns",A=e.namespaceURI),o.push({prefix:C,namespace:A});if(u||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(l)){if(t.push(">"),n&&/^script$/i.test(l))for(;u;)u.data?t.push(u.data):ae(u,t,n,i,o.slice()),u=u.nextSibling;else for(;u;)ae(u,t,n,i,o.slice()),u=u.nextSibling;t.push("</",m,">")}else t.push("/>");return;case y:case _:for(u=e.firstChild;u;)ae(u,t,n,i,o.slice()),u=u.nextSibling;return;case d:return oe(t,e.name,e.value);case f:return t.push(e.data.replace(/[<&]/g,q).replace(/]]>/g,"]]&gt;"));case p:return t.push("<![CDATA[",e.data,"]]>");case g:return t.push("\x3c!--",e.data,"--\x3e");case b:var O=e.publicId,N=e.systemId;if(t.push("<!DOCTYPE ",e.name),O)t.push(" PUBLIC ",O),N&&"."!=N&&t.push(" ",N),t.push(">");else if(N&&"."!=N)t.push(" SYSTEM ",N,">");else{var P=e.internalSubset;P&&t.push(" [",P,"]"),t.push(">")}return;case v:return t.push("<?",e.target," ",e.data,"?>");case h:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function se(e,t,n){var r;switch(t.nodeType){case c:(r=t.cloneNode(!1)).ownerDocument=e;case _:break;case d:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(se(e,i,n)),i=i.nextSibling;return r}function ue(e,t,n){var r=new t.constructor;for(var i in t){var o=t[i];"object"!=typeof o&&o!=r[i]&&(r[i]=o)}switch(t.childNodes&&(r.childNodes=new A),r.ownerDocument=e,r.nodeType){case c:var a=t.attributes,s=r.attributes=new P,u=a.length;s._ownerElement=r;for(var l=0;l<u;l++)r.setAttributeNode(ue(e,a.item(l),!0));break;case d:n=!0}if(n)for(var f=t.firstChild;f;)r.appendChild(ue(e,f,n)),f=f.nextSibling;return r}function le(e,t,n){e[t]=n}C.prototype=Error.prototype,s(k,C),A.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ae(this[r],n,e,t);return n.join("")}},O.prototype.item=function(e){return N(this),this[e]},u(O,A),P.prototype={length:0,item:A.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new C(T);var n=this.getNamedItem(e.nodeName);return L(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new C(T);return t=this.getNamedItemNS(e.namespaceURI,e.localName),L(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return M(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return M(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},R.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new F;if(r.implementation=this,r.childNodes=new A,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new $;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},D.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return H(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return z(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ue(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==f&&e.nodeType==f?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var r in n)if(n[r]==e)return r;t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&e in n)return n[e];t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},s(l,D),s(l,D.prototype),F.prototype={nodeName:"#document",nodeType:y,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==_){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==c&&(this.documentElement=e),H(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),z(this,e)},importNode:function(e,t){return se(this,e,t)},getElementById:function(e){var t=null;return j(this.documentElement,(function(n){if(n.nodeType==c&&n.getAttribute("id")==e)return t=n,!0})),t},getElementsByClassName:function(e){var t=a(e);return new O(this,(function(n){var r=[];return t.length>0&&j(n.documentElement,(function(i){if(i!==n&&i.nodeType===c){var o=i.getAttribute("class");if(o){var s=e===o;if(!s){var u=a(o);s=t.every((l=u,function(e){return l&&-1!==l.indexOf(e)}))}s&&r.push(i)}}var l})),r}))},createElement:function(e){var t=new V;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new A,(t.attributes=new P)._ownerElement=t,t},createDocumentFragment:function(){var e=new ee;return e.ownerDocument=this,e.childNodes=new A,e},createTextNode:function(e){var t=new G;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new K;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new X;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new te;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new W;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new J;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new V,r=t.split(":"),i=n.attributes=new P;return n.childNodes=new A,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new W,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},u(F,D),V.prototype={nodeType:c,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===_?this.insertBefore(e,null):function(e,t){var n=t.parentNode;if(n){var r=e.lastChild;n.removeChild(t),r=e.lastChild}return r=e.lastChild,t.parentNode=e,t.previousSibling=r,t.nextSibling=null,r?r.nextSibling=t:e.firstChild=t,e.lastChild=t,U(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new O(this,(function(t){var n=[];return j(t,(function(r){r===t||r.nodeType!=c||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new O(this,(function(n){var r=[];return j(n,(function(i){i===n||i.nodeType!==c||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},F.prototype.getElementsByTagName=V.prototype.getElementsByTagName,F.prototype.getElementsByTagNameNS=V.prototype.getElementsByTagNameNS,u(V,D),W.prototype.nodeType=d,u(W,D),Y.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(E[x])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},u(Y,D),G.prototype={nodeName:"#text",nodeType:f,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},u(G,Y),K.prototype={nodeName:"#comment",nodeType:g},u(K,Y),X.prototype={nodeName:"#cdata-section",nodeType:p},u(X,Y),$.prototype.nodeType=b,u($,D),Z.prototype.nodeType=w,u(Z,D),Q.prototype.nodeType=m,u(Q,D),J.prototype.nodeType=h,u(J,D),ee.prototype.nodeName="#document-fragment",ee.prototype.nodeType=_,u(ee,D),te.prototype.nodeType=v,u(te,D),ne.prototype.serializeToString=function(e,t,n){return re.call(e,t,n)},D.prototype.toString=re;try{if(Object.defineProperty){function ce(e){switch(e.nodeType){case c:case _:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(ce(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(O.prototype,"length",{get:function(){return N(this),this.$$length}}),Object.defineProperty(D.prototype,"textContent",{get:function(){return ce(this)},set:function(e){switch(this.nodeType){case c:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),le=function(e,t,n){e["$$"+t]=n}}}catch(de){}t.DocumentType=$,t.DOMException=C,t.DOMImplementation=R,t.Element=V,t.Node=D,t.NodeList=A,t.XMLSerializer=ne},31045:function(e,t,n){var r=n(72167).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},3969:function(e,t,n){var r=n(41146);r.DOMImplementation,r.XMLSerializer,t.DOMParser=n(86129).DOMParser},76925:function(e,t,n){var r=n(72167).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n,i,o,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t,r)}for(var u,l=++t,c=0;;){var d=e.charAt(l);switch(d){case"=":if(1===c)u=e.slice(t,l),c=3;else{if(2!==c)throw new Error("attribute equal must after attrName");c=3}break;case"'":case'"':if(3===c||1===c){if(1===c&&(a.warning('attribute value must after "="'),u=e.slice(t,l)),t=l+1,!((l=e.indexOf(d,t))>0))throw new Error("attribute value no end '"+d+"' match");s(u,f=e.slice(t,l).replace(/&#?\w+;/g,o),t-1),c=5}else{if(4!=c)throw new Error('attribute value must after "="');s(u,f=e.slice(t,l).replace(/&#?\w+;/g,o),t),a.warning('attribute "'+u+'" missed start quot('+d+")!!"),t=l+1,c=5}break;case"/":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==c&&n.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:n.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(f=e.slice(t,l)).slice(-1)&&(n.closed=!0,f=f.slice(0,-1));case 2:2===c&&(f=u),4==c?(a.warning('attribute "'+f+'" missed quot(")!'),s(u,f.replace(/&#?\w+;/g,o),t)):(r.isHTML(i[""])&&f.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+f+'" missed value!! "'+f+'" instead!!'),s(f,f,t));break;case 3:throw new Error("attribute value missed!!")}return l;case"":d=" ";default:if(d<=" ")switch(c){case 0:n.setTagName(e.slice(t,l)),c=6;break;case 1:u=e.slice(t,l),c=2;break;case 4:var f=e.slice(t,l).replace(/&#?\w+;/g,o);a.warning('attribute "'+f+'" missed quot(")!!'),s(u,f,t);case 5:c=6}else switch(c){case 2:n.tagName;r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=l,c=1;break;case 5:a.warning('attribute space is required"'+u+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}l++}}function d(e,t,n){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],u=s.qName,l=s.value;if((p=u.indexOf(":"))>0)var c=s.prefix=u.slice(0,p),d=u.slice(p+1),f="xmlns"===c&&d;else d=u,c=null,f="xmlns"===u&&"";s.localName=d,!1!==f&&(null==o&&(o={},h(n,n={})),n[f]=o[f]=l,s.uri=r.XMLNS,t.startPrefixMapping(f,l))}for(a=e.length;a--;){(c=(s=e[a]).prefix)&&("xml"===c&&(s.uri=r.XML),"xmlns"!==c&&(s.uri=n[c||""]))}var p;(p=i.indexOf(":"))>0?(c=e.prefix=i.slice(0,p),d=e.localName=i.slice(p+1)):(c=null,d=e.localName=i);var m=e.uri=n[c||""];if(t.startElement(m,d,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(m,d,i),o)for(c in o)t.endPrefixMapping(c)}function f(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return t+1}function p(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}function h(e,t){for(var n in e)t[n]=e[n]}function m(e,t,n,r){if("-"===e.charAt(t+2))return"-"===e.charAt(t+3)?(i=e.indexOf("--\x3e",t+4))>t?(n.comment(e,t+4,i-t-4),i+3):(r.error("Unclosed comment"),-1):-1;if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var o=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;i.lastIndex=t,i.exec(e);for(;n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,l=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],l=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(l=o[3][0]));var c=o[a-1];return n.startDTD(s,u,l),n.endDTD(),c.index+c[0].length}return-1}function v(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return n.processingInstruction(i[1],i[2]),r+2}return-1}return-1}function g(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),h(t,t={}),function(e,t,n,i,o){function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function u(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function h(t){if(t>S){var n=e.substring(S,t).replace(/&#?\w+;/g,u);k&&y(S),i.characters(n,0,t-S),S=t}}function y(t,n){for(;t>=_&&(n=w.exec(e));)b=n.index,_=b+n[0].length,k.lineNumber++;k.columnNumber=t-b+1}var b=0,_=0,w=/.*(?:\r\n?|\n)|.*$/g,k=i.locator,E=[{currentNSMap:t}],x={},S=0;for(;;){try{var T=e.indexOf("<",S);if(T<0){if(!e.substr(S).match(/^\s*$/)){var C=i.doc,A=C.createTextNode(e.substr(S));C.appendChild(A),i.currentElement=A}return}switch(T>S&&h(T),e.charAt(T+1)){case"/":var O=e.indexOf(">",T+3),N=e.substring(T+2,O).replace(/[ \t\n\r]+$/g,""),P=E.pop();O<0?(N=e.substring(T+2).replace(/[\s<].*/,""),o.error("end tag name: "+N+" is not complete:"+P.tagName),O=T+1+N.length):N.match(/\s</)&&(N=N.replace(/[\s<].*/,""),o.error("end tag name: "+N+" maybe not complete"),O=T+1+N.length);var I=P.localNSMap,L=P.tagName==N;if(L||P.tagName&&P.tagName.toLowerCase()==N.toLowerCase()){if(i.endElement(P.uri,P.localName,N),I)for(var M in I)i.endPrefixMapping(M);L||o.fatalError("end tag name: "+N+" is not match the current start tagName:"+P.tagName)}else E.push(P);O++;break;case"?":k&&y(T),O=v(e,T,i);break;case"!":k&&y(T),O=m(e,T,i,o);break;default:k&&y(T);var R=new g,D=E[E.length-1].currentNSMap,q=(O=c(e,T,R,D,u,o),R.length);if(!R.closed&&p(e,O,R.tagName,x)&&(R.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),k&&q){for(var j=l(k,{}),F=0;F<q;F++){var B=R[F];y(B.offset),B.locator=l(k,{})}i.locator=j,d(R,i,D)&&E.push(R),i.locator=k}else d(R,i,D)&&E.push(R);r.isHTML(R.uri)&&!R.closed?O=f(e,O,R.tagName,u,i):O++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),O=-1}O>S?S=O:h(Math.max(T,S)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},g.prototype={setTagName:function(e){if(!a.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},64666:function(e,t,n){"use strict";var r;"Set"in n.g?"function"==typeof Set.prototype.forEach&&(r=!1,new Set([!0]).forEach((function(e){r=e})),!0===r)?e.exports=function(e){var t=[];return new Set(e).forEach((function(e){t.push(e)})),t}:e.exports=function(e){var t=new Set;return e.filter((function(e){return!t.has(e)&&(t.add(e),!0)}))}:e.exports=function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}},9669:function(e,t,n){e.exports=n(51609)},55448:function(e,t,n){"use strict";var r=n(64867),i=n(36026),o=n(4372),a=n(15327),s=n(94097),u=n(84109),l=n(67985),c=n(85061);e.exports=function(e){return new Promise((function(t,n){var d=e.data,f=e.headers,p=e.responseType;r.isFormData(d)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(m+":"+v)}var g=s(e.baseURL,e.url);function y(){if(h){var r="getAllResponseHeaders"in h?u(h.getAllResponseHeaders()):null,o={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};i(t,n,o),h=null}}if(h.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=y:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(y)},h.onabort=function(){h&&(n(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||l(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;b&&(f[e.xsrfHeaderName]=b)}"setRequestHeader"in h&&r.forEach(f,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),p&&"json"!==p&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),d||(d=null),h.send(d)}))}},51609:function(e,t,n){"use strict";var r=n(64867),i=n(91849),o=n(30321),a=n(47185);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(n(45655));u.Axios=o,u.create=function(e){return s(a(u.defaults,e))},u.Cancel=n(65263),u.CancelToken=n(14972),u.isCancel=n(26502),u.all=function(e){return Promise.all(e)},u.spread=n(8713),u.isAxiosError=n(16268),e.exports=u,e.exports.default=u},65263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:function(e,t,n){"use strict";var r=n(65263);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},26502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:function(e,t,n){"use strict";var r=n(64867),i=n(15327),o=n(80782),a=n(13572),s=n(47185),u=n(54875),l=u.validators;function c(e){this.defaults=e,this.interceptors={request:new o,response:new o}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(o),i=Promise.resolve(e);c.length;)i=i.then(c.shift(),c.shift());return i}for(var d=e;n.length;){var f=n.shift(),p=n.shift();try{d=f(d)}catch(e){p(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},c.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},80782:function(e,t,n){"use strict";var r=n(64867);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},94097:function(e,t,n){"use strict";var r=n(91793),i=n(7303);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},85061:function(e,t,n){"use strict";var r=n(80481);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},13572:function(e,t,n){"use strict";var r=n(64867),i=n(18527),o=n(26502),a=n(45655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:function(e){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},47185:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function u(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=u(void 0,e[i])):n[i]=u(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=u(void 0,t[e]))})),r.forEach(o,l),r.forEach(a,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=u(void 0,e[i])):n[i]=u(void 0,t[i])})),r.forEach(s,(function(r){r in t?n[r]=u(e[r],t[r]):r in e&&(n[r]=u(void 0,e[r]))}));var c=i.concat(o).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return r.forEach(d,l),n}},36026:function(e,t,n){"use strict";var r=n(85061);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},18527:function(e,t,n){"use strict";var r=n(64867),i=n(45655);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},45655:function(e,t,n){"use strict";var r=n(64867),i=n(16016),o=n(80481),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(55448)),u),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),JSON.stringify(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(a)})),e.exports=l},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15327:function(e,t,n){"use strict";var r=n(64867);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},16268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},67985:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},84109:function(e,t,n){"use strict";var r=n(64867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:function(e,t,n){"use strict";var r=n(88593),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(e,t,n){var i=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],u=void 0===s||a(s,o,e);if(!0!==u)throw new TypeError("option "+o+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},64867:function(e,t,n){"use strict";var r=n(91849),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return s(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},94310:function(e,t,n){"use strict";var r=n(20474),i=n(88546),o=n(39272),a=n(10349),s=n(67552),u=n(88946),l=n(8571),c=n(29898);Object.defineProperty(t,"__esModule",{value:!0});var d=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}}(),f=function(e,t,n){for(var r=!0;r;){var a=e,s=t,u=n;r=!1,null===a&&(a=Function.prototype);var l=i(a,s);if(void 0!==l){if("value"in l)return l.value;var c=l.get;if(void 0===c)return;return c.call(u)}var d=o(a);if(null===d)return;e=d,t=s,n=u,r=!0,l=d=void 0}};function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+r(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 v=n(67294),g=p(v),y=p(n(93096)),b=p(n(96574)),_=function(e){function t(e){h(this,t),f(o(t.prototype),"constructor",this).call(this,e),this.serverSide="undefined"==typeof window,this.listener=(0,y.default)(this.handleScroll.bind(this),50),this.visibility={inViewport:!1,onScreen:!1},this.state={classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}}return m(t,e),d(t,[{key:"getElementTop",value:function(e){for(var t=0;e&&void 0!==e.offsetTop&&void 0!==e.clientTop;)t+=e.offsetTop+e.clientTop,e=e.offsetParent;return t}},{key:"getScrollPos",value:function(){return void 0!==this.scrollableParent.pageYOffset?this.scrollableParent.pageYOffset:this.scrollableParent.scrollTop}},{key:"getScrollableParentHeight",value:function(){return void 0!==this.scrollableParent.innerHeight?this.scrollableParent.innerHeight:this.scrollableParent.clientHeight}},{key:"getViewportTop",value:function(){return this.getScrollPos()+this.props.offset}},{key:"getViewportBottom",value:function(){return this.getScrollPos()+this.getScrollableParentHeight()-this.props.offset}},{key:"isInViewport",value:function(e){return e>=this.getViewportTop()&&e<=this.getViewportBottom()}},{key:"isAboveViewport",value:function(e){return e<this.getViewportTop()}},{key:"isBelowViewport",value:function(e){return e>this.getViewportBottom()}},{key:"inViewport",value:function(e,t){return this.isInViewport(e)||this.isInViewport(t)||this.isAboveViewport(e)&&this.isBelowViewport(t)}},{key:"onScreen",value:function(e,t){return!this.isAboveScreen(t)&&!this.isBelowScreen(e)}},{key:"isAboveScreen",value:function(e){return e<this.getScrollPos()}},{key:"isBelowScreen",value:function(e){return e>this.getScrollPos()+this.getScrollableParentHeight()}},{key:"getVisibility",value:function(){var e=this.getElementTop(this.node)-this.getElementTop(this.scrollableParent),t=e+this.node.clientHeight,n=this.inViewport(e,t);return{aboveViewport:this.isAboveViewport(e),belowViewport:this.isBelowViewport(e),inViewport:n,onScreen:this.onScreen(e,t)}}},{key:"componentDidMount",value:function(){if(!this.serverSide){var e=this.props.scrollableParentSelector;this.scrollableParent=e?document.querySelector(e):window,this.scrollableParent&&this.scrollableParent.addEventListener?this.scrollableParent.addEventListener("scroll",this.listener):console.warn("Cannot find element by locator: "+this.props.scrollableParentSelector),this.handleScroll()}}},{key:"componentWillUnmount",value:function(){this.cleanup()}},{key:"cleanup",value:function(){clearTimeout(this.delayedAnimationTimeout),clearTimeout(this.callbackTimeout),window&&window.removeEventListener&&window.removeEventListener("scroll",this.listener)}},{key:"visibilityHasChanged",value:function(e,t){return e.inViewport!==t.inViewport||e.onScreen!==t.onScreen}},{key:"captureRef",value:function(e){e&&(this.node=e.animateRef?e.animateRef:e)}},{key:"animate",value:function(e,t){var n=this;this.delayedAnimationTimeout=setTimeout((function(){n.animating=!0,n.setState({classes:"animated "+e,style:{animationDuration:n.props.duration+"s"}}),n.callbackTimeout=setTimeout(t,1e3*n.props.duration)}),this.props.delay)}},{key:"animateIn",value:function(e){var t=this;this.animate(this.props.animateIn,(function(){t.props.animateOnce||(t.setState({style:{animationDuration:t.props.duration+"s",opacity:1}}),t.animating=!1);var n=t.getVisibility();e&&e(n)}))}},{key:"animateOut",value:function(e){var t=this;this.animate(this.props.animateOut,(function(){t.setState({classes:"animated",style:{animationDuration:t.props.duration+"s",opacity:0}});var n=t.getVisibility();n.inViewport&&t.props.animateIn?t.animateIn(t.props.afterAnimatedIn):t.animating=!1,e&&e(n)}))}},{key:"shouldNotAnimate",value:function(e){return this.props.animateIn&&this.props.animateOut?!e.onScreen:this.props.animateIn?!e.onScreen&&!e.aboveViewport:!e.onScreen&&!e.belowViewport}},{key:"shouldAnimateIn",value:function(e){return!!this.props.animateIn&&(this.props.animateOut?e.inViewport:e.inViewport||e.aboveViewport)}},{key:"shouldAnimateOut",value:function(e){return!(!this.props.animateOut||!e.onScreen||1!==this.state.style.opacity)&&(this.props.animateIn?e.inViewport:e.inViewport||e.belowViewport)}},{key:"handleScroll",value:function(){if(!this.animating){if(!this.node)return this.cleanup(),!0;var e=this.getVisibility();this.visibilityHasChanged(this.visibility,e)&&(clearTimeout(this.delayedAnimationTimeout),this.shouldNotAnimate(e)?this.setState({classes:"animated",style:{animationDuration:this.props.duration+"s",opacity:this.props.initiallyVisible?1:0}}):this.shouldAnimateIn(e)?this.animateIn(this.props.afterAnimatedIn):this.shouldAnimateOut(e)&&this.animateOut(this.props.afterAnimatedOut),this.visibility=e)}}},{key:"renderChild",value:function(e,t){var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2],r=this.props,i=r.initiallyVisible,o=r.keepStructure,a=r.siblingDelay,u=a*n,l=s({},this.state.style,this.props.style,{animationDelay:u+"s"});return g.default.createElement(w,{classes:t,initiallyVisible:i,keepStructure:o,key:n,style:l},e)}},{key:"renderChildren",value:function(e,t){var n,r,i,o=this,s=this.props,d=s.children,f=s.siblingDelay,p=Array.isArray(t)?t:d;return f&&Array.isArray(p)?u(n=l(r=[]).call(r,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 a(e)}(c(i=Array(p.length)).call(i)))).call(n,(function(t){return o.renderChild(p[t],e,t)})):this.renderChild(p,e)}},{key:"renderWrapped",value:function(e){var t=this;return g.default.createElement("div",{ref:function(e){t.node=e}},this.renderChildren(e))}},{key:"renderStructure",value:function(e){var t,n=this,r=this.props.children;return 1===g.default.Children.count(r)?u(t=g.default.Children).call(t,r,(function(t){return g.default.cloneElement(t,{ref:n.captureRef.bind(n)},n.renderChildren(e,t.props.children))})):this.renderWrapped(e)}},{key:"render",value:function(){var e=this.props.className?this.props.className+" "+this.state.classes:this.state.classes;return this.props.keepStructure?this.renderStructure(e):this.renderWrapped(e)}}]),t}(v.Component);t.default=_,_.defaultProps={animateOnce:!1,delay:0,duration:1,keepStructure:!1,initiallyVisible:!1,offset:150,siblingDelay:0},_.propTypes={animateIn:b.default.string,animateOnce:b.default.bool,animateOut:b.default.string,className:b.default.string,delay:b.default.number,duration:b.default.number,initiallyVisible:b.default.bool,keepStructure:b.default.bool,offset:b.default.number,scrollableParentSelector:b.default.string,siblingDelay:b.default.number,style:b.default.object};var w=function(e){function t(e){h(this,t),f(o(t.prototype),"constructor",this).call(this,e),this.state={hasAnimated:!1}}return m(t,e),d(t,[{key:"componentDidMount",value:function(){var e=this;this.animationEndListener=this.ref.addEventListener("animationend",(function(){e.ref&&e.setState({hasAnimated:!0})}))}},{key:"componentWillUnmount",value:function(){this.ref&&this.ref.removeEventListener&&this.ref.removeEventListener("animationend",this.animationEndListener)}},{key:"componentWillReceiveProps",value:function(e){0===e.style.opacity&&this.setState({hasAnimated:!1})}},{key:"captureRef",value:function(e){e&&(this.ref=e.animateRef?e.animateRef:e)}},{key:"renderStructure",value:function(e){var t,n=this,r=e.style,i=this.props,o=i.children,a=i.classes;return u(t=g.default.Children).call(t,o,(function(e){return g.default.cloneElement(e,{className:a,style:r,ref:n.captureRef.bind(n)})}))}},{key:"renderWrapped",value:function(e){var t=this,n=e.style,r=this.props,i=r.children,o=r.classes;return g.default.createElement("div",{className:o,style:n,ref:function(e){return t.ref=e}},i)}},{key:"render",value:function(){var e=this.props,t=e.initiallyVisible,n=e.keepStructure,r=this.state.hasAnimated,i=this.props.style,o=void 0===i.animationDelay||t?i.opacity:0,a=s({},i,{opacity:r?1:o});return n?this.renderStructure({style:a}):this.renderWrapped({style:a})}}]),t}(v.Component);w.defaultProps={keepStructure:!1},w.propTypes={classes:b.default.string,keepStructure:b.default.bool,style:b.default.object},e.exports=t.default},96442:function(e,t,n){"use strict";var r=n(60139),i=n(73759),o=n(4458);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},96574:function(e,t,n){n(20474),n(52472),n(49056);e.exports=n(96442)()},4458:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},75183:function(e,t,n){var r=n(64410),i=n(84889)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},70717:function(e,t,n){var r=n(64410),i=n(83499),o=n(84889),a=n(35934),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},83160:function(e,t,n){var r=n(84889),i=n(67364),o=r((function(e,t){return i(e,t,[],[])}));e.exports=o},47187:function(e,t,n){var r=n(20474),i=n(84889)((function e(t,n){var i,o,a,s=n instanceof Array?[]:{};for(o in n)i=t[o],a=r(i),s[o]="function"===a?i(n[o]):i&&"object"===a?e(i,n[o]):n[o];return s}));e.exports=i},27134:function(e,t,n){var r=n(84889),i=n(29466),o=n(78276),a=n(83294),s=n(73506),u=n(45991),l=n(83669),c=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},l(t)):o(e,t)})));e.exports=c},64410:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,l,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},25320:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},79589:function(e,t,n){var r=n(35704),i=n(46102);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return i(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,r(Array.prototype).call(arguments,0,n-1))}}},16627:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},83499:function(e,t,n){var r=n(27695);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},84889:function(e,t,n){var r=n(83499),i=n(27695);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},36369:function(e,t,n){var r=n(83499),i=n(84889),o=n(27695);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},35934:function(e,t,n){var r=n(64410),i=n(27695);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,l=0;l<n.length||s<arguments.length;){var c;l<n.length&&(!i(n[l])||s>=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},29466:function(e,t,n){var r=n(35704),i=n(46102),o=n(90659);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var a=r(Array.prototype).call(arguments,0),s=a.pop();if(!i(s)){for(var u=0;u<e.length;){if("function"==typeof s[e[u]])return s[e[u]].apply(s,a);u+=1}if(o(s)){var l=t.apply(null,a);return l(s)}}return n.apply(this,arguments)}}},67364:function(e,t,n){var r=n(20474),i=n(35704),o=n(40703),a=n(8571),s=n(89221),u=n(25320),l=n(82514),c=n(24088),d=n(9861),f=n(5743),p=n(83669),h=n(18843);function m(e,t,n,r){var o=u(e),a=u(t);function s(e,t){return v(e,t,i(n).call(n),i(r).call(r))}return!l((function(e,t){return!l(s,t,e)}),a,o)}function v(e,t,n,i){if(f(e,t))return!0;var u=h(e);if(u!==h(t))return!1;if(null==e||null==t)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof t["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t)&&"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof t.equals)return"function"==typeof e.equals&&e.equals(t)&&"function"==typeof t.equals&&t.equals(e);switch(u){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===c(e.constructor))return e===t;break;case"Boolean":case"Number":case"String":if(r(e)!==r(t)||!f(e.valueOf(),t.valueOf()))return!1;break;case"Date":if(!f(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(e.source!==t.source||e.global!==t.global||e.ignoreCase!==t.ignoreCase||e.multiline!==t.multiline||e.sticky!==t.sticky||e.unicode!==t.unicode)return!1}for(var l=n.length-1;l>=0;){if(n[l]===e)return i[l]===t;l-=1}switch(u){case"Map":return e.size===t.size&&m(o(e).call(e),o(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Set":return e.size===t.size&&m(s(e).call(e),s(t).call(t),a(n).call(n,[e]),a(i).call(i,[t]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var g=p(e);if(g.length!==p(t).length)return!1;var y=a(n).call(n,[e]),b=a(i).call(i,[t]);for(l=g.length-1;l>=0;){var _=g[l];if(!d(_,t)||!v(t[_],e[_],y,b))return!1;l-=1}return!0}e.exports=v},78276:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},24088:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},9861:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},40620:function(e,t,n){var r=n(83054);e.exports=function(e,t){return r(t,e,0)>=0}},82514:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},83054:function(e,t,n){var r=n(20474),i=n(83160);e.exports=function(e,t,n){var o,a;if("function"==typeof e.indexOf)switch(r(t)){case"number":if(0===t){for(o=1/t;n<e.length;){if(0===(a=e[n])&&1/a===o)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(a=e[n])&&a!=a)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(i(e[n],t))return n;n+=1}return-1}},64013:function(e,t,n){var r=n(9861),i=Object.prototype.toString,o=function(){return"[object Arguments]"===i.call(arguments)?function(e){return"[object Arguments]"===i.call(e)}:function(e){return r("callee",e)}}();e.exports=o},46102:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},7721:function(e,t,n){var r=n(20474),i=n(83499),o=n(46102),a=n(86486),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},78041:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},83294:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},27695:function(e,t,n){var r=n(20474);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},86486:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},90659:function(e){e.exports=function(e){return null!=e&&"function"==typeof e["@@transducer/step"]}},18096:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},5743:function(e,t,n){var r=n(42692);e.exports="function"==typeof r?r:function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},80266:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},16891:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},73506:function(e,t,n){var r=n(52472),i=n(48994),o=n(7721),a=n(36098),s=n(75183);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function l(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var c=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return l(e,t,n,"fantasy-land/reduce");if(null!=n[c])return u(e,t,n[c]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return l(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},61074:function(e,t,n){var r=n(35704),i=function(e){return(e<10?"0":"")+e},o="function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){var t;return e.getUTCFullYear()+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+r(t=(e.getUTCMilliseconds()/1e3).toFixed(3)).call(t,2,5)+"Z"};e.exports=o},88162:function(e,t,n){var r=n(20474),i=n(8571),o=n(76555),a=n(35704),s=n(40620),u=n(18096),l=n(16891),c=n(61074),d=n(83669),f=n(31029);e.exports=function e(t,n){var p,h=function(r){var o=i(n).call(n,[t]);return s(r,o)?"<Circular>":e(r,o)},m=function(e,t){var n;return u((function(t){return l(t)+": "+h(e[t])}),o(n=a(t).call(t)).call(n))};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+u(h,t).join(", ")+"))";case"[object Array]":return"["+i(p=u(h,t)).call(p,m(t,f((function(e){return/^\d+$/.test(e)}),d(t)))).join(", ")+"]";case"[object Boolean]":return"object"===r(t)?"new Boolean("+h(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?h(NaN):l(c(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"===r(t)?"new Number("+h(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"===r(t)?"new String("+h(t.valueOf())+")":l(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var v=t.toString();if("[object Object]"!==v)return v}return"{"+m(t,d(t)).join(", ")+"}"}}},95882:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},45991:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},69332:function(e,t,n){var r=n(84889),i=n(95882),o=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},e}(),a=r((function(e,t){return new o(e,t)}));e.exports=a},36098:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},37022:function(e,t,n){var r=n(35704),i=n(84889),o=n(78041),a=n(70717),s=n(21871),u=i((function(e,t){return a(e+1,(function(){var n=arguments[e];if(null!=n&&o(n[t]))return n[t].apply(n,r(Array.prototype).call(arguments,0,e));throw new TypeError(s(n)+' does not have a method named "'+t+'"')}))}));e.exports=u},2507:function(e,t,n){var r=n(37022)(1,"join");e.exports=r},83669:function(e,t,n){var r=n(62079),i=n(83499),o=n(9861),a=n(64013),s=!{toString:null}.propertyIsEnumerable("toString"),u=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],l=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),c=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},d=i("function"!=typeof r||l?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=l&&a(e);for(t in e)!o(t,e)||i&&"length"===t||(r[r.length]=t);if(s)for(n=u.length-1;n>=0;)o(t=u[n],e)&&!c(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:r(e)});e.exports=d},5917:function(e,t,n){var r=n(84889),i=n(29466),o=n(18096),a=n(73506),s=n(69332),u=n(70717),l=n(83669),c=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},l(t));default:return o(e,t)}})));e.exports=c},40636:function(e,t,n){var r=n(84889)((function(e,t){return e*t}));e.exports=r},92148:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r={},i=0,o=e.length;i<o;)r[e[i]]=1,i+=1;for(var a in t)r.hasOwnProperty(a)||(n[a]=t[a]);return n}));e.exports=r},11806:function(e,t,n){var r=n(84889)((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}));e.exports=r},58e3:function(e,t,n){var r=n(64410),i=n(80266),o=n(57721),a=n(85822);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},57721:function(e,t,n){var r=n(36369)(n(73506));e.exports=r},31029:function(e,t,n){var r=n(16627),i=n(84889),o=n(27134),a=i((function(e,t){return o(r(e),t)}));e.exports=a},5151:function(e,t,n){var r=n(35704),i=n(79589),o=n(36369)(i("slice",(function(e,t,n){return r(Array.prototype).call(n,e,t)})));e.exports=o},85822:function(e,t,n){var r=n(79589),i=n(83499)(r("tail",n(5151)(1,1/0)));e.exports=i},25786:function(e,t,n){var r=n(83499),i=n(9861),o=r((function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t}));e.exports=o},21871:function(e,t,n){var r=n(83499),i=n(88162),o=r((function(e){return i(e,[])}));e.exports=o},18843:function(e,t,n){var r=n(35704),i=n(83499)((function(e){var t;return null===e?"Null":void 0===e?"Undefined":r(t=Object.prototype.toString.call(e)).call(t,8,-1)}));e.exports=i},79005:function(e,t,n){var r=n(35704),i=n(84889),o=n(70717),a=i((function(e,t){return o(e,(function(){for(var n,i=1,o=t,a=0;i<=e&&"function"==typeof o;)n=i===e?arguments.length:a+o.length,o=o.apply(this,r(Array.prototype).call(arguments,a,n)),i+=1,a=n;return o}))}));e.exports=a},29732:function(e,t,n){var r=n(36369)((function(e,t,n){return e(n)?t(n):n}));e.exports=r},32573:function(e,t,n){var r=n(35820),i=n(51315),o=n(72767),a=n(32205),s=n(43860),u=r.reject.bind(r),l=function(e,t){return t&&c(0,e*Math.pow(2,t))},c=function(e,t){return e+Math.random()*(t-e)};e.exports=o((function(e,t){void 0===e&&(e={});var n=e.base;void 0===n&&(n=250);var o=e.tries;void 0===o&&(o=10);var c=e.when;void 0===c&&(c=s);return function(){for(var e=[],s=arguments.length;s--;)e[s]=arguments[s];var d=0,f=function(){return new r((function(e,t){setTimeout((function(){p().then(e,t)}),l(n,d))}))},p=function(){return r.resolve(e).then(i(t)).catch(a(c,h,u))},h=function(e){return++d<o?f():u(e)};return p()}}))},10339:function(e,t,n){var r=n(35820),i=n(67621),o=n(72948),a=n(12321),s=n(52963),u=o(i(r.reject,r),s(a(Error),Error));e.exports=u},43860:function(e,t,n){var r=n(78903)(!0);e.exports=r},78903:function(e,t,n){var r=n(32902)((function(e){return function(){return e}}));e.exports=r},51315:function(e,t,n){var r=n(26138)((function(e,t){return e.apply(this,t)}));e.exports=r},67621:function(e,t,n){var r=n(3374),i=n(26138)((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}));e.exports=i},72948:function(e,t,n){var r=n(69100),i=n(51523);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},72767:function(e,t,n){var r=n(32902),i=n(16836),o=r((function(e){return i(e.length,e)}));e.exports=o},16836:function(e,t,n){var r=n(3374),i=n(32902),o=n(26138),a=n(54148),s=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}));e.exports=s},32205:function(e,t,n){var r=n(69977),i=n(16836),o=r((function(e,t,n){return i(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}));e.exports=o},3374:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,l,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},33683:function(e,t,n){var r=n(35704),i=n(82391);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var o=arguments[n-1];return i(o)||"function"!=typeof o[e]?t.apply(this,arguments):o[e].apply(o,r(Array.prototype).call(arguments,0,n-1))}}},32902:function(e,t,n){var r=n(72209);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},26138:function(e,t,n){var r=n(32902),i=n(72209);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},69977:function(e,t,n){var r=n(32902),i=n(26138),o=n(72209);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},54148:function(e,t,n){var r=n(3374),i=n(72209);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,l=0;l<n.length||s<arguments.length;){var c;l<n.length&&(!i(n[l])||s>=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},82391:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},15417:function(e,t,n){var r=n(20474),i=n(32902),o=n(82391),a=n(96974),s=i((function(e){return!!o(e)||!!e&&("object"===r(e)&&(!a(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=s},72209:function(e,t,n){var r=n(20474);e.exports=function(e){return null!=e&&"object"===r(e)&&!0===e["@@functional/placeholder"]}},96974:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},27099:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},56506:function(e,t,n){var r=n(52472),i=n(48994),o=n(15417),a=n(17904),s=n(67621);function u(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function l(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var c=void 0!==r?i:"@@iterator";e.exports=function(e,t,n){if("function"==typeof e&&(e=a(e)),o(n))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(e,t,n);if("function"==typeof n["fantasy-land/reduce"])return l(e,t,n,"fantasy-land/reduce");if(null!=n[c])return u(e,t,n[c]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return l(e,t,n,"reduce");throw new TypeError("reduce: list must be array or iterable")}},17904:function(e){var t=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},e}();e.exports=function(e){return new t(e)}},12321:function(e,t,n){var r=n(26138)((function(e,t){return null!=t&&t.constructor===e||t instanceof e}));e.exports=r},69100:function(e,t,n){var r=n(3374),i=n(27099),o=n(63816),a=n(60454);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},63816:function(e,t,n){var r=n(69977)(n(56506));e.exports=r},51523:function(e,t,n){var r=n(86526),i=n(35704),o=n(32902),a=n(96974),s=o((function(e){var t,n;return a(e)?r(t=e.split("")).call(t).join(""):r(n=i(Array.prototype).call(e,0)).call(n)}));e.exports=s},78350:function(e,t,n){var r=n(35704),i=n(33683),o=n(69977)(i("slice",(function(e,t,n){return r(Array.prototype).call(n,e,t)})));e.exports=o},60454:function(e,t,n){var r=n(33683),i=n(32902)(r("tail",n(78350)(1,1/0)));e.exports=i},52963:function(e,t,n){var r=n(69977)((function(e,t,n){return e(n)?n:t(n)}));e.exports=r},88257:function(e,t,n){"use strict";var r=n(84705),i=n(35704);t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},o=(t||{}).decode||s,a=0;for(;a<e.length;){var u,c=e.indexOf("=",a);if(-1===c)break;var d=e.indexOf(";",a);if(-1===d)d=e.length;else if(d<c){a=e.lastIndexOf(";",c-1)+1;continue}var f=r(u=i(e).call(e,a,c)).call(u);if(void 0===n[f]){var p,h=r(p=i(e).call(e,c+1,d)).call(p);34===h.charCodeAt(0)&&(h=i(h).call(h,1,-1)),n[f]=l(h,o)}a=d+1}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||u;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=r.maxAge){var c=r.maxAge-0;if(isNaN(c)||!isFinite(c))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+Math.floor(c)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");l+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");l+="; Path="+r.path}if(r.expires){var d=r.expires;if(!function(e){return"[object Date]"===o.call(e)||e instanceof Date}(d)||isNaN(d.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+d.toUTCString()}r.httpOnly&&(l+="; HttpOnly");r.secure&&(l+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return l};var o=Object.prototype.toString,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function u(e){return encodeURIComponent(e)}function l(e,t){try{return t(e)}catch(t){return e}}},14886:function(e,t,n){var r=n(8571),i=n(35820),o=n(88946),a=n(28449),s=n(81248),u=n(7961).type("Async"),l=n(7961).typeFn(u(),5),c=n(57345),d=n(76315),f=n(54800),p=n(77795),h=n(35606),m=n(22452),v=n(90702),g=n(12384),y=n(14932),b=n(34762),_=n(17430),w=function(e){return k((function(t,n){return n(e)}))};function k(e){var t;if(!g(e))throw new TypeError("Async: Function required");var n=w,r=function(){return"Async"+s(e)};function a(t,n,r){if(!g(t)||!g(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=g(r)?r:h,s=function(e,t){if(!o)return o=!0,i?h():e(t)},u=e(s.bind(null,t),s.bind(null,n)),l=g(u)?u:h;return p((function(){return a((l(),void(i=!0)))}))}function d(e){return function(t){if(!g(t))throw new TypeError("Async."+e+": Function required");return k((function(e,n){return a(e,f(n,t))}))}}function m(e){return function(t,n){if(!g(t)||!g(n))throw new TypeError("Async."+e+": Functions required for both arguments");return k((function(e,r){return a(f(e,t),f(r,n))}))}}function v(e){return function(t){if(!_(k,t))throw new TypeError("Async."+e+": Async required");return k((function(e,n){var r=h,i=h;return r=a((function(){i=t.fork(e,n)}),n),p((function(){return i(r())}))}))}}function y(e){return function(t){if(!g(t))throw new TypeError("Async."+e+": Async returning function required");return k((function(n,r){var i=h,o=h;return i=a(n,(function(i){var a=t(i);if(!_(k,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),p((function(){return o(i())}))}))}}return(t={fork:a,toPromise:function(){return new i((function(e,t){a(t,e)}))},inspect:r,toString:r,type:u,swap:function(e,t){if(!g(e)||!g(t))throw new TypeError("Async.swap: Functions required for both arguments");return k((function(n,r){return a(f(r,e),f(n,t))}))},race:function(e){if(!_(k,e))throw new TypeError("Async.race: Async required");return k((function(t,n){var r=p((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),s=a(o,i),u=e.fork(o,i);return function(){s(),u()}}))},coalesce:function(e,t){if(!g(e)||!g(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return k((function(n,r){return a(f(r,e),f(r,t))}))},ap:function(e){if(!_(k,e))throw new TypeError("Async.ap: Async required");return k((function(t,n){var r=null,i=null,o=!1,s=!1,u=!1,l=p(t);function c(){!u&&o&&s&&f(n,r)(i)}var d=a(l,(function(e){if(!g(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,c()})),h=e.fork(l,(function(e){s=!0,i=e,c()}));return function(){d(),h(),u=!0}}))},of:n,alt:v("alt"),bimap:m("bimap"),map:d("map"),chain:y("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!g(e)||!g(t))throw new TypeError(n);return k((function(r,i){var o=h,s=h;function u(e){return function(t){var o=e(t);if(!_(k,o))throw new TypeError(n);s=o.fork(r,i)}}return o=a(u(e),u(t)),p((function(){return s(o())}))}))}})[c.of]=n,t[c.alt]=v(c.alt),t[c.bimap]=m(c.bimap),t[o(c)]=d(o(c)),t[c.chain]=y(c.chain),t["@@type"]=l,t.constructor=k,t}k.of=w,k.type=u,k[c.of]=w,k["@@type"]=l,k.Rejected=function(e){return k((function(t){return t(e)}))},k.Resolved=w,k.fromPromise=function(e){if(!g(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return k((function(n,r){var i=e.apply(null,t);if(!b(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},k.fromNode=function(e,t){if(!g(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];return k((function(i,o){e.apply(t,r(n).call(n,(function(e,t){return e?i(e):o(t)})))}))}},k.all=function(e){if(!v(e)||!e.reduce((function(e,t){return e&&_(k,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return m(e)?d.sequence(k.of,e):e.sequence(k.of)},k.rejectAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return k((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},k.resolveAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return k((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},k["@@implements"]=a(["alt","ap","bimap","chain","map","of"]),e.exports=k},35606:function(e){e.exports=Function.prototype},62966:function(e,t,n){var r=n(96049),i=n(77847);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},76315:function(e,t,n){var r=n(8571),i=n(88946),o=n(35704),a=n(1377),s=n(22452),u=n(87738),l=n(12384),c=n(17430),d=n(44340),f=n(62966),p=function(e){return e},h=function(e){return function(t){return r(e).call(e,t)}};function m(e,t){return function(n,r){var o=t(r);if(!a(n)&&!s(n)||!c(n,o))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return s(o)?g(n,v((function(e){return h([e])}),o)):i(o).call(o,(function(e){return h([e])})).ap(n)}}var v=function(e,t){return i(t).call(t,(function(t){return e(t)}))};function g(e,t){if(!t.length||!t.reduce((function(e,t){return e&&l(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return r(t).call(t,v(n,e))}),[])}e.exports={ap:g,chain:function(e,t){return t.reduce((function(t,n){var i=e(n);if(!s(i))throw new TypeError("Array.chain: Function must return an Array");return r(t).call(t,i)}),[])},fold:function(e){if(u(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!d(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!c(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return r(e).call(e,t)}))},foldMap:function(e,t){if(u(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!d(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:o(t).call(t,1).reduce((function(t,n){var i=e(n);if(!c(t,i)||!d(i))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return r(t).call(t,i)}),n)},map:v,sequence:function(e,t){var n=f(e);return t.reduceRight(m("sequence",p),n([]))},set:function(e,t,n){var r=o(n).call(n);return r[e]=t,r},traverse:function(e,t,n){var r=f(e);return n.reduceRight(m("traverse",t),r([]))},unset:function(e,t){var n;return r(n=o(t).call(t,0,e)).call(n,o(t).call(t,e+1))}}},54800:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},94233:function(e,t,n){var r=n(8571),i=n(12384);function o(e,t){return i(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];var s,u=n.length?n:[void 0];if(u.length<t.length)return e(Function.bind.apply(t,r(s=[null]).call(s,u)));var l=u.length===t.length?t.apply(null,u):u.reduce(o,t);return i(l)?e(l):l}}},71426:function(e,t,n){var r=n(62079),i=n(17430),o=n(85957),a=n(82111),s=n(29560),u=n(57345),l=function(e,t){return e.valueOf()===t.valueOf()},c={Array:function(e,t){return e.length===t.length&&d(e,t)},Date:function(e,t){return o(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){return r(e).length===r(t).length&&d(e,t)})),RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function d(e,t){for(var n in e)if(!f(e[n],t[n]))return!1;return!0}function f(e,t){return!!o(e,t)||!!i(e,t)&&(a("equals",e)?(t[u.equals]||t.equals).call(t,e):(c[s(e)]||l)(e,t))}e.exports=f},57345:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},82111:function(e,t,n){var r=n(12384),i=n(57345);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},28449:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},81248:function(e,t,n){var r=n(88946),i=n(62079),o=n(8571),a=n(22452),s=n(12384),u=n(38249),l=n(74251),c=n(57505),d=n(5684);function f(e){return e&&s(e.inspect)?" "+e.inspect():s(e)?" Function":a(e)?" ["+(((t=e).length?r(t).call(t,f).reduce((function(e,t){return e+","+t})):t)+" ]"):u(e)?" { "+i(e).reduce((function(t,n){return o(t).call(t,[n+":"+f(e[n])])}),[]).join(", ")+" }":l(e)?' "'+e+'"':c(e)||d(e)?" "+e.toString():" "+e;var t}e.exports=f},96049:function(e,t,n){var r=n(82111),i=n(1377);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},1377:function(e,t,n){var r=n(82111),i=n(68501);e.exports=function(e){return i(e)&&r("ap",e)}},22452:function(e){e.exports=function(e){return Array.isArray(e)}},5684:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},87738:function(e,t,n){var r=n(62079),i=n(38249),o=n(42e3),a=n(71426),s=n(57345);e.exports=function(e){if(o(e)){var t=e.constructor[s.empty]||e.constructor.empty||e.empty;return a(e,t())}return i(e)?!r(e).length:!e||void 0===e.length||!e.length}},90702:function(e,t,n){var r=n(82111);e.exports=function(e){return!!e&&r("reduce",e)}},12384:function(e){e.exports=function(e){return"function"==typeof e}},68501:function(e,t,n){var r=n(82111);e.exports=function(e){return!!e&&r("map",e)}},14932:function(e,t,n){var r=n(50162);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},42e3:function(e,t,n){var r=n(82111),i=n(44340);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},50162:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},38249:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},34762:function(e,t,n){var r=n(12384);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},85957:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},17430:function(e,t,n){var r=n(94233),i=n(12384),o=n(29560);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},44340:function(e,t,n){var r=n(74251),i=n(82111);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},74251:function(e){e.exports=function(e){return"string"==typeof e}},57505:function(e,t,n){var r=n(20474);e.exports=function(e){return"symbol"===r(e)}},77847:function(e,t,n){var r=n(12384);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},77795:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},29560:function(e,t,n){var r=n(35704),i=n(12384);e.exports=function(e){var t;return e&&i(e.type)?e.type():r(t={}.toString.call(e)).call(t,8,-1)}},7961:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},93007:function(e){"use strict";var t=function(e,t,n){var r=e.length;if(r==t)return e;for(var i=t-r,o="",a=1;a<=i;a++)o+=n;return o+e};e.exports=function(e){(null==e||e<1)&&(e=15);var n,r=parseInt(t("",e,"9")),i=0;return function(){var o=Math.floor(Math.random()*r);return o==n?i++:(i=0,n=o),t("".concat(o+=i),e,"0")}}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=u(e),a=o[0],s=o[1],l=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>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)],l[c++]=t>>16&255,l[c++]=t>>8&255,l[c++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[c++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[c++]=t>>8&255,l[c++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(l(e,s,s+a>u?u: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,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(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},22175:function(e){e.exports=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=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.ERROR_BLOCK_NAME_TYPE="Block name should be a string",t.ERROR_BLOCK_NAME_EMPTY="Block name should be non-empty";var i={ns:"",el:"__",mod:"_",modValue:"_"},o=function(e){return"string"==typeof e},a=function(e){return"string"!=typeof e},s=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o=r.assign({},t);return o.mixes=o.mixes.concat(n),d(o,e)},u=function(e,t,n){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var a=r.assign({},t),s=r.assign({},a.states||{});return s[n]=r.assign.apply(void 0,[{},s[n]||{}].concat(i)),a.states=s,d(a,e)},l=function(e,t,n,r){return String.prototype.split.call(c(e,t),n,r)},c=function(e,t){var n=t.name,r=t.mods,i=t.mixes,o=t.states,a=[n];if(r&&(a=a.concat(Object.keys(r).filter((function(e){return r[e]})).map((function(t){var i=r[t];return!0===i?n+e.mod+t:n+e.mod+t+e.modValue+i})))),o&&Object.keys(o).forEach((function(e){var t=o[e];a=a.concat(Object.keys(t).filter((function(e){return t[e]})).map((function(t){return e+t})))})),e.ns&&(a=a.map((function(t){return e.ns+t}))),i&&(a=a.concat(function(e){return void 0===e&&(e=[]),e.map((function(e){return Array.isArray(e)?e.join(" "):"object"==typeof e&&null!==e||"function"==typeof e?e.toString():"string"==typeof e?e:""})).filter((function(e){return!!e}))}(i))),e.classMap){var s=e.classMap;a=a.map((function(e){return s[e]||e}))}return a.join(" ")},d=function(e,t){return{mix:s.bind(null,t,e),split:l.bind(null,t,e),is:u.bind(null,t,e,"is-"),has:u.bind(null,t,e,"has-"),state:u.bind(null,t,e,"is-"),toString:c.bind(null,t,e)}},f=function(e,t){var n={name:e,mods:{},mixes:[],states:{"is-":{},"has-":{}}},i=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!n.length)return c(e,t);var s=r.assign({},t),u=n.filter(o).reduce((function(t,n){return t+e.el+n}),"");u&&(s.name=s.name+u);var l=n.filter(a).reduce((function(e,t){return r.assign(e,t)}),{});return s.mods=r.assign({},s.mods,l),d(s,e)}.bind(null,t,n);return i.mix=s.bind(null,t,n),i.split=l.bind(null,t,n),i.is=u.bind(null,t,n,"is-"),i.has=u.bind(null,t,n,"has-"),i.state=u.bind(null,t,n,"is-"),i.toString=c.bind(null,t,n),i};t.setup=function(e){return void 0===e&&(e={}),function(n){if("string"!=typeof n)throw new Error(t.ERROR_BLOCK_NAME_TYPE);var o=n.trim();if(!o)throw new Error(t.ERROR_BLOCK_NAME_EMPTY);return f(o,r.assign({},i,e))}},t.block=t.setup(),t.default=t.block},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++){var i=t[r];for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}}])},48764:function(e,t,n){"use strict";var r=n(79742),i=n(80645),o=n(5826);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&o(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(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(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var 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 N(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(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),n=+n,isNaN(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=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var o,a=1,s=e.length,u=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,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;f<u;f++)if(l(e,o+f)!==l(t,f)){d=!1;break}if(d)return o}return-1}function b(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function _(e,t,n,r){return H(U(t,e.length-n),e,n,r)}function w(e,t,n,r){return H(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function k(e,t,n,r){return w(e,t,n,r)}function E(e,t,n,r){return H(z(t),e,n,r)}function x(e,t,n,r){return H(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function T(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(c=u)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=C));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return l(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");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},u.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}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?T(this,0,e):m.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");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;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),d=0;d<s;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},u.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)}var 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");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function N(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=B(e[o]);return i}function P(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function I(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 L(e,t,n,r,i,o){if(!u.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 M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function D(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 q(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function j(e,t,n,r,o){return o||D(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return j(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){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("sourceStart out of bounds");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);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.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),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:U(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>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 r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}},52818:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},1254:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(70420))},32230:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},11365:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},69573:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(70420))},10462:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(70420))},16515:function(e,t,n){var r={"./en-au":52818,"./en-au.js":52818,"./en-ca":1254,"./en-ca.js":1254,"./en-gb":32230,"./en-gb.js":32230,"./en-ie":11365,"./en-ie.js":11365,"./en-il":69573,"./en-il.js":69573,"./en-nz":10462,"./en-nz.js":10462};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=16515},70420:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=v()),e._pf}function y(e){if(null==e._isValid){var t=g(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=m(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var _=i.momentProperties=[];function w(e,t){var n,r,i;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=g(t)),l(t._locale)||(e._locale=t._locale),_.length>0)for(n=0;n<_.length;n++)l(i=t[r=_[n]])||(e[r]=i);return e}var k=!1;function E(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,i.updateOffset(this),k=!1)}function x(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function S(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function T(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=S(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&T(e[r])!==T(t[r]))&&a++;return a+o}function A(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function O(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}A(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var N,P={};function I(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(A(t),P[e]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)L(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function R(e,t){var n,r=h({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=h({},r[n]));return r}function D(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,N=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var q={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return L(r)?r.call(t,n):r}var F={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function B(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}var U="Invalid date";function z(){return this._invalidDate}var H="%d",V=/\d{1,2}/;function W(e){return this._ordinal.replace("%d",e)}var Y={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function G(e,t,n,r){var i=this._relativeTime[n];return L(i)?i(e,t,n,r):i.replace(/%d/i,e)}function K(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}var X={};function $(e,t){var n=e.toLowerCase();X[n]=X[n+"s"]=X[t]=e}function Z(e){return"string"==typeof e?X[e]||X[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=Z(n))&&(r[t]=e[n]);return r}var J={};function ee(e,t){J[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:J[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function ne(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ae={};function se(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return ne(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ue(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function le(e){var t,n,r=e.match(re);for(t=0,n=r.length;t<n;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=ue(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=L(r[i])?r[i].call(t,e):r[i];return o}}function ce(e,t){return e.isValid()?(t=de(t,e.localeData()),oe[t]=oe[t]||le(t),oe[t](e)):e.localeData().invalidDate()}function de(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;n>=0&&ie.test(e);)e=e.replace(ie,r),ie.lastIndex=0,n-=1;return e}var fe=/\d/,pe=/\d\d/,he=/\d{3}/,me=/\d{4}/,ve=/[+-]?\d{6}/,ge=/\d\d?/,ye=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,ke=/[+-]?\d{1,6}/,Ee=/\d+/,xe=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Oe={};function Ne(e,t,n){Oe[e]=L(t)?t:function(e,r){return e&&n?n:t}}function Pe(e,t){return p(Oe,e)?Oe[e](t._strict,t._locale):new RegExp(Ie(e))}function Ie(e){return Le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={};function Re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n<e.length;n++)Me[e[n]]=r}function De(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function qe(e,t,n){null!=t&&p(Me,e)&&Me[e](t,n._a,n,e)}var je=0,Fe=1,Be=2,Ue=3,ze=4,He=5,Ve=6,We=7,Ye=8;function Ge(e){return Ke(e)?366:365}function Ke(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),$("year","y"),ee("year",1),Ne("Y",xe),Ne("YY",ge,pe),Ne("YYYY",we,me),Ne("YYYYY",ke,ve),Ne("YYYYYY",ke,ve),Re(["YYYYY","YYYYYY"],je),Re("YYYY",(function(e,t){t[je]=2===e.length?i.parseTwoDigitYear(e):T(e)})),Re("YY",(function(e,t){t[je]=i.parseTwoDigitYear(e)})),Re("Y",(function(e,t){t[je]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var Xe,$e=Qe("FullYear",!0);function Ze(){return Ke(this.year())}function Qe(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),it(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function tt(e){return L(this[e=Z(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=Q(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(L(this[e=Z(e)]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?Ke(e)?29:28:31-n%7%2}Xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),$("month","M"),ee("month",8),Ne("M",ge),Ne("MM",ge,pe),Ne("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ne("MMMM",(function(e,t){return t.monthsRegex(e)})),Re(["M","MM"],(function(e,t){t[Fe]=T(e)-1})),Re(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Fe]=i:g(n).invalidMonth=e}));var ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}var ut="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function lt(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Xe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Xe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Xe.call(this._shortMonthsParse,a))||-1!==(i=Xe.call(this._longMonthsParse,a))?i:null:-1!==(i=Xe.call(this._longMonthsParse,a))||-1!==(i=Xe.call(this._shortMonthsParse,a))?i:null}function dt(e,t,n){var r,i,o;if(this._monthsParseExact)return ct.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=T(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),it(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pt(e){return null!=e?(ft(this,e),i.updateOffset(this,!0),this):Je(this,"Month")}function ht(){return it(this.year(),this.month())}var mt=Ae;function vt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=mt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}var gt=Ae;function yt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=gt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Le(r[t]),i[t]=Le(i[t]);for(t=0;t<24;t++)o[t]=Le(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function _t(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function wt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function kt(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function Et(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+kt(e,r,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function xt(e,t,n){var r,i,o=kt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+St(i=e.year()-1,t,n):a>St(e.year(),t,n)?(r=a-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function St(e,t,n){var r=kt(e,t,n),i=kt(e+1,t,n);return(Ge(e)-r+i)/7}function Tt(e){return xt(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ne("w",ge),Ne("ww",ge,pe),Ne("W",ge),Ne("WW",ge,pe),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=T(e)}));var Ct={dow:0,doy:6};function At(){return this._week.dow}function Ot(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Pt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function It(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ne("d",ge),Ne("e",ge),Ne("E",ge),Ne("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ne("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ne("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=T(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Rt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function qt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ft(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Bt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Xe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Xe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Xe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Xe.call(this._weekdaysParse,a))||-1!==(i=Xe.call(this._shortWeekdaysParse,a))||-1!==(i=Xe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Xe.call(this._shortWeekdaysParse,a))||-1!==(i=Xe.call(this._weekdaysParse,a))||-1!==(i=Xe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Xe.call(this._minWeekdaysParse,a))||-1!==(i=Xe.call(this._weekdaysParse,a))||-1!==(i=Xe.call(this._shortWeekdaysParse,a))?i:null}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Bt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=It(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Wt=Ae;function Yt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Gt=Ae;function Kt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Xt=Ae;function $t(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=Le(s[t]),u[t]=Le(u[t]),l[t]=Le(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){se(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}se("H",["HH",2],0,"hour"),se("h",["hh",2],0,Qt),se("k",["kk",2],0,Jt),se("hmm",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),$("hour","h"),ee("hour",13),Ne("a",tn),Ne("A",tn),Ne("H",ge),Ne("h",ge),Ne("k",ge),Ne("HH",ge,pe),Ne("hh",ge,pe),Ne("kk",ge,pe),Ne("hmm",ye),Ne("hmmss",be),Ne("Hmm",ye),Ne("Hmmss",be),Re(["H","HH"],Ue),Re(["k","kk"],(function(e,t,n){var r=T(e);t[Ue]=24===r?0:r})),Re(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Re(["h","hh"],(function(e,t,n){t[Ue]=T(e),g(n).bigHour=!0})),Re("hmm",(function(e,t,n){var r=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r)),g(n).bigHour=!0})),Re("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r,2)),t[He]=T(e.substr(i)),g(n).bigHour=!0})),Re("Hmm",(function(e,t,n){var r=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r))})),Re("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r,2)),t[He]=T(e.substr(i))}));var rn=/[ap]\.?m?\.?/i;function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn=Qe("Hours",!0),un={calendar:q,longDateFormat:F,invalidDate:U,ordinal:H,dayOfMonthOrdinalParse:V,relativeTime:Y,months:at,monthsShort:ut,week:Ct,weekdays:Mt,weekdaysMin:jt,weekdaysShort:Dt,meridiemParse:rn},ln={},cn={};function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=dn(e[o]).split("-")).length,n=(n=dn(e[o+1]))?n.split("-"):null;t>0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}o++}return an}function pn(t){var r=null;if(!ln[t]&&e&&e.exports)try{r=an._abbr,n(16515)("./"+t),hn(r)}catch(e){}return ln[t]}function hn(e,t){var n;return e&&((n=l(t)?gn(e):mn(e,t))?an=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function mn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])I("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new D(R(r,t)),cn[e]&&cn[e].forEach((function(e){mn(e.name,e.config)})),hn(e),ln[e]}return delete ln[e],null}function vn(e,t){if(null!=t){var n,r,i=un;null!=(r=pn(e))&&(i=r._config),(n=new D(t=R(i,t))).parentLocale=ln[e],ln[e]=n,hn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?ln[e]=ln[e].parentLocale:null!=ln[e]&&delete ln[e]);return ln[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!a(e)){if(t=pn(e))return t;e=[e]}return fn(e)}function yn(){return N(ln)}function bn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Fe]<0||n[Fe]>11?Fe:n[Be]<1||n[Be]>it(n[je],n[Fe])?Be:n[Ue]<0||n[Ue]>24||24===n[Ue]&&(0!==n[ze]||0!==n[He]||0!==n[Ve])?Ue:n[ze]<0||n[ze]>59?ze:n[He]<0||n[He]>59?He:n[Ve]<0||n[Ve]>999?Ve:-1,g(e)._overflowDayOfYear&&(t<je||t>Be)&&(t=Be),g(e)._overflowWeeks&&-1===t&&(t=We),g(e)._overflowWeekday&&-1===t&&(t=Ye),g(e).overflow=t),e}function _n(e,t,n){return null!=e?e:null!=t?t:n}function wn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function kn(e){var t,n,r,i,o,a=[];if(!e._d){for(r=wn(e),e._w&&null==e._a[Be]&&null==e._a[Fe]&&En(e),null!=e._dayOfYear&&(o=_n(e._a[je],r[je]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Fe]=n.getUTCMonth(),e._a[Be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ue]&&0===e._a[ze]&&0===e._a[He]&&0===e._a[Ve]&&(e._nextDay=!0,e._a[Ue]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ue]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function En(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=_n(t.GG,e._a[je],xt(Kn(),1,4).year),r=_n(t.W,1),((i=_n(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=xt(Kn(),o,a);n=_n(t.gg,e._a[je],l.year),r=_n(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(s=Et(n,r,i,o,a),e._a[je]=s.year,e._dayOfYear=s.dayOfYear)}var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],An=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((\-?\d+)/i;function Nn(e){var t,n,r,i,o,a,s=e._i,u=xn.exec(s)||Sn.exec(s);if(u){for(g(e).iso=!0,t=0,n=Cn.length;t<n;t++)if(Cn[t][1].exec(u[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=An.length;t<n;t++)if(An[t][1].exec(u[3])){o=(u[2]||" ")+An[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Tn.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Bn(e)}else e._isValid=!1}var Pn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function In(e,t,n,r,i,o){var a=[Ln(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rn(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function qn(e,t,n){if(e)return Dn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function jn(e){var t=Pn.exec(Mn(e._i));if(t){var n=In(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Rn(t[1],n,e))return;e._a=n,e._tzm=qn(t[8],t[9],t[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Fn(e){var t=On.exec(e._i);null===t?(Nn(e),!1===e._isValid&&(delete e._isValid,jn(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Bn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,n,r,o,a,s=""+e._i,u=s.length,l=0;for(r=de(e._f,e._locale).match(re)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(Pe(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&g(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),ae[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),qe(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-l,s.length>0&&g(e).unusedInput.push(s),e._a[Ue]<=12&&!0===g(e).bigHour&&e._a[Ue]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ue]=Un(e._locale,e._a[Ue],e._meridiem),kn(e),bn(e)}else jn(e);else Nn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function zn(e){var t,n,r,i,o;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Bn(t),y(t)&&(o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,(null==r||o<r)&&(r=o,n=t));h(e,n||t)}function Hn(e){if(!e._d){var t=Q(e._i);e._a=f([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),kn(e)}}function Vn(e){var t=new E(bn(Wn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Wn(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new E(bn(t)):(d(t)?e._d=t:a(n)?zn(e):n?Bn(e):Yn(e),y(e)||(e._d=null),e))}function Yn(e){var t=e._i;l(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Fn(e):a(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),kn(e)):s(t)?Hn(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Gn(e,t,n,r,i){var o={};return!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&u(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Vn(o)}function Kn(e,t,n,r){return Gn(e,t,n,r,!1)}i.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Xn=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),$n=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Zn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Qn(){return Zn("isBefore",[].slice.call(arguments,0))}function Jn(){return Zn("isAfter",[].slice.call(arguments,0))}var er=function(){return Date.now?Date.now():+new Date},tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nr(e){for(var t in e)if(-1===Xe.call(tr,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<tr.length;++r)if(e[tr[r]]){if(n)return!1;parseFloat(e[tr[r]])!==T(e[tr[r]])&&(n=!0)}return!0}function rr(){return this._isValid}function ir(){return Tr(NaN)}function or(e){var t=Q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=gn(),this._bubble()}function ar(e){return e instanceof or}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t){se(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ne(~~(e/60),2)+t+ne(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Ne("Z",Te),Ne("ZZ",Te),Re(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=cr(Te,e)}));var lr=/([\+\-]|\d\d)/gi;function cr(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(lr)||["-",0,0],i=60*r[1]+T(r[2]);return 0===i?0:"+"===r[0]?i:-i}function dr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||d(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Kn(e).local()}function fr(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function pr(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=cr(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=fr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Pr(this,Tr(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:fr(this)}function hr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function mr(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fr(this),"m")),this}function gr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=cr(Se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function br(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Wn(e))._a){var t=e._isUTC?m(e._a):Kn(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Er(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var xr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,o=e,a=null;return ar(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=xr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:T(a[Be])*n,h:T(a[Ue])*n,m:T(a[ze])*n,s:T(a[He])*n,ms:T(sr(1e3*a[Ve]))*n}):(a=Sr.exec(e))?(n="-"===a[1]?-1:1,o={y:Cr(a[2],n),M:Cr(a[3],n),w:Cr(a[4],n),d:Cr(a[5],n),h:Cr(a[6],n),m:Cr(a[7],n),s:Cr(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Or(Kn(o.from),Kn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(e)&&p(e,"_locale")&&(r._locale=e._locale),r}function Cr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ar(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Or(e,t){var n;return e.isValid()&&t.isValid()?(t=dr(t,e),e.isBefore(t)?n=Ar(e,t):((n=Ar(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Nr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(I(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Pr(this,Tr(n="string"==typeof n?+n:n,r),e),this}}function Pr(e,t,n,r){var o=t._milliseconds,a=sr(t._days),s=sr(t._months);e.isValid()&&(r=null==r||r,s&&ft(e,Je(e,"Month")+s*n),a&&et(e,"Date",Je(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Tr.fn=or.prototype,Tr.invalid=ir;var Ir=Nr(1,"add"),Lr=Nr(-1,"subtract");function Mr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Rr(e,t){var n=e||Kn(),r=dr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(L(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Kn(n)))}function Dr(){return new E(this)}function qr(e,t){var n=x(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=Z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function jr(e,t){var n=x(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=Z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Fr(e,t,n,r){var i=x(e)?e:Kn(e),o=x(t)?t:Kn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Br(e,t){var n,r=x(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=Z(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Ur(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function zr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Hr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=dr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=Z(t)){case"year":o=Vr(this,r)/12;break;case"month":o=Vr(this,r);break;case"quarter":o=Vr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:S(o)}function Vr(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Wr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Yr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?ce(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ce(n,"Z")):ce(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Gr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+r+i+o)}function Kr(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=ce(this,e);return this.localeData().postformat(t)}function Xr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Kn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function $r(e){return this.from(Kn(),e)}function Zr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Kn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Qr(e){return this.to(Kn(),e)}function Jr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ei=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ti(){return this._locale}function ni(e){switch(e=Z(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function ri(e){return void 0===(e=Z(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function ii(){return this._d.valueOf()-6e4*(this._offset||0)}function oi(){return Math.floor(this.valueOf()/1e3)}function ai(){return new Date(this.valueOf())}function si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ui(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function li(){return this.isValid()?this.toISOString():null}function ci(){return y(this)}function di(){return h({},g(this))}function fi(){return g(this).overflow}function pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function hi(e,t){se(0,[e,e.length],0,t)}function mi(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function vi(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function gi(){return St(this.year(),1,4)}function yi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function bi(e,t,n,r,i){var o;return null==e?xt(this,r,i).year:(t>(o=St(e,r,i))&&(t=o),_i.call(this,e,t,n,r,i))}function _i(e,t,n,r,i){var o=Et(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ne("G",xe),Ne("g",xe),Ne("GG",ge,pe),Ne("gg",ge,pe),Ne("GGGG",we,me),Ne("gggg",we,me),Ne("GGGGG",ke,ve),Ne("ggggg",ke,ve),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=T(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),$("quarter","Q"),ee("quarter",7),Ne("Q",fe),Re("Q",(function(e,t){t[Fe]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),$("date","D"),ee("date",9),Ne("D",ge),Ne("DD",ge,pe),Ne("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Re(["D","DD"],Be),Re("Do",(function(e,t){t[Be]=T(e.match(ge)[0])}));var ki=Qe("Date",!0);function Ei(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),ee("dayOfYear",4),Ne("DDD",_e),Ne("DDDD",he),Re(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=T(e)})),se("m",["mm",2],0,"minute"),$("minute","m"),ee("minute",14),Ne("m",ge),Ne("mm",ge,pe),Re(["m","mm"],ze);var xi=Qe("Minutes",!1);se("s",["ss",2],0,"second"),$("second","s"),ee("second",15),Ne("s",ge),Ne("ss",ge,pe),Re(["s","ss"],He);var Si,Ti=Qe("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),$("millisecond","ms"),ee("millisecond",16),Ne("S",_e,fe),Ne("SS",_e,pe),Ne("SSS",_e,he),Si="SSSS";Si.length<=9;Si+="S")Ne(Si,Ee);function Ci(e,t){t[Ve]=T(1e3*("0."+e))}for(Si="S";Si.length<=9;Si+="S")Re(Si,Ci);var Ai=Qe("Milliseconds",!1);function Oi(){return this._isUTC?"UTC":""}function Ni(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Pi=E.prototype;function Ii(e){return Kn(1e3*e)}function Li(){return Kn.apply(null,arguments).parseZone()}function Mi(e){return e}Pi.add=Ir,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=Hr,Pi.endOf=ri,Pi.format=Kr,Pi.from=Xr,Pi.fromNow=$r,Pi.to=Zr,Pi.toNow=Qr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=qr,Pi.isBefore=jr,Pi.isBetween=Fr,Pi.isSame=Br,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=zr,Pi.isValid=ci,Pi.lang=ei,Pi.locale=Jr,Pi.localeData=ti,Pi.max=$n,Pi.min=Xn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Lr,Pi.toArray=si,Pi.toObject=ui,Pi.toDate=ai,Pi.toISOString=Yr,Pi.inspect=Gr,Pi.toJSON=li,Pi.toString=Wr,Pi.unix=oi,Pi.valueOf=ii,Pi.creationData=pi,Pi.year=$e,Pi.isLeapYear=Ze,Pi.weekYear=mi,Pi.isoWeekYear=vi,Pi.quarter=Pi.quarters=wi,Pi.month=pt,Pi.daysInMonth=ht,Pi.week=Pi.weeks=Nt,Pi.isoWeek=Pi.isoWeeks=Pt,Pi.weeksInYear=yi,Pi.isoWeeksInYear=gi,Pi.date=ki,Pi.day=Pi.days=zt,Pi.weekday=Ht,Pi.isoWeekday=Vt,Pi.dayOfYear=Ei,Pi.hour=Pi.hours=sn,Pi.minute=Pi.minutes=xi,Pi.second=Pi.seconds=Ti,Pi.millisecond=Pi.milliseconds=Ai,Pi.utcOffset=pr,Pi.utc=mr,Pi.local=vr,Pi.parseZone=gr,Pi.hasAlignedHourOffset=yr,Pi.isDST=br,Pi.isLocal=wr,Pi.isUtcOffset=kr,Pi.isUtc=Er,Pi.isUTC=Er,Pi.zoneAbbr=Oi,Pi.zoneName=Ni,Pi.dates=O("dates accessor is deprecated. Use date instead.",ki),Pi.months=O("months accessor is deprecated. Use month instead",pt),Pi.years=O("years accessor is deprecated. Use year instead",$e),Pi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Pi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var Ri=D.prototype;function Di(e,t,n,r){var i=gn(),o=m().set(r,t);return i[n](o,e)}function qi(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return Di(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Di(e,r,n,"month");return i}function ji(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=gn(),a=e?o._week.dow:0;if(null!=n)return Di(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=Di(t,(i+a)%7,r,"day");return s}function Fi(e,t){return qi(e,t,"months")}function Bi(e,t){return qi(e,t,"monthsShort")}function Ui(e,t,n){return ji(e,t,n,"weekdays")}function zi(e,t,n){return ji(e,t,n,"weekdaysShort")}function Hi(e,t,n){return ji(e,t,n,"weekdaysMin")}Ri.calendar=j,Ri.longDateFormat=B,Ri.invalidDate=z,Ri.ordinal=W,Ri.preparse=Mi,Ri.postformat=Mi,Ri.relativeTime=G,Ri.pastFuture=K,Ri.set=M,Ri.months=st,Ri.monthsShort=lt,Ri.monthsParse=dt,Ri.monthsRegex=yt,Ri.monthsShortRegex=vt,Ri.week=Tt,Ri.firstDayOfYear=Ot,Ri.firstDayOfWeek=At,Ri.weekdays=Rt,Ri.weekdaysMin=Ft,Ri.weekdaysShort=qt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Yt,Ri.weekdaysShortRegex=Kt,Ri.weekdaysMinRegex=$t,Ri.isPM=nn,Ri.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=O("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=O("moment.langData is deprecated. Use moment.localeData instead.",gn);var Vi=Math.abs;function Wi(){var e=this._data;return this._milliseconds=Vi(this._milliseconds),this._days=Vi(this._days),this._months=Vi(this._months),e.milliseconds=Vi(e.milliseconds),e.seconds=Vi(e.seconds),e.minutes=Vi(e.minutes),e.hours=Vi(e.hours),e.months=Vi(e.months),e.years=Vi(e.years),this}function Yi(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Gi(e,t){return Yi(this,e,t,1)}function Ki(e,t){return Yi(this,e,t,-1)}function Xi(e){return e<0?Math.floor(e):Math.ceil(e)}function $i(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Xi(Qi(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=S(o/1e3),u.seconds=e%60,t=S(e/60),u.minutes=t%60,n=S(t/60),u.hours=n%24,a+=S(n/24),s+=i=S(Zi(a)),a-=Xi(Qi(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zi(e){return 4800*e/146097}function Qi(e){return 146097*e/4800}function Ji(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=Z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Zi(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function eo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}function to(e){return function(){return this.as(e)}}var no=to("ms"),ro=to("s"),io=to("m"),oo=to("h"),ao=to("d"),so=to("w"),uo=to("M"),lo=to("y");function co(){return Tr(this)}function fo(e){return e=Z(e),this.isValid()?this[e+"s"]():NaN}function po(e){return function(){return this.isValid()?this._data[e]:NaN}}var ho=po("milliseconds"),mo=po("seconds"),vo=po("minutes"),go=po("hours"),yo=po("days"),bo=po("months"),_o=po("years");function wo(){return S(this.days()/7)}var ko=Math.round,Eo={ss:44,s:45,m:45,h:22,d:26,M:11};function xo(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function So(e,t,n){var r=Tr(e).abs(),i=ko(r.as("s")),o=ko(r.as("m")),a=ko(r.as("h")),s=ko(r.as("d")),u=ko(r.as("M")),l=ko(r.as("y")),c=i<=Eo.ss&&["s",i]||i<Eo.s&&["ss",i]||o<=1&&["m"]||o<Eo.m&&["mm",o]||a<=1&&["h"]||a<Eo.h&&["hh",a]||s<=1&&["d"]||s<Eo.d&&["dd",s]||u<=1&&["M"]||u<Eo.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,xo.apply(null,c)}function To(e){return void 0===e?ko:"function"==typeof e&&(ko=e,!0)}function Co(e,t){return void 0!==Eo[e]&&(void 0===t?Eo[e]:(Eo[e]=t,"s"===e&&(Eo.ss=t-1),!0))}function Ao(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=So(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var Oo=Math.abs;function No(e){return(e>0)-(e<0)||+e}function Po(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Oo(this._milliseconds)/1e3,r=Oo(this._days),i=Oo(this._months);e=S(n/60),t=S(e/60),n%=60,e%=60;var o=S(i/12),a=i%=12,s=r,u=t,l=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=No(this._months)!==No(d)?"-":"",h=No(this._days)!==No(d)?"-":"",m=No(this._milliseconds)!==No(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||l||c?"T":"")+(u?m+u+"H":"")+(l?m+l+"M":"")+(c?m+c+"S":"")}var Io=or.prototype;return Io.isValid=rr,Io.abs=Wi,Io.add=Gi,Io.subtract=Ki,Io.as=Ji,Io.asMilliseconds=no,Io.asSeconds=ro,Io.asMinutes=io,Io.asHours=oo,Io.asDays=ao,Io.asWeeks=so,Io.asMonths=uo,Io.asYears=lo,Io.valueOf=eo,Io._bubble=$i,Io.clone=co,Io.get=fo,Io.milliseconds=ho,Io.seconds=mo,Io.minutes=vo,Io.hours=go,Io.days=yo,Io.weeks=wo,Io.months=bo,Io.years=_o,Io.humanize=Ao,Io.toISOString=Po,Io.toString=Po,Io.toJSON=Po,Io.locale=Jr,Io.localeData=ti,Io.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Po),Io.lang=ei,se("X",0,0,"unix"),se("x",0,0,"valueOf"),Ne("x",xe),Ne("X",Ce),Re("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),Re("x",(function(e,t,n){n._d=new Date(T(e))})),i.version="2.23.0",o(Kn),i.fn=Pi,i.min=Qn,i.max=Jn,i.now=er,i.utc=m,i.unix=Ii,i.months=Fi,i.isDate=d,i.locale=hn,i.invalid=b,i.duration=Tr,i.isMoment=x,i.weekdays=Ui,i.parseZone=Li,i.localeData=gn,i.isDuration=ar,i.monthsShort=Bi,i.weekdaysMin=Hi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=zi,i.normalizeUnits=Z,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Mr,i.prototype=Pi,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},11419:function(e,t,n){var r=n(51492)();r.helpers=n(68743),n(52371)(r),r.Animation=n(20393),r.animationService=n(68762),r.defaults=n(4398),r.Element=n(20054),r.elements=n(96292),r.Interaction=n(53110),r.layouts=n(49234),r.platform=n(14511),r.plugins=n(91408),r.Scale=n(26925),r.scaleService=n(73920),r.Ticks=n(81933),r.Tooltip=n(18680),n(1210)(r),n(63946)(r),n(94979)(r),n(63318)(r),n(61503)(r),n(26524)(r),n(88759)(r),n(82172)(r),n(39914)(r),n(69486)(r),n(93547)(r),n(3643)(r),n(3843)(r),n(17340)(r),n(75084)(r),n(26295)(r),n(48133)(r),n(87362)(r),n(50498)(r),n(51653)(r),n(85610)(r),n(38563)(r);var i=n(29325);for(var o in i)i.hasOwnProperty(o)&&r.plugins.register(i[o]);r.platform.initialize(),e.exports=r,"undefined"!=typeof window&&(window.Chart=r),r.Legend=i.legend._element,r.Title=i.title._element,r.pluginService=r.plugins,r.PluginBase=r.Element.extend({}),r.canvasHelpers=r.helpers.canvas,r.layoutService=r.layouts},26295:function(e){"use strict";e.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},48133:function(e){"use strict";e.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},87362:function(e){"use strict";e.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},50498:function(e){"use strict";e.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},51653:function(e){"use strict";e.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},85610:function(e){"use strict";e.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},38563:function(e){"use strict";e.exports=function(e){e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},39914:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),r._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:i.Rectangle,initialize:function(){var t,n=this;e.DatasetController.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0},update:function(e){var t,n,r=this,i=r.getMeta().data;for(r._ruler=r.getRuler(),t=0,n=i.length;t<n;++t)r.updateElement(i[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getMeta(),s=r.getDataset(),u=e.custom||{},l=i.options.elements.rectangle;e._xScale=r.getScaleForId(a.xAxisID),e._yScale=r.getScaleForId(a.yAxisID),e._datasetIndex=r.index,e._index=t,e._model={datasetLabel:s.label,label:i.data.labels[t],borderSkipped:u.borderSkipped?u.borderSkipped:l.borderSkipped,backgroundColor:u.backgroundColor?u.backgroundColor:o.valueAtIndexOrDefault(s.backgroundColor,t,l.backgroundColor),borderColor:u.borderColor?u.borderColor:o.valueAtIndexOrDefault(s.borderColor,t,l.borderColor),borderWidth:u.borderWidth?u.borderWidth:o.valueAtIndexOrDefault(s.borderWidth,t,l.borderWidth)},r.updateElementGeometry(e,t,n),e.pivot()},updateElementGeometry:function(e,t,n){var r=this,i=e._model,o=r.getValueScale(),a=o.getBasePixel(),s=o.isHorizontal(),u=r._ruler||r.getRuler(),l=r.calculateBarValuePixels(r.index,t),c=r.calculateBarIndexPixels(r.index,t,u);i.horizontal=s,i.base=n?a:l.base,i.x=s?n?a:l.head:c.center,i.y=s?c.center:n?a:l.head,i.height=s?c.size:void 0,i.width=s?void 0:c.size},getValueScaleId:function(){return this.getMeta().yAxisID},getIndexScaleId:function(){return this.getMeta().xAxisID},getValueScale:function(){return this.getScaleForId(this.getValueScaleId())},getIndexScale:function(){return this.getScaleForId(this.getIndexScaleId())},_getStacks:function(e){var t,n,r=this.chart,i=this.getIndexScale().options.stacked,o=void 0===e?r.data.datasets.length:e+1,a=[];for(t=0;t<o;++t)(n=r.getDatasetMeta(t)).bar&&r.isDatasetVisible(t)&&(!1===i||!0===i&&-1===a.indexOf(n.stack)||void 0===i&&(void 0===n.stack||-1===a.indexOf(n.stack)))&&a.push(n.stack);return a},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n,r=this,i=r.getIndexScale(),a=r.getStackCount(),s=r.index,u=i.isHorizontal(),l=u?i.left:i.top,c=l+(u?i.width:i.height),d=[];for(e=0,t=r.getMeta().data.length;e<t;++e)d.push(i.getPixelForValue(null,e,s));return n=o.isNullOrUndef(i.options.barThickness)?function(e,t){var n,r,i,o,a=e.isHorizontal()?e.width:e.height,s=e.getTicks();for(i=1,o=t.length;i<o;++i)a=Math.min(a,t[i]-t[i-1]);for(i=0,o=s.length;i<o;++i)r=e.getPixelForTick(i),a=i>0?Math.min(a,r-n):a,n=r;return a}(i,d):-1,{min:n,pixels:d,start:l,end:c,stackCount:a,scale:i}},calculateBarValuePixels:function(e,t){var n,r,i,o,a,s,u=this,l=u.chart,c=u.getMeta(),d=u.getValueScale(),f=l.data.datasets,p=d.getRightValue(f[e].data[t]),h=d.options.stacked,m=c.stack,v=0;if(h||void 0===h&&void 0!==m)for(n=0;n<e;++n)(r=l.getDatasetMeta(n)).bar&&r.stack===m&&r.controller.getValueScaleId()===d.id&&l.isDatasetVisible(n)&&(i=d.getRightValue(f[n].data[t]),(p<0&&i<0||p>=0&&i>0)&&(v+=i));return o=d.getPixelForValue(v),{size:s=((a=d.getPixelForValue(v+p))-o)/2,base:o,head:a,center:a+s/2}},calculateBarIndexPixels:function(e,t,n){var r=n.scale.options,i="flex"===r.barThickness?function(e,t,n){var r,i=t.pixels,o=i[e],a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,u=n.categoryPercentage;return null===a&&(a=o-(null===s?t.end-o:s-o)),null===s&&(s=o+o-a),r=o-(o-a)/2*u,{chunk:(s-a)/2*u/t.stackCount,ratio:n.barPercentage,start:r}}(t,n,r):function(e,t,n){var r,i,a=n.barThickness,s=t.stackCount,u=t.pixels[e];return o.isNullOrUndef(a)?(r=t.min*n.categoryPercentage,i=n.barPercentage):(r=a*s,i=1),{chunk:r/s,ratio:i,start:u-r/2}}(t,n,r),a=this.getStackIndex(e,this.getMeta().stack),s=i.start+i.chunk*a+i.chunk/2,u=Math.min(o.valueOrDefault(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-u/2,head:s+u/2,center:s,size:u}},draw:function(){var e=this,t=e.chart,n=e.getValueScale(),r=e.getMeta().data,i=e.getDataset(),a=r.length,s=0;for(o.canvas.clipArea(t.ctx,t.chartArea);s<a;++s)isNaN(n.getRightValue(i.data[s]))||r[s].draw();o.canvas.unclipArea(t.ctx)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},69486:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}}),e.exports=function(e){e.controllers.bubble=e.DatasetController.extend({dataElementType:i.Point,update:function(e){var t=this,n=t.getMeta().data;o.each(n,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,i=r.getMeta(),o=e.custom||{},a=r.getScaleForId(i.xAxisID),s=r.getScaleForId(i.yAxisID),u=r._resolveElementOptions(e,t),l=r.getDataset().data[t],c=r.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof l?l:NaN,t,c),f=n?s.getBasePixel():s.getPixelForValue(l,t,c);e._xScale=a,e._yScale=s,e._options=u,e._datasetIndex=c,e._index=t,e._model={backgroundColor:u.backgroundColor,borderColor:u.borderColor,borderWidth:u.borderWidth,hitRadius:u.hitRadius,pointStyle:u.pointStyle,rotation:u.rotation,radius:n?0:u.radius,skip:o.skip||isNaN(d)||isNaN(f),x:d,y:f},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=o.valueOrDefault(n.hoverBackgroundColor,o.getHoverColor(n.backgroundColor)),t.borderColor=o.valueOrDefault(n.hoverBorderColor,o.getHoverColor(n.borderColor)),t.borderWidth=o.valueOrDefault(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveElementOptions:function(e,t){var n,r,i,a=this,s=a.chart,u=s.data.datasets[a.index],l=e.custom||{},c=s.options.elements.point,d=o.options.resolve,f=u.data[t],p={},h={chart:s,dataIndex:t,dataset:u,datasetIndex:a.index},m=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"];for(n=0,r=m.length;n<r;++n)p[i=m[n]]=d([l[i],u[i],c[i]],h,t);return p.radius=d([l.radius,f?f.r:void 0,u.radius,c.radius],h,t),p}})}},93547:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o<r[0].data.length;++o)t.push('<li><span style="background-color:'+r[0].backgroundColor[o]+'"></span>'),i[o]&&t.push(i[o]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),a=t.datasets[0],s=i.data[r],u=s&&s.custom||{},l=o.valueAtIndexOrDefault,c=e.options.elements.arc;return{text:n,fillStyle:u.backgroundColor?u.backgroundColor:l(a.backgroundColor,r,c.backgroundColor),strokeStyle:u.borderColor?u.borderColor:l(a.borderColor,r,c.borderColor),lineWidth:u.borderWidth?u.borderWidth:l(a.borderWidth,r,c.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o]&&(i.data[o].hidden=!i.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return o.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}}),r._set("pie",o.clone(r.doughnut)),r._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:i.Arc,linkScales:o.noop,getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t=this,n=t.chart,r=n.chartArea,i=n.options,a=i.elements.arc,s=r.right-r.left-a.borderWidth,u=r.bottom-r.top-a.borderWidth,l=Math.min(s,u),c={x:0,y:0},d=t.getMeta(),f=i.cutoutPercentage,p=i.circumference;if(p<2*Math.PI){var h=i.rotation%(2*Math.PI),m=(h+=2*Math.PI*(h>=Math.PI?-1:h<-Math.PI?1:0))+p,v={x:Math.cos(h),y:Math.sin(h)},g={x:Math.cos(m),y:Math.sin(m)},y=h<=0&&m>=0||h<=2*Math.PI&&2*Math.PI<=m,b=h<=.5*Math.PI&&.5*Math.PI<=m||h<=2.5*Math.PI&&2.5*Math.PI<=m,_=h<=-Math.PI&&-Math.PI<=m||h<=Math.PI&&Math.PI<=m,w=h<=.5*-Math.PI&&.5*-Math.PI<=m||h<=1.5*Math.PI&&1.5*Math.PI<=m,k=f/100,E={x:_?-1:Math.min(v.x*(v.x<0?1:k),g.x*(g.x<0?1:k)),y:w?-1:Math.min(v.y*(v.y<0?1:k),g.y*(g.y<0?1:k))},x={x:y?1:Math.max(v.x*(v.x>0?1:k),g.x*(g.x>0?1:k)),y:b?1:Math.max(v.y*(v.y>0?1:k),g.y*(g.y>0?1:k))},S={width:.5*(x.x-E.x),height:.5*(x.y-E.y)};l=Math.min(s/S.width,u/S.height),c={x:-.5*(x.x+E.x),y:-.5*(x.y+E.y)}}n.borderWidth=t.getMaxBorderWidth(d.data),n.outerRadius=Math.max((l-n.borderWidth)/2,0),n.innerRadius=Math.max(f?n.outerRadius/100*f:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,d.total=t.calculateTotal(),t.outerRadius=n.outerRadius-n.radiusLength*t.getRingIndex(t.index),t.innerRadius=Math.max(t.outerRadius-n.radiusLength,0),o.each(d.data,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,i=r.chart,a=i.chartArea,s=i.options,u=s.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=s.rotation,f=s.rotation,p=r.getDataset(),h=n&&u.animateRotate||e.hidden?0:r.calculateCircumference(p.data[t])*(s.circumference/(2*Math.PI)),m=n&&u.animateScale?0:r.innerRadius,v=n&&u.animateScale?0:r.outerRadius,g=o.valueAtIndexOrDefault;o.extend(e,{_datasetIndex:r.index,_index:t,_model:{x:l+i.offsetX,y:c+i.offsetY,startAngle:d,endAngle:f,circumference:h,outerRadius:v,innerRadius:m,label:g(p.label,t,i.data.labels[t])}});var y=e._model,b=e.custom||{},_=o.valueAtIndexOrDefault,w=this.chart.options.elements.arc;y.backgroundColor=b.backgroundColor?b.backgroundColor:_(p.backgroundColor,t,w.backgroundColor),y.borderColor=b.borderColor?b.borderColor:_(p.borderColor,t,w.borderColor),y.borderWidth=b.borderWidth?b.borderWidth:_(p.borderWidth,t,w.borderWidth),n&&u.animateRotate||(y.startAngle=0===t?s.rotation:r.getMeta().data[t-1]._model.endAngle,y.endAngle=y.startAngle+y.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return o.each(n.data,(function(n,i){e=t.data[i],isNaN(e)||n.hidden||(r+=Math.abs(e))})),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?2*Math.PI*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){for(var t,n,r=0,i=this.index,o=e.length,a=0;a<o;a++)t=e[a]._model?e[a]._model.borderWidth:0,r=(n=e[a]._chart?e[a]._chart.config.data.datasets[i].hoverBorderWidth:0)>(r=t>r?t:r)?n:r;return r}})}},3643:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(e){function t(e,t){return o.valueOrDefault(e.showLine,t.showLines)}e.controllers.line=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,update:function(e){var n,r,i,a=this,s=a.getMeta(),u=s.dataset,l=s.data||[],c=a.chart.options,d=c.elements.line,f=a.getScaleForId(s.yAxisID),p=a.getDataset(),h=t(p,c);for(h&&(i=u.custom||{},void 0!==p.tension&&void 0===p.lineTension&&(p.lineTension=p.tension),u._scale=f,u._datasetIndex=a.index,u._children=l,u._model={spanGaps:p.spanGaps?p.spanGaps:c.spanGaps,tension:i.tension?i.tension:o.valueOrDefault(p.lineTension,d.tension),backgroundColor:i.backgroundColor?i.backgroundColor:p.backgroundColor||d.backgroundColor,borderWidth:i.borderWidth?i.borderWidth:p.borderWidth||d.borderWidth,borderColor:i.borderColor?i.borderColor:p.borderColor||d.borderColor,borderCapStyle:i.borderCapStyle?i.borderCapStyle:p.borderCapStyle||d.borderCapStyle,borderDash:i.borderDash?i.borderDash:p.borderDash||d.borderDash,borderDashOffset:i.borderDashOffset?i.borderDashOffset:p.borderDashOffset||d.borderDashOffset,borderJoinStyle:i.borderJoinStyle?i.borderJoinStyle:p.borderJoinStyle||d.borderJoinStyle,fill:i.fill?i.fill:void 0!==p.fill?p.fill:d.fill,steppedLine:i.steppedLine?i.steppedLine:o.valueOrDefault(p.steppedLine,d.stepped),cubicInterpolationMode:i.cubicInterpolationMode?i.cubicInterpolationMode:o.valueOrDefault(p.cubicInterpolationMode,d.cubicInterpolationMode)},u.pivot()),n=0,r=l.length;n<r;++n)a.updateElement(l[n],n,e);for(h&&0!==u._model.tension&&a.updateBezierControlPoints(),n=0,r=l.length;n<r;++n)l[n].pivot()},getPointBackgroundColor:function(e,t){var n=this.chart.options.elements.point.backgroundColor,r=this.getDataset(),i=e.custom||{};return i.backgroundColor?n=i.backgroundColor:r.pointBackgroundColor?n=o.valueAtIndexOrDefault(r.pointBackgroundColor,t,n):r.backgroundColor&&(n=r.backgroundColor),n},getPointBorderColor:function(e,t){var n=this.chart.options.elements.point.borderColor,r=this.getDataset(),i=e.custom||{};return i.borderColor?n=i.borderColor:r.pointBorderColor?n=o.valueAtIndexOrDefault(r.pointBorderColor,t,n):r.borderColor&&(n=r.borderColor),n},getPointBorderWidth:function(e,t){var n=this.chart.options.elements.point.borderWidth,r=this.getDataset(),i=e.custom||{};return isNaN(i.borderWidth)?!isNaN(r.pointBorderWidth)||o.isArray(r.pointBorderWidth)?n=o.valueAtIndexOrDefault(r.pointBorderWidth,t,n):isNaN(r.borderWidth)||(n=r.borderWidth):n=i.borderWidth,n},getPointRotation:function(e,t){var n=this.chart.options.elements.point.rotation,r=this.getDataset(),i=e.custom||{};return isNaN(i.rotation)?isNaN(r.pointRotation)&&!o.isArray(r.pointRotation)||(n=o.valueAtIndexOrDefault(r.pointRotation,t,n)):n=i.rotation,n},updateElement:function(e,t,n){var r,i,a=this,s=a.getMeta(),u=e.custom||{},l=a.getDataset(),c=a.index,d=l.data[t],f=a.getScaleForId(s.yAxisID),p=a.getScaleForId(s.xAxisID),h=a.chart.options.elements.point;void 0!==l.radius&&void 0===l.pointRadius&&(l.pointRadius=l.radius),void 0!==l.hitRadius&&void 0===l.pointHitRadius&&(l.pointHitRadius=l.hitRadius),r=p.getPixelForValue("object"==typeof d?d:NaN,t,c),i=n?f.getBasePixel():a.calculatePointY(d,t,c),e._xScale=p,e._yScale=f,e._datasetIndex=c,e._index=t,e._model={x:r,y:i,skip:u.skip||isNaN(r)||isNaN(i),radius:u.radius||o.valueAtIndexOrDefault(l.pointRadius,t,h.radius),pointStyle:u.pointStyle||o.valueAtIndexOrDefault(l.pointStyle,t,h.pointStyle),rotation:a.getPointRotation(e,t),backgroundColor:a.getPointBackgroundColor(e,t),borderColor:a.getPointBorderColor(e,t),borderWidth:a.getPointBorderWidth(e,t),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:u.hitRadius||o.valueAtIndexOrDefault(l.pointHitRadius,t,h.hitRadius)}},calculatePointY:function(e,t,n){var r,i,o,a=this,s=a.chart,u=a.getMeta(),l=a.getScaleForId(u.yAxisID),c=0,d=0;if(l.options.stacked){for(r=0;r<n;r++)if(i=s.data.datasets[r],"line"===(o=s.getDatasetMeta(r)).type&&o.yAxisID===l.id&&s.isDatasetVisible(r)){var f=Number(l.getRightValue(i.data[t]));f<0?d+=f||0:c+=f||0}var p=Number(l.getRightValue(e));return p<0?l.getPixelForValue(d+p):l.getPixelForValue(c+p)}return l.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this,a=i.getMeta(),s=i.chart.chartArea,u=a.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}if(a.dataset._model.spanGaps&&(u=u.filter((function(e){return!e._model.skip}))),"monotone"===a.dataset._model.cubicInterpolationMode)o.splineCurveMonotone(u);else for(e=0,t=u.length;e<t;++e)n=u[e]._model,r=o.splineCurve(o.previousItem(u,e)._model,n,o.nextItem(u,e)._model,a.dataset._model.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(i.chart.options.elements.line.capBezierPoints)for(e=0,t=u.length;e<t;++e)(n=u[e]._model).controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom),n.controlPointNextX=l(n.controlPointNextX,s.left,s.right),n.controlPointNextY=l(n.controlPointNextY,s.top,s.bottom)},draw:function(){var e,n=this,r=n.chart,i=n.getMeta(),a=i.data||[],s=r.chartArea,u=a.length,l=0;for(t(n.getDataset(),r.options)&&(e=(i.dataset._model.borderWidth||0)/2,o.canvas.clipArea(r.ctx,{left:s.left,right:s.right,top:s.top-e,bottom:s.bottom+e}),i.dataset.draw(),o.canvas.unclipArea(r.ctx));l<u;++l)a[l].draw(s)},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},i=e._model;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth,radius:i.radius},i.backgroundColor=r.hoverBackgroundColor||o.valueAtIndexOrDefault(t.pointHoverBackgroundColor,n,o.getHoverColor(i.backgroundColor)),i.borderColor=r.hoverBorderColor||o.valueAtIndexOrDefault(t.pointHoverBorderColor,n,o.getHoverColor(i.borderColor)),i.borderWidth=r.hoverBorderWidth||o.valueAtIndexOrDefault(t.pointHoverBorderWidth,n,i.borderWidth),i.radius=r.hoverRadius||o.valueAtIndexOrDefault(t.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius)}})}},3843:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');var n=e.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o<r[0].data.length;++o)t.push('<li><span style="background-color:'+r[0].backgroundColor[o]+'"></span>'),i[o]&&t.push(i[o]),t.push("</li>");return t.push("</ul>"),t.join("")},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),a=t.datasets[0],s=i.data[r].custom||{},u=o.valueAtIndexOrDefault,l=e.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(a.backgroundColor,r,l.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(a.borderColor,r,l.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(a.borderWidth,r,l.borderWidth),hidden:isNaN(a.data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o].hidden=!i.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:i.Arc,linkScales:o.noop,update:function(e){var t,n,r,i=this,a=i.getDataset(),s=i.getMeta(),u=i.chart.options.startAngle||0,l=i._starts=[],c=i._angles=[];for(i._updateRadius(),s.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)l[t]=u,r=i._computeAngle(t),c[t]=r,u+=r;o.each(s.data,(function(t,n){i.updateElement(t,n,e)}))},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,i=r.elements.arc,o=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max((o-i.borderWidth/2)/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getDataset(),s=i.options,u=s.animation,l=i.scale,c=i.data.labels,d=l.xCenter,f=l.yCenter,p=s.startAngle,h=e.hidden?0:l.getDistanceFromCenterForValue(a.data[t]),m=r._starts[t],v=m+(e.hidden?0:r._angles[t]),g=u.animateScale?0:l.getDistanceFromCenterForValue(a.data[t]);o.extend(e,{_datasetIndex:r.index,_index:t,_scale:l,_model:{x:d,y:f,innerRadius:0,outerRadius:n?g:h,startAngle:n&&u.animateRotate?p:m,endAngle:n&&u.animateRotate?p:v,label:o.valueAtIndexOrDefault(c,t,c[t])}});var y=this.chart.options.elements.arc,b=e.custom||{},_=o.valueAtIndexOrDefault,w=e._model;w.backgroundColor=b.backgroundColor?b.backgroundColor:_(a.backgroundColor,t,y.backgroundColor),w.borderColor=b.borderColor?b.borderColor:_(a.borderColor,t,y.borderColor),w.borderWidth=b.borderWidth?b.borderWidth:_(a.borderWidth,t,y.borderWidth),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return o.each(t.data,(function(t,r){isNaN(e.data[r])||t.hidden||n++})),n},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),i=t.getMeta();if(isNaN(r.data[e])||i.data[e].hidden)return 0;var a={chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index};return o.options.resolve([t.chart.options.elements.arc.angle,2*Math.PI/n],a,e)}})}},17340:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(e){e.controllers.radar=e.DatasetController.extend({datasetElementType:i.Line,dataElementType:i.Point,linkScales:o.noop,update:function(e){var t=this,n=t.getMeta(),r=n.dataset,i=n.data,a=r.custom||{},s=t.getDataset(),u=t.chart.options.elements.line,l=t.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o.extend(n.dataset,{_datasetIndex:t.index,_scale:l,_children:i,_loop:!0,_model:{tension:a.tension?a.tension:o.valueOrDefault(s.lineTension,u.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||u.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||u.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||u.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:u.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||u.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||u.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||u.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||u.borderJoinStyle}}),n.dataset.pivot(),o.each(i,(function(n,r){t.updateElement(n,r,e)}),t),t.updateBezierControlPoints()},updateElement:function(e,t,n){var r=this,i=e.custom||{},a=r.getDataset(),s=r.chart.scale,u=r.chart.options.elements.point,l=s.getPointPositionForValue(t,a.data[t]);void 0!==a.radius&&void 0===a.pointRadius&&(a.pointRadius=a.radius),void 0!==a.hitRadius&&void 0===a.pointHitRadius&&(a.pointHitRadius=a.hitRadius),o.extend(e,{_datasetIndex:r.index,_index:t,_scale:s,_model:{x:n?s.xCenter:l.x,y:n?s.yCenter:l.y,tension:i.tension?i.tension:o.valueOrDefault(a.lineTension,r.chart.options.elements.line.tension),radius:i.radius?i.radius:o.valueAtIndexOrDefault(a.pointRadius,t,u.radius),backgroundColor:i.backgroundColor?i.backgroundColor:o.valueAtIndexOrDefault(a.pointBackgroundColor,t,u.backgroundColor),borderColor:i.borderColor?i.borderColor:o.valueAtIndexOrDefault(a.pointBorderColor,t,u.borderColor),borderWidth:i.borderWidth?i.borderWidth:o.valueAtIndexOrDefault(a.pointBorderWidth,t,u.borderWidth),pointStyle:i.pointStyle?i.pointStyle:o.valueAtIndexOrDefault(a.pointStyle,t,u.pointStyle),rotation:i.rotation?i.rotation:o.valueAtIndexOrDefault(a.pointRotation,t,u.rotation),hitRadius:i.hitRadius?i.hitRadius:o.valueAtIndexOrDefault(a.pointHitRadius,t,u.hitRadius)}}),e._model.skip=i.skip?i.skip:isNaN(e._model.x)||isNaN(e._model.y)},updateBezierControlPoints:function(){var e=this.chart.chartArea,t=this.getMeta();o.each(t.data,(function(n,r){var i=n._model,a=o.splineCurve(o.previousItem(t.data,r,!0)._model,i,o.nextItem(t.data,r,!0)._model,i.tension);i.controlPointPreviousX=Math.max(Math.min(a.previous.x,e.right),e.left),i.controlPointPreviousY=Math.max(Math.min(a.previous.y,e.bottom),e.top),i.controlPointNextX=Math.max(Math.min(a.next.x,e.right),e.left),i.controlPointNextY=Math.max(Math.min(a.next.y,e.bottom),e.top),n.pivot()}))},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e.custom||{},r=e._index,i=e._model;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth,radius:i.radius},i.radius=n.hoverRadius?n.hoverRadius:o.valueAtIndexOrDefault(t.pointHoverRadius,r,this.chart.options.elements.point.hoverRadius),i.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:o.valueAtIndexOrDefault(t.pointHoverBackgroundColor,r,o.getHoverColor(i.backgroundColor)),i.borderColor=n.hoverBorderColor?n.hoverBorderColor:o.valueAtIndexOrDefault(t.pointHoverBorderColor,r,o.getHoverColor(i.borderColor)),i.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:o.valueAtIndexOrDefault(t.pointHoverBorderWidth,r,i.borderWidth)}})}},75084:function(e,t,n){"use strict";n(4398)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),e.exports=function(e){e.controllers.scatter=e.controllers.line}},20393:function(e,t,n){"use strict";var r=n(20054),i=e.exports=r.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null});Object.defineProperty(i.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(i.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}})},68762:function(e,t,n){"use strict";var r=n(4398),i=n(68743);r._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:i.noop,onComplete:i.noop}}),e.exports={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(e,t,n,r){var i,o,a=this.animations;for(t.chart=e,r||(e.animating=!0),i=0,o=a.length;i<o;++i)if(a[i].chart===e)return void(a[i]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=i.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=i.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){var e=this,t=Date.now(),n=0;e.dropFrames>1&&(n=Math.floor(e.dropFrames),e.dropFrames=e.dropFrames%1),e.advance(1+n);var r=Date.now();e.dropFrames+=(r-t)/e.frameDuration,e.animations.length>0&&e.requestAnimationFrame()},advance:function(e){for(var t,n,r=this.animations,o=0;o<r.length;)n=(t=r[o]).chart,t.currentStep=(t.currentStep||0)+e,t.currentStep=Math.min(t.currentStep,t.numSteps),i.callback(t.render,[n,t],n),i.callback(t.onAnimationProgress,[t],n),t.currentStep>=t.numSteps?(i.callback(t.onAnimationComplete,[t],n),n.animating=!1,r.splice(o,1)):++o}}},1210:function(e,t,n){"use strict";var r=n(20393),i=n(68762),o=n(4398),a=n(68743),s=n(53110),u=n(49234),l=n(14511),c=n(91408),d=n(73920),f=n(18680);e.exports=function(e){function t(t){var n=t.options;a.each(t.scales,(function(e){u.removeBox(t,e)})),n=a.configMerge(e.defaults.global,e.defaults[t.config.type],n),t.options=t.config.options=n,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=n.tooltips,t.tooltip.initialize()}function n(e){return"top"===e||"bottom"===e}e.types={},e.instances={},e.controllers={},a.extend(e.prototype,{construct:function(t,n){var r=this;n=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=a.configMerge(o.global,o[e.type],e.options||{}),e}(n);var i=l.acquireContext(t,n),s=i&&i.canvas,u=s&&s.height,c=s&&s.width;r.id=a.uid(),r.ctx=i,r.canvas=s,r.config=n,r.width=c,r.height=u,r.aspectRatio=u?c/u:null,r.options=n.options,r._bufferedRender=!1,r.chart=r,r.controller=r,e.instances[r.id]=r,Object.defineProperty(r,"data",{get:function(){return r.config.data},set:function(e){r.config.data=e}}),i&&s?(r.initialize(),r.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return c.notify(e,"beforeInit"),a.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),c.notify(e,"afterInit"),e},clear:function(){return a.canvas.clear(this),this},stop:function(){return i.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor(a.getMaximumWidth(r))),s=Math.max(0,Math.floor(i?o/i:a.getMaximumHeight(r)));if((t.width!==o||t.height!==s)&&(r.width=t.width=o,r.height=t.height=s,r.style.width=o+"px",r.style.height=s+"px",a.retinaScale(t,n.devicePixelRatio),!e)){var u={width:o,height:s};c.notify(t,"resize",[u]),t.options.onResize&&t.options.onResize(t,u),t.stop(),t.update({duration:t.options.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;a.each(t.xAxes,(function(e,t){e.id=e.id||"x-axis-"+t})),a.each(t.yAxes,(function(e,t){e.id=e.id||"y-axis-"+t})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,r=e.scales||{},i=[],o=Object.keys(r).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(i=i.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&i.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),a.each(i,(function(t){var i=t.options,s=i.id,u=a.valueOrDefault(i.type,t.dtype);n(i.position)!==n(t.dposition)&&(i.position=t.dposition),o[s]=!0;var l=null;if(s in r&&r[s].type===u)(l=r[s]).options=i,l.ctx=e.ctx,l.chart=e;else{var c=d.getScaleConstructor(u);if(!c)return;l=new c({id:s,type:u,options:i,ctx:e.ctx,chart:e}),r[l.id]=l}l.mergeTicksOptions(),t.isDefault&&(e.scale=l)})),a.each(o,(function(e,t){e||delete r[t]})),e.scales=r,d.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t=this,n=[],r=[];return a.each(t.data.datasets,(function(i,o){var a=t.getDatasetMeta(o),s=i.type||t.config.type;if(a.type&&a.type!==s&&(t.destroyDatasetMeta(o),a=t.getDatasetMeta(o)),a.type=s,n.push(a.type),a.controller)a.controller.updateIndex(o),a.controller.linkScales();else{var u=e.controllers[a.type];if(void 0===u)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new u(t,o),r.push(a.controller)}}),t),r},resetElements:function(){var e=this;a.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var n=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),t(n),c._invalidate(n),!1!==c.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var r=n.buildOrUpdateControllers();a.each(n.data.datasets,(function(e,t){n.getDatasetMeta(t).controller.buildOrUpdateElements()}),n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&a.each(r,(function(e){e.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],c.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:n.render(e)}},updateLayout:function(){var e=this;!1!==c.notify(e,"beforeLayout")&&(u.update(this,this.width,this.height),c.notify(e,"afterScaleUpdate"),c.notify(e,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==c.notify(e,"beforeDatasetsUpdate")){for(var t=0,n=e.data.datasets.length;t<n;++t)e.updateDataset(t);c.notify(e,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this,n=t.getDatasetMeta(e),r={meta:n,index:e};!1!==c.notify(t,"beforeDatasetUpdate",[r])&&(n.controller.update(),c.notify(t,"afterDatasetUpdate",[r]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=e.duration,o=e.lazy;if(!1!==c.notify(t,"beforeRender")){var s=t.options.animation,u=function(e){c.notify(t,"afterRender"),a.callback(s&&s.onComplete,[e],t)};if(s&&(void 0!==n&&0!==n||void 0===n&&0!==s.duration)){var l=new r({numSteps:(n||s.duration)/16.66,easing:e.easing||s.easing,render:function(e,t){var n=a.easing.effects[t.easing],r=t.currentStep,i=r/t.numSteps;e.draw(n(i),i,r)},onAnimationProgress:s.onProgress,onAnimationComplete:u});i.addAnimation(t,l,n,o)}else t.draw(),u(new r({numSteps:0,chart:t}));return t}},draw:function(e){var t=this;t.clear(),a.isNullOrUndef(e)&&(e=1),t.transition(e),t.width<=0||t.height<=0||!1!==c.notify(t,"beforeDraw",[e])&&(a.each(t.boxes,(function(e){e.draw(t.chartArea)}),t),t.scale&&t.scale.draw(),t.drawDatasets(e),t._drawTooltip(e),c.notify(t,"afterDraw",[e]))},transition:function(e){for(var t=this,n=0,r=(t.data.datasets||[]).length;n<r;++n)t.isDatasetVisible(n)&&t.getDatasetMeta(n).controller.transition(e);t.tooltip.transition(e)},drawDatasets:function(e){var t=this;if(!1!==c.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;n>=0;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);c.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r=n.getDatasetMeta(e),i={meta:r,index:e,easingValue:t};!1!==c.notify(n,"beforeDatasetDraw",[i])&&(r.controller.draw(t),c.notify(n,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==c.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),c.notify(t,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return s.modes.single(this,e)},getElementsAtEvent:function(e){return s.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return s.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=s.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return s.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var t,n,r=this,i=r.canvas;for(r.stop(),t=0,n=r.data.datasets.length;t<n;++t)r.destroyDatasetMeta(t);i&&(r.unbindEvents(),a.canvas.clear(r),l.releaseContext(r.ctx),r.canvas=null,r.ctx=null),c.notify(r,"destroy"),delete e.instances[r.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new f({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};a.each(e.options.events,(function(r){l.addEventListener(e,r,n),t[r]=n})),e.options.responsive&&(n=function(){e.resize()},l.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,a.each(t,(function(t,n){l.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var r,i,o,a=n?"setHoverStyle":"removeHoverStyle";for(i=0,o=e.length;i<o;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[a](r)},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==c.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),c.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},i=r.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,i.mode,i),a.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),t=!a.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),e.Controller=e}},63946:function(e,t,n){"use strict";var r=n(68743);e.exports=function(e){var t=["push","pop","shift","splice","unshift"];function n(e,n){var r=e._chartjs;if(r){var i=r.listeners,o=i.indexOf(n);-1!==o&&i.splice(o,1),i.length>0||(t.forEach((function(t){delete e[t]})),delete e._chartjs)}}e.DatasetController=function(e,t){this.initialize(e,t)},r.extend(e.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements()},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.getDataset();null!==t.xAxisID&&t.xAxisID in e.chart.scales||(t.xAxisID=n.xAxisID||e.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in e.chart.scales||(t.yAxisID=n.yAxisID||e.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),i=n.getDataset().data||[],o=r.data;for(e=0,t=i.length;e<t;++e)o[e]=o[e]||n.createMetaData(e);r.dataset=r.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,i,o=this,a=o.getDataset(),s=a.data||(a.data=[]);o._data!==s&&(o._data&&n(o._data,o),i=o,(e=s)._chartjs?e._chartjs.listeners.push(i):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[i]}}),t.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),o=i.apply(this,t);return r.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),o}})}))),o._data=s),o.resyncElements()},update:r.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},removeHoverStyle:function(e){r.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},o=r.valueAtIndexOrDefault,a=r.getHoverColor,s=e._model;e.$previousStyle={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth},s.backgroundColor=i.hoverBackgroundColor?i.hoverBackgroundColor:o(t.hoverBackgroundColor,n,a(s.backgroundColor)),s.borderColor=i.hoverBorderColor?i.hoverBorderColor:o(t.hoverBorderColor,n,a(s.borderColor)),s.borderWidth=i.hoverBorderWidth?i.hoverBorderWidth:o(t.hoverBorderWidth,n,s.borderWidth)},resyncElements:function(){var e=this,t=e.getMeta(),n=e.getDataset().data,r=t.data.length,i=n.length;i<r?t.data.splice(i,r-i):i>r&&e.insertElements(r,i-r)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),e.DatasetController.extend=r.inherits}},4398:function(e,t,n){"use strict";var r=n(68743);e.exports={_set:function(e,t){return r.merge(this[e]||(this[e]={}),t)}}},20054:function(e,t,n){"use strict";var r=n(87863),i=n(68743);var o=function(e){i.extend(this,e),this.initialize.apply(this,arguments)};i.extend(o.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=i.clone(e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,o=t._view;return n&&1!==e?(o||(o=t._view={}),i||(i=t._start={}),function(e,t,n,i){var o,a,s,u,l,c,d,f,p,h=Object.keys(n);for(o=0,a=h.length;o<a;++o)if(c=n[s=h[o]],t.hasOwnProperty(s)||(t[s]=c),(u=t[s])!==c&&"_"!==s[0]){if(e.hasOwnProperty(s)||(e[s]=u),(d=typeof c)==typeof(l=e[s]))if("string"===d){if((f=r(l)).valid&&(p=r(c)).valid){t[s]=p.mix(f,i).rgbString();continue}}else if("number"===d&&isFinite(l)&&isFinite(c)){t[s]=l+(c-l)*i;continue}t[s]=c}}(i,o,n,e),t):(t._view=n,t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return i.isNumber(this._model.x)&&i.isNumber(this._model.y)}}),o.extend=i.inherits,e.exports=o},52371:function(e,t,n){"use strict";var r=n(87863),i=n(4398),o=n(68743),a=n(73920);e.exports=function(){function e(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function t(e){return null!=e&&"none"!==e}function n(n,r,i){var a=document.defaultView,s=o._getParentNode(n),u=a.getComputedStyle(n)[r],l=a.getComputedStyle(s)[r],c=t(u),d=t(l),f=Number.POSITIVE_INFINITY;return c||d?Math.min(c?e(u,n,i):f,d?e(l,s,i):f):"none"}o.configMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,t,n,r){var i=t[e]||{},s=n[e];"scales"===e?t[e]=o.scaleMerge(i,s):"scale"===e?t[e]=o.merge(i,[a.getScaleDefaults(s.type),s]):o._merger(e,t,n,r)}})},o.scaleMerge=function(){return o.merge(o.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var i,s,u,l=n[e].length;for(t[e]||(t[e]=[]),i=0;i<l;++i)u=n[e][i],s=o.valueOrDefault(u.type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),!t[e][i].type||u.type&&u.type!==t[e][i].type?o.merge(t[e][i],[a.getScaleDefaults(s),u]):o.merge(t[e][i],u)}else o._merger(e,t,n,r)}})},o.where=function(e,t){if(o.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return o.each(e,(function(e){t(e)&&n.push(e)})),n},o.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},o.findNextWhere=function(e,t,n){o.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},o.findPreviousWhere=function(e,t,n){o.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;r>=0;r--){var i=e[r];if(t(i))return i}},o.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},o.almostEquals=function(e,t,n){return Math.abs(e-t)<n},o.almostWhole=function(e,t){var n=Math.round(e);return n-t<e&&n+t>e},o.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},o.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},o.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1},o.log10=Math.log10?function(e){return Math.log10(e)}:function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t},o.toRadians=function(e){return e*(Math.PI/180)},o.toDegrees=function(e){return e*(180/Math.PI)},o.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},o.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},o.aliasPixel=function(e){return e%2==0?0:.5},o.splineCurve=function(e,t,n,r){var i=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),u=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),l=s/(s+u),c=u/(s+u),d=r*(l=isNaN(l)?0:l),f=r*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+f*(a.x-i.x),y:o.y+f*(a.y-i.y)}}},o.EPSILON=Number.EPSILON||1e-14,o.splineCurveMonotone=function(e){var t,n,r,i,a,s,u,l,c,d=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),f=d.length;for(t=0;t<f;++t)if(!(r=d[t]).model.skip){if(n=t>0?d[t-1]:null,(i=t<f-1?d[t+1]:null)&&!i.model.skip){var p=i.model.x-r.model.x;r.deltaK=0!==p?(i.model.y-r.model.y)/p:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=d[t],i=d[t+1],r.model.skip||i.model.skip||(o.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(a=r.mK/r.deltaK,s=i.mK/r.deltaK,(l=Math.pow(a,2)+Math.pow(s,2))<=9||(u=3/Math.sqrt(l),r.mK=a*u*r.deltaK,i.mK=s*u*r.deltaK)));for(t=0;t<f;++t)(r=d[t]).model.skip||(n=t>0?d[t-1]:null,i=t<f-1?d[t+1]:null,n&&!n.model.skip&&(c=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-c,r.model.controlPointPreviousY=r.model.y-c*r.mK),i&&!i.model.skip&&(c=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+c,r.model.controlPointNextY=r.model.y+c*r.mK))},o.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},o.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},o.niceNum=function(e,t){var n=Math.floor(o.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},o.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},o.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,a=e.target||e.srcElement,s=a.getBoundingClientRect(),u=i.touches;u&&u.length>0?(n=u[0].clientX,r=u[0].clientY):(n=i.clientX,r=i.clientY);var l=parseFloat(o.getStyle(a,"padding-left")),c=parseFloat(o.getStyle(a,"padding-top")),d=parseFloat(o.getStyle(a,"padding-right")),f=parseFloat(o.getStyle(a,"padding-bottom")),p=s.right-s.left-l-d,h=s.bottom-s.top-c-f;return{x:n=Math.round((n-s.left-l)/p*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-s.top-c)/h*a.height/t.currentDevicePixelRatio)}},o.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},o.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},o._calculatePadding=function(e,t,n){return(t=o.getStyle(e,t)).indexOf("%")>-1?n/parseInt(t,10):parseInt(t,10)},o._getParentNode=function(e){var t=e.parentNode;return t&&t.host&&(t=t.host),t},o.getMaximumWidth=function(e){var t=o._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-o._calculatePadding(t,"padding-left",n)-o._calculatePadding(t,"padding-right",n),i=o.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},o.getMaximumHeight=function(e){var t=o._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-o._calculatePadding(t,"padding-top",n)-o._calculatePadding(t,"padding-bottom",n),i=o.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},o.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},o.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,o=e.width;r.height=i*n,r.width=o*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},o.fontString=function(e,t,n){return t+" "+e+"px "+n},o.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var s=0;o.each(n,(function(t){null!=t&&!0!==o.isArray(t)?s=o.measureText(e,i,a,s,t):o.isArray(t)&&o.each(t,(function(t){null==t||o.isArray(t)||(s=o.measureText(e,i,a,s,t))}))}));var u=a.length/2;if(u>n.length){for(var l=0;l<u;l++)delete i[a[l]];a.splice(0,u)}return s},o.measureText=function(e,t,n,r,i){var o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r},o.numberOfLabelLines=function(e){var t=1;return o.each(e,(function(e){o.isArray(e)&&e.length>t&&(t=e.length)})),t},o.color=r?function(e){return e instanceof CanvasGradient&&(e=i.global.defaultColor),r(e)}:function(e){return console.error("Color.js not found!"),e},o.getHoverColor=function(e){return e instanceof CanvasPattern?e:o.color(e).saturate(.5).darken(.1).rgbString()}}},53110:function(e,t,n){"use strict";var r=n(68743);function i(e,t){return e.native?{x:e.x,y:e.y}:r.getRelativePosition(e,t)}function o(e,t){var n,r,i,o,a;for(r=0,o=e.data.datasets.length;r<o;++r)if(e.isDatasetVisible(r))for(i=0,a=(n=e.getDatasetMeta(r)).data.length;i<a;++i){var s=n.data[i];s._view.skip||t(s)}}function a(e,t){var n=[];return o(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function s(e,t,n,r){var i=Number.POSITIVE_INFINITY,a=[];return o(e,(function(e){if(!n||e.inRange(t.x,t.y)){var o=e.getCenterPoint(),s=r(t,o);s<i?(a=[e],i=s):s===i&&a.push(e)}})),a}function u(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var i=t?Math.abs(e.x-r.x):0,o=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function l(e,t,n){var r=i(t,e);n.axis=n.axis||"x";var o=u(n.axis),l=n.intersect?a(e,r):s(e,r,!1,o),c=[];return l.length?(e.data.datasets.forEach((function(t,n){if(e.isDatasetVisible(n)){var r=e.getDatasetMeta(n).data[l[0]._index];r&&!r._view.skip&&c.push(r)}})),c):[]}e.exports={modes:{single:function(e,t){var n=i(t,e),r=[];return o(e,(function(e){if(e.inRange(n.x,n.y))return r.push(e),r})),r.slice(0,1)},label:l,index:l,dataset:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=u(n.axis),l=n.intersect?a(e,r):s(e,r,!1,o);return l.length>0&&(l=e.getDatasetMeta(l[0]._datasetIndex).data),l},"x-axis":function(e,t){return l(e,t,{intersect:!1})},point:function(e,t){return a(e,i(t,e))},nearest:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=u(n.axis),a=s(e,r,n.intersect,o);return a.length>1&&a.sort((function(e,t){var n=e.getArea()-t.getArea();return 0===n&&(n=e._datasetIndex-t._datasetIndex),n})),a.slice(0,1)},x:function(e,t,n){var r=i(t,e),a=[],s=!1;return o(e,(function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(s=!0)})),n.intersect&&!s&&(a=[]),a},y:function(e,t,n){var r=i(t,e),a=[],s=!1;return o(e,(function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(s=!0)})),n.intersect&&!s&&(a=[]),a}}}},51492:function(e,t,n){"use strict";n(4398)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){var e=function(e,t){return this.construct(e,t),this};return e.Chart=e,e}},49234:function(e,t,n){"use strict";var r=n(68743);function i(e,t){return r.where(e,(function(e){return e.position===t}))}function o(e,t){e.forEach((function(e,t){return e._tmpIndex_=t,e})),e.sort((function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r._tmpIndex_-i._tmpIndex_:r.weight-i.weight})),e.forEach((function(e){delete e._tmpIndex_}))}e.exports={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],o=i.length,a=0;a<o;++a)r=i[a],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(e,t,n){if(e){var a=e.options.layout||{},s=r.options.toPadding(a.padding),u=s.left,l=s.right,c=s.top,d=s.bottom,f=i(e.boxes,"left"),p=i(e.boxes,"right"),h=i(e.boxes,"top"),m=i(e.boxes,"bottom"),v=i(e.boxes,"chartArea");o(f,!0),o(p,!1),o(h,!0),o(m,!1);var g=t-u-l,y=n-c-d,b=y/2,_=(t-g/2)/(f.length+p.length),w=(n-b)/(h.length+m.length),k=g,E=y,x=[];r.each(f.concat(p,h,m),(function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:k,w),E-=t.height):(t=e.update(_,E),k-=t.width),x.push({horizontal:n,minSize:t,box:e})}));var S=0,T=0,C=0,A=0;r.each(h.concat(m),(function(e){if(e.getPadding){var t=e.getPadding();S=Math.max(S,t.left),T=Math.max(T,t.right)}})),r.each(f.concat(p),(function(e){if(e.getPadding){var t=e.getPadding();C=Math.max(C,t.top),A=Math.max(A,t.bottom)}}));var O=u,N=l,P=c,I=d;r.each(f.concat(p),F),r.each(f,(function(e){O+=e.width})),r.each(p,(function(e){N+=e.width})),r.each(h.concat(m),F),r.each(h,(function(e){P+=e.height})),r.each(m,(function(e){I+=e.height})),r.each(f.concat(p),(function(e){var t=r.findNextWhere(x,(function(t){return t.box===e})),n={left:0,right:0,top:P,bottom:I};t&&e.update(t.minSize.width,E,n)})),O=u,N=l,P=c,I=d,r.each(f,(function(e){O+=e.width})),r.each(p,(function(e){N+=e.width})),r.each(h,(function(e){P+=e.height})),r.each(m,(function(e){I+=e.height}));var L=Math.max(S-O,0);O+=L,N+=Math.max(T-N,0);var M=Math.max(C-P,0);P+=M,I+=Math.max(A-I,0);var R=n-P-I,D=t-O-N;D===k&&R===E||(r.each(f,(function(e){e.height=R})),r.each(p,(function(e){e.height=R})),r.each(h,(function(e){e.fullWidth||(e.width=D)})),r.each(m,(function(e){e.fullWidth||(e.width=D)})),E=R,k=D);var q=u+L,j=c+M;r.each(f.concat(h),B),q+=k,j+=E,r.each(p,B),r.each(m,B),e.chartArea={left:O,top:P,right:O+k,bottom:P+E},r.each(v,(function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(k,E)}))}function F(e){var t=r.findNextWhere(x,(function(t){return t.box===e}));if(t)if(e.isHorizontal()){var n={left:Math.max(O,S),right:Math.max(N,T),top:0,bottom:0};e.update(e.fullWidth?g:k,y/2,n)}else e.update(t.minSize.width,E)}function B(e){e.isHorizontal()?(e.left=e.fullWidth?u:O,e.right=e.fullWidth?t-l:O+k,e.top=j,e.bottom=j+e.height,j=e.bottom):(e.left=q,e.right=q+e.width,e.top=P,e.bottom=P+E,q=e.right)}}}},91408:function(e,t,n){"use strict";var r=n(4398),i=n(68743);r._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,o,a,s,u=this.descriptors(e),l=u.length;for(r=0;r<l;++r)if("function"==typeof(s=(o=(i=u[r]).plugin)[t])&&((a=[e].concat(n||[])).push(i.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],o=[],a=e&&e.config||{},s=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,a=s[t];!1!==a&&(!0===a&&(a=i.clone(r.global.plugins[t])),n.push(e),o.push({plugin:e,options:a||{}}))}})),t.descriptors=o,t.id=this._cacheId,o},_invalidate:function(e){delete e.$plugins}}},26925:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=n(81933);function s(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(e[t].label);return r}function u(e,t,n){var r=e.getPixelForTick(t);return n&&(r-=0===t?(e.getPixelForTick(1)-r)/2:(r-e.getPixelForTick(t-1))/2),r}function l(e,t,n){return o.isArray(t)?o.longestText(e,n,t):e.measureText(t).width}function c(e){var t=o.valueOrDefault,n=r.global,i=t(e.fontSize,n.defaultFontSize),a=t(e.fontStyle,n.defaultFontStyle),s=t(e.fontFamily,n.defaultFontFamily);return{size:i,style:a,family:s,font:o.fontString(i,a,s)}}function d(e){return o.options.toLineHeight(o.valueOrDefault(e.lineHeight,1.2),o.valueOrDefault(e.fontSize,r.global.defaultFontSize))}r._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",lineHeight:1.2,padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:a.formatters.values,minor:{},major:{}}}),e.exports=i.extend({getPadding:function(){var e=this;return{left:e.paddingLeft||0,top:e.paddingTop||0,right:e.paddingRight||0,bottom:e.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var e=this.options.ticks;for(var t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t]&&(e.major[t]=e[t]))},beforeUpdate:function(){o.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,i,a,s,u,l,c=this;for(c.beforeUpdate(),c.maxWidth=e,c.maxHeight=t,c.margins=o.extend({left:0,right:0,top:0,bottom:0},n),c.longestTextCache=c.longestTextCache||{},c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),u=c.buildTicks()||[],c.afterBuildTicks(),c.beforeTickToLabelConversion(),a=c.convertTicksToLabels(u)||c.ticks,c.afterTickToLabelConversion(),c.ticks=a,r=0,i=a.length;r<i;++r)s=a[r],(l=u[r])?l.label=s:u.push(l={label:s,major:!1});return c._ticks=u,c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c.afterUpdate(),c.minSize},afterUpdate:function(){o.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){o.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){o.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){o.callback(this.options.beforeDataLimits,[this])},determineDataLimits:o.noop,afterDataLimits:function(){o.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){o.callback(this.options.beforeBuildTicks,[this])},buildTicks:o.noop,afterBuildTicks:function(){o.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){o.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this,t=e.options.ticks;e.ticks=e.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){o.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){o.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e=this,t=e.ctx,n=e.options.ticks,r=s(e._ticks),i=c(n);t.font=i.font;var a=n.minRotation||0;if(r.length&&e.options.display&&e.isHorizontal())for(var u,l=o.longestText(t,i.font,r,e.longestTextCache),d=l,f=e.getPixelForTick(1)-e.getPixelForTick(0)-6;d>f&&a<n.maxRotation;){var p=o.toRadians(a);if(u=Math.cos(p),Math.sin(p)*l>e.maxHeight){a--;break}a++,d=u*l}e.labelRotation=a},afterCalculateTickRotation:function(){o.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){o.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=s(e._ticks),r=e.options,i=r.ticks,a=r.scaleLabel,u=r.gridLines,f=r.display,p=e.isHorizontal(),h=c(i),m=r.gridLines.tickMarkLength;if(t.width=p?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:f&&u.drawTicks?m:0,t.height=p?f&&u.drawTicks?m:0:e.maxHeight,a.display&&f){var v=d(a)+o.options.toPadding(a.padding).height;p?t.height+=v:t.width+=v}if(i.display&&f){var g=o.longestText(e.ctx,h.font,n,e.longestTextCache),y=o.numberOfLabelLines(n),b=.5*h.size,_=e.options.ticks.padding;if(p){e.longestLabelWidth=g;var w=o.toRadians(e.labelRotation),k=Math.cos(w),E=Math.sin(w)*g+h.size*y+b*(y-1)+b;t.height=Math.min(e.maxHeight,t.height+E+_),e.ctx.font=h.font;var x=l(e.ctx,n[0],h.font),S=l(e.ctx,n[n.length-1],h.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?k*x+3:k*b+3,e.paddingRight="bottom"===r.position?k*b+3:k*S+3):(e.paddingLeft=x/2+3,e.paddingRight=S/2+3)}else i.mirror?g=0:g+=_+b,t.width=Math.min(e.maxWidth,t.width+g),e.paddingTop=h.size/2,e.paddingBottom=h.size/2}e.handleMargins(),e.width=t.width,e.height=t.height},handleMargins:function(){var e=this;e.margins&&(e.paddingLeft=Math.max(e.paddingLeft-e.margins.left,0),e.paddingTop=Math.max(e.paddingTop-e.margins.top,0),e.paddingRight=Math.max(e.paddingRight-e.margins.right,0),e.paddingBottom=Math.max(e.paddingBottom-e.margins.bottom,0))},afterFit:function(){o.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(o.isNullOrUndef(e))return NaN;if("number"==typeof e&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},getLabelForIndex:o.noop,getPixelForValue:o.noop,getValueForPixel:o.noop,getPixelForTick:function(e){var t=this,n=t.options.offset;if(t.isHorizontal()){var r=(t.width-(t.paddingLeft+t.paddingRight))/Math.max(t._ticks.length-(n?0:1),1),i=r*e+t.paddingLeft;n&&(i+=r/2);var o=t.left+Math.round(i);return o+=t.isFullWidth()?t.margins.left:0}var a=t.height-(t.paddingTop+t.paddingBottom);return t.top+e*(a/(t._ticks.length-1))},getPixelForDecimal:function(e){var t=this;if(t.isHorizontal()){var n=(t.width-(t.paddingLeft+t.paddingRight))*e+t.paddingLeft,r=t.left+Math.round(n);return r+=t.isFullWidth()?t.margins.left:0}return t.top+e*t.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,r,i,a=this,s=a.isHorizontal(),u=a.options.ticks.minor,l=e.length,c=o.toRadians(a.labelRotation),d=Math.cos(c),f=a.longestLabelWidth*d,p=[];for(u.maxTicksLimit&&(i=u.maxTicksLimit),s&&(t=!1,(f+u.autoSkipPadding)*l>a.width-(a.paddingLeft+a.paddingRight)&&(t=1+Math.floor((f+u.autoSkipPadding)*l/(a.width-(a.paddingLeft+a.paddingRight)))),i&&l>i&&(t=Math.max(t,Math.floor(l/i)))),n=0;n<l;n++)r=e[n],(t>1&&n%t>0||n%t==0&&n+t>=l)&&n!==l-1&&delete r.label,p.push(r);return p},draw:function(e){var t=this,n=t.options;if(n.display){var i=t.ctx,a=r.global,s=n.ticks.minor,l=n.ticks.major||s,f=n.gridLines,p=n.scaleLabel,h=0!==t.labelRotation,m=t.isHorizontal(),v=s.autoSkip?t._autoSkip(t.getTicks()):t.getTicks(),g=o.valueOrDefault(s.fontColor,a.defaultFontColor),y=c(s),b=o.valueOrDefault(l.fontColor,a.defaultFontColor),_=c(l),w=f.drawTicks?f.tickMarkLength:0,k=o.valueOrDefault(p.fontColor,a.defaultFontColor),E=c(p),x=o.options.toPadding(p.padding),S=o.toRadians(t.labelRotation),T=[],C=t.options.gridLines.lineWidth,A="right"===n.position?t.left:t.right-C-w,O="right"===n.position?t.left+w:t.right,N="bottom"===n.position?t.top+C:t.bottom-w-C,P="bottom"===n.position?t.top+C+w:t.bottom+C;if(o.each(v,(function(r,i){if(!o.isNullOrUndef(r.label)){var l,c,d,p,g,y,b,_,k,E,x,I,L,M,R=r.label;i===t.zeroLineIndex&&n.offset===f.offsetGridLines?(l=f.zeroLineWidth,c=f.zeroLineColor,d=f.zeroLineBorderDash,p=f.zeroLineBorderDashOffset):(l=o.valueAtIndexOrDefault(f.lineWidth,i),c=o.valueAtIndexOrDefault(f.color,i),d=o.valueOrDefault(f.borderDash,a.borderDash),p=o.valueOrDefault(f.borderDashOffset,a.borderDashOffset));var D="middle",q="middle",j=s.padding;if(m){var F=w+j;"bottom"===n.position?(q=h?"middle":"top",D=h?"right":"center",M=t.top+F):(q=h?"middle":"bottom",D=h?"left":"center",M=t.bottom-F);var B=u(t,i,f.offsetGridLines&&v.length>1);B<t.left&&(c="rgba(0,0,0,0)"),B+=o.aliasPixel(l),L=t.getPixelForTick(i)+s.labelOffset,g=b=k=x=B,y=N,_=P,E=e.top,I=e.bottom+C}else{var U,z="left"===n.position;s.mirror?(D=z?"left":"right",U=j):(D=z?"right":"left",U=w+j),L=z?t.right-U:t.left+U;var H=u(t,i,f.offsetGridLines&&v.length>1);H<t.top&&(c="rgba(0,0,0,0)"),H+=o.aliasPixel(l),M=t.getPixelForTick(i)+s.labelOffset,g=A,b=O,k=e.left,x=e.right+C,y=_=E=I=H}T.push({tx1:g,ty1:y,tx2:b,ty2:_,x1:k,y1:E,x2:x,y2:I,labelX:L,labelY:M,glWidth:l,glColor:c,glBorderDash:d,glBorderDashOffset:p,rotation:-1*S,label:R,major:r.major,textBaseline:q,textAlign:D})}})),o.each(T,(function(e){if(f.display&&(i.save(),i.lineWidth=e.glWidth,i.strokeStyle=e.glColor,i.setLineDash&&(i.setLineDash(e.glBorderDash),i.lineDashOffset=e.glBorderDashOffset),i.beginPath(),f.drawTicks&&(i.moveTo(e.tx1,e.ty1),i.lineTo(e.tx2,e.ty2)),f.drawOnChartArea&&(i.moveTo(e.x1,e.y1),i.lineTo(e.x2,e.y2)),i.stroke(),i.restore()),s.display){i.save(),i.translate(e.labelX,e.labelY),i.rotate(e.rotation),i.font=e.major?_.font:y.font,i.fillStyle=e.major?b:g,i.textBaseline=e.textBaseline,i.textAlign=e.textAlign;var n=e.label;if(o.isArray(n))for(var r=n.length,a=1.5*y.size,u=t.isHorizontal()?0:-a*(r-1)/2,l=0;l<r;++l)i.fillText(""+n[l],0,u),u+=a;else i.fillText(n,0,0);i.restore()}})),p.display){var I,L,M=0,R=d(p)/2;if(m)I=t.left+(t.right-t.left)/2,L="bottom"===n.position?t.bottom-R-x.bottom:t.top+R+x.top;else{var D="left"===n.position;I=D?t.left+R+x.top:t.right-R-x.top,L=t.top+(t.bottom-t.top)/2,M=D?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(I,L),i.rotate(M),i.textAlign="center",i.textBaseline="middle",i.fillStyle=k,i.font=E.font,i.fillText(p.labelString,0,0),i.restore()}if(f.drawBorder){i.lineWidth=o.valueAtIndexOrDefault(f.lineWidth,0),i.strokeStyle=o.valueAtIndexOrDefault(f.color,0);var q=t.left,j=t.right+C,F=t.top,B=t.bottom+C,U=o.aliasPixel(i.lineWidth);m?(F=B="top"===n.position?t.bottom:t.top,F+=U,B+=U):(q=j="left"===n.position?t.right:t.left,q+=U,j+=U),i.beginPath(),i.moveTo(q,F),i.lineTo(j,B),i.stroke()}}}})},73920:function(e,t,n){"use strict";var r=n(4398),i=n(68743),o=n(49234);e.exports={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=i.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?i.merge({},[r.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){var n=this;n.defaults.hasOwnProperty(e)&&(n.defaults[e]=i.extend(n.defaults[e],t))},addScalesToLayout:function(e){i.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,o.addBox(e,t)}))}}},81933:function(e,t,n){"use strict";var r=n(68743);e.exports={formatters:{values:function(e){return r.isArray(e)?e:""+e},linear:function(e,t,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var o=r.log10(Math.abs(i)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var s=r.log10(Math.abs(e));a=e.toExponential(Math.floor(s)-Math.floor(o))}else{var u=-1*Math.floor(o);u=Math.max(Math.min(u,20),0),a=e.toFixed(u)}else a="0";return a},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(r.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}}},18680:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743);r._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:o.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(e.length>0){var o=e[0];o.xLabel?n=o.xLabel:i>0&&o.index<i&&(n=r[o.index])}return n},afterTitle:o.noop,beforeBody:o.noop,beforeLabel:o.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),n+=e.yLabel},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:o.noop,afterBody:o.noop,beforeFooter:o.noop,footer:o.noop,afterFooter:o.noop}}});var a={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,o=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,i+=s.y,++o}}return{x:Math.round(r/o),y:Math.round(i/o)}},nearest:function(e,t){var n,r,i,a=t.x,s=t.y,u=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var l=e[n];if(l&&l.hasValue()){var c=l.getCenterPoint(),d=o.distanceBetweenPoints(t,c);d<u&&(u=d,i=l)}}if(i){var f=i.tooltipPosition();a=f.x,s=f.y}return{x:a,y:s}}};function s(e,t){var n=o.color(e);return n.alpha(t*n.alpha()).rgbaString()}function u(e,t){return t&&(o.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function l(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function c(e){var t=r.global,n=o.valueOrDefault;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,bodyFontColor:e.bodyFontColor,_bodyFontFamily:n(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:n(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:n(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:n(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:n(e.titleFontStyle,t.defaultFontStyle),titleFontSize:n(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:n(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:n(e.footerFontStyle,t.defaultFontStyle),footerFontSize:n(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function d(e){return u([],l(e))}var f=e.exports=i.extend({initialize:function(){this._model=c(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,r=n.beforeTitle.apply(e,arguments),i=n.title.apply(e,arguments),o=n.afterTitle.apply(e,arguments),a=[];return a=u(a,l(r)),a=u(a,l(i)),a=u(a,l(o))},getBeforeBody:function(){return d(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,i=[];return o.each(e,(function(e){var o={before:[],lines:[],after:[]};u(o.before,l(r.beforeLabel.call(n,e,t))),u(o.lines,r.label.call(n,e,t)),u(o.after,l(r.afterLabel.call(n,e,t))),i.push(o)})),i},getAfterBody:function(){return d(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),i=t.afterFooter.apply(e,arguments),o=[];return o=u(o,l(n)),o=u(o,l(r)),o=u(o,l(i))},update:function(e){var t,n,r,i,s,u,l,d=this,f=d._options,p=d._model,h=d._model=c(f),m=d._active,v=d._data,g={xAlign:p.xAlign,yAlign:p.yAlign},y={x:p.x,y:p.y},b={width:p.width,height:p.height},_={x:p.caretX,y:p.caretY};if(m.length){h.opacity=1;var w=[],k=[];_=a[f.position].call(d,m,d._eventPosition);var E=[];for(t=0,n=m.length;t<n;++t)E.push((r=m[t],i=void 0,s=void 0,u=void 0,l=void 0,i=r._xScale,s=r._yScale||r._scale,u=r._index,l=r._datasetIndex,{xLabel:i?i.getLabelForIndex(u,l):"",yLabel:s?s.getLabelForIndex(u,l):"",index:u,datasetIndex:l,x:r._model.x,y:r._model.y}));f.filter&&(E=E.filter((function(e){return f.filter(e,v)}))),f.itemSort&&(E=E.sort((function(e,t){return f.itemSort(e,t,v)}))),o.each(E,(function(e){w.push(f.callbacks.labelColor.call(d,e,d._chart)),k.push(f.callbacks.labelTextColor.call(d,e,d._chart))})),h.title=d.getTitle(E,v),h.beforeBody=d.getBeforeBody(E,v),h.body=d.getBody(E,v),h.afterBody=d.getAfterBody(E,v),h.footer=d.getFooter(E,v),h.x=Math.round(_.x),h.y=Math.round(_.y),h.caretPadding=f.caretPadding,h.labelColors=w,h.labelTextColors=k,h.dataPoints=E,b=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,s=a.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);s+=t.beforeBody.length+t.afterBody.length;var u=t.title.length,l=t.footer.length,c=t.titleFontSize,d=t.bodyFontSize,f=t.footerFontSize;r+=u*c,r+=u?(u-1)*t.titleSpacing:0,r+=u?t.titleMarginBottom:0,r+=s*d,r+=s?(s-1)*t.bodySpacing:0,r+=l?t.footerMarginTop:0,r+=l*f,r+=l?(l-1)*t.footerSpacing:0;var p=0,h=function(e){i=Math.max(i,n.measureText(e).width+p)};return n.font=o.fontString(c,t._titleFontStyle,t._titleFontFamily),o.each(t.title,h),n.font=o.fontString(d,t._bodyFontStyle,t._bodyFontFamily),o.each(t.beforeBody.concat(t.afterBody),h),p=t.displayColors?d+2:0,o.each(a,(function(e){o.each(e.before,h),o.each(e.lines,h),o.each(e.after,h)})),p=0,n.font=o.fontString(f,t._footerFontStyle,t._footerFontFamily),o.each(t.footer,h),{width:i+=2*t.xPadding,height:r}}(this,h),g=function(e,t){var n,r,i,o,a,s=e._model,u=e._chart,l=e._chart.chartArea,c="center",d="center";s.y<t.height?d="top":s.y>u.height-t.height&&(d="bottom");var f=(l.left+l.right)/2,p=(l.top+l.bottom)/2;"center"===d?(n=function(e){return e<=f},r=function(e){return e>f}):(n=function(e){return e<=t.width/2},r=function(e){return e>=u.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>u.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=p?"top":"bottom"},n(s.x)?(c="left",i(s.x)&&(c="center",d=a(s.y))):r(s.x)&&(c="right",o(s.x)&&(c="center",d=a(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:c,yAlign:h.yAlign?h.yAlign:d}}(this,b),y=function(e,t,n,r){var i=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,u=e.cornerRadius,l=n.xAlign,c=n.yAlign,d=a+s,f=u+s;return"right"===l?i-=t.width:"center"===l&&((i-=t.width/2)+t.width>r.width&&(i=r.width-t.width),i<0&&(i=0)),"top"===c?o+=d:o-="bottom"===c?t.height+d:t.height/2,"center"===c?"left"===l?i+=d:"right"===l&&(i-=d):"left"===l?i-=f:"right"===l&&(i+=f),{x:i,y:o}}(h,b,g,d._chart)}else h.opacity=0;return h.xAlign=g.xAlign,h.yAlign=g.yAlign,h.x=y.x,h.y=y.y,h.width=b.width,h.height=b.height,h.caretX=_.x,h.caretY=_.y,d._model=h,e&&f.custom&&f.custom.call(d,h),d},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,o,a,s,u,l=n.caretSize,c=n.cornerRadius,d=n.xAlign,f=n.yAlign,p=e.x,h=e.y,m=t.width,v=t.height;if("center"===f)s=h+v/2,"left"===d?(i=(r=p)-l,o=r,a=s+l,u=s-l):(i=(r=p+m)+l,o=r,a=s-l,u=s+l);else if("left"===d?(r=(i=p+c+l)-l,o=i+l):"right"===d?(r=(i=p+m-c-l)-l,o=i+l):(r=(i=n.caretX)-l,o=i+l),"top"===f)s=(a=h)-l,u=a;else{s=(a=h+v)+l,u=a;var g=o;o=r,r=g}return{x1:r,x2:i,x3:o,y1:a,y2:s,y3:u}},drawTitle:function(e,t,n,r){var i=t.title;if(i.length){n.textAlign=t._titleAlign,n.textBaseline="top";var a,u,l=t.titleFontSize,c=t.titleSpacing;for(n.fillStyle=s(t.titleFontColor,r),n.font=o.fontString(l,t._titleFontStyle,t._titleFontFamily),a=0,u=i.length;a<u;++a)n.fillText(i[a],e.x,e.y),e.y+=l+c,a+1===i.length&&(e.y+=t.titleMarginBottom-c)}},drawBody:function(e,t,n,r){var i=t.bodyFontSize,a=t.bodySpacing,u=t.body;n.textAlign=t._bodyAlign,n.textBaseline="top",n.font=o.fontString(i,t._bodyFontStyle,t._bodyFontFamily);var l=0,c=function(t){n.fillText(t,e.x+l,e.y),e.y+=i+a};n.fillStyle=s(t.bodyFontColor,r),o.each(t.beforeBody,c);var d=t.displayColors;l=d?i+2:0,o.each(u,(function(a,u){var l=s(t.labelTextColors[u],r);n.fillStyle=l,o.each(a.before,c),o.each(a.lines,(function(o){d&&(n.fillStyle=s(t.legendColorBackground,r),n.fillRect(e.x,e.y,i,i),n.lineWidth=1,n.strokeStyle=s(t.labelColors[u].borderColor,r),n.strokeRect(e.x,e.y,i,i),n.fillStyle=s(t.labelColors[u].backgroundColor,r),n.fillRect(e.x+1,e.y+1,i-2,i-2),n.fillStyle=l),c(o)})),o.each(a.after,c)})),l=0,o.each(t.afterBody,c),e.y-=a},drawFooter:function(e,t,n,r){var i=t.footer;i.length&&(e.y+=t.footerMarginTop,n.textAlign=t._footerAlign,n.textBaseline="top",n.fillStyle=s(t.footerFontColor,r),n.font=o.fontString(t.footerFontSize,t._footerFontStyle,t._footerFontFamily),o.each(i,(function(r){n.fillText(r,e.x,e.y),e.y+=t.footerFontSize+t.footerSpacing})))},drawBackground:function(e,t,n,r,i){n.fillStyle=s(t.backgroundColor,i),n.strokeStyle=s(t.borderColor,i),n.lineWidth=t.borderWidth;var o=t.xAlign,a=t.yAlign,u=e.x,l=e.y,c=r.width,d=r.height,f=t.cornerRadius;n.beginPath(),n.moveTo(u+f,l),"top"===a&&this.drawCaret(e,r),n.lineTo(u+c-f,l),n.quadraticCurveTo(u+c,l,u+c,l+f),"center"===a&&"right"===o&&this.drawCaret(e,r),n.lineTo(u+c,l+d-f),n.quadraticCurveTo(u+c,l+d,u+c-f,l+d),"bottom"===a&&this.drawCaret(e,r),n.lineTo(u+f,l+d),n.quadraticCurveTo(u,l+d,u,l+d-f),"center"===a&&"left"===o&&this.drawCaret(e,r),n.lineTo(u,l+f),n.quadraticCurveTo(u,l,u+f,l),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(this.drawBackground(r,t,e,n,i),r.x+=t.xPadding,r.y+=t.yPadding,this.drawTitle(r,t,e,i),this.drawBody(r,t,e,i),this.drawFooter(r,t,e,i))}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),(t=!o.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}});f.positioners=a},2880:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743);r._set("global",{elements:{arc:{backgroundColor:r.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=i.extend({inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=o.getAngleFromPoint(n,{x:e,y:t}),i=r.angle,a=r.distance,s=n.startAngle,u=n.endAngle;u<s;)u+=2*Math.PI;for(;i>u;)i-=2*Math.PI;for(;i<s;)i+=2*Math.PI;var l=i>=s&&i<=u,c=a>=n.innerRadius&&a<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e=this._chart.ctx,t=this._view,n=t.startAngle,r=t.endAngle;e.beginPath(),e.arc(t.x,t.y,t.outerRadius,n,r),e.arc(t.x,t.y,t.innerRadius,r,n,!0),e.closePath(),e.strokeStyle=t.borderColor,e.lineWidth=t.borderWidth,e.fillStyle=t.backgroundColor,e.fill(),e.lineJoin="bevel",t.borderWidth&&e.stroke()}})},43693:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=r.global;r._set("global",{elements:{line:{tension:.4,backgroundColor:a.defaultColor,borderWidth:3,borderColor:a.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=i.extend({draw:function(){var e,t,n,r,i=this,s=i._view,u=i._chart.ctx,l=s.spanGaps,c=i._children.slice(),d=a.elements.line,f=-1;for(i._loop&&c.length&&c.push(c[0]),u.save(),u.lineCap=s.borderCapStyle||d.borderCapStyle,u.setLineDash&&u.setLineDash(s.borderDash||d.borderDash),u.lineDashOffset=s.borderDashOffset||d.borderDashOffset,u.lineJoin=s.borderJoinStyle||d.borderJoinStyle,u.lineWidth=s.borderWidth||d.borderWidth,u.strokeStyle=s.borderColor||a.defaultColor,u.beginPath(),f=-1,e=0;e<c.length;++e)t=c[e],n=o.previousItem(c,e),r=t._view,0===e?r.skip||(u.moveTo(r.x,r.y),f=e):(n=-1===f?n:c[f],r.skip||(f!==e-1&&!l||-1===f?u.moveTo(r.x,r.y):o.canvas.lineTo(u,n._view,t._view),f=e));u.stroke(),u.restore()}})},95682:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=r.global.defaultColor;function s(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}r._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:a,borderColor:a,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=i.extend({inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:s,inXRange:s,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._model,i=this._chart.ctx,s=t.pointStyle,u=t.rotation,l=t.radius,c=t.x,d=t.y;t.skip||(void 0===e||n.x>=e.left&&1.01*e.right>=n.x&&n.y>=e.top&&1.01*e.bottom>=n.y)&&(i.strokeStyle=t.borderColor||a,i.lineWidth=o.valueOrDefault(t.borderWidth,r.global.elements.point.borderWidth),i.fillStyle=t.backgroundColor||a,o.canvas.drawPoint(i,s,l,c,d,u))}})},40547:function(e,t,n){"use strict";var r=n(4398),i=n(20054);function o(e){return void 0!==e._view.width}function a(e){var t,n,r,i,a=e._view;if(o(e)){var s=a.width/2;t=a.x-s,n=a.x+s,r=Math.min(a.y,a.base),i=Math.max(a.y,a.base)}else{var u=a.height/2;t=Math.min(a.x,a.base),n=Math.max(a.x,a.base),r=a.y-u,i=a.y+u}return{left:t,top:r,right:n,bottom:i}}r._set("global",{elements:{rectangle:{backgroundColor:r.global.defaultColor,borderColor:r.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=i.extend({draw:function(){var e,t,n,r,i,o,a,s=this._chart.ctx,u=this._view,l=u.borderWidth;if(u.horizontal?(e=u.base,t=u.x,n=u.y-u.height/2,r=u.y+u.height/2,i=t>e?1:-1,o=1,a=u.borderSkipped||"left"):(e=u.x-u.width/2,t=u.x+u.width/2,n=u.y,i=1,o=(r=u.base)>n?1:-1,a=u.borderSkipped||"bottom"),l){var c=Math.min(Math.abs(e-t),Math.abs(n-r)),d=(l=l>c?c:l)/2,f=e+("left"!==a?d*i:0),p=t+("right"!==a?-d*i:0),h=n+("top"!==a?d*o:0),m=r+("bottom"!==a?-d*o:0);f!==p&&(n=h,r=m),h!==m&&(e=f,t=p)}s.beginPath(),s.fillStyle=u.backgroundColor,s.strokeStyle=u.borderColor,s.lineWidth=l;var v=[[e,r],[e,n],[t,n],[t,r]],g=["bottom","left","top","right"].indexOf(a,0);function y(e){return v[(g+e)%4]}-1===g&&(g=0);var b=y(0);s.moveTo(b[0],b[1]);for(var _=1;_<4;_++)b=y(_),s.lineTo(b[0],b[1]);s.fill(),l&&s.stroke()},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){var n=!1;if(this._view){var r=a(this);n=e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom}return n},inLabelRange:function(e,t){var n=this;if(!n._view)return!1;var r=a(n);return o(n)?e>=r.left&&e<=r.right:t>=r.top&&t<=r.bottom},inXRange:function(e){var t=a(this);return e>=t.left&&e<=t.right},inYRange:function(e){var t=a(this);return e>=t.top&&e<=t.bottom},getCenterPoint:function(){var e,t,n=this._view;return o(this)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return e.width*Math.abs(e.y-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}})},96292:function(e,t,n){"use strict";e.exports={},e.exports.Arc=n(2880),e.exports.Line=n(43693),e.exports.Point=n(95682),e.exports.Rectangle=n(40547)},15791:function(e,t,n){"use strict";var r=n(17767),i=e.exports={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,o){if(o){var a=Math.min(o,i/2-1e-7,r/2-1e-7);e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.arcTo(t+r,n,t+r,n+a,a),e.lineTo(t+r,n+i-a),e.arcTo(t+r,n+i,t+r-a,n+i,a),e.lineTo(t+a,n+i),e.arcTo(t,n+i,t,n+i-a,a),e.lineTo(t,n+a),e.arcTo(t,n,t+a,n,a),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,o){var a,s,u,l,c,d;if(o=o||0,!t||"object"!=typeof t||"[object HTMLImageElement]"!==(a=t.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(n)||n<=0)){switch(e.save(),e.translate(r,i),e.rotate(o*Math.PI/180),e.beginPath(),t){default:e.arc(0,0,n,0,2*Math.PI),e.closePath();break;case"triangle":c=(s=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(-s/2,c/3),e.lineTo(s/2,c/3),e.lineTo(0,-2*c/3),e.closePath();break;case"rect":d=1/Math.SQRT2*n,e.rect(-d,-d,2*d,2*d);break;case"rectRounded":var f=n/Math.SQRT2,p=-f,h=-f,m=Math.SQRT2*n;this.roundedRect(e,p,h,m,m,.425*n);break;case"rectRot":d=1/Math.SQRT2*n,e.moveTo(-d,0),e.lineTo(0,d),e.lineTo(d,0),e.lineTo(0,-d),e.closePath();break;case"cross":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0);break;case"crossRot":u=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(-u,-l),e.lineTo(u,l),e.moveTo(-u,l),e.lineTo(u,-l);break;case"star":e.moveTo(0,n),e.lineTo(0,-n),e.moveTo(-n,0),e.lineTo(n,0),u=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,e.moveTo(-u,-l),e.lineTo(u,l),e.moveTo(-u,l),e.lineTo(u,-l);break;case"line":e.moveTo(-n,0),e.lineTo(n,0);break;case"dash":e.moveTo(0,0),e.lineTo(n,0)}e.fill(),e.stroke(),e.restore()}}else e.drawImage(t,r-t.width/2,i-t.height/2,t.width,t.height)},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){if(n.steppedLine)return"after"===n.steppedLine&&!r||"after"!==n.steppedLine&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y),void e.lineTo(n.x,n.y);n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}};r.clear=i.clear,r.drawRoundedRectangle=function(e){e.beginPath(),i.roundedRect.apply(i,arguments)}},17767:function(e){"use strict";var t,n={noop:function(){},uid:(t=0,function(){return t++}),isNullOrUndef:function(e){return null==e},isArray:Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,r){return n.valueOrDefault(n.isArray(e)?e[t]:e,r)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,r,i){var o,a,s;if(n.isArray(e))if(a=e.length,i)for(o=a-1;o>=0;o--)t.call(r,e[o],o);else for(o=0;o<a;o++)t.call(r,e[o],o);else if(n.isObject(e))for(a=(s=Object.keys(e)).length,o=0;o<a;o++)t.call(r,e[s[o]],s[o])},arrayEquals:function(e,t){var r,i,o,a;if(!e||!t||e.length!==t.length)return!1;for(r=0,i=e.length;r<i;++r)if(o=e[r],a=t[r],o instanceof Array&&a instanceof Array){if(!n.arrayEquals(o,a))return!1}else if(o!==a)return!1;return!0},clone:function(e){if(n.isArray(e))return e.map(n.clone);if(n.isObject(e)){for(var t={},r=Object.keys(e),i=r.length,o=0;o<i;++o)t[r[o]]=n.clone(e[r[o]]);return t}return e},_merger:function(e,t,r,i){var o=t[e],a=r[e];n.isObject(o)&&n.isObject(a)?n.merge(o,a,i):t[e]=n.clone(a)},_mergerIf:function(e,t,r){var i=t[e],o=r[e];n.isObject(i)&&n.isObject(o)?n.mergeIf(i,o):t.hasOwnProperty(e)||(t[e]=n.clone(o))},merge:function(e,t,r){var i,o,a,s,u,l=n.isArray(t)?t:[t],c=l.length;if(!n.isObject(e))return e;for(i=(r=r||{}).merger||n._merger,o=0;o<c;++o)if(t=l[o],n.isObject(t))for(u=0,s=(a=Object.keys(t)).length;u<s;++u)i(a[u],e,t,r);return e},mergeIf:function(e,t){return n.merge(e,t,{merger:n._mergerIf})},extend:function(e){for(var t=function(t,n){e[n]=t},r=1,i=arguments.length;r<i;++r)n.each(arguments[r],t);return e},inherits:function(e){var t=this,r=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=r};return i.prototype=t.prototype,r.prototype=new i,r.extend=n.inherits,e&&n.extend(r.prototype,e),r.__super__=t.prototype,r}};e.exports=n,n.callCallback=n.callback,n.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},n.getValueOrDefault=n.valueOrDefault,n.getValueAtIndexOrDefault=n.valueAtIndexOrDefault},61531:function(e,t,n){"use strict";var r=n(17767),i={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-i.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*i.easeInBounce(2*e):.5*i.easeOutBounce(2*e-1)+.5}};e.exports={effects:i},r.easingEffects=i},67684:function(e,t,n){"use strict";var r=n(17767);e.exports={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,o;return r.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,o=+e.left||0):t=n=i=o=+e||0,{top:t,right:n,bottom:i,left:o,height:t+i,width:o+n}},resolve:function(e,t,n){var i,o,a;for(i=0,o=e.length;i<o;++i)if(void 0!==(a=e[i])&&(void 0!==t&&"function"==typeof a&&(a=a(t)),void 0!==n&&r.isArray(a)&&(a=a[n]),void 0!==a))return a}}},68743:function(e,t,n){"use strict";e.exports=n(17767),e.exports.easing=n(61531),e.exports.canvas=n(15791),e.exports.options=n(67684)},40204:function(e){e.exports={acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}}},25293:function(e,t,n){"use strict";var r=n(68743),i="chartjs-render-monitor",o="chartjs-render-animation",a=["animationstart","webkitAnimationStart"],s={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function u(e,t){var n=r.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var l=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function c(e,t,n){e.addEventListener(t,n,l)}function d(e,t,n){e.removeEventListener(t,n,l)}function f(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function p(e,t,n){var s,u,l,d,p=e.$chartjs||(e.$chartjs={}),h=p.resizer=function(e){var t=document.createElement("div"),n="chartjs-size-monitor",r=1e6,i="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;";t.style.cssText=i,t.className=n,t.innerHTML='<div class="'+n+'-expand" style="'+i+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+n+'-shrink" style="'+i+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>';var o=t.childNodes[0],a=t.childNodes[1];t._reset=function(){o.scrollLeft=r,o.scrollTop=r,a.scrollLeft=r,a.scrollTop=r};var s=function(){t._reset(),e()};return c(o,"scroll",s.bind(o,"expand")),c(a,"scroll",s.bind(a,"shrink")),t}((s=function(){if(p.resizer)return t(f("resize",n))},l=!1,d=[],function(){d=Array.prototype.slice.call(arguments),u=u||this,l||(l=!0,r.requestAnimFrame.call(window,(function(){l=!1,s.apply(u,d)})))}));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),s=n.renderProxy=function(e){e.animationName===o&&t()};r.each(a,(function(t){c(e,t,s)})),n.reflow=!!e.offsetParent,e.classList.add(i)}(e,(function(){if(p.resizer){var t=e.parentNode;t&&t!==h.parentNode&&t.insertBefore(h,t.firstChild),h._reset()}}))}function h(e){var t=e.$chartjs||{},n=t.resizer;delete t.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&(r.each(a,(function(t){d(e,t,n)})),delete t.renderProxy),e.classList.remove(i)}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var e,t,n,r="from{opacity:0.99}to{opacity:1}";t="@-webkit-keyframes chartjs-render-animation{"+r+"}@keyframes "+o+"{"+r+"}."+i+"{-webkit-animation:"+o+" 0.001s;animation:"+o+" 0.001s;}",n=(e=this)._style||document.createElement("style"),e._style||(e._style=n,t="/* Chart.js */\n"+t,n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n)),n.appendChild(document.createTextNode(t))},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){var n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e.$chartjs={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var o=u(e,"width");void 0!==o&&(e.width=o)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=u(e,"height");void 0!==o&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var i=n[e];r.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),r.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var o=n.$chartjs||(n.$chartjs={}),a=(o.proxies||(o.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=s[e.type]||e.type,i=r.getRelativePosition(e,t);return f(n,t,i.x,i.y,e)}(t,e))};c(i,t,a)}else p(i,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];i&&d(r,t,i)}else h(r)}},r.addEvent=c,r.removeEvent=d},14511:function(e,t,n){"use strict";var r=n(68743),i=n(40204),o=n(25293),a=o._enabled?o:i;e.exports=r.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a)},29325:function(e,t,n){"use strict";e.exports={},e.exports.filler=n(24687),e.exports.legend=n(26486),e.exports.title=n(47060)},24687:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("global",{plugins:{filler:{propagate:!0}}});var a={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],o=i.length||0;return o?function(e,t){return t<o&&i[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};function s(e,t,n){var r,i=e._model||{},o=i.fill;if(void 0===o&&(o=!!i.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(r=parseFloat(o,10),isFinite(r)&&Math.floor(r)===r)return"-"!==o[0]&&"+"!==o[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function u(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePosition?o=r.getBasePosition():r.getBasePixel&&(o=r.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if("number"==typeof o&&isFinite(o))return{x:(t=r.isHorizontal())?o:null,y:t?null:o}}return null}function l(e,t,n){var r,i=e[t].fill,o=[t];if(!n)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function c(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),a[n](e))}function d(e){return e&&!e.skip}function f(e,t,n,r,i){var a;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a<r;++a)o.canvas.lineTo(e,t[a-1],t[a]);for(e.lineTo(n[i-1].x,n[i-1].y),a=i-1;a>0;--a)o.canvas.lineTo(e,n[a],n[a-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,o,a,d=(e.data.datasets||[]).length,f=t.propagate,p=[];for(r=0;r<d;++r)a=null,(o=(n=e.getDatasetMeta(r)).dataset)&&o._model&&o instanceof i.Line&&(a={visible:e.isDatasetVisible(r),fill:s(o,r,d),chart:e,el:o}),n.$filler=a,p.push(a);for(r=0;r<d;++r)(a=p[r])&&(a.fill=l(p,r,f),a.boundary=u(a),a.mapper=c(a))},beforeDatasetDraw:function(e,t){var n=t.meta.$filler;if(n){var i=e.ctx,a=n.el,s=a._view,u=a._children||[],l=n.mapper,c=s.backgroundColor||r.global.defaultColor;l&&c&&u.length&&(o.canvas.clipArea(i,e.chartArea),function(e,t,n,r,i,o){var a,s,u,l,c,p,h,m=t.length,v=r.spanGaps,g=[],y=[],b=0,_=0;for(e.beginPath(),a=0,s=m+!!o;a<s;++a)c=n(l=t[u=a%m]._view,u,r),p=d(l),h=d(c),p&&h?(b=g.push(l),_=y.push(c)):b&&_&&(v?(p&&g.push(l),h&&y.push(c)):(f(e,g,y,b,_),b=_=0,g=[],y=[]));f(e,g,y,b,_),e.closePath(),e.fillStyle=i,e.fill()}(i,u,l,s,c,a._loop),o.canvas.unclipArea(i))}}}},26486:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=n(49234),s=o.noop;function u(e,t){return e.usePointStyle?t*Math.SQRT2:e.boxWidth}r._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data;return o.isArray(t.datasets)?t.datasets.map((function(t,n){return{text:t.label,fillStyle:o.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!e.isDatasetVisible(n),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:n}}),this):[]}}},legendCallback:function(e){var t=[];t.push('<ul class="'+e.id+'-legend">');for(var n=0;n<e.data.datasets.length;n++)t.push('<li><span style="background-color:'+e.data.datasets[n].backgroundColor+'"></span>'),e.data.datasets[n].label&&t.push(e.data.datasets[n].label),t.push("</li>");return t.push("</ul>"),t.join("")}});var l=i.extend({initialize:function(e){o.extend(this,e),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:function(){var e=this,t=e.options.labels||{},n=o.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:s,beforeFit:s,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,a=e.ctx,s=r.global,l=o.valueOrDefault,c=l(n.fontSize,s.defaultFontSize),d=l(n.fontStyle,s.defaultFontStyle),f=l(n.fontFamily,s.defaultFontFamily),p=o.fontString(c,d,f),h=e.legendHitBoxes=[],m=e.minSize,v=e.isHorizontal();if(v?(m.width=e.maxWidth,m.height=i?10:0):(m.width=i?10:0,m.height=e.maxHeight),i)if(a.font=p,v){var g=e.lineWidths=[0],y=e.legendItems.length?c+n.padding:0;a.textAlign="left",a.textBaseline="top",o.each(e.legendItems,(function(t,r){var i=u(n,c)+c/2+a.measureText(t.text).width;g[g.length-1]+i+n.padding>=e.width&&(y+=c+n.padding,g[g.length]=e.left),h[r]={left:0,top:0,width:i,height:c},g[g.length-1]+=i+n.padding})),m.height+=y}else{var b=n.padding,_=e.columnWidths=[],w=n.padding,k=0,E=0,x=c+b;o.each(e.legendItems,(function(e,t){var r=u(n,c)+c/2+a.measureText(e.text).width;E+x>m.height&&(w+=k+n.padding,_.push(k),k=0,E=0),k=Math.max(k,r),E+=x,h[t]={left:0,top:0,width:r,height:c}})),w+=k,_.push(k),m.width+=w}e.width=m.width,e.height=m.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=r.global,a=i.elements.line,s=e.width,l=e.lineWidths;if(t.display){var c,d=e.ctx,f=o.valueOrDefault,p=f(n.fontColor,i.defaultFontColor),h=f(n.fontSize,i.defaultFontSize),m=f(n.fontStyle,i.defaultFontStyle),v=f(n.fontFamily,i.defaultFontFamily),g=o.fontString(h,m,v);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=p,d.fillStyle=p,d.font=g;var y=u(n,h),b=e.legendHitBoxes,_=e.isHorizontal();c=_?{x:e.left+(s-l[0])/2,y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+n.padding,line:0};var w=h+n.padding;o.each(e.legendItems,(function(r,u){var p=d.measureText(r.text).width,m=y+h/2+p,v=c.x,g=c.y;_?v+m>=s&&(g=c.y+=w,c.line++,v=c.x=e.left+(s-l[c.line])/2):g+w>e.bottom&&(v=c.x=v+e.columnWidths[c.line]+n.padding,g=c.y=e.top+n.padding,c.line++),function(e,n,r){if(!(isNaN(y)||y<=0)){d.save(),d.fillStyle=f(r.fillStyle,i.defaultColor),d.lineCap=f(r.lineCap,a.borderCapStyle),d.lineDashOffset=f(r.lineDashOffset,a.borderDashOffset),d.lineJoin=f(r.lineJoin,a.borderJoinStyle),d.lineWidth=f(r.lineWidth,a.borderWidth),d.strokeStyle=f(r.strokeStyle,i.defaultColor);var s=0===f(r.lineWidth,a.borderWidth);if(d.setLineDash&&d.setLineDash(f(r.lineDash,a.borderDash)),t.labels&&t.labels.usePointStyle){var u=h*Math.SQRT2/2,l=u/Math.SQRT2,c=e+l,p=n+l;o.canvas.drawPoint(d,r.pointStyle,u,c,p)}else s||d.strokeRect(e,n,y,h),d.fillRect(e,n,y,h);d.restore()}}(v,g,r),b[u].left=v,b[u].top=g,function(e,t,n,r){var i=h/2,o=y+i+e,a=t+i;d.fillText(n.text,o,a),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(o,a),d.lineTo(o+r,a),d.stroke())}(v,g,r,p),_?c.x+=m+n.padding:c.y+=w}))}},handleEvent:function(e){var t=this,n=t.options,r="mouseup"===e.type?"click":e.type,i=!1;if("mousemove"===r){if(!n.onHover)return}else{if("click"!==r)return;if(!n.onClick)return}var o=e.x,a=e.y;if(o>=t.left&&o<=t.right&&a>=t.top&&a<=t.bottom)for(var s=t.legendHitBoxes,u=0;u<s.length;++u){var l=s[u];if(o>=l.left&&o<=l.left+l.width&&a>=l.top&&a<=l.top+l.height){if("click"===r){n.onClick.call(t,e.native,t.legendItems[u]),i=!0;break}if("mousemove"===r){n.onHover.call(t,e.native,t.legendItems[u]),i=!0;break}}}return i}});function c(e,t){var n=new l({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}e.exports={id:"legend",_element:l,beforeInit:function(e){var t=e.options.legend;t&&c(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(o.mergeIf(t,r.global.legend),n?(a.configure(e,n,t),n.options=t):c(e,t)):n&&(a.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}}},47060:function(e,t,n){"use strict";var r=n(4398),i=n(20054),o=n(68743),a=n(49234),s=o.noop;r._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var u=i.extend({initialize:function(e){o.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:s,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:s,afterBuildLabels:s,beforeFit:s,fit:function(){var e=this,t=o.valueOrDefault,n=e.options,i=n.display,a=t(n.fontSize,r.global.defaultFontSize),s=e.minSize,u=o.isArray(n.text)?n.text.length:1,l=o.options.toLineHeight(n.lineHeight,a),c=i?u*l+2*n.padding:0;e.isHorizontal()?(s.width=e.maxWidth,s.height=c):(s.width=c,s.height=e.maxHeight),e.width=s.width,e.height=s.height},afterFit:s,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=o.valueOrDefault,i=e.options,a=r.global;if(i.display){var s,u,l,c=n(i.fontSize,a.defaultFontSize),d=n(i.fontStyle,a.defaultFontStyle),f=n(i.fontFamily,a.defaultFontFamily),p=o.fontString(c,d,f),h=o.options.toLineHeight(i.lineHeight,c),m=h/2+i.padding,v=0,g=e.top,y=e.left,b=e.bottom,_=e.right;t.fillStyle=n(i.fontColor,a.defaultFontColor),t.font=p,e.isHorizontal()?(u=y+(_-y)/2,l=g+m,s=_-y):(u="left"===i.position?y+m:_-m,l=g+(b-g)/2,s=b-g,v=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(u,l),t.rotate(v),t.textAlign="center",t.textBaseline="middle";var w=i.text;if(o.isArray(w))for(var k=0,E=0;E<w.length;++E)t.fillText(w[E],0,k,s),k+=h;else t.fillText(w,0,0,s);t.restore()}}});function l(e,t){var n=new u({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.titleBlock=n}e.exports={id:"title",_element:u,beforeInit:function(e){var t=e.options.title;t&&l(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(o.mergeIf(t,r.global.title),n?(a.configure(e,n,t),n.options=t):l(e,t)):n&&(a.removeBox(e,n),delete e.titleBlock)}}},63318:function(e,t,n){"use strict";var r=n(26925),i=n(73920);e.exports=function(){var e=r.extend({getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels},determineDataLimits:function(){var e,t=this,n=t.getLabels();t.minIndex=0,t.maxIndex=n.length-1,void 0!==t.options.ticks.min&&(e=n.indexOf(t.options.ticks.min),t.minIndex=-1!==e?e:t.minIndex),void 0!==t.options.ticks.max&&(e=n.indexOf(t.options.ticks.max),t.maxIndex=-1!==e?e:t.maxIndex),t.min=n[t.minIndex],t.max=n[t.maxIndex]},buildTicks:function(){var e=this,t=e.getLabels();e.ticks=0===e.minIndex&&e.maxIndex===t.length-1?t:t.slice(e.minIndex,e.maxIndex+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart.data,i=n.isHorizontal();return r.yLabels&&!i?n.getRightValue(r.datasets[t].data[e]):n.ticks[e-n.minIndex]},getPixelForValue:function(e,t){var n,r=this,i=r.options.offset,o=Math.max(r.maxIndex+1-r.minIndex-(i?0:1),1);if(null!=e&&(n=r.isHorizontal()?e.x:e.y),void 0!==n||void 0!==e&&isNaN(t)){e=n||e;var a=r.getLabels().indexOf(e);t=-1!==a?a:t}if(r.isHorizontal()){var s=r.width/o,u=s*(t-r.minIndex);return i&&(u+=s/2),r.left+Math.round(u)}var l=r.height/o,c=l*(t-r.minIndex);return i&&(c+=l/2),r.top+Math.round(c)},getPixelForTick:function(e){return this.getPixelForValue(this.ticks[e],e+this.minIndex,null)},getValueForPixel:function(e){var t=this,n=t.options.offset,r=Math.max(t._ticks.length-(n?0:1),1),i=t.isHorizontal(),o=(i?t.width:t.height)/r;return e-=i?t.left:t.top,n&&(e-=o/2),(e<=0?0:Math.round(e/o))+t.minIndex},getBasePixel:function(){return this.bottom}});i.registerScaleType("category",e,{position:"bottom"})}},61503:function(e,t,n){"use strict";var r=n(4398),i=n(68743),o=n(73920),a=n(81933);e.exports=function(e){var t={position:"left",ticks:{callback:a.formatters.linear}},n=e.LinearScaleBase.extend({determineDataLimits:function(){var e=this,t=e.options,n=e.chart,r=n.data.datasets,o=e.isHorizontal();function a(t){return o?t.xAxisID===e.id:t.yAxisID===e.id}e.min=null,e.max=null;var s=t.stacked;if(void 0===s&&i.each(r,(function(e,t){if(!s){var r=n.getDatasetMeta(t);n.isDatasetVisible(t)&&a(r)&&void 0!==r.stack&&(s=!0)}})),t.stacked||s){var u={};i.each(r,(function(r,o){var s=n.getDatasetMeta(o),l=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");void 0===u[l]&&(u[l]={positiveValues:[],negativeValues:[]});var c=u[l].positiveValues,d=u[l].negativeValues;n.isDatasetVisible(o)&&a(s)&&i.each(r.data,(function(n,r){var i=+e.getRightValue(n);isNaN(i)||s.data[r].hidden||(c[r]=c[r]||0,d[r]=d[r]||0,t.relativePoints?c[r]=100:i<0?d[r]+=i:c[r]+=i)}))})),i.each(u,(function(t){var n=t.positiveValues.concat(t.negativeValues),r=i.min(n),o=i.max(n);e.min=null===e.min?r:Math.min(e.min,r),e.max=null===e.max?o:Math.max(e.max,o)}))}else i.each(r,(function(t,r){var o=n.getDatasetMeta(r);n.isDatasetVisible(r)&&a(o)&&i.each(t.data,(function(t,n){var r=+e.getRightValue(t);isNaN(r)||o.data[n].hidden||((null===e.min||r<e.min)&&(e.min=r),(null===e.max||r>e.max)&&(e.max=r))}))}));e.min=isFinite(e.min)&&!isNaN(e.min)?e.min:0,e.max=isFinite(e.max)&&!isNaN(e.max)?e.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var e,t=this,n=t.options.ticks;if(t.isHorizontal())e=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(t.width/50));else{var o=i.valueOrDefault(n.fontSize,r.global.defaultFontSize);e=Math.min(n.maxTicksLimit?n.maxTicksLimit:11,Math.ceil(t.height/(2*o)))}return e},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this,n=t.start,r=+t.getRightValue(e),i=t.end-n;return t.isHorizontal()?t.left+t.width/i*(r-n):t.bottom-t.height/i*(r-n)},getValueForPixel:function(e){var t=this,n=t.isHorizontal(),r=n?t.width:t.height,i=(n?e-t.left:t.bottom-e)/r;return t.start+(t.end-t.start)*i},getPixelForTick:function(e){return this.getPixelForValue(this.ticksAsNumbers[e])}});o.registerScaleType("linear",n,t)}},94979:function(e,t,n){"use strict";var r=n(68743),i=n(26925);e.exports=function(e){var t=r.noop;e.LinearScaleBase=i.extend({getRightValue:function(e){return"string"==typeof e?+e:i.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=r.sign(e.min),i=r.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var o=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),o!==a&&e.min>=e.max&&(o?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:r.valueOrDefault(t.fixedStepSize,t.stepSize)},o=e.ticks=function(e,t){var n,i,o,a=[];if(e.stepSize&&e.stepSize>0)o=e.stepSize;else{var s=r.niceNum(t.max-t.min,!1);o=r.niceNum(s/(e.maxTicks-1),!0),void 0!==(i=e.precision)&&(n=Math.pow(10,i),o=Math.ceil(o*n)/n)}var u=Math.floor(t.min/o)*o,l=Math.ceil(t.max/o)*o;r.isNullOrUndef(e.min)||r.isNullOrUndef(e.max)||!e.stepSize||r.almostWhole((e.max-e.min)/e.stepSize,o/1e3)&&(u=e.min,l=e.max);var c=(l-u)/o;c=r.almostEquals(c,Math.round(c),o/1e3)?Math.round(c):Math.ceil(c),i=1,o<1&&(i=Math.pow(10,1-Math.floor(r.log10(o))),u=Math.round(u*i)/i,l=Math.round(l*i)/i),a.push(void 0!==e.min?e.min:u);for(var d=1;d<c;++d)a.push(Math.round((u+d*o)*i)/i);return a.push(void 0!==e.max?e.max:l),a}(i,e);e.handleDirectionalChanges(),e.max=r.max(o),e.min=r.min(o),t.reverse?(o.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),i.prototype.convertTicksToLabels.call(e)}})}},26524:function(e,t,n){"use strict";var r=n(68743),i=n(26925),o=n(73920),a=n(81933);e.exports=function(e){var t={position:"left",ticks:{callback:a.formatters.logarithmic}},n=i.extend({determineDataLimits:function(){var e=this,t=e.options,n=e.chart,i=n.data.datasets,o=e.isHorizontal();function a(t){return o?t.xAxisID===e.id:t.yAxisID===e.id}e.min=null,e.max=null,e.minNotZero=null;var s=t.stacked;if(void 0===s&&r.each(i,(function(e,t){if(!s){var r=n.getDatasetMeta(t);n.isDatasetVisible(t)&&a(r)&&void 0!==r.stack&&(s=!0)}})),t.stacked||s){var u={};r.each(i,(function(i,o){var s=n.getDatasetMeta(o),l=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");n.isDatasetVisible(o)&&a(s)&&(void 0===u[l]&&(u[l]=[]),r.each(i.data,(function(t,n){var r=u[l],i=+e.getRightValue(t);isNaN(i)||s.data[n].hidden||i<0||(r[n]=r[n]||0,r[n]+=i)})))})),r.each(u,(function(t){if(t.length>0){var n=r.min(t),i=r.max(t);e.min=null===e.min?n:Math.min(e.min,n),e.max=null===e.max?i:Math.max(e.max,i)}}))}else r.each(i,(function(t,i){var o=n.getDatasetMeta(i);n.isDatasetVisible(i)&&a(o)&&r.each(t.data,(function(t,n){var r=+e.getRightValue(t);isNaN(r)||o.data[n].hidden||r<0||((null===e.min||r<e.min)&&(e.min=r),(null===e.max||r>e.max)&&(e.max=r),0!==r&&(null===e.minNotZero||r<e.minNotZero)&&(e.minNotZero=r))}))}));this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=r.valueOrDefault;e.min=n(t.min,e.min),e.max=n(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(r.log10(e.min))-1),e.max=Math.pow(10,Math.floor(r.log10(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(r.log10(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(r.log10(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(r.log10(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:t.min,max:t.max},o=e.ticks=function(e,t){var n,i,o=[],a=r.valueOrDefault,s=a(e.min,Math.pow(10,Math.floor(r.log10(t.min)))),u=Math.floor(r.log10(t.max)),l=Math.ceil(t.max/Math.pow(10,u));0===s?(n=Math.floor(r.log10(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),o.push(s),s=i*Math.pow(10,n)):(n=Math.floor(r.log10(s)),i=Math.floor(s/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(s),10==++i&&(i=1,c=++n>=0?1:c),s=Math.round(i*Math.pow(10,n)*c)/c}while(n<u||n===u&&i<l);var d=a(e.max,s);return o.push(d),o}(i,e);e.max=r.max(o),e.min=r.min(o),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&o.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),i.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){return this.getPixelForValue(this.tickValues[e])},_getFirstTickValue:function(e){var t=Math.floor(r.log10(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},getPixelForValue:function(t){var n,i,o,a,s,u=this,l=u.options.ticks.reverse,c=r.log10,d=u._getFirstTickValue(u.minNotZero),f=0;return t=+u.getRightValue(t),l?(o=u.end,a=u.start,s=-1):(o=u.start,a=u.end,s=1),u.isHorizontal()?(n=u.width,i=l?u.right:u.left):(n=u.height,s*=-1,i=l?u.top:u.bottom),t!==o&&(0===o&&(n-=f=r.getValueOrDefault(u.options.ticks.fontSize,e.defaults.global.defaultFontSize),o=d),0!==t&&(f+=n/(c(a)-c(o))*(c(t)-c(o))),i+=s*f),i},getValueForPixel:function(t){var n,i,o,a,s=this,u=s.options.ticks.reverse,l=r.log10,c=s._getFirstTickValue(s.minNotZero);if(u?(i=s.end,o=s.start):(i=s.start,o=s.end),s.isHorizontal()?(n=s.width,a=u?s.right-t:t-s.left):(n=s.height,a=u?t-s.top:s.bottom-t),a!==i){if(0===i){var d=r.getValueOrDefault(s.options.ticks.fontSize,e.defaults.global.defaultFontSize);a-=d,n-=d,i=c}a*=l(o)-l(i),a/=n,a=Math.pow(10,l(i)+a)}return a}});o.registerScaleType("logarithmic",n,t)}},88759:function(e,t,n){"use strict";var r=n(4398),i=n(68743),o=n(73920),a=n(81933);e.exports=function(e){var t=r.global,n={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function s(e){var t=e.options;return t.angleLines.display||t.pointLabels.display?e.chart.data.labels.length:0}function u(e){var n=e.options.pointLabels,r=i.valueOrDefault(n.fontSize,t.defaultFontSize),o=i.valueOrDefault(n.fontStyle,t.defaultFontStyle),a=i.valueOrDefault(n.fontFamily,t.defaultFontFamily);return{size:r,style:o,family:a,font:i.fontString(r,o,a)}}function l(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n-5,end:t}:{start:t,end:t+n+5}}function c(e){return 0===e||180===e?"center":e<180?"left":"right"}function d(e,t,n,r){if(i.isArray(t))for(var o=n.y,a=1.5*r,s=0;s<t.length;++s)e.fillText(t[s],n.x,o),o+=a;else e.fillText(t,n.x,n.y)}function f(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function p(e){return i.isNumber(e)?e:0}var h=e.LinearScaleBase.extend({setDimensions:function(){var e=this,n=e.options,r=n.ticks;e.width=e.maxWidth,e.height=e.maxHeight,e.xCenter=Math.round(e.width/2),e.yCenter=Math.round(e.height/2);var o=i.min([e.height,e.width]),a=i.valueOrDefault(r.fontSize,t.defaultFontSize);e.drawingArea=n.display?o/2-(a/2+r.backdropPaddingY):o/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;i.each(t.data.datasets,(function(o,a){if(t.isDatasetVisible(a)){var s=t.getDatasetMeta(a);i.each(o.data,(function(t,i){var o=+e.getRightValue(t);isNaN(o)||s.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},getTickLimit:function(){var e=this.options.ticks,n=i.valueOrDefault(e.fontSize,t.defaultFontSize);return Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var t=this;e.LinearScaleBase.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(t.options.pointLabels.callback,t)},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e,t;this.options.pointLabels.display?function(e){var t,n,r,o=u(e),a=Math.min(e.height/2,e.width/2),c={r:e.width,l:0,t:e.height,b:0},d={};e.ctx.font=o.font,e._pointLabelSizes=[];var f,p,h,m=s(e);for(t=0;t<m;t++){r=e.getPointPosition(t,a),f=e.ctx,p=o.size,h=e.pointLabels[t]||"",n=i.isArray(h)?{w:i.longestText(f,f.font,h),h:h.length*p+1.5*(h.length-1)*p}:{w:f.measureText(h).width,h:p},e._pointLabelSizes[t]=n;var v=e.getIndexAngle(t),g=i.toDegrees(v)%360,y=l(g,r.x,n.w,0,180),b=l(g,r.y,n.h,90,270);y.start<c.l&&(c.l=y.start,d.l=v),y.end>c.r&&(c.r=y.end,d.r=v),b.start<c.t&&(c.t=b.start,d.t=v),b.end>c.b&&(c.b=b.end,d.b=v)}e.setReductions(a,c,d)}(this):(e=this,t=Math.min(e.height/2,e.width/2),e.drawingArea=Math.round(t),e.setCenterPoint(0,0,0,0))},setReductions:function(e,t,n){var r=this,i=t.l/Math.sin(n.l),o=Math.max(t.r-r.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-r.height,0)/Math.cos(n.b);i=p(i),o=p(o),a=p(a),s=p(s),r.drawingArea=Math.min(Math.round(e-(i+o)/2),Math.round(e-(a+s)/2)),r.setCenterPoint(i,o,a,s)},setCenterPoint:function(e,t,n,r){var i=this,o=i.width-t-i.drawingArea,a=e+i.drawingArea,s=n+i.drawingArea,u=i.height-r-i.drawingArea;i.xCenter=Math.round((a+o)/2+i.left),i.yCenter=Math.round((s+u)/2+i.top)},getIndexAngle:function(e){return e*(2*Math.PI/s(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(null===e)return 0;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,r=n.getIndexAngle(e)-Math.PI/2;return{x:Math.round(Math.cos(r)*t)+n.xCenter,y:Math.round(Math.sin(r)*t)+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(){var e=this,t=e.min,n=e.max;return e.getPointPositionForValue(0,e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},draw:function(){var e=this,n=e.options,r=n.gridLines,o=n.ticks,a=i.valueOrDefault;if(n.display){var l=e.ctx,p=this.getIndexAngle(0),h=a(o.fontSize,t.defaultFontSize),m=a(o.fontStyle,t.defaultFontStyle),v=a(o.fontFamily,t.defaultFontFamily),g=i.fontString(h,m,v);i.each(e.ticks,(function(n,u){if(u>0||o.reverse){var c=e.getDistanceFromCenterForValue(e.ticksAsNumbers[u]);if(r.display&&0!==u&&function(e,t,n,r){var o=e.ctx;if(o.strokeStyle=i.valueAtIndexOrDefault(t.color,r-1),o.lineWidth=i.valueAtIndexOrDefault(t.lineWidth,r-1),e.options.gridLines.circular)o.beginPath(),o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI),o.closePath(),o.stroke();else{var a=s(e);if(0===a)return;o.beginPath();var u=e.getPointPosition(0,n);o.moveTo(u.x,u.y);for(var l=1;l<a;l++)u=e.getPointPosition(l,n),o.lineTo(u.x,u.y);o.closePath(),o.stroke()}}(e,r,c,u),o.display){var d=a(o.fontColor,t.defaultFontColor);if(l.font=g,l.save(),l.translate(e.xCenter,e.yCenter),l.rotate(p),o.showLabelBackdrop){var f=l.measureText(n).width;l.fillStyle=o.backdropColor,l.fillRect(-f/2-o.backdropPaddingX,-c-h/2-o.backdropPaddingY,f+2*o.backdropPaddingX,h+2*o.backdropPaddingY)}l.textAlign="center",l.textBaseline="middle",l.fillStyle=d,l.fillText(n,0,-c),l.restore()}}})),(n.angleLines.display||n.pointLabels.display)&&function(e){var n=e.ctx,r=e.options,o=r.angleLines,a=r.pointLabels;n.lineWidth=o.lineWidth,n.strokeStyle=o.color;var l=e.getDistanceFromCenterForValue(r.ticks.reverse?e.min:e.max),p=u(e);n.textBaseline="top";for(var h=s(e)-1;h>=0;h--){if(o.display){var m=e.getPointPosition(h,l);n.beginPath(),n.moveTo(e.xCenter,e.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(a.display){var v=e.getPointPosition(h,l+5),g=i.valueAtIndexOrDefault(a.fontColor,h,t.defaultFontColor);n.font=p.font,n.fillStyle=g;var y=e.getIndexAngle(h),b=i.toDegrees(y);n.textAlign=c(b),f(b,e._pointLabelSizes[h],v),d(n,e.pointLabels[h]||"",v,p.size)}}}(e)}}});o.registerScaleType("radialLinear",h,n)}},82172:function(e,t,n){"use strict";var r=n(70420);r="function"==typeof r?r:window.moment;var i=n(4398),o=n(68743),a=n(26925),s=n(73920),u=Number.MIN_SAFE_INTEGER||-9007199254740991,l=Number.MAX_SAFE_INTEGER||9007199254740991,c={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,15,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,15,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},d=Object.keys(c);function f(e,t){return e-t}function p(e){var t,n,r,i={},o=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,o.push(r));return o}function h(e,t,n,r){var i=function(e,t,n){for(var r,i,o,a=0,s=e.length-1;a>=0&&a<=s;){if(i=e[(r=a+s>>1)-1]||null,o=e[r],!i)return{lo:null,hi:o};if(o[t]<n)a=r+1;else{if(!(i[t]>n))return{lo:i,hi:o};s=r-1}}return{lo:o,hi:null}}(e,t,n),o=i.lo?i.hi?i.lo:e[e.length-2]:e[0],a=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=a[t]-o[t],u=s?(n-o[t])/s:0,l=(a[r]-o[r])*u;return o[r]+l}function m(e,t){var n=t.parser,i=t.parser||t.format;return"function"==typeof n?n(e):"string"==typeof e&&"string"==typeof i?r(e,i):(e instanceof r||(e=r(e)),e.isValid()?e:"function"==typeof i?i(e):e)}function v(e,t){if(o.isNullOrUndef(e))return null;var n=t.options.time,r=m(t.getRightValue(e),n);return r.isValid()?(n.round&&r.startOf(n.round),r.valueOf()):null}function g(e){for(var t=d.indexOf(e)+1,n=d.length;t<n;++t)if(c[d[t]].common)return d[t]}function y(e,t,n,i){var a,s=i.time,u=s.unit||function(e,t,n,r){var i,o,a,s=d.length;for(i=d.indexOf(e);i<s-1;++i)if(a=(o=c[d[i]]).steps?o.steps[o.steps.length-1]:l,o.common&&Math.ceil((n-t)/(a*o.size))<=r)return d[i];return d[s-1]}(s.minUnit,e,t,n),f=g(u),p=o.valueOrDefault(s.stepSize,s.unitStepSize),h="week"===u&&s.isoWeekday,m=i.ticks.major.enabled,v=c[u],y=r(e),b=r(t),_=[];for(p||(p=function(e,t,n,r){var i,o,a,s=t-e,u=c[n],l=u.size,d=u.steps;if(!d)return Math.ceil(s/(r*l));for(i=0,o=d.length;i<o&&(a=d[i],!(Math.ceil(s/(l*a))<=r));++i);return a}(e,t,u,n)),h&&(y=y.isoWeekday(h),b=b.isoWeekday(h)),y=y.startOf(h?"day":u),(b=b.startOf(h?"day":u))<t&&b.add(1,u),a=r(y),m&&f&&!h&&!s.round&&(a.startOf(f),a.add(~~((y-a)/(v.size*p))*p,u));a<b;a.add(p,u))_.push(+a);return _.push(+a),_}e.exports=function(){var e=a.extend({initialize:function(){if(!r)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),a.prototype.initialize.call(this)},update:function(){var e=this,t=e.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),a.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),a.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,a,s,c=this,d=c.chart,h=c.options.time,m=h.unit||"day",g=l,y=u,b=[],_=[],w=[];for(e=0,n=d.data.labels.length;e<n;++e)w.push(v(d.data.labels[e],c));for(e=0,n=(d.data.datasets||[]).length;e<n;++e)if(d.isDatasetVisible(e))if(a=d.data.datasets[e].data,o.isObject(a[0]))for(_[e]=[],t=0,i=a.length;t<i;++t)s=v(a[t],c),b.push(s),_[e][t]=s;else b.push.apply(b,w),_[e]=w.slice(0);else _[e]=[];w.length&&(w=p(w).sort(f),g=Math.min(g,w[0]),y=Math.max(y,w[w.length-1])),b.length&&(b=p(b).sort(f),g=Math.min(g,b[0]),y=Math.max(y,b[b.length-1])),g=v(h.min,c)||g,y=v(h.max,c)||y,g=g===l?+r().startOf(m):g,y=y===u?+r().endOf(m)+1:y,c.min=Math.min(g,y),c.max=Math.max(g+1,y),c._horizontal=c.isHorizontal(),c._table=[],c._timestamps={data:b,datasets:_,labels:w}},buildTicks:function(){var e,t,n,i=this,o=i.min,a=i.max,s=i.options,u=s.time,l=[],f=[];switch(s.ticks.source){case"data":l=i._timestamps.data;break;case"labels":l=i._timestamps.labels;break;default:l=y(o,a,i.getLabelCapacity(o),s)}for("ticks"===s.bounds&&l.length&&(o=l[0],a=l[l.length-1]),o=v(u.min,i)||o,a=v(u.max,i)||a,e=0,t=l.length;e<t;++e)(n=l[e])>=o&&n<=a&&f.push(n);return i.min=o,i.max=a,i._unit=u.unit||function(e,t,n,i){var o,a,s=r.duration(r(i).diff(r(n)));for(o=d.length-1;o>=d.indexOf(t);o--)if(a=d[o],c[a].common&&s.as(a)>=e.length)return a;return d[t?d.indexOf(t):0]}(f,u.minUnit,i.min,i.max),i._majorUnit=g(i._unit),i._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,o,a,s,u,l=[],c=[t];for(i=0,o=e.length;i<o;++i)(s=e[i])>t&&s<n&&c.push(s);for(c.push(n),i=0,o=c.length;i<o;++i)u=c[i+1],a=c[i-1],s=c[i],void 0!==a&&void 0!==u&&Math.round((u+a)/2)===s||l.push({time:s,pos:i/(o-1)});return l}(i._timestamps.data,o,a,s.distribution),i._offsets=function(e,t,n,r,i){var o,a,s=0,u=0;return i.offset&&t.length&&(i.time.min||(o=t.length>1?t[1]:r,a=t[0],s=(h(e,"time",o,"pos")-h(e,"time",a,"pos"))/2),i.time.max||(o=t[t.length-1],a=t.length>1?t[t.length-2]:n,u=(h(e,"time",o,"pos")-h(e,"time",a,"pos"))/2)),{left:s,right:u}}(i._table,f,o,a,s),i._labelFormat=function(e,t){var n,r,i,o=e.length;for(n=0;n<o;n++){if(0!==(r=m(e[n],t)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===r.second()&&0===r.minute()&&0===r.hour()||(i=!0)}return i?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(i._timestamps.data,u),function(e,t){var n,i,o,a,s=[];for(n=0,i=e.length;n<i;++n)o=e[n],a=!!t&&o===+r(o).startOf(t),s.push({value:o,major:a});return s}(f,i._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n.chart.data,i=n.options.time,a=r.labels&&e<r.labels.length?r.labels[e]:"",s=r.datasets[t].data[e];return o.isObject(s)&&(a=n.getRightValue(s)),i.tooltipFormat?m(a,i).format(i.tooltipFormat):"string"==typeof a?a:m(a,i).format(n._labelFormat)},tickFormatFunction:function(e,t,n,r){var i=this,a=i.options,s=e.valueOf(),u=a.time.displayFormats,l=u[i._unit],c=i._majorUnit,d=u[c],f=e.clone().startOf(c).valueOf(),p=a.ticks.major,h=p.enabled&&c&&d&&s===f,m=e.format(r||(h?d:l)),v=h?p:a.ticks.minor,g=o.valueOrDefault(v.callback,v.userCallback);return g?g(m,t,n):m},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(r(e[t].value),t,e));return i},getPixelForOffset:function(e){var t=this,n=t._horizontal?t.width:t.height,r=t._horizontal?t.left:t.top,i=h(t._table,"time",e,"pos");return r+n*(t._offsets.left+i)/(t._offsets.left+1+t._offsets.right)},getPixelForValue:function(e,t,n){var r=this,i=null;if(void 0!==t&&void 0!==n&&(i=r._timestamps.datasets[n][t]),null===i&&(i=v(e,r)),null!==i)return r.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,n=t._horizontal?t.width:t.height,i=t._horizontal?t.left:t.top,o=(n?(e-i)/n:0)*(t._offsets.left+1+t._offsets.left)-t._offsets.right,a=h(t._table,"pos",o,"time");return r(a)},getLabelWidth:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=o.toRadians(t.maxRotation),a=Math.cos(r),s=Math.sin(r);return n*a+o.valueOrDefault(t.fontSize,i.global.defaultFontSize)*s},getLabelCapacity:function(e){var t=this,n=t.options.time.displayFormats.millisecond,i=t.tickFormatFunction(r(e),0,[],n),o=t.getLabelWidth(i),a=t.isHorizontal()?t.width:t.height,s=Math.floor(a/o);return s>0?s:1}});s.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},20297:function(e,t,n){var r=n(8874);function i(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3})$/i);if(i){i=i[1];for(var o=0;o<t.length;o++)t[o]=parseInt(i[o]+i[o],16)}else if(i=e.match(/^#([a-fA-F0-9]{6})$/i)){i=i[1];for(o=0;o<t.length;o++)t[o]=parseInt(i.slice(2*o,2*o+2),16)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=r[i[1]]))return}for(o=0;o<t.length;o++)t[o]=c(t[o],0,255);return n=n||0==n?c(n,0,1):1,t[3]=n,t}}function o(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[c(parseInt(t[1]),0,360),c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}}}function a(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[c(parseInt(t[1]),0,360),c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}}}function s(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function u(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function l(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function c(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}e.exports={getRgba:i,getHsla:o,getRgb:function(e){var t=i(e);return t&&t.slice(0,3)},getHsl:function(e){var t=o(e);return t&&t.slice(0,3)},getHwb:a,getAlpha:function(e){var t=i(e);if(t)return t[3];if(t=o(e))return t[3];if(t=a(e))return t[3]},hexString:function(e){return"#"+d(e[0])+d(e[1])+d(e[2])},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return s(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:s,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return u(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"},percentaString:u,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return l(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:l,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return f[e.slice(0,3)]}};var f={};for(var p in r)f[r[p]]=p},87863:function(e,t,n){var r=n(12085),i=n(20297),o=function(e){return e instanceof o?e:this instanceof o?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=i.getRgba(e))?this.setValues("rgb",t):(t=i.getHsla(e))?this.setValues("hsl",t):(t=i.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new o(e);var t};o.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,i=void 0===t?.5:t,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return this.rgb(s*n.red()+u*r.red(),s*n.green()+u*r.green(),s*n.blue()+u*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new o,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(e=r[a],"[object Array]"===(t={}.toString.call(e))?i[a]=e.slice(0):"[object Number]"===t?i[a]=e:console.error("unexpected color value:",e));return n}},o.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},o.prototype.setValues=function(e,t){var n,i,o=this.values,a=this.spaces,s=this.maxes,u=1;if(this.valid=!0,"alpha"===e)u=t;else if(t.length)o[e]=t.slice(0,e.length),u=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)o[e][n]=t[e.charAt(n)];u=t.a}else if(void 0!==t[a[e][0]]){var l=a[e];for(n=0;n<e.length;n++)o[e][n]=t[l[n]];u=t.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===u?o.alpha:u)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(s[e][n],o[e][n])),o[e][n]=Math.round(i);for(var c in a)c!==e&&(o[c]=r[e][c](o[e]));return!0},o.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},o.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!=typeof window&&(window.Color=o),e.exports=o},59523:function(e,t,n){e.exports=function(e){"use strict";var t=(e=e&&e.hasOwnProperty("default")?e.default:e).helpers,n=function(){if("undefined"!=typeof window){if(window.devicePixelRatio)return window.devicePixelRatio;var e=window.screen;if(e)return(e.deviceXDPI||1)/(e.logicalXDPI||1)}return 1}(),r={toTextLines:function(e){var n,r=[];for(e=[].concat(e);e.length;)"string"==typeof(n=e.pop())?r.unshift.apply(r,n.split("\n")):Array.isArray(n)?e.push.apply(e,n):t.isNullOrUndef(e)||r.unshift(""+n);return r},toFontString:function(e){return!e||t.isNullOrUndef(e.size)||t.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family},textSize:function(e,t,n){var r,i=[].concat(t),o=i.length,a=e.font,s=0;for(e.font=n.string,r=0;r<o;++r)s=Math.max(e.measureText(i[r]).width,s);return e.font=a,{height:o*n.lineHeight,width:s}},parseFont:function(n){var i=e.defaults.global,o=t.valueOrDefault(n.size,i.defaultFontSize),a={family:t.valueOrDefault(n.family,i.defaultFontFamily),lineHeight:t.options.toLineHeight(n.lineHeight,o),size:o,style:t.valueOrDefault(n.style,i.defaultFontStyle),weight:t.valueOrDefault(n.weight,null),string:""};return a.string=r.toFontString(a),a},bound:function(e,t,n){return Math.max(e,Math.min(t,n))},arrayDiff:function(e,t){var n,r,i,o,a=e.slice(),s=[];for(n=0,i=t.length;n<i;++n)o=t[n],-1===(r=a.indexOf(o))?s.push([o,1]):a.splice(r,1);for(n=0,i=a.length;n<i;++n)s.push([a[n],-1]);return s},rasterize:function(e){return Math.round(e*n)/n}};function i(e,t){var n=t.x,r=t.y;if(null===n)return{x:0,y:-1};if(null===r)return{x:1,y:0};var i=e.x-n,o=e.y-r,a=Math.sqrt(i*i+o*o);return{x:a?i/a:0,y:a?o/a:-1}}function o(e,t,n,r,i){switch(i){case"center":n=r=0;break;case"bottom":n=0,r=1;break;case"right":n=1,r=0;break;case"left":n=-1,r=0;break;case"top":n=0,r=-1;break;case"start":n=-n,r=-r;break;case"end":break;default:i*=Math.PI/180,n=Math.cos(i),r=Math.sin(i)}return{x:e,y:t,vx:n,vy:r}}var a=0,s=1,u=2,l=4,c=8;function d(e,t,n){var r=a;return e<n.left?r|=s:e>n.right&&(r|=u),t<n.top?r|=c:t>n.bottom&&(r|=l),r}function f(e,t){for(var n,r,i,o=e.x0,a=e.y0,f=e.x1,p=e.y1,h=d(o,a,t),m=d(f,p,t);h|m&&!(h&m);)(n=h||m)&c?(r=o+(f-o)*(t.top-a)/(p-a),i=t.top):n&l?(r=o+(f-o)*(t.bottom-a)/(p-a),i=t.bottom):n&u?(i=a+(p-a)*(t.right-o)/(f-o),r=t.right):n&s&&(i=a+(p-a)*(t.left-o)/(f-o),r=t.left),n===h?h=d(o=r,a=i,t):m=d(f=r,p=i,t);return{x0:o,x1:f,y0:a,y1:p}}function p(e,t){var n,r,i=t.anchor,a=e;return t.clamp&&(a=f(a,t.area)),"start"===i?(n=a.x0,r=a.y0):"end"===i?(n=a.x1,r=a.y1):(n=(a.x0+a.x1)/2,r=(a.y0+a.y1)/2),o(n,r,e.vx,e.vy,t.align)}var h={arc:function(e,t){var n=(e.startAngle+e.endAngle)/2,r=Math.cos(n),i=Math.sin(n),o=e.innerRadius,a=e.outerRadius;return p({x0:e.x+r*o,y0:e.y+i*o,x1:e.x+r*a,y1:e.y+i*a,vx:r,vy:i},t)},point:function(e,t){var n=i(e,t.origin),r=n.x*e.radius,o=n.y*e.radius;return p({x0:e.x-r,y0:e.y-o,x1:e.x+r,y1:e.y+o,vx:n.x,vy:n.y},t)},rect:function(e,t){var n=i(e,t.origin),r=e.x,o=e.y,a=0,s=0;return e.horizontal?(r=Math.min(e.x,e.base),a=Math.abs(e.base-e.x)):(o=Math.min(e.y,e.base),s=Math.abs(e.base-e.y)),p({x0:r,y0:o+s,x1:r+a,y1:o,vx:n.x,vy:n.y},t)},fallback:function(e,t){var n=i(e,t.origin);return p({x0:e.x,y0:e.y,x1:e.x,y1:e.y,vx:n.x,vy:n.y},t)}},m=e.helpers,v=r.rasterize;function g(e){var t=e.borderWidth||0,n=e.padding,r=e.size.height,i=e.size.width,o=-i/2,a=-r/2;return{frame:{x:o-n.left-t,y:a-n.top-t,w:i+n.width+2*t,h:r+n.height+2*t},text:{x:o,y:a,w:i,h:r}}}function y(e){var t=e._model.horizontal,n=e._scale||t&&e._xScale||e._yScale;if(!n)return null;if(void 0!==n.xCenter&&void 0!==n.yCenter)return{x:n.xCenter,y:n.yCenter};var r=n.getBasePixel();return t?{x:r,y:null}:{x:null,y:r}}function b(t){return t instanceof e.elements.Arc?h.arc:t instanceof e.elements.Point?h.point:t instanceof e.elements.Rectangle?h.rect:h.fallback}function _(e,t,n){var r=n.backgroundColor,i=n.borderColor,o=n.borderWidth;(r||i&&o)&&(e.beginPath(),m.canvas.roundedRect(e,v(t.x)+o/2,v(t.y)+o/2,v(t.w)-o,v(t.h)-o,n.borderRadius),e.closePath(),r&&(e.fillStyle=r,e.fill()),i&&o&&(e.strokeStyle=i,e.lineWidth=o,e.lineJoin="miter",e.stroke()))}function w(e,t,n){var r=n.lineHeight,i=e.w,o=e.x;return"center"===t?o+=i/2:"end"!==t&&"right"!==t||(o+=i),{h:r,w:i,x:o,y:e.y+r/2}}function k(e,t,n){var r=e.shadowBlur,i=n.stroked,o=v(n.x),a=v(n.y),s=v(n.w);i&&e.strokeText(t,o,a,s),n.filled&&(r&&i&&(e.shadowBlur=0),e.fillText(t,o,a,s),r&&i&&(e.shadowBlur=r))}function E(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,u=r.font,l=t.length,c=r.textStrokeColor,d=r.textStrokeWidth,f=c&&d;if(l&&(s||f))for(n=w(n,o,u),e.font=u.string,e.textAlign=o,e.textBaseline="middle",e.shadowBlur=r.textShadowBlur,e.shadowColor=r.textShadowColor,s&&(e.fillStyle=a),f&&(e.lineJoin="round",e.lineWidth=d,e.strokeStyle=c),i=0,l=t.length;i<l;++i)k(e,t[i],{stroked:f,filled:s,w:n.w,x:n.x,y:n.y+n.h*i})}var x=function(e,t,n,r){var i=this;i._config=e,i._index=r,i._model=null,i._rects=null,i._ctx=t,i._el=n};m.extend(x.prototype,{_modelize:function(t,n,i,o){var a=this,s=a._index,u=m.options.resolve,l=r.parseFont(u([i.font,{}],o,s)),c=u([i.color,e.defaults.global.defaultFontColor],o,s);return{align:u([i.align,"center"],o,s),anchor:u([i.anchor,"center"],o,s),area:o.chart.chartArea,backgroundColor:u([i.backgroundColor,null],o,s),borderColor:u([i.borderColor,null],o,s),borderRadius:u([i.borderRadius,0],o,s),borderWidth:u([i.borderWidth,0],o,s),clamp:u([i.clamp,!1],o,s),clip:u([i.clip,!1],o,s),color:c,display:t,font:l,lines:n,offset:u([i.offset,0],o,s),opacity:u([i.opacity,1],o,s),origin:y(a._el),padding:m.options.toPadding(u([i.padding,0],o,s)),positioner:b(a._el),rotation:u([i.rotation,0],o,s)*(Math.PI/180),size:r.textSize(a._ctx,n,l),textAlign:u([i.textAlign,"start"],o,s),textShadowBlur:u([i.textShadowBlur,0],o,s),textShadowColor:u([i.textShadowColor,c],o,s),textStrokeColor:u([i.textStrokeColor,c],o,s),textStrokeWidth:u([i.textStrokeWidth,0],o,s)}},update:function(e){var t,n,i,o=this,a=null,s=null,u=o._index,l=o._config,c=m.options.resolve([l.display,!0],e,u);c&&(t=e.dataset.data[u],n=m.valueOrDefault(m.callback(l.formatter,[t,e]),t),(i=m.isNullOrUndef(n)?[]:r.toTextLines(n)).length&&(s=g(a=o._modelize(c,i,l,e)))),o._model=a,o._rects=s},geometry:function(){return this._rects?this._rects.frame:{}},rotation:function(){return this._model?this._model.rotation:0},visible:function(){return this._model&&this._model.opacity},model:function(){return this._model},draw:function(e,t){var n,i=this,o=e.ctx,a=i._model,s=i._rects;this.visible()&&(o.save(),a.clip&&(n=a.area,o.beginPath(),o.rect(n.left,n.top,n.right-n.left,n.bottom-n.top),o.clip()),o.globalAlpha=r.bound(0,a.opacity,1),o.translate(v(t.x),v(t.y)),o.rotate(a.rotation),_(o,s.frame,a),E(o,a.lines,s.text,a),o.restore())}});var S=e.helpers,T=Number.MIN_SAFE_INTEGER||-9007199254740991,C=Number.MAX_SAFE_INTEGER||9007199254740991;function A(e,t,n){var r=Math.cos(n),i=Math.sin(n),o=t.x,a=t.y;return{x:o+r*(e.x-o)-i*(e.y-a),y:a+i*(e.x-o)+r*(e.y-a)}}function O(e,t){var n,r,i,o,a,s=C,u=T,l=t.origin;for(n=0;n<e.length;++n)i=(r=e[n]).x-l.x,o=r.y-l.y,a=t.vx*i+t.vy*o,s=Math.min(s,a),u=Math.max(u,a);return{min:s,max:u}}function N(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);return{vx:(t.x-e.x)/i,vy:(t.y-e.y)/i,origin:e,ln:i}}var P=function(){this._rotation=0,this._rect={x:0,y:0,w:0,h:0}};function I(e,t,n){var r=t.positioner(e,t),i=r.vx,o=r.vy;if(!i&&!o)return{x:r.x,y:r.y};var a=n.w,s=n.h,u=t.rotation,l=Math.abs(a/2*Math.cos(u))+Math.abs(s/2*Math.sin(u)),c=Math.abs(a/2*Math.sin(u))+Math.abs(s/2*Math.cos(u)),d=1/Math.max(Math.abs(i),Math.abs(o));return l*=i*d,c*=o*d,l+=t.offset*i,c+=t.offset*o,{x:r.x+l,y:r.y+c}}function L(e,t){var n,r,i,o;for(n=e.length-1;n>=0;--n)for(i=e[n].$layout,r=n-1;r>=0&&i._visible;--r)(o=e[r].$layout)._visible&&i._box.intersects(o._box)&&t(i,o);return e}function M(e){var t,n,r,i,o,a;for(t=0,n=e.length;t<n;++t)(i=(r=e[t]).$layout)._visible&&(o=r.geometry(),a=I(r._el._model,r.model(),o),i._box.update(a,o,r.rotation()));return L(e,(function(e,t){var n=e._hidable,r=t._hidable;n&&r||r?t._visible=!1:n&&(e._visible=!1)}))}S.extend(P.prototype,{center:function(){var e=this._rect;return{x:e.x+e.w/2,y:e.y+e.h/2}},update:function(e,t,n){this._rotation=n,this._rect={x:t.x+e.x,y:t.y+e.y,w:t.w,h:t.h}},contains:function(e){var t=this,n=1,r=t._rect;return!((e=A(e,t.center(),-t._rotation)).x<r.x-n||e.y<r.y-n||e.x>r.x+r.w+2*n||e.y>r.y+r.h+2*n)},intersects:function(e){var t,n,r,i=this._points(),o=e._points(),a=[N(i[0],i[1]),N(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(N(o[0],o[1]),N(o[0],o[3])),t=0;t<a.length;++t)if(n=O(i,a[t]),r=O(o,a[t]),n.max<r.min||r.max<n.min)return!1;return!0},_points:function(){var e=this,t=e._rect,n=e._rotation,r=e.center();return[A({x:t.x,y:t.y},r,n),A({x:t.x+t.w,y:t.y},r,n),A({x:t.x+t.w,y:t.y+t.h},r,n),A({x:t.x,y:t.y+t.h},r,n)]}});var R={prepare:function(e){var t,n,r,i,o,a=[];for(t=0,r=e.length;t<r;++t)for(n=0,i=e[t].length;n<i;++n)o=e[t][n],a.push(o),o.$layout={_box:new P,_hidable:!1,_visible:!0,_set:t,_idx:n};return a.sort((function(e,t){var n=e.$layout,r=t.$layout;return n._idx===r._idx?n._set-r._set:r._idx-n._idx})),this.update(a),a},update:function(e){var t,n,r,i,o,a=!1;for(t=0,n=e.length;t<n;++t)i=(r=e[t]).model(),(o=r.$layout)._hidable=i&&"auto"===i.display,o._visible=r.visible(),a|=o._hidable;a&&M(e)},lookup:function(e,t){var n,r;for(n=e.length-1;n>=0;--n)if((r=e[n].$layout)&&r._visible&&r._box.contains(t))return{dataset:r._set,label:e[n]};return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n<r;++n)(o=(i=t[n]).$layout)._visible&&(a=i.geometry(),s=I(i._el._view,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},D=e.helpers,q={align:"center",anchor:"center",backgroundColor:null,borderColor:null,borderRadius:0,borderWidth:0,clamp:!1,clip:!1,color:void 0,display:!0,font:{family:void 0,lineHeight:1.2,size:void 0,style:void 0,weight:null},formatter:function(e){if(D.isNullOrUndef(e))return null;var t,n,r,i=e;if(D.isObject(e))if(D.isNullOrUndef(e.label))if(D.isNullOrUndef(e.r))for(i="",r=0,n=(t=Object.keys(e)).length;r<n;++r)i+=(0!==r?", ":"")+t[r]+": "+e[t[r]];else i=e.r;else i=e.label;return""+i},listeners:{},offset:4,opacity:1,padding:{top:4,right:4,bottom:4,left:4},rotation:0,textAlign:"start",textStrokeColor:void 0,textStrokeWidth:0,textShadowBlur:0,textShadowColor:void 0},j=e.helpers,F="$datalabels";function B(e,t){var n=e.datalabels,r={};return!1===n?null:(!0===n&&(n={}),j.merge(r,[t,n]))}function U(e,t,n){var r=t&&t[n.dataset];if(r){var i=n.label,o=i.$context;!0===j.callback(r,[o])&&(e[F]._dirty=!0,i.update(o))}}function z(e,t,n,r){var i,o;(n||r)&&(n?r?n.label!==r.label&&(o=i=!0):o=!0:i=!0,o&&U(e,t.leave,n),i&&U(e,t.enter,r))}function H(e,t){var n,r,i=e[F],o=i._listeners;if(o.enter||o.leave){if("mousemove"===t.type)r=R.lookup(i._labels,t);else if("mouseout"!==t.type)return;n=i._hovered,i._hovered=r,z(e,o,n,r)}}function V(e,t){var n=e[F],r=n._listeners.click,i=r&&R.lookup(n._labels,t);i&&U(e,r,i)}e.defaults.global.plugins.datalabels=q,e.defaults.global.plugins.datalabels=q;var W={id:"datalabels",beforeInit:function(e){e[F]={_actives:[]}},beforeUpdate:function(e){var t=e[F];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var r,i,o,a=t.index,s=e[F],u=s._datasets[a]=[],l=e.isDatasetVisible(a),c=e.data.datasets[a],d=B(c,n),f=t.meta.data||[],p=f.length,h=e.ctx;for(h.save(),r=0;r<p;++r)i=f[r],l&&i&&!i.hidden&&!i._model.skip?(u.push(o=new x(d,h,i,r)),o.update(o.$context={active:!1,chart:e,dataIndex:r,dataset:c,datasetIndex:a})):o=null,i[F]=o;h.restore(),j.merge(s._listeners,d.listeners||{},{merger:function(e,n,r){n[e]=n[e]||{},n[e][t.index]=r[e],s._listened=!0}})},afterUpdate:function(e,t){e[F]._labels=R.prepare(e[F]._datasets,t)},afterDatasetsDraw:function(e){R.draw(e,e[F]._labels)},beforeEvent:function(e,t){if(e[F]._listened)switch(t.type){case"mousemove":case"mouseout":H(e,t);break;case"click":V(e,t)}},afterEvent:function(e){var t,n,i,o,a=e[F],s=a._actives,u=a._actives=e.lastActive||[],l=r.arrayDiff(s,u);for(t=0,n=l.length;t<n;++t)(i=l[t])[1]&&(o=i[0][F])&&(o.$context.active=1===i[1],o.update(o.$context));(a._dirty||l.length)&&(R.update(a._labels),e.animating||e.render()),delete a._dirty}};return e.plugins.register(W),W}(n(11419))},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))e.push(i.apply(null,n));else if("object"===o)for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}return e.join(" ")}e.exports?e.exports=i:void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},48168:function(e){function t(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return s==a?t=0:r==s?t=(i-o)/u:i==s?t=2+(o-r)/u:o==s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s==a?0:n<=.5?u/(s+a):u/(2-s-a)),100*n]}function n(e){var t,n,r=e[0],i=e[1],o=e[2],a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;return n=0==s?0:u/s*1e3/10,s==a?t=0:r==s?t=(i-o)/u:i==s?t=2+(o-r)/u:o==s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),[t,n,s/255*1e3/10]}function i(e){var n=e[0],r=e[1],i=e[2];return[t(e)[0],100*(1/255*Math.min(n,Math.min(r,i))),100*(i=1-1/255*Math.max(n,Math.max(r,i)))]}function o(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]}function a(e){return E[JSON.stringify(e)]}function s(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]}function u(e){var t=s(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function l(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100;if(0==s)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var l=0;l<3;l++)(r=a+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i}function c(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));r*=255;switch(i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}}function d(e){var t,n,i,o,a=e[0]/360,s=e[1]/100,u=e[2]/100,l=s+u;switch(l>1&&(s/=l,u/=l),i=6*a-(t=Math.floor(6*a)),0!=(1&t)&&(i=1-i),o=s+i*((n=1-u)-s),t){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function f(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function p(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:t*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function h(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function m(e){var t,n,r,i,o=e[0],a=e[1],s=e[2];return o<=8?i=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),i=Math.pow(n/100,1/3)),[t=t/95.047<=.008856?t=95.047*(a/500+i-16/116)/7.787:95.047*Math.pow(a/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function v(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]}function y(e){return p(m(e))}function _(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]}function w(e){return k[e]}e.exports={rgb2hsl:t,rgb2hsv:n,rgb2hwb:i,rgb2cmyk:o,rgb2keyword:a,rgb2xyz:s,rgb2lab:u,rgb2lch:function(e){return v(u(e))},hsl2rgb:l,hsl2hsv:function(e){var t=e[0],n=e[1]/100,r=e[2]/100;if(0===r)return[0,0,0];return[t,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(e){return i(l(e))},hsl2cmyk:function(e){return o(l(e))},hsl2keyword:function(e){return a(l(e))},hsv2rgb:c,hsv2hsl:function(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return t=i*o,[r,100*(t=(t/=(n=(2-i)*o)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(e){return i(c(e))},hsv2cmyk:function(e){return o(c(e))},hsv2keyword:function(e){return a(c(e))},hwb2rgb:d,hwb2hsl:function(e){return t(d(e))},hwb2hsv:function(e){return n(d(e))},hwb2cmyk:function(e){return o(d(e))},hwb2keyword:function(e){return a(d(e))},cmyk2rgb:f,cmyk2hsl:function(e){return t(f(e))},cmyk2hsv:function(e){return n(f(e))},cmyk2hwb:function(e){return i(f(e))},cmyk2keyword:function(e){return a(f(e))},keyword2rgb:w,keyword2hsl:function(e){return t(w(e))},keyword2hsv:function(e){return n(w(e))},keyword2hwb:function(e){return i(w(e))},keyword2cmyk:function(e){return o(w(e))},keyword2lab:function(e){return u(w(e))},keyword2xyz:function(e){return s(w(e))},xyz2rgb:p,xyz2lab:h,xyz2lch:function(e){return v(h(e))},lab2xyz:m,lab2rgb:y,lab2lch:v,lch2lab:_,lch2xyz:function(e){return m(_(e))},lch2rgb:function(e){return y(_(e))}};var k={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},E={};for(var x in k)E[JSON.stringify(k[x])]=x},12085:function(e,t,n){var r=n(48168),i=function(){return new l};for(var o in r){i[o+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(o);var a=/(\w+)2(\w+)/.exec(o),s=a[1],u=a[2];(i[s]=i[s]||{})[u]=i[o]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;i<n.length;i++)n[i]=Math.round(n[i]);return n}}(o)}var l=function(){this.convs={}};l.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},l.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},l.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=i[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach((function(e){l.prototype[e]=function(t){return this.routeSpace(e,arguments)}})),e.exports=i},8874:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},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),u=o.decode||n,l=0;l<s.length;l++){var c=s[l],d=c.indexOf("=");if(!(d<0)){var f=c.substr(0,d).trim(),p=c.substr(++d,c.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==r[f]&&(r[f]=a(p,u))}}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 u=e+"="+s;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l))throw new Error("maxAge should be a Number");u+="; Max-Age="+Math.floor(l)}if(i.domain){if(!o.test(i.domain))throw new TypeError("option domain is invalid");u+="; Domain="+i.domain}if(i.path){if(!o.test(i.path))throw new TypeError("option path is invalid");u+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");u+="; Expires="+i.expires.toUTCString()}i.httpOnly&&(u+="; HttpOnly");i.secure&&(u+="; Secure");if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"strict":u+="; SameSite=Strict";break;default:throw new TypeError("option sameSite is invalid")}}return u};var n=decodeURIComponent,r=encodeURIComponent,i=/; */,o=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function a(e,t){try{return t(e)}catch(t){return e}}},13099:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},51223:function(e,t,n){var r=n(5112)("unscopables"),i=n(70030),o=n(95185),a=Array.prototype;null==a[r]&&o(a,r,i(null)),e.exports=function(e){a[r][e]=!0}},31530:function(e,t,n){"use strict";var r=n(95866);e.exports=function(e,t,n){return t+(n?r(e,t,!0).length:1)}},25787:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},19670:function(e,t,n){var r=n(70111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},90260:function(e,t,n){"use strict";var r,i=n(19781),o=n(17854),a=n(70111),s=n(86656),u=n(70648),l=n(95185),c=n(31320),d=n(3070).f,f=n(79518),p=n(27674),h=n(5112)("toStringTag"),m=n(69711)("TYPED_ARRAY_TAG"),v=o.DataView,g=v&&v.prototype,y=o.Int8Array,b=y&&y.prototype,_=o.Uint8ClampedArray,w=_&&_.prototype,k=y&&f(y),E=b&&f(b),x=Object.prototype,S=x.isPrototypeOf,T=!(!o.ArrayBuffer||!o.DataView),C=T&&!!p,A=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N=function(e){return a(e)&&s(O,u(e))};for(r in O)o[r]||(C=!1);if((!C||"function"!=typeof k||k===Function.prototype)&&(k=function(){throw TypeError("Incorrect invocation")},C))for(r in O)o[r]&&p(o[r],k);if((!C||!E||E===x)&&(E=k.prototype,C))for(r in O)o[r]&&p(o[r].prototype,E);if(C&&f(w)!==E&&p(w,E),i&&!s(E,h))for(r in A=!0,d(E,h,{get:function(){return a(this)?this[m]:void 0}}),O)o[r]&&l(o[r],m,r);T&&p&&f(g)!==x&&p(g,x),e.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:C,TYPED_ARRAY_TAG:A&&m,aTypedArray:function(e){if(N(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(S.call(k,e))return e}else for(var t in O)if(s(O,r)){var n=o[t];if(n&&(e===n||S.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportProto:function(e,t,n){if(i){if(n)for(var r in O){var a=o[r];a&&s(a.prototype,e)&&delete a.prototype[e]}E[e]&&!n||c(E,e,n?t:C&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(i){if(p){if(n)for(r in O)(a=o[r])&&s(a,e)&&delete a[e];if(k[e]&&!n)return;try{return c(k,e,n?t:C&&y[e]||t)}catch(e){}}for(r in O)!(a=o[r])||a[e]&&!n||c(a,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||s(O,t)},isTypedArray:N,TypedArray:k,TypedArrayPrototype:E}},13331:function(e,t,n){"use strict";var r=n(17854),i=n(19781),o=n(90260).NATIVE_ARRAY_BUFFER,a=n(95185),s=n(12248),u=n(47293),l=n(25787),c=n(99958),d=n(17466),f=n(57067),p=n(8006).f,h=n(3070).f,m=n(21285),v=n(58003),g=n(29909),y=g.get,b=g.set,_="ArrayBuffer",w="DataView",k="Wrong index",E=r.ArrayBuffer,x=E,S=r.DataView,T=r.Math,C=r.RangeError,A=1/0,O=T.abs,N=T.pow,P=T.floor,I=T.log,L=T.LN2,M=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,u=(1<<s)-1,l=u>>1,c=23===t?N(2,-24)-N(2,-77):0,d=e<0||0===e&&1/e<0?1:0,f=0;for((e=O(e))!=e||e===A?(i=e!=e?1:0,r=u):(r=P(I(e)/L),e*(o=N(2,-r))<1&&(r--,o*=2),(e+=r+l>=1?c/o:c*N(2,1-l))*o>=2&&(r++,o/=2),r+l>=u?(i=0,r=u):r+l>=1?(i=(e*o-1)*N(2,t),r+=l):(i=e*N(2,l-1)*N(2,t),r=0));t>=8;a[f++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a},R=function(e,t){var n,r=e.length,i=8*r-t-1,o=(1<<i)-1,a=o>>1,s=i-7,u=r-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(n=c&(1<<-s)-1,c>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===c)c=1-a;else{if(c===o)return n?NaN:l?-1/0:A;n+=N(2,t),c-=a}return(l?-1:1)*n*N(2,c-t)},D=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return[255&e]},j=function(e){return[255&e,e>>8&255]},F=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},B=function(e){return M(e,23,4)},U=function(e){return M(e,52,8)},z=function(e,t){h(e.prototype,t,{get:function(){return y(this)[t]}})},H=function(e,t,n,r){var i=f(+n),o=y(e);if(i+t>o.byteLength)throw C(k);var a=y(o.buffer).bytes,s=i+o.byteOffset,u=a.slice(s,s+t);return r?u:u.reverse()},V=function(e,t,n,r,i,o){var a=f(+n),s=y(e);if(a+t>s.byteLength)throw C(k);for(var u=y(s.buffer).bytes,l=a+s.byteOffset,c=r(+i),d=0;d<t;d++)u[l+d]=c[o?d:t-d-1]};if(o){if(!u((function(){E(1)}))||!u((function(){new E(-1)}))||u((function(){return new E,new E(1.5),new E(NaN),E.name!=_}))){for(var W,Y=(x=function(e){return l(this,x),new E(f(e))}).prototype=E.prototype,G=p(E),K=0;G.length>K;)(W=G[K++])in x||a(x,W,E[W]);Y.constructor=x}var X=new S(new x(2)),$=S.prototype.setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||s(S.prototype,{setInt8:function(e,t){$.call(this,e,t<<24>>24)},setUint8:function(e,t){$.call(this,e,t<<24>>24)}},{unsafe:!0})}else x=function(e){l(this,x,_);var t=f(e);b(this,{bytes:m.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},S=function(e,t,n){l(this,S,w),l(e,x,w);var r=y(e).byteLength,o=c(t);if(o<0||o>r)throw C("Wrong offset");if(o+(n=void 0===n?r-o:d(n))>r)throw C("Wrong length");b(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(z(x,"byteLength"),z(S,"buffer"),z(S,"byteLength"),z(S,"byteOffset")),s(S.prototype,{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(H(this,4,e,arguments[1]))},getUint32:function(e){return D(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return R(H(this,4,e,arguments[1]),23)},getFloat64:function(e){return R(H(this,8,e,arguments[1]),52)},setInt8:function(e,t){V(this,1,e,q,t)},setUint8:function(e,t){V(this,1,e,q,t)},setInt16:function(e,t){V(this,2,e,j,t,arguments[2])},setUint16:function(e,t){V(this,2,e,j,t,arguments[2])},setInt32:function(e,t){V(this,4,e,F,t,arguments[2])},setUint32:function(e,t){V(this,4,e,F,t,arguments[2])},setFloat32:function(e,t){V(this,4,e,B,t,arguments[2])},setFloat64:function(e,t){V(this,8,e,U,t,arguments[2])}});v(x,_),v(S,w),t.ArrayBuffer=x,t.DataView=S},1048:function(e,t,n){"use strict";var r=n(47908),i=n(51400),o=n(17466);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),u=i(t,a),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?a:i(l,a))-u,a-s),d=1;for(u<s&&s<u+c&&(d=-1,u+=c-1,s+=c-1);c-- >0;)u in n?n[s]=n[u]:delete n[s],s+=d,u+=d;return n}},21285:function(e,t,n){"use strict";var r=n(47908),i=n(51400),o=n(17466);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,l=void 0===u?n:i(u,n);l>s;)t[s++]=e;return t}},18533:function(e,t,n){"use strict";var r=[].forEach,i=n(77550)(0),o=n(36637)("forEach");e.exports=o?function(e){return i(this,e,arguments[1])}:r},48457:function(e,t,n){"use strict";var r=n(30244),i=n(47908),o=n(53411),a=n(97659),s=n(17466),u=n(86135),l=n(71246);e.exports=function(e){var t,n,c,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=0,y=l(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||p==Array&&a(y))for(n=new p(t=s(f.length));t>g;g++)u(n,g,v?m(f[g],g):f[g]);else for(d=y.call(f),n=new p;!(c=d.next()).done;g++)u(n,g,v?o(d,m,[c.value,g],!0):c.value);return n.length=g,n}},41318:function(e,t,n){var r=n(45656),i=n(17466),o=n(51400);e.exports=function(e){return function(t,n,a){var s,u=r(t),l=i(u.length),c=o(a,l);if(e&&n!=n){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},86583:function(e,t,n){"use strict";var r=n(45656),i=n(99958),o=n(17466),a=[].lastIndexOf,s=!!a&&1/[1].lastIndexOf(1,-0)<0,u=n(36637)("lastIndexOf");e.exports=s||u?function(e){if(s)return a.apply(this,arguments)||0;var t=r(this),n=o(t.length),u=n-1;for(arguments.length>1&&(u=Math.min(u,i(arguments[1]))),u<0&&(u=n+u);u>=0;u--)if(u in t&&t[u]===e)return u||0;return-1}:a},81194:function(e,t,n){var r=n(47293),i=n(5112)("species");e.exports=function(e){return!r((function(){var t=[];return(t.constructor={})[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},77550:function(e,t,n){var r=n(30244),i=n(68361),o=n(47908),a=n(17466),s=n(65417);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,v,g=o(t),y=i(g),b=r(s,h,3),_=a(y.length),w=0,k=n?p(t,_):u?p(t,0):void 0;_>w;w++)if((f||w in y)&&(v=b(m=y[w],w,g),e))if(n)k[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(c)return!1;return d?-1:l||c?c:k}}},65417:function(e,t,n){var r=n(70111),i=n(43157),o=n(5112)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},30244:function(e,t,n){var r=n(13099);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},53411:function(e,t,n){var r=n(19670);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},17072:function(e,t,n){var r=n(5112)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},84326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:function(e,t,n){var r=n(84326),i=n(5112)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},95631:function(e,t,n){"use strict";var r=n(3070).f,i=n(70030),o=n(12248),a=n(30244),s=n(25787),u=n(20408),l=n(70654),c=n(96340),d=n(19781),f=n(62423).fastKey,p=n(29909),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,c,t),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),d||(e.size=0),null!=r&&u(r,e[l],e,n)})),p=m(t),v=function(e,t,n){var r,i,o=p(e),a=g(e,t);return a?a.value=n:(o.last=a={index:i=f(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),d?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},g=function(e,t){var n,r=p(e),i=f(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(c.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,d?e.size=0:this.size=0},delete:function(e){var t=this,n=p(t),r=g(t,e);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first==r&&(n.first=i),n.last==r&&(n.last=o),d?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),o(c.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&r(c.prototype,"size",{get:function(){return p(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);l(e,t,(function(e,t){h(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},29320:function(e,t,n){"use strict";var r=n(12248),i=n(62423).getWeakData,o=n(19670),a=n(70111),s=n(25787),u=n(20408),l=n(77550),c=n(86656),d=n(29909),f=d.set,p=d.getterFor,h=l(5),m=l(6),v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,r){s(e,d,t),f(e,{type:t,id:v++,frozen:void 0}),null!=r&&u(r,e[l],e,n)})),h=p(t),m=function(e,t,n){var r=h(e),a=i(o(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(d.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=i(e);return!0===n?g(t).has(e):n&&c(n,t.id)}}),r(d.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=i(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),d}}},77710:function(e,t,n){"use strict";var r=n(17854),i=n(96114),o=n(82109),a=n(31320),s=n(62423),u=n(20408),l=n(25787),c=n(70111),d=n(47293),f=n(17072),p=n(58003),h=n(79587);e.exports=function(e,t,n,m,v){var g=r[e],y=g&&g.prototype,b=g,_=m?"set":"add",w={},k=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof g||!(v||y.forEach&&!d((function(){(new g).entries().next()})))))b=n.getConstructor(t,e,m,_),s.REQUIRED=!0;else if(i(e,!0)){var E=new b,x=E[_](v?{}:-0,1)!=E,S=d((function(){E.has(1)})),T=f((function(e){new g(e)})),C=!v&&d((function(){for(var e=new g,t=5;t--;)e[_](t,t);return!e.has(-0)}));T||((b=t((function(t,n){l(t,b,e);var r=h(new g,t,b);return null!=n&&u(n,r[_],r,m),r}))).prototype=y,y.constructor=b),(S||C)&&(k("delete"),k("has"),m&&k("get")),(C||x)&&k(_),v&&y.clear&&delete y.clear}return w[e]=b,o({global:!0,forced:b!=g},w),p(b,e),v||n.setStrong(b,e,m),b}},99920:function(e,t,n){var r=n(86656),i=n(53887),o=n(31236),a=n(3070);e.exports=function(e,t){for(var n=i(t),s=a.f,u=o.f,l=0;l<n.length;l++){var c=n[l];r(e,c)||s(e,c,u(t,c))}}},84964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},49920:function(e,t,n){e.exports=!n(47293)((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},14230:function(e,t,n){var r=n(84488),i=/"/g;e.exports=function(e,t,n,o){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(o).replace(i,"&quot;")+'"'),s+">"+a+"</"+t+">"}},24994:function(e,t,n){"use strict";var r=n(13383).IteratorPrototype,i=n(70030),o=n(79114),a=n(58003),s=n(97497),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,l,!1,!0),s[l]=u,e}},79114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},86135:function(e,t,n){"use strict";var r=n(57593),i=n(3070),o=n(79114);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},38709:function(e,t,n){"use strict";var r=n(19670),i=n(57593);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!==e)}},70654:function(e,t,n){"use strict";var r=n(82109),i=n(24994),o=n(79518),a=n(27674),s=n(58003),u=n(95185),l=n(31320),c=n(31913),d=n(5112)("iterator"),f=n(97497),p=n(13383),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v="keys",g="values",y="entries",b=function(){return this};e.exports=function(e,t,n,p,_,w,k){i(n,t,p);var E,x,S,T=function(e){if(e===_&&P)return P;if(!m&&e in O)return O[e];switch(e){case v:case g:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},C=t+" Iterator",A=!1,O=e.prototype,N=O[d]||O["@@iterator"]||_&&O[_],P=!m&&N||T(_),I="Array"==t&&O.entries||N;if(I&&(E=o(I.call(new e)),h!==Object.prototype&&E.next&&(c||o(E)===h||(a?a(E,h):"function"!=typeof E[d]&&u(E,d,b)),s(E,C,!0,!0),c&&(f[C]=b))),_==g&&N&&N.name!==g&&(A=!0,P=function(){return N.call(this)}),c&&!k||O[d]===P||u(O,d,P),f[t]=P,_)if(x={values:T(g),keys:w?P:T(v),entries:T(y)},k)for(S in x)(m||A||!(S in O))&&l(O,S,x[S]);else r({target:t,proto:!0,forced:m||A},x);return x}},97235:function(e,t,n){var r=n(40857),i=n(86656),o=n(96805),a=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},19781:function(e,t,n){e.exports=!n(47293)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},80317:function(e,t,n){var r=n(70111),i=n(17854).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},48324:function(e){e.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}},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6294:function(e,t,n){var r=n(81956),i=n(25181),o=n(55296);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),u=o.f,l=0;s.length>l;)u.call(e,a=s[l++])&&t.push(a);return t}},82109:function(e,t,n){var r=n(17854),i=n(31236).f,o=n(95185),a=n(31320),s=n(83505),u=n(99920),l=n(96114);e.exports=function(e,t){var n,c,d,f,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(f=t[c],d=e.noTargetGet?(p=i(n,c))&&p.value:n[c],!l(m?c:h+(v?".":"#")+c,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(n,c,f,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:function(e,t,n){"use strict";var r=n(95185),i=n(31320),o=n(47293),a=n(5112),s=n(22261),u=a("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),c=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var f=a(e),p=!o((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p&&!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[f](""),!t}));if(!p||!h||"replace"===e&&!l||"split"===e&&!c){var m=/./[f],v=n(f,""[e],(function(e,t,n,r,i){return t.exec===s?p&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=v[0],y=v[1];i(String.prototype,e,g),i(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)}),d&&r(RegExp.prototype[f],"sham",!0)}}},6790:function(e,t,n){"use strict";var r=n(43157),i=n(17466),o=n(30244),a=function(e,t,n,s,u,l,c,d){for(var f,p=u,h=0,m=!!c&&o(c,d,3);h<s;){if(h in n){if(f=m?m(n[h],h,t):n[h],l>0&&r(f))p=a(e,t,f,i(f.length),p,l-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}h++}return p};e.exports=a},41301:function(e,t,n){"use strict";e.exports=n(31913)||!n(47293)((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete n(17854)[e]}))},12098:function(e,t,n){var r=n(47293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8711:function(e,t,n){var r=n(47293),i=n(81361);e.exports=function(e){return r((function(){return!!i[e]()||"​᠎"!="​᠎"[e]()||i[e].name!==e}))}},76677:function(e,t,n){e.exports=!n(47293)((function(){return Object.isExtensible(Object.preventExtensions({}))}))},27065:function(e,t,n){"use strict";var r=n(13099),i=n(70111),o=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(a.prototype=t.prototype),a}},92521:function(e,t,n){e.exports=n(72309)("native-function-to-string",Function.toString)},35005:function(e,t,n){var r=n(40857),i=n(17854),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},71246:function(e,t,n){var r=n(70648),i=n(5112)("iterator"),o=n(97497);e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},18554:function(e,t,n){var r=n(19670),i=n(71246);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},17854:function(e){e.exports="object"==typeof window&&window&&window.Math==Math?window:"object"==typeof self&&self&&self.Math==Math?self:Function("return this")()},86656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},95185:function(e,t,n){var r=n(3070),i=n(79114);e.exports=n(19781)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},842:function(e,t,n){var r=n(17854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},60490:function(e,t,n){var r=n(17854).document;e.exports=r&&r.documentElement},64664:function(e,t,n){e.exports=!n(19781)&&!n(47293)((function(){return 7!=Object.defineProperty(n(80317)("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,n){var r=n(47293),i=n(84326),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},79587:function(e,t,n){var r=n(70111),i=n(27674);e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},62423:function(e,t,n){var r=n(69711)("meta"),i=n(76677),o=n(70111),a=n(86656),s=n(3070).f,u=0,l=Object.isExtensible||function(){return!0},c=function(e){s(e,r,{value:{objectID:"O"+ ++u,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].objectID},getWeakData:function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].weakData},onFreeze:function(e){return i&&d.REQUIRED&&l(e)&&!a(e,r)&&c(e),e}};n(3501)[r]=!0},29909:function(e,t,n){var r,i,o,a=n(68536),s=n(70111),u=n(95185),l=n(86656),c=n(6200),d=n(3501),f=n(17854).WeakMap;if(a){var p=new f,h=p.get,m=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return h.call(p,e)||{}},o=function(e){return m.call(p,e)}}else{var g=c("state");d[g]=!0,r=function(e,t){return u(e,g,t),t},i=function(e){return l(e,g)?e[g]:{}},o=function(e){return l(e,g)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},97659:function(e,t,n){var r=n(97497),i=n(5112)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},43157:function(e,t,n){var r=n(84326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},96114:function(e,t,n){var r=n(47293),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==l||n!=u&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},18730:function(e,t,n){var r=n(70111),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},70111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},31913:function(e){e.exports=!1},47850:function(e,t,n){var r=n(70111),i=n(84326),o=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},20408:function(e,t,n){var r=n(19670),i=n(97659),o=n(17466),a=n(30244),s=n(71246),u=n(53411),l={};(e.exports=function(e,t,n,c,d){var f,p,h,m,v,g=a(t,n,c?2:1);if(d)f=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(i(p)){for(h=0,m=o(e.length);m>h;h++)if((c?g(r(v=e[h])[0],v[1]):g(e[h]))===l)return l;return}f=p.call(e)}for(;!(v=f.next()).done;)if(u(f,g,v.value,c)===l)return l}).BREAK=l},13383:function(e,t,n){"use strict";var r,i,o,a=n(79518),s=n(95185),u=n(86656),l=n(31913),c=n(5112)("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),l||u(r,c)||s(r,c,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},97497:function(e){e.exports={}},66736:function(e){var t=Math.expm1;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:t},26130:function(e,t,n){var r=n(64310),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),l=r(e);return i<u?l*(i/u/a+1/o-1/o)*u*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?l*(1/0):l*n}},26513:function(e){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},64310:function(e){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},95948:function(e,t,n){var r,i,o,a,s,u,l,c=n(17854),d=n(31236).f,f=n(84326),p=n(20261).set,h=n(20227),m=c.MutationObserver||c.WebKitMutationObserver,v=c.process,g=c.Promise,y="process"==f(v),b=d(c,"queueMicrotask"),_=b&&b.value;_||(r=function(){var e,t;for(y&&(e=v.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y?a=function(){v.nextTick(r)}:m&&!/(iPhone|iPod|iPad).*AppleWebKit/i.test(h)?(s=!0,u=document.createTextNode(""),new m(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s}):g&&g.resolve?(l=g.resolve(void 0),a=function(){l.then(r)}):a=function(){p.call(c,r)}),e.exports=_||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},30133:function(e,t,n){e.exports=!n(47293)((function(){return!String(Symbol())}))},590:function(e,t,n){var r=n(31913),i=n(5112)("iterator");e.exports=!n(47293)((function(){var e=new URL("b?e=1","http://a"),t=e.searchParams;return e.pathname="c%20d",r&&!e.toJSON||!t.sort||"http://a/c%20d?e=1"!==e.href||"1"!==t.get("e")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash}))},68536:function(e,t,n){var r=n(92521),i=n(17854).WeakMap;e.exports="function"==typeof i&&/native code/.test(r.call(i))},78523:function(e,t,n){"use strict";var r=n(13099),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},77023:function(e,t,n){var r=n(17854).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},21574:function(e,t,n){"use strict";var r=n(81956),i=n(25181),o=n(55296),a=n(47908),s=n(68361),u=Object.assign;e.exports=!u||n(47293)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||r(u({},t)).join("")!=i}))?function(e,t){for(var n=a(e),u=arguments.length,l=1,c=i.f,d=o.f;u>l;)for(var f,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),m=h.length,v=0;m>v;)d.call(p,f=h[v++])&&(n[f]=p[f]);return n}:u},70030:function(e,t,n){var r=n(19670),i=n(36048),o=n(80748),a=n(60490),s=n(80317),u=n(6200)("IE_PROTO"),l=function(){},c=function(){var e,t=s("iframe"),n=o.length;for(t.style.display="none",a.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;n--;)delete c.prototype[o[n]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[u]=e):n=c(),void 0===t?n:i(n,t)},n(3501)[u]=!0},36048:function(e,t,n){var r=n(19781),i=n(3070),o=n(19670),a=n(81956);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,u=0;s>u;)i.f(e,n=r[u++],t[n]);return e}},3070:function(e,t,n){var r=n(19781),i=n(64664),o=n(19670),a=n(57593),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},31236:function(e,t,n){var r=n(19781),i=n(55296),o=n(79114),a=n(45656),s=n(57593),u=n(86656),l=n(64664),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},1156:function(e,t,n){var r=n(45656),i=n(8006).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},8006:function(e,t,n){var r=n(16324),i=n(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},79518:function(e,t,n){var r=n(86656),i=n(47908),o=n(6200)("IE_PROTO"),a=n(49920),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},16324:function(e,t,n){var r=n(86656),i=n(45656),o=n(41318)(!1),a=n(3501);e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(l,n)||l.push(n));return l}},81956:function(e,t,n){var r=n(16324),i=n(80748);e.exports=Object.keys||function(e){return r(e,i)}},55296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},27674:function(e,t,n){var r=n(99475);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n,i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},44699:function(e,t,n){var r=n(81956),i=n(45656),o=n(55296).f;e.exports=function(e,t){for(var n,a=i(e),s=r(a),u=s.length,l=0,c=[];u>l;)o.call(a,n=s[l++])&&c.push(t?[n,a[n]]:a[n]);return c}},90288:function(e,t,n){"use strict";var r=n(70648),i={};i[n(5112)("toStringTag")]="z",e.exports="[object z]"!==String(i)?function(){return"[object "+r(this)+"]"}:i.toString},53887:function(e,t,n){var r=n(8006),i=n(25181),o=n(19670),a=n(17854).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},3677:function(e,t,n){var r=n(17854).parseFloat,i=n(53111),o=n(81361),a=1/r(o+"-0")!=-1/0;e.exports=a?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},88620:function(e,t,n){var r=n(17854).parseInt,i=n(53111),o=n(81361),a=/^[-+]?0[xX]/,s=8!==r(o+"08")||22!==r(o+"0x16");e.exports=s?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},40857:function(e,t,n){e.exports=n(17854)},12534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},69478:function(e,t,n){var r=n(19670),i=n(70111),o=n(78523);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},33611:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[\u002E\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?o(e/700):e>>1,e+=o(e/t);e>455;r+=36)e=o(e/35);return o(r+36*e/(e+38))},l=function(e){var n=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);var r,l,c=e.length,d=128,f=0,p=72;for(r=0;r<e.length;r++)(l=e[r])<128&&n.push(a(l));var h=n.length,m=h;for(h&&n.push("-");m<c;){var v=t;for(r=0;r<e.length;r++)(l=e[r])>=d&&l<v&&(v=l);var g=m+1;if(v-d>o((t-f)/g))throw RangeError(i);for(f+=(v-d)*g,d=v,r=0;r<e.length;r++){if((l=e[r])<d&&++f>t)throw RangeError(i);if(l==d){for(var y=f,b=36;;b+=36){var _=b<=p?1:b>=p+26?26:b-p;if(y<_)break;var w=y-_,k=36-_;n.push(a(s(_+w%k))),y=o(w/k)}n.push(a(s(y))),p=u(f,g,m==h),f=0,++m}}++f,++d}return n.join("")};e.exports=function(e){var t,i,o=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)i=a[t],o.push(n.test(i)?"xn--"+l(i):i);return o.join(".")}},12248:function(e,t,n){var r=n(31320);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},31320:function(e,t,n){var r=n(17854),i=n(95185),o=n(86656),a=n(83505),s=n(92521),u=n(29909),l=u.get,c=u.enforce,d=String(s).split("toString");n(72309)("inspectSource",(function(e){return s.call(e)})),(e.exports=function(e,t,n,s){var u=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),c(n).source=d.join("string"==typeof t?t:"")),e!==r?(u?!f&&e[t]&&(l=!0):delete e[t],l?e[t]=n:i(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s.call(this)}))},97651:function(e,t,n){var r=n(84326),i=n(22261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},22261:function(e,t,n){"use strict";var r,i,o=n(67066),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),c=void 0!==/()??/.exec("")[1];(l||c)&&(u=function(e){var t,n,r,i,u=this;return c&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),l&&(t=u.lastIndex),r=a.call(u,e),l&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),c&&r&&r.length>1&&s.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=u},67066:function(e,t,n){"use strict";var r=n(19670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},84488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},81150:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},83505:function(e,t,n){var r=n(17854),i=n(95185);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},96340:function(e,t,n){"use strict";var r=n(35005),i=n(3070),o=n(19781),a=n(5112)("species");e.exports=function(e){var t=r(e),n=i.f;o&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},58003:function(e,t,n){var r=n(3070).f,i=n(86656),o=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(72309)("keys"),i=n(69711);e.exports=function(e){return r[e]||(r[e]=i(e))}},72309:function(e,t,n){var r=n(17854),i=n(83505),o="__core-js_shared__",a=r[o]||i(o,{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.0.1",mode:n(31913)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},36637:function(e,t,n){"use strict";var r=n(47293);e.exports=function(e,t){var n=[][e];return!n||!r((function(){n.call(null,t||function(){throw 1},1)}))}},36707:function(e,t,n){var r=n(19670),i=n(13099),o=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},95866:function(e,t,n){var r=n(99958),i=n(84488);e.exports=function(e,t,n){var o,a,s=String(i(e)),u=r(t),l=s.length;return u<0||u>=l?n?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===l||(a=s.charCodeAt(u+1))<56320||a>57343?n?s.charAt(u):o:n?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}},76650:function(e,t,n){var r=n(17466),i=n(38415),o=n(84488);e.exports=function(e,t,n,a){var s,u,l=String(o(e)),c=l.length,d=void 0===n?" ":String(n),f=r(t);return f<=c||""==d?l:(s=f-c,(u=i.call(d,Math.ceil(s/d.length))).length>s&&(u=u.slice(0,s)),a?u+l:l+u)}},38415:function(e,t,n){"use strict";var r=n(99958),i=n(84488);e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},53111:function(e,t,n){var r=n(84488),i="["+n(81361)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$");e.exports=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(o,"")),2&t&&(e=e.replace(a,"")),e}},20261:function(e,t,n){var r,i,o,a=n(17854),s=n(84326),u=n(30244),l=n(60490),c=n(80317),d=a.setImmediate,f=a.clearImmediate,p=a.process,h=a.MessageChannel,m=a.Dispatch,v=0,g={},y="onreadystatechange",b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},_=function(e){b.call(e.data)};d&&f||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(v),v},f=function(e){delete g[e]},"process"==s(p)?r=function(e){p.nextTick(u(b,e,1))}:m&&m.now?r=function(e){m.now(u(b,e,1))}:h?(o=(i=new h).port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts?(r=function(e){a.postMessage(e+"","*")},a.addEventListener("message",_,!1)):r=y in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(u(b,e,1),0)}),e.exports={set:d,clear:f}},50863:function(e,t,n){var r=n(84326);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},51400:function(e,t,n){var r=n(99958),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},57067:function(e,t,n){var r=n(99958),i=n(17466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length or index");return n}},45656:function(e,t,n){var r=n(68361),i=n(84488);e.exports=function(e){return r(i(e))}},99958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},17466:function(e,t,n){var r=n(99958),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},47908:function(e,t,n){var r=n(84488);e.exports=function(e){return Object(r(e))}},84590:function(e,t,n){var r=n(99958);e.exports=function(e,t){var n=r(e);if(n<0||n%t)throw RangeError("Wrong offset");return n}},57593:function(e,t,n){var r=n(70111);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},19843:function(e,t,n){"use strict";if(n(19781)){var r=n(17854),i=n(82109),o=n(6500),a=n(90260),s=n(13331),u=n(25787),l=n(79114),c=n(95185),d=n(17466),f=n(57067),p=n(84590),h=n(57593),m=n(86656),v=n(70648),g=n(70111),y=n(70030),b=n(27674),_=n(8006).f,w=n(97321),k=n(77550)(0),E=n(96340),x=n(3070),S=n(31236),T=n(29909),C=T.get,A=T.set,O=x.f,N=S.f,P=r.RangeError,I=s.ArrayBuffer,L=s.DataView,M=a.NATIVE_ARRAY_BUFFER_VIEWS,R=a.TYPED_ARRAY_TAG,D=a.TypedArray,q=a.TypedArrayPrototype,j=a.aTypedArrayConstructor,F=a.isTypedArray,B="BYTES_PER_ELEMENT",U="Wrong length",z=function(e,t){for(var n=0,r=t.length,i=new(j(e))(r);r>n;)i[n]=t[n++];return i},H=function(e,t){O(e,t,{get:function(){return C(this)[t]}})},V=function(e){var t;return e instanceof I||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},W=function(e,t){return F(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return W(e,t=h(t,!0))?l(2,e[t]):N(e,t)},G=function(e,t,n){return!(W(e,t=h(t,!0))&&g(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?O(e,t,n):(e[t]=n.value,e)};M||(S.f=Y,x.f=G,H(q,"buffer"),H(q,"byteOffset"),H(q,"byteLength"),H(q,"length")),i({target:"Object",stat:!0,forced:!M},{getOwnPropertyDescriptor:Y,defineProperty:G}),e.exports=function(e,t,n,a){var s=e+(a?"Clamped":"")+"Array",l="get"+e,h="set"+e,m=r[s],v=m,x=v&&v.prototype,S={},T=function(e,n){O(e,n,{get:function(){return function(e,n){var r=C(e);return r.view[l](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var i=C(e);a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.view[h](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};M?o&&(v=n((function(e,n,r,i){return u(e,v,s),g(n)?V(n)?void 0!==i?new m(n,p(r,t),i):void 0!==r?new m(n,p(r,t)):new m(n):F(n)?z(v,n):w.call(v,n):new m(f(n))})),b&&b(v,D),k(_(m),(function(e){e in v||c(v,e,m[e])})),v.prototype=x):(v=n((function(e,n,r,i){u(e,v,s);var o,a,l,c=0,h=0;if(g(n)){if(!V(n))return F(n)?z(v,n):w.call(v,n);o=n,h=p(r,t);var m=n.byteLength;if(void 0===i){if(m%t)throw P(U);if((a=m-h)<0)throw P(U)}else if((a=d(i)*t)+h>m)throw P(U);l=a/t}else l=f(n),o=new I(a=l*t);for(A(e,{buffer:o,byteOffset:h,byteLength:a,length:l,view:new L(o)});c<l;)T(e,c++)})),b&&b(v,D),x=v.prototype=y(q)),x.constructor!==v&&c(x,"constructor",v),R&&c(x,R,s),S[s]=v,i({global:!0,forced:v!=m,sham:!M},S),B in v||c(v,B,t),B in x||c(x,B,t),E(s)}}else e.exports=function(){}},97321:function(e,t,n){var r=n(47908),i=n(17466),o=n(71246),a=n(97659),s=n(30244),u=n(90260).aTypedArrayConstructor;e.exports=function(e){var t,n,l,c,d,f=r(e),p=arguments.length,h=p>1?arguments[1]:void 0,m=void 0!==h,v=o(f);if(null!=v&&!a(v))for(d=v.call(f),f=[];!(c=d.next()).done;)f.push(c.value);for(m&&p>2&&(h=s(h,arguments[2],2)),n=i(f.length),l=new(u(this))(n),t=0;n>t;t++)l[t]=m?h(f[t],t):f[t];return l}},6500:function(e,t,n){var r=n(17854),i=n(47293),o=n(17072),a=n(90260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;e.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},69711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},20227:function(e,t,n){var r=n(17854).navigator;e.exports=r&&r.userAgent||""},99475:function(e,t,n){var r=n(70111),i=n(19670);e.exports=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}},28468:function(e,t,n){var r=n(47850),i=n(84488);e.exports=function(e,t,n){if(r(t))throw TypeError("String.prototype."+n+" doesn't accept regex");return String(i(e))}},27428:function(e,t,n){var r=n(20227);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},5112:function(e,t,n){var r=n(72309)("wks"),i=n(69711),o=n(17854).Symbol,a=n(30133);e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}},81361:function(e){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},96805:function(e,t,n){t.f=n(5112)},18264:function(e,t,n){"use strict";var r="ArrayBuffer",i=n(13331).ArrayBuffer,o=n(17854).ArrayBuffer;n(82109)({global:!0,forced:o!==i},{ArrayBuffer:i}),n(96340)(r)},39575:function(e,t,n){"use strict";var r=n(13331),i=n(19670),o=n(51400),a=n(17466),s=n(36707),u=r.ArrayBuffer,l=r.DataView,c=u.prototype.slice,d=n(47293)((function(){return!new u(2).slice(1,void 0).byteLength}));n(82109)({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:d},{slice:function(e,t){if(void 0!==c&&void 0===t)return c.call(i(this),e);for(var n=i(this).byteLength,r=o(e,n),d=o(void 0===t?n:t,n),f=new(s(this,u))(a(d-r)),p=new l(this),h=new l(f),m=0;r<d;)h.setUint8(m++,p.getUint8(r++));return f}})},92222:function(e,t,n){"use strict";var r=n(43157),i=n(70111),o=n(47908),a=n(17466),s=n(86135),u=n(65417),l=n(5112)("isConcatSpreadable"),c=9007199254740991,d="Maximum allowed index exceeded",f=!n(47293)((function(){var e=[];return e[l]=!1,e.concat()[0]!==e})),p=n(81194)("concat"),h=function(e){if(!i(e))return!1;var t=e[l];return void 0!==t?!!t:r(e)},m=!f||!p;n(82109)({target:"Array",proto:!0,forced:m},{concat:function(e){var t,n,r,i,l,f=o(this),p=u(f,0),m=0;for(t=-1,r=arguments.length;t<r;t++)if(h(l=-1===t?f:arguments[t])){if(m+(i=a(l.length))>c)throw TypeError(d);for(n=0;n<i;n++,m++)n in l&&s(p,m,l[n])}else{if(m>=c)throw TypeError(d);s(p,m++,l)}return p.length=m,p}})},50545:function(e,t,n){n(82109)({target:"Array",proto:!0},{copyWithin:n(1048)}),n(51223)("copyWithin")},58288:function(e,t,n){n(82109)({target:"Array",proto:!0},{fill:n(21285)}),n(51223)("fill")},57327:function(e,t,n){"use strict";var r=n(77550)(2),i=n(81194)("filter");n(82109)({target:"Array",proto:!0,forced:!i},{filter:function(e){return r(this,e,arguments[1])}})},34553:function(e,t,n){"use strict";var r=n(77550)(6),i="findIndex",o=!0;i in[]&&Array(1).findIndex((function(){o=!1})),n(82109)({target:"Array",proto:!0,forced:o},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)(i)},69826:function(e,t,n){"use strict";var r=n(77550)(5),i="find",o=!0;i in[]&&Array(1).find((function(){o=!1})),n(82109)({target:"Array",proto:!0,forced:o},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)(i)},86535:function(e,t,n){"use strict";var r=n(6790),i=n(47908),o=n(17466),a=n(13099),s=n(65417);n(82109)({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),u=o(n.length);return a(e),(t=s(n,0)).length=r(t,n,n,u,0,1,e,arguments[1]),t}})},84944:function(e,t,n){"use strict";var r=n(6790),i=n(47908),o=n(17466),a=n(99958),s=n(65417);n(82109)({target:"Array",proto:!0},{flat:function(){var e=arguments[0],t=i(this),n=o(t.length),u=s(t,0);return u.length=r(u,t,t,n,0,void 0===e?1:a(e)),u}})},91038:function(e,t,n){var r=!n(17072)((function(e){Array.from(e)}));n(82109)({target:"Array",stat:!0,forced:r},{from:n(48457)})},26699:function(e,t,n){"use strict";var r=n(41318)(!0);n(82109)({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51223)("includes")},66992:function(e,t,n){"use strict";var r=n(45656),i=n(51223),o=n(97497),a=n(29909),s=n(70654),u="Array Iterator",l=a.set,c=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){l(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},69600:function(e,t,n){"use strict";var r=n(45656),i=[].join,o=n(68361)!=Object,a=n(36637)("join",",");n(82109)({target:"Array",proto:!0,forced:o||a},{join:function(e){return i.call(r(this),void 0===e?",":e)}})},21249:function(e,t,n){"use strict";var r=n(77550)(1),i=n(81194)("map");n(82109)({target:"Array",proto:!0,forced:!i},{map:function(e){return r(this,e,arguments[1])}})},26572:function(e,t,n){"use strict";var r=n(86135),i=n(47293)((function(){function e(){}return!(Array.of.call(e)instanceof e)}));n(82109)({target:"Array",stat:!0,forced:i},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)r(n,e,arguments[e++]);return n.length=t,n}})},65069:function(e,t,n){"use strict";var r=n(43157),i=[].reverse,o=[1,2];n(82109)({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},47042:function(e,t,n){"use strict";var r=n(70111),i=n(43157),o=n(51400),a=n(17466),s=n(45656),u=n(86135),l=n(5112)("species"),c=[].slice,d=Math.max,f=n(81194)("slice");n(82109)({target:"Array",proto:!0,forced:!f},{slice:function(e,t){var n,f,p,h=s(this),m=a(h.length),v=o(e,m),g=o(void 0===t?m:t,m);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[l])&&(n=void 0):n=void 0,n===Array||void 0===n))return c.call(h,v,g);for(f=new(void 0===n?Array:n)(d(g-v,0)),p=0;v<g;v++,p++)v in h&&u(f,p,h[v]);return f.length=p,f}})},2707:function(e,t,n){"use strict";var r=n(13099),i=n(47908),o=n(47293),a=[].sort,s=[1,2,3],u=o((function(){s.sort(void 0)})),l=o((function(){s.sort(null)})),c=n(36637)("sort"),d=u||!l||c;n(82109)({target:"Array",proto:!0,forced:d},{sort:function(e){return void 0===e?a.call(i(this)):a.call(i(this),r(e))}})},38706:function(e,t,n){n(96340)("Array")},40561:function(e,t,n){"use strict";var r=n(51400),i=n(99958),o=n(17466),a=n(47908),s=n(65417),u=n(86135),l=Math.max,c=Math.min,d=9007199254740991,f="Maximum allowed length exceeded",p=n(81194)("splice");n(82109)({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var n,p,h,m,v,g,y=a(this),b=o(y.length),_=r(e,b),w=arguments.length;if(0===w?n=p=0:1===w?(n=0,p=b-_):(n=w-2,p=c(l(i(t),0),b-_)),b+n-p>d)throw TypeError(f);for(h=s(y,p),m=0;m<p;m++)(v=_+m)in y&&u(h,m,y[v]);if(h.length=p,n<p){for(m=_;m<b-p;m++)g=m+n,(v=m+p)in y?y[g]=y[v]:delete y[g];for(m=b;m>b-p+n;m--)delete y[m-1]}else if(n>p)for(m=b-p;m>_;m--)g=m+n-1,(v=m+p-1)in y?y[g]=y[v]:delete y[g];for(m=0;m<n;m++)y[m+_]=arguments[m+2];return y.length=b-p+n,h}})},99244:function(e,t,n){n(51223)("flatMap")},33792:function(e,t,n){n(51223)("flat")},96078:function(e,t,n){var r=n(95185),i=n(5112)("toPrimitive"),o=n(38709),a=Date.prototype;i in a||r(a,i,o)},4855:function(e,t,n){"use strict";var r=n(70111),i=n(3070),o=n(79518),a=n(5112)("hasInstance"),s=Function.prototype;a in s||i.f(s,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},68309:function(e,t,n){var r=n(19781),i=n(3070).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,u="name";r&&!(u in o)&&i(o,u,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},73706:function(e,t,n){n(58003)(n(17854).JSON,"JSON",!0)},51532:function(e,t,n){"use strict";e.exports=n(77710)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(95631),!0)},99752:function(e,t,n){var r=n(26513),i=Math.acosh,o=Math.log,a=Math.sqrt,s=Math.LN2,u=!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0;n(82109)({target:"Math",stat:!0,forced:u},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?o(e)+s:r(e-1+a(e-1)*a(e+1))}})},82376:function(e,t,n){var r=Math.asinh,i=Math.log,o=Math.sqrt;n(82109)({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+o(t*t+1)):t}})},73181:function(e,t,n){var r=Math.atanh,i=Math.log;n(82109)({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},23484:function(e,t,n){var r=n(64310),i=Math.abs,o=Math.pow;n(82109)({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*o(i(e),1/3)}})},2388:function(e,t,n){var r=Math.floor,i=Math.log,o=Math.LOG2E;n(82109)({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*o):32}})},88621:function(e,t,n){var r=n(66736),i=Math.cosh,o=Math.abs,a=Math.E;n(82109)({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=r(o(e)-1)+1;return(t+1/(t*a*a))*(a/2)}})},60403:function(e,t,n){var r=n(66736);n(82109)({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},84755:function(e,t,n){n(82109)({target:"Math",stat:!0},{fround:n(26130)})},25438:function(e,t,n){var r=Math.abs,i=Math.sqrt;n(82109)({target:"Math",stat:!0},{hypot:function(e,t){for(var n,o,a=0,s=0,u=arguments.length,l=0;s<u;)l<(n=r(arguments[s++]))?(a=a*(o=l/n)*o+1,l=n):a+=n>0?(o=n/l)*o:n;return l===1/0?1/0:l*i(a)}})},90332:function(e,t,n){var r=Math.imul,i=n(47293)((function(){return-5!=r(4294967295,5)||2!=r.length}));n(82109)({target:"Math",stat:!0,forced:i},{imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)}})},40658:function(e,t,n){var r=Math.log,i=Math.LOG10E;n(82109)({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},40197:function(e,t,n){n(82109)({target:"Math",stat:!0},{log1p:n(26513)})},44914:function(e,t,n){var r=Math.log,i=Math.LN2;n(82109)({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},52420:function(e,t,n){n(82109)({target:"Math",stat:!0},{sign:n(64310)})},60160:function(e,t,n){var r=n(66736),i=Math.abs,o=Math.exp,a=Math.E,s=n(47293)((function(){return-2e-17!=Math.sinh(-2e-17)}));n(82109)({target:"Math",stat:!0,forced:s},{sinh:function(e){return i(e=+e)<1?(r(e)-r(-e))/2:(o(e-1)-o(-e-1))*(a/2)}})},60970:function(e,t,n){var r=n(66736),i=Math.exp;n(82109)({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},10408:function(e,t,n){n(58003)(Math,"Math",!0)},73689:function(e,t,n){var r=Math.ceil,i=Math.floor;n(82109)({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},9653:function(e,t,n){"use strict";var r=n(17854),i=n(96114),o=n(86656),a=n(84326),s=n(79587),u=n(57593),l=n(47293),c=n(8006).f,d=n(31236).f,f=n(3070).f,p=n(53111),h="Number",m=r.Number,v=m.prototype,g=a(n(70030)(v))==h,y="trim"in String.prototype,b=function(e){var t,n,r,i,o,a,s,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=y?c.trim():p(c,3)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+c}for(a=(o=c.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>i)return NaN;return parseInt(o,r)}return+c};if(i(h,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var _,w=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof w&&(g?l((function(){v.valueOf.call(n)})):a(n)!=h)?s(new m(b(t)),n,w):b(t)},k=n(19781)?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;k.length>E;E++)o(m,_=k[E])&&!o(w,_)&&f(w,_,d(m,_));w.prototype=v,v.constructor=w,n(31320)(r,h,w)}},93299:function(e,t,n){n(82109)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},35192:function(e,t,n){n(82109)({target:"Number",stat:!0},{isFinite:n(77023)})},33161:function(e,t,n){n(82109)({target:"Number",stat:!0},{isInteger:n(18730)})},44048:function(e,t,n){n(82109)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},78285:function(e,t,n){var r=n(18730),i=Math.abs;n(82109)({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},44363:function(e,t,n){n(82109)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},55994:function(e,t,n){n(82109)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},61874:function(e,t,n){var r=n(3677);n(82109)({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},9494:function(e,t,n){var r=n(88620);n(82109)({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},56977:function(e,t,n){"use strict";var r=n(99958),i=n(50863),o=n(38415),a=1..toFixed,s=Math.floor,u=[0,0,0,0,0,0],l=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},c=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=s(n/e),n=n%e*1e7},d=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+o.call("0",7-n.length)+n}return t},f=function(e,t,n){return 0===t?n:t%2==1?f(e,t-1,n*e):f(e*e,t/2,n)};n(82109)({target:"Number",proto:!0,forced:a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(47293)((function(){a.call({})}))},{toFixed:function(e){var t,n,a,s,u=i(this),p=r(e),h="",m="0";if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*f(2,69,1))-69,n=t<0?u*f(2,-t,1):u/f(2,t,1),n*=4503599627370496,(t=52-t)>0){for(l(0,n),a=p;a>=7;)l(1e7,0),a-=7;for(l(f(10,a,1),0),a=t-1;a>=23;)c(1<<23),a-=23;c(1<<a),l(1,1),c(2),m=d()}else l(0,n),l(1<<-t,0),m=d()+o.call("0",p);return m=p>0?h+((s=m.length)<=p?"0."+o.call("0",p-s)+m:m.slice(0,s-p)+"."+m.slice(s-p)):h+m}})},19601:function(e,t,n){var r=n(21574);n(82109)({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},59595:function(e,t,n){"use strict";var r=n(47908),i=n(13099),o=n(3070),a=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:a},{__defineGetter__:function(e,t){o.f(r(this),e,{get:i(t),enumerable:!0,configurable:!0})}})},35500:function(e,t,n){"use strict";var r=n(47908),i=n(13099),o=n(3070),a=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:a},{__defineSetter__:function(e,t){o.f(r(this),e,{set:i(t),enumerable:!0,configurable:!0})}})},69720:function(e,t,n){var r=n(44699);n(82109)({target:"Object",stat:!0},{entries:function(e){return r(e,!0)}})},43371:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.freeze,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{freeze:function(e){return o&&r(e)?o(i(e)):e}})},38559:function(e,t,n){var r=n(20408),i=n(86135);n(82109)({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},38880:function(e,t,n){var r=n(45656),i=n(31236).f,o=n(19781),a=n(47293)((function(){i(1)})),s=!o||a;n(82109)({target:"Object",stat:!0,forced:s,sham:!o},{getOwnPropertyDescriptor:function(e,t){return i(r(e),t)}})},49337:function(e,t,n){var r=n(19781),i=n(53887),o=n(45656),a=n(31236),s=n(86135);n(82109)({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),u=a.f,l=i(r),c={},d=0;l.length>d;)void 0!==(n=u(r,t=l[d++]))&&s(c,t,n);return c}})},36210:function(e,t,n){var r=n(1156).f,i=n(47293)((function(){Object.getOwnPropertyNames(1)}));n(82109)({target:"Object",stat:!0,forced:i},{getOwnPropertyNames:r})},30489:function(e,t,n){var r=n(47908),i=n(79518),o=n(49920),a=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:a,sham:!o},{getPrototypeOf:function(e){return i(r(e))}})},41825:function(e,t,n){var r=n(70111),i=Object.isExtensible,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isExtensible:function(e){return!!r(e)&&(!i||i(e))}})},98410:function(e,t,n){var r=n(70111),i=Object.isFrozen,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isFrozen:function(e){return!r(e)||!!i&&i(e)}})},72200:function(e,t,n){var r=n(70111),i=Object.isSealed,o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{isSealed:function(e){return!r(e)||!!i&&i(e)}})},43304:function(e,t,n){n(82109)({target:"Object",stat:!0},{is:n(81150)})},47941:function(e,t,n){var r=n(47908),i=n(81956),o=n(47293)((function(){i(1)}));n(82109)({target:"Object",stat:!0,forced:o},{keys:function(e){return i(r(e))}})},94869:function(e,t,n){"use strict";var r=n(47908),i=n(57593),o=n(79518),a=n(31236).f,s=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:s},{__lookupGetter__:function(e){var t,n=r(this),s=i(e,!0);do{if(t=a(n,s))return t.get}while(n=o(n))}})},33952:function(e,t,n){"use strict";var r=n(47908),i=n(57593),o=n(79518),a=n(31236).f,s=n(41301);n(19781)&&n(82109)({target:"Object",proto:!0,forced:s},{__lookupSetter__:function(e){var t,n=r(this),s=i(e,!0);do{if(t=a(n,s))return t.set}while(n=o(n))}})},57227:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.preventExtensions,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{preventExtensions:function(e){return o&&r(e)?o(i(e)):e}})},60514:function(e,t,n){var r=n(70111),i=n(62423).onFreeze,o=Object.seal,a=n(76677),s=n(47293)((function(){o(1)}));n(82109)({target:"Object",stat:!0,forced:s,sham:!a},{seal:function(e){return o&&r(e)?o(i(e)):e}})},41539:function(e,t,n){var r=n(90288),i=Object.prototype;r!==i.toString&&n(31320)(i,"toString",r,{unsafe:!0})},26833:function(e,t,n){var r=n(44699);n(82109)({target:"Object",stat:!0},{values:function(e){return r(e)}})},17727:function(e,t,n){"use strict";var r=n(35005),i=n(36707),o=n(69478);n(82109)({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=i(this,r("Promise")),n="function"==typeof e;return this.then(n?function(n){return o(t,e()).then((function(){return n}))}:e,n?function(n){return o(t,e()).then((function(){throw n}))}:e)}})},88674:function(e,t,n){"use strict";var r,i,o,a="Promise",s=n(31913),u=n(17854),l=n(82109),c=n(70111),d=n(13099),f=n(25787),p=n(84326),h=n(20408),m=n(17072),v=n(36707),g=n(20261).set,y=n(95948),b=n(69478),_=n(842),w=n(78523),k=n(12534),E=n(20227),x=n(5112)("species"),S=n(29909),T=n(96114),C=S.get,A=S.set,O=S.getterFor(a),N=u.Promise,P=u.TypeError,I=u.document,L=u.process,M=u.fetch,R=L&&L.versions,D=R&&R.v8||"",q=w.f,j=q,F="process"==p(L),B=!!(I&&I.createEvent&&u.dispatchEvent),U="unhandledrejection",z=T(a,(function(){var e=N.resolve(1),t=function(){},n=(e.constructor={})[x]=function(e){e(t,t)};return!((F||"function"==typeof PromiseRejectionEvent)&&(!s||e.finally)&&e.then(t)instanceof n&&0!==D.indexOf("6.6")&&-1===E.indexOf("Chrome/66"))})),H=z||!m((function(e){N.all(e).catch((function(){}))})),V=function(e){var t;return!(!c(e)||"function"!=typeof(t=e.then))&&t},W=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;y((function(){for(var i=t.value,o=1==t.state,a=0,s=function(n){var r,a,s,u=o?n.ok:n.fail,l=n.resolve,c=n.reject,d=n.domain;try{u?(o||(2===t.rejection&&X(e,t),t.rejection=1),!0===u?r=i:(d&&d.enter(),r=u(i),d&&(d.exit(),s=!0)),r===n.promise?c(P("Promise-chain cycle")):(a=V(r))?a.call(r,l,c):l(r)):c(i)}catch(e){d&&!s&&d.exit(),c(e)}};r.length>a;)s(r[a++]);t.reactions=[],t.notified=!1,n&&!t.rejection&&G(e,t)}))}},Y=function(e,t,n){var r,i;B?((r=I.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(i=u["on"+e])?i(r):e===U&&_("Unhandled promise rejection",n)},G=function(e,t){g.call(u,(function(){var n,r=t.value;if(K(t)&&(n=k((function(){F?L.emit("unhandledRejection",r,e):Y(U,e,r)})),t.rejection=F||K(t)?2:1,n.error))throw n.value}))},K=function(e){return 1!==e.rejection&&!e.parent},X=function(e,t){g.call(u,(function(){F?L.emit("rejectionHandled",e):Y("rejectionhandled",e,t.value)}))},$=function(e,t,n,r){return function(i){e(t,n,i,r)}},Z=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,W(e,t,!0))},Q=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw P("Promise can't be resolved itself");var i=V(n);i?y((function(){var r={done:!1};try{i.call(n,$(Q,e,r,t),$(Z,e,r,t))}catch(n){Z(e,r,n,t)}})):(t.value=n,t.state=1,W(e,t,!1))}catch(n){Z(e,{done:!1},n,t)}}};z&&(N=function(e){f(this,N,a),d(e),r.call(this);var t=C(this);try{e($(Q,this,t),$(Z,this,t))}catch(e){Z(this,t,e)}},(r=function(e){A(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(12248)(N.prototype,{then:function(e,t){var n=O(this),r=q(v(this,N));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=F?L.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&W(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=C(e);this.promise=e,this.resolve=$(Q,e,t),this.reject=$(Z,e,t)},w.f=q=function(e){return e===N||e===o?new i(e):j(e)},s||"function"!=typeof M||l({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(N,M.apply(u,arguments))}})),l({global:!0,wrap:!0,forced:z},{Promise:N}),n(58003)(N,a,!1,!0),n(96340)(a),o=n(40857).Promise,l({target:a,stat:!0,forced:z},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),l({target:a,stat:!0,forced:s||z},{resolve:function(e){return b(s&&this===o?N:this,e)}}),l({target:a,stat:!0,forced:H},{all:function(e){var t=this,n=q(t),r=n.resolve,i=n.reject,o=k((function(){var n=[],o=0,a=1;h(e,(function(e){var s=o++,u=!1;n.push(void 0),a++,t.resolve(e).then((function(e){u||(u=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=q(t),r=n.reject,i=k((function(){h(e,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},36535:function(e,t,n){var r=n(13099),i=n(19670),o=(n(17854).Reflect||{}).apply,a=Function.apply,s=!n(47293)((function(){o((function(){}))}));n(82109)({target:"Reflect",stat:!0,forced:s},{apply:function(e,t,n){return r(e),i(n),o?o(e,t,n):a.call(e,t,n)}})},12419:function(e,t,n){var r=n(70030),i=n(13099),o=n(19670),a=n(70111),s=n(47293),u=n(27065),l=(n(17854).Reflect||{}).construct,c=s((function(){function e(){}return!(l((function(){}),[],e)instanceof e)})),d=!s((function(){l((function(){}))})),f=c||d;n(82109)({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),o(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!c)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var s=[null];return s.push.apply(s,t),new(u.apply(e,s))}var f=n.prototype,p=r(a(f)?f:Object.prototype),h=Function.apply.call(e,p,t);return a(h)?h:p}})},69596:function(e,t,n){var r=n(3070),i=n(19670),o=n(57593),a=n(19781),s=n(47293)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}));n(82109)({target:"Reflect",stat:!0,forced:s,sham:!a},{defineProperty:function(e,t,n){i(e),t=o(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},52586:function(e,t,n){var r=n(31236).f,i=n(19670);n(82109)({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=r(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},95683:function(e,t,n){var r=n(31236),i=n(19670),o=n(19781);n(82109)({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},39361:function(e,t,n){var r=n(79518),i=n(19670),o=n(49920);n(82109)({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(e){return r(i(e))}})},74819:function(e,t,n){var r=n(31236),i=n(79518),o=n(86656),a=n(70111),s=n(19670);n(82109)({target:"Reflect",stat:!0},{get:function e(t,n){var u,l,c=arguments.length<3?t:arguments[2];return s(t)===c?t[n]:(u=r.f(t,n))?o(u,"value")?u.value:void 0===u.get?void 0:u.get.call(c):a(l=i(t))?e(l,n,c):void 0}})},51037:function(e,t,n){n(82109)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},5898:function(e,t,n){var r=n(19670),i=Object.isExtensible;n(82109)({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},67556:function(e,t,n){n(82109)({target:"Reflect",stat:!0},{ownKeys:n(53887)})},14361:function(e,t,n){var r=n(35005),i=n(19670),o=n(76677);n(82109)({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},39532:function(e,t,n){var r=n(27674),i=n(99475);r&&n(82109)({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){i(e,t);try{return r(e,t),!0}catch(e){return!1}}})},83593:function(e,t,n){var r=n(3070),i=n(31236),o=n(79518),a=n(86656),s=n(79114),u=n(19670),l=n(70111);n(82109)({target:"Reflect",stat:!0},{set:function e(t,n,c){var d,f,p=arguments.length<4?t:arguments[3],h=i.f(u(t),n);if(!h){if(l(f=o(t)))return e(f,n,c,p);h=s(0)}if(a(h,"value")){if(!1===h.writable||!l(p))return!1;if(d=i.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=c,r.f(p,n,d)}else r.f(p,n,s(0,c));return!0}return void 0!==h.set&&(h.set.call(p,c),!0)}})},24603:function(e,t,n){var r=n(19781),i=n(5112)("match"),o=n(17854),a=n(96114),s=n(79587),u=n(3070).f,l=n(8006).f,c=n(47850),d=n(67066),f=n(31320),p=n(47293),h=o.RegExp,m=h.prototype,v=/a/g,g=/a/g,y=new h(v)!==v;if(a("RegExp",r&&(!y||p((function(){return g[i]=!1,h(v)!=v||h(g)==g||"/a/i"!=h(v,"i")}))))){for(var b=function(e,t){var n=this instanceof b,r=c(e),i=void 0===t;return!n&&r&&e.constructor===b&&i?e:s(y?new h(r&&!i?e.source:e,t):h((r=e instanceof b)?e.source:e,r&&i?d.call(e):t),n?this:m,b)},_=function(e){e in b||u(b,e,{configurable:!0,get:function(){return h[e]},set:function(t){h[e]=t}})},w=l(h),k=0;k<w.length;)_(w[k++]);m.constructor=b,b.prototype=m,f(o,"RegExp",b)}n(96340)("RegExp")},74916:function(e,t,n){"use strict";var r=n(22261);n(82109)({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},92087:function(e,t,n){n(19781)&&"g"!=/./g.flags&&n(3070).f(RegExp.prototype,"flags",{configurable:!0,get:n(67066)})},39714:function(e,t,n){"use strict";var r=n(19670),i=n(47293),o=n(67066),a=n(19781),s="toString",u=/./.toString,l=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),c=u.name!=s;(l||c)&&n(31320)(RegExp.prototype,s,(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?o.call(e):void 0)}),{unsafe:!0})},70189:function(e,t,n){"use strict";e.exports=n(77710)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(95631))},15218:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("anchor");n(82109)({target:"String",proto:!0,forced:i},{anchor:function(e){return r(this,"a","name",e)}})},74475:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("big");n(82109)({target:"String",proto:!0,forced:i},{big:function(){return r(this,"big","","")}})},57929:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("blink");n(82109)({target:"String",proto:!0,forced:i},{blink:function(){return r(this,"blink","","")}})},50915:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("bold");n(82109)({target:"String",proto:!0,forced:i},{bold:function(){return r(this,"b","","")}})},79841:function(e,t,n){"use strict";var r=n(95866);n(82109)({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},27852:function(e,t,n){"use strict";var r=n(17466),i=n(28468),o="endsWith",a="".endsWith,s=Math.min,u=n(84964)(o);n(82109)({target:"String",proto:!0,forced:!u},{endsWith:function(e){var t=i(this,e,o),n=arguments.length>1?arguments[1]:void 0,u=r(t.length),l=void 0===n?u:s(r(n),u),c=String(e);return a?a.call(t,c,l):t.slice(l-c.length,l)===c}})},29253:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fixed");n(82109)({target:"String",proto:!0,forced:i},{fixed:function(){return r(this,"tt","","")}})},42125:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fontcolor");n(82109)({target:"String",proto:!0,forced:i},{fontcolor:function(e){return r(this,"font","color",e)}})},78830:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("fontsize");n(82109)({target:"String",proto:!0,forced:i},{fontsize:function(e){return r(this,"font","size",e)}})},94953:function(e,t,n){var r=n(51400),i=String.fromCharCode,o=String.fromCodePoint,a=!!o&&1!=o.length;n(82109)({target:"String",stat:!0,forced:a},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},32023:function(e,t,n){"use strict";var r=n(28468),i="includes",o=n(84964)(i);n(82109)({target:"String",proto:!0,forced:!o},{includes:function(e){return!!~r(this,e,i).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},58734:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("italics");n(82109)({target:"String",proto:!0,forced:i},{italics:function(){return r(this,"i","","")}})},78783:function(e,t,n){"use strict";var r=n(95866),i=n(29909),o=n(70654),a="String Iterator",s=i.set,u=i.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i,!0),t.index+=e.length,{value:e,done:!1})}))},29254:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("link");n(82109)({target:"String",proto:!0,forced:i},{link:function(e){return r(this,"a","href",e)}})},4723:function(e,t,n){"use strict";var r=n(19670),i=n(17466),o=n(84488),a=n(31530),s=n(97651);n(27007)("match",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var u=r(e),l=String(this);if(!u.global)return s(u,l);var c=u.unicode;u.lastIndex=0;for(var d,f=[],p=0;null!==(d=s(u,l));){var h=String(d[0]);f[p]=h,""===h&&(u.lastIndex=a(l,i(u.lastIndex),c)),p++}return 0===p?null:f}]}))},66528:function(e,t,n){"use strict";var r=n(76650),i=n(27428);n(82109)({target:"String",proto:!0,forced:i},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},83112:function(e,t,n){"use strict";var r=n(76650),i=n(27428);n(82109)({target:"String",proto:!0,forced:i},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},38992:function(e,t,n){var r=n(45656),i=n(17466);n(82109)({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<o&&a.push(String(arguments[s]));return a.join("")}})},82481:function(e,t,n){n(82109)({target:"String",proto:!0},{repeat:n(38415)})},15306:function(e,t,n){"use strict";var r=n(19670),i=n(47908),o=n(17466),a=n(99958),s=n(84488),u=n(31530),l=n(97651),c=Math.max,d=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(27007)("replace",2,(function(e,t,n){return[function(n,r){var i=s(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,i){var s=n(t,e,this,i);if(s.done)return s.value;var f=r(e),p=String(this),h="function"==typeof i;h||(i=String(i));var v=f.global;if(v){var g=f.unicode;f.lastIndex=0}for(var y=[];;){var b=l(f,p);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(f.lastIndex=u(p,o(f.lastIndex),g))}for(var _,w="",k=0,E=0;E<y.length;E++){b=y[E];for(var x=String(b[0]),S=c(d(a(b.index),p.length),0),T=[],C=1;C<b.length;C++)T.push(void 0===(_=b[C])?_:String(_));var A=b.groups;if(h){var O=[x].concat(T,S,p);void 0!==A&&O.push(A);var N=String(i.apply(void 0,O))}else N=m(x,p,S,T,A,i);S>=k&&(w+=p.slice(k,S)+N,k=S+x.length)}return w+p.slice(k)}];function m(e,n,r,o,a,s){var u=r+e.length,l=o.length,c=h;return void 0!==a&&(a=i(a),c=p),t.call(s,c,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return t;if(c>l){var d=f(c/10);return 0===d?t:d<=l?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[c-1]}return void 0===s?"":s}))}}))},64765:function(e,t,n){"use strict";var r=n(19670),i=n(84488),o=n(81150),a=n(97651);n(27007)("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var i=n(t,e,this);if(i.done)return i.value;var s=r(e),u=String(this),l=s.lastIndex;o(l,0)||(s.lastIndex=0);var c=a(s,u);return o(s.lastIndex,l)||(s.lastIndex=l),null===c?-1:c.index}]}))},37268:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("small");n(82109)({target:"String",proto:!0,forced:i},{small:function(){return r(this,"small","","")}})},23123:function(e,t,n){"use strict";var r=n(47850),i=n(19670),o=n(84488),a=n(36707),s=n(31530),u=n(17466),l=n(97651),c=n(22261),d=n(47293),f=[].push,p=Math.min,h=4294967295,m=!d((function(){return!RegExp(h,"y")}));n(27007)("split",2,(function(e,t,n){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=String(o(this)),a=void 0===n?h:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!r(e))return t.call(i,e,a);for(var s,u,l,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,v=new RegExp(e.source,p+"g");(s=c.call(v,i))&&!((u=v.lastIndex)>m&&(d.push(i.slice(m,s.index)),s.length>1&&s.index<i.length&&f.apply(d,s.slice(1)),l=s[0].length,m=u,d.length>=a));)v.lastIndex===s.index&&v.lastIndex++;return m===i.length?!l&&v.test("")||d.push(""):d.push(i.slice(m)),d.length>a?d.slice(0,a):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=o(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,r,n):d.call(String(r),t,n)},function(e,r){var o=n(d,e,this,r,d!==t);if(o.done)return o.value;var c=i(e),f=String(this),v=a(c,RegExp),g=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(m?"y":"g"),b=new v(m?c:"^(?:"+c.source+")",y),_=void 0===r?h:r>>>0;if(0===_)return[];if(0===f.length)return null===l(b,f)?[f]:[];for(var w=0,k=0,E=[];k<f.length;){b.lastIndex=m?k:0;var x,S=l(b,m?f:f.slice(k));if(null===S||(x=p(u(b.lastIndex+(m?0:k)),f.length))===w)k=s(f,k,g);else{if(E.push(f.slice(w,k)),E.length===_)return E;for(var T=1;T<=S.length-1;T++)if(E.push(S[T]),E.length===_)return E;k=w=x}}return E.push(f.slice(w)),E}]}),!m)},23157:function(e,t,n){"use strict";var r=n(17466),i=n(28468),o="startsWith",a=n(84964)(o),s="".startsWith;n(82109)({target:"String",proto:!0,forced:!a},{startsWith:function(e){var t=i(this,e,o),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return s?s.call(t,a,n):t.slice(n,n+a.length)===a}})},7397:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("strike");n(82109)({target:"String",proto:!0,forced:i},{strike:function(){return r(this,"strike","","")}})},60086:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("sub");n(82109)({target:"String",proto:!0,forced:i},{sub:function(){return r(this,"sub","","")}})},80623:function(e,t,n){"use strict";var r=n(14230),i=n(12098)("sup");n(82109)({target:"String",proto:!0,forced:i},{sup:function(){return r(this,"sup","","")}})},48702:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trimEnd"),o=i?function(){return r(this,2)}:"".trimEnd;n(82109)({target:"String",proto:!0,forced:i},{trimEnd:o,trimRight:o})},55674:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trimStart"),o=i?function(){return r(this,1)}:"".trimStart;n(82109)({target:"String",proto:!0,forced:i},{trimStart:o,trimLeft:o})},73210:function(e,t,n){"use strict";var r=n(53111),i=n(8711)("trim");n(82109)({target:"String",proto:!0,forced:i},{trim:function(){return r(this,3)}})},72443:function(e,t,n){n(97235)("asyncIterator")},41817:function(e,t,n){"use strict";var r=n(19781),i=n(86656),o=n(70111),a=n(3070).f,s=n(99920),u=n(17854).Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var l={},c=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof c?new u(e):void 0===e?u():u(e);return""===e&&(l[t]=!0),t};s(c,u);var d=c.prototype=u.prototype;d.constructor=c;var f=d.toString,p="Symbol(test)"==String(u("test")),h=/^Symbol\((.*)\)[^)]+$/;a(d,"description",{configurable:!0,get:function(){var e=o(this)?this.valueOf():this,t=f.call(e);if(i(l,e))return"";var n=p?t.slice(7,-1):t.replace(h,"$1");return""===n?void 0:n}}),n(82109)({global:!0,forced:!0},{Symbol:c})}},92401:function(e,t,n){n(97235)("hasInstance")},8722:function(e,t,n){n(97235)("isConcatSpreadable")},32165:function(e,t,n){n(97235)("iterator")},82526:function(e,t,n){"use strict";var r=n(17854),i=n(86656),o=n(19781),a=n(31913),s=n(82109),u=n(31320),l=n(3501),c=n(47293),d=n(72309),f=n(58003),p=n(69711),h=n(5112),m=n(96805),v=n(97235),g=n(6294),y=n(43157),b=n(19670),_=n(70111),w=n(45656),k=n(57593),E=n(79114),x=n(70030),S=n(1156),T=n(31236),C=n(3070),A=n(55296),O=n(95185),N=n(81956),P=n(6200)("hidden"),I=n(29909),L="Symbol",M=I.set,R=I.getterFor(L),D=T.f,q=C.f,j=S.f,F=r.Symbol,B=r.JSON,U=B&&B.stringify,z=h("toPrimitive"),H=A.f,V=d("symbol-registry"),W=d("symbols"),Y=d("op-symbols"),G=d("wks"),K=Object.prototype,X=r.QObject,$=n(30133),Z=!X||!X.prototype||!X.prototype.findChild,Q=o&&c((function(){return 7!=x(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(K,t);r&&delete K[t],q(e,t,n),r&&e!==K&&q(K,t,r)}:q,J=function(e,t){var n=W[e]=x(F.prototype);return M(n,{type:L,tag:e,description:t}),o||(n.description=t),n},ee=$&&"symbol"==typeof F.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof F},te=function(e,t,n){return e===K&&te(Y,t,n),b(e),t=k(t,!0),b(n),i(W,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:E(0,!1)})):(i(e,P)||q(e,P,E(1,{})),e[P][t]=!0),Q(e,t,n)):q(e,t,n)},ne=function(e,t){b(e);for(var n,r=g(t=w(t)),i=0,o=r.length;o>i;)te(e,n=r[i++],t[n]);return e},re=function(e){var t=H.call(this,e=k(e,!0));return!(this===K&&i(W,e)&&!i(Y,e))&&(!(t||!i(this,e)||!i(W,e)||i(this,P)&&this[P][e])||t)},ie=function(e,t){if(e=w(e),t=k(t,!0),e!==K||!i(W,t)||i(Y,t)){var n=D(e,t);return!n||!i(W,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},oe=function(e){for(var t,n=j(w(e)),r=[],o=0;n.length>o;)i(W,t=n[o++])||i(l,t)||r.push(t);return r},ae=function(e){for(var t,n=e===K,r=j(n?Y:w(e)),o=[],a=0;r.length>a;)!i(W,t=r[a++])||n&&!i(K,t)||o.push(W[t]);return o};$||(F=function(){if(this instanceof F)throw TypeError("Symbol is not a constructor");var e=void 0===arguments[0]?void 0:String(arguments[0]),t=p(e),n=function(e){this===K&&n.call(Y,e),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,E(1,e))};return o&&Z&&Q(K,t,{configurable:!0,set:n}),J(t,e)},u(F.prototype,"toString",(function(){return R(this).tag})),A.f=re,C.f=te,T.f=ie,n(8006).f=S.f=oe,n(25181).f=ae,o&&(q(F.prototype,"description",{configurable:!0,get:function(){return R(this).description}}),a||u(K,"propertyIsEnumerable",re,{unsafe:!0})),m.f=function(e){return J(h(e),e)}),s({global:!0,wrap:!0,forced:!$,sham:!$},{Symbol:F});for(var se=N(G),ue=0;se.length>ue;)v(se[ue++]);s({target:L,stat:!0,forced:!$},{for:function(e){return i(V,e+="")?V[e]:V[e]=F(e)},keyFor:function(e){if(!ee(e))throw TypeError(e+" is not a symbol");for(var t in V)if(V[t]===e)return t},useSetter:function(){Z=!0},useSimple:function(){Z=!1}}),s({target:"Object",stat:!0,forced:!$,sham:!o},{create:function(e,t){return void 0===t?x(e):ne(x(e),t)},defineProperty:te,defineProperties:ne,getOwnPropertyDescriptor:ie}),s({target:"Object",stat:!0,forced:!$},{getOwnPropertyNames:oe,getOwnPropertySymbols:ae}),B&&s({target:"JSON",stat:!0,forced:!$||c((function(){var e=F();return"[null]"!=U([e])||"{}"!=U({a:e})||"{}"!=U(Object(e))}))},{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(_(t)||void 0!==e)&&!ee(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ee(t))return t}),r[1]=t,U.apply(B,r)}}),F.prototype[z]||O(F.prototype,z,F.prototype.valueOf),f(F,L),l[P]=!0},69007:function(e,t,n){n(97235)("match")},83510:function(e,t,n){n(97235)("replace")},41840:function(e,t,n){n(97235)("search")},6982:function(e,t,n){n(97235)("species")},32159:function(e,t,n){n(97235)("split")},96649:function(e,t,n){n(97235)("toPrimitive")},39341:function(e,t,n){n(97235)("toStringTag")},60543:function(e,t,n){n(97235)("unscopables")},92990:function(e,t,n){"use strict";var r=n(1048),i=n(90260),o=i.aTypedArray;i.exportProto("copyWithin",(function(e,t){return r.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},18927:function(e,t,n){"use strict";var r=n(77550)(4),i=n(90260),o=i.aTypedArray;i.exportProto("every",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33105:function(e,t,n){"use strict";var r=n(21285),i=n(90260),o=i.aTypedArray;i.exportProto("fill",(function(e){return r.apply(o(this),arguments)}))},35035:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=n(77550)(2),a=i.aTypedArray,s=i.aTypedArrayConstructor;i.exportProto("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=r(this,this.constructor),i=0,u=t.length,l=new(s(n))(u);u>i;)l[i]=t[i++];return l}))},7174:function(e,t,n){"use strict";var r=n(77550)(6),i=n(90260),o=i.aTypedArray;i.exportProto("findIndex",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},74345:function(e,t,n){"use strict";var r=n(77550)(5),i=n(90260),o=i.aTypedArray;i.exportProto("find",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},44197:function(e,t,n){n(19843)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},76495:function(e,t,n){n(19843)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},32846:function(e,t,n){"use strict";var r=n(77550)(0),i=n(90260),o=i.aTypedArray;i.exportProto("forEach",(function(e){r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},98145:function(e,t,n){"use strict";var r=n(6500),i=n(90260),o=n(97321);i.exportStatic("from",o,r)},44731:function(e,t,n){"use strict";var r=n(41318)(!0),i=n(90260),o=i.aTypedArray;i.exportProto("includes",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},77209:function(e,t,n){"use strict";var r=n(41318)(!1),i=n(90260),o=i.aTypedArray;i.exportProto("indexOf",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},35109:function(e,t,n){n(19843)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},65125:function(e,t,n){n(19843)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},87145:function(e,t,n){n(19843)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},96319:function(e,t,n){"use strict";var r=n(66992),i=n(17854).Uint8Array,o=n(90260),a=n(5112)("iterator"),s=r.values,u=r.keys,l=r.entries,c=o.aTypedArray,d=o.exportProto,f=i&&i.prototype[a],p=!!f&&("values"==f.name||null==f.name),h=function(){return s.call(c(this))};d("entries",(function(){return l.call(c(this))})),d("keys",(function(){return u.call(c(this))})),d("values",h,!p),d(a,h,!p)},58867:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].join;r.exportProto("join",(function(e){return o.apply(i(this),arguments)}))},37789:function(e,t,n){"use strict";var r=n(86583),i=n(90260),o=i.aTypedArray;i.exportProto("lastIndexOf",(function(e){return r.apply(o(this),arguments)}))},33739:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=n(77550)(1,(function(e,t){return new(a(r(e,e.constructor)))(t)}));i.exportProto("map",(function(e){return s(o(this),e,arguments.length>1?arguments[1]:void 0)}))},95206:function(e,t,n){"use strict";var r=n(6500),i=n(90260),o=i.aTypedArrayConstructor;i.exportStatic("of",(function(){for(var e=0,t=arguments.length,n=new(o(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},14483:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].reduceRight;r.exportProto("reduceRight",(function(e){return o.apply(i(this),arguments)}))},29368:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].reduce;r.exportProto("reduce",(function(e){return o.apply(i(this),arguments)}))},12056:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray;r.exportProto("reverse",(function(){for(var e,t=this,n=i(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(17466),i=n(84590),o=n(47908),a=n(90260),s=a.aTypedArray,u=n(47293)((function(){new Int8Array(1).set({})}));a.exportProto("set",(function(e){s(this);var t=i(arguments[1],1),n=this.length,a=o(e),u=r(a.length),l=0;if(u+t>n)throw RangeError("Wrong length");for(;l<u;)this[t+l]=a[l++]}),u)},30678:function(e,t,n){"use strict";var r=n(36707),i=n(90260),o=i.aTypedArray,a=i.aTypedArrayConstructor,s=[].slice,u=n(47293)((function(){new Int8Array(1).slice()}));i.exportProto("slice",(function(e,t){for(var n=s.call(o(this),e,t),i=r(this,this.constructor),u=0,l=n.length,c=new(a(i))(l);l>u;)c[u]=n[u++];return c}),u)},27462:function(e,t,n){"use strict";var r=n(77550)(3),i=n(90260),o=i.aTypedArray;i.exportProto("some",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},33824:function(e,t,n){"use strict";var r=n(90260),i=r.aTypedArray,o=[].sort;r.exportProto("sort",(function(e){return o.call(i(this),e)}))},55021:function(e,t,n){"use strict";var r=n(17466),i=n(51400),o=n(36707),a=n(90260),s=a.aTypedArray;a.exportProto("subarray",(function(e,t){var n=s(this),a=n.length,u=i(e,a);return new(o(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,r((void 0===t?a:i(t,a))-u))}))},12974:function(e,t,n){"use strict";var r=n(17854).Int8Array,i=n(47293),o=n(90260),a=o.aTypedArray,s=[].toLocaleString,u=[].slice,l=!!r&&i((function(){s.call(new r(1))})),c=i((function(){return[1,2].toLocaleString()!=new r([1,2]).toLocaleString()}))||!i((function(){r.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return s.apply(l?u.call(a(this)):a(this),arguments)}),c)},15016:function(e,t,n){"use strict";var r=n(17854).Uint8Array,i=r&&r.prototype,o=n(90260),a=[].toString,s=[].join;n(47293)((function(){a.call({})}))&&(a=function(){return s.call(this)}),o.exportProto("toString",a,(i||{}).toString!=a)},8255:function(e,t,n){n(19843)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},29135:function(e,t,n){n(19843)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},82472:function(e,t,n){n(19843)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},49743:function(e,t,n){n(19843)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},4129:function(e,t,n){"use strict";var r,i=n(17854),o=n(12248),a=n(62423),s=n(29320),u=n(70111),l=n(29909).enforce,c=n(68536),d=!i.ActiveXObject&&"ActiveXObject"in i,f=Object.isExtensible,p=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},h=e.exports=n(77710)("WeakMap",p,s,!0,!0);if(c&&d){r=s.getConstructor(p,"WeakMap",!0),a.REQUIRED=!0;var m=h.prototype,v=m.delete,g=m.has,y=m.get,b=m.set;o(m,{delete:function(e){if(u(e)&&!f(e)){var t=l(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.delete(e)}return v.call(this,e)},has:function(e){if(u(e)&&!f(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.has(e)}return g.call(this,e)},get:function(e){if(u(e)&&!f(e)){var t=l(this);return t.frozen||(t.frozen=new r),g.call(this,e)?y.call(this,e):t.frozen.get(e)}return y.call(this,e)},set:function(e,t){if(u(e)&&!f(e)){var n=l(this);n.frozen||(n.frozen=new r),g.call(this,e)?b.call(this,e,t):n.frozen.set(e,t)}else b.call(this,e,t);return this}})}},38478:function(e,t,n){"use strict";n(77710)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),n(29320),!1,!0)},54747:function(e,t,n){var r=n(48324),i=n(18533),o=n(95185),a=n(17854);for(var s in r){var u=a[s],l=u&&u.prototype;if(l&&l.forEach!==i)try{o(l,"forEach",i)}catch(e){l.forEach=i}}},33948:function(e,t,n){var r=n(48324),i=n(66992),o=n(17854),a=n(95185),s=n(5112),u=s("iterator"),l=s("toStringTag"),c=i.values;for(var d in r){var f=o[d],p=f&&f.prototype;if(p){if(p[u]!==c)try{a(p,u,c)}catch(e){p[u]=c}if(p[l]||a(p,l,d),r[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},84633:function(e,t,n){var r=n(17854),i=n(20261),o=!r.setImmediate||!r.clearImmediate;n(82109)({global:!0,bind:!0,enumerable:!0,forced:o},{setImmediate:i.set,clearImmediate:i.clear})},85844:function(e,t,n){var r=n(95948),i=n(17854).process,o="process"==n(84326)(i);n(82109)({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=o&&i.domain;r(t?t.bind(e):e)}})},41637:function(e,t,n){"use strict";n(66992);var r=n(590),i=n(31320),o=n(12248),a=n(24994),s=n(29909),u=n(25787),l=n(86656),c=n(30244),d=n(19670),f=n(70111),p=n(18554),h=n(71246),m=n(5112)("iterator"),v="URLSearchParams",g="URLSearchParamsIterator",y=s.set,b=s.getterFor(v),_=s.getterFor(g),w=/\+/g,k=Array(4),E=function(e){return k[e-1]||(k[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},x=function(e){try{return decodeURIComponent(e)}catch(t){return e}},S=function(e){for(var t=e.replace(w," "),n=4;n;)t=t.replace(E(n--),x);return t},T=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},A=function(e){return C[e]},O=function(e){return encodeURIComponent(e).replace(T,A)},N=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:S(r.shift()),value:S(r.join("="))}));return e},P=function(e){this.entries.length=0,N(this.entries,e)},I=function(e,t){if(e<t)throw TypeError("Not enough arguments")},L=a((function(e,t){y(this,{type:g,iterator:p(b(e).entries),kind:t})}),"Iterator",(function(){var e=_(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),M=function(){u(this,M,v);var e,t,n,r,i,o,a,s=arguments.length>0?arguments[0]:void 0,c=this,m=[];if(y(c,{type:v,entries:m,updateURL:null,updateSearchParams:P}),void 0!==s)if(f(s))if("function"==typeof(e=h(s)))for(t=e.call(s);!(n=t.next()).done;){if((i=(r=p(d(n.value))).next()).done||(o=r.next()).done||!r.next().done)throw TypeError("Expected sequence with length 2");m.push({key:i.value+"",value:o.value+""})}else for(a in s)l(s,a)&&m.push({key:a,value:s[a]+""});else N(m,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},R=M.prototype;o(R,{append:function(e,t){I(arguments.length,2);var n=b(this);n.entries.push({key:e+"",value:t+""}),n.updateURL&&n.updateURL()},delete:function(e){I(arguments.length,1);for(var t=b(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL&&t.updateURL()},get:function(e){I(arguments.length,1);for(var t=b(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){I(arguments.length,1);for(var t=b(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){I(arguments.length,1);for(var t=b(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){I(arguments.length,1);for(var n,r=b(this),i=r.entries,o=!1,a=e+"",s=t+"",u=0;u<i.length;u++)(n=i[u]).key===a&&(o?i.splice(u--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL&&r.updateURL()},sort:function(){var e,t,n,r=b(this),i=r.entries,o=i.slice();for(i.length=0,t=0;t<o.length;t++){for(e=o[t],n=0;n<t;n++)if(i[n].key>e.key){i.splice(n,0,e);break}n===t&&i.push(e)}r.updateURL&&r.updateURL()},forEach:function(e){for(var t,n=b(this).entries,r=c(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new L(this,"keys")},values:function(){return new L(this,"values")},entries:function(){return new L(this,"entries")}},{enumerable:!0}),i(R,m,R.entries),i(R,"toString",(function(){for(var e,t=b(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(O(e.key)+"="+O(e.value));return n.join("&")}),{enumerable:!0}),n(58003)(M,v),n(82109)({global:!0,forced:!r},{URLSearchParams:M}),e.exports={URLSearchParams:M,getState:b}},60285:function(e,t,n){"use strict";n(78783);var r,i=n(19781),o=n(590),a=n(17854).URL,s=n(36048),u=n(31320),l=n(25787),c=n(86656),d=n(21574),f=n(48457),p=n(95866),h=n(33611),m=n(41637),v=m.URLSearchParams,g=m.getState,y=n(29909),b=y.set,_=y.getterFor("URL"),w=Math.pow,k="Invalid scheme",E="Invalid host",x="Invalid port",S=/[a-zA-Z]/,T=/[a-zA-Z0-9+\-.]/,C=/\d/,A=/^(0x|0X)/,O=/^[0-7]+$/,N=/^\d+$/,P=/^[0-9A-Fa-f]+$/,I=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,L=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,M=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,R=/\u0009|\u000A|\u000D/g,D=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return E;if(!(n=j(t.slice(1,-1))))return E;e.host=n}else if(Y(e)){if(t=h(t),I.test(t))return E;if(null===(n=q(t)))return E;e.host=n}else{if(L.test(t))return E;for(n="",r=f(t),i=0;i<r.length;i++)n+=V(r[i],B);e.host=n}},q=function(e){var t,n,r,i,o,a,s,u=e.split(".");if(""==u[u.length-1]&&u.length&&u.pop(),(t=u.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=u[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=A.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?N:8==o?O:P).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=w(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*w(256,3-r);return s},j=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],l=0,c=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,c=++l}for(;f();){if(8==l)return;if(":"!=f()){for(t=n=0;n<4&&P.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,l>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!C.test(f()))return;for(;C.test(f());){if(o=parseInt(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}u[l]=256*u[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;u[l++]=t}else{if(null!==c)return;d++,c=++l}}if(null!==c)for(a=l-c,l=7;0!=l&&a>0;)s=u[l],u[l--]=u[c+a-1],u[c+--a]=s;else if(8!=l)return;return u},F=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=Math.floor(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},B={},U=d({},B,{" ":1,'"':1,"<":1,">":1,"`":1}),z=d({},U,{"#":1,"?":1,"{":1,"}":1}),H=d({},z,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),V=function(e,t){var n=p(e,0);return n>32&&n<127&&!c(t,e)?e:encodeURIComponent(e)},W={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},Y=function(e){return c(W,e.scheme)},G=function(e){return""!=e.username||""!=e.password},K=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},X=function(e,t){var n;return 2==e.length&&S.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},$=function(e){var t;return e.length>1&&X(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&X(t[0],!0)||t.pop()},Q=function(e){return"."===e||"%2e"===e.toLowerCase()},J={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ue={},le={},ce={},de={},fe={},pe={},he={},me={},ve={},ge={},ye={},be={},_e=function(e,t,n,i){var o,a,s,u,l,d=n||J,p=0,h="",m=!1,v=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(M,"")),t=t.replace(R,""),o=f(t);p<=o.length;){switch(a=o[p],d){case J:if(!a||!S.test(a)){if(n)return k;d=te;continue}h+=a.toLowerCase(),d=ee;break;case ee:if(a&&(T.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return k;h="",d=te,p=0;continue}if(n&&(Y(e)!=c(W,h)||"file"==h&&(G(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Y(e)&&W[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?d=fe:Y(e)&&i&&i.scheme==e.scheme?d=ne:Y(e)?d=ae:"/"==o[p+1]?(d=re,p++):(e.cannotBeABaseURL=!0,e.path.push(""),d=ge)}break;case te:if(!i||i.cannotBeABaseURL&&"#"!=a)return k;if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,d=be;break}d="file"==i.scheme?fe:ie;continue;case ne:if("/"!=a||"/"!=o[p+1]){d=ie;continue}d=se,p++;break;case re:if("/"==a){d=ue;break}d=ve;continue;case ie:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Y(e))d=oe;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",d=ye;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),d=ve;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",d=be}break;case oe:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,d=ve;continue}d=ue}else d=se;break;case ae:if(d=se,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case se:if("/"!=a&&"\\"!=a){d=ue;continue}break;case ue:if("@"==a){m&&(h="%40"+h),m=!0,s=f(h);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||g){var _=V(b,H);g?e.password+=_:e.username+=_}else g=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",d=le}else h+=a;break;case le:case ce:if(n&&"file"==e.scheme){d=he;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==h)return E;if(n&&""==h&&(G(e)||null!==e.port))return;if(u=D(e,h))return u;if(h="",d=me,n)return;continue}"["==a?v=!0:"]"==a&&(v=!1),h+=a}else{if(""==h)return E;if(u=D(e,h))return u;if(h="",d=de,n==ce)return}break;case de:if(!C.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return x;e.port=Y(e)&&w===W[e.scheme]?null:w,h=""}if(n)return;d=me;continue}return x}h+=a;break;case fe:if(e.scheme="file","/"==a||"\\"==a)d=pe;else{if(!i||"file"!=i.scheme){d=ve;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",d=ye;else{if("#"!=a){$(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),Z(e)),d=ve;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",d=be}}break;case pe:if("/"==a||"\\"==a){d=he;break}i&&"file"==i.scheme&&!$(o.slice(p).join(""))&&(X(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),d=ve;continue;case he:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&X(h))d=ve;else if(""==h){if(e.host="",n)return;d=me}else{if(u=D(e,h))return u;if("localhost"==e.host&&(e.host=""),n)return;h="",d=me}continue}h+=a;break;case me:if(Y(e)){if(d=ve,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(d=ve,"/"!=a))continue}else e.fragment="",d=be;else e.query="",d=ye;break;case ve:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(l=(l=h).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(Z(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):Q(h)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&X(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",d=ye):"#"==a&&(e.fragment="",d=be)}else h+=V(a,z);break;case ge:"?"==a?(e.query="",d=ye):"#"==a?(e.fragment="",d=be):a!=r&&(e.path[0]+=V(a,B));break;case ye:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,B)):(e.fragment="",d=be);break;case be:a!=r&&(e.fragment+=V(a,U))}p++}},we=function(e){var t,n,r=l(this,we,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=b(r,{type:"URL"});if(void 0!==o)if(o instanceof we)t=_(o);else if(n=_e(t={},String(o)))throw TypeError(n);if(n=_e(s,a,null,t))throw TypeError(n);var u=s.searchParams=new v,c=g(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},i||(r.href=Ee.call(r),r.origin=xe.call(r),r.protocol=Se.call(r),r.username=Te.call(r),r.password=Ce.call(r),r.host=Ae.call(r),r.hostname=Oe.call(r),r.port=Ne.call(r),r.pathname=Pe.call(r),r.search=Ie.call(r),r.searchParams=Le.call(r),r.hash=Me.call(r))},ke=we.prototype,Ee=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,u=e.fragment,l=t+":";return null!==i?(l+="//",G(e)&&(l+=n+(r?":"+r:"")+"@"),l+=F(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==u&&(l+="#"+u),l},xe=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+F(e.host)+(null!==n?":"+n:""):"null"},Se=function(){return _(this).scheme+":"},Te=function(){return _(this).username},Ce=function(){return _(this).password},Ae=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?F(t):F(t)+":"+n},Oe=function(){var e=_(this).host;return null===e?"":F(e)},Ne=function(){var e=_(this).port;return null===e?"":String(e)},Pe=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ie=function(){var e=_(this).query;return e?"?"+e:""},Le=function(){return _(this).searchParams},Me=function(){var e=_(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(ke,{href:Re(Ee,(function(e){var t=_(this),n=String(e),r=_e(t,n);if(r)throw TypeError(r);g(t.searchParams).updateSearchParams(t.query)})),origin:Re(xe),protocol:Re(Se,(function(e){var t=_(this);_e(t,String(e)+":",J)})),username:Re(Te,(function(e){var t=_(this),n=f(String(e));if(!K(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=V(n[r],H)}})),password:Re(Ce,(function(e){var t=_(this),n=f(String(e));if(!K(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=V(n[r],H)}})),host:Re(Ae,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),le)})),hostname:Re(Oe,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),ce)})),port:Re(Ne,(function(e){var t=_(this);K(t)||(""==(e=String(e))?t.port=null:_e(t,e,de))})),pathname:Re(Pe,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],_e(t,e+"",me))})),search:Re(Ie,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",_e(t,e,ye)),g(t.searchParams).updateSearchParams(t.query)})),searchParams:Re(Le),hash:Re(Me,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,be)):t.fragment=null}))}),u(ke,"toJSON",(function(){return Ee.call(this)}),{enumerable:!0}),u(ke,"toString",(function(){return Ee.call(this)}),{enumerable:!0}),a){var De=a.createObjectURL,qe=a.revokeObjectURL;De&&u(we,"createObjectURL",(function(e){return De.apply(a,arguments)})),qe&&u(we,"revokeObjectURL",(function(e){return qe.apply(a,arguments)}))}n(58003)(we,"URL"),n(82109)({global:!0,forced:!o,sham:!i},{URL:we})},83753:function(e,t,n){"use strict";n(82109)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},3362:function(e,t,n){var r=n(13621),i=n(37729),o=n(3724),a=n(15408).type("Any"),s=n(15408).typeFn(a(),2),u=n(84863),l=n(37356),c=n(36352),d=n(49439),f=function(){return p(!1)};function p(e){var t,n=c(e)?f().valueOf():e;if(!arguments.length||l(n))throw new TypeError("Any: Non-function value required");var r=function(){return!!n},h=f,m=function(){return"Any"+i(r())},v=function(e){return d(p,e)&&o(n,e.valueOf())};function g(e){return function(t){if(!d(p,t))throw new TypeError("Any."+e+": Any required");return p(t.valueOf()||r())}}return(t={inspect:m,toString:m,equals:v,valueOf:r,type:a,empty:h})["@@type"]=s,t.concat=g("concat"),t[u.equals]=v,t[u.concat]=g(u.concat),t[u.empty]=h,t.constructor=p,t}p["@@implements"]=r(["equals","concat","empty"]),p.empty=f,p.type=a,p[u.empty]=f,p["@@type"]=s,e.exports=p},94066:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("Async"),a=n(15408).typeFn(o(),5),s=n(84863),u=n(42319),l=n(89064),c=n(21825),d=n(49177),f=n(33385),p=n(34798),h=n(37356),m=n(65224),v=n(79753),g=n(49439),y=function(e){return b((function(t,n){return n(e)}))};function b(e){var t;if(!h(e))throw new TypeError("Async: Function required");var n=y,r=function(){return"Async"+i(e)};function u(t,n,r){if(!h(t)||!h(n))throw new TypeError("Async.fork: Reject and resolve functions required");var i=!1,o=!1,a=h(r)?r:d,s=function(e,t){if(!o)return o=!0,i?d():e(t)},u=e(s.bind(null,t),s.bind(null,n)),l=h(u)?u:d;return c((function(){return a((l(),void(i=!0)))}))}function f(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Function required");return b((function(e,n){return u(e,l(n,t))}))}}function p(e){return function(t,n){if(!h(t)||!h(n))throw new TypeError("Async."+e+": Functions required for both arguments");return b((function(e,r){return u(l(e,t),l(r,n))}))}}function m(e){return function(t){if(!g(b,t))throw new TypeError("Async."+e+": Async required");return b((function(e,n){var r=d,i=d;return r=u((function(){i=t.fork(e,n)}),n),c((function(){return i(r())}))}))}}function v(e){return function(t){if(!h(t))throw new TypeError("Async."+e+": Async returning function required");return b((function(n,r){var i=d,o=d;return i=u(n,(function(i){var a=t(i);if(!g(b,a))throw new TypeError("Async."+e+": Function must return another Async");o=a.fork(n,r)})),c((function(){return o(i())}))}))}}return(t={fork:u,toPromise:function(){return new Promise((function(e,t){u(t,e)}))},inspect:r,toString:r,type:o,swap:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.swap: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=c((function(e,r){return e?n(r):t(r)})),i=r.bind(null,!0),o=r.bind(null,!1),a=u(o,i),s=e.fork(o,i);return function(){a(),s()}}))},coalesce:function(e,t){if(!h(e)||!h(t))throw new TypeError("Async.coalesce: Functions required for both arguments");return b((function(n,r){return u(l(r,e),l(r,t))}))},ap:function(e){if(!g(b,e))throw new TypeError("Async.ap: Async required");return b((function(t,n){var r=null,i=null,o=!1,a=!1,s=!1,d=c(t);function f(){!s&&o&&a&&l(n,r)(i)}var p=u(d,(function(e){if(!h(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,f()})),m=e.fork(d,(function(e){a=!0,i=e,f()}));return function(){p(),m(),s=!0}}))},of:n,alt:m("alt"),bimap:p("bimap"),map:f("map"),chain:v("chain"),bichain:function(e,t){var n="Async.bichain: Both arguments must be Async returning functions";if(!h(e)||!h(t))throw new TypeError(n);return b((function(r,i){var o=d,a=d;function s(e){return function(t){var o=e(t);if(!g(b,o))throw new TypeError(n);a=o.fork(r,i)}}return o=u(s(e),s(t)),c((function(){return a(o())}))}))}})[s.of]=n,t[s.alt]=m(s.alt),t[s.bimap]=p(s.bimap),t[s.map]=f(s.map),t[s.chain]=v(s.chain),t["@@type"]=a,t.constructor=b,t}b.of=y,b.type=o,b[s.of]=y,b["@@type"]=a,b.Rejected=function(e){return b((function(t){return t(e)}))},b.Resolved=y,b.fromPromise=function(e){if(!h(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return b((function(n,r){var i=e.apply(null,t);if(!v(i))throw new TypeError("Async.fromPromise: Promise returning function required");i.then(r,n)}))}},b.fromNode=function(e,t){if(!h(e))throw new TypeError("Async.fromNode: CPS function required");return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return b((function(r,i){e.apply(t,n.concat((function(e,t){return e?r(e):i(t)})))}))}},b.all=function(e){if(!p(e)||!e.reduce((function(e,t){return e&&g(b,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return f(e)?u.sequence(b.of,e):e.sequence(b.of)},b.rejectAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return b((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},b.resolveAfter=function(e,t){if(!(m(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return b((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},b["@@implements"]=r(["alt","ap","bimap","chain","map","of"]),e.exports=b},19716:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("IO"),a=n(15408).typeFn(o(),2),s=n(84863),u=n(89064),l=n(37356),c=n(49439),d=function(e){return f((function(){return e}))};function f(e){var t;if(!l(e))throw new TypeError("IO: Must wrap a function");var n=d,r=function(){return"IO"+i(e)};function p(t){return function(n){if(!l(n))throw new TypeError("IO."+t+": Function required");return f(u(n,e))}}function h(t){return function(n){if(!l(n))throw new TypeError("IO."+t+": Function required");return f((function(){var r=n(e());if(!c(f,r))throw new TypeError("IO."+t+": Function must return an IO");return r.run()}))}}return(t={inspect:r,toString:r,run:e,type:o,ap:function(t){if(!c(f,t))throw new TypeError("IO.ap: IO required");return f((function(){var n=e();if(!l(n))throw new TypeError("IO.ap: Wrapped value must be a function");return t.map(n).run()}))},of:n,map:p("map"),chain:h("chain")})[s.of]=n,t[s.map]=p(s.map),t[s.chain]=h(s.chain),t["@@type"]=a,t.constructor=f,t}f.of=d,f.type=o,f[s.of]=d,f["@@type"]=a,f["@@implements"]=r(["ap","chain","map","of"]),e.exports=f},72956:function(e,t,n){var r=n(78310),i=r.Nothing,o=r.Just,a=n(81097),s=n(87201),u=n(89339);e.exports=s((function(e,t){if(!u(e))throw new TypeError("safe: Pred or predicate function required for first argument");return a(e,t)?o(t):i()}))},83023:function(e,t,n){var r=n(89064),i=n(87201),o=n(89339),a=n(37356),s=n(72956);e.exports=i((function(e,t){if(!o(e))throw new TypeError("safeLift: Pred or predicate function required for first argument");if(!a(t))throw new TypeError("safeLift: Function required for second argument");return r(function(e){return function(t){return t.map(e)}}(t),s(e))}))},68621:function(e,t,n){var r=n(14917),i=n(87201),o=n(60280),a=n(37356),s=n(49439),u=n(92715);e.exports=i((function(e,t){if(a(e)&&a(t))return function(n){return r(e(n),t(n))};if(s(n=e,t)&&u(n)&&o(n)&&a(n.first)&&a(n.second))return e.first().compose(t.second()).contramap((function(e){return r(e,e)}));var n;throw new TypeError("fanout: Arrows, Functions or Stars of the same type required for both arguments")}))},56169:function(e,t,n){e.exports=n(5655)},98038:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!i(t))throw new TypeError("applyTo: Function required for second argument");return t(e)}))},23385:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n,o){if(!i(e)||!i(t)||!i(n))throw new TypeError("converge: Functions required for first three arguments");return r(e)(t(o),n(o))}))},9730:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n){if(!i(e))throw new TypeError("flip: Function required for first argument");return r(e)(n,t)}))},60740:function(e){e.exports=function(e){return e}},47088:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t,n){if(!i(e)||!i(t))throw new TypeError("substitution: Functions required for first two arguments");return r(e)(n,t(n))}))},78310:function(e,t,n){var r=n(55841),i=n(3724),o=n(13621),a=n(41519),s=n(37729),u=n(15408).type("Maybe"),l=n(15408).typeFn(u(),4),c=n(84863),d=n(68534),f=n(89064),p=n(38142),h=n(15909),m=n(33385),v=n(37356),g=n(49439),y=function(e){return function(){return e}},b=function(e){return e},_=r({Nothing:[],Just:["a"]}),w=_.Nothing,k=_.Just;T.Nothing=f(T,w),T.Just=f(T,k);var E=f(T,k),x=f(T,w);function S(e){if(!h(e)&&!m(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(E)}function T(e){var t;if(!arguments.length)throw new TypeError("Maybe: Must wrap something, try using Nothing or Just constructors");var n=_.includes(e)?e:k(e),r=E,o=x,w=function(e){return O(y(e),b)},C=function(e){return g(T,e)&&O(y(e.either(y(!0),y(!1))),(function(t){return e.either(y(!1),(function(e){return i(e,t)}))}))},A=function(){return O(y("Nothing"),(function(e){return"Just"+s(e)}))};function O(e,t){if(!v(e)||!v(t))throw new TypeError("Maybe.either: Requires both left and right functions");return _.caseOf({Nothing:e,Just:t},n)}function N(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe of Semigroup required");return O(T.Nothing,a("Maybe."+e,t))}}function P(e,t){if(!v(e)||!v(t))throw new TypeError("Maybe.coalesce: Requires both left and right functions");return T.Just(O(e,t))}function I(e,t){var n="Maybe.bichain: Both arguments must be Maybe returning functions";if(!v(e)||!v(t))throw new TypeError(n);var r=O(e,t);if(!g(T,r))throw new TypeError(n);return r}function L(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");return O(T.Nothing,f(T.Just,t))}}function M(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe required");return O(y(t),T.Just)}}function R(e){var t=w(y(void 0));if(!v(t))throw new TypeError("Maybe.ap: Wrapped value must be a function");if(!g(T,e))throw new TypeError("Maybe.ap: Maybe required");return O(T.Nothing,e.map)}function D(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");var n=O(T.Nothing,t);if(!g(T,n))throw new TypeError("Maybe."+e+": Function must return a Maybe");return n}}function q(e){if(!p(e)&&!v(e))throw new TypeError("Maybe.sequence: Applicative TypeRep or Apply returning function required");var t=d(e);return O(f(t,T.Nothing),S)}function j(e,t){if(!p(e)&&!v(e))throw new TypeError("Maybe.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!v(t))throw new TypeError("Maybe.traverse: Apply returning function required for second argument");var n=d(e),r=O(f(n,T.Nothing),t);if(!h(r)&&!m(r))throw new TypeError("Maybe.traverse: Both functions must return an Apply of the same type");return O(y(r),y(r.map(E)))}return(t={inspect:A,toString:A,either:O,option:w,type:u,equals:C,bichain:I,coalesce:P,zero:o,ap:R,of:r,sequence:q,traverse:j,alt:M("alt"),chain:D("chain"),concat:N("concat"),map:L("map")})[c.zero]=o,t[c.of]=r,t[c.equals]=C,t[c.alt]=M(c.alt),t[c.concat]=N(c.concat),t[c.map]=L(c.map),t[c.chain]=D(c.chain),t["@@type"]=l,t.constructor=T,t}T.of=E,T.zero=x,T.type=u,T[c.of]=E,T[c.zero]=x,T["@@type"]=l,T["@@implements"]=o(["alt","ap","chain","concat","equals","map","of","traverse","zero"]),e.exports=T},14917:function(e,t,n){var r=n(3724),i=n(13621),o=n(37729),a=n(15408).type("Pair"),s=n(15408).typeFn(a(),4),u=n(84863),l=n(38142),c=n(15909),d=n(33385),f=n(37356),p=n(49439),h=n(32105);function m(e,t){var n;if(arguments.length<2)throw new TypeError("Pair: Must provide a first and second value");var i=function(){return e},v=function(){return t},g=function(){return"Pair("+o(e)+","+o(t)+" )"},y=function(){return[e,t]};function b(e){if(!f(e))throw new TypeError("Pair.merge: Binary function required");return e(i(),v())}function _(e){return p(m,e)&&r(e.fst(),i())&&r(e.snd(),v())}function w(e){return function(t){if(!p(m,t))throw new TypeError("Pair."+e+": Pair required");var n=i(),r=v(),o=t.fst(),a=t.snd();if(!h(n)||!h(r))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");if(!p(n,o)||!p(r,a))throw new TypeError("Pair."+e+": Both Pairs must contain Semigroups of the same type");return m(n.concat(o),r.concat(a))}}function k(n,r){if(!f(n)||!f(r))throw new TypeError("Pair.swap: Requires both left and right functions");return m(r(t),n(e))}function E(n){return function(r){if(!f(r))throw new TypeError("Pair."+n+": Function required");return m(e,r(t))}}function x(n){return function(r,i){if(!f(r)||!f(i))throw new TypeError("Pair."+n+": Function required for both arguments");return m(r(e),i(t))}}function S(e){if(!p(m,e))throw new TypeError("Pair.ap: Pair required");var t=v();if(!f(t))throw new TypeError("Pair.ap: Function required for second value");var n=i(),r=e.fst();if(!h(n)||!p(n,r))throw new TypeError("Pair.ap: Semigroups of the same type is required for first values");return m(n.concat(r),t(e.snd()))}function T(e){return function(t){var n=i();if(!f(t))throw new TypeError("Pair."+e+": Function required");if(!h(n))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");var r=t(v());if(!p(m,r))throw new TypeError("Pair."+e+": Function must return a Pair");var o=r.fst();if(!p(n,o))throw new TypeError("Pair."+e+": Semigroups of the same type required for first values");return m(n.concat(o),r.snd())}}function C(n){if(!l(n)&&!f(n))throw new TypeError("Pair.sequence: Applicative TypeRep or Apply returning function required");if(!c(t)&&!d(t))throw new TypeError("Pair.sequence: Must wrap an Apply in the second");return t.map((function(t){return m(e,t)}))}function A(n,r){if(!l(n)&&!f(n))throw new TypeError("Pair.traverse: Applicative TypeRep or Apply returning function required for first argument");if(!f(r))throw new TypeError("Pair.traverse: Apply returning function required for second argument");var i=r(t);if(!c(i)&&!d(i))throw new TypeError("Pair.traverse: Both functions must return an Apply of the same type");return i.map((function(t){return m(e,t)}))}function O(n){return function(r){if(!f(r))throw new TypeError("Pair."+n+": Function required");return m(e,r(m(e,t)))}}return(n={inspect:g,toString:g,fst:i,snd:v,toArray:y,type:a,merge:b,equals:_,swap:k,ap:S,sequence:C,traverse:A,concat:w("concat"),map:E("map"),bimap:x("bimap"),chain:T("chain"),extend:O("extend")})[u.equals]=_,n[u.concat]=w(u.concat),n[u.map]=E(u.map),n[u.bimap]=x(u.bimap),n[u.chain]=T(u.chain),n[u.extend]=O(u.extend),n["@@type"]=s,n.constructor=m,n}m.type=a,m["@@type"]=s,m["@@implements"]=i(["ap","bimap","chain","concat","extend","equals","map","traverse"]),e.exports=m},5655:function(e,t,n){var r=n(13621),i=n(37729),o=n(15408).type("Pred"),a=n(15408).typeFn(o(),2),s=n(84863),u=n(89064),l=n(37356),c=n(49439),d=function(){return f((function(){return!0}))};function f(e){var t;if(!l(e))throw new TypeError("Pred: Predicate function required");var n=function(t){return!!e(t)},r=function(){return"Pred"+i(n)},p=d;function h(e){return function(t){if(!c(f,t))throw new TypeError("Pred."+e+": Pred required");return f((function(e){return!!n(e)&&!!t.runWith(e)}))}}function m(e){return function(t){if(!l(t))throw new TypeError("Pred."+e+": Function required");return f(u(n,t))}}return(t={inspect:r,toString:r,runWith:n,type:o,valueOf:function(){return n},empty:p,concat:h("concat"),contramap:m("contramap")})[s.empty]=p,t[s.concat]=h(s.concat),t[s.contramap]=m(s.contramap),t["@@type"]=a,t.constructor=f,t}f.empty=d,f.type=o,f[s.empty]=d,f["@@type"]=a,f["@@implements"]=r(["concat","contramap","empty"]),e.exports=f},49177:function(e){e.exports=Function.prototype},68534:function(e,t,n){var r=n(38142),i=n(55881);e.exports=function(e){return function(t){return r(e)?e.of(t):i(Array,e)?[t]:e(t)}}},42319:function(e,t,n){var r=n(15909),i=n(33385),o=n(84926),a=n(37356),s=n(49439),u=n(32105),l=n(68534),c=function(e){return e},d=function(e){return function(t){return e.concat(t)}};function f(e,t){return function(n,o){var a=t(o);if(!r(n)&&!i(n)||!s(n,a))throw new TypeError("Array."+e+": Must wrap Applys of the same type");return i(a)?h(n,p((function(e){return d([e])}),a)):a.map((function(e){return d([e])})).ap(n)}}var p=function(e,t){return t.map((function(t){return e(t)}))};function h(e,t){if(!t.length||!t.reduce((function(e,t){return e&&a(t)}),!0))throw new TypeError("Array.ap: Second Array must all be functions");return t.reduce((function(t,n){return t.concat(p(n,e))}),[])}e.exports={ap:h,chain:function(e,t){return t.reduce((function(t,n){var r=e(n);if(!i(r))throw new TypeError("Array.chain: Function must return an Array");return t.concat(r)}),[])},fold:function(e){if(o(e))throw new TypeError("Array.fold: Non-empty Array of Semigroups required");var t=e[0];if(!u(t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.reduce((function(e,t){if(!s(e,t))throw new TypeError("Array.fold: Must contain Semigroups of the same type");return e.concat(t)}))},foldMap:function(e,t){if(o(t))throw new TypeError("Array.foldMap: Non-empty Array required");var n=e(t[0]);if(!u(n))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return 1===t.length?n:t.slice(1).reduce((function(t,n){var r=e(n);if(!s(t,r)||!u(r))throw new TypeError("Array.foldMap: Provided function must return Semigroups of the same type");return t.concat(r)}),n)},map:p,sequence:function(e,t){var n=l(e);return t.reduceRight(f("sequence",c),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=l(e);return n.reduceRight(f("traverse",t),r([]))},unset:function(e,t){return t.slice(0,e).concat(t.slice(e+1))}}},89064:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},87201:function(e,t,n){var r=n(37356),i="@@crocks/curried";function o(e,t){return r(e)?e.length>1?e.bind(null,t):e.call(null,t):e}e.exports=function e(t){if(t[i])return t;function n(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var a=n.length?n:[void 0];if(a.length<t.length)return e(Function.bind.apply(t,[null].concat(a)));var s=a.length===t.length?t.apply(null,a):a.reduce(o,t);return r(s)?e(s):s}return Object.defineProperty(n,i,{enumerable:!1,writable:!1,value:!0}),n}},55841:function(e,t,n){var r=n(87201),i=n(33385),o=n(84926),a=n(37356),s=n(77531),u=n(84340),l=function(e){return function(){return e}};function c(e){return function(t,n){var r=n.tag,i=e[r()].reduce((function(e,t){return e.concat([n[t].value()])}),[]);return t[r()].apply(null,i)}}var d=function(e){return function(t){return!!t&&a(t.tag)&&-1!==Object.keys(e).indexOf(t.tag())}};e.exports=function(e){if(!s(e)||o(e))throw new TypeError("defineUnion: Argument must be an Object containing definition lists");return Object.keys(e).reduce((function(t,n){var r=e[n];if(!i(r)||!r.reduce((function(e,t){return e&&function(e){return u(e)&&e.length}(t)}),!0))throw new TypeError("defineUnion: Definitions must be a list of non-empty string identifiers");return t[n]=function(e,t){return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return e.reduce((function(e,t,r){return e[t]={value:l(n[r])},e}),{tag:l(t)})}}(r,n),t}),{caseOf:r(c(e)),includes:r(d(e))})}},3724:function(e,t,n){var r=n(49439),i=n(64803),o=n(4828),a=n(66130),s=n(84863),u=function(e,t){return e.valueOf()===t.valueOf()},l={Array:function(e,t){return e.length===t.length&&c(e,t)},Date:function(e,t){return i(e.valueOf(),t.valueOf())},Error:function(e,t){return e.name===t.name&&e.message===t.message},Object:function(e,t){return Object.keys(e).length===Object.keys(t).length&&c(e,t)},RegExp:function(e,t){return e.source===t.source&&e.ignoreCase===t.ignoreCase&&e.global===t.global&&e.multiline===t.multiline&&e.unicode===t.unicode}};function c(e,t){for(var n in e)if(!d(e[n],t[n]))return!1;return!0}function d(e,t){return!!i(e,t)||!!r(e,t)&&(o("equals",e)?(t[s.equals]||t.equals).call(t,e):(l[a(e)]||u)(e,t))}e.exports=d},84863:function(e){e.exports={alt:"fantasy-land/alt",bimap:"fantasy-land/bimap",chain:"fantasy-land/chain",compose:"fantasy-land/compose",concat:"fantasy-land/concat",contramap:"fantasy-land/contramap",empty:"fantasy-land/empty",equals:"fantasy-land/equals",extend:"fantasy-land/extend",filter:"fantasy-land/filter",id:"fantasy-land/id",map:"fantasy-land/map",of:"fantasy-land/of",promap:"fantasy-land/promap",reduce:"fantasy-land/reduce",zero:"fantasy-land/zero"}},4828:function(e,t,n){var r=n(37356),i=n(84863);e.exports=function(e,t){return!!t&&(function(e,t){return r(t[i[e]])||r(t[e])}(e,t)||function(e,t){return r(t["@@implements"])&&!!t["@@implements"](e)}(e,t))}},13621:function(e){e.exports=function(e){return function(t){return-1!==e.indexOf(t)}}},41519:function(e,t,n){var r=n(49439),i=n(32105);e.exports=function(e,t){return function(n){if(!i(n))throw new TypeError(e+": Both containers must contain Semigroups of the same type");return t.map((function(t){if(!r(n,t))throw new TypeError(e+": Both containers must contain Semigroups of the same type");return n.concat(t)}))}}},37729:function(e,t,n){var r=n(33385),i=n(37356),o=n(77531),a=n(84340),s=n(22296),u=n(10757);function l(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(l).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+l(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=l},38142:function(e,t,n){var r=n(4828),i=n(15909);e.exports=function(e){return i(e)&&(r("of",e)||r("of",e.constructor))}},15909:function(e,t,n){var r=n(4828),i=n(13264);e.exports=function(e){return i(e)&&r("ap",e)}},33385:function(e){e.exports=function(e){return Array.isArray(e)}},83317:function(e,t,n){var r=n(4828),i=n(13264);e.exports=function(e){return i(e)&&r("bimap",e)}},47455:function(e,t,n){var r=n(4828),i=n(15909);e.exports=function(e){return i(e)&&r("chain",e)}},60280:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("contramap",e)}},10757:function(e){e.exports=function(e){return"[object Date]"===Object.prototype.toString.apply(e)&&!isNaN(e.valueOf())}},84926:function(e,t,n){var r=n(77531),i=n(52803),o=n(3724),a=n(84863);e.exports=function(e){if(i(e)){var t=e.constructor[a.empty]||e.constructor.empty||e.empty;return o(e,t())}return r(e)?!Object.keys(e).length:!e||void 0===e.length||!e.length}},34798:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("reduce",e)}},37356:function(e){e.exports=function(e){return"function"==typeof e}},13264:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("map",e)}},65224:function(e,t,n){var r=n(19724);e.exports=function(e){return r(e)&&isFinite(e)&&Math.floor(e)===e}},52803:function(e,t,n){var r=n(4828),i=n(32105);e.exports=function(e){return i(e)&&(r("empty",e)||r("empty",e.constructor))}},36352:function(e){e.exports=function(e){return null==e||e!=e}},19724:function(e){e.exports=function(e){return"number"==typeof e&&!isNaN(e)}},77531:function(e){var t=Object.prototype.toString;e.exports=function(e){return!!e&&"[object Object]"===t.call(e)}},89339:function(e,t,n){var r=n(15408).proxy("Pred"),i=n(37356),o=n(49439);e.exports=function(e){return i(e)||o(r,e)}},79753:function(e,t,n){var r=n(37356);e.exports=function(e){return!!e&&r(e.then)&&r(e.catch)}},64803:function(e){e.exports=function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},49439:function(e,t,n){var r=n(87201),i=n(37356),o=n(66130);e.exports=r((function(e,t){var n=o(e),r=o(t);return n===r||i(e)&&e.name===r||i(t)&&t.name===n}))},32105:function(e,t,n){var r=n(84340),i=n(4828);e.exports=function(e){return r(e)||!!e&&i("concat",e)}},92715:function(e,t,n){var r=n(4828);e.exports=function(e){return!!e&&r("compose",e)}},84340:function(e){e.exports=function(e){return"string"==typeof e}},22296:function(e){e.exports=function(e){return"symbol"==typeof e}},55881:function(e,t,n){var r=n(37356);e.exports=function(e,t){return r(t)&&(e===t||e.name===t.name)}},32271:function(e,t,n){var r=n(89064);e.exports=function(e,t,n){return n.reduce((i=r(e,t),function(e,t){return e.concat(i(t))}),e.empty());var i}},50694:function(e){function t(e){return function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t}}function n(e,n){var r=Object.keys(n).reduce(t(n),{});return Object.keys(e).reduce(t(e),r)}e.exports={assign:n,filter:function(e,t){return Object.keys(t).reduce((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{})},map:function(e,t){return Object.keys(t).reduce((function(n,r){return n[r]=e(t[r]),n}),{})},set:function(e,t,r){var i;return n(((i={})[e]=t,i),r)},unset:function(e,t){return Object.keys(t).reduce((function(n,r){return void 0!==t[r]&&r!==e&&(n[r]=t[r]),n}),{})}}},21825:function(e){e.exports=function(e){var t,n;return function(){return t||(t=!0,n=e.apply(null,arguments)),n}}},81097:function(e,t,n){var r=n(37356);e.exports=function(e,t){return r(e)?e(t):e.runWith(t)}},66130:function(e,t,n){var r=n(37356);e.exports=function(e){return e&&r(e.type)?e.type():{}.toString.call(e).slice(8,-1)}},15408:function(e){var t={unk:function(){return"unknown"},All:function(){return"All"},Any:function(){return"Any"},Arrow:function(){return"Arrow"},Assign:function(){return"Assign"},Async:function(){return"Async"},Const:function(e){return"Const("+e+")"},Either:function(){return"Either"},Endo:function(){return"Endo"},Equiv:function(){return"Equiv"},First:function(){return"First"},Identity:function(){return"Identity"},IO:function(){return"IO"},Last:function(){return"Last"},List:function(){return"List"},Max:function(){return"Max"},Maybe:function(){return"Maybe"},Min:function(){return"Min"},Pair:function(){return"Pair"},Pred:function(){return"Pred"},Prod:function(){return"Prod"},Reader:function(){return"Reader"},Result:function(){return"Result"},Star:function(){return"Star"},State:function(){return"State"},Sum:function(){return"Sum"},Tuple:function(e){return e+"-Tuple"},Unit:function(){return"Unit"},Writer:function(){return"Writer"}},n=function(e){return t[e]||t.unk};e.exports={proxy:function(e,t){return{type:function(){return n(e)(t)}}},type:n,typeFn:function(e,t,r){return"crocks/"+n(e)(r)+"@"+(t||0)}}},92373:function(e,t,n){var r=n(87201),i=n(77531),o=n(50694);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("assign: Objects required for both arguments");return o.assign(e,t)}))},16896:function(e,t,n){var r=n(94709);e.exports=r.origFn("assoc")},30269:function(e,t,n){var r=n(37356),i="compose: Functions required";function o(e,t){if(!r(t))throw new TypeError(i);return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];return t.call(null,e.apply(null,n))}}e.exports=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(!arguments.length)throw new TypeError(i);var n=e.slice().reverse(),a=n[0];if(!r(a))throw new TypeError(i);var s=n.slice(1).concat((function(e){return e}));return s.reduce(o,a)}},32207:function(e,t,n){var r=n(87201),i=n(37356);e.exports=function(e){if(!i(e))throw new TypeError("curry: Function required");return r(e)}},54547:function(e,t,n){var r=n(87201),i=n(34798),o=n(37356),a=n(52803),s=n(32271);e.exports=r((function(e,t,n){if(!a(e))throw new TypeError("mreduceMap: Monoid required for first argument");if(!o(t))throw new TypeError("mreduceMap: Function required for second argument");if(!i(n))throw new TypeError("mreduceMap: Foldable required for third argument");return s(e,t,n).valueOf()}))},74646:function(e,t,n){var r=n(87201),i=n(34798),o=n(77531);e.exports=r((function(e,t){if(!i(e))throw new TypeError("omit: Foldable required for first argument");if(!o(t))throw new TypeError("omit: Object required for second argument");return Object.keys(t).reduce(function(e,t){return function(n,r){var i;return-1===e.indexOf(r)&&void 0!==t[r]?Object.assign(n,((i={})[r]=t[r],i)):n}}(e,t),{})}))},94709:function(e,t,n){var r=n(87201),i=n(33385),o=n(65224),a=n(77531),s=n(84340),u=n(42319),l=n(50694);function c(e){return r((function(t,n,r){if(a(r)){if(s(t))return l.set(t,n,r);throw new TypeError(e+": String required for first argument when third argument is an Object")}if(i(r)){if(o(t)&&t>=0)return u.set(t,n,r);throw new TypeError(e+": Positive Integer required for first argument when third argument is an Array")}throw new TypeError(e+": Object or Array required for third argument")}))}var d=c("setProp");d.origFn=c,e.exports=d},55130:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("and: Preds or predicate functions required for first two arguments");return function(n){return!(!o(e,n)||!o(t,n))}}))},99325:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e))throw new TypeError("not: Pred or predicate function required for first argument");return!o(e,t)}))},79963:function(e,t,n){var r=n(87201),i=n(89339),o=n(81097);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("or: Preds or predicate functions required for first two arguments");return function(n){return!(!o(e,n)&&!o(t,n))}}))},99993:function(e,t,n){var r=n(87201),i=n(83317),o=n(37356),a=n(84863);e.exports=r((function(e,t,n){if(!o(e)||!o(t))throw new TypeError("bimap: Functions required for first two arguments");if(!i(n))throw new TypeError("bimap: Bifunctor required for third argument");return(n[a.bimap]||n.bimap).call(n,e,t)}))},85745:function(e,t,n){var r=n(42319).chain,i=n(87201),o=n(33385),a=n(47455),s=n(37356),u=n(84863);e.exports=i((function(e,t){if(!s(e))throw new TypeError("chain: Chain returning function required for first argument");if(!a(t)&&!o(t))throw new TypeError("chain: Chain of the same type required for second argument");return o(t)?r(e,t):(t[u.chain]||t.chain).call(t,e)}))},46164:function(e,t,n){var r=n(87201),i=n(49439),o=n(32105),a=n(84863);e.exports=r((function(e,t){if(!o(t)||!i(e,t))throw new TypeError("concat: Semigroups of the same type required for both arguments");return(t[a.concat]||t.concat).call(t,e)}))},69879:function(e,t,n){var r=n(89064),i=n(87201),o=n(37356),a=n(60280),s=n(84863);e.exports=i((function(e,t){if(!o(e))throw new TypeError("contramap: Function required for first argument");if(o(t))return r(t,e);if(a(t))return(t[s.contramap]||t.contramap).call(t,e);throw new TypeError("contramap: Function or Contavariant Functor of the same type required for second argument")}))},33796:function(e,t,n){var r=n(89064),i=n(87201),o=n(33385),a=n(77531),s=n(37356),u=n(13264),l=n(42319),c=n(50694),d=n(84863);e.exports=i((function(e,t){if(!s(e))throw new TypeError("map: Function required for first argument");if(s(t))return r(e,t);if(o(t))return l.map(e,t);if(t&&u(t))return(t[d.map]||t.map).call(t,e);if(a(t))return c.map(e,t);throw new TypeError("map: Object, Function or Functor of the same type required for second argument")}))},4549:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!i(e))throw new TypeError("merge: Function required for first argument");if(!t||!i(t.merge))throw new TypeError("merge: Pair or Tuple required for second argument");return t.merge(e)}))},52788:function(e,t,n){var r=n(87201),i=n(37356);e.exports=r((function(e,t){if(!t||!i(t.option))throw new TypeError("option: Last argument must be a Maybe, First or Last");return t.option(e)}))},9386:function(e,t,n){var r=n(87201),i=n(34798),o=n(37356),a=n(84863);e.exports=r((function(e,t,n){if(!o(e))throw new TypeError("reduce: Function required for first argument");if(!i(n))throw new TypeError("reduce: Foldable required for third argument");return(n[a.reduce]||n.reduce).call(n,e,t)}))},93530:function(e,t,n){e.exports=n(33385)},53485:function(e,t,n){e.exports=n(84926)},7578:function(e,t,n){e.exports=n(37356)},99062:function(e,t,n){e.exports=n(36352)},59837:function(e,t,n){e.exports=n(19724)},27632:function(e,t,n){e.exports=n(77531)},47392:function(e,t,n){e.exports=n(84340)},9449:function(e){!function(t){"use strict";var n=0,r=Math.pow(36,4),i=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},o=function(){return i((Math.random()*r<<0).toString(36),4)},a=function(){return n=n<r?n:0,++n-1},s=function(){var e=(new Date).getTime().toString(36),t=s.fingerprint(),n=o()+o();return"c"+e+i(a().toString(36),4)+t+n};s.slug=function(){var e,t=(new Date).getTime().toString(36),n=s.fingerprint().slice(0,1)+s.fingerprint().slice(-1),r=o().slice(-2);return e=a().toString(36).slice(-4),t.slice(-2)+e+n+r},s.globalCount=function(){var e=function(){var e,t=0;for(e in window)t++;return t}();return s.globalCount=function(){return e},e},s.fingerprint=function(){return i((navigator.mimeTypes.length+navigator.userAgent.length).toString(36)+s.globalCount().toString(36),4)},t.register?t.register("cuid",s):e.exports=s}(this.applitude||this)},46138:function(e,t,n){var r=n(53850),i=n(33661),o=n(69933);o.elementNames.__proto__=null,o.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},u=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",i=0;i<e.length;i++){var o=e[i];"root"===o.type?n+=u(o.children,t):r.isTag(o)?n+=c(o,t):o.type===r.Directive?n+=d(o):o.type===r.Comment?n+=h(o):o.type===r.CDATA?n+=p(o):n+=f(o,t)}return n},l=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function c(e,t){"foreign"===t.xmlMode&&(e.name=o.elementNames[e.name]||e.name,e.parent&&l.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var n="<"+e.name,r=function(e,t){if(e){var n,r="";for(var a in e)n=e[a],r&&(r+=" "),"foreign"===t.xmlMode&&(a=o.attributeNames[a]||a),r+=a,(null!==n&&""!==n||t.xmlMode)&&(r+='="'+(t.decodeEntities?i.encodeXML(n):n.replace(/\"/g,"&quot;"))+'"');return r}}(e.attribs,t);return r&&(n+=" "+r),!t.xmlMode||e.children&&0!==e.children.length?(n+=">",e.children&&(n+=u(e.children,t)),s[e.name]&&!t.xmlMode||(n+="</"+e.name+">")):n+="/>",n}function d(e){return"<"+e.data+">"}function f(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(n=i.encodeXML(n)),n}function p(e){return"<![CDATA["+e.children[0].data+"]]>"}function h(e){return"\x3c!--"+e.data+"--\x3e"}},53850:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isTag=function(e){return"tag"===e.type||"script"===e.type||"style"===e.type},t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"},10901: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});var i=r(n(91363)),o=r(n(28611)),a=r(n(94204)),s=r(n(66312));function u(e){var t=Object.keys(e).join("|"),n=c(e),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(e){return String(e).replace(r,n)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(i.default);var l=function(e,t){return e<t?1:-1};function c(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.decodeHTML=function(){for(var e=Object.keys(o.default).sort(l),t=Object.keys(i.default).sort(l),n=0,r=0;n<t.length;n++)e[r]===t[n]?(t[n]+=";?",r++):t[n]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=c(i.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,u)}}()},66312: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});var i=r(n(39451));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},35278: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});var i=u(r(n(94204)).default),o=l(i);t.encodeXML=h(i,o);var a=u(r(n(91363)).default),s=l(a);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function l(e){var t=[],n=[];return Object.keys(e).forEach((function(e){return 1===e.length?t.push("\\"+e):n.push(e)})),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}t.encodeHTML=h(a,s);var c=/[^\0-\x7F]/g,d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function f(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function p(e,t){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function h(e,t){return function(n){return n.replace(t,(function(t){return e[t]})).replace(d,p).replace(c,f)}}var m=l(i);t.escape=function(e){return e.replace(m,f).replace(d,p).replace(c,f)}},33661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10901),i=n(35278);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(35278);t.encodeXML=o.encodeXML,t.encodeHTML=o.encodeHTML,t.escape=o.escape,t.encodeHTML4=o.encodeHTML,t.encodeHTML5=o.encodeHTML;var a=n(10901);t.decodeXML=a.decodeXML,t.decodeHTML=a.decodeHTML,t.decodeHTMLStrict=a.decodeHTMLStrict,t.decodeHTML4=a.decodeHTML,t.decodeHTML5=a.decodeHTML,t.decodeHTML4Strict=a.decodeHTMLStrict,t.decodeHTML5Strict=a.decodeHTMLStrict,t.decodeXMLStrict=a.decodeXML},64431:function(e){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},12417:function(e,t,n){var r=e.exports;[n(43346),n(85010),n(26765),n(98043),n(23905),n(74975)].forEach((function(e){Object.keys(e).forEach((function(t){r[t]=e[t].bind(r)}))}))},74975:function(e,t){t.removeSubsets=function(e){for(var t,n,r,i=e.length;--i>-1;){for(t=n=e[i],e[i]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(i,1);break}n=n.parent}r&&(e[i]=t)}return e};var n=1,r=2,i=4,o=8,a=16,s=t.compareDocumentPosition=function(e,t){var s,u,l,c,d,f,p=[],h=[];if(e===t)return 0;for(s=e;s;)p.unshift(s),s=s.parent;for(s=t;s;)h.unshift(s),s=s.parent;for(f=0;p[f]===h[f];)f++;return 0===f?n:(l=(u=p[f-1]).children,c=p[f],d=h[f],l.indexOf(c)>l.indexOf(d)?u===t?i|a:i:u===e?r|o:r)};t.uniqueSort=function(e){var t,n,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(n=e.indexOf(t))>-1&&n<o&&e.splice(o,1);return e.sort((function(e,t){var n=s(e,t);return n&r?-1:n&i?1:0})),e}},23905:function(e,t,n){var r=n(64431),i=t.isTag=r.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var o={tag_name:function(e){return"function"==typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}t.getElements=function(e,t,n,r){var i=Object.keys(e).map((function(t){var n=e[t];return t in o?o[t](n):a(t,n)}));return 0===i.length?[]:this.filter(i.reduce(s),t,n,r)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==n)},t.getElementsByTagName=function(e,t,n,r){return this.filter(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(o.tag_type(e),t,n,r)}},26765:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var n=e.children[e.children.length-2];n.next=t,t.prev=n,t.next=null}},t.append=function(e,t){var n=e.parent,r=e.next;if(t.next=r,t.prev=e,e.next=t,t.parent=n,r){if(r.prev=t,n){var i=n.children;i.splice(i.lastIndexOf(r),0,t)}}else n&&n.children.push(t)},t.prepend=function(e,t){var n=e.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=n,t.prev=e.prev,t.next=e,e.prev=t}},98043:function(e,t,n){var r=n(64431).isTag;function i(e,t,n,r){for(var o,a=[],s=0,u=t.length;s<u&&!(e(t[s])&&(a.push(t[s]),--r<=0))&&(o=t[s].children,!(n&&o&&o.length>0&&(o=i(e,o,n,r),a=a.concat(o),(r-=o.length)<=0)));s++);return a}e.exports={filter:function(e,t,n,r){Array.isArray(t)||(t=[t]);"number"==typeof r&&isFinite(r)||(r=1/0);return i(e,t,!1!==n,r)},find:i,findOneChild:function(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];return null},findOne:function e(t,n){for(var i=null,o=0,a=n.length;o<a&&!i;o++)r(n[o])&&(t(n[o])?i=n[o]:n[o].children.length>0&&(i=e(t,n[o].children)));return i},existsOne:function e(t,n){for(var i=0,o=n.length;i<o;i++)if(r(n[i])&&(t(n[i])||n[i].children.length>0&&e(t,n[i].children)))return!0;return!1},findAll:function(e,t){var n=[],i=t.slice();for(;i.length;){var o=i.shift();r(o)&&(o.children&&o.children.length>0&&i.unshift.apply(i,o.children),e(o)&&n.push(o))}return n}}},43346:function(e,t,n){var r=n(64431),i=n(46138),o=r.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return i(e,t)})).join(""):""},getOuterHTML:i,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):o(t)?"br"===t.name?"\n":e(t.children):t.type===r.CDATA?e(t.children):t.type===r.Text?t.data:""}}},85010:function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},14935:function(module){module.exports=function(obj){obj||(obj={});var __t,__p="";with(obj)__p+="<style>\n  :root {\n    --color-accent: "+(null==(__t=color)?"":__t)+";\n    --color-accent-transparent: "+(null==(__t=colorTransparent)?"":__t)+";\n    --color-accent-tint: "+(null==(__t=colorTint)?"":__t)+";\n    --color-accent-rgb: "+(null==(__t=colorRGB)?"":__t)+";\n    --background-color-accent: var(--color-accent);\n    --background-color-accent-transparent: var(--color-accent-transparent);\n    --border-color-accent: var(--color-accent);\n    --font-family-body: "+(null==(__t=bodyTypeface)?"":__t)+";\n    --font-family-head: "+(null==(__t=headingTypeface)?"":__t)+";\n    --font-family-ui: "+(null==(__t=uiTypeface)?"":__t)+";\n  }\n\n  .brand--head, .brand--head *   { \n    font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-head) !important;\n  }\n\n  .brand--body, .brand--body *   {\n    font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-body) !important;\n  }\n\n  .brand--lhead, .brand--lhead * { \n    font-family: "+(null==(__t=headingTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-head) !important;\n  }\n\n  .brand--lbody, .brand--lbody * { \n    font-family: "+(null==(__t=bodyTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-body) !important;\n  }\n\n  .brand--ui, .brand--ui * { \n    font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-ui) !important;\n  }\n\n  .brand--beforeHead:before { \n    font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-ui) !important;\n  }\n\n  .brand--afterHead:after {\n    font-family: "+(null==(__t=uiTypeface)?"":__t)+" !important;\n    font-family: var(--font-family-ui) !important;\n  }\n\n  .brand--background {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--background-transparent {\n    background-color: "+(null==(__t=color+"1A")?"":__t)+" !important;\n    background-color: var(--background-color-accent-transparent) !important;\n  }\n\n  .brand--background-all * {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--border {\n    border-color: "+(null==(__t=color)?"":__t)+" !important;\n    border-color: var(--border-color-accent) !important;\n  }\n\n  .brand--color {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .brand--color-all * {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .brand--shadow {\n    box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important;\n    box-shadow: 0 0 0 0.2rem var(--color-accent) !important;\n  }\n\n  .brand--shadow-all * {\n    box-shadow: 0 0 0 0.2rem "+(null==(__t=color)?"":__t)+" !important;\n    box-shadow: 0 0 0 0.2rem var(--color-accent) !important;\n  }\n\n  .brand--fill {\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n  .brand--stroke {\n    stroke: "+(null==(__t=color)?"":__t)+" !important;\n    stroke: var(--color-accent) !important;\n  }\n\n\n  .brand--beforeBackground:before {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--beforeBorder:before {\n    border-color: "+(null==(__t=color)?"":__t)+" !important;\n    border-color: var(--border-color-accent) !important;\n  }\n\n  .brand--beforeColor:before {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .brand--afterBackground:after {\n    background-color: "+(null==(__t=color)?"":__t)+" !important;\n    background-color: var(--background-color-accent) !important;\n  }\n\n  .brand--afterBorder:after {\n    border-color: "+(null==(__t=color)?"":__t)+" !important;\n    border-color: var(--border-color-accent) !important;\n  }\n\n  .brand--afterColor:after {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  /* should be applied to containers where links\n     need to appear in brand color */\n  .brand--linkColor a {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n  /* should be applied to containers where links\n     need to change to brand color on hover */\n  .brand--linkColorHover a:hover {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n  /* should be applied to any single element that\n     needs to change color on hover */\n  .brand--hoverColor:hover {\n    color: "+(null==(__t=color)?"":__t)+" !important;\n    color: var(--color-accent) !important;\n  }\n\n  .button.brand--background:hover { opacity: .65 !important; }\n\n  .brandHover:hover {\n    fill: "+(null==(__t=color)?"":__t)+" !important;\n    fill: var(--color-accent) !important;\n  }\n\n\n  @media (min-width: 47.9375em) { /* 768px */\n    .brand--min768--background {\n      background-color: "+(null==(__t=color)?"":__t)+" !important;\n      background-color: var(--background-color-accent) !important;\n    }\n\n    .brand--min768--border {\n      border-color: "+(null==(__t=color)?"":__t)+" !important;\n      border-color: var(--border-color-accent) !important;\n    }\n\n    .brand--min768--color {\n      color: "+(null==(__t=color)?"":__t)+" !important;\n      color: var(--color-accent) !important;\n    }\n  }\n\n  @media (max-width: 47.9375em) { /* 768px */\n    .brand--max768--background {\n      background-color: "+(null==(__t=color)?"":__t)+" !important;\n      background-color: var(--background-color-accent) !important;\n    }\n\n    .brand--max768--border {\n      border-color: "+(null==(__t=color)?"":__t)+" !important;\n      border-color: var(--border-color-accent) !important;\n    }\n\n    .brand--max768--color {\n      color: "+(null==(__t=color)?"":__t)+" !important;\n      color: var(--color-accent) !important;\n    }\n  }\n</style>\n";return __p}},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 u(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}u.prototype={constructor:u,register:function(e,t,n){var i=this.queries,u=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,u)),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=u},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},26:function(e,t,n){var r=n(79545);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in r&&(e=r[e]);var t="";e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e);return t+=String.fromCharCode(e)}},88541:function(e,t){var n,r,i;!function(o){"use strict";var a=o.setTimeout,s=o.clearTimeout,u=o.XMLHttpRequest,l=o.XDomainRequest,c=o.ActiveXObject,d=o.EventSource,f=o.document,p=o.Promise,h=o.fetch,m=o.Response,v=o.TextDecoder,g=o.TextEncoder,y=o.AbortController;if("undefined"==typeof window||"readyState"in f||null!=f.body||(f.readyState="loading",window.addEventListener("load",(function(e){f.readyState="complete"}),!1)),null==u&&(u=function(){return new c("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),null==y){var b=h;h=function(e,t){var n=t.signal;return b(e,{headers:t.headers,credentials:t.credentials,cache:t.cache}).then((function(e){var t=e.body.getReader();return n._reader=t,n._aborted&&n._reader.cancel(),{status:e.status,statusText:e.statusText,headers:e.headers,body:{getReader:function(){return t}}}}))},y=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(e){function t(e,t,n){if(1===n)return e>=128>>t&&e<<t<=2047;if(2===n)return e>=2048>>t&&e<<t<=55295||e>=57344>>t&&e<<t<=65535;if(3===n)return e>=65536>>t&&e<<t<=1114111;throw new Error}function n(e,t){if(6===e)return t>>6>15?3:t>31?2:1;if(12===e)return t>15?3:2;if(18===e)return 3;throw new Error}for(var r=65533,i="",o=this.bitsNeeded,a=this.codePoint,s=0;s<e.length;s+=1){var u=e[s];0!==o&&(u<128||u>191||!t(a<<6|63&u,o-6,n(o,a)))&&(o=0,a=r,i+=String.fromCharCode(a)),0===o?(u>=0&&u<=127?(o=0,a=u):u>=192&&u<=223?(o=6,a=31&u):u>=224&&u<=239?(o=12,a=15&u):u>=240&&u<=247?(o=18,a=7&u):(o=0,a=r),0===o||t(a,o,n(o,a))||(o=0,a=r)):(o-=6,a=a<<6|63&u),0===o&&(a<=65535?i+=String.fromCharCode(a):(i+=String.fromCharCode(55296+(a-65535-1>>10)),i+=String.fromCharCode(56320+(a-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=a,i};null!=v&&null!=g&&function(){try{return"test"===(new v).decode((new g).encode("test"),{stream:!0})}catch(e){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+e)}return!1}()||(v=_);var w=function(){};function k(e){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=e,this._sendTimeout=0,this._abort=w}function E(e){return e.replace(/[A-Z]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+32)}))}function x(e){for(var t=Object.create(null),n=e.split("\r\n"),r=0;r<n.length;r+=1){var i=n[r].split(": "),o=i.shift(),a=i.join(": ");t[E(o)]=a}this._map=t}function S(){}function T(e){this._headers=e}function C(){}function A(){this._listeners=Object.create(null)}function O(e){a((function(){throw e}),0)}function N(e){this.type=e,this.target=void 0}function P(e,t){N.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function I(e,t){N.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function L(e,t){N.call(this,e),this.error=t.error}k.prototype.open=function(e,t){this._abort(!0);var n=this,r=this._xhr,i=1,o=0;this._abort=function(e){0!==n._sendTimeout&&(s(n._sendTimeout),n._sendTimeout=0),1!==i&&2!==i&&3!==i||(i=4,r.onload=w,r.onerror=w,r.onabort=w,r.onprogress=w,r.onreadystatechange=w,r.abort(),0!==o&&(s(o),o=0),e||(n.readyState=4,n.onabort(null),n.onreadystatechange())),i=0};var l=function(){if(1===i){var e=0,t="",o=void 0;if("contentType"in r)e=200,t="OK",o=r.contentType;else try{e=r.status,t=r.statusText,o=r.getResponseHeader("Content-Type")}catch(n){e=0,t="",o=void 0}0!==e&&(i=2,n.readyState=2,n.status=e,n.statusText=t,n._contentType=o,n.onreadystatechange())}},c=function(){if(l(),2===i||3===i){i=3;var e="";try{e=r.responseText}catch(e){}n.readyState=3,n.responseText=e,n.onprogress()}},d=function(e,t){if(null!=t&&null!=t.preventDefault||(t={preventDefault:w}),c(),1===i||2===i||3===i){if(i=4,0!==o&&(s(o),o=0),n.readyState=4,"load"===e)n.onload(t);else if("error"===e)n.onerror(t);else{if("abort"!==e)throw new TypeError;n.onabort(t)}n.onreadystatechange()}},f=function(){o=a((function(){f()}),500),3===r.readyState&&c()};"onload"in r&&(r.onload=function(e){d("load",e)}),"onerror"in r&&(r.onerror=function(e){d("error",e)}),"onabort"in r&&(r.onabort=function(e){d("abort",e)}),"onprogress"in r&&(r.onprogress=c),"onreadystatechange"in r&&(r.onreadystatechange=function(e){!function(e){null!=r&&(4===r.readyState?"onload"in r&&"onerror"in r&&"onabort"in r||d(""===r.responseText?"error":"load",e):3===r.readyState?"onprogress"in r||c():2===r.readyState&&l())}(e)}),!("contentType"in r)&&"ontimeout"in u.prototype||(t+=(-1===t.indexOf("?")?"?":"&")+"padding=true"),r.open(e,t,!0),"readyState"in r&&(o=a((function(){f()}),0))},k.prototype.abort=function(){this._abort(!1)},k.prototype.getResponseHeader=function(e){return this._contentType},k.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},k.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},k.prototype.send=function(){if("ontimeout"in u.prototype&&("sendAsBinary"in u.prototype||"mozAnon"in u.prototype)||null==f||null==f.readyState||"complete"===f.readyState){var e=this._xhr;"withCredentials"in e&&(e.withCredentials=this.withCredentials);try{e.send(void 0)}catch(e){throw e}}else{var t=this;t._sendTimeout=a((function(){t._sendTimeout=0,t.send()}),4)}},x.prototype.get=function(e){return this._map[E(e)]},null!=u&&null==u.HEADERS_RECEIVED&&(u.HEADERS_RECEIVED=2),S.prototype.open=function(e,t,n,r,i,o,a){e.open("GET",i);var s=0;for(var l in e.onprogress=function(){var t=e.responseText.slice(s);s+=t.length,n(t)},e.onerror=function(e){e.preventDefault(),r(new Error("NetworkError"))},e.onload=function(){r(null)},e.onabort=function(){r(null)},e.onreadystatechange=function(){if(e.readyState===u.HEADERS_RECEIVED){var n=e.status,r=e.statusText,i=e.getResponseHeader("Content-Type"),o=e.getAllResponseHeaders();t(n,r,i,new x(o))}},e.withCredentials=o,a)Object.prototype.hasOwnProperty.call(a,l)&&e.setRequestHeader(l,a[l]);return e.send(),e},T.prototype.get=function(e){return this._headers.get(e)},C.prototype.open=function(e,t,n,r,i,o,a){var s=null,u=new y,l=u.signal,c=new v;return h(i,{headers:a,credentials:o?"include":"same-origin",signal:l,cache:"no-store"}).then((function(e){return s=e.body.getReader(),t(e.status,e.statusText,e.headers.get("Content-Type"),new T(e.headers)),new p((function(e,t){var r=function(){s.read().then((function(t){if(t.done)e(void 0);else{var i=c.decode(t.value,{stream:!0});n(i),r()}})).catch((function(e){t(e)}))};r()}))})).catch((function(e){return"AbortError"===e.name?void 0:e})).then((function(e){r(e)})),{abort:function(){null!=s&&s.cancel(),u.abort()}}},A.prototype.dispatchEvent=function(e){e.target=this;var t=this._listeners[e.type];if(null!=t)for(var n=t.length,r=0;r<n;r+=1){var i=t[r];try{"function"==typeof i.handleEvent?i.handleEvent(e):i.call(this,e)}catch(e){O(e)}}},A.prototype.addEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];null==r&&(r=[],n[e]=r);for(var i=!1,o=0;o<r.length;o+=1)r[o]===t&&(i=!0);i||r.push(t)},A.prototype.removeEventListener=function(e,t){e=String(e);var n=this._listeners,r=n[e];if(null!=r){for(var i=[],o=0;o<r.length;o+=1)r[o]!==t&&i.push(r[o]);0===i.length?delete n[e]:n[e]=i}},P.prototype=Object.create(N.prototype),I.prototype=Object.create(N.prototype),L.prototype=Object.create(N.prototype);var M=-1,R=-1,D=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,q=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),j(n)},j=function(e){return Math.min(Math.max(e,1e3),18e6)},F=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){O(e)}};function B(e,t){A.call(this),t=t||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(e,t,n){t=String(t);var r=Boolean(n.withCredentials),i=j(1e3),o=q(n.heartbeatTimeout,45e3),c="",d=i,f=!1,p=0,h=n.headers||{},m=n.Transport,v=U&&null==m?void 0:new k(null!=m?new m:null!=u&&"withCredentials"in u.prototype||null==l?new u:new l),g=null!=m&&"string"!=typeof m?new m:null==v?new C:new S,y=void 0,b=0,_=M,w="",E="",x="",T="",A=0,O=0,N=0,B=function(t,n,r,o){if(0===_)if(200===t&&null!=r&&D.test(r)){_=1,f=!0,d=i,e.readyState=1;var a=new I("open",{status:t,statusText:n,headers:o});e.dispatchEvent(a),F(e,e.onopen,a)}else{var s="";200!==t?(n&&(n=n.replace(/\s+/g," ")),s="EventSource's response has a status "+t+" "+n+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==r?"-":r.replace(/\s+/g," "))+". Aborting the connection.",V();a=new I("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),F(e,e.onerror,a),console.error(s)}},z=function(t){if(1===_){for(var n=-1,r=0;r<t.length;r+=1){(h=t.charCodeAt(r))!=="\n".charCodeAt(0)&&h!=="\r".charCodeAt(0)||(n=r)}var u=(-1!==n?T:"")+t.slice(0,n+1);T=(-1===n?T:"")+t.slice(n+1),""!==t&&(f=!0,p+=t.length);for(var l=0;l<u.length;l+=1){var h=u.charCodeAt(l);if(A===R&&h==="\n".charCodeAt(0))A=0;else if(A===R&&(A=0),h==="\r".charCodeAt(0)||h==="\n".charCodeAt(0)){if(0!==A){1===A&&(N=l+1);var m=u.slice(O,N-1),v=u.slice(N+(N<l&&u.charCodeAt(N)===" ".charCodeAt(0)?1:0),l);"data"===m?(w+="\n",w+=v):"id"===m?E=v:"event"===m?x=v:"retry"===m?(i=q(v,i),d=i):"heartbeatTimeout"===m&&(o=q(v,o),0!==b&&(s(b),b=a((function(){W()}),o)))}if(0===A){if(""!==w){c=E,""===x&&(x="message");var g=new P(x,{data:w.slice(1),lastEventId:E});if(e.dispatchEvent(g),"open"===x?F(e,e.onopen,g):"message"===x?F(e,e.onmessage,g):"error"===x&&F(e,e.onerror,g),2===_)return}w="",x=""}A=h==="\r".charCodeAt(0)?R:0}else 0===A&&(O=l,A=1),1===A?h===":".charCodeAt(0)&&(N=l+1,A=2):2===A&&(A=3)}}},H=function(t){if(1===_||0===_){_=M,0!==b&&(s(b),b=0),b=a((function(){W()}),d),d=j(Math.min(16*i,2*d)),e.readyState=0;var n=new L("error",{error:t});e.dispatchEvent(n),F(e,e.onerror,n)}},V=function(){_=2,null!=y&&(y.abort(),y=void 0),0!==b&&(s(b),b=0),e.readyState=2},W=function(){if(b=0,_===M){f=!1,p=0,b=a((function(){W()}),o),_=0,w="",x="",E=c,T="",O=0,N=0,A=0;var n=t;"data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==c&&(n+=(-1===t.indexOf("?")?"?":"&")+"lastEventId="+encodeURIComponent(c));var r=e.withCredentials,i={Accept:"text/event-stream"},s=e.headers;if(null!=s)for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(i[u]=s[u]);try{y=g.open(v,B,z,H,n,r,i)}catch(e){throw V(),e}}else f||null==y?(f=!1,b=a((function(){W()}),o)):(H(new Error("No activity within "+o+" milliseconds. "+(0===_?"No response received.":p+" chars received.")+" Reconnecting.")),null!=y&&(y.abort(),y=void 0))};e.url=t,e.readyState=0,e.withCredentials=r,e.headers=h,e._close=V,W()}(this,e,t)}var U=null!=h&&null!=m&&"body"in m.prototype;B.prototype=Object.create(A.prototype),B.prototype.CONNECTING=0,B.prototype.OPEN=1,B.prototype.CLOSED=2,B.prototype.close=function(){this._close()},B.CONNECTING=0,B.OPEN=1,B.CLOSED=2,B.prototype.withCredentials=void 0;var z=d;null==u||null!=d&&"withCredentials"in d.prototype||(z=B),function(o){if("object"==typeof e.exports){var a=o(t);void 0!==a&&(e.exports=a)}else r=[t],void 0===(i="function"==typeof(n=o)?n.apply(t,r):n)||(e.exports=i)}((function(e){e.EventSourcePolyfill=B,e.NativeEventSource=d,e.EventSource=z}))}("undefined"!=typeof window?window:"undefined"!=typeof self?self:this)},26729:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),u=n?n+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var u,l,c=this._events[s],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,r),!0;case 4:return c.fn.call(c.context,t,r,i),!0;case 5:return c.fn.call(c.context,t,r,i,o),!0;case 6:return c.fn.call(c.context,t,r,i,o,a),!0}for(l=1,u=new Array(d-1);l<d;l++)u[l-1]=arguments[l];c.fn.apply(c.context,u)}else{var f,p=c.length;for(l=0;l<p;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),d){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,r);break;case 4:c[l].fn.call(c[l].context,t,r,i);break;default:if(!u)for(f=1,u=new Array(d-1);f<d;f++)u[f-1]=arguments[f];c[l].fn.apply(c[l].context,u)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var u=0,l=[],c=s.length;u<c;u++)(s[u].fn!==t||i&&!s[u].once||r&&s[u].context!==r)&&l.push(s[u]);l.length?this._events[o]=1===l.length?l[0]:l:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},17187: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 i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,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))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){var i,o,a;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,function(e){console&&console.warn&&console.warn(e)}(l)}return e}function c(){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 d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=c.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):h(i,i.length)}function p(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 h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(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(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.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},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(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},o.prototype.getMaxListeners=function(){return u(this)},o.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 u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else{var l=u.length,c=h(u,l);for(n=0;n<l;++n)r(c[n],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(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},o.prototype.off=o.prototype.removeListener,o.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},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},58875:function(e,t,n){var r;!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)}()},38252:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(("_owner"!==a||!t.$$typeof)&&!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},99376:function(e,t){var n=Object.keys;t.D=function(e,t){if(e===t)return!0;if(!(e instanceof Object&&t instanceof Object))return!1;for(var r=n(e),i=r.length,o=0;o<i;o++)if(!(r[o]in t))return!1;for(o=0;o<i;o++)if(e[r[o]]!==t[r[o]])return!1;return i===n(t).length}},60139:function(e){"use strict";function t(e){return function(){return e}}var n=function(){};n.thatReturns=t,n.thatReturnsFalse=t(!1),n.thatReturnsTrue=t(!0),n.thatReturnsNull=t(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(e){return e},e.exports=n},73759:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},42317:function(e,t,n){"use strict";!function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},i={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],a=0,s=void 0,u=void 0,l=void 0,c=void 0,d=void 0,f=void 0,p=void 0,h=void 0,m=void 0,v=void 0,g=void 0,y=void 0,b=void 0,_=void 0;if(isNaN(e))throw new Error("Invalid arguments");return l=!0===t.bits,g=!0===t.unix,u=t.base||2,v=void 0!==t.round?t.round:g?1:2,y=void 0!==t.spacer?t.spacer:g?"":" ",_=t.symbols||t.suffixes||{},b=2===u&&t.standard||"jedec",m=t.output||"string",d=!0===t.fullform,f=t.fullforms instanceof Array?t.fullforms:[],s=void 0!==t.exponent?t.exponent:-1,c=u>2?1e3:1024,(p=(h=Number(e))<0)&&(h=-h),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(h)/Math.log(c)))<0&&(s=0),s>8&&(s=8),0===h?(o[0]=0,o[1]=g?"":r[b][l?"bits":"bytes"][s]):(a=h/(2===u?Math.pow(2,10*s):Math.pow(1e3,s)),l&&(a*=8)>=c&&s<8&&(a/=c,s++),o[0]=Number(a.toFixed(s>0?v:0)),o[1]=10===u&&1===s?l?"kb":"kB":r[b][l?"bits":"bytes"][s],g&&(o[1]="jedec"===b?o[1].charAt(0):s>0?o[1].replace(/B$/,""):o[1],n.test(o[1])&&(o[0]=Math.floor(o[0]),o[1]=""))),p&&(o[0]=-o[0]),o[1]=_[o[1]]||o[1],"array"===m?o:"exponent"===m?s:"object"===m?{value:o[0],suffix:o[1],symbol:o[1]}:(d&&(o[1]=f[s]?f[s]:i[b][s]+(l?"bit":"byte")+(1===o[0]?"":"s")),o.join(y))}o.partial=function(e){return function(t){return o(t,e)}},e.exports=o}("undefined"!=typeof window?window:n.g)},70936:function(e,t,n){"use strict";t.__esModule=!0,t.isFSA=function(e){return o.default(e)&&void 0!==e.type&&Object.keys(e).every(s)},t.isError=function(e){return!0===e.error};var r,i=n(8146),o=(r=i)&&r.__esModule?r:{default:r},a=["type","payload","error","meta"];function s(e){return a.indexOf(e)>-1}},11334:function(){!function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof HTMLElement){var e=!1;try{var t=document.createElement("div");t.addEventListener("focus",(function(e){e.preventDefault(),e.stopPropagation()}),!0),t.focus(Object.defineProperty({},"preventScroll",{get:function(){e=!0}}))}catch(e){}if(void 0===HTMLElement.prototype.nativeFocus&&!e){HTMLElement.prototype.nativeFocus=HTMLElement.prototype.focus;var n=function(e){for(var t=0;t<e.length;t++)e[t][0].scrollTop=e[t][1],e[t][0].scrollLeft=e[t][2];e=[]};HTMLElement.prototype.focus=function(e){if(e&&e.preventScroll){var t=function(e){for(var t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;t&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push([t,t.scrollTop,t.scrollLeft]),t=t.parentNode;return t=r,n.push([t,t.scrollTop,t.scrollLeft]),n}(this);this.nativeFocus(),"function"==typeof setTimeout?setTimeout((function(){n(t)}),0):n(t)}else this.nativeFocus()}}}}()},86382:function(){"use strict";!function(){function e(e){for(var t=[];e=e.parentNode||e.host||e.defaultView;)t.push(e);return t}function t(e){return function(t){var n=void 0!==t.getAttribute?t.getAttribute("class")||"":void 0;void 0!==n&&-1===n.indexOf(e)&&t.setAttribute("class",n.concat(" ",e).trim())}}var n=["\n","\t"," ","\r"];try{"undefined"!=typeof window&&document.querySelector(":focus-within")}catch(r){return function(){var r=function(r){if(!i){window.requestAnimationFrame((function(){i=!1,"blur"===r.type&&Array.prototype.slice.call(e(r.target)).forEach(function(e){return function(t){var r=void 0!==t.getAttribute?t.getAttribute("class")||"":void 0;if(r){var i=r.indexOf(e);0<=i&&(0===i||0<=n.indexOf(r.charAt(i-1)))&&(""===(r=r.replace(e,"").trim())?t.removeAttribute("class"):t.setAttribute("class",r))}}}("focus-within")),"focus"===r.type&&Array.prototype.slice.call(e(r.target)).forEach(t("focus-within"))}));var i=!0}};return document.addEventListener("focus",r,!0),document.addEventListener("blur",r,!0),t("js-focus-within")(document.body),!0}()}}()},37347:function(e){!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function r(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.a.offsetWidth,n=t+100;return e.f.style.width=n+"px",e.c.scrollLeft=n,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function o(e,n){function r(){var e=o;i(e)&&e.a.parentNode&&n(e.g)}var o=e;t(e.b,r),t(e.c,r),i(e)}function a(e,t){var n=t||{};this.family=e,this.style=n.style||"normal",this.weight=n.weight||"normal",this.stretch=n.stretch||"normal"}var s=null,u=null,l=null,c=null;function d(){return null===c&&(c=!!document.fonts),c}function f(){if(null===l){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}l=""!==e.style.font}return l}function p(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",l=0,c=t||3e3,f=(new Date).getTime();return new Promise((function(e,t){if(d()&&!function(){if(null===u)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);u=!!e&&603>parseInt(e[1],10)}else u=!1;return u}()){var h=new Promise((function(e,t){!function n(){(new Date).getTime()-f>=c?t(Error(c+"ms timeout exceeded")):document.fonts.load(p(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),m=new Promise((function(e,t){l=setTimeout((function(){t(Error(c+"ms timeout exceeded"))}),c)}));Promise.race([m,h]).then((function(){clearTimeout(l),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function u(){var t;(t=-1!=v&&-1!=g||-1!=v&&-1!=y||-1!=g&&-1!=y)&&((t=v!=g&&v!=y&&g!=y)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(v==b&&g==b&&y==b||v==_&&g==_&&y==_||v==w&&g==w&&y==w)),t=!t),t&&(k.parentNode&&k.parentNode.removeChild(k),clearTimeout(l),e(i))}var d=new n(a),h=new n(a),m=new n(a),v=-1,g=-1,y=-1,b=-1,_=-1,w=-1,k=document.createElement("div");k.dir="ltr",r(d,p(i,"sans-serif")),r(h,p(i,"serif")),r(m,p(i,"monospace")),k.appendChild(d.a),k.appendChild(h.a),k.appendChild(m.a),document.body.appendChild(k),b=d.a.offsetWidth,_=h.a.offsetWidth,w=m.a.offsetWidth,function e(){if((new Date).getTime()-f>=c)k.parentNode&&k.parentNode.removeChild(k),t(Error(c+"ms timeout exceeded"));else{var n=document.hidden;!0!==n&&void 0!==n||(v=d.a.offsetWidth,g=h.a.offsetWidth,y=m.a.offsetWidth,u()),l=setTimeout(e,50)}}(),o(d,(function(e){v=e,u()})),r(d,p(i,'"'+i.family+'",sans-serif')),o(h,(function(e){g=e,u()})),r(h,p(i,'"'+i.family+'",serif')),o(m,(function(e){y=e,u()})),r(m,p(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},89144:function(e,t,n){var r,i=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},o=n(25893);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r},58908:function(e,t,n){var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},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 u(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 l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=u(t),m=u(n),v=0;v<a.length;++v){var g=a[v];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{l(t,g,y)}catch(e){}}}}return t}},95449:function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var n=this.events[e].length;1===n?this._cbs[this.events[e][0]]():2===n?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},63870:function(e,t,n){var r=n(23719),i=r.DomHandler,o=r.DomUtils;function a(e,t){this.init(e,t)}function s(e,t){return o.getElementsByTagName(e,t,!0)}function u(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function c(e,t,n,r,i){var o=l(n,r,i);o&&(e[t]=o)}n(35717)(a,i),a.prototype.init=i;var d=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};a.prototype.onend=function(){var e,t,n={},r=u(d,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",c(n,"id","id",t),c(n,"title","title",t),(e=u("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),c(n,"description","subtitle",t),(e=l("updated",t))&&(n.updated=new Date(e)),c(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return c(n,"id","id",e=e.children),c(n,"title","title",e),(t=u("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=l("summary",e)||l("content",e))&&(n.description=t),(t=l("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=u("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t),(e=l("lastBuildDate",t))&&(n.updated=new Date(e)),c(n,"author","managingEditor",t,!0),n.items=s("item",r.children).map((function(e){var t,n={};return c(n,"id","guid",e=e.children),c(n,"title","title",e),c(n,"link","link",e),c(n,"description","description",e),(t=l("pubDate",e))&&(n.pubDate=new Date(t)),n})))),this.dom=n,i.prototype._handleCallback.call(this,r?null:Error("couldn't find root of feed"))},e.exports=a},50763:function(e,t,n){var r=n(39889),i={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:i,input:i,output:i,button:i,datalist:i,textarea:i,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,path:!0,circle:!0,ellipse:!0,line:!0,rect:!0,use:!0,stop:!0,polyline:!0,polygon:!0},s=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(35717)(u,n(17187).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in o)for(var t;(t=this._stack[this._stack.length-1])in o[e];this.onclosetag(t));!this._options.xmlMode&&e in a||this._stack.push(e),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(s),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},76321:function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var i=n(23719).EVENTS;Object.keys(i).forEach((function(e){if(0===i[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===i[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==i[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}}))},89924:function(e,t,n){e.exports=i;var r=n(83621);function i(e){r.call(this,new o(this),e)}function o(e){this.scope=e}n(35717)(i,r),i.prototype.readable=!0;var a=n(23719).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}}))},39889:function(e,t,n){e.exports=ye;var r,i,o=n(26),a=n(19489),s=n(40490),u=n(41344),l=0,c=l++,d=l++,f=l++,p=l++,h=l++,m=l++,v=l++,g=l++,y=l++,b=l++,_=l++,w=l++,k=l++,E=l++,x=l++,S=l++,T=l++,C=l++,A=l++,O=l++,N=l++,P=l++,I=l++,L=l++,M=l++,R=l++,D=l++,q=l++,j=l++,F=l++,B=l++,U=l++,z=l++,H=l++,V=l++,W=l++,Y=l++,G=l++,K=l++,X=l++,$=l++,Z=l++,Q=l++,J=l++,ee=l++,te=l++,ne=l++,re=l++,ie=l++,oe=l++,ae=l++,se=l++,ue=l++,le=l++,ce=l++,de=0,fe=de++,pe=de++,he=de++;function me(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function ve(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(i){i===r||i===e?this._state=t:(this._state=n,this._index--)}}function ge(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=f,this._index--)}}function ye(e,t){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=fe,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}ye.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=d,this._sectionStart=this._index):this._decodeEntities&&this._special===fe&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateBeforeTagName=function(e){"/"===e?this._state=h:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==fe||me(e)?this._state=c:"!"===e?(this._state=x,this._sectionStart=this._index+1):"?"===e?(this._state=T,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?f:B,this._sectionStart=this._index)},ye.prototype._stateInTagName=function(e){("/"===e||">"===e||me(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},ye.prototype._stateBeforeCloseingTagName=function(e){me(e)||(">"===e?this._state=c:this._special!==fe?"s"===e||"S"===e?this._state=U:(this._state=c,this._index--):(this._state=m,this._sectionStart=this._index))},ye.prototype._stateInCloseingTagName=function(e){(">"===e||me(e))&&(this._emitToken("onclosetag"),this._state=v,this._index--)},ye.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=c,this._sectionStart=this._index+1)},ye.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===e?this._state=p:me(e)||(this._state=y,this._sectionStart=this._index)},ye.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):me(e)||(this._state=g,this._index--)},ye.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||me(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},ye.prototype._stateAfterAttributeName=function(e){"="===e?this._state=_:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):me(e)||(this._cbs.onattribend(),this._state=y,this._sectionStart=this._index)},ye.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=w,this._sectionStart=this._index+1):"'"===e?(this._state=k,this._sectionStart=this._index+1):me(e)||(this._state=E,this._sectionStart=this._index,this._index--)},ye.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateInAttributeValueNoQuotes=function(e){me(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ae,this._sectionStart=this._index)},ye.prototype._stateBeforeDeclaration=function(e){this._state="["===e?P:"-"===e?C:S},ye.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},ye.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},ye.prototype._stateBeforeComment=function(e){"-"===e?(this._state=A,this._sectionStart=this._index+1):this._state=S},ye.prototype._stateInComment=function(e){"-"===e&&(this._state=O)},ye.prototype._stateAfterComment1=function(e){this._state="-"===e?N:A},ye.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==e&&(this._state=A)},ye.prototype._stateBeforeCdata1=ve("C",I,S),ye.prototype._stateBeforeCdata2=ve("D",L,S),ye.prototype._stateBeforeCdata3=ve("A",M,S),ye.prototype._stateBeforeCdata4=ve("T",R,S),ye.prototype._stateBeforeCdata5=ve("A",D,S),ye.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=q,this._sectionStart=this._index+1):(this._state=S,this._index--)},ye.prototype._stateInCdata=function(e){"]"===e&&(this._state=j)},ye.prototype._stateAfterCdata1=(r="]",i=F,function(e){e===r&&(this._state=i)}),ye.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==e&&(this._state=q)},ye.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=z:"t"===e||"T"===e?this._state=Q:(this._state=f,this._index--)},ye.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==he||"t"!==e&&"T"!==e?this._state=c:this._state=ne:this._state=G},ye.prototype._stateBeforeScript1=ge("R",H),ye.prototype._stateBeforeScript2=ge("I",V),ye.prototype._stateBeforeScript3=ge("P",W),ye.prototype._stateBeforeScript4=ge("T",Y),ye.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||me(e))&&(this._special=pe),this._state=f,this._index--},ye.prototype._stateAfterScript1=ve("R",K,c),ye.prototype._stateAfterScript2=ve("I",X,c),ye.prototype._stateAfterScript3=ve("P",$,c),ye.prototype._stateAfterScript4=ve("T",Z,c),ye.prototype._stateAfterScript5=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-6,this._index--):this._state=c},ye.prototype._stateBeforeStyle1=ge("Y",J),ye.prototype._stateBeforeStyle2=ge("L",ee),ye.prototype._stateBeforeStyle3=ge("E",te),ye.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||me(e))&&(this._special=he),this._state=f,this._index--},ye.prototype._stateAfterStyle1=ve("Y",re,c),ye.prototype._stateAfterStyle2=ve("L",ie,c),ye.prototype._stateAfterStyle3=ve("E",oe,c),ye.prototype._stateAfterStyle4=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-5,this._index--):this._state=c},ye.prototype._stateBeforeEntity=ve("#",se,ue),ye.prototype._stateBeforeNumericEntity=ve("X",ce,le),ye.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?u:a;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},ye.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(s.hasOwnProperty(n))return this._emitPartial(s[n]),void(this._sectionStart+=t+1);t--}},ye.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},ye.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),i=parseInt(r,t);this._emitPartial(o(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},ye.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},ye.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},ye.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},ye.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},ye.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===c?this._stateText(e):this._state===d?this._stateBeforeTagName(e):this._state===f?this._stateInTagName(e):this._state===h?this._stateBeforeCloseingTagName(e):this._state===m?this._stateInCloseingTagName(e):this._state===v?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===y?this._stateInAttributeName(e):this._state===b?this._stateAfterAttributeName(e):this._state===_?this._stateBeforeAttributeValue(e):this._state===w?this._stateInAttributeValueDoubleQuotes(e):this._state===k?this._stateInAttributeValueSingleQuotes(e):this._state===E?this._stateInAttributeValueNoQuotes(e):this._state===x?this._stateBeforeDeclaration(e):this._state===S?this._stateInDeclaration(e):this._state===T?this._stateInProcessingInstruction(e):this._state===C?this._stateBeforeComment(e):this._state===A?this._stateInComment(e):this._state===O?this._stateAfterComment1(e):this._state===N?this._stateAfterComment2(e):this._state===P?this._stateBeforeCdata1(e):this._state===I?this._stateBeforeCdata2(e):this._state===L?this._stateBeforeCdata3(e):this._state===M?this._stateBeforeCdata4(e):this._state===R?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===q?this._stateInCdata(e):this._state===j?this._stateAfterCdata1(e):this._state===F?this._stateAfterCdata2(e):this._state===B?this._stateBeforeSpecial(e):this._state===U?this._stateBeforeSpecialEnd(e):this._state===z?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===V?this._stateBeforeScript3(e):this._state===W?this._stateBeforeScript4(e):this._state===Y?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===K?this._stateAfterScript2(e):this._state===X?this._stateAfterScript3(e):this._state===$?this._stateAfterScript4(e):this._state===Z?this._stateAfterScript5(e):this._state===Q?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===ee?this._stateBeforeStyle3(e):this._state===te?this._stateBeforeStyle4(e):this._state===ne?this._stateAfterStyle1(e):this._state===re?this._stateAfterStyle2(e):this._state===ie?this._stateAfterStyle3(e):this._state===oe?this._stateAfterStyle4(e):this._state===ae?this._stateBeforeEntity(e):this._state===se?this._stateBeforeNumericEntity(e):this._state===ue?this._stateInNamedEntity(e):this._state===le?this._stateInNumericEntity(e):this._state===ce?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},ye.prototype.pause=function(){this._running=!1},ye.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},ye.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},ye.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},ye.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===q||this._state===j||this._state===F?this._cbs.oncdata(e):this._state===A||this._state===O||this._state===N?this._cbs.oncomment(e):this._state!==ue||this._xmlMode?this._state!==le||this._xmlMode?this._state!==ce||this._xmlMode?this._state!==f&&this._state!==g&&this._state!==_&&this._state!==b&&this._state!==y&&this._state!==k&&this._state!==w&&this._state!==E&&this._state!==m&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},ye.prototype.reset=function(){ye.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},ye.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},ye.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},ye.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},ye.prototype._emitPartial=function(e){this._baseState!==c?this._cbs.onattribdata(e):this._cbs.ontext(e)}},83621:function(e,t,n){e.exports=s;var r=n(50763),i=n(42830).Writable||n(50247).Writable,o=n(32553).s,a=n(48764).Buffer;function s(e,t){var n=this._parser=new r(e,t),a=this._decoder=new o;i.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(a.end())}))}n(35717)(s,i),i.prototype._write=function(e,t,n){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),n()}},23719:function(e,t,n){var r=n(50763),i=n(29730);function o(t,n){return delete e.exports[t],e.exports[t]=n,n}e.exports={Parser:r,Tokenizer:n(39889),ElementType:n(64431),DomHandler:i,get FeedHandler(){return o("FeedHandler",n(63870))},get Stream(){return o("Stream",n(89924))},get WritableStream(){return o("WritableStream",n(83621))},get ProxyHandler(){return o("ProxyHandler",n(76321))},get DomUtils(){return o("DomUtils",n(12417))},get CollectingHandler(){return o("CollectingHandler",n(95449))},DefaultHandler:i,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new i(t);return new r(n,t).end(e),n.dom},parseFeed:function(t,n){var i=new e.exports.FeedHandler(n);return new r(i,n).end(t),i.dom},createDomStream:function(e,t,n){var o=new i(e,t,n);return new r(o,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},29730:function(e,t,n){var r=n(64431),i=/\s+/g,o=n(16805),a=n(7359);function s(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=u),this._callback=e,this._options=t||u,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var u={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var n in t="tag"===e.type?Object.create(a):Object.create(o),e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var n={type:"script"===e?r.Script:"style"===e?r.Style:r.Tag,name:e,attribs:t,children:[]},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)},s.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===r.Text)n?t.data=(t.data+e).replace(i," "):t.data+=e;else{n&&(e=e.replace(i," "));var o=this._createDomElement({data:e,type:r.Text});this._addDomElement(o)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===r.Comment)t.data+=e;else{var n={data:e,type:r.Comment},i=this._createDomElement(n);this._addDomElement(i),this._tagStack.push(i)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:r.Text}],type:r.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var n=this._createDomElement({name:e,data:t,type:r.Directive});this._addDomElement(n)},e.exports=s},7359:function(e,t,n){var r=n(16805),i=e.exports=Object.create(r),o={tagName:"name"};Object.keys(o).forEach((function(e){var t=o[e];Object.defineProperty(i,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},16805:function(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return r[this.type]||r.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},r={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(e){var r=n[e];Object.defineProperty(t,e,{get:function(){return this[r]||null},set:function(e){return this[r]=e,e}})}))},80645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-c)-1,p>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=l}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=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=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+d>=1?f/u:f*Math.pow(2,1-d))*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+p]=255&a,p+=h,a/=256,l-=8);e[n+p-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}}},31425:function(e){!function(t){var n=0,r=!1,i=function(e){for(var t=e.target;t!==document.body&&t!==document;){var r=window.getComputedStyle(t);if(!r)break;if("INPUT"===t.nodeName&&"range"===t.getAttribute("type"))return;var i=r.getPropertyValue("-webkit-overflow-scrolling"),o=r.getPropertyValue("overflow-y"),a=parseInt(r.getPropertyValue("height"),10),s="touch"===i&&("auto"===o||"scroll"===o),u=t.scrollHeight>t.offsetHeight;if(s&&u){var l=e.touches?e.touches[0].screenY:e.screenY,c=n<=l&&0===t.scrollTop,d=n>=l&&t.scrollHeight-t.scrollTop===a;return void((c||d)&&e.preventDefault())}t=t.parentNode}e.preventDefault()},o=function(e){n=e.touches?e.touches[0].screenY:e.screenY},a=function(){window.addEventListener("touchstart",o,!1),window.addEventListener("touchmove",i,!1),r=!0},s=document.createElement("div");document.documentElement.appendChild(s),s.style.WebkitOverflowScrolling="touch";var u="getComputedStyle"in window&&"touch"===window.getComputedStyle(s)["-webkit-overflow-scrolling"];document.documentElement.removeChild(s),u&&a();var l={enable:a,disable:function(){window.removeEventListener("touchstart",o,!1),window.removeEventListener("touchmove",i,!1),r=!1},isEnabled:function(){return r}};e.exports&&(e.exports=l),"function"==typeof t.define?(0,t.define)("iNoBounce",[],(function(){return l})):t.iNoBounce=l}(this)},43083:function(e){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){var n=t[a][1][e];return i(n||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";"undefined"==typeof window?t.exports=function(t){return e("./src/utils/window").init(t),e("./src/index")}:t.exports=e("./src/index")},{"./src/index":19,"./src/utils/window":52}],2:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/extend.js");function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e.immediatePropagationStopped)break;r(e)}}var a=function(){function e(t){r(this,e),this.options=i({},t||{})}return e.prototype.fire=function(e){var t=void 0,n="on"+e.type,r=this.global;(t=this[e.type])&&o(e,t),this[n]&&this[n](e),!e.propagationStopped&&r&&(t=r[e.type])&&o(e,t)},e.prototype.on=function(e,t){this[e]?this[e].push(t):this[e]=[t]},e.prototype.off=function(e,t){var n=this[e],r=n?n.indexOf(t):-1;-1!==r&&n.splice(r,1),(n&&0===n.length||!t)&&(this[e]=void 0)},e}();t.exports=a},{"./utils/extend.js":41}],3:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/extend"),o=e("./utils/getOriginXY"),a=e("./defaultOptions"),s=e("./utils/Signals").new(),u=function(){function e(t,n,u,l,c,d){var f=arguments.length>6&&void 0!==arguments[6]&&arguments[6];r(this,e);var p=t.target,h=(p&&p.options||a).deltaSource,m=o(p,c,u),v="start"===l,g="end"===l,y=v?t.startCoords:t.curCoords,b=t.prevEvent;c=c||t.element;var _=i({},y.page),w=i({},y.client);_.x-=m.x,_.y-=m.y,w.x-=m.x,w.y-=m.y,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.button=n.button,this.buttons=n.buttons,this.target=c,this.currentTarget=c,this.relatedTarget=d||null,this.preEnd=f,this.type=u+(l||""),this.interaction=t,this.interactable=p,this.t0=v?t.downTimes[t.downTimes.length-1]:b.t0;var k={interaction:t,event:n,action:u,phase:l,element:c,related:d,page:_,client:w,coords:y,starting:v,ending:g,deltaSource:h,iEvent:this};s.fire("set-xy",k),g?(this.pageX=b.pageX,this.pageY=b.pageY,this.clientX=b.clientX,this.clientY=b.clientY):(this.pageX=_.x,this.pageY=_.y,this.clientX=w.x,this.clientY=w.y),this.x0=t.startCoords.page.x-m.x,this.y0=t.startCoords.page.y-m.y,this.clientX0=t.startCoords.client.x-m.x,this.clientY0=t.startCoords.client.y-m.y,s.fire("set-delta",k),this.timeStamp=y.timeStamp,this.dt=t.pointerDelta.timeStamp,this.duration=this.timeStamp-this.t0,this.speed=t.pointerDelta[h].speed,this.velocityX=t.pointerDelta[h].vx,this.velocityY=t.pointerDelta[h].vy,this.swipe=g||"inertiastart"===l?this.getSwipe():null,s.fire("new",k)}return e.prototype.getSwipe=function(){var e=this.interaction;if(e.prevEvent.speed<600||this.timeStamp-e.prevEvent.timeStamp>150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI,n=22.5;t<0&&(t+=360);var r=135-n<=t&&t<225+n,i=225-n<=t&&t<315+n;return{up:i,down:!i&&45-n<=t&&t<135+n,left:r,right:!r&&(315-n<=t||t<45+n),angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}},e.prototype.preventDefault=function(){},e.prototype.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e}();s.on("set-delta",(function(e){var t=e.iEvent,n=e.interaction,r=e.starting,i=e.deltaSource,o=r?t:n.prevEvent;"client"===i?(t.dx=t.clientX-o.clientX,t.dy=t.clientY-o.clientY):(t.dx=t.pageX-o.pageX,t.dy=t.pageY-o.pageY)})),u.signals=s,t.exports=u},{"./defaultOptions":18,"./utils/Signals":34,"./utils/extend":41,"./utils/getOriginXY":42}],4:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./utils/clone"),o=e("./utils/is"),a=e("./utils/events"),s=e("./utils/extend"),u=e("./actions/base"),l=e("./scope"),c=e("./Eventable"),d=e("./defaultOptions"),f=e("./utils/Signals").new(),p=e("./utils/domUtils"),h=p.getElementRect,m=p.nodeContains,v=p.trySelector,g=p.matchesSelector,y=e("./utils/window").getWindow,b=e("./utils/arr").contains,_=e("./utils/browser").wheelEvent;l.interactables=[];var w=function(){function e(t,n){r(this,e),n=n||{},this.target=t,this.events=new c,this._context=n.context||l.document,this._win=y(v(t)?this._context:t),this._doc=this._win.document,f.fire("new",{target:t,options:n,interactable:this,win:this._win}),l.addDocument(this._doc,this._win),l.interactables.push(this),this.set(n)}return e.prototype.setOnEvents=function(e,t){var n="on"+e;return o.function(t.onstart)&&(this.events[n+"start"]=t.onstart),o.function(t.onmove)&&(this.events[n+"move"]=t.onmove),o.function(t.onend)&&(this.events[n+"end"]=t.onend),o.function(t.oninertiastart)&&(this.events[n+"inertiastart"]=t.oninertiastart),this},e.prototype.setPerAction=function(e,t){for(var n in t)n in d[e]&&(o.object(t[n])?(this.options[e][n]=i(this.options[e][n]||{}),s(this.options[e][n],t[n]),o.object(d.perAction[n])&&"enabled"in d.perAction[n]&&(this.options[e][n].enabled=!1!==t[n].enabled)):o.bool(t[n])&&o.object(d.perAction[n])?this.options[e][n].enabled=t[n]:void 0!==t[n]&&(this.options[e][n]=t[n]))},e.prototype.getRect=function(e){return e=e||this.target,o.string(this.target)&&!o.element(e)&&(e=this._context.querySelector(this.target)),h(e)},e.prototype.rectChecker=function(e){return o.function(e)?(this.getRect=e,this):null===e?(delete this.options.getRect,this):this.getRect},e.prototype._backCompatOption=function(e,t){if(v(t)||o.object(t)){this.options[e]=t;for(var n=0;n<u.names.length;n++){var r=u.names[n];this.options[r][e]=t}return this}return this.options[e]},e.prototype.origin=function(e){return this._backCompatOption("origin",e)},e.prototype.deltaSource=function(e){return"page"===e||"client"===e?(this.options.deltaSource=e,this):this.options.deltaSource},e.prototype.context=function(){return this._context},e.prototype.inContext=function(e){return this._context===e.ownerDocument||m(this._context,e)},e.prototype.fire=function(e){return this.events.fire(e),this},e.prototype._onOffMultiple=function(e,t,n,r){if(o.string(t)&&-1!==t.search(" ")&&(t=t.trim().split(/ +/)),o.array(t)){for(var i=0;i<t.length;i++){var a=t[i];this[e](a,n,r)}return!0}if(o.object(t)){for(var s in t)this[e](s,t[s],n);return!0}},e.prototype.on=function(t,n,r){return this._onOffMultiple("on",t,n,r)||("wheel"===t&&(t=_),b(e.eventTypes,t)?this.events.on(t,n):o.string(this.target)?a.addDelegate(this.target,this._context,t,n,r):a.add(this.target,t,n,r)),this},e.prototype.off=function(t,n,r){return this._onOffMultiple("off",t,n,r)||("wheel"===t&&(t=_),b(e.eventTypes,t)?this.events.off(t,n):o.string(this.target)?a.removeDelegate(this.target,this._context,t,n,r):a.remove(this.target,t,n,r)),this},e.prototype.set=function(t){o.object(t)||(t={}),this.options=i(d.base);var n=i(d.perAction);for(var r in u.methodDict){var a=u.methodDict[r];this.options[r]=i(d[r]),this.setPerAction(r,n),this[a](t[r])}for(var s=0;s<e.settingsMethods.length;s++){var l=e.settingsMethods[s];this.options[l]=d.base[l],l in t&&this[l](t[l])}return f.fire("set",{options:t,interactable:this}),this},e.prototype.unset=function(){if(a.remove(this.target,"all"),o.string(this.target))for(var e in a.delegatedEvents){var t=a.delegatedEvents[e];t.selectors[0]===this.target&&t.contexts[0]===this._context&&(t.selectors.splice(0,1),t.contexts.splice(0,1),t.listeners.splice(0,1),t.selectors.length||(t[e]=null)),a.remove(this._context,e,a.delegateListener),a.remove(this._context,e,a.delegateUseCapture,!0)}else a.remove(this,"all");f.fire("unset",{interactable:this}),l.interactables.splice(l.interactables.indexOf(this),1);for(var n=0;n<(l.interactions||[]).length;n++){var r=(l.interactions||[])[n];r.target===this&&r.interacting()&&!r._ending&&r.stop()}return l.interact},e}();l.interactables.indexOfElement=function(e,t){t=t||l.document;for(var n=0;n<this.length;n++){var r=this[n];if(r.target===e&&r._context===t)return n}return-1},l.interactables.get=function(e,t,n){var r=this[this.indexOfElement(e,t&&t.context)];return r&&(o.string(e)||n||r.inContext(e))?r:null},l.interactables.forEachMatch=function(e,t){for(var n=0;n<this.length;n++){var r=this[n],i=void 0;if((o.string(r.target)?o.element(e)&&g(e,r.target):e===r.target)&&r.inContext(e)&&(i=t(r)),void 0!==i)return i}},w.eventTypes=l.eventTypes=[],w.signals=f,w.settingsMethods=["deltaSource","origin","preventDefault","rectChecker"],t.exports=w},{"./Eventable":2,"./actions/base":6,"./defaultOptions":18,"./scope":33,"./utils/Signals":34,"./utils/arr":35,"./utils/browser":36,"./utils/clone":37,"./utils/domUtils":39,"./utils/events":40,"./utils/extend":41,"./utils/is":46,"./utils/window":52}],5:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("./scope"),o=e("./utils"),a=e("./utils/events"),s=e("./utils/browser"),u=e("./utils/domObjects"),l=e("./utils/interactionFinder"),c=e("./utils/Signals").new(),d={},f=["pointerDown","pointerMove","pointerUp","updatePointer","removePointer"],p=0;i.interactions=[];for(var h=function(){function e(t){var n=t.pointerType;r(this,e),this.target=null,this.element=null,this.prepared={name:null,axis:null,edges:null},this.pointers=[],this.pointerIds=[],this.downTargets=[],this.downTimes=[],this.prevCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.curCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.startCoords={page:{x:0,y:0},client:{x:0,y:0},timeStamp:0},this.pointerDelta={page:{x:0,y:0,vx:0,vy:0,speed:0},client:{x:0,y:0,vx:0,vy:0,speed:0},timeStamp:0},this.downEvent=null,this.downPointer={},this._eventTarget=null,this._curEventTarget=null,this.prevEvent=null,this.pointerIsDown=!1,this.pointerWasMoved=!1,this._interacting=!1,this._ending=!1,this.pointerType=n,c.fire("new",this),i.interactions.push(this)}return e.prototype.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,!0);c.fire("down",{pointer:e,event:t,eventTarget:n,pointerIndex:r,interaction:this})},e.prototype.start=function(e,t,n){this.interacting()||!this.pointerIsDown||this.pointerIds.length<("gesture"===e.name?2:1)||(-1===i.interactions.indexOf(this)&&i.interactions.push(this),o.copyAction(this.prepared,e),this.target=t,this.element=n,c.fire("action-start",{interaction:this,event:this.downEvent}))},e.prototype.pointerMove=function(t,n,r){this.simulation||(this.updatePointer(t),o.setCoords(this.curCoords,this.pointers));var i=this.curCoords.page.x===this.prevCoords.page.x&&this.curCoords.page.y===this.prevCoords.page.y&&this.curCoords.client.x===this.prevCoords.client.x&&this.curCoords.client.y===this.prevCoords.client.y,a=void 0,s=void 0;this.pointerIsDown&&!this.pointerWasMoved&&(a=this.curCoords.client.x-this.startCoords.client.x,s=this.curCoords.client.y-this.startCoords.client.y,this.pointerWasMoved=o.hypot(a,s)>e.pointerMoveTolerance);var u={pointer:t,pointerIndex:this.getPointerIndex(t),event:n,eventTarget:r,dx:a,dy:s,duplicate:i,interaction:this,interactingBeforeMove:this.interacting()};i||o.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords),c.fire("move",u),i||(this.interacting()&&this.doMove(u),this.pointerWasMoved&&o.copyCoords(this.prevCoords,this.curCoords))},e.prototype.doMove=function(e){e=o.extend({pointer:this.pointers[0],event:this.prevEvent,eventTarget:this._eventTarget,interaction:this},e||{}),c.fire("before-action-move",e),this._dontFireMove||c.fire("action-move",e),this._dontFireMove=!1},e.prototype.pointerUp=function(e,t,n,r){var i=this.getPointerIndex(e);c.fire(/cancel$/i.test(t.type)?"cancel":"up",{pointer:e,pointerIndex:i,event:t,eventTarget:n,curEventTarget:r,interaction:this}),this.simulation||this.end(t),this.pointerIsDown=!1,this.removePointer(e,t)},e.prototype.end=function(e){this._ending=!0,e=e||this.prevEvent,this.interacting()&&c.fire("action-end",{event:e,interaction:this}),this.stop(),this._ending=!1},e.prototype.currentAction=function(){return this._interacting?this.prepared.name:null},e.prototype.interacting=function(){return this._interacting},e.prototype.stop=function(){c.fire("stop",{interaction:this}),this._interacting&&(c.fire("stop-active",{interaction:this}),c.fire("stop-"+this.prepared.name,{interaction:this})),this.target=this.element=null,this._interacting=!1,this.prepared.name=this.prevEvent=null},e.prototype.getPointerIndex=function(e){return"mouse"===this.pointerType||"pen"===this.pointerType?0:this.pointerIds.indexOf(o.getPointerId(e))},e.prototype.updatePointer=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t&&/(down|start)$/i.test(t.type),r=o.getPointerId(e),i=this.getPointerIndex(e);return-1===i&&(i=this.pointerIds.length,this.pointerIds[i]=r),n&&c.fire("update-pointer-down",{pointer:e,event:t,down:n,pointerId:r,pointerIndex:i,interaction:this}),this.pointers[i]=e,i},e.prototype.removePointer=function(e,t){var n=this.getPointerIndex(e);-1!==n&&(c.fire("remove-pointer",{pointer:e,event:t,pointerIndex:n,interaction:this}),this.pointers.splice(n,1),this.pointerIds.splice(n,1),this.downTargets.splice(n,1),this.downTimes.splice(n,1))},e.prototype._updateEventTargets=function(e,t){this._eventTarget=e,this._curEventTarget=t},e}(),m=0;m<f.length;m++){var v=f[m];d[v]=g(v)}function g(e){return function(t){var n=o.getPointerType(t),r=o.getEventTargets(t),a=r[0],u=r[1],c=[];if(s.supportsTouch&&/touch/.test(t.type)){p=(new Date).getTime();for(var d=0;d<t.changedTouches.length;d++){var f=t.changedTouches[d],m=l.search(f,t.type,a);c.push([f,m||new h({pointerType:n})])}}else{var v=!1;if(!s.supportsPointerEvent&&/mouse/.test(t.type)){for(var g=0;g<i.interactions.length&&!v;g++)v="mouse"!==i.interactions[g].pointerType&&i.interactions[g].pointerIsDown;v=v||(new Date).getTime()-p<500||0===t.timeStamp}if(!v){var y=l.search(t,t.type,a);y||(y=new h({pointerType:n})),c.push([t,y])}}for(var b=0;b<c.length;b++){var _=c[b],w=_[0],k=_[1];k._updateEventTargets(a,u),k[e](w,t,a,u)}}}function y(e){for(var t=0;t<i.interactions.length;t++){var n=i.interactions[t];n.end(e),c.fire("endall",{event:e,interaction:n})}}var b={},_=s.pEventTypes;function w(e,t){var n=e.doc,r=0===t.indexOf("add")?a.add:a.remove;for(var o in i.delegatedEvents)r(n,o,a.delegateListener),r(n,o,a.delegateUseCapture,!0);for(var u in b)r(n,u,b[u],s.isIOS?{passive:!1}:void 0)}u.PointerEvent?(b[_.down]=d.pointerDown,b[_.move]=d.pointerMove,b[_.up]=d.pointerUp,b[_.cancel]=d.pointerUp):(b.mousedown=d.pointerDown,b.mousemove=d.pointerMove,b.mouseup=d.pointerUp,b.touchstart=d.pointerDown,b.touchmove=d.pointerMove,b.touchend=d.pointerUp,b.touchcancel=d.pointerUp),b.blur=y,c.on("update-pointer-down",(function(e){var t=e.interaction,n=e.pointer,r=e.pointerId,i=e.pointerIndex,a=e.event,s=e.eventTarget,u=e.down;t.pointerIds[i]=r,t.pointers[i]=n,u&&(t.pointerIsDown=!0),t.interacting()||(o.setCoords(t.startCoords,t.pointers),o.copyCoords(t.curCoords,t.startCoords),o.copyCoords(t.prevCoords,t.startCoords),t.downEvent=a,t.downTimes[i]=t.curCoords.timeStamp,t.downTargets[i]=s||a&&o.getEventTargets(a)[0],t.pointerWasMoved=!1,o.pointerExtend(t.downPointer,n))})),i.signals.on("add-document",w),i.signals.on("remove-document",w),h.pointerMoveTolerance=1,h.doOnInteractions=g,h.endAll=y,h.signals=c,h.docEvents=b,i.endAllInteractions=y,t.exports=h},{"./scope":33,"./utils":44,"./utils/Signals":34,"./utils/browser":36,"./utils/domObjects":38,"./utils/events":40,"./utils/interactionFinder":45}],6:[function(e,t,n){"use strict";var r=e("../Interaction"),i=e("../InteractEvent"),o={firePrepared:a,names:[],methodDict:{}};function a(e,t,n,r){var o=e.prepared.name,a=new i(e,t,o,n,e.element,null,r);e.target.fire(a),e.prevEvent=a}r.signals.on("action-start",(function(e){var t=e.interaction,n=e.event;t._interacting=!0,a(t,n,"start")})),r.signals.on("action-move",(function(e){var t=e.interaction;if(a(t,e.event,"move",e.preEnd),!t.interacting())return!1})),r.signals.on("action-end",(function(e){a(e.interaction,e.event,"end")})),t.exports=o},{"../InteractEvent":3,"../Interaction":5}],7:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../InteractEvent"),a=e("../Interactable"),s=e("../Interaction"),u=e("../defaultOptions"),l={defaults:{enabled:!1,mouseButtons:null,origin:null,snap:null,restrict:null,inertia:null,autoScroll:null,startAxis:"xy",lockAxis:"xy"},checker:function(e,t,n){var r=n.options.drag;return r.enabled?{name:"drag",axis:"start"===r.lockAxis?r.startAxis:r.lockAxis}:null},getCursor:function(){return"move"}};s.signals.on("before-action-move",(function(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.prepared.axis;"x"===n?(t.curCoords.page.y=t.startCoords.page.y,t.curCoords.client.y=t.startCoords.client.y,t.pointerDelta.page.speed=Math.abs(t.pointerDelta.page.vx),t.pointerDelta.client.speed=Math.abs(t.pointerDelta.client.vx),t.pointerDelta.client.vy=0,t.pointerDelta.page.vy=0):"y"===n&&(t.curCoords.page.x=t.startCoords.page.x,t.curCoords.client.x=t.startCoords.client.x,t.pointerDelta.page.speed=Math.abs(t.pointerDelta.page.vy),t.pointerDelta.client.speed=Math.abs(t.pointerDelta.client.vy),t.pointerDelta.client.vx=0,t.pointerDelta.page.vx=0)}})),o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;if("dragmove"===t.type){var r=n.prepared.axis;"x"===r?(t.pageY=n.startCoords.page.y,t.clientY=n.startCoords.client.y,t.dy=0):"y"===r&&(t.pageX=n.startCoords.page.x,t.clientX=n.startCoords.client.x,t.dx=0)}})),a.prototype.draggable=function(e){return i.is.object(e)?(this.options.drag.enabled=!1!==e.enabled,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):i.is.bool(e)?(this.options.drag.enabled=e,e||(this.ondragstart=this.ondragstart=this.ondragend=null),this):this.options.drag},r.drag=l,r.names.push("drag"),i.merge(a.eventTypes,["dragstart","dragmove","draginertiastart","draginertiaresume","dragend"]),r.methodDict.drag="draggable",u.drag=l.defaults,t.exports=l},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"./base":6}],8:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../scope"),a=e("../interact"),s=e("../InteractEvent"),u=e("../Interactable"),l=e("../Interaction"),c=e("../defaultOptions"),d={defaults:{enabled:!1,accept:null,overlap:"pointer"}},f=!1;function p(e,t){for(var n=[],r=[],a=0;a<o.interactables.length;a++){var s=o.interactables[a];if(s.options.drop.enabled){var u=s.options.drop.accept;if(!(i.is.element(u)&&u!==t||i.is.string(u)&&!i.matchesSelector(t,u)))for(var l=i.is.string(s.target)?s._context.querySelectorAll(s.target):[s.target],c=0;c<l.length;c++){var d=l[c];d!==t&&(n.push(s),r.push(d))}}}return{elements:r,dropzones:n}}function h(e,t){for(var n=void 0,r=0;r<e.dropzones.length;r++){var i=e.dropzones[r],o=e.elements[r];o!==n&&(t.target=o,i.fire(t)),n=o}}function m(e,t){var n=p(e,t);e.dropzones=n.dropzones,e.elements=n.elements,e.rects=[];for(var r=0;r<e.dropzones.length;r++)e.rects[r]=e.dropzones[r].getRect(e.elements[r])}function v(e,t,n){var r=e.interaction,o=[];f&&m(r.activeDrops,n);for(var a=0;a<r.activeDrops.dropzones.length;a++){var s=r.activeDrops.dropzones[a],u=r.activeDrops.elements[a],l=r.activeDrops.rects[a];o.push(s.dropCheck(e,t,r.target,n,u,l)?u:null)}var c=i.indexOfDeepestElement(o);return{dropzone:r.activeDrops.dropzones[c]||null,element:r.activeDrops.elements[c]||null}}function g(e,t,n){var r={enter:null,leave:null,activate:null,deactivate:null,move:null,drop:null},o={dragEvent:n,interaction:e,target:e.dropElement,dropzone:e.dropTarget,relatedTarget:n.target,draggable:n.interactable,timeStamp:n.timeStamp};return e.dropElement!==e.prevDropElement&&(e.prevDropTarget&&(r.leave=i.extend({type:"dragleave"},o),n.dragLeave=r.leave.target=e.prevDropElement,n.prevDropzone=r.leave.dropzone=e.prevDropTarget),e.dropTarget&&(r.enter={dragEvent:n,interaction:e,target:e.dropElement,dropzone:e.dropTarget,relatedTarget:n.target,draggable:n.interactable,timeStamp:n.timeStamp,type:"dragenter"},n.dragEnter=e.dropElement,n.dropzone=e.dropTarget)),"dragend"===n.type&&e.dropTarget&&(r.drop=i.extend({type:"drop"},o),n.dropzone=e.dropTarget,n.relatedTarget=e.dropElement),"dragstart"===n.type&&(r.activate=i.extend({type:"dropactivate"},o),r.activate.target=null,r.activate.dropzone=null),"dragend"===n.type&&(r.deactivate=i.extend({type:"dropdeactivate"},o),r.deactivate.target=null,r.deactivate.dropzone=null),"dragmove"===n.type&&e.dropTarget&&(r.move=i.extend({dragmove:n,type:"dropmove"},o),n.dropzone=e.dropTarget),r}function y(e,t){var n=e.activeDrops,r=e.prevDropTarget,i=e.dropTarget,o=e.dropElement;t.leave&&r.fire(t.leave),t.move&&i.fire(t.move),t.enter&&i.fire(t.enter),t.drop&&i.fire(t.drop),t.deactivate&&h(n,t.deactivate),e.prevDropTarget=i,e.prevDropElement=o}l.signals.on("action-start",(function(e){var t=e.interaction,n=e.event;if("drag"===t.prepared.name){t.activeDrops.dropzones=[],t.activeDrops.elements=[],t.activeDrops.rects=[],t.dropEvents=null,t.dynamicDrop||m(t.activeDrops,t.element);var r=g(t,n,t.prevEvent);r.activate&&h(t.activeDrops,r.activate)}})),s.signals.on("new",(function(e){var t=e.interaction,n=e.iEvent,r=e.event;if("dragmove"===n.type||"dragend"===n.type){var i=n,o=v(i,r,t.element);t.dropTarget=o.dropzone,t.dropElement=o.element,t.dropEvents=g(t,r,i)}})),l.signals.on("action-move",(function(e){var t=e.interaction;"drag"===t.prepared.name&&y(t,t.dropEvents)})),l.signals.on("action-end",(function(e){var t=e.interaction;"drag"===t.prepared.name&&y(t,t.dropEvents)})),l.signals.on("stop-drag",(function(e){var t=e.interaction;t.activeDrops={dropzones:null,elements:null,rects:null},t.dropEvents=null})),u.prototype.dropzone=function(e){return i.is.object(e)?(this.options.drop.enabled=!1!==e.enabled,i.is.function(e.ondrop)&&(this.events.ondrop=e.ondrop),i.is.function(e.ondropactivate)&&(this.events.ondropactivate=e.ondropactivate),i.is.function(e.ondropdeactivate)&&(this.events.ondropdeactivate=e.ondropdeactivate),i.is.function(e.ondragenter)&&(this.events.ondragenter=e.ondragenter),i.is.function(e.ondragleave)&&(this.events.ondragleave=e.ondragleave),i.is.function(e.ondropmove)&&(this.events.ondropmove=e.ondropmove),/^(pointer|center)$/.test(e.overlap)?this.options.drop.overlap=e.overlap:i.is.number(e.overlap)&&(this.options.drop.overlap=Math.max(Math.min(1,e.overlap),0)),"accept"in e&&(this.options.drop.accept=e.accept),"checker"in e&&(this.options.drop.checker=e.checker),this):i.is.bool(e)?(this.options.drop.enabled=e,e||(this.ondragenter=this.ondragleave=this.ondrop=this.ondropactivate=this.ondropdeactivate=null),this):this.options.drop},u.prototype.dropCheck=function(e,t,n,r,o,a){var s=!1;if(!(a=a||this.getRect(o)))return!!this.options.drop.checker&&this.options.drop.checker(e,t,s,this,o,n,r);var u=this.options.drop.overlap;if("pointer"===u){var l=i.getOriginXY(n,r,"drag"),c=i.getPageXY(e);c.x+=l.x,c.y+=l.y;var d=c.x>a.left&&c.x<a.right,f=c.y>a.top&&c.y<a.bottom;s=d&&f}var p=n.getRect(r);if(p&&"center"===u){var h=p.left+p.width/2,m=p.top+p.height/2;s=h>=a.left&&h<=a.right&&m>=a.top&&m<=a.bottom}return p&&i.is.number(u)&&(s=Math.max(0,Math.min(a.right,p.right)-Math.max(a.left,p.left))*Math.max(0,Math.min(a.bottom,p.bottom)-Math.max(a.top,p.top))/(p.width*p.height)>=u),this.options.drop.checker&&(s=this.options.drop.checker(e,t,s,this,o,n,r)),s},u.signals.on("unset",(function(e){e.interactable.dropzone(!1)})),u.settingsMethods.push("dropChecker"),l.signals.on("new",(function(e){e.dropTarget=null,e.dropElement=null,e.prevDropTarget=null,e.prevDropElement=null,e.dropEvents=null,e.activeDrops={dropzones:[],elements:[],rects:[]}})),l.signals.on("stop",(function(e){var t=e.interaction;t.dropTarget=t.dropElement=t.prevDropTarget=t.prevDropElement=null})),a.dynamicDrop=function(e){return i.is.bool(e)?(f=e,a):f},i.merge(u.eventTypes,["dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop"]),r.methodDict.drop="dropzone",c.drop=d.defaults,t.exports=d},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../interact":21,"../scope":33,"../utils":44,"./base":6}],9:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../InteractEvent"),a=e("../Interactable"),s=e("../Interaction"),u=e("../defaultOptions"),l={defaults:{enabled:!1,origin:null,restrict:null},checker:function(e,t,n,r,i){return i.pointerIds.length>=2?{name:"gesture"}:null},getCursor:function(){return""}};o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;"gesturestart"===t.type&&(t.ds=0,n.gesture.startDistance=n.gesture.prevDistance=t.distance,n.gesture.startAngle=n.gesture.prevAngle=t.angle,n.gesture.scale=1)})),o.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;"gesturemove"===t.type&&(t.ds=t.scale-n.gesture.scale,n.target.fire(t),n.gesture.prevAngle=t.angle,n.gesture.prevDistance=t.distance,t.scale===1/0||null===t.scale||void 0===t.scale||isNaN(t.scale)||(n.gesture.scale=t.scale))})),a.prototype.gesturable=function(e){return i.is.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):i.is.bool(e)?(this.options.gesture.enabled=e,e||(this.ongesturestart=this.ongesturestart=this.ongestureend=null),this):this.options.gesture},o.signals.on("set-delta",(function(e){var t=e.interaction,n=e.iEvent,r=e.action,a=e.event,s=e.starting,u=e.ending,l=e.deltaSource;if("gesture"===r){var c=t.pointers;n.touches=[c[0],c[1]],s?(n.distance=i.touchDistance(c,l),n.box=i.touchBBox(c),n.scale=1,n.ds=0,n.angle=i.touchAngle(c,void 0,l),n.da=0):u||a instanceof o?(n.distance=t.prevEvent.distance,n.box=t.prevEvent.box,n.scale=t.prevEvent.scale,n.ds=n.scale-1,n.angle=t.prevEvent.angle,n.da=n.angle-t.gesture.startAngle):(n.distance=i.touchDistance(c,l),n.box=i.touchBBox(c),n.scale=n.distance/t.gesture.startDistance,n.angle=i.touchAngle(c,t.gesture.prevAngle,l),n.ds=n.scale-t.gesture.prevScale,n.da=n.angle-t.gesture.prevAngle)}})),s.signals.on("new",(function(e){e.gesture={start:{x:0,y:0},startDistance:0,prevDistance:0,distance:0,scale:1,startAngle:0,prevAngle:0}})),r.gesture=l,r.names.push("gesture"),i.merge(a.eventTypes,["gesturestart","gesturemove","gestureend"]),r.methodDict.gesture="gesturable",u.gesture=l.defaults,t.exports=l},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"./base":6}],10:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../utils/browser"),a=e("../InteractEvent"),s=e("../Interactable"),u=e("../Interaction"),l=e("../defaultOptions"),c=o.supportsTouch||o.supportsPointerEvent?20:10,d={defaults:{enabled:!1,mouseButtons:null,origin:null,snap:null,restrict:null,inertia:null,autoScroll:null,square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},checker:function(e,t,n,r,o,a){if(!a)return null;var s=i.extend({},o.curCoords.page),u=n.options;if(u.resize.enabled){var l=u.resize,d={left:!1,right:!1,top:!1,bottom:!1};if(i.is.object(l.edges)){for(var p in d)d[p]=f(p,l.edges[p],s,o._eventTarget,r,a,l.margin||c);if(d.left=d.left&&!d.right,d.top=d.top&&!d.bottom,d.left||d.right||d.top||d.bottom)return{name:"resize",edges:d}}else{var h="y"!==u.resize.axis&&s.x>a.right-c,m="x"!==u.resize.axis&&s.y>a.bottom-c;if(h||m)return{name:"resize",axes:(h?"x":"")+(m?"y":"")}}}return null},cursors:o.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"},getCursor:function(e){if(e.axis)return d.cursors[e.name+e.axis];if(e.edges){for(var t="",n=["top","bottom","left","right"],r=0;r<4;r++)e.edges[n[r]]&&(t+=n[r]);return d.cursors[t]}}};function f(e,t,n,r,o,a,s){if(!t)return!1;if(!0===t){var u=i.is.number(a.width)?a.width:a.right-a.left,l=i.is.number(a.height)?a.height:a.bottom-a.top;if(u<0&&("left"===e?e="right":"right"===e&&(e="left")),l<0&&("top"===e?e="bottom":"bottom"===e&&(e="top")),"left"===e)return n.x<(u>=0?a.left:a.right)+s;if("top"===e)return n.y<(l>=0?a.top:a.bottom)+s;if("right"===e)return n.x>(u>=0?a.right:a.left)-s;if("bottom"===e)return n.y>(l>=0?a.bottom:a.top)-s}return!!i.is.element(r)&&(i.is.element(t)?t===r:i.matchesUpTo(r,t,o))}a.signals.on("new",(function(e){var t=e.iEvent,n=e.interaction;if("resizestart"===t.type&&n.prepared.edges){var r=n.target.getRect(n.element),o=n.target.options.resize;if(o.square||o.preserveAspectRatio){var a=i.extend({},n.prepared.edges);a.top=a.top||a.left&&!a.bottom,a.left=a.left||a.top&&!a.right,a.bottom=a.bottom||a.right&&!a.top,a.right=a.right||a.bottom&&!a.left,n.prepared._linkedEdges=a}else n.prepared._linkedEdges=null;o.preserveAspectRatio&&(n.resizeStartAspectRatio=r.width/r.height),n.resizeRects={start:r,current:i.extend({},r),inverted:i.extend({},r),previous:i.extend({},r),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta}})),a.signals.on("new",(function(e){var t=e.iEvent,n=e.phase,r=e.interaction;if("move"===n&&r.prepared.edges){var o=r.target.options.resize,a=o.invert,s="reposition"===a||"negate"===a,u=r.prepared.edges,l=r.resizeRects.start,c=r.resizeRects.current,d=r.resizeRects.inverted,f=r.resizeRects.delta,p=i.extend(r.resizeRects.previous,d),h=u,m=t.dx,v=t.dy;if(o.preserveAspectRatio||o.square){var g=o.preserveAspectRatio?r.resizeStartAspectRatio:1;u=r.prepared._linkedEdges,h.left&&h.bottom||h.right&&h.top?v=-m/g:h.left||h.right?v=m/g:(h.top||h.bottom)&&(m=v*g)}if(u.top&&(c.top+=v),u.bottom&&(c.bottom+=v),u.left&&(c.left+=m),u.right&&(c.right+=m),s){if(i.extend(d,c),"reposition"===a){var y=void 0;d.top>d.bottom&&(y=d.top,d.top=d.bottom,d.bottom=y),d.left>d.right&&(y=d.left,d.left=d.right,d.right=y)}}else d.top=Math.min(c.top,l.bottom),d.bottom=Math.max(c.bottom,l.top),d.left=Math.min(c.left,l.right),d.right=Math.max(c.right,l.left);for(var b in d.width=d.right-d.left,d.height=d.bottom-d.top,d)f[b]=d[b]-p[b];t.edges=r.prepared.edges,t.rect=d,t.deltaRect=f}})),s.prototype.resizable=function(e){return i.is.object(e)?(this.options.resize.enabled=!1!==e.enabled,this.setPerAction("resize",e),this.setOnEvents("resize",e),/^x$|^y$|^xy$/.test(e.axis)?this.options.resize.axis=e.axis:null===e.axis&&(this.options.resize.axis=l.resize.axis),i.is.bool(e.preserveAspectRatio)?this.options.resize.preserveAspectRatio=e.preserveAspectRatio:i.is.bool(e.square)&&(this.options.resize.square=e.square),this):i.is.bool(e)?(this.options.resize.enabled=e,e||(this.onresizestart=this.onresizestart=this.onresizeend=null),this):this.options.resize},u.signals.on("new",(function(e){e.resizeAxes="xy"})),a.signals.on("set-delta",(function(e){var t=e.interaction,n=e.iEvent;"resize"===e.action&&t.resizeAxes&&(t.target.options.resize.square?("y"===t.resizeAxes?n.dx=n.dy:n.dy=n.dx,n.axes="xy"):(n.axes=t.resizeAxes,"x"===t.resizeAxes?n.dy=0:"y"===t.resizeAxes&&(n.dx=0)))})),r.resize=d,r.names.push("resize"),i.merge(s.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeinertiaresume","resizeend"]),r.methodDict.resize="resizable",l.resize=d.defaults,t.exports=d},{"../InteractEvent":3,"../Interactable":4,"../Interaction":5,"../defaultOptions":18,"../utils":44,"../utils/browser":36,"./base":6}],11:[function(e,t,n){"use strict";var r=e("./utils/raf"),i=e("./utils/window").getWindow,o=e("./utils/is"),a=e("./utils/domUtils"),s=e("./Interaction"),u=e("./defaultOptions"),l={defaults:{enabled:!1,container:null,margin:60,speed:300},interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,start:function(e){l.isScrolling=!0,r.cancel(l.i),l.interaction=e,l.prevTime=(new Date).getTime(),l.i=r.request(l.scroll)},stop:function(){l.isScrolling=!1,r.cancel(l.i)},scroll:function(){var e=l.interaction.target.options[l.interaction.prepared.name].autoScroll,t=e.container||i(l.interaction.element),n=(new Date).getTime(),a=(n-l.prevTime)/1e3,s=e.speed*a;s>=1&&(o.window(t)?t.scrollBy(l.x*s,l.y*s):t&&(t.scrollLeft+=l.x*s,t.scrollTop+=l.y*s),l.prevTime=n),l.isScrolling&&(r.cancel(l.i),l.i=r.request(l.scroll))},check:function(e,t){var n=e.options;return n[t].autoScroll&&n[t].autoScroll.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&l.check(t.target,t.prepared.name))if(t.simulation)l.x=l.y=0;else{var r=void 0,s=void 0,u=void 0,c=void 0,d=t.target.options[t.prepared.name].autoScroll,f=d.container||i(t.element);if(o.window(f))c=n.clientX<l.margin,r=n.clientY<l.margin,s=n.clientX>f.innerWidth-l.margin,u=n.clientY>f.innerHeight-l.margin;else{var p=a.getElementClientRect(f);c=n.clientX<p.left+l.margin,r=n.clientY<p.top+l.margin,s=n.clientX>p.right-l.margin,u=n.clientY>p.bottom-l.margin}l.x=s?1:c?-1:0,l.y=u?1:r?-1:0,l.isScrolling||(l.margin=d.margin,l.speed=d.speed,l.start(t))}}};s.signals.on("stop-active",(function(){l.stop()})),s.signals.on("action-move",l.onInteractionMove),u.perAction.autoScroll=l.defaults,t.exports=l},{"./Interaction":5,"./defaultOptions":18,"./utils/domUtils":39,"./utils/is":46,"./utils/raf":50,"./utils/window":52}],12:[function(e,t,n){"use strict";var r=e("../Interactable"),i=e("../actions/base"),o=e("../utils/is"),a=e("../utils/domUtils"),s=e("../utils").warnOnce;r.prototype.getAction=function(e,t,n,r){var i=this.defaultActionChecker(e,t,n,r);return this.options.actionChecker?this.options.actionChecker(e,t,i,this,r,n):i},r.prototype.ignoreFrom=s((function(e){return this._backCompatOption("ignoreFrom",e)}),"Interactable.ignoreForm() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),r.prototype.allowFrom=s((function(e){return this._backCompatOption("allowFrom",e)}),"Interactable.allowForm() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),r.prototype.testIgnore=function(e,t,n){return!(!e||!o.element(n))&&(o.string(e)?a.matchesUpTo(n,e,t):!!o.element(e)&&a.nodeContains(e,n))},r.prototype.testAllow=function(e,t,n){return!e||!!o.element(n)&&(o.string(e)?a.matchesUpTo(n,e,t):!!o.element(e)&&a.nodeContains(e,n))},r.prototype.testIgnoreAllow=function(e,t,n){return!this.testIgnore(e.ignoreFrom,t,n)&&this.testAllow(e.allowFrom,t,n)},r.prototype.actionChecker=function(e){return o.function(e)?(this.options.actionChecker=e,this):null===e?(delete this.options.actionChecker,this):this.options.actionChecker},r.prototype.styleCursor=function(e){return o.bool(e)?(this.options.styleCursor=e,this):null===e?(delete this.options.styleCursor,this):this.options.styleCursor},r.prototype.defaultActionChecker=function(e,t,n,r){for(var o=this.getRect(r),a=t.buttons||{0:1,1:4,3:8,4:16}[t.button],s=null,u=0;u<i.names.length;u++){var l=i.names[u];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(a&this.options[l].mouseButtons))&&(s=i[l].checker(e,t,this,r,n,o)))return s}}},{"../Interactable":4,"../actions/base":6,"../utils":44,"../utils/domUtils":39,"../utils/is":46}],13:[function(e,t,n){"use strict";var r=e("../interact"),i=e("../Interactable"),o=e("../Interaction"),a=e("../actions/base"),s=e("../defaultOptions"),u=e("../scope"),l=e("../utils"),c=e("../utils/Signals").new();e("./InteractableMethods");var d={signals:c,withinInteractionLimit:v,maxInteractions:1/0,defaults:{perAction:{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}},setActionDefaults:function(e){l.extend(e.defaults,d.defaults.perAction)},validateAction:f};function f(e,t,n,r){return l.is.object(e)&&t.testIgnoreAllow(t.options[e.name],n,r)&&t.options[e.name].enabled&&v(t,n,e)?e:null}function p(e,t,n,r,i,o){for(var a=0,s=r.length;a<s;a++){var u=r[a],l=i[a],c=f(u.getAction(t,n,e,l),u,l,o);if(c)return{action:c,target:u,element:l}}return{}}function h(e,t,n,r){var i=[],o=[],a=r;function s(e){i.push(e),o.push(a)}for(;l.is.element(a);){i=[],o=[],u.interactables.forEachMatch(a,s);var c=p(e,t,n,i,o,r);if(c.action&&!c.target.options[c.action.name].manualStart)return c;a=l.parentNode(a)}return{}}function m(e,t){var n=t.action,r=t.target,i=t.element;if(n=n||{},e.target&&e.target.options.styleCursor&&(e.target._doc.documentElement.style.cursor=""),e.target=r,e.element=i,l.copyAction(e.prepared,n),r&&r.options.styleCursor){var o=n?a[n.name].getCursor(n):"";e.target._doc.documentElement.style.cursor=o}c.fire("prepared",{interaction:e})}function v(e,t,n){var r=e.options,i=r[n.name].max,o=r[n.name].maxPerElement,a=0,s=0,l=0;if(i&&o&&d.maxInteractions){for(var c=0;c<u.interactions.length;c++){var f=u.interactions[c],p=f.prepared.name;if(f.interacting()){if(++a>=d.maxInteractions)return!1;if(f.target===e){if((s+=p===n.name|0)>=i)return!1;if(f.element===t&&(l++,p!==n.name||l>=o))return!1}}}return d.maxInteractions>0}}o.signals.on("down",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.interacting()||m(t,h(t,n,r,i))})),o.signals.on("move",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;"mouse"!==t.pointerType||t.pointerIsDown||t.interacting()||m(t,h(t,n,r,i))})),o.signals.on("move",(function(e){var t=e.interaction,n=e.event;if(t.pointerIsDown&&!t.interacting()&&t.pointerWasMoved&&t.prepared.name){c.fire("before-start",e);var r=t.target;t.prepared.name&&r&&(r.options[t.prepared.name].manualStart||!v(r,t.element,t.prepared)?t.stop(n):t.start(t.prepared,r,t.element))}})),o.signals.on("stop",(function(e){var t=e.interaction.target;t&&t.options.styleCursor&&(t._doc.documentElement.style.cursor="")})),r.maxInteractions=function(e){return l.is.number(e)?(d.maxInteractions=e,r):d.maxInteractions},i.settingsMethods.push("styleCursor"),i.settingsMethods.push("actionChecker"),i.settingsMethods.push("ignoreFrom"),i.settingsMethods.push("allowFrom"),s.base.actionChecker=null,s.base.styleCursor=!0,l.extend(s.perAction,d.defaults.perAction),t.exports=d},{"../Interactable":4,"../Interaction":5,"../actions/base":6,"../defaultOptions":18,"../interact":21,"../scope":33,"../utils":44,"../utils/Signals":34,"./InteractableMethods":12}],14:[function(e,t,n){"use strict";var r=e("./base"),i=e("../scope"),o=e("../utils/is"),a=e("../utils/domUtils").parentNode;function s(e,t){if(!t)return!1;var n=t.options.drag.startAxis;return"xy"===e||"xy"===n||n===e}r.setActionDefaults(e("../actions/drag")),r.signals.on("before-start",(function(e){var t=e.interaction,n=e.eventTarget,u=e.dx,l=e.dy;if("drag"===t.prepared.name){var c=Math.abs(u),d=Math.abs(l),f=t.target.options.drag,p=f.startAxis,h=c>d?"x":c<d?"y":"xy";if(t.prepared.axis="start"===f.lockAxis?h[0]:f.lockAxis,"xy"!==h&&"xy"!==p&&p!==h){t.prepared.name=null;for(var m=n,v=function(e){if(e!==t.target){var i=t.target.options.drag;if(!i.manualStart&&e.testIgnoreAllow(i,m,n)){var o=e.getAction(t.downPointer,t.downEvent,t,m);if(o&&"drag"===o.name&&s(h,e)&&r.validateAction(o,e,m,n))return e}}};o.element(m);){var g=i.interactables.forEachMatch(m,v);if(g){t.prepared.name="drag",t.target=g,t.element=m;break}m=a(m)}}}}))},{"../actions/drag":7,"../scope":33,"../utils/domUtils":39,"../utils/is":46,"./base":13}],15:[function(e,t,n){"use strict";e("./base").setActionDefaults(e("../actions/gesture"))},{"../actions/gesture":9,"./base":13}],16:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interaction");function o(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.target.options;return n[t].hold||n[t].delay}r.defaults.perAction.hold=0,r.defaults.perAction.delay=0,i.signals.on("new",(function(e){e.autoStartHoldTimer=null})),r.signals.on("prepared",(function(e){var t=e.interaction,n=o(t);n>0&&(t.autoStartHoldTimer=setTimeout((function(){t.start(t.prepared,t.target,t.element)}),n))})),i.signals.on("move",(function(e){var t=e.interaction,n=e.duplicate;t.pointerWasMoved&&!n&&clearTimeout(t.autoStartHoldTimer)})),r.signals.on("before-start",(function(e){var t=e.interaction;o(t)>0&&(t.prepared.name=null)})),t.exports={getHoldDuration:o}},{"../Interaction":5,"./base":13}],17:[function(e,t,n){"use strict";e("./base").setActionDefaults(e("../actions/resize"))},{"../actions/resize":10,"./base":13}],18:[function(e,t,n){"use strict";t.exports={base:{accept:null,preventDefault:"auto",deltaSource:"page"},perAction:{origin:{x:0,y:0},inertia:{enabled:!1,resistance:10,minSpeed:100,endSpeed:10,allowResume:!0,smoothEndDuration:300}}}},{}],19:[function(e,t,n){"use strict";e("./inertia"),e("./modifiers/snap"),e("./modifiers/restrict"),e("./pointerEvents/base"),e("./pointerEvents/holdRepeat"),e("./pointerEvents/interactableTargets"),e("./autoStart/hold"),e("./actions/gesture"),e("./actions/resize"),e("./actions/drag"),e("./actions/drop"),e("./modifiers/snapSize"),e("./modifiers/restrictEdges"),e("./modifiers/restrictSize"),e("./autoStart/gesture"),e("./autoStart/resize"),e("./autoStart/drag"),e("./interactablePreventDefault.js"),e("./autoScroll"),t.exports=e("./interact")},{"./actions/drag":7,"./actions/drop":8,"./actions/gesture":9,"./actions/resize":10,"./autoScroll":11,"./autoStart/drag":14,"./autoStart/gesture":15,"./autoStart/hold":16,"./autoStart/resize":17,"./inertia":20,"./interact":21,"./interactablePreventDefault.js":22,"./modifiers/restrict":24,"./modifiers/restrictEdges":25,"./modifiers/restrictSize":26,"./modifiers/snap":27,"./modifiers/snapSize":28,"./pointerEvents/base":30,"./pointerEvents/holdRepeat":31,"./pointerEvents/interactableTargets":32}],20:[function(e,t,n){"use strict";var r=e("./InteractEvent"),i=e("./Interaction"),o=e("./modifiers/base"),a=e("./utils"),s=e("./utils/raf");function u(e,t){var n=e.target.options[e.prepared.name].inertia,r=n.resistance,i=-Math.log(n.endSpeed/t.v0)/r;t.x0=e.prevEvent.pageX,t.y0=e.prevEvent.pageY,t.t0=t.startEvent.timeStamp/1e3,t.sx=t.sy=0,t.modifiedXe=t.xe=(t.vx0-i)/r,t.modifiedYe=t.ye=(t.vy0-i)/r,t.te=i,t.lambda_v0=r/t.v0,t.one_ve_v0=1-n.endSpeed/t.v0}function l(){d(this),a.setCoordDeltas(this.pointerDelta,this.prevCoords,this.curCoords);var e=this.inertiaStatus,t=this.target.options[this.prepared.name].inertia.resistance,n=(new Date).getTime()/1e3-e.t0;if(n<e.te){var r=1-(Math.exp(-t*n)-e.lambda_v0)/e.one_ve_v0;if(e.modifiedXe===e.xe&&e.modifiedYe===e.ye)e.sx=e.xe*r,e.sy=e.ye*r;else{var i=a.getQuadraticCurvePoint(0,0,e.xe,e.ye,e.modifiedXe,e.modifiedYe,r);e.sx=i.x,e.sy=i.y}this.doMove(),e.i=s.request(this.boundInertiaFrame)}else e.sx=e.modifiedXe,e.sy=e.modifiedYe,this.doMove(),this.end(e.startEvent),e.active=!1,this.simulation=null;a.copyCoords(this.prevCoords,this.curCoords)}function c(){d(this);var e=this.inertiaStatus,t=(new Date).getTime()-e.t0,n=this.target.options[this.prepared.name].inertia.smoothEndDuration;t<n?(e.sx=a.easeOutQuad(t,0,e.xe,n),e.sy=a.easeOutQuad(t,0,e.ye,n),this.pointerMove(e.startEvent,e.startEvent),e.i=s.request(this.boundSmoothEndFrame)):(e.sx=e.xe,e.sy=e.ye,this.pointerMove(e.startEvent,e.startEvent),this.end(e.startEvent),e.smoothEnd=e.active=!1,this.simulation=null)}function d(e){var t=e.inertiaStatus;if(t.active){var n=t.upCoords.page,r=t.upCoords.client;a.setCoords(e.curCoords,[{pageX:n.x+t.sx,pageY:n.y+t.sy,clientX:r.x+t.sx,clientY:r.y+t.sy}])}}i.signals.on("new",(function(e){e.inertiaStatus={active:!1,smoothEnd:!1,allowResume:!1,startEvent:null,upCoords:{},xe:0,ye:0,sx:0,sy:0,t0:0,vx0:0,vys:0,duration:0,lambda_v0:0,one_ve_v0:0,i:null},e.boundInertiaFrame=function(){return l.apply(e)},e.boundSmoothEndFrame=function(){return c.apply(e)}})),i.signals.on("down",(function(e){var t=e.interaction,n=e.event,u=e.pointer,l=e.eventTarget,c=t.inertiaStatus;if(c.active)for(var d=l;a.is.element(d);){if(d===t.element){s.cancel(c.i),c.active=!1,t.simulation=null,t.updatePointer(u),a.setCoords(t.curCoords,t.pointers);var f={interaction:t};i.signals.fire("before-action-move",f),i.signals.fire("action-resume",f);var p=new r(t,n,t.prepared.name,"inertiaresume",t.element);t.target.fire(p),t.prevEvent=p,o.resetStatuses(t.modifierStatuses),a.copyCoords(t.prevCoords,t.curCoords);break}d=a.parentNode(d)}})),i.signals.on("up",(function(e){var t=e.interaction,n=e.event,i=t.inertiaStatus;if(t.interacting()&&!i.active){var l=t.target,c=l&&l.options,d=c&&t.prepared.name&&c[t.prepared.name].inertia,f=(new Date).getTime(),p={},h=a.extend({},t.curCoords.page),m=t.pointerDelta.client.speed,v=!1,g=void 0,y=d&&d.enabled&&"gesture"!==t.prepared.name&&n!==i.startEvent,b=y&&f-t.curCoords.timeStamp<50&&m>d.minSpeed&&m>d.endSpeed,_={interaction:t,pageCoords:h,statuses:p,preEnd:!0,requireEndOnly:!0};y&&!b&&(o.resetStatuses(p),(g=o.setAll(_)).shouldMove&&g.locked&&(v=!0)),(b||v)&&(a.copyCoords(i.upCoords,t.curCoords),t.pointers[0]=i.startEvent=new r(t,n,t.prepared.name,"inertiastart",t.element),i.t0=f,i.active=!0,i.allowResume=d.allowResume,t.simulation=i,l.fire(i.startEvent),b?(i.vx0=t.pointerDelta.client.vx,i.vy0=t.pointerDelta.client.vy,i.v0=m,u(t,i),a.extend(h,t.curCoords.page),h.x+=i.xe,h.y+=i.ye,o.resetStatuses(p),g=o.setAll(_),i.modifiedXe+=g.dx,i.modifiedYe+=g.dy,i.i=s.request(t.boundInertiaFrame)):(i.smoothEnd=!0,i.xe=g.dx,i.ye=g.dy,i.sx=i.sy=0,i.i=s.request(t.boundSmoothEndFrame)))}})),i.signals.on("stop-active",(function(e){var t=e.interaction,n=t.inertiaStatus;n.active&&(s.cancel(n.i),n.active=!1,t.simulation=null)}))},{"./InteractEvent":3,"./Interaction":5,"./modifiers/base":23,"./utils":44,"./utils/raf":50}],21:[function(e,t,n){"use strict";var r=e("./utils/browser"),i=e("./utils/events"),o=e("./utils"),a=e("./scope"),s=e("./Interactable"),u=e("./Interaction"),l={};function c(e,t){var n=a.interactables.get(e,t);return n||((n=new s(e,t)).events.global=l),n}c.isSet=function(e,t){return-1!==a.interactables.indexOfElement(e,t&&t.context)},c.on=function(e,t,n){if(o.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),o.is.array(e)){for(var r=0;r<e.length;r++){var u=e[r];c.on(u,t,n)}return c}if(o.is.object(e)){for(var d in e)c.on(d,e[d],t);return c}return o.contains(s.eventTypes,e)?l[e]?l[e].push(t):l[e]=[t]:i.add(a.document,e,t,{options:n}),c},c.off=function(e,t,n){if(o.is.string(e)&&-1!==e.search(" ")&&(e=e.trim().split(/ +/)),o.is.array(e)){for(var r=0;r<e.length;r++){var u=e[r];c.off(u,t,n)}return c}if(o.is.object(e)){for(var d in e)c.off(d,e[d],t);return c}if(o.contains(s.eventTypes,e)){var f=void 0;e in l&&-1!==(f=l[e].indexOf(t))&&l[e].splice(f,1)}else i.remove(a.document,e,t,n);return c},c.debug=function(){return a},c.getPointerAverage=o.pointerAverage,c.getTouchBBox=o.touchBBox,c.getTouchDistance=o.touchDistance,c.getTouchAngle=o.touchAngle,c.getElementRect=o.getElementRect,c.getElementClientRect=o.getElementClientRect,c.matchesSelector=o.matchesSelector,c.closest=o.closest,c.supportsTouch=function(){return r.supportsTouch},c.supportsPointerEvent=function(){return r.supportsPointerEvent},c.stop=function(e){for(var t=a.interactions.length-1;t>=0;t--)a.interactions[t].stop(e);return c},c.pointerMoveTolerance=function(e){return o.is.number(e)?(u.pointerMoveTolerance=e,c):u.pointerMoveTolerance},c.addDocument=a.addDocument,c.removeDocument=a.removeDocument,a.interact=c,t.exports=c},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils":44,"./utils/browser":36,"./utils/events":40}],22:[function(e,t,n){"use strict";var r=e("./Interactable"),i=e("./Interaction"),o=e("./scope"),a=e("./utils/is"),s=e("./utils/events"),u=e("./utils/browser"),l=e("./utils/domUtils"),c=l.nodeContains,d=l.matchesSelector;function f(e){var t=e.interaction,n=e.event;t.target&&t.target.checkAndPreventDefault(n)}r.prototype.preventDefault=function(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):a.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault},r.prototype.checkAndPreventDefault=function(e){var t=this.options.preventDefault;"never"!==t&&("always"!==t&&(s.supportsPassive&&/^touch(start|move)$/.test(e.type)&&!u.isIOS||/^(mouse|pointer|touch)*(down|start)/i.test(e.type)||a.element(e.target)&&d(e.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *"))||e.preventDefault())};for(var p=["down","move","up","cancel"],h=0;h<p.length;h++){var m=p[h];i.signals.on(m,f)}i.docEvents.dragstart=function(e){for(var t=0;t<o.interactions.length;t++){var n=o.interactions[t];if(n.element&&(n.element===e.target||c(n.element,e.target)))return void n.target.checkAndPreventDefault(e)}}},{"./Interactable":4,"./Interaction":5,"./scope":33,"./utils/browser":36,"./utils/domUtils":39,"./utils/events":40,"./utils/is":46}],23:[function(e,t,n){"use strict";var r=e("../InteractEvent"),i=e("../Interaction"),o=e("../utils/extend"),a={names:[],setOffsets:function(e){var t=e.interaction,n=e.pageCoords,r=t.target,i=t.element,o=t.startOffset,s=r.getRect(i);s?(o.left=n.x-s.left,o.top=n.y-s.top,o.right=s.right-n.x,o.bottom=s.bottom-n.y,"width"in s||(s.width=s.right-s.left),"height"in s||(s.height=s.bottom-s.top)):o.left=o.top=o.right=o.bottom=0,e.rect=s,e.interactable=r,e.element=i;for(var u=0;u<a.names.length;u++){var l=a.names[u];e.options=r.options[t.prepared.name][l],e.options&&(t.modifierOffsets[l]=a[l].setOffset(e))}},setAll:function(e){var t=e.interaction,n=e.statuses,r=e.preEnd,i=e.requireEndOnly,u={dx:0,dy:0,changed:!1,locked:!1,shouldMove:!0};e.modifiedCoords=o({},e.pageCoords);for(var l=0;l<a.names.length;l++){var c=a.names[l],d=a[c],f=t.target.options[t.prepared.name][c];s(f,r,i)&&(e.status=e.status=n[c],e.options=f,e.offset=e.interaction.modifierOffsets[c],d.set(e),e.status.locked&&(e.modifiedCoords.x+=e.status.dx,e.modifiedCoords.y+=e.status.dy,u.dx+=e.status.dx,u.dy+=e.status.dy,u.locked=!0))}return u.shouldMove=!e.status||!u.locked||e.status.changed,u},resetStatuses:function(e){for(var t=0;t<a.names.length;t++){var n=a.names[t],r=e[n]||{};r.dx=r.dy=0,r.modifiedX=r.modifiedY=NaN,r.locked=!1,r.changed=!0,e[n]=r}return e},start:function(e,t){var n=e.interaction,r={interaction:n,pageCoords:("action-resume"===t?n.curCoords:n.startCoords).page,startOffset:n.startOffset,statuses:n.modifierStatuses,preEnd:!1,requireEndOnly:!1};a.setOffsets(r),a.resetStatuses(r.statuses),r.pageCoords=o({},n.startCoords.page),n.modifierResult=a.setAll(r)},beforeMove:function(e){var t=e.interaction,n=e.preEnd,r=e.interactingBeforeMove,i=a.setAll({interaction:t,preEnd:n,pageCoords:t.curCoords.page,statuses:t.modifierStatuses,requireEndOnly:!1});!i.shouldMove&&r&&(t._dontFireMove=!0),t.modifierResult=i},end:function(e){for(var t=e.interaction,n=e.event,r=0;r<a.names.length;r++){var i=a.names[r];if(s(t.target.options[t.prepared.name][i],!0,!0)){t.doMove({event:n,preEnd:!0});break}}},setXY:function(e){for(var t=e.iEvent,n=e.interaction,r=o({},e),i=0;i<a.names.length;i++){var s=a.names[i];if(r.options=n.target.options[n.prepared.name][s],r.options){var u=a[s];r.status=n.modifierStatuses[s],t[s]=u.modifyCoords(r)}}}};function s(e,t,n){return e&&e.enabled&&(t||!e.endOnly)&&(!n||e.endOnly)}i.signals.on("new",(function(e){e.startOffset={left:0,right:0,top:0,bottom:0},e.modifierOffsets={},e.modifierStatuses=a.resetStatuses({}),e.modifierResult=null})),i.signals.on("action-start",a.start),i.signals.on("action-resume",a.start),i.signals.on("before-action-move",a.beforeMove),i.signals.on("action-end",a.end),r.signals.on("set-xy",a.setXY),t.exports=a},{"../InteractEvent":3,"../Interaction":5,"../utils/extend":41}],24:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../defaultOptions"),a={defaults:{enabled:!1,endOnly:!1,restriction:null,elementRect:null},setOffset:function(e){var t=e.rect,n=e.startOffset,r=e.options,i=r&&r.elementRect,o={};return t&&i?(o.left=n.left-t.width*i.left,o.top=n.top-t.height*i.top,o.right=n.right-t.width*(1-i.right),o.bottom=n.bottom-t.height*(1-i.bottom)):o.left=o.top=o.right=o.bottom=0,o},set:function(e){var t=e.modifiedCoords,n=e.interaction,r=e.status,o=e.options;if(!o)return r;var a=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),u=s(o.restriction,n,a);if(!u)return r;r.dx=0,r.dy=0,r.locked=!1;var l=u,c=a.x,d=a.y,f=n.modifierOffsets.restrict;"x"in u&&"y"in u?(c=Math.max(Math.min(l.x+l.width-f.right,a.x),l.x+f.left),d=Math.max(Math.min(l.y+l.height-f.bottom,a.y),l.y+f.top)):(c=Math.max(Math.min(l.right-f.right,a.x),l.left+f.left),d=Math.max(Math.min(l.bottom-f.bottom,a.y),l.top+f.top)),r.dx=c-a.x,r.dy=d-a.y,r.changed=r.modifiedX!==c||r.modifiedY!==d,r.locked=!(!r.dx&&!r.dy),r.modifiedX=c,r.modifiedY=d},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options,a=o&&o.elementRect;if(o&&o.enabled&&("start"!==i||!a||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},getRestrictionRect:s};function s(e,t,n){return i.is.function(e)?i.resolveRectLike(e,t.target,t.element,[n.x,n.y,t]):i.resolveRectLike(e,t.target,t.element)}r.restrict=a,r.names.push("restrict"),o.perAction.restrict=a.defaults,t.exports=a},{"../defaultOptions":18,"../utils":44,"./base":23}],25:[function(e,t,n){"use strict";var r=e("./base"),i=e("../utils"),o=e("../utils/rect"),a=e("../defaultOptions"),s=e("../actions/resize"),u=e("./restrict").getRestrictionRect,l={top:1/0,left:1/0,bottom:-1/0,right:-1/0},c={top:-1/0,left:-1/0,bottom:1/0,right:1/0},d={defaults:{enabled:!1,endOnly:!1,min:null,max:null,offset:null},setOffset:function(e){var t=e.interaction,n=e.startOffset,r=e.options;if(!r)return i.extend({},n);var o=u(r.offset,t,t.startCoords.page);return o?{top:n.top+o.y,left:n.left+o.x,bottom:n.bottom+o.y,right:n.right+o.x}:n},set:function(e){var t=e.modifiedCoords,n=e.interaction,r=e.status,a=e.offset,s=e.options,d=n.prepared.linkedEdges||n.prepared.edges;if(n.interacting()&&d){var f=r.useStatusXY?{x:r.x,y:r.y}:i.extend({},t),p=o.xywhToTlbr(u(s.inner,n,f))||l,h=o.xywhToTlbr(u(s.outer,n,f))||c,m=f.x,v=f.y;r.dx=0,r.dy=0,r.locked=!1,d.top?v=Math.min(Math.max(h.top+a.top,f.y),p.top+a.top):d.bottom&&(v=Math.max(Math.min(h.bottom-a.bottom,f.y),p.bottom-a.bottom)),d.left?m=Math.min(Math.max(h.left+a.left,f.x),p.left+a.left):d.right&&(m=Math.max(Math.min(h.right-a.right,f.x),p.right-a.right)),r.dx=m-f.x,r.dy=v-f.y,r.changed=r.modifiedX!==m||r.modifiedY!==v,r.locked=!(!r.dx&&!r.dy),r.modifiedX=m,r.modifiedY=v}},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options;if(o&&o.enabled&&("start"!==i||!r.locked)&&r.locked)return t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy,{dx:r.dx,dy:r.dy}},noInner:l,noOuter:c,getRestrictionRect:u};r.restrictEdges=d,r.names.push("restrictEdges"),a.perAction.restrictEdges=d.defaults,s.defaults.restrictEdges=d.defaults,t.exports=d},{"../actions/resize":10,"../defaultOptions":18,"../utils":44,"../utils/rect":51,"./base":23,"./restrict":24}],26:[function(e,t,n){"use strict";var r=e("./base"),i=e("./restrictEdges"),o=e("../utils"),a=e("../utils/rect"),s=e("../defaultOptions"),u=e("../actions/resize"),l={width:-1/0,height:-1/0},c={width:1/0,height:1/0},d={defaults:{enabled:!1,endOnly:!1,min:null,max:null},setOffset:function(e){return e.interaction.startOffset},set:function(e){var t=e.interaction,n=e.options,r=t.prepared.linkedEdges||t.prepared.edges;if(t.interacting()&&r){var s=a.xywhToTlbr(t.resizeRects.inverted),u=a.tlbrToXywh(i.getRestrictionRect(n.min,t))||l,d=a.tlbrToXywh(i.getRestrictionRect(n.max,t))||c;e.options={enabled:n.enabled,endOnly:n.endOnly,inner:o.extend({},i.noInner),outer:o.extend({},i.noOuter)},r.top?(e.options.inner.top=s.bottom-u.height,e.options.outer.top=s.bottom-d.height):r.bottom&&(e.options.inner.bottom=s.top+u.height,e.options.outer.bottom=s.top+d.height),r.left?(e.options.inner.left=s.right-u.width,e.options.outer.left=s.right-d.width):r.right&&(e.options.inner.right=s.left+u.width,e.options.outer.right=s.left+d.width),i.set(e)}},modifyCoords:i.modifyCoords};r.restrictSize=d,r.names.push("restrictSize"),s.perAction.restrictSize=d.defaults,u.defaults.restrictSize=d.defaults,t.exports=d},{"../actions/resize":10,"../defaultOptions":18,"../utils":44,"../utils/rect":51,"./base":23,"./restrictEdges":25}],27:[function(e,t,n){"use strict";var r=e("./base"),i=e("../interact"),o=e("../utils"),a=e("../defaultOptions"),s={defaults:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null,relativePoints:null},setOffset:function(e){var t=e.interaction,n=e.interactable,r=e.element,i=e.rect,a=e.startOffset,s=e.options,u=[],l=o.rectToXY(o.resolveRectLike(s.origin))||o.getOriginXY(n,r,t.prepared.name),c=void 0;if("startCoords"===(s=s||n.options[t.prepared.name].snap||{}).offset)c={x:t.startCoords.page.x-l.x,y:t.startCoords.page.y-l.y};else{var d=o.resolveRectLike(s.offset,n,r,[t]);c=o.rectToXY(d)||{x:0,y:0}}if(i&&s.relativePoints&&s.relativePoints.length)for(var f=0;f<s.relativePoints.length;f++){var p=s.relativePoints[f],h=p.x,m=p.y;u.push({x:a.left-i.width*h+c.x,y:a.top-i.height*m+c.y})}else u.push(c);return u},set:function(e){var t=e.interaction,n=e.modifiedCoords,r=e.status,i=e.options,a=e.offset,s=[],u=void 0,l=void 0,c=void 0;if(r.useStatusXY)l={x:r.x,y:r.y};else{var d=o.getOriginXY(t.target,t.element,t.prepared.name);(l=o.extend({},n)).x-=d.x,l.y-=d.y}r.realX=l.x,r.realY=l.y;for(var f=i.targets?i.targets.length:0,p=0;p<a.length;p++)for(var h=a[p],m=h.x,v=h.y,g=l.x-m,y=l.y-v,b=0;b<(i.targets||[]).length;b++){var _=(i.targets||[])[b];(u=o.is.function(_)?_(g,y,t):_)&&s.push({x:o.is.number(u.x)?u.x+m:g,y:o.is.number(u.y)?u.y+v:y,range:o.is.number(u.range)?u.range:i.range})}var w={target:null,inRange:!1,distance:0,range:0,dx:0,dy:0};for(c=0,f=s.length;c<f;c++){var k=(u=s[c]).range,E=u.x-l.x,x=u.y-l.y,S=o.hypot(E,x),T=S<=k;k===1/0&&w.inRange&&w.range!==1/0&&(T=!1),w.target&&!(T?w.inRange&&k!==1/0?S/k<w.distance/w.range:k===1/0&&w.range!==1/0||S<w.distance:!w.inRange&&S<w.distance)||(w.target=u,w.distance=S,w.range=k,w.inRange=T,w.dx=E,w.dy=x,r.range=k)}var C=void 0;w.target?(C=r.modifiedX!==w.target.x||r.modifiedY!==w.target.y,r.modifiedX=w.target.x,r.modifiedY=w.target.y):(C=!0,r.modifiedX=NaN,r.modifiedY=NaN),r.dx=w.dx,r.dy=w.dy,r.changed=C||w.inRange&&!r.locked,r.locked=w.inRange},modifyCoords:function(e){var t=e.page,n=e.client,r=e.status,i=e.phase,o=e.options,a=o&&o.relativePoints;if(o&&o.enabled&&("start"!==i||!a||!a.length))return r.locked&&(t.x+=r.dx,t.y+=r.dy,n.x+=r.dx,n.y+=r.dy),{range:r.range,locked:r.locked,x:r.modifiedX,y:r.modifiedY,realX:r.realX,realY:r.realY,dx:r.dx,dy:r.dy}}};i.createSnapGrid=function(e){return function(t,n){var r=e.limits||{left:-1/0,right:1/0,top:-1/0,bottom:1/0},i=0,a=0;o.is.object(e.offset)&&(i=e.offset.x,a=e.offset.y);var s=Math.round((t-i)/e.x),u=Math.round((n-a)/e.y);return{x:Math.max(r.left,Math.min(r.right,s*e.x+i)),y:Math.max(r.top,Math.min(r.bottom,u*e.y+a)),range:e.range}}},r.snap=s,r.names.push("snap"),a.perAction.snap=s.defaults,t.exports=s},{"../defaultOptions":18,"../interact":21,"../utils":44,"./base":23}],28:[function(e,t,n){"use strict";var r=e("./base"),i=e("./snap"),o=e("../defaultOptions"),a=e("../actions/resize"),s=e("../utils/"),u={defaults:{enabled:!1,endOnly:!1,range:1/0,targets:null,offsets:null},setOffset:function(e){var t=e.interaction,n=e.options,r=t.prepared.edges;if(r){e.options={relativePoints:[{x:r.left?0:1,y:r.top?0:1}],origin:{x:0,y:0},offset:"self",range:n.range};var o=i.setOffset(e);return e.options=n,o}},set:function(e){var t=e.interaction,n=e.options,r=e.offset,o=e.modifiedCoords,a=s.extend({},o),u=a.x-r[0].x,l=a.y-r[0].y;e.options=s.extend({},n),e.options.targets=[];for(var c=0;c<(n.targets||[]).length;c++){var d=(n.targets||[])[c],f=void 0;(f=s.is.function(d)?d(u,l,t):d)&&("width"in f&&"height"in f&&(f.x=f.width,f.y=f.height),e.options.targets.push(f))}i.set(e)},modifyCoords:function(e){var t=e.options;e.options=s.extend({},t),e.options.enabled=t.enabled,e.options.relativePoints=[null],i.modifyCoords(e)}};r.snapSize=u,r.names.push("snapSize"),o.perAction.snapSize=u.defaults,a.defaults.snapSize=u.defaults,t.exports=u},{"../actions/resize":10,"../defaultOptions":18,"../utils/":44,"./base":23,"./snap":27}],29:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=e("../utils/pointerUtils");t.exports=function(){function e(t,n,o,a,s){if(r(this,e),i.pointerExtend(this,o),o!==n&&i.pointerExtend(this,n),this.interaction=s,this.timeStamp=(new Date).getTime(),this.originalEvent=o,this.type=t,this.pointerId=i.getPointerId(n),this.pointerType=i.getPointerType(n),this.target=a,this.currentTarget=null,"tap"===t){var u=s.getPointerIndex(n);this.dt=this.timeStamp-s.downTimes[u];var l=this.timeStamp-s.tapTime;this.double=!!(s.prevTap&&"doubletap"!==s.prevTap.type&&s.prevTap.target===this.target&&l<500)}else"doubletap"===t&&(this.dt=n.timeStamp-s.tapTime)}return e.prototype.subtractOrigin=function(e){var t=e.x,n=e.y;return this.pageX-=t,this.pageY-=n,this.clientX-=t,this.clientY-=n,this},e.prototype.addOrigin=function(e){var t=e.x,n=e.y;return this.pageX+=t,this.pageY+=n,this.clientX+=t,this.clientY+=n,this},e.prototype.preventDefault=function(){this.originalEvent.preventDefault()},e.prototype.stopPropagation=function(){this.propagationStopped=!0},e.prototype.stopImmediatePropagation=function(){this.immediatePropagationStopped=this.propagationStopped=!0},e}()},{"../utils/pointerUtils":49}],30:[function(e,t,n){"use strict";var r=e("./PointerEvent"),i=e("../Interaction"),o=e("../utils"),a=e("../defaultOptions"),s=e("../utils/Signals").new(),u=["down","up","cancel"],l=["down","up","cancel"],c={PointerEvent:r,fire:d,collectEventTargets:f,signals:s,defaults:{holdDuration:600,ignoreFrom:null,allowFrom:null,origin:{x:0,y:0}},types:["down","move","up","cancel","tap","doubletap","hold"]};function d(e){for(var t=e.interaction,n=e.pointer,i=e.event,a=e.eventTarget,u=e.type,l=void 0===u?e.pointerEvent.type:u,c=e.targets,p=void 0===c?f(e):c,h=e.pointerEvent,m=void 0===h?new r(l,n,i,a,t):h,v={interaction:t,pointer:n,event:i,eventTarget:a,targets:p,type:l,pointerEvent:m},g=0;g<p.length;g++){var y=p[g];for(var b in y.props||{})m[b]=y.props[b];var _=o.getOriginXY(y.eventable,y.element);if(m.subtractOrigin(_),m.eventable=y.eventable,m.currentTarget=y.element,y.eventable.fire(m),m.addOrigin(_),m.immediatePropagationStopped||m.propagationStopped&&g+1<p.length&&p[g+1].element!==m.currentTarget)break}if(s.fire("fired",v),"tap"===l){var w=m.double?d({interaction:t,pointer:n,event:i,eventTarget:a,type:"doubletap"}):m;t.prevTap=w,t.tapTime=w.timeStamp}return m}function f(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.type,u=t.getPointerIndex(n);if("tap"===a&&(t.pointerWasMoved||!t.downTargets[u]||t.downTargets[u]!==i))return[];for(var l=o.getPath(i),c={interaction:t,pointer:n,event:r,eventTarget:i,type:a,path:l,targets:[],element:null},d=0;d<l.length;d++){var f=l[d];c.element=f,s.fire("collect-targets",c)}return"hold"===a&&(c.targets=c.targets.filter((function(e){return e.eventable.options.holdDuration===t.holdTimers[u].duration}))),c.targets}i.signals.on("update-pointer-down",(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]={duration:1/0,timeout:null}})),i.signals.on("remove-pointer",(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers.splice(n,1)})),i.signals.on("move",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,o=e.duplicateMove,a=t.getPointerIndex(n);o||t.pointerIsDown&&!t.pointerWasMoved||(t.pointerIsDown&&clearTimeout(t.holdTimers[a].timeout),d({interaction:t,pointer:n,event:r,eventTarget:i,type:"move"}))})),i.signals.on("down",(function(e){for(var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget,a=e.pointerIndex,u=t.holdTimers[a],l=o.getPath(i),c={interaction:t,pointer:n,event:r,eventTarget:i,type:"hold",targets:[],path:l,element:null},f=0;f<l.length;f++){var p=l[f];c.element=p,s.fire("collect-targets",c)}if(c.targets.length){for(var h=1/0,m=0;m<c.targets.length;m++){var v=c.targets[m].eventable.options.holdDuration;v<h&&(h=v)}u.duration=h,u.timeout=setTimeout((function(){d({interaction:t,eventTarget:i,pointer:n,event:r,type:"hold"})}),h)}})),i.signals.on("up",(function(e){var t=e.interaction,n=e.pointer,r=e.event,i=e.eventTarget;t.pointerWasMoved||d({interaction:t,eventTarget:i,pointer:n,event:r,type:"tap"})}));for(var p=["up","cancel"],h=0;h<p.length;h++){var m=p[h];i.signals.on(m,(function(e){var t=e.interaction,n=e.pointerIndex;t.holdTimers[n]&&clearTimeout(t.holdTimers[n].timeout)}))}function v(e){return function(t){var n=t.interaction,r=t.pointer,i=t.event;d({interaction:n,eventTarget:t.eventTarget,pointer:r,event:i,type:e})}}for(var g=0;g<u.length;g++)i.signals.on(u[g],v(l[g]));i.signals.on("new",(function(e){e.prevTap=null,e.tapTime=0,e.holdTimers=[]})),a.pointerEvents=c.defaults,t.exports=c},{"../Interaction":5,"../defaultOptions":18,"../utils":44,"../utils/Signals":34,"./PointerEvent":29}],31:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interaction");r.signals.on("new",u),r.signals.on("fired",l);for(var o=["move","up","cancel","endall"],a=0;a<o.length;a++){var s=o[a];i.signals.on(s,c)}function u(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function l(e){var t=e.interaction,n=e.pointerEvent,i=e.eventTarget,o=e.targets;if("hold"===n.type&&o.length){var a=o[0].eventable.options.holdRepeatInterval;a<=0||(t.holdIntervalHandle=setTimeout((function(){r.fire({interaction:t,eventTarget:i,type:"hold",pointer:n,event:n})}),a))}}function c(e){var t=e.interaction;t.holdIntervalHandle&&(clearInterval(t.holdIntervalHandle),t.holdIntervalHandle=null)}r.defaults.holdRepeatInterval=0,r.types.push("holdrepeat"),t.exports={onNew:u,onFired:l,endHoldRepeat:c}},{"../Interaction":5,"./base":30}],32:[function(e,t,n){"use strict";var r=e("./base"),i=e("../Interactable"),o=e("../utils/is"),a=e("../scope"),s=e("../utils/extend"),u=e("../utils/arr").merge;r.signals.on("collect-targets",(function(e){var t=e.targets,n=e.element,r=e.type,i=e.eventTarget;a.interactables.forEachMatch(n,(function(e){var a=e.events,s=a.options;a[r]&&o.element(n)&&e.testIgnoreAllow(s,n,i)&&t.push({element:n,eventable:a,props:{interactable:e}})}))})),i.signals.on("new",(function(e){var t=e.interactable;t.events.getRect=function(e){return t.getRect(e)}})),i.signals.on("set",(function(e){var t=e.interactable,n=e.options;s(t.events.options,r.defaults),s(t.events.options,n)})),u(i.eventTypes,r.types),i.prototype.pointerEvents=function(e){return s(this.events.options,e),this};var l=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=l.call(this,e,t);return n===this&&(this.events.options[e]=t),n},i.settingsMethods.push("pointerEvents")},{"../Interactable":4,"../scope":33,"../utils/arr":35,"../utils/extend":41,"../utils/is":46,"./base":30}],33:[function(e,t,n){"use strict";var r=e("./utils"),i=e("./utils/events"),o=e("./utils/Signals").new(),a=e("./utils/window").getWindow,s={signals:o,events:i,utils:r,document:e("./utils/domObjects").document,documents:[],addDocument:function(e,t){if(r.contains(s.documents,e))return!1;t=t||a(e),s.documents.push(e),i.documents.push(e),e!==s.document&&i.add(t,"unload",s.onWindowUnload),o.fire("add-document",{doc:e,win:t})},removeDocument:function(e,t){var n=s.documents.indexOf(e);t=t||a(e),i.remove(t,"unload",s.onWindowUnload),s.documents.splice(n,1),i.documents.splice(n,1),o.fire("remove-document",{win:t,doc:e})},onWindowUnload:function(){s.removeDocument(this.document,this)}};t.exports=s},{"./utils":44,"./utils/Signals":34,"./utils/domObjects":38,"./utils/events":40,"./utils/window":52}],34:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(){r(this,e),this.listeners={}}return e.prototype.on=function(e,t){this.listeners[e]?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.off=function(e,t){if(this.listeners[e]){var n=this.listeners[e].indexOf(t);-1!==n&&this.listeners[e].splice(n,1)}},e.prototype.fire=function(e,t){var n=this.listeners[e];if(n)for(var r=0;r<n.length;r++)if(!1===(0,n[r])(t,e))return},e}();i.new=function(){return new i},t.exports=i},{}],35:[function(e,t,n){"use strict";function r(e,t){return-1!==e.indexOf(t)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];e.push(r)}return e}t.exports={contains:r,merge:i}},{}],36:[function(e,t,n){"use strict";var r=e("./window").window,i=e("./is"),o=e("./domObjects"),a=o.Element,s=r.navigator,u={supportsTouch:!!("ontouchstart"in r||i.function(r.DocumentTouch)&&o.document instanceof r.DocumentTouch),supportsPointerEvent:!!o.PointerEvent,isIOS:/iP(hone|od|ad)/.test(s.platform),isIOS7:/iP(hone|od|ad)/.test(s.platform)&&/OS 7[^\d]/.test(s.appVersion),isIe9:/MSIE 9/.test(s.userAgent),prefixedMatchesSelector:"matches"in a.prototype?"matches":"webkitMatchesSelector"in a.prototype?"webkitMatchesSelector":"mozMatchesSelector"in a.prototype?"mozMatchesSelector":"oMatchesSelector"in a.prototype?"oMatchesSelector":"msMatchesSelector",pEventTypes:o.PointerEvent?o.PointerEvent===r.MSPointerEvent?{up:"MSPointerUp",down:"MSPointerDown",over:"mouseover",out:"mouseout",move:"MSPointerMove",cancel:"MSPointerCancel"}:{up:"pointerup",down:"pointerdown",over:"pointerover",out:"pointerout",move:"pointermove",cancel:"pointercancel"}:null,wheelEvent:"onmousewheel"in o.document?"mousewheel":"wheel"};u.isOperaMobile="Opera"===s.appName&&u.supportsTouch&&s.userAgent.match("Presto"),t.exports=u},{"./domObjects":38,"./is":46,"./window":52}],37:[function(e,t,n){"use strict";var r=e("./is");t.exports=function e(t){var n={};for(var i in t)r.plainObject(t[i])?n[i]=e(t[i]):n[i]=t[i];return n}},{"./is":46}],38:[function(e,t,n){"use strict";var r={},i=e("./window").window;function o(){}r.document=i.document,r.DocumentFragment=i.DocumentFragment||o,r.SVGElement=i.SVGElement||o,r.SVGSVGElement=i.SVGSVGElement||o,r.SVGElementInstance=i.SVGElementInstance||o,r.Element=i.Element||o,r.HTMLElement=i.HTMLElement||r.Element,r.Event=i.Event,r.Touch=i.Touch||o,r.PointerEvent=i.PointerEvent||i.MSPointerEvent,t.exports=r},{"./window":52}],39:[function(e,t,n){"use strict";var r=e("./window"),i=e("./browser"),o=e("./is"),a=e("./domObjects"),s={nodeContains:function(e,t){for(;t;){if(t===e)return!0;t=t.parentNode}return!1},closest:function(e,t){for(;o.element(e);){if(s.matchesSelector(e,t))return e;e=s.parentNode(e)}return null},parentNode:function(e){var t=e.parentNode;if(o.docFrag(t)){for(;(t=t.host)&&o.docFrag(t););return t}return t},matchesSelector:function(e,t){return r.window!==r.realWindow&&(t=t.replace(/\/deep\//g," ")),e[i.prefixedMatchesSelector](t)},indexOfDeepestElement:function(e){var t=[],n=[],r=void 0,i=e[0],o=i?0:-1,s=void 0,u=void 0,l=void 0,c=void 0;for(l=1;l<e.length;l++)if((r=e[l])&&r!==i)if(i){if(r.parentNode!==r.ownerDocument)if(i.parentNode!==r.ownerDocument){if(!t.length)for(s=i;s.parentNode&&s.parentNode!==s.ownerDocument;)t.unshift(s),s=s.parentNode;if(i instanceof a.HTMLElement&&r instanceof a.SVGElement&&!(r instanceof a.SVGSVGElement)){if(r===i.parentNode)continue;s=r.ownerSVGElement}else s=r;for(n=[];s.parentNode!==s.ownerDocument;)n.unshift(s),s=s.parentNode;for(c=0;n[c]&&n[c]===t[c];)c++;var d=[n[c-1],n[c],t[c]];for(u=d[0].lastChild;u;){if(u===d[1]){i=r,o=l,t=[];break}if(u===d[2])break;u=u.previousSibling}}else i=r,o=l}else i=r,o=l;return o},matchesUpTo:function(e,t,n){for(;o.element(e);){if(s.matchesSelector(e,t))return!0;if((e=s.parentNode(e))===n)return s.matchesSelector(e,t)}return!1},getActualElement:function(e){return e instanceof a.SVGElementInstance?e.correspondingUseElement:e},getScrollXY:function(e){return{x:(e=e||r.window).scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}},getElementClientRect:function(e){var t=e instanceof a.SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}},getElementRect:function(e){var t=s.getElementClientRect(e);if(!i.isIOS7&&t){var n=s.getScrollXY(r.getWindow(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t},getPath:function(e){for(var t=[];e;)t.push(e),e=s.parentNode(e);return t},trySelector:function(e){return!!o.string(e)&&(a.document.querySelector(e),!0)}};t.exports=s},{"./browser":36,"./domObjects":38,"./is":46,"./window":52}],40:[function(e,t,n){"use strict";var r,i=e("./is"),o=e("./domUtils"),a=e("./pointerUtils"),s=e("./pointerExtend"),u=e("./window").window,l=e("./arr").contains,c=[],d=[],f={},p=[],h=(r=!1,u.document.createElement("div").addEventListener("test",null,{get capture(){r=!0}}),r);function m(e,t,n,r){var i=k(r),o=c.indexOf(e),a=d[o];a||(a={events:{},typeCount:0},o=c.push(e)-1,d.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),l(a.events[t],n)||(e.addEventListener(t,n,h?i:!!i.capture),a.events[t].push(n))}function v(e,t,n,r){var i=k(r),o=c.indexOf(e),a=d[o];if(a&&a.events)if("all"!==t){if(a.events[t]){var s=a.events[t].length;if("all"===n){for(var u=0;u<s;u++)v(e,t,a.events[t][u],i);return}for(var l=0;l<s;l++)if(a.events[t][l]===n){e.removeEventListener("on"+t,n,h?i:!!i.capture),a.events[t].splice(l,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(d.splice(o,1),c.splice(o,1))}else for(t in a.events)a.events.hasOwnProperty(t)&&v(e,t,"all")}function g(e,t,n,r,i){var o=k(i);if(!f[n]){f[n]={selectors:[],contexts:[],listeners:[]};for(var a=0;a<p.length;a++){var s=p[a];m(s,n,b),m(s,n,_,!0)}}var u=f[n],l=void 0;for(l=u.selectors.length-1;l>=0&&(u.selectors[l]!==e||u.contexts[l]!==t);l--);-1===l&&(l=u.selectors.length,u.selectors.push(e),u.contexts.push(t),u.listeners.push([])),u.listeners[l].push([r,!!o.capture,o.passive])}function y(e,t,n,r,i){var o=k(i),a=f[n],s=!1,u=void 0;if(a)for(u=a.selectors.length-1;u>=0;u--)if(a.selectors[u]===e&&a.contexts[u]===t){for(var l=a.listeners[u],c=l.length-1;c>=0;c--){var d=l[c],p=d[0],h=d[1],m=d[2];if(p===r&&h===!!o.capture&&m===o.passive){l.splice(c,1),l.length||(a.selectors.splice(u,1),a.contexts.splice(u,1),a.listeners.splice(u,1),v(t,n,b),v(t,n,_,!0),a.selectors.length||(f[n]=null)),s=!0;break}}if(s)break}}function b(e,t){var n=k(t),r={},u=f[e.type],l=a.getEventTargets(e)[0],c=l;for(s(r,e),r.originalEvent=e,r.preventDefault=w;i.element(c);){for(var d=0;d<u.selectors.length;d++){var p=u.selectors[d],h=u.contexts[d];if(o.matchesSelector(c,p)&&o.nodeContains(h,l)&&o.nodeContains(h,c)){var m=u.listeners[d];r.currentTarget=c;for(var v=0;v<m.length;v++){var g=m[v],y=g[0],b=g[1],_=g[2];b===!!n.capture&&_===n.passive&&y(r)}}}c=o.parentNode(c)}}function _(e){return b.call(this,e,!0)}function w(){this.originalEvent.preventDefault()}function k(e){return i.object(e)?e:{capture:e}}t.exports={add:m,remove:v,addDelegate:g,removeDelegate:y,delegateListener:b,delegateUseCapture:_,delegatedEvents:f,documents:p,supportsOptions:h,_elements:c,_targets:d}},{"./arr":35,"./domUtils":39,"./is":46,"./pointerExtend":48,"./pointerUtils":49,"./window":52}],41:[function(e,t,n){"use strict";t.exports=function(e,t){for(var n in t)e[n]=t[n];return e}},{}],42:[function(e,t,n){"use strict";var r=e("./rect"),i=r.resolveRectLike,o=r.rectToXY;t.exports=function(e,t,n){var r=e.options[n],a=r&&r.origin||e.options.origin,s=i(a,e,t,[e&&t]);return o(s)||{x:0,y:0}}},{"./rect":51}],43:[function(e,t,n){"use strict";t.exports=function(e,t){return Math.sqrt(e*e+t*t)}},{}],44:[function(e,t,n){"use strict";var r=e("./extend"),i=e("./window"),o={warnOnce:function(e,t){var n=!1;return function(){return n||(i.window.console.warn(t),n=!0),e.apply(this,arguments)}},_getQBezierValue:function(e,t,n,r){var i=1-e;return i*i*t+2*i*e*n+e*e*r},getQuadraticCurvePoint:function(e,t,n,r,i,a,s){return{x:o._getQBezierValue(s,e,n,i),y:o._getQBezierValue(s,t,r,a)}},easeOutQuad:function(e,t,n,r){return-n*(e/=r)*(e-2)+t},copyAction:function(e,t){return e.name=t.name,e.axis=t.axis,e.edges=t.edges,e},is:e("./is"),extend:r,hypot:e("./hypot"),getOriginXY:e("./getOriginXY")};r(o,e("./arr")),r(o,e("./domUtils")),r(o,e("./pointerUtils")),r(o,e("./rect")),t.exports=o},{"./arr":35,"./domUtils":39,"./extend":41,"./getOriginXY":42,"./hypot":43,"./is":46,"./pointerUtils":49,"./rect":51,"./window":52}],45:[function(e,t,n){"use strict";var r=e("../scope"),i=e("./index"),o={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e,t,n){for(var r=i.getPointerType(e),a={pointer:e,pointerId:i.getPointerId(e),pointerType:r,eventType:t,eventTarget:n},s=0;s<o.methodOrder.length;s++){var u;u=o.methodOrder[s];var l=o[u](a);if(l)return l}},simulationResume:function(e){var t=e.pointerType,n=e.eventType,o=e.eventTarget;if(!/down|start/i.test(n))return null;for(var a=0;a<r.interactions.length;a++){var s=r.interactions[a],u=o;if(s.simulation&&s.simulation.allowResume&&s.pointerType===t)for(;u;){if(u===s.element)return s;u=i.parentNode(u)}}return null},mouseOrPen:function(e){var t=e.pointerId,n=e.pointerType,o=e.eventType;if("mouse"!==n&&"pen"!==n)return null;for(var a=void 0,s=0;s<r.interactions.length;s++){var u=r.interactions[s];if(u.pointerType===n){if(u.simulation&&!i.contains(u.pointerIds,t))continue;if(u.interacting())return u;a||(a=u)}}if(a)return a;for(var l=0;l<r.interactions.length;l++){var c=r.interactions[l];if(!(c.pointerType!==n||/down/i.test(o)&&c.simulation))return c}return null},hasPointer:function(e){for(var t=e.pointerId,n=0;n<r.interactions.length;n++){var o=r.interactions[n];if(i.contains(o.pointerIds,t))return o}},idle:function(e){for(var t=e.pointerType,n=0;n<r.interactions.length;n++){var i=r.interactions[n];if(1===i.pointerIds.length){var o=i.target;if(o&&!o.options.gesture.enabled)continue}else if(i.pointerIds.length>=2)continue;if(!i.interacting()&&t===i.pointerType)return i}return null}};t.exports=o},{"../scope":33,"./index":44}],46:[function(e,t,n){"use strict";var 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},i=e("./window"),o=e("./isWindow"),a={array:function(){},window:function(e){return e===i.window||o(e)},docFrag:function(e){return a.object(e)&&11===e.nodeType},object:function(e){return!!e&&"object"===(void 0===e?"undefined":r(e))},function:function(e){return"function"==typeof e},number:function(e){return"number"==typeof e},bool:function(e){return"boolean"==typeof e},string:function(e){return"string"==typeof e},element:function(e){if(!e||"object"!==(void 0===e?"undefined":r(e)))return!1;var t=i.getWindow(e)||i.window;return/object|function/.test(r(t.Element))?e instanceof t.Element:1===e.nodeType&&"string"==typeof e.nodeName},plainObject:function(e){return a.object(e)&&"Object"===e.constructor.name}};a.array=function(e){return a.object(e)&&void 0!==e.length&&a.function(e.splice)},t.exports=a},{"./isWindow":47,"./window":52}],47:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.Window)&&e instanceof e.Window}},{}],48:[function(e,t,n){"use strict";function r(e,n){for(var r in n){var i=t.exports.prefixedPropREs,o=!1;for(var a in i)if(0===r.indexOf(a)&&i[a].test(r)){o=!0;break}o||"function"==typeof n[r]||(e[r]=n[r])}return e}r.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/},t.exports=r},{}],49:[function(e,t,n){"use strict";var r=e("./hypot"),i=e("./browser"),o=e("./domObjects"),a=e("./domUtils"),s=e("./domObjects"),u=e("./is"),l={copyCoords:function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},setCoordDeltas:function(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp;var i=Math.max(e.timeStamp/1e3,.001);e.page.speed=r(e.page.x,e.page.y)/i,e.page.vx=e.page.x/i,e.page.vy=e.page.y/i,e.client.speed=r(e.client.x,e.page.y)/i,e.client.vx=e.client.x/i,e.client.vy=e.client.y/i},isNativePointer:function(e){return e instanceof o.Event||e instanceof o.Touch},getXY:function(e,t,n){return e=e||"page",(n=n||{}).x=t[e+"X"],n.y=t[e+"Y"],n},getPageXY:function(e,t){return t=t||{},i.isOperaMobile&&l.isNativePointer(e)?(l.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):l.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},i.isOperaMobile&&l.isNativePointer(e)?l.getXY("screen",e,t):l.getXY("client",e,t),t},getPointerId:function(e){return u.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,n){var r=t.length>1?l.pointerAverage(t):t[0],i={};l.getPageXY(r,i),e.page.x=i.x,e.page.y=i.y,l.getClientXY(r,i),e.client.x=i.x,e.client.y=i.y,e.timeStamp=u.number(n)?n:(new Date).getTime()},pointerExtend:e("./pointerExtend"),getTouchPair:function(e){var t=[];return u.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t},pointerAverage:function(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n<e.length;n++){var r=e[n];for(var i in t)t[i]+=r[i]}for(var o in t)t[o]/=e.length;return t},touchBBox:function(e){if(e.length||e.touches&&e.touches.length>1){var t=l.getTouchPair(e),n=Math.min(t[0].pageX,t[1].pageX),r=Math.min(t[0].pageY,t[1].pageY);return{x:n,y:r,left:n,top:r,width:Math.max(t[0].pageX,t[1].pageX)-n,height:Math.max(t[0].pageY,t[1].pageY)-r}}},touchDistance:function(e,t){var n=t+"X",i=t+"Y",o=l.getTouchPair(e),a=o[0][n]-o[1][n],s=o[0][i]-o[1][i];return r(a,s)},touchAngle:function(e,t,n){var r=n+"X",i=n+"Y",o=l.getTouchPair(e),a=o[1][r]-o[0][r],s=o[1][i]-o[0][i];return 180*Math.atan2(s,a)/Math.PI},getPointerType:function(e){return u.string(e.pointerType)?e.pointerType:u.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof s.Touch?"touch":"mouse"},getEventTargets:function(e){var t=u.function(e.composedPath)?e.composedPath():e.path;return[a.getActualElement(t?t[0]:e.target),a.getActualElement(e.currentTarget)]}};t.exports=l},{"./browser":36,"./domObjects":38,"./domUtils":39,"./hypot":43,"./is":46,"./pointerExtend":48}],50:[function(e,t,n){"use strict";for(var r=e("./window").window,i=["ms","moz","webkit","o"],o=0,a=void 0,s=void 0,u=0;u<i.length&&!r.requestAnimationFrame;u++)a=r[i[u]+"RequestAnimationFrame"],s=r[i[u]+"CancelAnimationFrame"]||r[i[u]+"CancelRequestAnimationFrame"];a||(a=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-o)),r=setTimeout((function(){e(t+n)}),n);return o=t+n,r}),s||(s=function(e){clearTimeout(e)}),t.exports={request:a,cancel:s}},{"./window":52}],51:[function(e,t,n){"use strict";var r=e("./extend"),i=e("./is"),o=e("./domUtils"),a=o.closest,s=o.parentNode,u=o.getElementRect,l={getStringOptionResult:function(e,t,n){return i.string(e)?e="parent"===e?s(n):"self"===e?t.getRect(n):a(n,e):null},resolveRectLike:function(e,t,n,r){return e=l.getStringOptionResult(e,t,n)||e,i.function(e)&&(e=e.apply(null,r)),i.element(e)&&(e=u(e)),e},rectToXY:function(e){return e&&{x:"x"in e?e.x:e.left,y:"y"in e?e.y:e.top}},xywhToTlbr:function(e){return!e||"left"in e&&"top"in e||((e=r({},e)).left=e.x||0,e.top=e.y||0,e.right=e.right||e.left+e.width,e.bottom=e.bottom||e.top+e.height),e},tlbrToXywh:function(e){return!e||"x"in e&&"y"in e||((e=r({},e)).x=e.left||0,e.top=e.top||0,e.width=e.width||e.right-e.x,e.height=e.height||e.bottom-e.y),e}};t.exports=l},{"./domUtils":39,"./extend":41,"./is":46}],52:[function(e,t,n){"use strict";var r=t.exports,i=e("./isWindow");function o(e){r.realWindow=e;var t=e.document.createTextNode("");t.ownerDocument!==e.document&&"function"==typeof e.wrap&&e.wrap(t)===t&&(e=e.wrap(e)),r.window=e}"undefined"==typeof window?(r.window=void 0,r.realWindow=void 0):o(window),r.getWindow=function(e){if(i(e))return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r.window},r.init=o},{"./isWindow":47}]},{},[1])(1)},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=function(e){for(var t=window.document,n=i(t);n;)n=i(t=n.ownerDocument);return t}(),t=[],n=null,r=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?f(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,r=null},a.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(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.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]}))},a.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},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(s(n,"resize",r,!0),s(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),u(e,"resize",r,!0)),u(t,"scroll",r,!0),a&&a.disconnect()}));var l=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=l){var c=i(t);c&&this._monitorIntersections(c.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var o=i(n);if((n=o&&o.ownerDocument)==t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var s=i(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||r){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,a=c(i),s=this._rootContainsTarget(i),u=r.entry,l=e&&s&&this._computeTargetAndRootIntersection(i,a,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=r.entry=new o({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:d,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,f)&&this._queuedEntries.push(f):u&&u.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,o){if("none"!=window.getComputedStyle(t).display){for(var a=i,s=h(t),u=!1;!u&&s;){var d=null,p=1==s.nodeType?window.getComputedStyle(s):{};if("none"==p.display)return null;if(s==this.root||9==s.nodeType)if(u=!0,s==this.root||s==e)n&&!this.root?!r||0==r.width&&0==r.height?(s=null,d=null,a=null):d=r:d=o;else{var m=h(s),v=m&&c(m),g=m&&this._computeTargetAndRootIntersection(m,v,o);v&&g?(s=m,d=f(v,g)):(s=null,a=null)}else{var y=s.ownerDocument;s!=y.body&&s!=y.documentElement&&"visible"!=p.overflow&&(d=c(s))}if(d&&(a=l(d,a)),!a)break;s=s&&h(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=c(this.root);else{var n=m(this.root)?this.root:e,r=n.documentElement,i=n.body;t={top:0,left:0,right:r.clientWidth||i.clientWidth,width:r.clientWidth||i.clientWidth,bottom:r.clientHeight||i.clientHeight,height:r.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},a.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},a.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}},a.prototype._rootIsInDom=function(){return!this.root||p(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return p(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=o}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(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 a(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&&9!=o.root.nodeType)throw new Error("root must be a Document or 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(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function l(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),o=Math.min(e.right,t.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}||null}function c(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 d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function f(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=h(n)}return!1}function h(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(e){return e&&9===e.nodeType}}()},41143:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,i,o,a,s],c=0;(u=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},27376:function(e){e.exports=function(e){var n=t.call(e);return"[object Function]"===n||"function"==typeof e&&"[object RegExp]"!==n||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},5826:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},19755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,u=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},l=o.push,c=o.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||b).createElement("script");if(o.text=e,t)for(r in _)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function k(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var E="3.6.0",x=function(e,t){return new x.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:E,constructor:x,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(x.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(x.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},x.extend=x.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(x.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||x.isPlainObject(n)?n:{},i=!1,a[t]=x.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?x.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(S(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return u(a)},guid:1,support:v}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=o[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var T=function(e){var t,n,r,i,o,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,k=0,E=0,x=ue(),S=ue(),T=ue(),C=ue(),A=function(e,t){return e===t&&(d=!0),0},O={}.hasOwnProperty,N=[],P=N.pop,I=N.push,L=N.push,M=N.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",q="[\\x20\\t\\r\\n\\f]",j="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\[[\\x20\\t\\r\\n\\f]*("+j+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+q+"*\\]",B=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",U=new RegExp(q+"+","g"),z=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),V=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),W=new RegExp(q+"|>"),Y=new RegExp(B),G=new RegExp("^"+j+"$"),K={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(N=M.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){L={apply:N.length?function(e,t){I.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,l,c,d,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(f(t),t=t||p,m)){if(11!==w&&(d=J.exec(e)))if(o=d[1]){if(9===w){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(y&&(l=y.getElementById(o))&&b(t,l)&&l.id===o)return r.push(l),r}else{if(d[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!C[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(W.test(e)||V.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,ie):t.setAttribute("id",c=_)),s=(h=a(e)).length;s--;)h[s]=(c?"#"+c:":scope")+" "+be(h[s]);g=h.join(",")}try{return L.apply(r,y.querySelectorAll(g)),r}catch(t){C(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return u(e.replace(z,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function le(e){return e[_]=!0,e}function ce(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return le((function(t){return t=+t,le((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ce((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ce((function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Q.test(p.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+D+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",B)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:c?R(c,e)-R(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:c?R(c,e)-R(c,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!C[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){C(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&O.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(A),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=se.selectors={cacheLength:50,createPseudo:le,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+q+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,d,f,p,h,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(v){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(p=(l=(c=(d=(f=v)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&l[1])&&l[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[k,p,b];break}}else if(y&&(b=p=(l=(c=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&l[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((c=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[k,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=R(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(z,"$1"));return r[_]?le((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:le((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=E++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,d,f=[k,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===k&&l[1]===s)return f[2]=l[2];if(c[o]=f,f[2]=e(t,n,u))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ee(e,t,n,r,i,o){return r&&!r[_]&&(r=Ee(r)),i&&!i[_]&&(i=Ee(i,o)),le((function(o,a,s,u){var l,c,d,f=[],p=[],h=a.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?m:ke(m,f,e,s,u),g=n?i||(o?e:h||r)?[]:a:v;if(n&&n(v,g,s,u),r)for(l=ke(g,p),r(l,[],s,u),c=l.length;c--;)(d=l[c])&&(g[p[c]]=!(v[p[c]]=d));if(o){if(i||e){if(i){for(l=[],c=g.length;c--;)(d=g[c])&&l.push(v[c]=d);i(null,g=[],l,u)}for(c=g.length;c--;)(d=g[c])&&(l=i?R(o,d):f[c])>-1&&(o[l]=!(a[l]=d))}}else g=ke(g===a?g.splice(h,g.length):g),i?i(null,a,g,u):L.apply(a,g)}))}function xe(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=_e((function(e){return e===t}),s,!0),d=_e((function(e){return R(t,e)>-1}),s,!0),f=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):d(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])f=[_e(we(f),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[_]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return Ee(u>1&&we(f),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(z,"$1"),n,u<i&&xe(e.slice(u,i)),i<o&&xe(e=e.slice(i)),i<o&&be(e))}f.push(n)}return we(f)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,i,o,a,s,u,l,c=S[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=H.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=V.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(z," ")}),s=s.slice(n.length)),r.filter)!(i=K[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,u).slice(0)},s=se.compile=function(e,t){var n,i=[],o=[],s=T[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=xe(t[n]))[_]?i.push(s):o.push(s);s=T(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var d,h,v,g=0,y="0",b=o&&[],_=[],w=l,E=o||i&&r.find.TAG("*",c),x=k+=null==w?1:Math.random()||.1,S=E.length;for(c&&(l=a==p||a||c);y!==S&&null!=(d=E[y]);y++){if(i&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);v=e[h++];)if(v(d,a||p,s)){u.push(d);break}c&&(k=x)}n&&((d=!v&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,_,a,s);if(o){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=P.call(u));_=ke(_)}L.apply(u,_),c&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(u)}return c&&(k=x,l=w),b};return n?le(o):o}(o,i)),s.selector=e}return s},u=se.select=function(e,t,n,i){var o,u,l,c,d,f="function"==typeof e&&e,p=!i&&a(e=f.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=K.needsContext.test(e)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((d=r.find[c])&&(i=d(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&be(u)))return L.apply(n,i),n;break}}return(f||s(e,p))(i,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(A).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||de(D,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);x.find=T,x.expr=T.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=T.uniqueSort,x.text=T.getText,x.isXMLDoc=T.isXML,x.contains=T.contains,x.escapeSelector=T.escape;var C=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=x.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function I(e,t,n){return g(t)?x.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?x.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?x.grep(e,(function(e){return c.call(t,e)>-1!==n})):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,(function(e){return 1===e.nodeType})))},x.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(x(e).filter((function(){for(t=0;t<r;t++)if(x.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,i[t],n);return r>1?x.uniqueSort(n):n},filter:function(e){return this.pushStack(I(this,e||[],!1))},not:function(e){return this.pushStack(I(this,e||[],!0))},is:function(e){return!!I(this,"string"==typeof e&&O.test(e)?x(e):e||[],!1).length}});var L,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||L,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),P.test(r[1])&&x.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,L=x(b);var R=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&x(e);if(!O.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?x.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(x(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},(function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(D[e]||x.uniqueSort(i),R.test(e)&&i.reverse()),this.pushStack(i)}}));var j=/[^\x20\t\r\n\f]+/g;function F(e){return e}function B(e){throw e}function U(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(j)||[],(function(e,n){t[n]=!0})),t}(e):x.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){x.each(n,(function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==k(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return x.each(arguments,(function(e,t){for(var n;(n=x.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?x.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},x.extend({Deferred:function(e){var t=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return x.Deferred((function(n){x.each(t,(function(t,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,u=arguments,l=function(){var r,l;if(!(e<o)){if((r=n.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(l)?i?l.call(r,a(o,t,F,i),a(o,t,B,i)):(o++,l.call(r,a(o,t,F,i),a(o,t,B,i),a(o,t,F,t.notifyWith))):(n!==F&&(s=void 0,u=[r]),(i||t.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(r){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(r,c.stackTrace),e+1>=o&&(n!==B&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),r.setTimeout(c))}}return x.Deferred((function(r){t[0][3].add(a(0,r,g(i)?i:F,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:F)),t[2][3].add(a(0,r,g(n)?n:B))})).promise()},promise:function(e){return null!=e?x.extend(e,i):i}},o={};return x.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=x.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(U(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||g(i[n]&&i[n].then)))return o.then();for(;n--;)U(i[n],a(n),o.reject);return o.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&z.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){r.setTimeout((function(){throw e}))};var H=x.Deferred();function V(){b.removeEventListener("DOMContentLoaded",V),r.removeEventListener("load",V),x.ready()}x.fn.ready=function(e){return H.then(e).catch((function(e){x.readyException(e)})),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||H.resolveWith(b,[x]))}}),x.ready.then=H.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",V),r.addEventListener("load",V));var W=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===k(n))for(s in i=!0,n)W(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},Y=/^-ms-/,G=/-([a-z])/g;function K(e,t){return t.toUpperCase()}function X(e){return e.replace(Y,"ms-").replace(G,K)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Z(){this.expando=x.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(j)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!x.isEmptyObject(t)}};var Q=new Z,J=new Z,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=J.get(o),1===o.nodeType&&!Q.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),ne(o,r,i[r]));Q.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){J.set(this,e)})):W(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=J.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){x.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:x.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each((function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){x.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return x.contains(e.ownerDocument,e)},ue={composed:!0};ae.getRootNode&&(se=function(e){return x.contains(e.ownerDocument,e)||e.getRootNode(ue)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===x.css(e,"display")};function ce(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},u=s(),l=n&&n[3]||(x.cssNumber[t]?"":"px"),c=e.nodeType&&(x.cssNumber[t]||"px"!==l&&+u)&&ie.exec(x.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)x.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,x.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var de={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,i=de[r];return i||(t=n.body.appendChild(n.createElement(r)),i=x.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),de[r]=i,i)}function pe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Q.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&le(r)&&(i[o]=fe(r))):"none"!==n&&(i[o]="none",Q.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}x.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?x(this).show():x(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?x.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function Ee(e,t,n,r,i){for(var o,a,s,u,l,c,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===k(o))x.merge(f,o.nodeType?[o]:o);else if(ke.test(o)){for(a=a||d.appendChild(t.createElement("div")),s=(ge.exec(o)||["",""])[1].toLowerCase(),u=be[s]||be._default,a.innerHTML=u[1]+x.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;x.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",p=0;o=f[p++];)if(r&&x.inArray(o,r)>-1)i&&i.push(o);else if(l=se(o),a=_e(d.appendChild(o),"script"),l&&we(a),n)for(c=0;o=a[c++];)ye.test(o.type||"")&&n.push(o);return d}var xe=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Te(){return!1}function Ce(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Te;else if(!i)return e;return 1===o&&(a=i,i=function(e){return x().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=x.guid++)),e.each((function(){x.event.add(this,t,i,r,n)}))}function Oe(e,t,n){n?(Q.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(x.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Q.set(this,t,o),r=n(this,t),this[t](),o!==(i=Q.get(this,t))||r?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(Q.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&x.event.add(e,t,Se)}x.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,m,v=Q.get(e);if($(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(ae,i),n.guid||(n.guid=x.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(j)||[""]).length;l--;)p=m=(s=xe.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=x.event.special[p]||{},c=x.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&x.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),x.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,d,f,p,h,m,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(j)||[""]).length;l--;)if(p=m=(s=xe.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=x.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||x.removeEvent(e,p,v.handle),delete u[p])}else for(p in u)x.event.remove(e,p+t[l],n,r,!0);x.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=x.event.fix(e),l=(Q.get(this,"events")||Object.create(null))[u.type]||[],c=x.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){for(a=x.event.handlers.call(this,u,l),t=0;(i=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?x(i,this).index(l)>-1:x.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(x.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Oe(t,"click",Se),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&N(t,"input")&&Q.get(t,"click")||N(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},x.event.addProp),x.each({focus:"focusin",blur:"focusout"},(function(e,t){x.event.special[e]={setup:function(){return Oe(this,e,Ce),!1},trigger:function(){return Oe(this,e),!0},_default:function(){return!0},delegateType:t}})),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||x.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),x.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each((function(){x.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Ie=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(i in Q.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)x.event.add(t,i,s[i][n]);J.hasData(e)&&(o=J.access(e),a=x.extend({},o),J.set(t,a))}}function qe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function je(e,t,n,r){t=u(t);var i,o,a,s,l,c,d=0,f=e.length,p=f-1,h=t[0],m=g(h);if(m||f>1&&"string"==typeof h&&!v.checkClone&&Pe.test(h))return e.each((function(i){var o=e.eq(i);m&&(t[0]=h.call(this,i,o.html())),je(o,t,n,r)}));if(f&&(o=(i=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=x.map(_e(i,"script"),Me)).length;d<f;d++)l=i,d!==p&&(l=x.clone(l,!0,!0),s&&x.merge(a,_e(l,"script"))),n.call(e[d],l,d);if(s)for(c=a[a.length-1].ownerDocument,x.map(a,Re),d=0;d<s;d++)l=a[d],ye.test(l.type||"")&&!Q.access(l,"globalEval")&&x.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&!l.noModule&&x._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):w(l.textContent.replace(Ie,""),l,c))}return e}function Fe(e,t,n){for(var r,i=t?x.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||x.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(a=_e(s),r=0,i=(o=_e(e)).length;r<i;r++)qe(o[r],a[r]);if(t)if(n)for(o=o||_e(e),a=a||_e(s),r=0,i=o.length;r<i;r++)De(o[r],a[r]);else De(e,s);return(a=_e(s,"script")).length>0&&we(a,!u&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),x.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return W(this,(function(e){return void 0===e?x.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return je(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return je(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return x.clone(this,e,t)}))},html:function(e){return W(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return je(this,arguments,(function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){x.fn[e]=function(e){for(var n,r=[],i=x(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),x(i[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},ze=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},He=new RegExp(oe.join("|"),"i");function Ve(e,t,n){var r,i,o,a,s=e.style;return(n=n||Ue(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=x.style(e,t)),!v.pixelBoxStyles()&&Be.test(a)&&He.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function We(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(l).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,u=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),i=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),ae.removeChild(l),c=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,u,l=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===c.style.backgroundClip,x.extend(v,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,n,i;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),i=r.getComputedStyle(t),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ye=["Webkit","Moz","ms"],Ge=b.createElement("div").style,Ke={};function Xe(e){var t=x.cssProps[e]||Ke[e];return t||(e in Ge?e:Ke[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in Ge)return e}(e)||e)}var $e=/^(none|table(?!-c[ea]).+)/,Ze=/^--/,Qe={position:"absolute",visibility:"hidden",display:"block"},Je={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=x.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=x.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=x.css(e,"border"+oe[a]+"Width",!0,i))):(u+=x.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=x.css(e,"border"+oe[a]+"Width",!0,i):s+=x.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function nt(e,t,n){var r=Ue(e),i=(!v.boxSizingReliable()||n)&&"border-box"===x.css(e,"boxSizing",!1,r),o=i,a=Ve(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&i||!v.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===x.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===x.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(i?"border":"content"),o,r,a)+"px"}function rt(e,t,n,r,i){return new rt.prototype.init(e,t,n,r,i)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ve(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Ze.test(t),l=e.style;if(u||(t=Xe(s)),a=x.cssHooks[t]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(x.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ze.test(t)||(t=Xe(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ve(e,t,r)),"normal"===i&&t in Je&&(i=Je[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!$e.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):ze(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var i,o=Ue(e),a=!v.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===x.css(e,"boxSizing",!1,o),u=r?tt(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-tt(e,t,"border",!1,o)-.5)),u&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),et(0,n,u)}}})),x.cssHooks.marginLeft=We(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ve(e,"marginLeft"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),x.each({margin:"",padding:"",border:"Width"},(function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(x.cssHooks[e+t].set=et)})),x.fn.extend({css:function(e,t){return W(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;a<i;a++)o[t[a]]=x.css(e,t[a],!1,r);return o}return void 0!==n?x.style(e,t,n):x.css(e,t)}),e,t,arguments.length>1)}}),x.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||!x.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=rt.prototype.init,x.fx.step={};var it,ot,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ut(){ot&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,x.fx.interval),x.fx.tick())}function lt(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function dt(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(e,t,n){var r,i,o=0,a=ft.prefilters.length,s=x.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=it||lt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=x.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=ft.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(x._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return x.map(c,dt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),x.fx.timer(x.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}x.Animation=x.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(j);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&le(e),v=Q.get(e,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()}))}))),t)if(i=t[r],at.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;m=!0}p[r]=v&&v[r]||x.style(e,r)}if((u=!x.isEmptyObject(t))||!x.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Q.get(e,"display")),"none"===(c=x.css(e,"display"))&&(l?c=l:(pe([e],!0),l=e.style.display||l,c=x.css(e,"display"),pe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===x.css(e,"float")&&(u||(f.done((function(){h.display=l})),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),u=!1,p)u||(v?"hidden"in v&&(m=v.hidden):v=Q.access(e,"fxshow",{display:l}),o&&(v.hidden=!m),m&&pe([e],!0),f.done((function(){for(r in m||pe([e]),Q.remove(e,"fxshow"),p)x.style(e,r,p[r])}))),u=dt(m?v[r]:0,r,f),r in v||(v[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in x.fx.speeds?r.duration=x.fx.speeds[r.duration]:r.duration=x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=ft(this,x.extend({},e),o);(i||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=x.timers,a=Q.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&st.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||x.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),x.each(["toggle","show","hide"],(function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),x.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),it=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){ot||(ot=!0,ut())},x.fx.stop=function(){ot=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(e,t){return e=x.fx&&x.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var i=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(i)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var pt,ht=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return W(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){x.removeAttr(this,e)}))}}),x.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?x.prop(e,t,n):(1===o&&x.isXMLDoc(e)||(i=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void x.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(j);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||x.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}}));var mt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(j)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}x.fn.extend({prop:function(e,t){return W(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[x.propFix[e]||e]}))}}),x.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&x.isXMLDoc(e)||(t=x.propFix[t]||t,i=x.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){x.propFix[this.toLowerCase()]=this})),x.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each((function(t){x(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[u++];)if(i=yt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each((function(t){x(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[u++];)if(i=yt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){x(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=x(this),a=bt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;x.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=g(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,x(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=x.map(i,(function(e){return null==e?"":e+""}))),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_t,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:gt(x.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=x(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=x.makeArray(t),a=i.length;a--;)((r=i[a]).selected=x.inArray(x.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],(function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},v.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,n,i){var o,a,s,u,l,c,d,f,h=[n||b],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[x.expando]?e:new x.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:x.makeArray(t,[e]),d=x.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!y(n)){for(u=d.delegateType||m,wt.test(u+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?u:d.bindType||m,(c=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&c.apply(a,t),(c=l&&a[l])&&c.apply&&$(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!$(n)||l&&g(n[m])&&!y(n)&&((s=n[l])&&(n[l]=null),x.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,kt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,kt),x.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each((function(){x.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),v.focusin||x.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var Et=r.location,xt={guid:Date.now()},St=/\?/;x.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||x.error("Invalid XML: "+(n?x.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Tt=/\[\]$/,Ct=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var i;if(Array.isArray(t))x.each(t,(function(t,i){n||Tt.test(e)?r(e,i):Nt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==k(t))r(e,t);else for(i in t)Nt(e+"["+i+"]",t[i],n,r)}x.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,(function(){i(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,i);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Ot.test(this.nodeName)&&!At.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}});var Pt=/%20/g,It=/#.*$/,Lt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Dt=/^\/\//,qt={},jt={},Ft="*/".concat("*"),Bt=b.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(j)||[];if(g(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function zt(e,t,n,r){var i={},o=e===jt;function a(s){var u;return i[s]=!0,x.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Ht(e,t){var n,r,i=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Bt.href=Et.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ht(Ht(e,x.ajaxSettings),t):Ht(x.ajaxSettings,e)},ajaxPrefilter:Ut(qt),ajaxTransport:Ut(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,u,l,c,d,f,p=x.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?x(h):x.event,v=x.Deferred(),g=x.Callbacks("once memory"),y=p.statusCode||{},_={},w={},k="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Mt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)E.always(e[E.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return n&&n.abort(t),S(0,t),this}};if(v.promise(E),p.url=((e||p.url||Et.href)+"").replace(Dt,Et.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(j)||[""],null==p.crossDomain){u=b.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),zt(qt,p,t,E),l)return E;for(d in(c=x.event&&p.global)&&0==x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Rt.test(p.type),i=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(St.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Lt,"$1"),f=(St.test(i)?"&":"?")+"_="+xt.guid+++f),p.url=i+f),p.ifModified&&(x.lastModified[i]&&E.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&E.setRequestHeader("If-None-Match",x.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&E.setRequestHeader("Content-Type",p.contentType),E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ft+"; q=0.01":""):p.accepts["*"]),p.headers)E.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,E,p)||l))return E.abort();if(k="abort",g.add(p.complete),E.done(p.success),E.fail(p.error),n=zt(jt,p,t,E)){if(E.readyState=1,c&&m.trigger("ajaxSend",[E,p]),l)return E;p.async&&p.timeout>0&&(s=r.setTimeout((function(){E.abort("timeout")}),p.timeout));try{l=!1,n.send(_,S)}catch(e){if(l)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,u){var d,f,b,_,w,k=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,o=u||"",E.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,E,a)),!d&&x.inArray("script",p.dataTypes)>-1&&x.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,_,E,d),d?(p.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=_.state,f=_.data,d=!(b=_.error))):(b=k,!e&&k||(k="error",e<0&&(e=0))),E.status=e,E.statusText=(t||k)+"",d?v.resolveWith(h,[f,k,E]):v.rejectWith(h,[E,k,b]),E.statusCode(y),y=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[E,p,d?f:b]),g.fireWith(h,[E,k]),c&&(m.trigger("ajaxComplete",[E,p]),--x.active||x.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],(function(e,t){x[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:i,data:n,success:r},x.isPlainObject(e)&&e))}})),x.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),x._evalUrl=function(e,t,n){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){x.globalEval(e,t,n)}})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){x(this).wrapInner(e.call(this,t))})):this.each((function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){x(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){x(this).replaceWith(this.childNodes)})),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Wt=x.ajaxSettings.xhr();v.cors=!!Wt&&"withCredentials"in Wt,v.ajax=Wt=!!Wt,x.ajaxTransport((function(e){var t,n;if(v.cors||Wt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),x.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),x.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=x("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,Gt=[],Kt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||x.expando+"_"+xt.guid++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",(function(e,t,n){var i,o,a,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+i):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||x.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=r[i],r[i]=function(){a=arguments},n.always((function(){void 0===o?x(r).removeProp(i):r[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0})),"script"})),v.createHTMLDocument=((Yt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),x.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),o=!n&&[],(i=P.exec(e))?[t.createElement(i[1])]:(i=Ee([e],t,o),o&&o.length&&x(o).remove(),x.merge([],i.childNodes)));var r,i,o},x.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&x.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},x.expr.pseudos.animated=function(e){return x.grep(x.timers,(function(t){return e===t.elem})).length},x.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=x.css(e,"position"),c=x(e),d={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=x.css(e,"top"),u=x.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,x.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):c.css(d)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){x.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===x.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),i.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-x.css(r,"marginTop",!0),left:t.left-i.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||ae}))}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;x.fn[e]=function(r){return W(this,(function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),x.each(["top","left"],(function(e,t){x.cssHooks[t]=We(v.pixelPosition,(function(e,n){if(n)return n=Ve(e,t),Be.test(n)?x(e).position()[t]+"px":n}))})),x.each({Height:"height",Width:"width"},(function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){x.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return W(this,(function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?x.css(t,n,s):x.style(t,n,i,s)}),t,a?i:void 0,a)}}))})),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){x.fn[t]=function(e){return this.on(t,e)}})),x.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Xt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;x.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),i=function(){return e.apply(t||this,r.concat(s.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=N,x.isFunction=g,x.isWindow=y,x.camelCase=X,x.type=k,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},x.trim=function(e){return null==e?"":(e+"").replace(Xt,"")},void 0===(n=function(){return x}.apply(t,[]))||(e.exports=n);var $t=r.jQuery,Zt=r.$;return x.noConflict=function(e){return r.$===x&&(r.$=Zt),e&&r.jQuery===x&&(r.jQuery=$t),x},void 0===i&&(r.jQuery=r.$=x),x}))},19575:function(e,t,n){var r,i;i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this,e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),l=String.fromCharCode,c=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?l(192|t>>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(e){return e.replace(d,c)},p=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[s.charAt(n>>>18),s.charAt(n>>>12&63),t>=2?"=":s.charAt(n>>>6&63),t>=1?"=":s.charAt(63&n)].join("")},h=n.btoa&&"function"==typeof n.btoa?function(e){return n.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,p)},m=function(e){return h(f(String(e)))},v=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?v(m(e)):m(e)},y=function(e){return g(e,!0)};n.Uint8Array&&(i=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],a=e[r+1],u=e[r+2],l=o<<16|a<<8|u;n+=s.charAt(l>>>18)+s.charAt(l>>>12&63)+(void 0!==a?s.charAt(l>>>6&63):"=")+(void 0!==u?s.charAt(63&l):"=")}return t?v(n):n});var b,_=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return l(55296+(t>>>10))+l(56320+(1023&t));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},k=function(e){return e.replace(_,w)},E=function(e){var t=e.length,n=t%4,r=(t>0?u[e.charAt(0)]<<18:0)|(t>1?u[e.charAt(1)]<<12:0)|(t>2?u[e.charAt(2)]<<6:0)|(t>3?u[e.charAt(3)]:0),i=[l(r>>>16),l(r>>>8&255),l(255&r)];return i.length-=[0,0,2,1][n],i.join("")},x=n.atob&&"function"==typeof n.atob?function(e){return n.atob(e)}:function(e){return e.replace(/\S{1,4}/g,E)},S=function(e){return x(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},T=function(e){return k(x(e))},C=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},A=function(e){return T(C(e))};n.Uint8Array&&(b=function(e){return Uint8Array.from(S(C(e)),(function(e){return e.charCodeAt(0)}))});var O=function(){var e=n.Base64;return n.Base64=o,e};if(n.Base64={VERSION:a,atob:S,btoa:h,fromBase64:A,toBase64:g,utob:f,encode:g,encodeURI:y,btou:k,decode:A,noConflict:O,fromUint8Array:i,toUint8Array:b},"function"==typeof Object.defineProperty){var N=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",N((function(){return A(this)}))),Object.defineProperty(String.prototype,"toBase64",N((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",N((function(){return g(this,!0)})))}}return n.Meteor&&(Base64=n.Base64),e.exports?e.exports.Base64=n.Base64:void 0===(r=function(){return n.Base64}.apply(t,[]))||(e.exports=r),{Base64:n.Base64}}(i)},65605:function(e,t,n){var r;!function(){"use strict";var t="object"==typeof window?window:{};!t.JS_HTMLENCODE_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node&&(t=n.g);var i=!t.JS_HTMLENCODE_NO_COMMON_JS&&e.exports,o=n.amdO,a={"&nbsp;":" ","&iexcl;":"¡","&cent;":"¢","&pound;":"£","&curren;":"¤","&yen;":"¥","&brvbar;":"¦","&sect;":"§","&uml;":"¨","&copy;":"©","&ordf;":"ª","&laquo;":"«","&not;":"¬","&shy;":"­","&reg;":"®","&macr;":"¯","&deg;":"°","&plusmn;":"±","&sup2;":"²","&sup3;":"³","&acute;":"´","&micro;":"µ","&para;":"¶","&middot;":"·","&cedil;":"¸","&sup1;":"¹","&ordm;":"º","&raquo;":"»","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&iquest;":"¿","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&times;":"×","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&divide;":"÷","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&quot;":'"',"&amp;":"&","&lt;":"<","&gt;":">","&apos;":"'","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"〈","&rang;":"〉","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},s=function(e){if("#"!==e.charAt(1))return a[e]||e;var t,n=e.charAt(2);return"x"===n||"X"===n?(n=e.substring(3,e.length-1),t=parseInt(n,16)):(n=e.substring(2,e.length-1),t=parseInt(n)),isNaN(t)?e:String.fromCharCode(t)},u=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},l=function(e){return e.replace(/&#?\w+;/g,s)},c=u;u.htmlEncode=u,u.htmlDecode=l,i?e.exports=c:(t.htmlEncode=u,t.htmlDecode=l,o&&(void 0===(r=function(){return c}.call(c,n,c,e))||(e.exports=r)))}()},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)}},71168:function(e){function t(e){this.message=e}t.prototype=new Error,t.prototype.name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var n=String(e).replace(/=+$/,"");if(n.length%4==1)throw new t("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,i,o=0,a=0,s="";i=n.charAt(a++);~i&&(r=o%4?64*r+i:i,o++%4)?s+=String.fromCharCode(255&r>>(-2*o&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return s}},84491:function(e,t,n){var r=n(71168);e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(r(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return r(t)}}},46489:function(e,t,n){"use strict";var r=n(84491);function i(e){this.message=e}i.prototype=new Error,i.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new i("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(r(e.split(".")[n]))}catch(e){throw new i("Invalid token specified: "+e.message)}},e.exports.InvalidTokenError=i},54366:function(e,t,n){e.exports=n(18518).default},18518:function(e,t){"use strict";t.default=function(){var e={KEY_CANCEL:3,KEY_HELP:6,KEY_BACK_SPACE:8,KEY_TAB:9,KEY_CLEAR:12,KEY_RETURN:13,KEY_ENTER:14,KEY_SHIFT:16,KEY_CONTROL:17,KEY_ALT:18,KEY_PAUSE:19,KEY_CAPS_LOCK:20,KEY_ESCAPE:27,KEY_SPACE:32,KEY_PAGE_UP:33,KEY_PAGE_DOWN:34,KEY_END:35,KEY_HOME:36,KEY_LEFT:37,KEY_UP:38,KEY_RIGHT:39,KEY_DOWN:40,KEY_PRINTSCREEN:44,KEY_INSERT:45,KEY_DELETE:46,KEY_0:48,KEY_1:49,KEY_2:50,KEY_3:51,KEY_4:52,KEY_5:53,KEY_6:54,KEY_7:55,KEY_8:56,KEY_9:57,KEY_SEMICOLON:59,KEY_EQUALS:61,KEY_A:65,KEY_B:66,KEY_C:67,KEY_D:68,KEY_E:69,KEY_F:70,KEY_G:71,KEY_H:72,KEY_I:73,KEY_J:74,KEY_K:75,KEY_L:76,KEY_M:77,KEY_N:78,KEY_O:79,KEY_P:80,KEY_Q:81,KEY_R:82,KEY_S:83,KEY_T:84,KEY_U:85,KEY_V:86,KEY_W:87,KEY_X:88,KEY_Y:89,KEY_Z:90,KEY_CONTEXT_MENU:93,KEY_NUMPAD0:96,KEY_NUMPAD1:97,KEY_NUMPAD2:98,KEY_NUMPAD3:99,KEY_NUMPAD4:100,KEY_NUMPAD5:101,KEY_NUMPAD6:102,KEY_NUMPAD7:103,KEY_NUMPAD8:104,KEY_NUMPAD9:105,KEY_MULTIPLY:106,KEY_ADD:107,KEY_SEPARATOR:108,KEY_SUBTRACT:109,KEY_DECIMAL:110,KEY_DIVIDE:111,KEY_F1:112,KEY_F2:113,KEY_F3:114,KEY_F4:115,KEY_F5:116,KEY_F6:117,KEY_F7:118,KEY_F8:119,KEY_F9:120,KEY_F10:121,KEY_F11:122,KEY_F12:123,KEY_F13:124,KEY_F14:125,KEY_F15:126,KEY_F16:127,KEY_F17:128,KEY_F18:129,KEY_F19:130,KEY_F20:131,KEY_F21:132,KEY_F22:133,KEY_F23:134,KEY_F24:135,KEY_NUM_LOCK:144,KEY_SCROLL_LOCK:145,KEY_COMMA:188,KEY_PERIOD:190,KEY_SLASH:191,KEY_BACK_QUOTE:192,KEY_OPEN_BRACKET:219,KEY_BACK_SLASH:220,KEY_CLOSE_BRACKET:221,KEY_QUOTE:222,KEY_META:224};function t(){}return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}()},27537:function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},13192:function(e){"use strict";e.exports=function(e){var t,n={};if(!(e instanceof Object)||Array.isArray(e))throw new Error("keyMirror(...): Argument must be an object.");for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n}},30563:function(e){var t,n=function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e};e.exports=n},31730:function(e){var t=9007199254740991,n="[object Arguments]",r="[object Function]",i="[object GeneratorFunction]",o=/^(?:0|[1-9]\d*)$/;function a(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)}var s,u,l=Object.prototype,c=l.hasOwnProperty,d=l.toString,f=l.propertyIsEnumerable,p=(s=Object.keys,u=Object,function(e){return s(u(e))}),h=Math.max,m=!f.call({valueOf:1},"valueOf");function v(e,t){var r=w(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&k(e)}(e)&&c.call(e,"callee")&&(!f.call(e,"callee")||d.call(e)==n)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],i=r.length,o=!!i;for(var a in e)!t&&!c.call(e,a)||o&&("length"==a||y(a,i))||r.push(a);return r}function g(e,t,n){var r=e[t];c.call(e,t)&&_(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function y(e,n){return!!(n=null==n?t:n)&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<n}function b(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||l)}function _(e,t){return e===t||e!=e&&t!=t}var w=Array.isArray;function k(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=E(e)?d.call(e):"";return t==r||t==i}(e)}function E(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var x,S=(x=function(e,t){if(m||b(t)||k(t))!function(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;g(n,a,void 0===s?e[a]:s)}}(t,function(e){return k(e)?v(e):function(e){if(!b(e))return p(e);var t=[];for(var n in Object(e))c.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}(t),e);else for(var n in t)c.call(t,n)&&g(e,n,t[n])},function(e,t){return t=h(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=h(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=n[r];return s[t]=o,a(e,this,s)}}((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=x.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!E(n))return!1;var r=typeof t;return!!("number"==r?k(n)&&y(t,n.length):"string"==r&&t in n)&&_(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&x(e,a,n,i)}return e})));e.exports=S},83465:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",u="[object Function]",l="[object GeneratorFunction]",c="[object Map]",d="[object Number]",f="[object Object]",p="[object Promise]",h="[object RegExp]",m="[object Set]",v="[object String]",g="[object Symbol]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",w="[object Float32Array]",k="[object Float64Array]",E="[object Int8Array]",x="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",C="[object Uint8ClampedArray]",A="[object Uint16Array]",O="[object Uint32Array]",N=/\w*$/,P=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,L={};L[o]=L["[object Array]"]=L[b]=L[_]=L[a]=L[s]=L[w]=L[k]=L[E]=L[x]=L[S]=L[c]=L[d]=L[f]=L[h]=L[m]=L[v]=L[g]=L[T]=L[C]=L[A]=L[O]=!0,L["[object Error]"]=L[u]=L[y]=!1;var M="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,R="object"==typeof self&&self&&self.Object===Object&&self,D=M||R||Function("return this")(),q=t&&!t.nodeType&&t,j=q&&e&&!e.nodeType&&e,F=j&&j.exports===q;function B(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function z(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function H(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function V(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function W(e,t){return function(n){return e(t(n))}}function Y(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var G,K=Array.prototype,X=Function.prototype,$=Object.prototype,Z=D["__core-js_shared__"],Q=(G=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",J=X.toString,ee=$.hasOwnProperty,te=$.toString,ne=RegExp("^"+J.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=F?D.Buffer:void 0,ie=D.Symbol,oe=D.Uint8Array,ae=W(Object.getPrototypeOf,Object),se=Object.create,ue=$.propertyIsEnumerable,le=K.splice,ce=Object.getOwnPropertySymbols,de=re?re.isBuffer:void 0,fe=W(Object.keys,Object),pe=je(D,"DataView"),he=je(D,"Map"),me=je(D,"Promise"),ve=je(D,"Set"),ge=je(D,"WeakMap"),ye=je(Object,"create"),be=He(pe),_e=He(he),we=He(me),ke=He(ve),Ee=He(ge),xe=ie?ie.prototype:void 0,Se=xe?xe.valueOf:void 0;function Te(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 Ce(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 Ae(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 Oe(e){this.__data__=new Ce(e)}function Ne(e,t){var n=We(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&Ye(e)}(e)&&ee.call(e,"callee")&&(!ue.call(e,"callee")||te.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!ee.call(e,a)||i&&("length"==a||Ue(a,r))||n.push(a);return n}function Pe(e,t,n){var r=e[t];ee.call(e,t)&&Ve(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Ie(e,t){for(var n=e.length;n--;)if(Ve(e[n][0],t))return n;return-1}function Le(e,t,n,r,i,p,y){var P;if(r&&(P=p?r(e,i,p,y):r(e)),void 0!==P)return P;if(!Xe(e))return e;var I=We(e);if(I){if(P=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&ee.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,P)}else{var M=Be(e),R=M==u||M==l;if(Ge(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(M==f||M==o||R&&!p){if(H(e))return p?e:{};if(P=function(e){return"function"!=typeof e.constructor||ze(e)?{}:(t=ae(e),Xe(t)?se(t):{});var t}(R?{}:e),!t)return function(e,t){return De(e,Fe(e),t)}(e,function(e,t){return e&&De(t,$e(t),e)}(P,e))}else{if(!L[M])return p?e:{};P=function(e,t,n,r){var i=e.constructor;switch(t){case b:return Re(e);case a:case s:return new i(+e);case _:return function(e,t){var n=t?Re(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case w:case k:case E:case x:case S:case T:case C:case A:case O:return function(e,t){var n=t?Re(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case c:return function(e,t,n){return z(t?n(V(e),!0):V(e),B,new e.constructor)}(e,r,n);case d:case v:return new i(e);case h:return function(e){var t=new e.constructor(e.source,N.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,n){return z(t?n(Y(e),!0):Y(e),U,new e.constructor)}(e,r,n);case g:return o=e,Se?Object(Se.call(o)):{}}var o}(e,M,Le,t)}}y||(y=new Oe);var D=y.get(e);if(D)return D;if(y.set(e,P),!I)var q=n?function(e){return function(e,t,n){var r=t(e);return We(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,$e,Fe)}(e):$e(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(q||e,(function(i,o){q&&(i=e[o=i]),Pe(P,o,Le(i,t,n,r,o,e,y))})),P}function Me(e){return!(!Xe(e)||(t=e,Q&&Q in t))&&(Ke(e)||H(e)?ne:P).test(He(e));var t}function Re(e){var t=new e.constructor(e.byteLength);return new oe(t).set(new oe(e)),t}function De(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Pe(n,a,void 0===s?e[a]:s)}return n}function qe(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function je(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Me(n)?n:void 0}Te.prototype.clear=function(){this.__data__=ye?ye(null):{}},Te.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Te.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},Te.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:ee.call(t,e)},Te.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},Ce.prototype.clear=function(){this.__data__=[]},Ce.prototype.delete=function(e){var t=this.__data__,n=Ie(t,e);return!(n<0)&&(n==t.length-1?t.pop():le.call(t,n,1),!0)},Ce.prototype.get=function(e){var t=this.__data__,n=Ie(t,e);return n<0?void 0:t[n][1]},Ce.prototype.has=function(e){return Ie(this.__data__,e)>-1},Ce.prototype.set=function(e,t){var n=this.__data__,r=Ie(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ae.prototype.clear=function(){this.__data__={hash:new Te,map:new(he||Ce),string:new Te}},Ae.prototype.delete=function(e){return qe(this,e).delete(e)},Ae.prototype.get=function(e){return qe(this,e).get(e)},Ae.prototype.has=function(e){return qe(this,e).has(e)},Ae.prototype.set=function(e,t){return qe(this,e).set(e,t),this},Oe.prototype.clear=function(){this.__data__=new Ce},Oe.prototype.delete=function(e){return this.__data__.delete(e)},Oe.prototype.get=function(e){return this.__data__.get(e)},Oe.prototype.has=function(e){return this.__data__.has(e)},Oe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ce){var r=n.__data__;if(!he||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ae(r)}return n.set(e,t),this};var Fe=ce?W(ce,Object):function(){return[]},Be=function(e){return te.call(e)};function Ue(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||I.test(e))&&e>-1&&e%1==0&&e<t}function ze(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$)}function He(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ve(e,t){return e===t||e!=e&&t!=t}(pe&&Be(new pe(new ArrayBuffer(1)))!=_||he&&Be(new he)!=c||me&&Be(me.resolve())!=p||ve&&Be(new ve)!=m||ge&&Be(new ge)!=y)&&(Be=function(e){var t=te.call(e),n=t==f?e.constructor:void 0,r=n?He(n):void 0;if(r)switch(r){case be:return _;case _e:return c;case we:return p;case ke:return m;case Ee:return y}return t});var We=Array.isArray;function Ye(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!Ke(e)}var Ge=de||function(){return!1};function Ke(e){var t=Xe(e)?te.call(e):"";return t==u||t==l}function Xe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $e(e){return Ye(e)?Ne(e):function(e){if(!ze(e))return fe(e);var t=[];for(var n in Object(e))ee.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return Le(e,!0,!0)}},91296:function(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,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,c=u||l||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,h=function(){return c.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(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,u,l=0,c=!1,d=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,l=t,a=e.apply(o,n)}function b(e){return l=e,s=setTimeout(w,t),c?y(e):a}function _(e){var n=e-u;return void 0===u||n>=t||n<0||d&&e-l>=o}function w(){var e=h();if(_(e))return k(e);s=setTimeout(w,function(e){var n=t-(e-u);return d?p(n,o-(e-l)):n}(e))}function k(e){return s=void 0,g&&r?y(e):(r=i=void 0,a)}function E(){var e=h(),n=_(e);if(r=arguments,i=this,u=e,n){if(void 0===s)return b(u);if(d)return s=setTimeout(w,t),y(u)}return void 0===s&&(s=setTimeout(w,t)),a}return t=v(t)||0,m(n)&&(c=!!n.leading,o=(d="maxWait"in n)?f(v(n.maxWait)||0,t):o,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==s&&clearTimeout(s),l=0,r=u=i=s=void 0},E.flush=function(){return void 0===s?a:k(h())},E}},91658:function(e,t,n){var r="[object Symbol]",i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source),a="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=a||s||Function("return this")(),l=Object.prototype.toString,c=u.Symbol,d=c?c.prototype:void 0,f=d?d.toString:void 0;function p(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&l.call(e)==r}(e))return f?f.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}e.exports=function(e){return(e=function(e){return null==e?"":p(e)}(e))&&o.test(e)?e.replace(i,"\\$&"):e}},35757:function(e){var t=9007199254740991,n="[object Function]",r="[object GeneratorFunction]",i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=i.propertyIsEnumerable;e.exports=function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?a.call(e):"";return t==n||t==r}(e)}(e)}(e)&&o.call(e,"callee")&&(!s.call(e,"callee")||"[object Arguments]"==a.call(e))}},53778:function(e){var t="[object Function]",n=/^\[object .+?Constructor\]$/;function r(e){return!!e&&"object"==typeof e}var i=Object.prototype,o=Function.prototype.toString,a=i.hasOwnProperty,s=i.toString,u=RegExp("^"+o.call(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),l=function(e,i){var a=null==e?void 0:e[i];return function(e){if(null==e)return!1;if(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&s.call(e)==t}(e))return u.test(o.call(e));return r(e)&&n.test(e)}(a)?a:void 0}(Array,"isArray");var c=l||function(e){return r(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&"[object Array]"==s.call(e)};e.exports=c},8146:function(e,t,n){var r=n(30563),i=n(35757),o=n(58720);var a=Object.prototype,s=a.hasOwnProperty,u=a.toString;e.exports=function(e){var t,n;return!(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=u.call(e)||i(e)||!(s.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(r(e,(function(e,t){n=t}),o),void 0===n||s.call(e,n))}},58720:function(e,t,n){var r=n(35757),i=n(53778),o=/^\d+$/,a=Object.prototype.hasOwnProperty,s=9007199254740991;function u(e,t){return e="number"==typeof e||o.test(e)?+e:-1,t=null==t?s:t,e>-1&&e%1==0&&e<t}e.exports=function(e){if(null==e)return[];(function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)})(e)||(e=Object(e));var t=e.length;t=t&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}(t)&&(i(e)||r(e))&&t||0;for(var n=e.constructor,o=-1,l="function"==typeof n&&n.prototype===e,c=Array(t),d=t>0;++o<t;)c[o]=o+"";for(var f in e)d&&u(f,t)||"constructor"==f&&(l||!a.call(e,f))||c.push(f);return c}},38554:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Function]",s="[object Object]",u=/^\[object .+?Constructor\]$/,l=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[o]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[s]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),h=t&&!t.nodeType&&t,m=h&&e&&!e.nodeType&&e,v=m&&m.exports===h,g=v&&d.process,y=function(){try{var e=m&&m.require&&m.require("util").types;return e||g&&g.binding&&g.binding("util")}catch(e){}}(),b=y&&y.isTypedArray;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)}var w,k,E,x=Array.prototype,S=Function.prototype,T=Object.prototype,C=p["__core-js_shared__"],A=S.toString,O=T.hasOwnProperty,N=(w=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",P=T.toString,I=A.call(Object),L=RegExp("^"+A.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=v?p.Buffer:void 0,R=p.Symbol,D=p.Uint8Array,q=M?M.allocUnsafe:void 0,j=(k=Object.getPrototypeOf,E=Object,function(e){return k(E(e))}),F=Object.create,B=T.propertyIsEnumerable,U=x.splice,z=R?R.toStringTag:void 0,H=function(){try{var e=me(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),V=M?M.isBuffer:void 0,W=Math.max,Y=Date.now,G=me(p,"Map"),K=me(Object,"create"),X=function(){function e(){}return function(t){if(!Ce(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $(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])}}function Z(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])}}function Q(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])}}function J(e){var t=this.__data__=new Z(e);this.size=t.size}function ee(e,t){var n=ke(e),r=!n&&we(e),i=!n&&!r&&xe(e),o=!n&&!r&&!i&&Oe(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],u=s.length;for(var l in e)!t&&!O.call(e,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ve(l,u))||s.push(l);return s}function te(e,t,n){(void 0!==n&&!_e(e[t],n)||void 0===n&&!(t in e))&&ie(e,t,n)}function ne(e,t,n){var r=e[t];O.call(e,t)&&_e(r,n)&&(void 0!==n||t in e)||ie(e,t,n)}function re(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function ie(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}$.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return n===r?void 0:n}return O.call(t,e)?t[e]:void 0},$.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:O.call(t,e)},$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=K&&void 0===t?r:t,this},Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=re(t,e);return!(n<0)&&(n==t.length-1?t.pop():U.call(t,n,1),--this.size,!0)},Z.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},Z.prototype.has=function(e){return re(this.__data__,e)>-1},Z.prototype.set=function(e,t){var n=this.__data__,r=re(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(G||Z),string:new $}},Q.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},Q.prototype.get=function(e){return he(this,e).get(e)},Q.prototype.has=function(e){return he(this,e).has(e)},Q.prototype.set=function(e,t){var n=he(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new Z,this.size=0},J.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!G||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(e,t),this.size=n.size,this};var oe,ae=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[oe?a:++r];if(!1===t(i[s],s,i))break}return e};function se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":z&&z in Object(e)?function(e){var t=O.call(e,z),n=e[z];try{e[z]=void 0;var r=!0}catch(e){}var i=P.call(e);r&&(t?e[z]=n:delete e[z]);return i}(e):function(e){return P.call(e)}(e)}function ue(e){return Ae(e)&&se(e)==o}function le(e){return!(!Ce(e)||function(e){return!!N&&N in e}(e))&&(Se(e)?L:u).test(function(e){if(null!=e){try{return A.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ce(e){if(!Ce(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ge(e),n=[];for(var r in e)("constructor"!=r||!t&&O.call(e,r))&&n.push(r);return n}function de(e,t,n,r,i){e!==t&&ae(t,(function(o,a){if(i||(i=new J),Ce(o))!function(e,t,n,r,i,o,a){var u=ye(e,n),l=ye(t,n),c=a.get(l);if(c)return void te(e,n,c);var d=o?o(u,l,n+"",e,t,a):void 0,f=void 0===d;if(f){var p=ke(l),h=!p&&xe(l),m=!p&&!h&&Oe(l);d=l,p||h||m?ke(u)?d=u:!function(e){return Ae(e)&&Ee(e)}(u)?h?(f=!1,d=function(e,t){if(t)return e.slice();var n=e.length,r=q?q(n):new e.constructor(n);return e.copy(r),r}(l,!0)):m?(f=!1,v=l,g=!0?(y=v.buffer,b=new y.constructor(y.byteLength),new D(b).set(new D(y)),b):v.buffer,d=new v.constructor(g,v.byteOffset,v.length)):d=[]:d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(u):function(e){if(!Ae(e)||se(e)!=s)return!1;var t=j(e);if(null===t)return!0;var n=O.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&A.call(n)==I}(l)||we(l)?(d=u,we(u)?d=function(e){return function(e,t,n,r){var i=!n;n||(n={});var o=-1,a=t.length;for(;++o<a;){var s=t[o],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),i?ie(n,s,u):ne(n,s,u)}return n}(e,Ne(e))}(u):Ce(u)&&!Se(u)||(d=function(e){return"function"!=typeof e.constructor||ge(e)?{}:X(j(e))}(l))):f=!1}var v,g,y,b;f&&(a.set(l,d),i(d,l,r,o,a),a.delete(l));te(e,n,d)}(e,t,a,n,de,r,i);else{var u=r?r(ye(e,a),o,a+"",e,t,i):void 0;void 0===u&&(u=o),te(e,a,u)}}),Ne)}function fe(e,t){return be(function(e,t,n){return t=W(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=W(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),_(e,this,s)}}(e,t,Me),e+"")}var pe=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:Le(t),writable:!0})}:Me;function he(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function me(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return le(n)?n:void 0}function ve(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&l.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||T)}function ye(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var be=function(e){var t=0,n=0;return function(){var r=Y(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(pe);function _e(e,t){return e===t||e!=e&&t!=t}var we=ue(function(){return arguments}())?ue:function(e){return Ae(e)&&O.call(e,"callee")&&!B.call(e,"callee")},ke=Array.isArray;function Ee(e){return null!=e&&Te(e.length)&&!Se(e)}var xe=V||function(){return!1};function Se(e){if(!Ce(e))return!1;var t=se(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Te(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ce(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Ae(e){return null!=e&&"object"==typeof e}var Oe=b?function(e){return function(t){return e(t)}}(b):function(e){return Ae(e)&&Te(e.length)&&!!c[se(e)]};function Ne(e){return Ee(e)?ee(e,!0):ce(e)}var Pe,Ie=(Pe=function(e,t,n,r){de(e,t,n,r)},fe((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=Pe.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!Ce(n))return!1;var r=typeof t;return!!("number"==r?Ee(n)&&ve(t,n.length):"string"==r&&t in n)&&_e(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&Pe(e,a,n,i)}return e})));function Le(e){return function(){return e}}function Me(e){return e}e.exports=Ie},51829:function(e){function t(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)}function n(e,t,n){if(t!=t)return 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}(e,i,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function r(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function i(e){return e!=e}var o=Array.prototype.splice,a=Math.max;function s(e,t,i,a){var s,u=a?r:n,l=-1,c=t.length,d=e;for(e===t&&(t=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(t)),i&&(d=function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(e,(s=i,function(e){return s(e)})));++l<c;)for(var f=0,p=t[l],h=i?i(p):p;(f=u(d,h,f,a))>-1;)d!==e&&o.call(d,f,1),o.call(e,f,1);return e}var u,l,c=(u=function(e,t){return e&&e.length&&t&&t.length?s(e,t):e},l=a(void 0===l?u.length-1:l,0),function(){for(var e=arguments,n=-1,r=a(e.length-l,0),i=Array(r);++n<r;)i[n]=e[l+n];n=-1;for(var o=Array(l+1);++n<l;)o[n]=e[n];return o[l]=i,t(u,this,o)});e.exports=c},93096:function(e,t,n){var r="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=l||c||Function("return this")(),f=Object.prototype.toString,p=Math.max,h=Math.min,m=function(){return d.Date.now()};function v(e,t,n){var i,o,a,s,u,l,c=0,d=!1,f=!1,v=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=i,r=o;return i=o=void 0,c=t,s=e.apply(r,n)}function _(e){return c=e,u=setTimeout(k,t),d?b(e):s}function w(e){var n=e-l;return void 0===l||n>=t||n<0||f&&e-c>=a}function k(){var e=m();if(w(e))return E(e);u=setTimeout(k,function(e){var n=t-(e-l);return f?h(n,a-(e-c)):n}(e))}function E(e){return u=void 0,v&&i?b(e):(i=o=void 0,s)}function x(){var e=m(),n=w(e);if(i=arguments,o=this,l=e,n){if(void 0===u)return _(l);if(f)return u=setTimeout(k,t),b(l)}return void 0===u&&(u=setTimeout(k,t)),s}return t=y(t)||0,g(n)&&(d=!!n.leading,a=(f="maxWait"in n)?p(y(n.maxWait)||0,t):a,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==u&&clearTimeout(u),c=0,i=l=o=u=void 0},x.flush=function(){return void 0===u?s:E(m())},x}function g(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)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(r);return g(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},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 u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},38407:function(e,t,n){var r=n(27040),i=n(14125),o=n(82117),a=n(67518),s=n(54705);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},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 u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},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(37465),o=n(63779),a=n(67599),s=n(44758),u=n(34309);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},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},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}},14636:function(e,t,n){var r=n(22545),i=n(35694),o=n(1469),a=n(44144),s=n(65776),u=n(36719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&u(e),p=n||c||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!l.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);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}},62663:function(e){e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},70151:function(e,t,n){var r=n(278),i=n(73480);e.exports=function(e){return i(r(e))}},82908:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},48983:function(e,t,n){var r=n(40371)("length");e.exports=r},44286:function(e){e.exports=function(e){return e.split("")}},49029:function(e){var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},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}},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}},97786:function(e,t,n){var r=n(71811),i=n(40327);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},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)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},90939:function(e,t,n){var r=n(2492),i=n(37005);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},2492:function(e,t,n){var r=n(46384),i=n(67114),o=n(18351),a=n(16096),s=n(64160),u=n(1469),l=n(44144),c=n(36719),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=u(e),b=u(t),_=y?f:s(e),w=b?f:s(t),k=(_=_==d?p:_)==p,E=(w=w==d?p:w)==p,x=_==w;if(x&&l(e)){if(!l(t))return!1;y=!0,k=!1}if(x&&!k)return g||(g=new r),y||c(e)?i(e,t,n,m,v,g):o(e,t,_,n,m,v,g);if(!(1&n)){var S=k&&h.call(e,"__wrapped__"),T=E&&h.call(t,"__wrapped__");if(S||T){var C=S?e.value():e,A=T?t.value():t;return g||(g=new r),v(C,A,n,m,g)}}return!!x&&(g||(g=new r),a(e,t,n,m,v,g))}},2958:function(e,t,n){var r=n(46384),i=n(90939);e.exports=function(e,t,n,o){var a=n.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=n[a])[0],d=e[c],f=l[1];if(u&&l[2]){if(void 0===d&&!(c in e))return!1}else{var p=new r;if(o)var h=o(d,f,c,e,t,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},79190:function(e,t,n){var r=n(23560),i=n(15346),o=n(13218),a=n(80346),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},23933:function(e,t,n){var r=n(44239),i=n(37005);e.exports=function(e){return i(e)&&"[object RegExp]"==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)]}},67206:function(e,t,n){var r=n(91573),i=n(16432),o=n(6557),a=n(1469),s=n(39601);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(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}},91573:function(e,t,n){var r=n(2958),i=n(1499),o=n(42634);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},16432:function(e,t,n){var r=n(90939),i=n(27361),o=n(79095),a=n(15403),s=n(89162),u=n(42634),l=n(40327);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},40371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},79152:function(e,t,n){var r=n(97786);e.exports=function(e){return function(t){return r(t,e)}}},18674:function(e){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},69877:function(e){var t=Math.floor,n=Math.random;e.exports=function(e,r){return e+t(n()*(r-e+1))}},40098:function(e){var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),u=Array(s);s--;)u[o?s:++a]=e,e+=i;return u}},25127:function(e,t,n){var r=n(73480),i=n(52628);e.exports=function(e){return r(i(e))}},14259:function(e){e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}},22545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},80531:function(e,t,n){var r=n(62705),i=n(29932),o=n(1469),a=n(33448),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},47415:function(e,t,n){var r=n(29932);e.exports=function(e,t){return r(t,(function(t){return e[t]}))}},74757:function(e){e.exports=function(e,t){return e.has(t)}},71811:function(e,t,n){var r=n(1469),i=n(15403),o=n(55514),a=n(79833);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},40180:function(e,t,n){var r=n(14259);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},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}},14429:function(e,t,n){var r=n(55639)["__core-js_shared__"];e.exports=r},98805:function(e,t,n){var r=n(40180),i=n(62689),o=n(52710),a=n(79833);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return s[e]()+u}}},35393:function(e,t,n){var r=n(62663),i=n(53816),o=n(58748),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},67740:function(e,t,n){var r=n(67206),i=n(98612),o=n(3674);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var u=r(n,3);t=o(t),n=function(e){return u(s[e],e,s)}}var l=e(t,n,a);return l>-1?s[u?t[l]:l]:void 0}}},47445:function(e,t,n){var r=n(40098),i=n(16612),o=n(18601);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},69389:function(e,t,n){var r=n(18674)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"});e.exports=r},67114:function(e,t,n){var r=n(88668),i=n(82908),o=n(74757);e.exports=function(e,t,n,a,s,u){var l=1&n,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var p=-1,h=!0,m=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<c;){var v=e[p],g=t[p];if(a)var y=l?a(g,v,p,t,e,u):a(v,g,p,e,t,u);if(void 0!==y){if(y)continue;h=!1;break}if(m){if(!i(t,(function(e,t){if(!o(m,t)&&(v===e||s(v,e,n,a,u)))return m.push(t)}))){h=!1;break}}else if(v!==g&&!s(v,g,n,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},18351:function(e,t,n){var r=n(62705),i=n(11149),o=n(77813),a=n(67114),s=n(68776),u=n(21814),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=u),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var v=a(p(e),p(t),r,l,d,f);return f.delete(e),v;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},16096:function(e,t,n){var r=n(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var u=1&n,l=r(e),c=l.length;if(c!=r(t).length&&!u)return!1;for(var d=c;d--;){var f=l[d];if(!(u?f in t:i.call(t,f)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var h=!0;s.set(e,t),s.set(t,e);for(var m=u;++d<c;){var v=e[f=l[d]],g=t[f];if(o)var y=u?o(g,v,f,t,e,s):o(v,g,f,e,t,s);if(!(void 0===y?v===g||a(v,g,n,o,s):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return s.delete(e),s.delete(t),h}},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)}},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}},1499:function(e,t,n){var r=n(89162),i=n(3674);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},10852:function(e,t,n){var r=n(79190),i=n(47801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},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},64160:function(e,t,n){var r=n(18552),i=n(57071),o=n(53818),a=n(58525),s=n(70577),u=n(44239),l=n(80346),c="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=l(r),v=l(i),g=l(o),y=l(a),b=l(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=c||o&&_(o.resolve())!=d||a&&_(new a)!=f||s&&_(new s)!=p)&&(_=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return h;case v:return c;case g:return d;case y:return f;case b:return p}return t}),e.exports=_},47801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,n){var r=n(71811),i=n(35694),o=n(1469),a=n(65776),s=n(41780),u=n(40327);e.exports=function(e,t,n){for(var l=-1,c=(t=r(t,e)).length,d=!1;++l<c;){var f=u(t[l]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(o(e)||i(e))}},62689:function(e){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},93157:function(e){var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},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}},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}},16612:function(e,t,n){var r=n(77813),i=n(98612),o=n(65776),a=n(13218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},15403:function(e,t,n){var r=n(1469),i=n(33448),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},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)}},89162:function(e,t,n){var r=n(13218);e.exports=function(e){return e==e&&!r(e)}},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}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},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},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))}}},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)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},73480:function(e,t,n){var r=n(69877);e.exports=function(e,t){var n=-1,i=e.length,o=i-1;for(t=void 0===t?i:t;++n<t;){var a=r(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}},37465: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}},88016:function(e,t,n){var r=n(48983),i=n(62689),o=n(21903);e.exports=function(e){return i(e)?o(e):r(e)}},52710:function(e,t,n){var r=n(44286),i=n(62689),o=n(676);e.exports=function(e){return i(e)?o(e):r(e)}},55514:function(e,t,n){var r=n(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)})),t}));e.exports=a},40327:function(e,t,n){var r=n(33448);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},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""}},21903:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",l=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),c="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+c+l,"g");e.exports=function(e){for(var t=d.lastIndex=0;d.test(e);)++t;return t}},676:function(e){var t="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")"+"?",u="[\\ufe0e\\ufe0f]?",l=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),c="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+c+l,"g");e.exports=function(e){return e.match(d)||[]}},2757:function(e){var t="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",r="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",o="["+i+"]",a="\\d+",s="[\\u2700-\\u27bf]",u="["+n+"]",l="[^\\ud800-\\udfff"+i+a+t+n+r+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",p="(?:"+u+"|"+l+")",h="(?:"+f+"|"+l+")",m="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",g="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",b=y+g+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,d].join("|")+")"+y+g+")*"),_="(?:"+[s,c,d].join("|")+")"+b,w=RegExp([f+"?"+u+"+"+m+"(?="+[o,f,"$"].join("|")+")",h+"+"+v+"(?="+[o,f+p,"$"].join("|")+")",f+"?"+p+"+"+m,f+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",a,_].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},68929:function(e,t,n){var r=n(48403),i=n(35393)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},48403:function(e,t,n){var r=n(79833),i=n(11700);e.exports=function(e){return i(r(e).toLowerCase())}},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 u,l,c,d,f,p,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=u,r=l;return u=l=void 0,h=t,d=e.apply(r,n)}function b(e){return h=e,f=setTimeout(w,t),m?y(e):d}function _(e){var n=e-p;return void 0===p||n>=t||n<0||v&&e-h>=c}function w(){var e=i();if(_(e))return k(e);f=setTimeout(w,function(e){var n=t-(e-p);return v?s(n,c-(e-h)):n}(e))}function k(e){return f=void 0,g&&u?y(e):(u=l=void 0,d)}function E(){var e=i(),n=_(e);if(u=arguments,l=this,p=e,n){if(void 0===f)return b(p);if(v)return clearTimeout(f),f=setTimeout(w,t),y(p)}return void 0===f&&(f=setTimeout(w,t)),d}return t=o(t)||0,r(n)&&(m=!!n.leading,c=(v="maxWait"in n)?a(o(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),E.cancel=function(){void 0!==f&&clearTimeout(f),h=0,u=p=l=f=void 0},E.flush=function(){return void 0===f?d:k(i())},E}},53816:function(e,t,n){var r=n(69389),i=n(79833),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,r).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},3522:function(e,t,n){var r=n(79833),i=/[\\^$.*+?()[\]{}|]/g,o=RegExp(i.source);e.exports=function(e){return(e=r(e))&&o.test(e)?e.replace(i,"\\$&"):e}},13311:function(e,t,n){var r=n(67740)(n(30998));e.exports=r},30998:function(e,t,n){var r=n(41848),i=n(67206),o=n(40554),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(e,i(t,3),u)}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},79095:function(e,t,n){var r=n(13),i=n(222);e.exports=function(e,t){return null!=e&&i(e,t,r)}},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,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},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)}},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,u=(s?s.isBuffer:void 0)||i;e.exports=u},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}},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}},96347:function(e,t,n){var r=n(23933),i=n(7518),o=n(31167),a=o&&o.isRegExp,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},21804:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}));e.exports=r},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)}},88306:function(e,t,n){var r=n(83369);function i(e,t){if("function"!=typeof e||null!=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)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},39601:function(e,t,n){var r=n(40371),i=n(79152),o=n(15403),a=n(40327);e.exports=function(e){return o(e)?r(a(e)):i(e)}},96026:function(e,t,n){var r=n(47445)();e.exports=r},69983:function(e,t,n){var r=n(70151),i=n(25127),o=n(1469);e.exports=function(e){return(o(e)?r:i)(e)}},11865:function(e,t,n){var r=n(35393)((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));e.exports=r},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},23493:function(e,t,n){var r=n(23279),i=n(13218);e.exports=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:o,maxWait:t,trailing:a})}},18601:function(e,t,n){var r=n(14841),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},40554:function(e,t,n){var r=n(18601);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},14841:function(e,t,n){var r=n(13218),i=n(33448),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},39138:function(e,t,n){var r=n(80531),i=n(40180),o=n(62689),a=n(13218),s=n(96347),u=n(88016),l=n(52710),c=n(40554),d=n(79833),f=/\w*$/;e.exports=function(e,t){var n=30,p="...";if(a(t)){var h="separator"in t?t.separator:h;n="length"in t?c(t.length):n,p="omission"in t?r(t.omission):p}var m=(e=d(e)).length;if(o(e)){var v=l(e);m=v.length}if(n>=m)return e;var g=n-u(p);if(g<1)return p;var y=v?i(v,0,g).join(""):e.slice(0,g);if(void 0===h)return y+p;if(v&&(g+=y.length-g),s(h)){if(e.slice(g).search(h)){var b,_=y;for(h.global||(h=RegExp(h.source,d(f.exec(h))+"g")),h.lastIndex=0;b=h.exec(_);)var w=b.index;y=y.slice(0,void 0===w?g:w)}}else if(e.indexOf(r(h),g)!=g){var k=y.lastIndexOf(h);k>-1&&(y=y.slice(0,k))}return y+p}},73955:function(e,t,n){var r=n(79833),i=0;e.exports=function(e){var t=++i;return r(e)+t}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},52628:function(e,t,n){var r=n(47415),i=n(3674);e.exports=function(e){return null==e?[]:r(e,i(e))}},58748:function(e,t,n){var r=n(49029),i=n(93157),o=n(79833),a=n(2757);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},78348:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},77925:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},22243:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},46436:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},76319:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},44009:function(e,t,n){var r={"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-nz":76319,"./en-nz.js":76319};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=44009},30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function u(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function l(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function h(e,t){for(var n in t)p(t,n)&&(e[n]=t[n]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Gn(e,t,n,r,!0).utc()}function v(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=v()),e._pf}function y(e){if(null==e._isValid){var t=g(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=m(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var _=i.momentProperties=[];function w(e,t){var n,r,i;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=g(t)),l(t._locale)||(e._locale=t._locale),_.length>0)for(n=0;n<_.length;n++)l(i=t[r=_[n]])||(e[r]=i);return e}var k=!1;function E(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,i.updateOffset(this),k=!1)}function x(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function S(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function T(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=S(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&T(e[r])!==T(t[r]))&&a++;return a+o}function A(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function O(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){for(var r,o=[],a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var s in r+="\n["+a+"] ",arguments[0])r+=s+": "+arguments[0][s]+", ";r=r.slice(0,-2)}else r=arguments[a];o.push(r)}A(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var N,P={};function I(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(A(t),P[e]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)L(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function R(e,t){var n,r=h({},e);for(n in t)p(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)p(e,n)&&!p(t,n)&&s(e[n])&&(r[n]=h({},r[n]));return r}function D(e){null!=e&&this.set(e)}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,N=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var q={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return L(r)?r.call(t,n):r}var F={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function B(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}var U="Invalid date";function z(){return this._invalidDate}var H="%d",V=/\d{1,2}/;function W(e){return this._ordinal.replace("%d",e)}var Y={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function G(e,t,n,r){var i=this._relativeTime[n];return L(i)?i(e,t,n,r):i.replace(/%d/i,e)}function K(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}var X={};function $(e,t){var n=e.toLowerCase();X[n]=X[n+"s"]=X[t]=e}function Z(e){return"string"==typeof e?X[e]||X[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=Z(n))&&(r[t]=e[n]);return r}var J={};function ee(e,t){J[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:J[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function ne(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ae={};function se(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(ae[e]=i),t&&(ae[t[0]]=function(){return ne(i.apply(this,arguments),t[1],t[2])}),n&&(ae[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ue(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function le(e){var t,n,r=e.match(re);for(t=0,n=r.length;t<n;t++)ae[r[t]]?r[t]=ae[r[t]]:r[t]=ue(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=L(r[i])?r[i].call(t,e):r[i];return o}}function ce(e,t){return e.isValid()?(t=de(t,e.localeData()),oe[t]=oe[t]||le(t),oe[t](e)):e.localeData().invalidDate()}function de(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(ie.lastIndex=0;n>=0&&ie.test(e);)e=e.replace(ie,r),ie.lastIndex=0,n-=1;return e}var fe=/\d/,pe=/\d\d/,he=/\d{3}/,me=/\d{4}/,ve=/[+-]?\d{6}/,ge=/\d\d?/,ye=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,_e=/\d{1,3}/,we=/\d{1,4}/,ke=/[+-]?\d{1,6}/,Ee=/\d+/,xe=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Oe={};function Ne(e,t,n){Oe[e]=L(t)?t:function(e,r){return e&&n?n:t}}function Pe(e,t){return p(Oe,e)?Oe[e](t._strict,t._locale):new RegExp(Ie(e))}function Ie(e){return Le(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Le(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={};function Re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n<e.length;n++)Me[e[n]]=r}function De(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function qe(e,t,n){null!=t&&p(Me,e)&&Me[e](t,n._a,n,e)}var je=0,Fe=1,Be=2,Ue=3,ze=4,He=5,Ve=6,We=7,Ye=8;function Ge(e){return Ke(e)?366:365}function Ke(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),$("year","y"),ee("year",1),Ne("Y",xe),Ne("YY",ge,pe),Ne("YYYY",we,me),Ne("YYYYY",ke,ve),Ne("YYYYYY",ke,ve),Re(["YYYYY","YYYYYY"],je),Re("YYYY",(function(e,t){t[je]=2===e.length?i.parseTwoDigitYear(e):T(e)})),Re("YY",(function(e,t){t[je]=i.parseTwoDigitYear(e)})),Re("Y",(function(e,t){t[je]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var Xe,$e=Qe("FullYear",!0);function Ze(){return Ke(this.year())}function Qe(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),it(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function tt(e){return L(this[e=Z(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=Q(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(L(this[e=Z(e)]))return this[e](t);return this}function rt(e,t){return(e%t+t)%t}function it(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=rt(t,12);return e+=(t-n)/12,1===n?Ke(e)?29:28:31-n%7%2}Xe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),$("month","M"),ee("month",8),Ne("M",ge),Ne("MM",ge,pe),Ne("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ne("MMMM",(function(e,t){return t.monthsRegex(e)})),Re(["M","MM"],(function(e,t){t[Fe]=T(e)-1})),Re(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Fe]=i:g(n).invalidMonth=e}));var ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,at="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}var ut="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function lt(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ct(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Xe.call(this._shortMonthsParse,a))?i:null:-1!==(i=Xe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Xe.call(this._shortMonthsParse,a))||-1!==(i=Xe.call(this._longMonthsParse,a))?i:null:-1!==(i=Xe.call(this._longMonthsParse,a))||-1!==(i=Xe.call(this._shortMonthsParse,a))?i:null}function dt(e,t,n){var r,i,o;if(this._monthsParseExact)return ct.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ft(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=T(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),it(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function pt(e){return null!=e?(ft(this,e),i.updateOffset(this,!0),this):Je(this,"Month")}function ht(){return it(this.year(),this.month())}var mt=Ae;function vt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=mt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}var gt=Ae;function yt(e){return this._monthsParseExact?(p(this,"_monthsRegex")||bt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=gt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function bt(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Le(r[t]),i[t]=Le(i[t]);for(t=0;t<24;t++)o[t]=Le(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function _t(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function wt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function kt(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function Et(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+kt(e,r,i);return s<=0?a=Ge(o=e-1)+s:s>Ge(e)?(o=e+1,a=s-Ge(e)):(o=e,a=s),{year:o,dayOfYear:a}}function xt(e,t,n){var r,i,o=kt(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+St(i=e.year()-1,t,n):a>St(e.year(),t,n)?(r=a-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function St(e,t,n){var r=kt(e,t,n),i=kt(e+1,t,n);return(Ge(e)-r+i)/7}function Tt(e){return xt(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ne("w",ge),Ne("ww",ge,pe),Ne("W",ge),Ne("WW",ge,pe),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=T(e)}));var Ct={dow:0,doy:6};function At(){return this._week.dow}function Ot(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Pt(e){var t=xt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function It(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Lt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ne("d",ge),Ne("e",ge),Ne("E",ge),Ne("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ne("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ne("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=T(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Rt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function qt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var jt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ft(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Bt(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Xe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Xe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Xe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Xe.call(this._weekdaysParse,a))||-1!==(i=Xe.call(this._shortWeekdaysParse,a))||-1!==(i=Xe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Xe.call(this._shortWeekdaysParse,a))||-1!==(i=Xe.call(this._weekdaysParse,a))||-1!==(i=Xe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Xe.call(this._minWeekdaysParse,a))||-1!==(i=Xe.call(this._weekdaysParse,a))||-1!==(i=Xe.call(this._shortWeekdaysParse,a))?i:null}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Bt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=It(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Wt=Ae;function Yt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Gt=Ae;function Kt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Xt=Ae;function $t(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Xt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=Le(s[t]),u[t]=Le(u[t]),l[t]=Le(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){se(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}se("H",["HH",2],0,"hour"),se("h",["hh",2],0,Qt),se("k",["kk",2],0,Jt),se("hmm",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Qt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),$("hour","h"),ee("hour",13),Ne("a",tn),Ne("A",tn),Ne("H",ge),Ne("h",ge),Ne("k",ge),Ne("HH",ge,pe),Ne("hh",ge,pe),Ne("kk",ge,pe),Ne("hmm",ye),Ne("hmmss",be),Ne("Hmm",ye),Ne("Hmmss",be),Re(["H","HH"],Ue),Re(["k","kk"],(function(e,t,n){var r=T(e);t[Ue]=24===r?0:r})),Re(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Re(["h","hh"],(function(e,t,n){t[Ue]=T(e),g(n).bigHour=!0})),Re("hmm",(function(e,t,n){var r=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r)),g(n).bigHour=!0})),Re("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r,2)),t[He]=T(e.substr(i)),g(n).bigHour=!0})),Re("Hmm",(function(e,t,n){var r=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r))})),Re("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Ue]=T(e.substr(0,r)),t[ze]=T(e.substr(r,2)),t[He]=T(e.substr(i))}));var rn=/[ap]\.?m?\.?/i;function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,sn=Qe("Hours",!0),un={calendar:q,longDateFormat:F,invalidDate:U,ordinal:H,dayOfMonthOrdinalParse:V,relativeTime:Y,months:at,monthsShort:ut,week:Ct,weekdays:Mt,weekdaysMin:jt,weekdaysShort:Dt,meridiemParse:rn},ln={},cn={};function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=dn(e[o]).split("-")).length,n=(n=dn(e[o+1]))?n.split("-"):null;t>0;){if(r=pn(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}o++}return null}function pn(t){var r=null;if(!ln[t]&&e&&e.exports)try{r=an._abbr,n(44009)("./"+t),hn(r)}catch(e){}return ln[t]}function hn(e,t){var n;return e&&(n=l(t)?gn(e):mn(e,t))&&(an=n),an._abbr}function mn(e,t){if(null!==t){var n=un;if(t.abbr=e,null!=ln[e])I("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ln[e]._config;else if(null!=t.parentLocale){if(null==ln[t.parentLocale])return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;n=ln[t.parentLocale]._config}return ln[e]=new D(R(n,t)),cn[e]&&cn[e].forEach((function(e){mn(e.name,e.config)})),hn(e),ln[e]}return delete ln[e],null}function vn(e,t){if(null!=t){var n,r,i=un;null!=(r=pn(e))&&(i=r._config),(n=new D(t=R(i,t))).parentLocale=ln[e],ln[e]=n,hn(e)}else null!=ln[e]&&(null!=ln[e].parentLocale?ln[e]=ln[e].parentLocale:null!=ln[e]&&delete ln[e]);return ln[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!a(e)){if(t=pn(e))return t;e=[e]}return fn(e)}function yn(){return N(ln)}function bn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Fe]<0||n[Fe]>11?Fe:n[Be]<1||n[Be]>it(n[je],n[Fe])?Be:n[Ue]<0||n[Ue]>24||24===n[Ue]&&(0!==n[ze]||0!==n[He]||0!==n[Ve])?Ue:n[ze]<0||n[ze]>59?ze:n[He]<0||n[He]>59?He:n[Ve]<0||n[Ve]>999?Ve:-1,g(e)._overflowDayOfYear&&(t<je||t>Be)&&(t=Be),g(e)._overflowWeeks&&-1===t&&(t=We),g(e)._overflowWeekday&&-1===t&&(t=Ye),g(e).overflow=t),e}function _n(e,t,n){return null!=e?e:null!=t?t:n}function wn(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function kn(e){var t,n,r,i,o,a=[];if(!e._d){for(r=wn(e),e._w&&null==e._a[Be]&&null==e._a[Fe]&&En(e),null!=e._dayOfYear&&(o=_n(e._a[je],r[je]),(e._dayOfYear>Ge(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[Fe]=n.getUTCMonth(),e._a[Be]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ue]&&0===e._a[ze]&&0===e._a[He]&&0===e._a[Ve]&&(e._nextDay=!0,e._a[Ue]=0),e._d=(e._useUTC?wt:_t).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ue]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function En(e){var t,n,r,i,o,a,s,u;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)o=1,a=4,n=_n(t.GG,e._a[je],xt(Kn(),1,4).year),r=_n(t.W,1),((i=_n(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=xt(Kn(),o,a);n=_n(t.gg,e._a[je],l.year),r=_n(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>St(n,o,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(s=Et(n,r,i,o,a),e._a[je]=s.year,e._dayOfYear=s.dayOfYear)}var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,Cn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],An=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((\-?\d+)/i;function Nn(e){var t,n,r,i,o,a,s=e._i,u=xn.exec(s)||Sn.exec(s);if(u){for(g(e).iso=!0,t=0,n=Cn.length;t<n;t++)if(Cn[t][1].exec(u[1])){i=Cn[t][0],r=!1!==Cn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=An.length;t<n;t++)if(An[t][1].exec(u[3])){o=(u[2]||" ")+An[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Tn.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Bn(e)}else e._isValid=!1}var Pn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function In(e,t,n,r,i,o){var a=[Ln(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function Rn(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function qn(e,t,n){if(e)return Dn[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}function jn(e){var t=Pn.exec(Mn(e._i));if(t){var n=In(t[4],t[3],t[2],t[5],t[6],t[7]);if(!Rn(t[1],n,e))return;e._a=n,e._tzm=qn(t[8],t[9],t[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Fn(e){var t=On.exec(e._i);null===t?(Nn(e),!1===e._isValid&&(delete e._isValid,jn(e),!1===e._isValid&&(delete e._isValid,i.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Bn(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,n,r,o,a,s=""+e._i,u=s.length,l=0;for(r=de(e._f,e._locale).match(re)||[],t=0;t<r.length;t++)o=r[t],(n=(s.match(Pe(o,e))||[])[0])&&((a=s.substr(0,s.indexOf(n))).length>0&&g(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),l+=n.length),ae[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),qe(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-l,s.length>0&&g(e).unusedInput.push(s),e._a[Ue]<=12&&!0===g(e).bigHour&&e._a[Ue]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ue]=Un(e._locale,e._a[Ue],e._meridiem),kn(e),bn(e)}else jn(e);else Nn(e)}function Un(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function zn(e){var t,n,r,i,o;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,t=w({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Bn(t),y(t)&&(o+=g(t).charsLeftOver,o+=10*g(t).unusedTokens.length,g(t).score=o,(null==r||o<r)&&(r=o,n=t));h(e,n||t)}function Hn(e){if(!e._d){var t=Q(e._i);e._a=f([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),kn(e)}}function Vn(e){var t=new E(bn(Wn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Wn(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new E(bn(t)):(d(t)?e._d=t:a(n)?zn(e):n?Bn(e):Yn(e),y(e)||(e._d=null),e))}function Yn(e){var t=e._i;l(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Fn(e):a(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),kn(e)):s(t)?Hn(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Gn(e,t,n,r,i){var o={};return!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&u(e)||a(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Vn(o)}function Kn(e,t,n,r){return Gn(e,t,n,r,!1)}i.createFromInputFallback=O("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Xn=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),$n=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Zn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Qn(){return Zn("isBefore",[].slice.call(arguments,0))}function Jn(){return Zn("isAfter",[].slice.call(arguments,0))}var er=function(){return Date.now?Date.now():+new Date},tr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nr(e){for(var t in e)if(-1===Xe.call(tr,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<tr.length;++r)if(e[tr[r]]){if(n)return!1;parseFloat(e[tr[r]])!==T(e[tr[r]])&&(n=!0)}return!0}function rr(){return this._isValid}function ir(){return Tr(NaN)}function or(e){var t=Q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||0,a=t.day||0,s=t.hour||0,u=t.minute||0,l=t.second||0,c=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+c+1e3*l+6e4*u+1e3*s*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=gn(),this._bubble()}function ar(e){return e instanceof or}function sr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t){se(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ne(~~(e/60),2)+t+ne(~~e%60,2)}))}ur("Z",":"),ur("ZZ",""),Ne("Z",Te),Ne("ZZ",Te),Re(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=cr(Te,e)}));var lr=/([\+\-]|\d\d)/gi;function cr(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(lr)||["-",0,0],i=60*r[1]+T(r[2]);return 0===i?0:"+"===r[0]?i:-i}function dr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||d(e)?e.valueOf():Kn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Kn(e).local()}function fr(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function pr(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=cr(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=fr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Pr(this,Tr(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:fr(this)}function hr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function mr(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fr(this),"m")),this}function gr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=cr(Se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function br(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Wn(e))._a){var t=e._isUTC?m(e._a):Kn(e._a);this._isDSTShifted=this.isValid()&&C(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Er(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var xr=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Sr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Tr(e,t){var n,r,i,o=e,a=null;return ar(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=xr.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:T(a[Be])*n,h:T(a[Ue])*n,m:T(a[ze])*n,s:T(a[He])*n,ms:T(sr(1e3*a[Ve]))*n}):(a=Sr.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Cr(a[2],n),M:Cr(a[3],n),w:Cr(a[4],n),d:Cr(a[5],n),h:Cr(a[6],n),m:Cr(a[7],n),s:Cr(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Or(Kn(o.from),Kn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new or(o),ar(e)&&p(e,"_locale")&&(r._locale=e._locale),r}function Cr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ar(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Or(e,t){var n;return e.isValid()&&t.isValid()?(t=dr(t,e),e.isBefore(t)?n=Ar(e,t):((n=Ar(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Nr(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(I(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Pr(this,Tr(n="string"==typeof n?+n:n,r),e),this}}function Pr(e,t,n,r){var o=t._milliseconds,a=sr(t._days),s=sr(t._months);e.isValid()&&(r=null==r||r,s&&ft(e,Je(e,"Month")+s*n),a&&et(e,"Date",Je(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Tr.fn=or.prototype,Tr.invalid=ir;var Ir=Nr(1,"add"),Lr=Nr(-1,"subtract");function Mr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Rr(e,t){var n=e||Kn(),r=dr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(L(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Kn(n)))}function Dr(){return new E(this)}function qr(e,t){var n=x(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=Z(l(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function jr(e,t){var n=x(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=Z(l(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Fr(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Br(e,t){var n,r=x(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=Z(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Ur(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function zr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Hr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=dr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=Z(t)){case"year":o=Vr(this,r)/12;break;case"month":o=Vr(this,r);break;case"quarter":o=Vr(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:S(o)}function Vr(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Wr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Yr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?ce(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",ce(n,"Z")):ce(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Gr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]';return this.format(n+r+i+o)}function Kr(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=ce(this,e);return this.localeData().postformat(t)}function Xr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Kn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function $r(e){return this.from(Kn(),e)}function Zr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Kn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Qr(e){return this.to(Kn(),e)}function Jr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ei=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ti(){return this._locale}function ni(e){switch(e=Z(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function ri(e){return void 0===(e=Z(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function ii(){return this._d.valueOf()-6e4*(this._offset||0)}function oi(){return Math.floor(this.valueOf()/1e3)}function ai(){return new Date(this.valueOf())}function si(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ui(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function li(){return this.isValid()?this.toISOString():null}function ci(){return y(this)}function di(){return h({},g(this))}function fi(){return g(this).overflow}function pi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function hi(e,t){se(0,[e,e.length],0,t)}function mi(e){return bi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function vi(e){return bi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function gi(){return St(this.year(),1,4)}function yi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function bi(e,t,n,r,i){var o;return null==e?xt(this,r,i).year:(t>(o=St(e,r,i))&&(t=o),_i.call(this,e,t,n,r,i))}function _i(e,t,n,r,i){var o=Et(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ne("G",xe),Ne("g",xe),Ne("GG",ge,pe),Ne("gg",ge,pe),Ne("GGGG",we,me),Ne("gggg",we,me),Ne("GGGGG",ke,ve),Ne("ggggg",ke,ve),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=T(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),$("quarter","Q"),ee("quarter",7),Ne("Q",fe),Re("Q",(function(e,t){t[Fe]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),$("date","D"),ee("date",9),Ne("D",ge),Ne("DD",ge,pe),Ne("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Re(["D","DD"],Be),Re("Do",(function(e,t){t[Be]=T(e.match(ge)[0])}));var ki=Qe("Date",!0);function Ei(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),ee("dayOfYear",4),Ne("DDD",_e),Ne("DDDD",he),Re(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=T(e)})),se("m",["mm",2],0,"minute"),$("minute","m"),ee("minute",14),Ne("m",ge),Ne("mm",ge,pe),Re(["m","mm"],ze);var xi=Qe("Minutes",!1);se("s",["ss",2],0,"second"),$("second","s"),ee("second",15),Ne("s",ge),Ne("ss",ge,pe),Re(["s","ss"],He);var Si,Ti=Qe("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),$("millisecond","ms"),ee("millisecond",16),Ne("S",_e,fe),Ne("SS",_e,pe),Ne("SSS",_e,he),Si="SSSS";Si.length<=9;Si+="S")Ne(Si,Ee);function Ci(e,t){t[Ve]=T(1e3*("0."+e))}for(Si="S";Si.length<=9;Si+="S")Re(Si,Ci);var Ai=Qe("Milliseconds",!1);function Oi(){return this._isUTC?"UTC":""}function Ni(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Pi=E.prototype;function Ii(e){return Kn(1e3*e)}function Li(){return Kn.apply(null,arguments).parseZone()}function Mi(e){return e}Pi.add=Ir,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=Hr,Pi.endOf=ri,Pi.format=Kr,Pi.from=Xr,Pi.fromNow=$r,Pi.to=Zr,Pi.toNow=Qr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=qr,Pi.isBefore=jr,Pi.isBetween=Fr,Pi.isSame=Br,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=zr,Pi.isValid=ci,Pi.lang=ei,Pi.locale=Jr,Pi.localeData=ti,Pi.max=$n,Pi.min=Xn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Lr,Pi.toArray=si,Pi.toObject=ui,Pi.toDate=ai,Pi.toISOString=Yr,Pi.inspect=Gr,Pi.toJSON=li,Pi.toString=Wr,Pi.unix=oi,Pi.valueOf=ii,Pi.creationData=pi,Pi.year=$e,Pi.isLeapYear=Ze,Pi.weekYear=mi,Pi.isoWeekYear=vi,Pi.quarter=Pi.quarters=wi,Pi.month=pt,Pi.daysInMonth=ht,Pi.week=Pi.weeks=Nt,Pi.isoWeek=Pi.isoWeeks=Pt,Pi.weeksInYear=yi,Pi.isoWeeksInYear=gi,Pi.date=ki,Pi.day=Pi.days=zt,Pi.weekday=Ht,Pi.isoWeekday=Vt,Pi.dayOfYear=Ei,Pi.hour=Pi.hours=sn,Pi.minute=Pi.minutes=xi,Pi.second=Pi.seconds=Ti,Pi.millisecond=Pi.milliseconds=Ai,Pi.utcOffset=pr,Pi.utc=mr,Pi.local=vr,Pi.parseZone=gr,Pi.hasAlignedHourOffset=yr,Pi.isDST=br,Pi.isLocal=wr,Pi.isUtcOffset=kr,Pi.isUtc=Er,Pi.isUTC=Er,Pi.zoneAbbr=Oi,Pi.zoneName=Ni,Pi.dates=O("dates accessor is deprecated. Use date instead.",ki),Pi.months=O("months accessor is deprecated. Use month instead",pt),Pi.years=O("years accessor is deprecated. Use year instead",$e),Pi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Pi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var Ri=D.prototype;function Di(e,t,n,r){var i=gn(),o=m().set(r,t);return i[n](o,e)}function qi(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return Di(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Di(e,r,n,"month");return i}function ji(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=gn(),a=e?o._week.dow:0;if(null!=n)return Di(t,(n+a)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=Di(t,(i+a)%7,r,"day");return s}function Fi(e,t){return qi(e,t,"months")}function Bi(e,t){return qi(e,t,"monthsShort")}function Ui(e,t,n){return ji(e,t,n,"weekdays")}function zi(e,t,n){return ji(e,t,n,"weekdaysShort")}function Hi(e,t,n){return ji(e,t,n,"weekdaysMin")}Ri.calendar=j,Ri.longDateFormat=B,Ri.invalidDate=z,Ri.ordinal=W,Ri.preparse=Mi,Ri.postformat=Mi,Ri.relativeTime=G,Ri.pastFuture=K,Ri.set=M,Ri.months=st,Ri.monthsShort=lt,Ri.monthsParse=dt,Ri.monthsRegex=yt,Ri.monthsShortRegex=vt,Ri.week=Tt,Ri.firstDayOfYear=Ot,Ri.firstDayOfWeek=At,Ri.weekdays=Rt,Ri.weekdaysMin=Ft,Ri.weekdaysShort=qt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Yt,Ri.weekdaysShortRegex=Kt,Ri.weekdaysMinRegex=$t,Ri.isPM=nn,Ri.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=O("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=O("moment.langData is deprecated. Use moment.localeData instead.",gn);var Vi=Math.abs;function Wi(){var e=this._data;return this._milliseconds=Vi(this._milliseconds),this._days=Vi(this._days),this._months=Vi(this._months),e.milliseconds=Vi(e.milliseconds),e.seconds=Vi(e.seconds),e.minutes=Vi(e.minutes),e.hours=Vi(e.hours),e.months=Vi(e.months),e.years=Vi(e.years),this}function Yi(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Gi(e,t){return Yi(this,e,t,1)}function Ki(e,t){return Yi(this,e,t,-1)}function Xi(e){return e<0?Math.floor(e):Math.ceil(e)}function $i(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Xi(Qi(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=S(o/1e3),u.seconds=e%60,t=S(e/60),u.minutes=t%60,n=S(t/60),u.hours=n%24,a+=S(n/24),s+=i=S(Zi(a)),a-=Xi(Qi(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zi(e){return 4800*e/146097}function Qi(e){return 146097*e/4800}function Ji(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=Z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Zi(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function eo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*T(this._months/12):NaN}function to(e){return function(){return this.as(e)}}var no=to("ms"),ro=to("s"),io=to("m"),oo=to("h"),ao=to("d"),so=to("w"),uo=to("M"),lo=to("y");function co(){return Tr(this)}function fo(e){return e=Z(e),this.isValid()?this[e+"s"]():NaN}function po(e){return function(){return this.isValid()?this._data[e]:NaN}}var ho=po("milliseconds"),mo=po("seconds"),vo=po("minutes"),go=po("hours"),yo=po("days"),bo=po("months"),_o=po("years");function wo(){return S(this.days()/7)}var ko=Math.round,Eo={ss:44,s:45,m:45,h:22,d:26,M:11};function xo(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function So(e,t,n){var r=Tr(e).abs(),i=ko(r.as("s")),o=ko(r.as("m")),a=ko(r.as("h")),s=ko(r.as("d")),u=ko(r.as("M")),l=ko(r.as("y")),c=i<=Eo.ss&&["s",i]||i<Eo.s&&["ss",i]||o<=1&&["m"]||o<Eo.m&&["mm",o]||a<=1&&["h"]||a<Eo.h&&["hh",a]||s<=1&&["d"]||s<Eo.d&&["dd",s]||u<=1&&["M"]||u<Eo.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,xo.apply(null,c)}function To(e){return void 0===e?ko:"function"==typeof e&&(ko=e,!0)}function Co(e,t){return void 0!==Eo[e]&&(void 0===t?Eo[e]:(Eo[e]=t,"s"===e&&(Eo.ss=t-1),!0))}function Ao(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=So(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var Oo=Math.abs;function No(e){return(e>0)-(e<0)||+e}function Po(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Oo(this._milliseconds)/1e3,r=Oo(this._days),i=Oo(this._months);e=S(n/60),t=S(e/60),n%=60,e%=60;var o=S(i/12),a=i%=12,s=r,u=t,l=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=No(this._months)!==No(d)?"-":"",h=No(this._days)!==No(d)?"-":"",m=No(this._milliseconds)!==No(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||l||c?"T":"")+(u?m+u+"H":"")+(l?m+l+"M":"")+(c?m+c+"S":"")}var Io=or.prototype;return Io.isValid=rr,Io.abs=Wi,Io.add=Gi,Io.subtract=Ki,Io.as=Ji,Io.asMilliseconds=no,Io.asSeconds=ro,Io.asMinutes=io,Io.asHours=oo,Io.asDays=ao,Io.asWeeks=so,Io.asMonths=uo,Io.asYears=lo,Io.valueOf=eo,Io._bubble=$i,Io.clone=co,Io.get=fo,Io.milliseconds=ho,Io.seconds=mo,Io.minutes=vo,Io.hours=go,Io.days=yo,Io.weeks=wo,Io.months=bo,Io.years=_o,Io.humanize=Ao,Io.toISOString=Po,Io.toString=Po,Io.toJSON=Po,Io.locale=Jr,Io.localeData=ti,Io.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Po),Io.lang=ei,se("X",0,0,"unix"),se("x",0,0,"valueOf"),Ne("x",xe),Ne("X",Ce),Re("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),Re("x",(function(e,t,n){n._d=new Date(T(e))})),i.version="2.20.1",o(Kn),i.fn=Pi,i.min=Qn,i.max=Jn,i.now=er,i.utc=m,i.unix=Ii,i.months=Fi,i.isDate=d,i.locale=hn,i.invalid=b,i.duration=Tr,i.isMoment=x,i.weekdays=Ui,i.parseZone=Li,i.localeData=gn,i.isDuration=ar,i.monthsShort=Bi,i.weekdaysMin=Hi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=zi,i.normalizeUnits=Z,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Mr,i.prototype=Pi,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}()},84221:function(e,t,n){var r=n(46894).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},i=12;0===n.version?(n.earliestPresentationTime=t.getUint32(i),n.firstOffset=t.getUint32(i+4),i+=8):(n.earliestPresentationTime=r(e.subarray(i)),n.firstOffset=r(e.subarray(i+8)),i+=16),i+=2;var o=t.getUint16(i);for(i+=2;o>0;i+=12,o--)n.references.push({referenceType:(128&e[i])>>>7,referencedSize:2147483647&t.getUint32(i),subsegmentDuration:t.getUint32(i+4),startsWithSap:!!(128&e[i+8]),sapType:(112&e[i+8])>>>4,sapDeltaTime:268435455&t.getUint32(i+8)});return n}},51489:function(e){var t,n,r,i,o,a,s,u=9e4;t=function(e){return e*u},n=function(e,t){return e*t},r=function(e){return e/u},i=function(e,t){return e/t},o=function(e,n){return t(i(e,n))},a=function(e,t){return n(r(e),t)},s=function(e,t,n){return r(n?e:e-t)},e.exports={ONE_SECOND_IN_TS:u,secondsToVideoTs:t,secondsToAudioTs:n,videoTsToSeconds:r,audioTsToSeconds:i,audioTsToVideoTs:o,videoTsToAudioTs:a,metadataTsToSeconds:s}},46894:function(e){var t=Math.pow(2,32);e.exports={getUint64:function(e){var n,r=new DataView(e.buffer,e.byteOffset,e.byteLength);return r.getBigUint64?(n=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(n):n:r.getUint32(0)*t+r.getUint32(4)},MAX_UINT32:t}},82120:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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,o){for(var a,s,u=i(e),l=1;l<arguments.length;l++){for(var c in a=Object(arguments[l]))n.call(a,c)&&(u[c]=a[c]);if(t){s=t(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(u[s[d]]=a[s[d]])}}return u}},26470:function(e){"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(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 u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).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 r={resolve:function(){for(var e,r="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a;o>=0?a=arguments[o]:(void 0===e&&(e=process.cwd()),a=e),t(a),0!==a.length&&(r=a+"/"+r,i=47===a.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n<arguments.length;++n){var i=arguments[n];t(i),i.length>0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;i<e.length&&47===e.charCodeAt(i);++i);for(var o=e.length,a=o-i,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var u=n.length-s,l=a<u?a:u,c=-1,d=0;d<=l;++d){if(d===l){if(u>l){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else a>l&&(47===e.charCodeAt(i+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var p="";for(d=i+c+1;d<=o;++d)d!==o&&47!==e.charCodeAt(d)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,u=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(47===l){if(!a){i=r+1;break}}else-1===u&&(a=!1,u=r+1),s>=0&&(l===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var u=e.charCodeAt(s);if(47!==u)-1===i&&(o=!1,i=s+1),46===u?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},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){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,u=-1,l=!0,c=e.length-1,d=0;c>=r;--c)if(47!==(i=e.charCodeAt(c)))-1===u&&(l=!1,u=c+1),46===i?-1===a?a=c:1!==d&&(d=1):-1!==a&&(d=-1);else if(!l){s=c+1;break}return-1===a||-1===u||0===d||1===d&&a===u-1&&a===s+1?-1!==u&&(n.base=n.name=0===s&&o?e.slice(1,u):e.slice(s,u)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,u)):(n.name=e.slice(s,a),n.base=e.slice(s,u)),n.ext=e.slice(a,u)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r},90621:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},i=a(n(67294)),o=a(n(82613));function a(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.default)((function(e,t,n,o,a){var s=e[t],u=void 0===s?"undefined":r(s);return i.default.isValidElement(s)?new Error("Invalid "+o+" `"+a+"` of type ReactElement supplied to `"+n+"`, expected a ReactComponent or a DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===u&&"function"==typeof s.render||1===s.nodeType?null:new Error("Invalid "+o+" `"+a+"` of value `"+s+"` supplied to `"+n+"`, expected a ReactComponent or a DOMElement.")})),e.exports=t.default},82613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,i,o,a){var s=i||"<<anonymous>>",u=a||r;if(null==n[r])return t?new Error("Required "+o+" `"+u+"` was not specified in `"+s+"`."):null;for(var l=arguments.length,c=Array(l>6?l-6:0),d=6;d<l;d++)c[d-6]=arguments[d];return e.apply(void 0,[n,r,s,o,u].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},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"},55798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:i}},80129:function(e,t,n){"use strict";var r=n(58261),i=n(55235),o=n(55798);e.exports={formats:o,parse:i,stringify:r}},55235:function(e,t,n){"use strict";var r=n(12769),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),l=s?o.slice(0,s.index):o,c=[];if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}for(var d=0;n.depth>0&&null!==(s=a.exec(o))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+o.slice(s.index)+"]"),function(e,t,n,r){for(var i=r?t:u(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(i);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[])[c]=i:"__proto__"!==l&&(a[l]=i):a={0:i}}i=a}return i}(c,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,l={},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=c.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,v,g=f[n],y=g.indexOf("]="),b=-1===y?g.indexOf("="):y+1;-1===b?(m=t.decoder(g,a.decoder,h,"key"),v=t.strictNullHandling?null:""):(m=t.decoder(g.slice(0,b),a.decoder,h,"key"),v=r.maybeMap(u(g.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),v&&t.interpretNumericEntities&&"iso-8859-1"===h&&(v=s(v)),g.indexOf("[]=")>-1&&(v=o(v)?[v]:v),i.call(l,m)?l[m]=r.combine(l[m],v):l[m]=v}return l}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(c),p=0;p<f.length;++p){var h=f[p],m=l(h,c[h],n,"string"==typeof e);d=r.merge(d,m,n)}return r.compact(d)}},58261:function(e,t,n){"use strict";var r=n(12769),i=n(55798),o=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=String.prototype.split,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},d=Date.prototype.toISOString,f=i.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(t,n,i,o,a,l,d,f,h,m,v,g,y,b){var _,w=t;if("function"==typeof d?w=d(n,w):w instanceof Date?w=m(w):"comma"===i&&s(w)&&(w=r.maybeMap(w,(function(e){return e instanceof Date?m(e):e}))),null===w){if(o)return l&&!y?l(n,p.encoder,b,"key",v):n;w=""}if("string"==typeof(_=w)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||r.isBuffer(w)){if(l){var k=y?n:l(n,p.encoder,b,"key",v);if("comma"===i&&y){for(var E=u.call(String(w),","),x="",S=0;S<E.length;++S)x+=(0===S?"":",")+g(l(E[S],p.encoder,b,"value",v));return[g(k)+"="+x]}return[g(k)+"="+g(l(w,p.encoder,b,"value",v))]}return[g(n)+"="+g(String(w))]}var T,C=[];if(void 0===w)return C;if("comma"===i&&s(w))T=[{value:w.length>0?w.join(",")||null:void 0}];else if(s(d))T=d;else{var A=Object.keys(w);T=f?A.sort(f):A}for(var O=0;O<T.length;++O){var N=T[O],P="object"==typeof N&&void 0!==N.value?N.value:w[N];if(!a||null!==P){var I=s(w)?"function"==typeof i?i(n,N):n:n+(h?"."+N:"["+N+"]");c(C,e(P,I,i,o,a,l,d,f,h,m,v,g,y,b))}}return C};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!o.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=i.formatters[n],a=p.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):s(u.filter)&&(n=u.filter);var l,d=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=a[l];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var m=0;m<n.length;++m){var v=n[m];u.skipNulls&&null===r[v]||c(d,h(r[v],v,f,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset))}var g=d.join(u.delimiter),y=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),g.length>0?y+g:""}},12769:function(e,t,n){"use strict";var r=n(55798),i=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var l=s[u],c=a[l];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:a,prop:l}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,o){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var u="",l=0;l<s.length;++l){var c=s.charCodeAt(l);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===r.RFC1738&&(40===c||41===c)?u+=s.charAt(l):c<128?u+=a[c]:c<2048?u+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?u+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),u+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return u},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return o(t)&&!o(n)&&(a=s(t,r)),o(t)&&o(n)?(n.forEach((function(n,o){if(i.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,r):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return i.call(t,o)?t[o]=e(t[o],a,r):t[o]=a,t}),a)}}},62587:function(e){"use strict";function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,n,r,i){n=n||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(n);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var u=e.length;s>0&&u>s&&(u=s);for(var l=0;l<u;++l){var c,d,f,p,h=e[l].replace(a,"%20"),m=h.indexOf(r);m>=0?(c=h.substr(0,m),d=h.substr(m+1)):(c=h,d=""),f=decodeURIComponent(c),p=decodeURIComponent(d),t(o,f)?Array.isArray(o[f])?o[f].push(p):o[f]=[o[f],p]:o[f]=p}return o}},12361:function(e){"use strict";var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,r,i){return n=n||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(t(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(t(e))})).join(n):o+encodeURIComponent(t(e[i]))})).join(n):i?encodeURIComponent(t(i))+r+encodeURIComponent(t(e)):""}},17673:function(e,t,n){"use strict";t.decode=t.parse=n(62587),t.encode=t.stringify=n(12361)},77897:function(e,t,n){e.exports={F:n(91369),T:n(53007),__:n(34923),add:n(63073),addIndex:n(45582),adjust:n(82515),all:n(22626),allPass:n(57735),always:n(54115),and:n(42537),any:n(78095),anyPass:n(98766),ap:n(77693),aperture:n(85133),append:n(89576),apply:n(75748),applySpec:n(58375),ascend:n(7772),assoc:n(66497),assocPath:n(32423),binary:n(70962),bind:n(63195),both:n(23018),call:n(2703),chain:n(79098),clamp:n(11),clone:n(91549),comparator:n(83428),complement:n(36573),compose:n(50557),composeK:n(37013),composeP:n(33784),concat:n(54405),cond:n(17794),construct:n(27448),constructN:n(96809),contains:n(61949),converge:n(38907),countBy:n(78324),curry:n(3087),curryN:n(2220),dec:n(17919),defaultTo:n(52892),descend:n(78045),difference:n(34226),differenceWith:n(22013),dissoc:n(92650),dissocPath:n(72337),divide:n(47166),drop:n(78821),dropLast:n(50898),dropLastWhile:n(62520),dropRepeats:n(74649),dropRepeatsWith:n(43432),dropWhile:n(51008),either:n(14087),empty:n(8403),endsWith:n(30796),eqBy:n(24486),eqProps:n(54228),equals:n(51481),evolve:n(22624),filter:n(51383),find:n(46376),findIndex:n(53523),findLast:n(79605),findLastIndex:n(52417),flatten:n(77414),flip:n(9134),forEach:n(15636),forEachObjIndexed:n(28860),fromPairs:n(425),groupBy:n(10449),groupWith:n(17233),gt:n(72038),gte:n(88524),has:n(97877),hasIn:n(85809),head:n(46408),identical:n(35713),identity:n(69105),ifElse:n(23710),inc:n(40486),indexBy:n(40731),indexOf:n(73411),init:n(51010),innerJoin:n(99496),insert:n(27938),insertAll:n(87449),intersection:n(26921),intersectionWith:n(33183),intersperse:n(72577),into:n(33795),invert:n(92778),invertObj:n(62380),invoker:n(25189),is:n(9443),isEmpty:n(42157),isNil:n(13657),join:n(18231),juxt:n(55389),keys:n(90368),keysIn:n(17716),last:n(27601),lastIndexOf:n(43448),length:n(24234),lens:n(83087),lensIndex:n(76584),lensPath:n(13207),lensProp:n(25677),lift:n(4041),liftN:n(1272),lt:n(97560),lte:n(13594),map:n(61894),mapAccum:n(11282),mapAccumRight:n(51187),mapObjIndexed:n(90013),match:n(6087),mathMod:n(39175),max:n(21186),maxBy:n(91121),mean:n(70182),median:n(98442),memoize:n(54749),memoizeWith:n(37365),merge:n(20780),mergeAll:n(51493),mergeDeepLeft:n(88576),mergeDeepRight:n(57046),mergeDeepWith:n(71334),mergeDeepWithKey:n(39036),mergeWith:n(71008),mergeWithKey:n(56027),min:n(25624),minBy:n(72121),modulo:n(52395),multiply:n(1102),nAry:n(40864),negate:n(709),none:n(79916),not:n(22184),nth:n(87041),nthArg:n(33367),o:n(62809),objOf:n(144),of:n(70682),omit:n(61584),once:n(79487),or:n(18384),over:n(92738),pair:n(68380),partial:n(96942),partialRight:n(69025),partition:n(38135),path:n(416),pathEq:n(40437),pathOr:n(54782),pathSatisfies:n(4991),pick:n(5206),pickAll:n(68976),pickBy:n(12964),pipe:n(4603),pipeK:n(84136),pipeP:n(96828),pluck:n(84585),prepend:n(80409),product:n(18890),project:n(61391),prop:n(52478),propEq:n(62848),propIs:n(58426),propOr:n(53176),propSatisfies:n(67430),props:n(64691),range:n(56396),reduce:n(20793),reduceBy:n(44285),reduceRight:n(47981),reduceWhile:n(16392),reduced:n(39280),reject:n(63266),remove:n(99072),repeat:n(33633),replace:n(5683),reverse:n(65814),scan:n(95485),sequence:n(233),set:n(5994),slice:n(81753),sort:n(36218),sortBy:n(1667),sortWith:n(39153),split:n(12601),splitAt:n(68959),splitEvery:n(59241),splitWhen:n(9781),startsWith:n(60830),subtract:n(29454),sum:n(36945),symmetricDifference:n(16722),symmetricDifferenceWith:n(7776),tail:n(43656),take:n(94744),takeLast:n(18703),takeLastWhile:n(96412),takeWhile:n(27050),tap:n(6037),test:n(73495),times:n(32250),toLower:n(80620),toPairs:n(98313),toPairsIn:n(44739),toString:n(15243),toUpper:n(74633),transduce:n(63158),transpose:n(5466),traverse:n(40231),trim:n(67031),tryCatch:n(55105),type:n(36433),unapply:n(59378),unary:n(51380),uncurryN:n(1465),unfold:n(32936),union:n(30275),unionWith:n(90014),uniq:n(90086),uniqBy:n(54025),uniqWith:n(77263),unless:n(61937),unnest:n(51497),until:n(51800),update:n(67964),useWith:n(40517),values:n(33411),valuesIn:n(75988),view:n(43931),when:n(47176),where:n(39629),whereEq:n(15598),without:n(76290),xprod:n(90482),zip:n(5086),zipObj:n(47858),zipWith:n(30635)}},91369:function(e,t,n){var r=n(54115);e.exports=r(!1)},53007:function(e,t,n){var r=n(54115);e.exports=r(!0)},34923:function(e){e.exports={"@@functional/placeholder":!0}},63073:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Number(e)+Number(t)}))},45582:function(e,t,n){var r=n(14011),i=n(76224),o=n(2220);e.exports=i((function(e){return o(e.length,(function(){var t=0,n=arguments[0],i=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var e=n.apply(this,r(arguments,[t,i]));return t+=1,e},e.apply(this,o)}))}))},82515:function(e,t,n){var r=n(14011),i=n(16370);e.exports=i((function(e,t,n){if(t>=n.length||t<-n.length)return n;var i=(t<0?n.length:0)+t,o=r(n);return o[i]=e(n[i]),o}))},22626:function(e,t,n){var r=n(79002),i=n(34793),o=n(15750);e.exports=r(i(["all"],o,(function(e,t){for(var n=0;n<t.length;){if(!e(t[n]))return!1;n+=1}return!0})))},57735:function(e,t,n){var r=n(76224),i=n(2220),o=n(21186),a=n(84585),s=n(20793);e.exports=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0}))}))},54115:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(){return e}}))},42537:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e&&t}))},78095:function(e,t,n){var r=n(79002),i=n(34793),o=n(97034);e.exports=r(i(["any"],o,(function(e,t){for(var n=0;n<t.length;){if(e(t[n]))return!0;n+=1}return!1})))},98766:function(e,t,n){var r=n(76224),i=n(2220),o=n(21186),a=n(84585),s=n(20793);e.exports=r((function(e){return i(s(o,0,a("length",e)),(function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1}))}))},77693:function(e,t,n){var r=n(14011),i=n(79002),o=n(39488),a=n(61894);e.exports=i((function(e,t){return"function"==typeof t["fantasy-land/ap"]?t["fantasy-land/ap"](e):"function"==typeof e.ap?e.ap(t):"function"==typeof e?function(n){return e(n)(t(n))}:o((function(e,n){return r(e,a(n,t))}),[],e)}))},85133:function(e,t,n){var r=n(45179),i=n(79002),o=n(34793),a=n(76020);e.exports=i(o([],a,r))},89576:function(e,t,n){var r=n(14011),i=n(79002);e.exports=i((function(e,t){return r(t,[e])}))},75748:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e.apply(this,t)}))},58375:function(e,t,n){var r=n(76224),i=n(75748),o=n(2220),a=n(61894),s=n(21186),u=n(84585),l=n(20793),c=n(33411);e.exports=r((function e(t){return t=a((function(t){return"function"==typeof t?t:e(t)}),t),o(l(s,0,u("length",c(t))),(function(){var e=arguments;return a((function(t){return i(t,e)}),t)}))}))},7772:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}))},66497:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r={};for(var i in n)r[i]=n[i];return r[e]=t,r}))},32423:function(e,t,n){var r=n(16370),i=n(87684),o=n(20219),a=n(37e3),s=n(66497),u=n(13657);e.exports=r((function e(t,n,r){if(0===t.length)return n;var l=t[0];if(t.length>1){var c=!u(r)&&i(l,r)?r[l]:a(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,c)}if(a(l)&&o(r)){var d=[].concat(r);return d[l]=n,d}return s(l,n,r)}))},70962:function(e,t,n){var r=n(76224),i=n(40864);e.exports=r((function(e){return i(2,e)}))},63195:function(e,t,n){var r=n(7455),i=n(79002);e.exports=i((function(e,t){return r(e.length,(function(){return e.apply(t,arguments)}))}))},23018:function(e,t,n){var r=n(79002),i=n(62144),o=n(42537),a=n(4041);e.exports=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)&&t.apply(this,arguments)}:a(o)(e,t)}))},2703:function(e,t,n){var r=n(3087);e.exports=r((function(e){return e.apply(this,Array.prototype.slice.call(arguments,1))}))},79098:function(e,t,n){var r=n(79002),i=n(34793),o=n(55161),a=n(64814),s=n(61894);e.exports=r(i(["fantasy-land/chain","chain"],a,(function(e,t){return"function"==typeof t?function(n){return e(t(n))(n)}:o(!1)(s(e,t))})))},11:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){if(e>t)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<e?e:n>t?t:n}))},91549:function(e,t,n){var r=n(45114),i=n(76224);e.exports=i((function(e){return null!=e&&"function"==typeof e.clone?e.clone():r(e,[],[],!0)}))},83428:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(t,n){return e(t,n)?-1:e(n,t)?1:0}}))},36573:function(e,t,n){var r=n(4041),i=n(22184);e.exports=r(i)},50557:function(e,t,n){var r=n(4603),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},37013:function(e,t,n){var r=n(79098),i=n(50557),o=n(61894);e.exports=function(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var e=Array.prototype.slice.call(arguments),t=e.pop();return i(i.apply(this,o(r,e)),t)}},33784:function(e,t,n){var r=n(96828),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},54405:function(e,t,n){var r=n(79002),i=n(20219),o=n(62144),a=n(20190),s=n(15243);e.exports=r((function(e,t){if(i(e)){if(i(t))return e.concat(t);throw new TypeError(s(t)+" is not an array")}if(a(e)){if(a(t))return e+t;throw new TypeError(s(t)+" is not a string")}if(null!=e&&o(e["fantasy-land/concat"]))return e["fantasy-land/concat"](t);if(null!=e&&o(e.concat))return e.concat(t);throw new TypeError(s(e)+' does not have a method named "concat" or "fantasy-land/concat"')}))},17794:function(e,t,n){var r=n(7455),i=n(76224),o=n(61894),a=n(21186),s=n(20793);e.exports=i((function(e){var t=s(a,0,o((function(e){return e[0].length}),e));return r(t,(function(){for(var t=0;t<e.length;){if(e[t][0].apply(this,arguments))return e[t][1].apply(this,arguments);t+=1}}))}))},27448:function(e,t,n){var r=n(76224),i=n(96809);e.exports=r((function(e){return i(e.length,e)}))},96809:function(e,t,n){var r=n(79002),i=n(3087),o=n(40864);e.exports=r((function(e,t){if(e>10)throw new Error("Constructor with greater than ten arguments");return 0===e?function(){return new t}:i(o(e,(function(e,n,r,i,o,a,s,u,l,c){switch(arguments.length){case 1:return new t(e);case 2:return new t(e,n);case 3:return new t(e,n,r);case 4:return new t(e,n,r,i);case 5:return new t(e,n,r,i,o);case 6:return new t(e,n,r,i,o,a);case 7:return new t(e,n,r,i,o,a,s);case 8:return new t(e,n,r,i,o,a,s,u);case 9:return new t(e,n,r,i,o,a,s,u,l);case 10:return new t(e,n,r,i,o,a,s,u,l,c)}})))}))},61949:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i(r)},38907:function(e,t,n){var r=n(79002),i=n(36692),o=n(2220),a=n(21186),s=n(84585),u=n(20793);e.exports=r((function(e,t){return o(u(a,0,s("length",t)),(function(){var n=arguments,r=this;return e.apply(r,i((function(e){return e.apply(r,n)}),t))}))}))},78324:function(e,t,n){var r=n(44285);e.exports=r((function(e,t){return e+1}),0)},3087:function(e,t,n){var r=n(76224),i=n(2220);e.exports=r((function(e){return i(e.length,e)}))},2220:function(e,t,n){var r=n(7455),i=n(76224),o=n(79002),a=n(32738);e.exports=o((function(e,t){return 1===e?i(t):r(e,a(e,[],t))}))},17919:function(e,t,n){var r=n(63073);e.exports=r(-1)},52892:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return null==t||t!=t?e:t}))},78045:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0}))},34226:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i((function(e,t){for(var n=[],i=0,o=e.length;i<o;)r(e[i],t)||r(e[i],n)||(n[n.length]=e[i]),i+=1;return n}))},22013:function(e,t,n){var r=n(28247),i=n(16370);e.exports=i((function(e,t,n){for(var i=[],o=0,a=t.length;o<a;)r(e,t[o],n)||r(e,t[o],i)||i.push(t[o]),o+=1;return i}))},92650:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};for(var r in t)n[r]=t[r];return delete n[e],n}))},72337:function(e,t,n){var r=n(79002),i=n(37e3),o=n(66497),a=n(92650),s=n(99072),u=n(67964);e.exports=r((function e(t,n){switch(t.length){case 0:return n;case 1:return i(t[0])?s(t[0],1,n):a(t[0],n);default:var r=t[0],l=Array.prototype.slice.call(t,1);return null==n[r]?n:i(t[0])?u(r,e(l,n[r]),n):o(r,e(l,n[r]),n)}}))},47166:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e/t}))},78821:function(e,t,n){var r=n(79002),i=n(34793),o=n(41700),a=n(81753);e.exports=r(i(["drop"],o,(function(e,t){return a(Math.max(0,e),1/0,t)})))},50898:function(e,t,n){var r=n(79002),i=n(34793),o=n(11247),a=n(4534);e.exports=r(i([],a,o))},62520:function(e,t,n){var r=n(79002),i=n(34793),o=n(57288),a=n(34783);e.exports=r(i([],a,o))},74649:function(e,t,n){var r=n(76224),i=n(34793),o=n(6234),a=n(43432),s=n(51481);e.exports=r(i([],o(s),a(s)))},43432:function(e,t,n){var r=n(79002),i=n(34793),o=n(6234),a=n(27601);e.exports=r(i([],o,(function(e,t){var n=[],r=1,i=t.length;if(0!==i)for(n[0]=t[0];r<i;)e(a(n),t[r])||(n[n.length]=t[r]),r+=1;return n})))},51008:function(e,t,n){var r=n(79002),i=n(34793),o=n(1908);e.exports=r(i(["dropWhile"],o,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Array.prototype.slice.call(t,n)})))},14087:function(e,t,n){var r=n(79002),i=n(62144),o=n(4041),a=n(18384);e.exports=r((function(e,t){return i(e)?function(){return e.apply(this,arguments)||t.apply(this,arguments)}:o(a)(e,t)}))},8403:function(e,t,n){var r=n(76224),i=n(97587),o=n(20219),a=n(8291),s=n(20190);e.exports=r((function(e){return null!=e&&"function"==typeof e["fantasy-land/empty"]?e["fantasy-land/empty"]():null!=e&&null!=e.constructor&&"function"==typeof e.constructor["fantasy-land/empty"]?e.constructor["fantasy-land/empty"]():null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():o(e)?[]:s(e)?"":a(e)?{}:i(e)?function(){return arguments}():void 0}))},30796:function(e,t,n){var r=n(79002),i=n(51481),o=n(18703);e.exports=r((function(e,t){return i(o(e.length,t),e)}))},24486:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(e(t),e(n))}))},54228:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(t[e],n[e])}))},51481:function(e,t,n){var r=n(79002),i=n(74023);e.exports=r((function(e,t){return i(e,t,[],[])}))},22624:function(e,t,n){var r=n(79002);e.exports=r((function e(t,n){var r,i,o,a={};for(i in n)o=typeof(r=t[i]),a[i]="function"===o?r(n[i]):r&&"object"===o?e(r,n[i]):n[i];return a}))},51383:function(e,t,n){var r=n(79002),i=n(34793),o=n(34877),a=n(8291),s=n(39488),u=n(11383),l=n(90368);e.exports=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},l(t)):o(e,t)})))},46376:function(e,t,n){var r=n(79002),i=n(34793),o=n(47855);e.exports=r(i(["find"],o,(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})))},53523:function(e,t,n){var r=n(79002),i=n(34793),o=n(20834);e.exports=r(i([],o,(function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})))},79605:function(e,t,n){var r=n(79002),i=n(34793),o=n(28922);e.exports=r(i([],o,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return t[n];n-=1}})))},52417:function(e,t,n){var r=n(79002),i=n(34793),o=n(36626);e.exports=r(i([],o,(function(e,t){for(var n=t.length-1;n>=0;){if(e(t[n]))return n;n-=1}return-1})))},77414:function(e,t,n){var r=n(76224),i=n(55161);e.exports=r(i(!0))},9134:function(e,t,n){var r=n(76224),i=n(3087);e.exports=r((function(e){return i((function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)}))}))},15636:function(e,t,n){var r=n(73542),i=n(79002);e.exports=i(r("forEach",(function(e,t){for(var n=t.length,r=0;r<n;)e(t[r]),r+=1;return t})))},28860:function(e,t,n){var r=n(79002),i=n(90368);e.exports=r((function(e,t){for(var n=i(t),r=0;r<n.length;){var o=n[r];e(t[o],o,t),r+=1}return t}))},425:function(e,t,n){var r=n(76224);e.exports=r((function(e){for(var t={},n=0;n<e.length;)t[e[n][0]]=e[n][1],n+=1;return t}))},10449:function(e,t,n){var r=n(73542),i=n(79002),o=n(44285);e.exports=i(r("groupBy",o((function(e,t){return null==e&&(e=[]),e.push(t),e}),null)))},17233:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=[],r=0,i=t.length;r<i;){for(var o=r+1;o<i&&e(t[o-1],t[o]);)o+=1;n.push(t.slice(r,o)),r=o}return n}))},72038:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e>t}))},88524:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e>=t}))},97877:function(e,t,n){var r=n(79002),i=n(87684);e.exports=r(i)},85809:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e in t}))},46408:function(e,t,n){var r=n(87041);e.exports=r(0)},35713:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}))},69105:function(e,t,n){var r=n(76224),i=n(50339);e.exports=r(i)},23710:function(e,t,n){var r=n(16370),i=n(2220);e.exports=r((function(e,t,n){return i(Math.max(e.length,t.length,n.length),(function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)}))}))},40486:function(e,t,n){var r=n(63073);e.exports=r(1)},40731:function(e,t,n){var r=n(44285);e.exports=r((function(e,t){return t}),null)},73411:function(e,t,n){var r=n(79002),i=n(96069),o=n(20219);e.exports=r((function(e,t){return"function"!=typeof t.indexOf||o(t)?i(t,e,0):t.indexOf(e)}))},51010:function(e,t,n){var r=n(81753);e.exports=r(0,-1)},99496:function(e,t,n){var r=n(28247),i=n(16370),o=n(34877);e.exports=i((function(e,t,n){return o((function(t){return r(e,t,n)}),t)}))},27938:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){e=e<n.length&&e>=0?e:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(e,0,t),r}))},87449:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e=e<n.length&&e>=0?e:n.length,[].concat(Array.prototype.slice.call(n,0,e),t,Array.prototype.slice.call(n,e))}))},8876:function(e,t,n){var r=n(64281);e.exports=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function t(e,t,n){var i,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var a=e?1:0;return!!n._items[o][a]||(t&&(n._items[o][a]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(i=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===i):n._nativeSet.has(e):o in n._items?!!r(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!r(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}return e.prototype.add=function(e){return!t(e,!0,this)},e.prototype.has=function(e){return t(e,!1,this)},e}()},45179:function(e){e.exports=function(e,t){for(var n=0,r=t.length-(e-1),i=new Array(r>=0?r:0);n<r;)i[n]=Array.prototype.slice.call(t,n,n+e),n+=1;return i}},7455:function(e){e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,o){return t.apply(this,arguments)};case 6:return function(e,n,r,i,o,a){return t.apply(this,arguments)};case 7:return function(e,n,r,i,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,o,a,s,u){return t.apply(this,arguments)};case 9:return function(e,n,r,i,o,a,s,u,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,l,c){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},54118:function(e){e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},82512:function(e,t,n){var r=n(4778);e.exports="function"==typeof Object.assign?Object.assign:r},73542:function(e,t,n){var r=n(20219);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var i=arguments[n-1];return r(i)||"function"!=typeof i[e]?t.apply(this,arguments):i[e].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},45114:function(e,t,n){var r=n(9039),i=n(36433);e.exports=function e(t,n,o,a){var s=function(r){for(var i=n.length,s=0;s<i;){if(t===n[s])return o[s];s+=1}for(var u in n[s+1]=t,o[s+1]=r,t)r[u]=a?e(t[u],n,o,!0):t[u];return r};switch(i(t)){case"Object":return s({});case"Array":return s([]);case"Date":return new Date(t.valueOf());case"RegExp":return r(t);default:return t}}},9039:function(e){e.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},48770:function(e){e.exports=function(e){return function(){return!e.apply(this,arguments)}}},14011:function(e){e.exports=function(e,t){var n;t=t||[];var r=(e=e||[]).length,i=t.length,o=[];for(n=0;n<r;)o[o.length]=e[n],n+=1;for(n=0;n<i;)o[o.length]=t[n],n+=1;return o}},64281:function(e,t,n){var r=n(96069);e.exports=function(e,t){return r(t,e,0)>=0}},28247:function(e){e.exports=function(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}},57994:function(e,t,n){var r=n(7455),i=n(79002);e.exports=function(e){return i((function(t,n){return r(Math.max(0,t.length-n.length),(function(){return t.apply(this,e(n,arguments))}))}))}},76224:function(e,t,n){var r=n(36464);e.exports=function(e){return function t(n){return 0===arguments.length||r(n)?t:e.apply(this,arguments)}}},79002:function(e,t,n){var r=n(76224),i=n(36464);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return i(n)?t:r((function(t){return e(n,t)}));default:return i(n)&&i(o)?t:i(n)?r((function(t){return e(t,o)})):i(o)?r((function(t){return e(n,t)})):e(n,o)}}}},16370:function(e,t,n){var r=n(76224),i=n(79002),o=n(36464);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:i((function(t,r){return e(n,t,r)}));case 2:return o(n)&&o(a)?t:o(n)?i((function(t,n){return e(t,a,n)})):o(a)?i((function(t,r){return e(n,t,r)})):r((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?i((function(t,n){return e(t,n,s)})):o(n)&&o(s)?i((function(t,n){return e(t,a,n)})):o(a)&&o(s)?i((function(t,r){return e(n,t,r)})):o(n)?r((function(t){return e(t,a,s)})):o(a)?r((function(t){return e(n,t,s)})):o(s)?r((function(t){return e(n,a,t)})):e(n,a,s)}}}},32738:function(e,t,n){var r=n(7455),i=n(36464);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,u=t,l=0;l<n.length||s<arguments.length;){var c;l<n.length&&(!i(n[l])||s>=arguments.length)?c=n[l]:(c=arguments[s],s+=1),a[l]=c,i(c)||(u-=1),l+=1}return u<=0?o.apply(this,a):r(u,e(t,a,o))}}},34793:function(e,t,n){var r=n(20219),i=n(69082);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(i(a)){var u=t.apply(null,o);return u(a)}}return n.apply(this,arguments)}}},11247:function(e,t,n){var r=n(94744);e.exports=function(e,t){return r(e<t.length?t.length-e:0,t)}},57288:function(e){e.exports=function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Array.prototype.slice.call(t,0,n+1)}},74023:function(e,t,n){var r=n(54118),i=n(4931),o=n(87684),a=n(35713),s=n(90368),u=n(36433);e.exports=function e(t,n,l,c){if(a(t,n))return!0;if(u(t)!==u(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(u(t)){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===i(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!a(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!a(t.valueOf(),n.valueOf()))return!1;break;case"Error":return t.name===n.name&&t.message===n.message;case"RegExp":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!e(r(t.entries()),r(n.entries()),l,c))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var d=s(t);if(d.length!==s(n).length)return!1;for(var f=l.length-1;f>=0;){if(l[f]===t)return c[f]===n;f-=1}for(l.push(t),c.push(n),f=d.length-1;f>=0;){var p=d[f];if(!o(p,n)||!e(n[p],t[p],l,c))return!1;f-=1}return l.pop(),c.pop(),!0}},34877:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}},8530:function(e,t,n){var r=n(50600),i=n(3219),o=n(39488),a=n(93714);e.exports=function(e){var t=function(e){return{"@@transducer/init":a.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){var i=e["@@transducer/step"](t,n);return i["@@transducer/reduced"]?r(i):i}}}(e);return{"@@transducer/init":a.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){return i(n)?o(t,e,n):o(t,e,[n])}}}},50600:function(e){e.exports=function(e){return{"@@transducer/value":e,"@@transducer/reduced":!0}}},4931:function(e){e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},87684:function(e){e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},50339:function(e){e.exports=function(e){return e}},96069:function(e,t,n){var r=n(51481);e.exports=function(e,t,n){var i,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(i=1/t;n<e.length;){if(0===(o=e[n])&&1/o===i)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(r(e[n],t))return n;n+=1}return-1}},97587:function(e,t,n){var r=n(87684);e.exports=function(){var e=Object.prototype.toString;return"[object Arguments]"===e.call(arguments)?function(t){return"[object Arguments]"===e.call(t)}:function(e){return r("callee",e)}}()},20219:function(e){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},3219:function(e,t,n){var r=n(76224),i=n(20219),o=n(20190);e.exports=r((function(e){return!!i(e)||!!e&&("object"==typeof e&&(!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}))},62144:function(e){e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},37e3:function(e){e.exports=Number.isInteger||function(e){return e<<0===e}},58591:function(e){e.exports=function(e){return"[object Number]"===Object.prototype.toString.call(e)}},8291:function(e){e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},36464:function(e){e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},79725:function(e){e.exports=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},20190:function(e){e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},69082:function(e){e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},55161:function(e,t,n){var r=n(3219);e.exports=function(e){return function t(n){for(var i,o,a,s=[],u=0,l=n.length;u<l;){if(r(n[u]))for(a=0,o=(i=e?t(n[u]):n[u]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[u];u+=1}return s}}},36692:function(e){e.exports=function(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}},4778:function(e,t,n){var r=n(87684);e.exports=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var a in o)r(a,o)&&(t[a]=o[a]);n+=1}return t}},58791:function(e){e.exports=function(e){return[e]}},56015:function(e){e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},60829:function(e){e.exports=function(e,t){return function(){var n=this;return e.apply(n,arguments).then((function(e){return t.call(n,e)}))}}},76001:function(e){e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},39488:function(e,t,n){var r=n(3219),i=n(39874),o=n(63195);e.exports=function(){function e(e,t,n){for(var r=n.next();!r.done;){if((t=e["@@transducer/step"](t,r.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r=n.next()}return e["@@transducer/result"](t)}function t(e,t,n,r){return e["@@transducer/result"](n[r](o(e["@@transducer/step"],e),t))}var n="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,a,s){if("function"==typeof o&&(o=i(o)),r(s))return function(e,t,n){for(var r=0,i=n.length;r<i;){if((t=e["@@transducer/step"](t,n[r]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}r+=1}return e["@@transducer/result"](t)}(o,a,s);if("function"==typeof s["fantasy-land/reduce"])return t(o,a,s,"fantasy-land/reduce");if(null!=s[n])return e(o,a,s[n]());if("function"==typeof s.next)return e(o,a,s);if("function"==typeof s.reduce)return t(o,a,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},22157:function(e){e.exports=function(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}},74745:function(e,t,n){var r,i,o,a=n(82512),s=n(50339),u=n(3219),l=n(69082),c=n(144);e.exports=(r={"@@transducer/init":Array,"@@transducer/step":function(e,t){return e.push(t),e},"@@transducer/result":s},i={"@@transducer/init":String,"@@transducer/step":function(e,t){return e+t},"@@transducer/result":s},o={"@@transducer/init":Object,"@@transducer/step":function(e,t){return a(e,u(t)?c(t[0],t[1]):t)},"@@transducer/result":s},function(e){if(l(e))return e;if(u(e))return r;if("string"==typeof e)return i;if("object"==typeof e)return o;throw new Error("Cannot create transformer for "+e)})},5123:function(e){var t;e.exports=(t=function(e){return(e<10?"0":"")+e},"function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},31136:function(e,t,n){var r=n(64281),i=n(36692),o=n(76001),a=n(5123),s=n(90368),u=n(63266);e.exports=function e(t,n){var l=function(i){var o=n.concat([t]);return r(i,o)?"<Circular>":e(i,o)},c=function(e,t){return i((function(t){return o(t)+": "+l(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+i(l,t).join(", ")+"))";case"[object Array]":return"["+i(l,t).concat(c(t,u((function(e){return/^\d+$/.test(e)}),s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+l(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?l(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+l(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+l(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var d=t.toString();if("[object Object]"!==d)return d}return"{"+c(t,s(t)).join(", ")+"}"}}},15750:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.all=!0}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)||(this.all=!1,e=i(this.xf["@@transducer/step"](e,!1))),e},r((function(t,n){return new e(t,n)}))}()},97034:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.any=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.any||(e=this.xf["@@transducer/step"](e,!1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.any=!0,e=i(this.xf["@@transducer/step"](e,!0))),e},r((function(t,n){return new e(t,n)}))}()},76020:function(e,t,n){var r=n(14011),i=n(79002),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.store(t),this.full?this.xf["@@transducer/step"](e,this.getCopy()):e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},e.prototype.getCopy=function(){return r(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},i((function(t,n){return new e(t,n)}))}()},64814:function(e,t,n){var r=n(79002),i=n(8530),o=n(61894);e.exports=r((function(e,t){return o(e,i(t))}))},41700:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.n=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.n>0?(this.n-=1,e):this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},4534:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pos=0,this.full=!1,this.acc=new Array(e)}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.acc=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.full&&(e=this.xf["@@transducer/step"](e,this.acc[this.pos])),this.store(t),e},e.prototype.store=function(e){this.acc[this.pos]=e,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},r((function(t,n){return new e(t,n)}))}()},34783:function(e,t,n){var r=n(79002),i=n(39488),o=n(93714);e.exports=function(){function e(e,t){this.f=e,this.retained=[],this.xf=t}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.retain(e,t):this.flush(e,t)},e.prototype.flush=function(e,t){return e=i(this.xf["@@transducer/step"],e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,t)},e.prototype.retain=function(e,t){return this.retained.push(t),e},r((function(t,n){return new e(t,n)}))}()},6234:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.pred=e,this.lastValue=void 0,this.seenFirstValue=!1}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,t)&&(n=!0):this.seenFirstValue=!0,this.lastValue=t,n?e:this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},1908:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){if(this.f){if(this.f(t))return e;this.f=null}return this.xf["@@transducer/step"](e,t)},r((function(t,n){return new e(t,n)}))}()},93714:function(e){e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},11383:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},r((function(t,n){return new e(t,n)}))}()},47855:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.found=!0,e=i(this.xf["@@transducer/step"](e,t))),e},r((function(t,n){return new e(t,n)}))}()},20834:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=i(this.xf["@@transducer/step"](e,this.idx))),e},r((function(t,n){return new e(t,n)}))}()},28922:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.last))},e.prototype["@@transducer/step"]=function(e,t){return this.f(t)&&(this.last=t),e},r((function(t,n){return new e(t,n)}))}()},36626:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.lastIdx=-1}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=function(e){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](e,this.lastIdx))},e.prototype["@@transducer/step"]=function(e,t){return this.idx+=1,this.f(t)&&(this.lastIdx=this.idx),e},r((function(t,n){return new e(t,n)}))}()},72894:function(e,t,n){var r=n(79002),i=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=i.init,e.prototype["@@transducer/result"]=i.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},r((function(t,n){return new e(t,n)}))}()},57744:function(e,t,n){var r=n(32738),i=n(87684),o=n(93714);e.exports=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=function(e){var t;for(t in this.inputs)if(i(t,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[t]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},e.prototype["@@transducer/step"]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},r(4,[],(function(t,n,r,i){return new e(t,n,r,i)}))}()},49184:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.n=e,this.i=0}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=o.result,e.prototype["@@transducer/step"]=function(e,t){this.i+=1;var n=0===this.n?e:this.xf["@@transducer/step"](e,t);return this.n>=0&&this.i>=this.n?i(n):n},r((function(t,n){return new e(t,n)}))}()},89963:function(e,t,n){var r=n(79002),i=n(22157),o=n(93714);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=o.init,e.prototype["@@transducer/result"]=o.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):i(e)},r((function(t,n){return new e(t,n)}))}()},39874:function(e){e.exports=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},function(t){return new e(t)}}()},26921:function(e,t,n){var r=n(64281),i=n(79002),o=n(34877),a=n(9134),s=n(90086);e.exports=i((function(e,t){var n,i;return e.length>t.length?(n=e,i=t):(n=t,i=e),s(o(a(r)(n),i))}))},33183:function(e,t,n){var r=n(28247),i=n(16370),o=n(77263);e.exports=i((function(e,t,n){var i,a;t.length>n.length?(i=t,a=n):(i=n,a=t);for(var s=[],u=0;u<a.length;)r(e,a[u],i)&&(s[s.length]=a[u]),u+=1;return o(e,s)}))},72577:function(e,t,n){var r=n(73542),i=n(79002);e.exports=i(r("intersperse",(function(e,t){for(var n=[],r=0,i=t.length;r<i;)r===i-1?n.push(t[r]):n.push(t[r],e),r+=1;return n})))},33795:function(e,t,n){var r=n(45114),i=n(16370),o=n(69082),a=n(39488),s=n(74745);e.exports=i((function(e,t,n){return o(e)?a(t(e),e["@@transducer/init"](),n):a(t(s(e)),r(e,[],[],!1),n)}))},92778:function(e,t,n){var r=n(76224),i=n(87684),o=n(90368);e.exports=r((function(e){for(var t=o(e),n=t.length,r=0,a={};r<n;){var s=t[r],u=e[s],l=i(u,a)?a[u]:a[u]=[];l[l.length]=s,r+=1}return a}))},62380:function(e,t,n){var r=n(76224),i=n(90368);e.exports=r((function(e){for(var t=i(e),n=t.length,r=0,o={};r<n;){var a=t[r];o[e[a]]=a,r+=1}return o}))},25189:function(e,t,n){var r=n(79002),i=n(62144),o=n(2220),a=n(15243);e.exports=r((function(e,t){return o(e+1,(function(){var n=arguments[e];if(null!=n&&i(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(a(n)+' does not have a method named "'+t+'"')}))}))},9443:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return null!=t&&t.constructor===e||t instanceof e}))},42157:function(e,t,n){var r=n(76224),i=n(8403),o=n(51481);e.exports=r((function(e){return null!=e&&o(e,i(e))}))},13657:function(e,t,n){var r=n(76224);e.exports=r((function(e){return null==e}))},18231:function(e,t,n){var r=n(25189);e.exports=r(1,"join")},55389:function(e,t,n){var r=n(76224),i=n(38907);e.exports=r((function(e){return i((function(){return Array.prototype.slice.call(arguments,0)}),e)}))},90368:function(e,t,n){var r=n(76224),i=n(87684),o=n(97587);e.exports=function(){var e=!{toString:null}.propertyIsEnumerable("toString"),t=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],n=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),a=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1};return"function"!=typeof Object.keys||n?r((function(r){if(Object(r)!==r)return[];var s,u,l=[],c=n&&o(r);for(s in r)!i(s,r)||c&&"length"===s||(l[l.length]=s);if(e)for(u=t.length-1;u>=0;)i(s=t[u],r)&&!a(l,s)&&(l[l.length]=s),u-=1;return l})):r((function(e){return Object(e)!==e?[]:Object.keys(e)}))}()},17716:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t,n=[];for(t in e)n[n.length]=t;return n}))},27601:function(e,t,n){var r=n(87041);e.exports=r(-1)},43448:function(e,t,n){var r=n(79002),i=n(20219),o=n(51481);e.exports=r((function(e,t){if("function"!=typeof t.lastIndexOf||i(t)){for(var n=t.length-1;n>=0;){if(o(t[n],e))return n;n-=1}return-1}return t.lastIndexOf(e)}))},24234:function(e,t,n){var r=n(76224),i=n(58591);e.exports=r((function(e){return null!=e&&i(e.length)?e.length:NaN}))},83087:function(e,t,n){var r=n(79002),i=n(61894);e.exports=r((function(e,t){return function(n){return function(r){return i((function(e){return t(e,r)}),n(e(r)))}}}))},76584:function(e,t,n){var r=n(76224),i=n(83087),o=n(87041),a=n(67964);e.exports=r((function(e){return i(o(e),a(e))}))},13207:function(e,t,n){var r=n(76224),i=n(32423),o=n(83087),a=n(416);e.exports=r((function(e){return o(a(e),i(e))}))},25677:function(e,t,n){var r=n(76224),i=n(66497),o=n(83087),a=n(52478);e.exports=r((function(e){return o(a(e),i(e))}))},4041:function(e,t,n){var r=n(76224),i=n(1272);e.exports=r((function(e){return i(e.length,e)}))},1272:function(e,t,n){var r=n(79002),i=n(39488),o=n(77693),a=n(2220),s=n(61894);e.exports=r((function(e,t){var n=a(e,t);return a(e,(function(){return i(o,s(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))}))},97560:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e<t}))},13594:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e<=t}))},61894:function(e,t,n){var r=n(79002),i=n(34793),o=n(36692),a=n(39488),s=n(72894),u=n(2220),l=n(90368);e.exports=r(i(["fantasy-land/map","map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return u(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,r){return n[r]=e(t[r]),n}),{},l(t));default:return o(e,t)}})))},11282:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=0,i=n.length,o=[],a=[t];r<i;)a=e(a[0],n[r]),o[r]=a[1],r+=1;return[a[0],o]}))},51187:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n.length-1,i=[],o=[t];r>=0;)o=e(n[r],o[0]),i[r]=o[1],r-=1;return[i,o[0]]}))},90013:function(e,t,n){var r=n(79002),i=n(39488),o=n(90368);e.exports=r((function(e,t){return i((function(n,r){return n[r]=e(t[r],r,t),n}),{},o(t))}))},6087:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t.match(e)||[]}))},39175:function(e,t,n){var r=n(79002),i=n(37e3);e.exports=r((function(e,t){return i(e)?!i(t)||t<1?NaN:(e%t+t)%t:NaN}))},21186:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t>e?t:e}))},91121:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)>e(t)?n:t}))},70182:function(e,t,n){var r=n(76224),i=n(36945);e.exports=r((function(e){return i(e)/e.length}))},98442:function(e,t,n){var r=n(76224),i=n(70182);e.exports=r((function(e){var t=e.length;if(0===t)return NaN;var n=2-t%2,r=(t-n)/2;return i(Array.prototype.slice.call(e,0).sort((function(e,t){return e<t?-1:e>t?1:0})).slice(r,r+n))}))},54749:function(e,t,n){var r=n(37365),i=n(15243);e.exports=r((function(){return i(arguments)}))},37365:function(e,t,n){var r=n(7455),i=n(79002),o=n(87684);e.exports=i((function(e,t){var n={};return r(t.length,(function(){var r=e.apply(this,arguments);return o(r,n)||(n[r]=t.apply(this,arguments)),n[r]}))}))},20780:function(e,t,n){var r=n(82512),i=n(79002);e.exports=i((function(e,t){return r({},e,t)}))},51493:function(e,t,n){var r=n(82512),i=n(76224);e.exports=i((function(e){return r.apply(null,[{}].concat(e))}))},88576:function(e,t,n){var r=n(79002),i=n(39036);e.exports=r((function(e,t){return i((function(e,t,n){return t}),e,t)}))},57046:function(e,t,n){var r=n(79002),i=n(39036);e.exports=r((function(e,t){return i((function(e,t,n){return n}),e,t)}))},71334:function(e,t,n){var r=n(16370),i=n(39036);e.exports=r((function(e,t,n){return i((function(t,n,r){return e(n,r)}),t,n)}))},39036:function(e,t,n){var r=n(16370),i=n(8291),o=n(56027);e.exports=r((function e(t,n,r){return o((function(n,r,o){return i(r)&&i(o)?e(t,r,o):t(n,r,o)}),n,r)}))},71008:function(e,t,n){var r=n(16370),i=n(56027);e.exports=r((function(e,t,n){return i((function(t,n,r){return e(n,r)}),t,n)}))},56027:function(e,t,n){var r=n(16370),i=n(87684);e.exports=r((function(e,t,n){var r,o={};for(r in t)i(r,t)&&(o[r]=i(r,n)?e(r,t[r],n[r]):t[r]);for(r in n)i(r,n)&&!i(r,o)&&(o[r]=n[r]);return o}))},25624:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t<e?t:e}))},72121:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)<e(t)?n:t}))},52395:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e%t}))},1102:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e*t}))},40864:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){switch(e){case 0:return function(){return t.call(this)};case 1:return function(e){return t.call(this,e)};case 2:return function(e,n){return t.call(this,e,n)};case 3:return function(e,n,r){return t.call(this,e,n,r)};case 4:return function(e,n,r,i){return t.call(this,e,n,r,i)};case 5:return function(e,n,r,i,o){return t.call(this,e,n,r,i,o)};case 6:return function(e,n,r,i,o,a){return t.call(this,e,n,r,i,o,a)};case 7:return function(e,n,r,i,o,a,s){return t.call(this,e,n,r,i,o,a,s)};case 8:return function(e,n,r,i,o,a,s,u){return t.call(this,e,n,r,i,o,a,s,u)};case 9:return function(e,n,r,i,o,a,s,u,l){return t.call(this,e,n,r,i,o,a,s,u,l)};case 10:return function(e,n,r,i,o,a,s,u,l,c){return t.call(this,e,n,r,i,o,a,s,u,l,c)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}}))},709:function(e,t,n){var r=n(76224);e.exports=r((function(e){return-e}))},79916:function(e,t,n){var r=n(48770),i=n(79002),o=n(34793),a=n(97034),s=n(78095);e.exports=i(r(o(["any"],a,s)))},22184:function(e,t,n){var r=n(76224);e.exports=r((function(e){return!e}))},87041:function(e,t,n){var r=n(79002),i=n(20190);e.exports=r((function(e,t){var n=e<0?t.length+e:e;return i(t)?t.charAt(n):t[n]}))},33367:function(e,t,n){var r=n(76224),i=n(2220),o=n(87041);e.exports=r((function(e){return i(e<0?1:e+1,(function(){return o(e,arguments)}))}))},62809:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(t(n))}))},144:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};return n[e]=t,n}))},70682:function(e,t,n){var r=n(76224),i=n(58791);e.exports=r(i)},61584:function(e,t,n){var r=n(64281),i=n(79002);e.exports=i((function(e,t){var n={};for(var i in t)r(i,e)||(n[i]=t[i]);return n}))},79487:function(e,t,n){var r=n(7455),i=n(76224);e.exports=i((function(e){var t,n=!1;return r(e.length,(function(){return n?t:(n=!0,t=e.apply(this,arguments))}))}))},18384:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e||t}))},92738:function(e,t,n){var r,i=n(16370);e.exports=(r=function(e){return{value:e,map:function(t){return r(t(e))}}},i((function(e,t,n){return e((function(e){return r(t(e))}))(n).value})))},68380:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return[e,t]}))},96942:function(e,t,n){var r=n(14011),i=n(57994);e.exports=i(r)},69025:function(e,t,n){var r=n(14011),i=n(57994),o=n(9134);e.exports=i(o(r))},38135:function(e,t,n){var r=n(51383),i=n(55389),o=n(63266);e.exports=i([r,o])},416:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=t,r=0;r<e.length;){if(null==n)return;n=n[e[r]],r+=1}return n}))},40437:function(e,t,n){var r=n(16370),i=n(51481),o=n(416);e.exports=r((function(e,t,n){return i(o(e,n),t)}))},54782:function(e,t,n){var r=n(16370),i=n(52892),o=n(416);e.exports=r((function(e,t,n){return i(e,o(t,n))}))},4991:function(e,t,n){var r=n(16370),i=n(416);e.exports=r((function(e,t,n){return t.length>0&&e(i(t,n))}))},5206:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}))},68976:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n={},r=0,i=e.length;r<i;){var o=e[r];n[o]=t[o],r+=1}return n}))},12964:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n={};for(var r in t)e(t[r],r,t)&&(n[r]=t[r]);return n}))},4603:function(e,t,n){var r=n(7455),i=n(56015),o=n(20793),a=n(43656);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},84136:function(e,t,n){var r=n(37013),i=n(65814);e.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},96828:function(e,t,n){var r=n(7455),i=n(60829),o=n(20793),a=n(43656);e.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},84585:function(e,t,n){var r=n(79002),i=n(61894),o=n(52478);e.exports=r((function(e,t){return i(o(e),t)}))},80409:function(e,t,n){var r=n(14011),i=n(79002);e.exports=i((function(e,t){return r([e],t)}))},18890:function(e,t,n){var r=n(1102),i=n(20793);e.exports=i(r,1)},61391:function(e,t,n){var r=n(36692),i=n(69105),o=n(68976),a=n(40517);e.exports=a(r,[o,i])},52478:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return t[e]}))},62848:function(e,t,n){var r=n(16370),i=n(51481);e.exports=r((function(e,t,n){return i(t,n[e])}))},58426:function(e,t,n){var r=n(16370),i=n(9443);e.exports=r((function(e,t,n){return i(e,n[t])}))},53176:function(e,t,n){var r=n(16370),i=n(87684);e.exports=r((function(e,t,n){return null!=n&&i(t,n)?n[t]:e}))},67430:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n[t])}))},64691:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=e.length,r=[],i=0;i<n;)r[i]=t[e[i]],i+=1;return r}))},56396:function(e,t,n){var r=n(79002),i=n(58591);e.exports=r((function(e,t){if(!i(e)||!i(t))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=e;r<t;)n.push(r),r+=1;return n}))},20793:function(e,t,n){var r=n(16370),i=n(39488);e.exports=r(i)},44285:function(e,t,n){var r=n(32738),i=n(34793),o=n(87684),a=n(39488),s=n(57744);e.exports=r(4,[],i([],s,(function(e,t,n,r){return a((function(r,i){var a=n(i);return r[a]=e(o(a,r)?r[a]:t,i),r}),{},r)})))},47981:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n.length-1;r>=0;)t=e(n[r],t),r-=1;return t}))},16392:function(e,t,n){var r=n(32738),i=n(39488),o=n(22157);e.exports=r(4,[],(function(e,t,n,r){return i((function(n,r){return e(n,r)?t(n,r):o(n)}),n,r)}))},39280:function(e,t,n){var r=n(76224),i=n(22157);e.exports=r(i)},63266:function(e,t,n){var r=n(48770),i=n(79002),o=n(51383);e.exports=i((function(e,t){return o(r(e),t)}))},99072:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){var r=Array.prototype.slice.call(n,0);return r.splice(e,t),r}))},33633:function(e,t,n){var r=n(79002),i=n(54115),o=n(32250);e.exports=r((function(e,t){return o(i(e),t)}))},5683:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return n.replace(e,t)}))},65814:function(e,t,n){var r=n(76224),i=n(20190);e.exports=r((function(e){return i(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()}))},95485:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=0,i=n.length,o=[t];r<i;)t=e(t,n[r]),o[r+1]=t,r+=1;return o}))},233:function(e,t,n){var r=n(79002),i=n(77693),o=n(61894),a=n(80409),s=n(47981);e.exports=r((function(e,t){return"function"==typeof t.sequence?t.sequence(e):s((function(e,t){return i(o(a,e),t)}),e([]),t)}))},5994:function(e,t,n){var r=n(16370),i=n(54115),o=n(92738);e.exports=r((function(e,t,n){return o(e,i(t),n)}))},81753:function(e,t,n){var r=n(73542),i=n(16370);e.exports=i(r("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})))},36218:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort(e)}))},1667:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort((function(t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}))}))},39153:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Array.prototype.slice.call(t,0).sort((function(t,n){for(var r=0,i=0;0===r&&i<e.length;)r=e[i](t,n),i+=1;return r}))}))},12601:function(e,t,n){var r=n(25189);e.exports=r(1,"split")},68959:function(e,t,n){var r=n(79002),i=n(24234),o=n(81753);e.exports=r((function(e,t){return[o(0,e,t),o(e,i(t),t)]}))},59241:function(e,t,n){var r=n(79002),i=n(81753);e.exports=r((function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<t.length;)n.push(i(r,r+=e,t));return n}))},9781:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=0,r=t.length,i=[];n<r&&!e(t[n]);)i.push(t[n]),n+=1;return[i,Array.prototype.slice.call(t,n)]}))},60830:function(e,t,n){var r=n(79002),i=n(51481),o=n(94744);e.exports=r((function(e,t){return i(o(e.length,t),e)}))},29454:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return Number(e)-Number(t)}))},36945:function(e,t,n){var r=n(63073),i=n(20793);e.exports=i(r,0)},16722:function(e,t,n){var r=n(79002),i=n(54405),o=n(34226);e.exports=r((function(e,t){return i(o(e,t),o(t,e))}))},7776:function(e,t,n){var r=n(16370),i=n(54405),o=n(22013);e.exports=r((function(e,t,n){return i(o(e,t,n),o(e,n,t))}))},43656:function(e,t,n){var r=n(73542),i=n(76224),o=n(81753);e.exports=i(r("tail",o(1,1/0)))},94744:function(e,t,n){var r=n(79002),i=n(34793),o=n(49184),a=n(81753);e.exports=r(i(["take"],o,(function(e,t){return a(0,e<0?1/0:e,t)})))},18703:function(e,t,n){var r=n(79002),i=n(78821);e.exports=r((function(e,t){return i(e>=0?t.length-e:0,t)}))},96412:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=t.length-1;n>=0&&e(t[n]);)n-=1;return Array.prototype.slice.call(t,n+1)}))},27050:function(e,t,n){var r=n(79002),i=n(34793),o=n(89963);e.exports=r(i(["takeWhile"],o,(function(e,t){for(var n=0,r=t.length;n<r&&e(t[n]);)n+=1;return Array.prototype.slice.call(t,0,n)})))},6037:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){return e(t),t}))},73495:function(e,t,n){var r=n(9039),i=n(79002),o=n(79725),a=n(15243);e.exports=i((function(e,t){if(!o(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+a(e));return r(e).test(t)}))},32250:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){var n,r=Number(t),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=e(i),i+=1;return n}))},80620:function(e,t,n){var r=n(25189);e.exports=r(0,"toLowerCase")},98313:function(e,t,n){var r=n(76224),i=n(87684);e.exports=r((function(e){var t=[];for(var n in e)i(n,e)&&(t[t.length]=[n,e[n]]);return t}))},44739:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t=[];for(var n in e)t[t.length]=[n,e[n]];return t}))},15243:function(e,t,n){var r=n(76224),i=n(31136);e.exports=r((function(e){return i(e,[])}))},74633:function(e,t,n){var r=n(25189);e.exports=r(0,"toUpperCase")},63158:function(e,t,n){var r=n(39488),i=n(39874),o=n(2220);e.exports=o(4,(function(e,t,n,o){return r(e("function"==typeof t?i(t):t),n,o)}))},5466:function(e,t,n){var r=n(76224);e.exports=r((function(e){for(var t=0,n=[];t<e.length;){for(var r=e[t],i=0;i<r.length;)void 0===n[i]&&(n[i]=[]),n[i].push(r[i]),i+=1;t+=1}return n}))},40231:function(e,t,n){var r=n(16370),i=n(61894),o=n(233);e.exports=r((function(e,t,n){return"function"==typeof n["fantasy-land/traverse"]?n["fantasy-land/traverse"](t,e):o(e,i(t,n))}))},67031:function(e,t,n){var r,i=n(76224);e.exports=(r="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff","function"==typeof String.prototype.trim&&!r.trim()&&"​".trim()?i((function(e){return e.trim()})):i((function(e){var t=new RegExp("^["+r+"]["+r+"]*"),n=new RegExp("["+r+"]["+r+"]*$");return e.replace(t,"").replace(n,"")})))},55105:function(e,t,n){var r=n(7455),i=n(14011),o=n(79002);e.exports=o((function(e,t){return r(e.length,(function(){try{return e.apply(this,arguments)}catch(e){return t.apply(this,i([e],arguments))}}))}))},36433:function(e,t,n){var r=n(76224);e.exports=r((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}))},59378:function(e,t,n){var r=n(76224);e.exports=r((function(e){return function(){return e(Array.prototype.slice.call(arguments,0))}}))},51380:function(e,t,n){var r=n(76224),i=n(40864);e.exports=r((function(e){return i(1,e)}))},1465:function(e,t,n){var r=n(79002),i=n(2220);e.exports=r((function(e,t){return i(e,(function(){for(var n,r=1,i=t,o=0;r<=e&&"function"==typeof i;)n=r===e?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i}))}))},32936:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=e(t),r=[];n&&n.length;)r[r.length]=n[0],n=e(n[1]);return r}))},30275:function(e,t,n){var r=n(14011),i=n(79002),o=n(50557),a=n(90086);e.exports=i(o(a,r))},90014:function(e,t,n){var r=n(14011),i=n(16370),o=n(77263);e.exports=i((function(e,t,n){return o(e,r(t,n))}))},90086:function(e,t,n){var r=n(69105),i=n(54025);e.exports=i(r)},54025:function(e,t,n){var r=n(8876),i=n(79002);e.exports=i((function(e,t){for(var n,i,o=new r,a=[],s=0;s<t.length;)n=e(i=t[s]),o.add(n)&&a.push(i),s+=1;return a}))},77263:function(e,t,n){var r=n(28247),i=n(79002);e.exports=i((function(e,t){for(var n,i=0,o=t.length,a=[];i<o;)n=t[i],r(e,n,a)||(a[a.length]=n),i+=1;return a}))},61937:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)?n:t(n)}))},51497:function(e,t,n){var r=n(50339),i=n(79098);e.exports=i(r)},51800:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=n;!e(r);)r=t(r);return r}))},67964:function(e,t,n){var r=n(16370),i=n(82515),o=n(54115);e.exports=r((function(e,t,n){return i(o(t),e,n)}))},40517:function(e,t,n){var r=n(79002),i=n(2220);e.exports=r((function(e,t){return i(t.length,(function(){for(var n=[],r=0;r<t.length;)n.push(t[r].call(this,arguments[r])),r+=1;return e.apply(this,n.concat(Array.prototype.slice.call(arguments,t.length)))}))}))},33411:function(e,t,n){var r=n(76224),i=n(90368);e.exports=r((function(e){for(var t=i(e),n=t.length,r=[],o=0;o<n;)r[o]=e[t[o]],o+=1;return r}))},75988:function(e,t,n){var r=n(76224);e.exports=r((function(e){var t,n=[];for(t in e)n[n.length]=e[t];return n}))},43931:function(e,t,n){var r,i=n(79002);e.exports=(r=function(e){return{value:e,"fantasy-land/map":function(){return this}}},i((function(e,t){return e(r)(t).value})))},47176:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){return e(n)?t(n):n}))},39629:function(e,t,n){var r=n(79002),i=n(87684);e.exports=r((function(e,t){for(var n in e)if(i(n,e)&&!e[n](t[n]))return!1;return!0}))},15598:function(e,t,n){var r=n(79002),i=n(51481),o=n(61894),a=n(39629);e.exports=r((function(e,t){return a(o(i,e),t)}))},76290:function(e,t,n){var r=n(64281),i=n(79002),o=n(9134),a=n(63266);e.exports=i((function(e,t){return a(o(r)(e),t)}))},90482:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n,r=0,i=e.length,o=t.length,a=[];r<i;){for(n=0;n<o;)a[a.length]=[e[r],t[n]],n+=1;r+=1}return a}))},5086:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=[],r=0,i=Math.min(e.length,t.length);r<i;)n[r]=[e[r],t[r]],r+=1;return n}))},47858:function(e,t,n){var r=n(79002);e.exports=r((function(e,t){for(var n=0,r=Math.min(e.length,t.length),i={};n<r;)i[e[n]]=t[n],n+=1;return i}))},30635:function(e,t,n){var r=n(16370);e.exports=r((function(e,t,n){for(var r=[],i=0,o=Math.min(t.length,n.length);i<o;)r[i]=e(t[i],n[i]),i+=1;return r}))},36022:function(e,t,n){var r=n(58667)(n(64369),"DataView");e.exports=r},75914:function(e,t,n){var r=n(47416),i=n(50262),o=n(23669),a=n(93980),s=n(48910);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},29995:function(e,t,n){var r=n(33255),i=n(67012),o=n(11498),a=n(56119),s=n(38744);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},95296:function(e,t,n){var r=n(58667)(n(64369),"Map");e.exports=r},10560:function(e,t,n){var r=n(92083),i=n(62797),o=n(90212),a=n(256),s=n(91300);function u(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])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},81495:function(e,t,n){var r=n(58667)(n(64369),"Promise");e.exports=r},71188:function(e,t,n){var r=n(58667)(n(64369),"Set");e.exports=r},53653:function(e,t,n){var r=n(10560),i=n(53644),o=n(36938);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},13268:function(e,t,n){var r=n(29995),i=n(85490),o=n(43577),a=n(34686),s=n(49217),u=n(47342);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},50880:function(e,t,n){var r=n(64369).Symbol;e.exports=r},67435:function(e,t,n){var r=n(64369).Uint8Array;e.exports=r},48277:function(e,t,n){var r=n(58667)(n(64369),"WeakMap");e.exports=r},17402:function(e){e.exports=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}},56500: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}},14375:function(e,t,n){var r=n(40009),i=n(19480),o=n(40388),a=n(90234),s=n(65250),u=n(4345),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&u(e),p=n||c||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!l.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||h.push(v);return h}},11018: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}},82632: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}},77639:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},43131:function(e,t,n){var r=n(93145);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},74529:function(e,t,n){var r=n(84879);e.exports=function(e,t,n,i){return r(e,(function(e,r,o){t(i,e,n(e),o)})),i}},34126:function(e,t,n){var r=n(4492);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},84879:function(e,t,n){var r=n(78803),i=n(85825)(r);e.exports=i},49500: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}},71403:function(e,t,n){var r=n(70668)();e.exports=r},78803:function(e,t,n){var r=n(71403),i=n(16815);e.exports=function(e,t){return e&&r(e,t,i)}},46922:function(e,t,n){var r=n(94270),i=n(32771);e.exports=function(e,t){for(var n=0,o=(t=r(t,e)).length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},65824:function(e,t,n){var r=n(82632),i=n(40388);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},6365:function(e,t,n){var r=n(50880),i=n(84689),o=n(11363),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)}},18399:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},23393:function(e,t,n){var r=n(6365),i=n(99985);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},14809:function(e,t,n){var r=n(43326),i=n(99985);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},43326:function(e,t,n){var r=n(13268),i=n(85394),o=n(46518),a=n(17927),s=n(65617),u=n(40388),l=n(90234),c=n(4345),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=u(e),b=u(t),_=y?f:s(e),w=b?f:s(t),k=(_=_==d?p:_)==p,E=(w=w==d?p:w)==p,x=_==w;if(x&&l(e)){if(!l(t))return!1;y=!0,k=!1}if(x&&!k)return g||(g=new r),y||c(e)?i(e,t,n,m,v,g):o(e,t,_,n,m,v,g);if(!(1&n)){var S=k&&h.call(e,"__wrapped__"),T=E&&h.call(t,"__wrapped__");if(S||T){var C=S?e.value():e,A=T?t.value():t;return g||(g=new r),v(C,A,n,m,g)}}return!!x&&(g||(g=new r),a(e,t,n,m,v,g))}},7361:function(e,t,n){var r=n(13268),i=n(14809);e.exports=function(e,t,n,o){var a=n.length,s=a,u=!o;if(null==e)return!s;for(e=Object(e);a--;){var l=n[a];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<s;){var c=(l=n[a])[0],d=e[c],f=l[1];if(u&&l[2]){if(void 0===d&&!(c in e))return!1}else{var p=new r;if(o)var h=o(d,f,c,e,t,p);if(!(void 0===h?i(f,d,3,o,p):h))return!1}}return!0}},79283:function(e,t,n){var r=n(3573),i=n(69781),o=n(12851),a=n(48345),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?f:s).test(a(e))}},98599:function(e,t,n){var r=n(6365),i=n(22912),o=n(99985),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)]}},11068:function(e,t,n){var r=n(5244),i=n(18064),o=n(50812),a=n(40388),s=n(62566);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},8783:function(e,t,n){var r=n(42174),i=n(45487),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}},5244:function(e,t,n){var r=n(7361),i=n(82798),o=n(20748);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},18064:function(e,t,n){var r=n(14809),i=n(62630),o=n(35846),a=n(94510),s=n(23248),u=n(20748),l=n(32771);e.exports=function(e,t){return a(e)&&s(t)?u(l(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},19257:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},73640:function(e,t,n){var r=n(46922);e.exports=function(e){return function(t){return r(t,e)}}},40009:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},67458:function(e,t,n){var r=n(50880),i=n(11018),o=n(40388),a=n(36156),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},82569:function(e){e.exports=function(e){return function(t){return e(t)}}},55479:function(e){e.exports=function(e,t){return e.has(t)}},94270:function(e,t,n){var r=n(40388),i=n(94510),o=n(27446),a=n(5127);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},75862:function(e,t,n){var r=n(64369)["__core-js_shared__"];e.exports=r},15591:function(e,t,n){var r=n(17402),i=n(74529),o=n(11068),a=n(40388);e.exports=function(e,t){return function(n,s){var u=a(n)?r:i,l=t?t():{};return u(n,e,o(s,2),l)}}},85825:function(e,t,n){var r=n(14869);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},70668:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}},51014:function(e,t,n){var r=n(11068),i=n(14869),o=n(16815);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var u=r(n,3);t=o(t),n=function(e){return u(s[e],e,s)}}var l=e(t,n,a);return l>-1?s[u?t[l]:l]:void 0}}},4492:function(e,t,n){var r=n(58667),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},85394:function(e,t,n){var r=n(53653),i=n(77639),o=n(55479);e.exports=function(e,t,n,a,s,u){var l=1&n,c=e.length,d=t.length;if(c!=d&&!(l&&d>c))return!1;var f=u.get(e);if(f&&u.get(t))return f==t;var p=-1,h=!0,m=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++p<c;){var v=e[p],g=t[p];if(a)var y=l?a(g,v,p,t,e,u):a(v,g,p,e,t,u);if(void 0!==y){if(y)continue;h=!1;break}if(m){if(!i(t,(function(e,t){if(!o(m,t)&&(v===e||s(v,e,n,a,u)))return m.push(t)}))){h=!1;break}}else if(v!==g&&!s(v,g,n,a,u)){h=!1;break}}return u.delete(e),u.delete(t),h}},46518:function(e,t,n){var r=n(50880),i=n(67435),o=n(93145),a=n(85394),s=n(87961),u=n(56331),l=r?r.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,n,r,l,d,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=u),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var v=a(p(e),p(t),r,l,d,f);return f.delete(e),v;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},17927:function(e,t,n){var r=n(31842),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var u=1&n,l=r(e),c=l.length;if(c!=r(t).length&&!u)return!1;for(var d=c;d--;){var f=l[d];if(!(u?f in t:i.call(t,f)))return!1}var p=s.get(e);if(p&&s.get(t))return p==t;var h=!0;s.set(e,t),s.set(t,e);for(var m=u;++d<c;){var v=e[f=l[d]],g=t[f];if(o)var y=u?o(g,v,f,t,e,s):o(v,g,f,e,t,s);if(!(void 0===y?v===g||a(v,g,n,o,s):y)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return s.delete(e),s.delete(t),h}},96217:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},31842:function(e,t,n){var r=n(65824),i=n(17997),o=n(16815);e.exports=function(e){return r(e,o,i)}},92498:function(e,t,n){var r=n(97493);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},82798:function(e,t,n){var r=n(23248),i=n(16815);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},58667:function(e,t,n){var r=n(79283),i=n(52518);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},84689:function(e,t,n){var r=n(50880),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}},17997:function(e,t,n){var r=n(56500),i=n(63296),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},65617:function(e,t,n){var r=n(36022),i=n(95296),o=n(81495),a=n(71188),s=n(48277),u=n(6365),l=n(48345),c="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=l(r),v=l(i),g=l(o),y=l(a),b=l(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=c||o&&_(o.resolve())!=d||a&&_(new a)!=f||s&&_(new s)!=p)&&(_=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return h;case v:return c;case g:return d;case y:return f;case b:return p}return t}),e.exports=_},52518:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},59184:function(e,t,n){var r=n(94270),i=n(19480),o=n(40388),a=n(65250),s=n(22912),u=n(32771);e.exports=function(e,t,n){for(var l=-1,c=(t=r(t,e)).length,d=!1;++l<c;){var f=u(t[l]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++l!=c?d:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(o(e)||i(e))}},47416:function(e,t,n){var r=n(875);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},50262:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},23669:function(e,t,n){var r=n(875),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}},93980:function(e,t,n){var r=n(875),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},48910:function(e,t,n){var r=n(875);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}},65250:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){return!!(n=null==n?9007199254740991:n)&&("number"==typeof e||t.test(e))&&e>-1&&e%1==0&&e<n}},94510:function(e,t,n){var r=n(40388),i=n(36156),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},97493:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},69781:function(e,t,n){var r,i=n(75862),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},42174:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},23248:function(e,t,n){var r=n(12851);e.exports=function(e){return e==e&&!r(e)}},33255:function(e){e.exports=function(){this.__data__=[],this.size=0}},67012:function(e,t,n){var r=n(43131),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)}},11498:function(e,t,n){var r=n(43131);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},56119:function(e,t,n){var r=n(43131);e.exports=function(e){return r(this.__data__,e)>-1}},38744:function(e,t,n){var r=n(43131);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}},92083:function(e,t,n){var r=n(75914),i=n(29995),o=n(95296);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},62797:function(e,t,n){var r=n(92498);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},90212:function(e,t,n){var r=n(92498);e.exports=function(e){return r(this,e).get(e)}},256:function(e,t,n){var r=n(92498);e.exports=function(e){return r(this,e).has(e)}},91300:function(e,t,n){var r=n(92498);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}},87961:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},20748:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},40101:function(e,t,n){var r=n(16334);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},875:function(e,t,n){var r=n(58667)(Object,"create");e.exports=r},45487:function(e,t,n){var r=n(71616)(Object.keys,Object);e.exports=r},85900:function(e,t,n){e=n.nmd(e);var r=n(96217),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},11363:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},71616:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},64369:function(e,t,n){var r=n(96217),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},53644:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},36938:function(e){e.exports=function(e){return this.__data__.has(e)}},56331:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},85490:function(e,t,n){var r=n(29995);e.exports=function(){this.__data__=new r,this.size=0}},43577:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},34686:function(e){e.exports=function(e){return this.__data__.get(e)}},49217:function(e){e.exports=function(e){return this.__data__.has(e)}},47342:function(e,t,n){var r=n(29995),i=n(95296),o=n(10560);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}},27446:function(e,t,n){var r=n(40101),i=/^\./,o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=r((function(e){var t=[];return i.test(e)&&t.push(""),e.replace(o,(function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)})),t}));e.exports=s},32771:function(e,t,n){var r=n(36156);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},48345: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""}},93145:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},53171:function(e,t,n){var r=n(51014)(n(25409));e.exports=r},25409:function(e,t,n){var r=n(49500),i=n(11068),o=n(68449),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(e,i(t,3),u)}},62630:function(e,t,n){var r=n(46922);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},35846:function(e,t,n){var r=n(18399),i=n(59184);e.exports=function(e,t){return null!=e&&i(e,t,r)}},50812:function(e){e.exports=function(e){return e}},19480:function(e,t,n){var r=n(23393),i=n(99985),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},40388:function(e){var t=Array.isArray;e.exports=t},14869:function(e,t,n){var r=n(3573),i=n(22912);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},90234:function(e,t,n){e=n.nmd(e);var r=n(64369),i=n(8858),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},80921:function(e,t,n){var r=n(14809);e.exports=function(e,t){return r(e,t)}},3573:function(e,t,n){var r=n(6365),i=n(12851);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}},22912:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},12851:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},99985:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},36156:function(e,t,n){var r=n(6365),i=n(99985);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},4345:function(e,t,n){var r=n(98599),i=n(82569),o=n(85900),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},89875:function(e,t,n){var r=n(34126),i=n(15591)((function(e,t,n){r(e,n,t)}));e.exports=i},16815:function(e,t,n){var r=n(14375),i=n(8783),o=n(14869);e.exports=function(e){return o(e)?r(e):i(e)}},16334:function(e,t,n){var r=n(10560);function i(e,t){if("function"!=typeof e||null!=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)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},62566:function(e,t,n){var r=n(19257),i=n(73640),o=n(94510),a=n(32771);e.exports=function(e){return o(e)?r(a(e)):i(e)}},63296:function(e){e.exports=function(){return[]}},8858:function(e){e.exports=function(){return!1}},91424:function(e,t,n){var r=n(88205),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},68449:function(e,t,n){var r=n(91424);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},88205:function(e,t,n){var r=n(12851),i=n(36156),o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=s.test(e);return n||u.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},5127:function(e,t,n){var r=n(67458);e.exports=function(e){return null==e?"":r(e)}},55336:function(e,t,n){"use strict";var r=n(60139),i=n(73759),o=n(12322);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},33670:function(e,t,n){e.exports=n(55336)()},12322:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},40725:function(e,t,n){var r;"undefined"!=typeof self&&self,e.exports=(r=n(67294),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=2)}([function(e,t){e.exports=r},function(e,t,n){"use strict";var r={linear:function(e,t,n,r){return(n-t)*e/r+t},easeInQuad:function(e,t,n,r){return(n-t)*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){return-(n-t)*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){return(n-t)*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){return-(n-t)*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e+t:-i/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){return(n-t)*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){return(n-t)*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e*e+t:i/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){var i=n-t;return-i*Math.cos(e/r*(Math.PI/2))+i+t},easeOutSine:function(e,t,n,r){return(n-t)*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){return-(n-t)/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){return 0==e?t:(n-t)*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){var i=n-t;return e==r?t+i:i*(1-Math.pow(2,-10*e/r))+t},easeInOutExpo:function(e,t,n,r){var i=n-t;return 0===e?t:e===r?t+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+t:i/2*(2-Math.pow(2,-10*--e))+t},easeInCirc:function(e,t,n,r){return-(n-t)*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){return(n-t)*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+t:i/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((o=0)||(o=.3*r),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)+t)},easeOutElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:1==(e/=r)?t+s:((o=0)||(o=.3*r),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),i*Math.pow(2,-10*e)*Math.sin((e*r-a)*(2*Math.PI)/o)+s+t)},easeInOutElastic:function(e,t,n,r){var i,o,a,s=n-t;return a=1.70158,0===e?t:2==(e/=r/2)?t+s:((o=0)||(o=r*(.3*1.5)),(i=s)<Math.abs(s)?(i=s,a=o/4):a=o/(2*Math.PI)*Math.asin(s/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)*-.5+t:i*Math.pow(2,-10*(e-=1))*Math.sin((e*r-a)*(2*Math.PI)/o)*.5+s+t)},easeInBack:function(e,t,n,r,i){return void 0===i&&(i=1.70158),(n-t)*(e/=r)*e*((i+1)*e-i)+t},easeOutBack:function(e,t,n,r,i){return void 0===i&&(i=1.70158),(n-t)*((e=e/r-1)*e*((i+1)*e+i)+1)+t},easeInOutBack:function(e,t,n,r,i){var o=n-t;return void 0===i&&(i=1.70158),(e/=r/2)<1?o/2*(e*e*((1+(i*=1.525))*e-i))+t:o/2*((e-=2)*e*((1+(i*=1.525))*e+i)+2)+t},easeInBounce:function(e,t,n,i){var o=n-t;return o-r.easeOutBounce(i-e,0,o,i)+t},easeOutBounce:function(e,t,n,r){var i=n-t;return(e/=r)<1/2.75?i*(7.5625*e*e)+t:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+t:i*(7.5625*(e-=2.625/2.75)*e+.984375)+t},easeInOutBounce:function(e,t,n,i){var o=n-t;return e<i/2?.5*r.easeInBounce(2*e,0,o,i)+t:.5*r.easeOutBounce(2*e-i,0,o,i)+.5*o+t}};e.exports=r},function(e,t,n){e.exports=n(3)},function(e,t,n){"use strict";n.r(t);var r,i,o=n(0),a=n.n(o),s=n(1),u=n.n(s);function l(e,t){return e+Math.random()*(t-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 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(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"}(r||(r={})),function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"}(i||(i={}));var f=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),d(this,"context",void 0),d(this,"radius",void 0),d(this,"x",void 0),d(this,"y",void 0),d(this,"w",void 0),d(this,"h",void 0),d(this,"vx",void 0),d(this,"vy",void 0),d(this,"shape",void 0),d(this,"angle",void 0),d(this,"angularSpin",void 0),d(this,"color",void 0),d(this,"rotateY",void 0),d(this,"rotationDirection",void 0),d(this,"getOptions",void 0),this.getOptions=n;var a,s,u=this.getOptions(),c=u.colors,f=u.initialVelocityX,p=u.initialVelocityY;this.context=t,this.x=r,this.y=o,this.w=l(5,20),this.h=l(5,20),this.radius=l(5,10),this.vx=l(-f,f),this.vy=l(-p,0),this.shape=(a=0,s=2,Math.floor(a+Math.random()*(s-a+1))),this.angle=l(0,360)*Math.PI/180,this.angularSpin=l(-.2,.2),this.color=c[Math.floor(Math.random()*c.length)],this.rotateY=l(0,1),this.rotationDirection=l(0,1)?i.Positive:i.Negative}var t,n,o;return t=e,(n=[{key:"update",value:function(){var e=this.getOptions(),t=e.gravity,n=e.wind,o=e.friction,a=e.opacity,s=e.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=t,this.vx+=n,this.vx*=o,this.vy*=o,this.rotateY>=1&&this.rotationDirection===i.Positive?this.rotationDirection=i.Negative:this.rotateY<=-1&&this.rotationDirection===i.Negative&&(this.rotationDirection=i.Positive);var u=.1*this.rotationDirection;if(this.rotateY+=u,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=a,this.context.lineCap="round",this.context.lineWidth=2,s&&"function"==typeof s)s.call(this,this.context);else switch(this.shape){case r.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case r.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case r.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&c(t.prototype,n),o&&c(t,o),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}var h=function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"canvas",void 0),p(this,"context",void 0),p(this,"getOptions",void 0),p(this,"x",0),p(this,"y",0),p(this,"w",0),p(this,"h",0),p(this,"lastNumberOfPieces",0),p(this,"tweenInitTime",Date.now()),p(this,"particles",[]),p(this,"particlesGenerated",0),p(this,"removeParticleAt",(function(e){r.particles.splice(e,1)})),p(this,"getParticle",(function(){var e=l(r.x,r.w+r.x),t=l(r.y,r.h+r.y);return new f(r.context,r.getOptions,e,t)})),p(this,"animate",(function(){var e=r.canvas,t=r.context,n=r.particlesGenerated,i=r.lastNumberOfPieces,o=r.getOptions(),a=o.run,s=o.recycle,u=o.numberOfPieces,l=o.debug,c=o.tweenFunction,d=o.tweenDuration;if(!a)return!1;var f=r.particles.length,p=s?f:n,h=Date.now();if(p<u){i!==u&&(r.tweenInitTime=h,r.lastNumberOfPieces=u);for(var m=r.tweenInitTime,v=c(h-m>d?d:Math.max(0,h-m),p,u,d),g=Math.round(v-p),y=0;y<g;y++)r.particles.push(r.getParticle());r.particlesGenerated+=g}return l&&(t.font="12px sans-serif",t.fillStyle="#333",t.textAlign="right",t.fillText("Particles: ".concat(f),e.width-10,e.height-20)),r.particles.forEach((function(t,n){t.update(),(t.y>e.height||t.y<-100||t.x>e.width+100||t.x<-100)&&(s&&p<=u?r.particles[n]=r.getParticle():r.removeParticleAt(n))})),f>0||p<u})),this.canvas=t;var i=this.canvas.getContext("2d");if(!i)throw new Error("Could not get canvas context");this.context=i,this.getOptions=n};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 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 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 y={width:"undefined"!=typeof window?window.innerWidth:300,height:"undefined"!=typeof window?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:u.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},b=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),g(this,"canvas",void 0),g(this,"context",void 0),g(this,"_options",void 0),g(this,"generator",void 0),g(this,"rafId",void 0),g(this,"setOptionsWithDefaults",(function(e){var t={confettiSource:{x:0,y:0,w:r.canvas.width,h:0}};r._options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},y,{},e),Object.assign(r,e.confettiSource)})),g(this,"update",(function(){var e=r.options,t=e.run,n=e.onConfettiComplete,i=r.canvas,o=r.context;t&&(o.fillStyle="white",o.clearRect(0,0,i.width,i.height)),r.generator.animate()?r.rafId=requestAnimationFrame(r.update):(n&&"function"==typeof n&&r.generator.particlesGenerated>0&&n.call(r,r),r._options.run=!1)})),g(this,"reset",(function(){r.generator&&r.generator.particlesGenerated>0&&(r.generator.particlesGenerated=0,r.generator.particles=[],r.generator.lastNumberOfPieces=0)})),g(this,"stop",(function(){r.options={run:!1},r.rafId&&(cancelAnimationFrame(r.rafId),r.rafId=void 0)})),this.canvas=t;var i=this.canvas.getContext("2d");if(!i)throw new Error("Could not get canvas context");this.context=i,this.generator=new h(this.canvas,(function(){return r.options})),this.options=n,this.update()}var t,n,r;return t=e,(n=[{key:"options",get:function(){return this._options},set:function(e){var t=this._options&&this._options.run,n=this._options&&this._options.recycle;this.setOptionsWithDefaults(e),this.generator&&(Object.assign(this.generator,this.options.confettiSource),"boolean"==typeof e.recycle&&e.recycle&&!1===n&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),"boolean"==typeof e.run&&e.run&&!1===t&&this.update()}}])&&v(t.prototype,n),r&&v(t,r),e}();function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e){return(w="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)}function k(){return(k=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 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 x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach((function(t){N(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t){return function(e){if(Array.isArray(e))return e}(e)||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||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function T(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 C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(e,t){return(O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"ReactConfetti",(function(){return L}));var P=function(e){function t(e){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return r=function(e,t){return!t||"object"!==w(t)&&"function"!=typeof t?A(e):t}(this,(n=C(t)).call.apply(n,[this,e].concat(o))),N(A(r),"canvas",a.a.createRef()),N(A(r),"confetti",void 0),r.canvas=e.canvasRef||a.a.createRef(),r}var n,r,i;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&&O(e,t)}(t,o.Component),n=t,(r=[{key:"componentDidMount",value:function(){if(this.canvas.current){var e=I(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentWillReceiveProps",value:function(e){var t=I(e)[0];this.confetti&&(this.confetti.options=t)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var e=S(I(this.props),2),t=e[0],n=e[1],r=x({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},n.style);return a.a.createElement("canvas",k({width:t.width,height:t.height,ref:this.canvas},n,{style:r}))}}])&&T(n.prototype,r),i&&T(n,i),t}();function I(e){var t={},n={},r=[].concat(_(Object.keys(y)),["confettiSource","drawShape","onConfettiComplete"]),i=["canvasRef"];for(var o in e){var a=e[o];r.includes(o)?t[o]=a:i.includes(o)?i[o]=a:n[o]=a}return[t,n,{}]}N(P,"defaultProps",x({},y)),N(P,"displayName","ReactConfetti");var L=a.a.forwardRef((function(e,t){return a.a.createElement(P,k({canvasRef:t},e))}));t.default=L}]).default)},86869:function(e,t,n){var r=n(76489);"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e});var i={},o=void 0;function a(){return!!o&&!0!==o.headersSent}function s(e){i=e?r.parse(e):{}}var u={load:function(e,t){var n="undefined"==typeof document?i:r.parse(document.cookie),o=n&&n[e];if(void 0===t&&(t=!o||"{"!==o[0]&&"["!==o[0]),!t)try{o=JSON.parse(o)}catch(e){}return o},select:function(e){var t="undefined"==typeof document?i:r.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],Object.assign({},n,i)}),{}):t:{}},save:function(e,t,n){i[e]=t,"object"==typeof t&&(i[e]=JSON.stringify(t)),"undefined"!=typeof document&&(document.cookie=r.serialize(e,i[e],n)),a()&&o.cookie&&o.cookie(e,t,n)},remove:function(e,t){delete i[e],t=void 0===t?{}:"string"==typeof t?{path:t}:Object.assign({},t),"undefined"!=typeof document&&(t.expires=new Date(1970,1,1,0,0,1),t.maxAge=0,document.cookie=r.serialize(e,"",t)),a()&&o.clearCookie&&o.clearCookie(e,t)},setRawCookie:s,plugToRequest:function(e,t){return e.cookie?i=e.cookie:e.cookies?i=e.cookies:e.headers&&e.headers.cookie?s(e.headers.cookie):i={},o=t,function(){o=null,i={}}}};"undefined"!=typeof window&&(window.reactCookie=u),e.exports=u},49611:function(e,t,n){"use strict";var r=n(67294),i=n(9196),o=n(83524);function a(){}a.prototype=Object.create(r.Component.prototype),a.displayName="DocumentTitle",a.propTypes={title:i.string.isRequired},a.prototype.render=function(){return this.props.children?r.Children.only(this.props.children):null},e.exports=o((function(e){var t=e[e.length-1];if(t)return t.title}),(function(e){var t=e||"";t!==document.title&&(document.title=t)}))(a)},32611:function(e,t,n){"use strict";var r=n(60139),i=n(73759),o=n(32053);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},9196:function(e,t,n){e.exports=n(32611)()},32053:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:function(e,t,n){"use strict";var r=n(67294),i=n(27418),o=n(63840);function a(e){for(var t="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(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,u){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var u=!1,l=null,c=!1,d=null,f={onError:function(e){u=!0,l=e}};function p(e,t,n,r,i,o,a,c,d){u=!1,l=null,s.apply(f,arguments)}var h=null,m=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,o,s,f,h){if(p.apply(this,arguments),u){if(!u)throw Error(a(198));var m=l;u=!1,l=null,c||(c=!0,d=m)}}(r,t,void 0,e),e.currentTarget=null}var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;y.hasOwnProperty("ReactCurrentDispatcher")||(y.ReactCurrentDispatcher={current:null}),y.hasOwnProperty("ReactCurrentBatchConfig")||(y.ReactCurrentBatchConfig={suspense:null});var b=/^(.*)[\\\/]/,_="function"==typeof Symbol&&Symbol.for,w=_?Symbol.for("react.element"):60103,k=_?Symbol.for("react.portal"):60106,E=_?Symbol.for("react.fragment"):60107,x=_?Symbol.for("react.strict_mode"):60108,S=_?Symbol.for("react.profiler"):60114,T=_?Symbol.for("react.provider"):60109,C=_?Symbol.for("react.context"):60110,A=_?Symbol.for("react.concurrent_mode"):60111,O=_?Symbol.for("react.forward_ref"):60112,N=_?Symbol.for("react.suspense"):60113,P=_?Symbol.for("react.suspense_list"):60120,I=_?Symbol.for("react.memo"):60115,L=_?Symbol.for("react.lazy"):60116,M=_?Symbol.for("react.block"):60121,R="function"==typeof Symbol&&Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}function q(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 E:return"Fragment";case k:return"Portal";case S:return"Profiler";case x:return"StrictMode";case N:return"Suspense";case P:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return"Context.Consumer";case T:return"Context.Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case I:return q(e.type);case M:return q(e.render);case L:if(e=1===e._status?e._result:null)return q(e)}return null}function j(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=q(e.type);n=null,r&&(n=q(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(b,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var F=null,B={};function U(){if(F)for(var e in B){var t=B[e],n=F.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!H[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in H[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,u=r;if(V.hasOwnProperty(u))throw Error(a(99,u));V[u]=o;var l=o.phasedRegistrationNames;if(l){for(i in l)l.hasOwnProperty(i)&&z(l[i],s,u);i=!0}else o.registrationName?(z(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function z(e,t,n){if(W[e])throw Error(a(100,e));W[e]=t,Y[e]=t.eventTypes[n].dependencies}var H=[],V={},W={},Y={};function G(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!B.hasOwnProperty(t)||B[t]!==r){if(B[t])throw Error(a(102,t));B[t]=r,n=!0}}n&&U()}var K=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),X=null,$=null,Z=null;function Q(e){if(e=m(e)){if("function"!=typeof X)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),X(e.stateNode,e.type,t))}}function J(e){$?Z?Z.push(e):Z=[e]:$=e}function ee(){if($){var e=$,t=Z;if(Z=$=null,Q(e),t)for(e=0;e<t.length;e++)Q(t[e])}}function te(e,t){return e(t)}function ne(e,t,n,r,i){return e(t,n,r,i)}function re(){}var ie=te,oe=!1,ae=!1;function se(){null===$&&null===Z||(re(),ee())}function ue(e,t,n){if(ae)return e(t,n);ae=!0;try{return ie(e,t,n)}finally{ae=!1,se()}}var le=/^[: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]*$/,ce=Object.prototype.hasOwnProperty,de={},fe={};function pe(e,t,n,r,i,o){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}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){he[e]=new pe(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];he[t]=new pe(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){he[e]=new pe(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){he[e]=new pe(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){he[e]=new pe(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){he[e]=new pe(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){he[e]=new pe(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){he[e]=new pe(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){he[e]=new pe(e,5,!1,e.toLowerCase(),null,!1)}));var me=/[\-:]([a-z])/g;function ve(e){return e[1].toUpperCase()}function ge(e,t,n,r){var i=he.hasOwnProperty(t)?he[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!!ce.call(fe,e)||!ce.call(de,e)&&(le.test(e)?fe[e]=!0:(de[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))))}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function _e(e){e._valueTracker||(e._valueTracker=function(e){var t=be(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 we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(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 xe(e,t){null!=(t=t.checked)&&ge(e,"checked",t,!1)}function Se(e,t){xe(e,t);var n=ye(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")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Te(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 Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ae(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Oe(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=""+ye(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 Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Ie(e,t){var n=ye(t.value),r=ye(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 Le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"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(me,ve);he[t]=new pe(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(me,ve);he[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(me,ve);he[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){he[e]=new pe(e,1,!1,e.toLowerCase(),null,!1)})),he.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){he[e]=new pe(e,1,!1,e.toLowerCase(),null,!0)}));var Me="http://www.w3.org/1999/xhtml",Re="http://www.w3.org/2000/svg";function De(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 qe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?De(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var je,Fe,Be=(Fe=function(e,t){if(e.namespaceURI!==Re||"innerHTML"in e)e.innerHTML=t;else{for((je=je||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=je.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 Fe(e,t)}))}:Fe);function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ze(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:ze("Animation","AnimationEnd"),animationiteration:ze("Animation","AnimationIteration"),animationstart:ze("Animation","AnimationStart"),transitionend:ze("Transition","TransitionEnd")},Ve={},We={};function Ye(e){if(Ve[e])return Ve[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in We)return Ve[e]=n[t];return e}K&&(We=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ge=Ye("animationend"),Ke=Ye("animationiteration"),Xe=Ye("animationstart"),$e=Ye("transitionend"),Ze="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Je(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.set(e,t)),t}function et(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function tt(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 nt(e){if(et(e)!==e)throw Error(a(188))}function rt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=et(e)))throw Error(a(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 nt(i),e;if(o===r)return nt(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(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 it(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function st(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(at=it(at,e)),e=at,at=null,e){if(ot(e,st),at)throw Error(a(95));if(c)throw e=d,c=!1,d=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!K)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var dt=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>dt.length&&dt.push(e)}function pt(e,t,n,r){if(dt.length){var i=dt.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Pn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<H.length;u++){var l=H[u];l&&(l=l.extractEvents(r,t,o,i,a))&&(s=it(s,l))}ut(s)}}function mt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Xt(t,"scroll",!0);break;case"focus":case"blur":Xt(t,"focus",!0),Xt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Xt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ze.indexOf(e)&&Kt(e,t)}n.set(e,null)}}var vt,gt,yt,bt=!1,_t=[],wt=null,kt=null,Et=null,xt=new Map,St=new Map,Tt=[],Ct="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),At="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ot(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Nt(e,t){switch(e){case"focus":case"blur":wt=null;break;case"dragenter":case"dragleave":kt=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":xt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":St.delete(t.pointerId)}}function Pt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ot(t,n,r,i,o),null!==t&&(null!==(t=In(t))&&gt(t)),e):(e.eventSystemFlags|=r,e)}function It(e){var t=Pn(e.target);if(null!==t){var n=et(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=tt(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){yt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Lt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=In(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function Mt(e,t,n){Lt(e)&&n.delete(t)}function Rt(){for(bt=!1;0<_t.length;){var e=_t[0];if(null!==e.blockedOn){null!==(e=In(e.blockedOn))&&vt(e);break}var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:_t.shift()}null!==wt&&Lt(wt)&&(wt=null),null!==kt&&Lt(kt)&&(kt=null),null!==Et&&Lt(Et)&&(Et=null),xt.forEach(Mt),St.forEach(Mt)}function Dt(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Rt)))}function qt(e){function t(t){return Dt(t,e)}if(0<_t.length){Dt(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==wt&&Dt(wt,e),null!==kt&&Dt(kt,e),null!==Et&&Dt(Et,e),xt.forEach(t),St.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)It(n),null===n.blockedOn&&Tt.shift()}var jt={},Ft=new Map,Bt=new Map,Ut=["abort","abort",Ge,"animationEnd",Ke,"animationIteration",Xe,"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",$e,"transitionEnd","waiting","waiting"];function zt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},Bt.set(r,t),Ft.set(r,o),jt[i]=o}}zt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus 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),zt("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),zt(Ut,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Vt=0;Vt<Ht.length;Vt++)Bt.set(Ht[Vt],0);var Wt=o.unstable_UserBlockingPriority,Yt=o.unstable_runWithPriority,Gt=!0;function Kt(e,t){Xt(t,e,!1)}function Xt(e,t,n){var r=Bt.get(t);switch(void 0===r?2:r){case 0:r=$t.bind(null,t,1,e);break;case 1:r=Zt.bind(null,t,1,e);break;default:r=Qt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function $t(e,t,n,r){oe||re();var i=Qt,o=oe;oe=!0;try{ne(i,e,t,n,r)}finally{(oe=o)||se()}}function Zt(e,t,n,r){Yt(Wt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){if(Gt)if(0<_t.length&&-1<Ct.indexOf(e))e=Ot(null,e,t,n,r),_t.push(e);else{var i=Jt(e,t,n,r);if(null===i)Nt(e,r);else if(-1<Ct.indexOf(e))e=Ot(i,e,t,n,r),_t.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return wt=Pt(wt,e,t,n,r,i),!0;case"dragenter":return kt=Pt(kt,e,t,n,r,i),!0;case"mouseover":return Et=Pt(Et,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return xt.set(o,Pt(xt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,St.set(o,Pt(St.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){Nt(e,r),e=pt(e,r,null,t);try{ue(ht,e)}finally{ft(e)}}}}function Jt(e,t,n,r){if(null!==(n=Pn(n=lt(r)))){var i=et(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=tt(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=pt(e,r,n,t);try{ue(ht,e)}finally{ft(e)}return null}var en={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},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var on=i({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 an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function sn(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}}var un=Me;function ln(e,t){var n=Je(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=Y[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function cn(){}function dn(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 fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(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=fn(r)}}function hn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?hn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mn(){for(var e=window,t=dn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=dn((e=t.contentWindow).document)}return t}function vn(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 gn="$?",yn="$!",bn=null,_n=null;function wn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kn(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 En="function"==typeof setTimeout?setTimeout:void 0,xn="function"==typeof clearTimeout?clearTimeout:void 0;function Sn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Tn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||n===yn||n===gn){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),An="__reactInternalInstance$"+Cn,On="__reactEventHandlers$"+Cn,Nn="__reactContainere$"+Cn;function Pn(e){var t=e[An];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Nn]||n[An]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Tn(e);null!==e;){if(n=e[An])return n;e=Tn(e)}return t}n=(e=n).parentNode}return null}function In(e){return!(e=e[An]||e[Nn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ln(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Mn(e){return e[On]||null}function Rn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!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(a(231,t,typeof n));return n}function qn(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function jn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Rn(t);for(t=n.length;0<t--;)qn(n[t],"captured",e);for(t=0;t<n.length;t++)qn(n[t],"bubbled",e)}}function Fn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Dn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function Bn(e){e&&e.dispatchConfig.registrationName&&Fn(e._targetInst,null,e)}function Un(e){ot(e,jn)}var zn=null,Hn=null,Vn=null;function Wn(){if(Vn)return Vn;var e,t,n=Hn,r=n.length,i="value"in zn?zn.value:zn.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 Vn=i.slice(e,1<t?1-t:void 0)}function Yn(){return!0}function Gn(){return!1}function Kn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Yn:Gn,this.isPropagationStopped=Gn,this}function Xn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function $n(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Zn(e){e.eventPool=[],e.getPooled=Xn,e.release=$n}i(Kn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Yn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Yn)},persist:function(){this.isPersistent=Yn},isPersistent:Gn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Gn,this._dispatchInstances=this._dispatchListeners=null}}),Kn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Kn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Zn(n),n},Zn(Kn);var Qn=Kn.extend({data:null}),Jn=Kn.extend({data:null}),er=[9,13,27,32],tr=K&&"CompositionEvent"in window,nr=null;K&&"documentMode"in document&&(nr=document.documentMode);var rr=K&&"TextEvent"in window&&!nr,ir=K&&(!tr||nr&&8<nr&&11>=nr),or=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},sr=!1;function ur(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function lr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1;var dr={eventTypes:ar,extractEvents:function(e,t,n,r){var i;if(tr)e:{switch(e){case"compositionstart":var o=ar.compositionStart;break e;case"compositionend":o=ar.compositionEnd;break e;case"compositionupdate":o=ar.compositionUpdate;break e}o=void 0}else cr?ur(e,n)&&(o=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ar.compositionStart);return o?(ir&&"ko"!==n.locale&&(cr||o!==ar.compositionStart?o===ar.compositionEnd&&cr&&(i=Wn()):(Hn="value"in(zn=r)?zn.value:zn.textContent,cr=!0)),o=Qn.getPooled(o,t,n,r),i?o.data=i:null!==(i=lr(n))&&(o.data=i),Un(o),i=o):i=null,(e=rr?function(e,t){switch(e){case"compositionend":return lr(t);case"keypress":return 32!==t.which?null:(sr=!0,or);case"textInput":return(e=t.data)===or&&sr?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!tr&&ur(e,t)?(e=Wn(),Vn=Hn=zn=null,cr=!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 ir&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Un(t)):t=null,null===i?t:null===t?i:[i,t]}},fr={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 pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!fr[e.type]:"textarea"===t}var hr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function mr(e,t,n){return(e=Kn.getPooled(hr.change,e,t,n)).type="change",J(n),Un(e),e}var vr=null,gr=null;function yr(e){ut(e)}function br(e){if(we(Ln(e)))return e}function _r(e,t){if("change"===e)return t}var wr=!1;function kr(){vr&&(vr.detachEvent("onpropertychange",Er),gr=vr=null)}function Er(e){if("value"===e.propertyName&&br(gr))if(e=mr(gr,e,lt(e)),oe)ut(e);else{oe=!0;try{te(yr,e)}finally{oe=!1,se()}}}function xr(e,t,n){"focus"===e?(kr(),gr=n,(vr=t).attachEvent("onpropertychange",Er)):"blur"===e&&kr()}function Sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(gr)}function Tr(e,t){if("click"===e)return br(t)}function Cr(e,t){if("input"===e||"change"===e)return br(t)}K&&(wr=ct("input")&&(!document.documentMode||9<document.documentMode));var Ar={eventTypes:hr,_isInputEventSupported:wr,extractEvents:function(e,t,n,r){var i=t?Ln(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=_r;else if(pr(i))if(wr)a=Cr;else{a=Sr;var s=xr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Tr);if(a&&(a=a(e,t)))return mr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ce(i,"number",i.value)}},Or=Kn.extend({view:null,detail:null}),Nr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Nr[e])&&!!t[e]}function Ir(){return Pr}var Lr=0,Mr=0,Rr=!1,Dr=!1,qr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ir,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Lr;return Lr=e.screenX,Rr?"mousemove"===e.type?e.screenX-t:0:(Rr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Mr;return Mr=e.screenY,Dr?"mousemove"===e.type?e.screenY-t:0:(Dr=!0,0)}}),jr=qr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Fr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Fr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Pn(t):null)&&(t!==et(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var s=qr,u=Fr.mouseLeave,l=Fr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=jr,u=Fr.pointerLeave,l=Fr.pointerEnter,c="pointer");if(e=null==a?o:Ln(a),o=null==t?o:Ln(t),(u=s.getPooled(u,a,n,r)).type=c+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(l,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(l=c,a=0,e=s=r;e;e=Rn(e))a++;for(e=0,t=l;t;t=Rn(t))e++;for(;0<a-e;)s=Rn(s),a--;for(;0<e-a;)l=Rn(l),e--;for(;a--;){if(s===l||s===l.alternate)break e;s=Rn(s),l=Rn(l)}s=null}else s=null;for(l=s,s=[];r&&r!==l&&(null===(a=r.alternate)||a!==l);)s.push(r),r=Rn(r);for(r=[];c&&c!==l&&(null===(a=c.alternate)||a!==l);)r.push(c),c=Rn(c);for(c=0;c<s.length;c++)Fn(s[c],"bubbled",u);for(c=r.length;0<c--;)Fn(r[c],"captured",n);return 0==(64&i)?[u]:[u,n]}};var Ur="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},zr=Object.prototype.hasOwnProperty;function Hr(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(!zr.call(t,n[r])||!Ur(e[n[r]],t[n[r]]))return!1;return!0}var Vr=K&&"documentMode"in document&&11>=document.documentMode,Wr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Yr=null,Gr=null,Kr=null,Xr=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Xr||null==Yr||Yr!==dn(n)?null:("selectionStart"in(n=Yr)&&vn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kr&&Hr(Kr,n)?null:(Kr=n,(e=Kn.getPooled(Wr.select,Gr,e,t)).type="select",e.target=Yr,Un(e),e))}var Zr={eventTypes:Wr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Je(i),o=Y.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Ln(t):window,e){case"focus":(pr(i)||"true"===i.contentEditable)&&(Yr=i,Gr=t,Kr=null);break;case"blur":Kr=Gr=Yr=null;break;case"mousedown":Xr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Xr=!1,$r(n,r);case"selectionchange":if(Vr)break;case"keydown":case"keyup":return $r(n,r)}return null}},Qr=Kn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=Kn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ei=Or.extend({relatedTarget:null});function ti(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}var ni={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ri={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"},ii=Or.extend({key:function(e){if(e.key){var t=ni[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ti(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ri[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ir,charCode:function(e){return"keypress"===e.type?ti(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ti(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),oi=qr.extend({dataTransfer:null}),ai=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ir}),si=Kn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ui=qr.extend({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:null,deltaMode:null}),li={eventTypes:jt,extractEvents:function(e,t,n,r){var i=Ft.get(e);if(!i)return null;switch(e){case"keypress":if(0===ti(n))return null;case"keydown":case"keyup":e=ii;break;case"blur":case"focus":e=ei;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=qr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=oi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ai;break;case Ge:case Ke:case Xe:e=Qr;break;case $e:e=si;break;case"scroll":e=Or;break;case"wheel":e=ui;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=jr;break;default:e=Kn}return Un(t=e.getPooled(i,t,n,r)),t}};if(F)throw Error(a(101));F=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),U(),h=Mn,m=In,v=Ln,G({SimpleEventPlugin:li,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Ar,SelectEventPlugin:Zr,BeforeInputEventPlugin:dr});var ci=[],di=-1;function fi(e){0>di||(e.current=ci[di],ci[di]=null,di--)}function pi(e,t){di++,ci[di]=e.current,e.current=t}var hi={},mi={current:hi},vi={current:!1},gi=hi;function yi(e,t){var n=e.type.contextTypes;if(!n)return hi;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 bi(e){return null!=(e=e.childContextTypes)}function _i(){fi(vi),fi(mi)}function wi(e,t,n){if(mi.current!==hi)throw Error(a(168));pi(mi,t),pi(vi,n)}function ki(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,q(t)||"Unknown",o));return i({},n,{},r)}function Ei(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hi,gi=mi.current,pi(mi,e),pi(vi,vi.current),!0}function xi(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=ki(e,t,gi),r.__reactInternalMemoizedMergedChildContext=e,fi(vi),fi(mi),pi(mi,e)):fi(vi),pi(vi,n)}var Si=o.unstable_runWithPriority,Ti=o.unstable_scheduleCallback,Ci=o.unstable_cancelCallback,Ai=o.unstable_requestPaint,Oi=o.unstable_now,Ni=o.unstable_getCurrentPriorityLevel,Pi=o.unstable_ImmediatePriority,Ii=o.unstable_UserBlockingPriority,Li=o.unstable_NormalPriority,Mi=o.unstable_LowPriority,Ri=o.unstable_IdlePriority,Di={},qi=o.unstable_shouldYield,ji=void 0!==Ai?Ai:function(){},Fi=null,Bi=null,Ui=!1,zi=Oi(),Hi=1e4>zi?Oi:function(){return Oi()-zi};function Vi(){switch(Ni()){case Pi:return 99;case Ii:return 98;case Li:return 97;case Mi:return 96;case Ri:return 95;default:throw Error(a(332))}}function Wi(e){switch(e){case 99:return Pi;case 98:return Ii;case 97:return Li;case 96:return Mi;case 95:return Ri;default:throw Error(a(332))}}function Yi(e,t){return e=Wi(e),Si(e,t)}function Gi(e,t,n){return e=Wi(e),Ti(e,t,n)}function Ki(e){return null===Fi?(Fi=[e],Bi=Ti(Pi,$i)):Fi.push(e),Di}function Xi(){if(null!==Bi){var e=Bi;Bi=null,Ci(e)}$i()}function $i(){if(!Ui&&null!==Fi){Ui=!0;var e=0;try{var t=Fi;Yi(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)),Ti(Pi,Xi),t}finally{Ui=!1}}}function Zi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Qi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ji={current:null},eo=null,to=null,no=null;function ro(){no=to=eo=null}function io(e){var t=Ji.current;fi(Ji),e.type._context._currentValue=t}function oo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ao(e,t){eo=e,no=to=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ma=!0),e.firstContext=null)}function so(e,t){if(no!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(no=e,t=1073741823),t={context:e,observedBits:t,next:null},null===to){if(null===eo)throw Error(a(308));to=t,eo.dependencies={expirationTime:0,firstContext:t,responders:null}}else to=to.next=t;return e._currentValue}var uo=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function fo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}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 ho(e,t){var n=e.alternate;null!==n&&co(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function mo(e,t,n,r){var o=e.updateQueue;uo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var u=a.next;a.next=s.next,s.next=u}a=s,o.shared.pending=null,null!==(u=e.alternate)&&(null!==(u=u.updateQueue)&&(u.baseQueue=s))}if(null!==a){u=a.next;var l=o.baseState,c=0,d=null,f=null,p=null;if(null!==u)for(var h=u;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=m,d=l):p=p.next=m,s>c&&(c=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),pu(s,h.suspenseConfig);e:{var v=e,g=h;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){l=v.call(m,l,s);break e}l=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,l,s):v))break e;l=i({},l,s);break e;case 2:uo=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===u){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=u,o.baseQueue=a=s,o.shared.pending=null}}null===p?d=l:p.next=f,o.baseState=d,o.baseQueue=p,hu(c),e.expirationTime=c,e.memoizedState=l}}function vo(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=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var go=y.ReactCurrentBatchConfig,yo=(new r.Component).refs;function bo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var _o={isMounted:function(e){return!!(e=e._reactInternalFiber)&&et(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=eu(),i=go.suspense;(i=fo(r=tu(r,e,i),i)).payload=t,null!=n&&(i.callback=n),po(e,i),nu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=eu(),i=go.suspense;(i=fo(r=tu(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),po(e,i),nu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=eu(),r=go.suspense;(r=fo(n=tu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),po(e,r),nu(e,n)}};function wo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Hr(n,r)||!Hr(i,o))}function ko(e,t,n){var r=!1,i=hi,o=t.contextType;return"object"==typeof o&&null!==o?o=so(o):(i=bi(t)?gi:mi.current,o=(r=null!=(r=t.contextTypes))?yi(e,i):hi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=_o,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Eo(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&&_o.enqueueReplaceState(t,t.state,null)}function xo(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=yo,lo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=so(o):(o=bi(t)?gi:mi.current,i.context=yi(e,o)),mo(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(bo(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&&_o.enqueueReplaceState(i,i.state,null),mo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var So=Array.isArray;function To(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(a(309));var r=n.stateNode}if(!r)throw Error(a(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===yo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ao(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.effectTag=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=Mu(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.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=qu(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=To(e,t,n),r.return=e,r):((r=Ru(n.type,n.key,n.props,null,e.mode,r)).ref=To(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ju(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=Du(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=qu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Ru(t.type,t.key,t.props,null,e.mode,n)).ref=To(e,null,t),n.return=e,n;case k:return(t=ju(t,e.mode,n)).return=e,t}if(So(t)||D(t))return(t=Du(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?n.type===E?d(e,t,n.props.children,r,i):l(e,t,n,r):null;case k:return n.key===i?c(e,t,n,r):null}if(So(n)||D(n))return null!==i?null:d(e,t,n,r,null);Co(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return e=e.get(null===r.key?n:r.key)||null,r.type===E?d(t,e,r.props.children,i,r.key):l(t,e,r,i);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(So(r)||D(r))return d(t,e=e.get(n)||null,r,i,null);Co(t,r)}return null}function m(i,a,s,u){for(var l=null,c=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(i,d,s[m],u);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===c?l=g:c.sibling=g,c=g,d=v}if(m===s.length)return n(i,d),l;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],u))&&(a=o(d,a,m),null===c?l=d:c.sibling=d,c=d);return l}for(d=r(i,d);m<s.length;m++)null!==(v=h(d,i,m,s[m],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===c?l=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(i,e)})),l}function v(i,s,u,l){var c=D(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var d=c=null,m=s,v=s=0,g=null,y=u.next();null!==m&&!y.done;v++,y=u.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(i,m,y.value,l);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=u.next())null!==(y=f(i,y.value,l))&&(s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(i,m);!y.done;v++,y=u.next())null!==(y=h(m,i,v,y.value,l))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,u){var l="object"==typeof o&&null!==o&&o.type===E&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case w:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){if(7===l.tag){if(o.type===E){n(e,l.sibling),(r=i(l,o.props.children)).return=e,e=r;break e}}else if(l.elementType===o.type){n(e,l.sibling),(r=i(l,o.props)).ref=To(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===E?((r=Du(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Ru(o.type,o.key,o.props,null,e.mode,u)).ref=To(e,r,o),u.return=e,e=u)}return s(e);case k:e:{for(l=o.key;null!==r;){if(r.key===l){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=ju(o,e.mode,u)).return=e,e=r}return s(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=qu(o,e.mode,u)).return=e,e=r),s(e);if(So(o))return m(e,r,o,u);if(D(o))return v(e,r,o,u);if(c&&Co(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Oo=Ao(!0),No=Ao(!1),Po={},Io={current:Po},Lo={current:Po},Mo={current:Po};function Ro(e){if(e===Po)throw Error(a(174));return e}function Do(e,t){switch(pi(Mo,t),pi(Lo,e),pi(Io,Po),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qe(null,"");break;default:t=qe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}fi(Io),pi(Io,t)}function qo(){fi(Io),fi(Lo),fi(Mo)}function jo(e){Ro(Mo.current);var t=Ro(Io.current),n=qe(t,e.type);t!==n&&(pi(Lo,e),pi(Io,n))}function Fo(e){Lo.current===e&&(fi(Io),fi(Lo))}var Bo={current:0};function Uo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===gn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))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}function zo(e,t){return{responder:e,props:t}}var Ho=y.ReactCurrentDispatcher,Vo=y.ReactCurrentBatchConfig,Wo=0,Yo=null,Go=null,Ko=null,Xo=!1;function $o(){throw Error(a(321))}function Zo(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 Qo(e,t,n,r,i,o){if(Wo=o,Yo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Ho.current=null===e||null===e.memoizedState?wa:ka,e=n(r,i),t.expirationTime===Wo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Ko=Go=null,t.updateQueue=null,Ho.current=Ea,e=n(r,i)}while(t.expirationTime===Wo)}if(Ho.current=_a,t=null!==Go&&null!==Go.next,Wo=0,Ko=Go=Yo=null,Xo=!1,t)throw Error(a(300));return e}function Jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ko?Yo.memoizedState=Ko=e:Ko=Ko.next=e,Ko}function ea(){if(null===Go){var e=Yo.alternate;e=null!==e?e.memoizedState:null}else e=Go.next;var t=null===Ko?Yo.memoizedState:Ko.next;if(null!==t)Ko=t,Go=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Go=e).memoizedState,baseState:Go.baseState,baseQueue:Go.baseQueue,queue:Go.queue,next:null},null===Ko?Yo.memoizedState=Ko=e:Ko=Ko.next=e}return Ko}function ta(e,t){return"function"==typeof t?t(e):t}function na(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Go,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var u=s=o=null,l=i;do{var c=l.expirationTime;if(c<Wo){var d={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===u?(s=u=d,o=r):u=u.next=d,c>Yo.expirationTime&&(Yo.expirationTime=c,hu(c))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),pu(c,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==i);null===u?o=r:u.next=s,Ur(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Ur(o,t.memoizedState)||(Ma=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ia(e){var t=Jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e}).dispatch=ba.bind(null,Yo,e),[t.memoizedState,e]}function oa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Yo.updateQueue)?(t={lastEffect:null},Yo.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 aa(){return ea().memoizedState}function sa(e,t,n,r){var i=Jo();Yo.effectTag|=e,i.memoizedState=oa(1|t,n,void 0,void 0===r?null:r)}function ua(e,t,n,r){var i=ea();r=void 0===r?null:r;var o=void 0;if(null!==Go){var a=Go.memoizedState;if(o=a.destroy,null!==r&&Zo(r,a.deps))return void oa(t,n,o,r)}Yo.effectTag|=e,i.memoizedState=oa(1|t,n,o,r)}function la(e,t){return sa(516,4,e,t)}function ca(e,t){return ua(516,4,e,t)}function da(e,t){return ua(4,2,e,t)}function fa(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 pa(e,t,n){return n=null!=n?n.concat([e]):null,ua(4,2,fa.bind(null,t,e),n)}function ha(){}function ma(e,t){return Jo().memoizedState=[e,void 0===t?null:t],e}function va(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ga(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Zo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=Vi();Yi(98>r?98:r,(function(){e(!0)})),Yi(97<r?97:r,(function(){var r=Vo.suspense;Vo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Vo.suspense=r}}))}function ba(e,t,n){var r=eu(),i=go.suspense;i={expirationTime:r=tu(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Yo||null!==o&&o===Yo)Xo=!0,i.expirationTime=Wo,Yo.expirationTime=Wo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Ur(s,a))return}catch(e){}nu(e,r)}}var _a={readContext:so,useCallback:$o,useContext:$o,useEffect:$o,useImperativeHandle:$o,useLayoutEffect:$o,useMemo:$o,useReducer:$o,useRef:$o,useState:$o,useDebugValue:$o,useResponder:$o,useDeferredValue:$o,useTransition:$o},wa={readContext:so,useCallback:ma,useContext:so,useEffect:la,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,sa(4,2,fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return sa(4,2,e,t)},useMemo:function(e,t){var n=Jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();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=ba.bind(null,Yo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Jo().memoizedState=e},useState:ia,useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=ia(e),r=n[0],i=n[1];return la((function(){var n=Vo.suspense;Vo.suspense=void 0===t?null:t;try{i(e)}finally{Vo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ia(!1),n=t[0];return t=t[1],[ma(ya.bind(null,t,e),[t,e]),n]}},ka={readContext:so,useCallback:va,useContext:so,useEffect:ca,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=na(ta),r=n[0],i=n[1];return ca((function(){var n=Vo.suspense;Vo.suspense=void 0===t?null:t;try{i(e)}finally{Vo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},Ea={readContext:so,useCallback:va,useContext:so,useEffect:ca,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],i=n[1];return ca((function(){var n=Vo.suspense;Vo.suspense=void 0===t?null:t;try{i(e)}finally{Vo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},xa=null,Sa=null,Ta=!1;function Ca(e,t){var n=Iu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Aa(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 Oa(e){if(Ta){var t=Sa;if(t){var n=t;if(!Aa(e,t)){if(!(t=Sn(n.nextSibling))||!Aa(e,t))return e.effectTag=-1025&e.effectTag|2,Ta=!1,void(xa=e);Ca(xa,n)}xa=e,Sa=Sn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ta=!1,xa=e}}function Na(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xa=e}function Pa(e){if(e!==xa)return!1;if(!Ta)return Na(e),Ta=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kn(t,e.memoizedProps))for(t=Sa;t;)Ca(e,t),t=Sn(t.nextSibling);if(Na(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Sa=Sn(e.nextSibling);break e}t--}else"$"!==n&&n!==yn&&n!==gn||t++}e=e.nextSibling}Sa=null}}else Sa=xa?Sn(e.stateNode.nextSibling):null;return!0}function Ia(){Sa=xa=null,Ta=!1}var La=y.ReactCurrentOwner,Ma=!1;function Ra(e,t,n,r){t.child=null===e?No(t,null,n,r):Oo(t,e.child,n,r)}function Da(e,t,n,r,i){n=n.render;var o=t.ref;return ao(t,i),r=Qo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Ra(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Qa(e,t,i))}function qa(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Lu(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ru(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ja(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Hr)(i,r)&&e.ref===t.ref)?Qa(e,t,o):(t.effectTag|=1,(e=Mu(a,r)).ref=t.ref,e.return=t,t.child=e)}function ja(e,t,n,r,i,o){return null!==e&&Hr(e.memoizedProps,r)&&e.ref===t.ref&&(Ma=!1,i<o)?(t.expirationTime=e.expirationTime,Qa(e,t,o)):Ba(e,t,n,r,o)}function Fa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ba(e,t,n,r,i){var o=bi(n)?gi:mi.current;return o=yi(t,o),ao(t,i),n=Qo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Ra(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Qa(e,t,i))}function Ua(e,t,n,r,i){if(bi(n)){var o=!0;Ei(t)}else o=!1;if(ao(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ko(t,n,r),xo(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var u=a.context,l=n.contextType;"object"==typeof l&&null!==l?l=so(l):l=yi(t,l=bi(n)?gi:mi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&Eo(t,a,r,l),uo=!1;var f=t.memoizedState;a.state=f,mo(t,r,a,i),u=t.memoizedState,s!==r||f!==u||vi.current||uo?("function"==typeof c&&(bo(t,n,c,r),u=t.memoizedState),(s=uo||wo(t,n,s,r,f,u,l))?(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.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=l,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,co(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Qi(t.type,s),u=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=so(l):l=yi(t,l=bi(n)?gi:mi.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==l)&&Eo(t,a,r,l),uo=!1,u=t.memoizedState,a.state=u,mo(t,r,a,i),f=t.memoizedState,s!==r||u!==f||vi.current||uo?("function"==typeof c&&(bo(t,n,c,r),f=t.memoizedState),(c=uo||wo(t,n,s,r,u,f,l))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return za(e,t,n,r,o,i)}function za(e,t,n,r,i,o){Fa(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&xi(t,n,!1),Qa(e,t,o);r=t.stateNode,La.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oo(t,e.child,null,o),t.child=Oo(t,null,s,o)):Ra(e,t,s,o),t.memoizedState=r.state,i&&xi(t,n,!0),t.child}function Ha(e){var t=e.stateNode;t.pendingContext?wi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wi(0,t.context,!1),Do(e,t.containerInfo)}var Va,Wa,Ya,Ga={dehydrated:null,retryTime:0};function Ka(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Bo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),pi(Bo,1&a),null===e){if(void 0!==o.fallback&&Oa(t),s){if(s=o.fallback,(o=Du(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Du(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=Ga,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=No(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Mu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Mu(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Ga,t.child=n,i}return n=Oo(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Du(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Du(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Ga,t.child=o,n}return t.memoizedState=null,t.child=Oo(t,e,o.children,n)}function Xa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),oo(e.return,t)}function $a(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Za(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ra(e,t,r.children,n),0!=(2&(r=Bo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Xa(e,n);else if(19===e.tag)Xa(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(pi(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===Uo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$a(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===Uo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$a(t,!0,n,null,o,t.lastEffect);break;case"together":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Qa(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&hu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Mu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ja(e,t){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 es(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 bi(t.type)&&_i(),null;case 3:return qo(),fi(vi),fi(mi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Pa(t)||(t.effectTag|=4),null;case 5:Fo(t),n=Ro(Mo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wa(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ro(Io.current),Pa(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[An]=t,r[On]=s,o){case"iframe":case"object":case"embed":Kt("load",r);break;case"video":case"audio":for(e=0;e<Ze.length;e++)Kt(Ze[e],r);break;case"source":Kt("error",r);break;case"img":case"image":case"link":Kt("error",r),Kt("load",r);break;case"form":Kt("reset",r),Kt("submit",r);break;case"details":Kt("toggle",r);break;case"input":Ee(r,s),Kt("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Kt("invalid",r),ln(n,"onChange");break;case"textarea":Pe(r,s),Kt("invalid",r),ln(n,"onChange")}for(var u in an(o,s),e=null,s)if(s.hasOwnProperty(u)){var l=s[u];"children"===u?"string"==typeof l?r.textContent!==l&&(e=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(e=["children",""+l]):W.hasOwnProperty(u)&&null!=l&&ln(n,u)}switch(o){case"input":_e(r),Te(r,s,!0);break;case"textarea":_e(r),Le(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(u=9===n.nodeType?n:n.ownerDocument,e===un&&(e=De(o)),e===un?"script"===o?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(o,{is:r.is}):(e=u.createElement(o),"select"===o&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,o),e[An]=t,e[On]=r,Va(e,t),t.stateNode=e,u=sn(o,r),o){case"iframe":case"object":case"embed":Kt("load",e),l=r;break;case"video":case"audio":for(l=0;l<Ze.length;l++)Kt(Ze[l],e);l=r;break;case"source":Kt("error",e),l=r;break;case"img":case"image":case"link":Kt("error",e),Kt("load",e),l=r;break;case"form":Kt("reset",e),Kt("submit",e),l=r;break;case"details":Kt("toggle",e),l=r;break;case"input":Ee(e,r),l=ke(e,r),Kt("invalid",e),ln(n,"onChange");break;case"option":l=Ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=i({},r,{value:void 0}),Kt("invalid",e),ln(n,"onChange");break;case"textarea":Pe(e,r),l=Ne(e,r),Kt("invalid",e),ln(n,"onChange");break;default:l=r}an(o,l);var c=l;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?rn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&Be(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&Ue(e,d):"number"==typeof d&&Ue(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(W.hasOwnProperty(s)?null!=d&&ln(n,s):null!=d&&ge(e,s,d,u))}switch(o){case"input":_e(e),Te(e,r,!1);break;case"textarea":_e(e),Le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Oe(e,!!r.multiple,n,!1):null!=r.defaultValue&&Oe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof l.onClick&&(e.onclick=cn)}wn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ro(Mo.current),Ro(Io.current),Pa(t)?(n=t.stateNode,r=t.memoizedProps,n[An]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[An]=t,t.stateNode=n)}return null;case 13:return fi(Bo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Pa(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bo.current)?Rs===As&&(Rs=Os):(Rs!==As&&Rs!==Os||(Rs=Ns),0!==Bs&&null!==Is&&(Uu(Is,Ms),zu(Is,Bs)))),(n||r)&&(t.effectTag|=4),null);case 4:return qo(),null;case 10:return io(t),null;case 19:if(fi(Bo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)Ja(r,!1);else if(Rs!==As||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Uo(s))){for(t.effectTag|=64,Ja(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return pi(Bo,1&Bo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Uo(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Ja(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Hi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Ja(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Hi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Hi(),n.sibling=null,t=Bo.current,pi(Bo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function ts(e){switch(e.tag){case 1:bi(e.type)&&_i();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(qo(),fi(vi),fi(mi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Fo(e),null;case 13:return fi(Bo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return fi(Bo),null;case 4:return qo(),null;case 10:return io(e),null;default:return null}}function ns(e,t){return{value:e,source:t,stack:j(t)}}Va=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}},Wa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,l=t.stateNode;switch(Ro(Io.current),e=null,n){case"input":a=ke(l,a),r=ke(l,r),e=[];break;case"option":a=Ae(l,a),r=Ae(l,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Ne(l,a),r=Ne(l,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(l.onclick=cn)}for(s in an(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(u in l=a[s])l.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(W.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(l=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==l&&(null!=c||null!=l))if("style"===s)if(l){for(u in l)!l.hasOwnProperty(u)||c&&c.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in c)c.hasOwnProperty(u)&&l[u]!==c[u]&&(n||(n={}),n[u]=c[u])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(s,c)):"children"===s?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(W.hasOwnProperty(s)?(null!=c&&ln(o,s),e||l===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ya=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var rs="function"==typeof WeakSet?WeakSet:Set;function is(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=j(n)),null!==n&&q(n.type),t=t.value,null!==e&&1===e.tag&&q(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function os(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Tu(e,t)}else t.current=null}function as(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&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}throw Error(a(163))}function ss(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function us(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ls(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void us(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Qi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&vo(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}vo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&wn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&qt(n)))))}throw Error(a(163))}function cs(e,t,n){switch("function"==typeof Nu&&Nu(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Yi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Tu(i,e)}}e=e.next}while(e!==r)}))}break;case 1:os(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Tu(e,t)}}(t,n);break;case 5:os(t);break;case 4:vs(e,t,n)}}function ds(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ds(t)}function fs(e){return 5===e.tag||3===e.tag||4===e.tag}function ps(e){e:{for(var t=e.return;null!==t;){if(fs(t)){var n=t;break e}t=t.return}throw Error(a(160))}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(a(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||fs(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.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?hs(e,n,t):ms(e,n,t)}function hs(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=cn));else if(4!==r&&null!==(e=e.child))for(hs(e,t,n),e=e.sibling;null!==e;)hs(e,t,n),e=e.sibling}function ms(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(ms(e,t,n),e=e.sibling;null!==e;)ms(e,t,n),e=e.sibling}function vs(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,c=n,d=l;;)if(cs(u,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===l)break e;for(;null===d.sibling;){if(null===d.return||d.return===l)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(u=r,l=o.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(cs(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function gs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ss(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[On]=r,"input"===e&&"radio"===r.type&&null!=r.name&&xe(n,r),sn(e,i),t=sn(e,r),i=0;i<o.length;i+=2){var s=o[i],u=o[i+1];"style"===s?rn(n,u):"dangerouslySetInnerHTML"===s?Be(n,u):"children"===s?Ue(n,u):ge(n,s,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ie(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Oe(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Oe(n,!!r.multiple,r.defaultValue,!0):Oe(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,qt(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,zs=Hi()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=nn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ys(t);case 19:return void ys(t)}throw Error(a(163))}function ys(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new rs),t.forEach((function(t){var r=Au.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var bs="function"==typeof WeakMap?WeakMap:Map;function _s(e,t,n){(n=fo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vs||(Vs=!0,Ws=r),is(e,t)},n}function ws(e,t,n){(n=fo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return is(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ys?Ys=new Set([this]):Ys.add(this),is(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var ks,Es=Math.ceil,xs=y.ReactCurrentDispatcher,Ss=y.ReactCurrentOwner,Ts=16,Cs=32,As=0,Os=3,Ns=4,Ps=0,Is=null,Ls=null,Ms=0,Rs=As,Ds=null,qs=1073741823,js=1073741823,Fs=null,Bs=0,Us=!1,zs=0,Hs=null,Vs=!1,Ws=null,Ys=null,Gs=!1,Ks=null,Xs=90,$s=null,Zs=0,Qs=null,Js=0;function eu(){return 0!=(48&Ps)?1073741821-(Hi()/10|0):0!==Js?Js:Js=1073741821-(Hi()/10|0)}function tu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Vi();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(Ps&Ts))return Ms;if(null!==n)e=Zi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Zi(e,150,100);break;case 97:case 96:e=Zi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Is&&e===Ms&&--e,e}function nu(e,t){if(50<Zs)throw Zs=0,Qs=null,Error(a(185));if(null!==(e=ru(e,t))){var n=Vi();1073741823===t?0!=(8&Ps)&&0==(48&Ps)?su(e):(ou(e),0===Ps&&Xi()):ou(e),0==(4&Ps)||98!==n&&99!==n||(null===$s?$s=new Map([[e,t]]):(void 0===(n=$s.get(e))||n>t)&&$s.set(e,t))}}function ru(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Is===i&&(hu(t),Rs===Ns&&Uu(i,Ms)),zu(i,t)),i}function iu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Bu(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function ou(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ki(su.bind(null,e));else{var t=iu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=eu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Di&&Ci(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ki(su.bind(null,e)):Gi(r,au.bind(null,e),{timeout:10*(1073741821-t)-Hi()}),e.callbackNode=t}}}function au(e,t){if(Js=0,t)return Hu(e,t=eu()),ou(e),null;var n=iu(e);if(0!==n){if(t=e.callbackNode,0!=(48&Ps))throw Error(a(327));if(Eu(),e===Is&&n===Ms||cu(e,n),null!==Ls){var r=Ps;Ps|=Ts;for(var i=fu();;)try{vu();break}catch(t){du(e,t)}if(ro(),Ps=r,xs.current=i,1===Rs)throw t=Ds,cu(e,n),Uu(e,n),ou(e),t;if(null===Ls)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Rs,Is=null,r){case As:case 1:throw Error(a(345));case 2:Hu(e,2<n?2:n);break;case Os:if(Uu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(i)),1073741823===qs&&10<(i=zs+500-Hi())){if(Us){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,cu(e,n);break}}if(0!==(o=iu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=En(_u.bind(null,e),i);break}_u(e);break;case Ns:if(Uu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(i)),Us&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,cu(e,n);break}if(0!==(i=iu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==js?r=10*(1073741821-js)-Hi():1073741823===qs?r=0:(r=10*(1073741821-qs)-5e3,0>(r=(i=Hi())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Es(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=En(_u.bind(null,e),r);break}_u(e);break;case 5:if(1073741823!==qs&&null!==Fs){o=qs;var s=Fs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Hi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Uu(e,n),e.timeoutHandle=En(_u.bind(null,e),r);break}}_u(e);break;default:throw Error(a(329))}if(ou(e),e.callbackNode===t)return au.bind(null,e)}}return null}function su(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!=(48&Ps))throw Error(a(327));if(Eu(),e===Is&&t===Ms||cu(e,t),null!==Ls){var n=Ps;Ps|=Ts;for(var r=fu();;)try{mu();break}catch(t){du(e,t)}if(ro(),Ps=n,xs.current=r,1===Rs)throw n=Ds,cu(e,t),Uu(e,t),ou(e),n;if(null!==Ls)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Is=null,_u(e),ou(e)}return null}function uu(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&Xi()}}function lu(e,t){var n=Ps;Ps&=-2,Ps|=8;try{return e(t)}finally{0===(Ps=n)&&Xi()}}function cu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Ls)for(n=Ls.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&_i();break;case 3:qo(),fi(vi),fi(mi);break;case 5:Fo(r);break;case 4:qo();break;case 13:case 19:fi(Bo);break;case 10:io(r)}n=n.return}Is=e,Ls=Mu(e.current,null),Ms=t,Rs=As,Ds=null,js=qs=1073741823,Fs=null,Bs=0,Us=!1}function du(e,t){for(;;){try{if(ro(),Ho.current=_a,Xo)for(var n=Yo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Wo=0,Ko=Go=Yo=null,Xo=!1,null===Ls||null===Ls.return)return Rs=1,Ds=t,Ls=null;e:{var i=e,o=Ls.return,a=Ls,s=t;if(t=Ms,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&a.mode)){var l=a.alternate;l?(a.memoizedState=l.memoizedState,a.expirationTime=l.expirationTime):a.memoizedState=null}var c=0!=(1&Bo.current),d=o;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(u),d.updateQueue=v}else m.add(u);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=fo(1073741823,null);g.tag=2,po(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new bs,s=new Set,y.set(u,s)):void 0===(s=y.get(u))&&(s=new Set,y.set(u,s)),!s.has(a)){s.add(a);var b=Cu.bind(null,i,u,a);u.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((q(a.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."+j(a))}5!==Rs&&(Rs=2),s=ns(s,a),d=o;do{switch(d.tag){case 3:u=s,d.effectTag|=4096,d.expirationTime=t,ho(d,_s(d,u,t));break e;case 1:u=s;var _=d.type,w=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Ys||!Ys.has(w)))){d.effectTag|=4096,d.expirationTime=t,ho(d,ws(d,u,t));break e}}d=d.return}while(null!==d)}Ls=yu(Ls)}catch(e){t=e;continue}break}}function fu(){var e=xs.current;return xs.current=_a,null===e?_a:e}function pu(e,t){e<qs&&2<e&&(qs=e),null!==t&&e<js&&2<e&&(js=e,Fs=t)}function hu(e){e>Bs&&(Bs=e)}function mu(){for(;null!==Ls;)Ls=gu(Ls)}function vu(){for(;null!==Ls&&!qi();)Ls=gu(Ls)}function gu(e){var t=ks(e.alternate,e,Ms);return e.memoizedProps=e.pendingProps,null===t&&(t=yu(e)),Ss.current=null,t}function yu(e){Ls=e;do{var t=Ls.alternate;if(e=Ls.return,0==(2048&Ls.effectTag)){if(t=es(t,Ls,Ms),1===Ms||1!==Ls.childExpirationTime){for(var n=0,r=Ls.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Ls.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ls.firstEffect),null!==Ls.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ls.firstEffect),e.lastEffect=Ls.lastEffect),1<Ls.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ls:e.firstEffect=Ls,e.lastEffect=Ls))}else{if(null!==(t=ts(Ls)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ls.sibling))return t;Ls=e}while(null!==Ls);return Rs===As&&(Rs=5),null}function bu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function _u(e){var t=Vi();return Yi(99,wu.bind(null,e,t)),null}function wu(e,t){do{Eu()}while(null!==Ks);if(0!=(48&Ps))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=bu(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Is&&(Ls=Is=null,Ms=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ps;Ps|=Cs,Ss.current=null,bn=Gt;var s=mn();if(vn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var l=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{u.nodeType,d.nodeType}catch(e){u=null;break e}var f=0,p=-1,h=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==u||0!==c&&3!==g.nodeType||(p=f+c),g!==d||0!==l&&3!==g.nodeType||(h=f+l),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===u&&++m===c&&(p=f),y===d&&++v===l&&(h=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;_n={activeElementDetached:null,focusedElem:s,selectionRange:u},Gt=!1,Hs=i;do{try{ku()}catch(e){if(null===Hs)throw Error(a(330));Tu(Hs,e),Hs=Hs.nextEffect}}while(null!==Hs);Hs=i;do{try{for(s=e,u=t;null!==Hs;){var _=Hs.effectTag;if(16&_&&Ue(Hs.stateNode,""),128&_){var w=Hs.alternate;if(null!==w){var k=w.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&_){case 2:ps(Hs),Hs.effectTag&=-3;break;case 6:ps(Hs),Hs.effectTag&=-3,gs(Hs.alternate,Hs);break;case 1024:Hs.effectTag&=-1025;break;case 1028:Hs.effectTag&=-1025,gs(Hs.alternate,Hs);break;case 4:gs(Hs.alternate,Hs);break;case 8:vs(s,c=Hs,u),ds(c)}Hs=Hs.nextEffect}}catch(e){if(null===Hs)throw Error(a(330));Tu(Hs,e),Hs=Hs.nextEffect}}while(null!==Hs);if(k=_n,w=mn(),_=k.focusedElem,u=k.selectionRange,w!==_&&_&&_.ownerDocument&&hn(_.ownerDocument.documentElement,_)){null!==u&&vn(_)&&(w=u.start,void 0===(k=u.end)&&(k=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(k,_.value.length)):(k=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),c=_.textContent.length,s=Math.min(u.start,c),u=void 0===u.end?s:Math.min(u.end,c),!k.extend&&s>u&&(c=u,u=s,s=c),c=pn(_,s),d=pn(_,u),c&&d&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==d.node||k.focusOffset!==d.offset)&&((w=w.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),s>u?(k.addRange(w),k.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),k.addRange(w))))),w=[];for(k=_;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(k=w[_]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Gt=!!bn,_n=bn=null,e.current=n,Hs=i;do{try{for(_=e;null!==Hs;){var E=Hs.effectTag;if(36&E&&ls(_,Hs.alternate,Hs),128&E){w=void 0;var x=Hs.ref;if(null!==x){var S=Hs.stateNode;Hs.tag,w=S,"function"==typeof x?x(w):x.current=w}}Hs=Hs.nextEffect}}catch(e){if(null===Hs)throw Error(a(330));Tu(Hs,e),Hs=Hs.nextEffect}}while(null!==Hs);Hs=null,ji(),Ps=o}else e.current=n;if(Gs)Gs=!1,Ks=e,Xs=t;else for(Hs=i;null!==Hs;)t=Hs.nextEffect,Hs.nextEffect=null,Hs=t;if(0===(t=e.firstPendingTime)&&(Ys=null),1073741823===t?e===Qs?Zs++:(Zs=0,Qs=e):Zs=0,"function"==typeof Ou&&Ou(n.stateNode,r),ou(e),Vs)throw Vs=!1,e=Ws,Ws=null,e;return 0!=(8&Ps)||Xi(),null}function ku(){for(;null!==Hs;){var e=Hs.effectTag;0!=(256&e)&&as(Hs.alternate,Hs),0==(512&e)||Gs||(Gs=!0,Gi(97,(function(){return Eu(),null}))),Hs=Hs.nextEffect}}function Eu(){if(90!==Xs){var e=97<Xs?97:Xs;return Xs=90,Yi(e,xu)}}function xu(){if(null===Ks)return!1;var e=Ks;if(Ks=null,0!=(48&Ps))throw Error(a(331));var t=Ps;for(Ps|=Cs,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ss(5,n),us(5,n)}}catch(t){if(null===e)throw Error(a(330));Tu(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Ps=t,Xi(),!0}function Su(e,t,n){po(e,t=_s(e,t=ns(n,t),1073741823)),null!==(e=ru(e,1073741823))&&ou(e)}function Tu(e,t){if(3===e.tag)Su(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Su(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ys||!Ys.has(r))){po(n,e=ws(n,e=ns(t,e),1073741823)),null!==(n=ru(n,1073741823))&&ou(n);break}}n=n.return}}function Cu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Is===e&&Ms===n?Rs===Ns||Rs===Os&&1073741823===qs&&Hi()-zs<500?cu(e,Ms):Us=!0:Bu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,ou(e)))}function Au(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=tu(t=eu(),e,null)),null!==(e=ru(e,t))&&ou(e)}ks=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||vi.current)Ma=!0;else{if(r<n){switch(Ma=!1,t.tag){case 3:Ha(t),Ia();break;case 5:if(jo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:bi(t.type)&&Ei(t);break;case 4:Do(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,pi(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ka(e,t,n):(pi(Bo,1&Bo.current),null!==(t=Qa(e,t,n))?t.sibling:null);pi(Bo,1&Bo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Za(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),pi(Bo,Bo.current),!r)return null}return Qa(e,t,n)}Ma=!1}}else Ma=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=yi(t,mi.current),ao(t,n),i=Qo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,bi(r)){var o=!0;Ei(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,lo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&bo(t,r,s,e),i.updater=_o,t.stateNode=i,i._reactInternalFiber=t,xo(t,r,e,n),t=za(null,t,r,!0,o,n)}else t.tag=0,Ra(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),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)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"==typeof e)return Lu(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===I)return 14}return 2}(i),e=Qi(i,e),o){case 0:t=Ba(null,t,i,e,n);break e;case 1:t=Ua(null,t,i,e,n);break e;case 11:t=Da(null,t,i,e,n);break e;case 14:t=qa(null,t,i,Qi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ba(e,t,r,i=t.elementType===r?i:Qi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ua(e,t,r,i=t.elementType===r?i:Qi(r,i),n);case 3:if(Ha(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===i)Ia(),t=Qa(e,t,n);else{if((i=t.stateNode.hydrate)&&(Sa=Sn(t.stateNode.containerInfo.firstChild),xa=t,i=Ta=!0),i)for(n=No(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Ra(e,t,r,n),Ia();t=t.child}return t;case 5:return jo(t),null===e&&Oa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,kn(r,i)?s=null:null!==o&&kn(r,o)&&(t.effectTag|=16),Fa(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Ra(e,t,s,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return Ka(e,t,n);case 4:return Do(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oo(t,null,r,n):Ra(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Da(e,t,r,i=t.elementType===r?i:Qi(r,i),n);case 7:return Ra(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ra(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var u=t.type._context;if(pi(Ji,u._currentValue),u._currentValue=o,null!==s)if(u=s.value,0===(o=Ur(u,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(s.children===i.children&&!vi.current){t=Qa(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var l=u.dependencies;if(null!==l){s=u.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===u.tag&&((c=fo(n,null)).tag=2,po(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),oo(u.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else s=10===u.tag&&u.type===t.type?null:u.child;if(null!==s)s.return=u;else for(s=u;null!==s;){if(s===t){s=null;break}if(null!==(u=s.sibling)){u.return=s.return,s=u;break}s=s.return}u=s}Ra(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ao(t,n),r=r(i=so(i,o.unstable_observedBits)),t.effectTag|=1,Ra(e,t,r,n),t.child;case 14:return o=Qi(i=t.type,t.pendingProps),qa(e,t,i,o=Qi(i.type,o),r,n);case 15:return ja(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.effectTag|=2),t.tag=1,bi(r)?(e=!0,Ei(t)):e=!1,ao(t,n),ko(t,r,i),xo(t,r,i,n),za(null,t,r,!0,e,n);case 19:return Za(e,t,n)}throw Error(a(156,t.tag))};var Ou=null,Nu=null;function Pu(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.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Iu(e,t,n,r){return new Pu(e,t,n,r)}function Lu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mu(e,t){var n=e.alternate;return null===n?((n=Iu(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.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ru(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Lu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return Du(n.children,i,o,t);case A:s=8,i|=7;break;case x:s=8,i|=1;break;case S:return(e=Iu(12,n,t,8|i)).elementType=S,e.type=S,e.expirationTime=o,e;case N:return(e=Iu(13,n,t,i)).type=N,e.elementType=N,e.expirationTime=o,e;case P:return(e=Iu(19,n,t,i)).elementType=P,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case T:s=10;break e;case C:s=9;break e;case O:s=11;break e;case I:s=14;break e;case L:s=16,r=null;break e;case M:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Iu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Du(e,t,n,r){return(e=Iu(7,e,r,t)).expirationTime=n,e}function qu(e,t,n){return(e=Iu(6,e,null,t)).expirationTime=n,e}function ju(e,t,n){return(t=Iu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Bu(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Uu(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function zu(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Hu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Vu(e,t,n,r){var i=t.current,o=eu(),s=go.suspense;o=tu(o,i,s);e:if(n){t:{if(et(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(bi(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(a(171))}if(1===n.tag){var l=n.type;if(bi(l)){n=ki(n,l,u);break e}}n=u}else n=hi;return null===t.context?t.context=n:t.pendingContext=n,(t=fo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),po(i,t),nu(i,o),o}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Yu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Gu(e,t){Yu(e,t),(e=e.alternate)&&Yu(e,t)}function Ku(e,t,n){var r=new Fu(e,t,n=null!=n&&!0===n.hydrate),i=Iu(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,lo(i),e[Nn]=r.current,n&&0!==t&&function(e,t){var n=Je(t);Ct.forEach((function(e){mt(e,t,n)})),At.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Xu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $u(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=Wu(a);s.call(e)}}Vu(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 Ku(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=Wu(a);u.call(e)}}lu((function(){Vu(t,a,e,i)}))}return Wu(a)}function Zu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Qu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xu(t))throw Error(a(200));return Zu(e,t,null,n)}Ku.prototype.render=function(e){Vu(e,this._internalRoot,null,null)},Ku.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Vu(null,e,null,(function(){t[Nn]=null}))},vt=function(e){if(13===e.tag){var t=Zi(eu(),150,100);nu(e,t),Gu(e,t)}},gt=function(e){13===e.tag&&(nu(e,3),Gu(e,3))},yt=function(e){if(13===e.tag){var t=eu();nu(e,t=tu(t,e,null)),Gu(e,t)}},X=function(e,t,n){switch(t){case"input":if(Se(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=Mn(r);if(!i)throw Error(a(90));we(r),Se(r,i)}}}break;case"textarea":Ie(e,n);break;case"select":null!=(t=n.value)&&Oe(e,!!n.multiple,t,!1)}},te=uu,ne=function(e,t,n,r,i){var o=Ps;Ps|=4;try{return Yi(98,e.bind(null,t,n,r,i))}finally{0===(Ps=o)&&Xi()}},re=function(){0==(49&Ps)&&(function(){if(null!==$s){var e=$s;$s=null,e.forEach((function(e,t){Hu(t,e),ou(t)})),Xi()}}(),Eu())},ie=function(e,t){var n=Ps;Ps|=2;try{return e(t)}finally{0===(Ps=n)&&Xi()}};var Ju={Events:[In,Ln,Mn,G,V,Un,function(e){ot(e,Bn)},J,ee,Qt,ut,Eu,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ou=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Nu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=rt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Pn,bundleType:0,version:"16.13.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ju,t.createPortal=Qu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=rt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!=(48&Ps))throw Error(a(187));var n=Ps;Ps|=1;try{return Yi(99,e.bind(null,t))}finally{Ps=n,Xi()}},t.hydrate=function(e,t,n){if(!Xu(t))throw Error(a(200));return $u(null,e,t,!0,n)},t.render=function(e,t,n){if(!Xu(t))throw Error(a(200));return $u(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xu(e))throw Error(a(40));return!!e._reactRootContainer&&(lu((function(){$u(null,null,e,!1,(function(){e._reactRootContainer=null,e[Nn]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_createPortal=function(e,t){return Qu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return $u(e,t,n,!1,r)},t.version="16.13.0"},73935:function(e,t,n){"use strict";!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){console.error(e)}}(),e.exports=n(64448)},57209:function(e,t,n){"use strict";var r,i=(r=n(67294))&&"object"==typeof r&&"default"in r?r.default:r;function o(e){return o.warnAboutHMRDisabled&&(o.warnAboutHMRDisabled=!0,console.error("React-Hot-Loader: misconfiguration detected, using production version in non-production environment."),console.error("React-Hot-Loader: Hot Module Replacement is not enabled.")),i.Children.only(e.children)}o.warnAboutHMRDisabled=!1;var a=function e(){return e.shouldWrapWithAppContainer?function(e){return function(t){return i.createElement(o,null,i.createElement(e,t))}}:function(e){return e}};a.shouldWrapWithAppContainer=!1;t.v6=function(){}},71570:function(e,t){t.w=function(e){return e}},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,u=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case v:case m:case u:return e;default:return t}}case i:return t}}}function k(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=v,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||w(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===v},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===u||e.$$typeof===l||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===g)},t.typeOf=w},59864:function(e,t,n){"use strict";e.exports=n(69921)},77281:function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(19085)),i=l(n(90621)),o=l(n(67294)),a=l(n(73935)),s=l(n(33464)),u=l(n(290));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 f=function(e){function t(){var n,r;c(this,t);for(var i=arguments.length,l=Array(i),f=0;f<i;f++)l[f]=arguments[f];return n=r=d(this,e.call.apply(e,[this].concat(l))),r._mountOverlayTarget=function(){r._overlayTarget||(r._overlayTarget=document.createElement("div"),r._portalContainerNode=(0,s.default)(r.props.container,(0,u.default)(r).body),r._portalContainerNode.appendChild(r._overlayTarget))},r._unmountOverlayTarget=function(){r._overlayTarget&&(r._portalContainerNode.removeChild(r._overlayTarget),r._overlayTarget=null),r._portalContainerNode=null},r._renderOverlay=function(){var e=r.props.children?o.default.Children.only(r.props.children):null;if(null!==e){r._mountOverlayTarget();var t=!r._overlayInstance;r._overlayInstance=a.default.unstable_renderSubtreeIntoContainer(r,e,r._overlayTarget,(function(){t&&r.props.onRendered&&r.props.onRendered()}))}else r._unrenderOverlay(),r._unmountOverlayTarget()},r._unrenderOverlay=function(){r._overlayTarget&&(a.default.unmountComponentAtNode(r._overlayTarget),r._overlayInstance=null)},r.getMountNode=function(){return r._overlayTarget},d(r,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),t.prototype.componentDidMount=function(){this._isMounted=!0,this._renderOverlay()},t.prototype.componentDidUpdate=function(){this._renderOverlay()},t.prototype.componentWillReceiveProps=function(e){this._overlayTarget&&e.container!==this.props.container&&(this._portalContainerNode.removeChild(this._overlayTarget),this._portalContainerNode=(0,s.default)(e.container,(0,u.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},t.prototype.componentWillUnmount=function(){this._isMounted=!1,this._unrenderOverlay(),this._unmountOverlayTarget()},t.prototype.render=function(){return null},t}(o.default.Component);f.displayName="Portal",f.propTypes={container:r.default.oneOfType([i.default,r.default.func]),onRendered:r.default.func},t.default=f,e.exports=t.default},95425:function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(19085)),i=c(n(90621)),o=c(n(67294)),a=c(n(73935)),s=c(n(33464)),u=c(n(290)),l=c(n(77281));function c(e){return e&&e.__esModule?e:{default:e}}function d(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}var p=function(e){function t(){var n,r;d(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,e.call.apply(e,[this].concat(o))),r.setContainer=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.props;r._portalContainerNode=(0,s.default)(e.container,(0,u.default)(r).body)},r.getMountNode=function(){return r._portalContainerNode},f(r,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),t.prototype.componentDidMount=function(){this.setContainer(),this.forceUpdate(this.props.onRendered)},t.prototype.componentWillReceiveProps=function(e){e.container!==this.props.container&&this.setContainer(e)},t.prototype.componentWillUnmount=function(){this._portalContainerNode=null},t.prototype.render=function(){return this.props.children&&this._portalContainerNode?a.default.createPortal(this.props.children,this._portalContainerNode):null},t}(o.default.Component);p.displayName="Portal",p.propTypes={container:r.default.oneOfType([i.default,r.default.func]),onRendered:r.default.func},t.default=a.default.createPortal?p:l.default,e.exports=t.default},33464:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e="function"==typeof e?e():e,o.default.findDOMNode(e)||t};var r,i=n(73935),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},290:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return(0,i.default)(r.default.findDOMNode(e))};var r=o(n(73935)),i=o(n(50598));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},50598:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},37881:function(e,t,n){"use strict";var r=n(60139),i=n(73759),o=n(42055);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},19085:function(e,t,n){e.exports=n(37881)()},42055:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76585:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},39658:function(e,t,n){var r=n(76585);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var i=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,a=0,s="",c=t&&t.delimiter||"/";null!=(n=i.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(a,p),a=p+d.length,f)s+=f[1];else{var h=e[a],m=n[2],v=n[3],g=n[4],y=n[5],b=n[6],_=n[7];s&&(r.push(s),s="");var w=null!=m&&null!=h&&h!==m,k="+"===b||"*"===b,E="?"===b||"*"===b,x=n[2]||c,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:x,optional:E,repeat:k,partial:w,asterisk:!!_,pattern:S?l(S):_?".*":"[^"+u(x)+"]+?"})}}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||{},u=(i||{}).pretty?a:encodeURIComponent,l=0;l<e.length;l++){var c=e[l];if("string"!=typeof c){var d,f=s[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=u(f[p]),!n[l].test(d))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?c.prefix:c.delimiter)+d}}else{if(d=c.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(f),!n[l].test(d))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+d+'"');o+=c.prefix+d}}else o+=c}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(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 l=e[s];if("string"==typeof l)a+=u(l);else{var f=u(l.prefix),p="(?:"+l.pattern+")";t.push(l),l.repeat&&(p+="(?:"+f+p+")*"),a+=p=l.optional?l.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=u(n.delimiter||"/"),m=a.slice(-h.length)===h;return i||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=o?"$":i&&m?"":"(?="+h+"|$)",c(new RegExp("^"+a,d(n)),t)}function p(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 c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(p(e[i],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},48477: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=a(n(67294)),o=a(n(31093));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 l=function(e){function t(){return s(this,t),u(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:"render",value:function(){return i.default.createElement("input",this.props,this.props.children)}}]),t}(i.default.Component);t.default=(0,o.default)(l)},35343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},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=u(n(67294)),a=u(n(18e3)),s=u(n(52987));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 d=function(e){function t(){return l(this,t),c(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),i(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return t.parentBindings&&delete t.parentBindings,o.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(o.default.Component);d.propTypes={name:s.default.string,id:s.default.string},t.default=(0,a.default)(d)},68939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(67294)),i=o(n(31093));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 u=function(e){function t(){var e,n,i;a(this,t);for(var o=arguments.length,u=Array(o),l=0;l<o;l++)u[l]=arguments[l];return n=i=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},s(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),t}(r.default.Component);t.default=(0,i.default)(u)},66261:function(e,t,n){"use strict";t.zW=void 0;var r=p(n(68939)),i=p(n(48477)),o=p(n(35343)),a=p(n(82628)),s=p(n(64592)),u=p(n(87606)),l=p(n(53200)),c=p(n(31093)),d=p(n(18e3)),f=p(n(98482));function p(e){return e&&e.__esModule?e:{default:e}}r.default,i.default,o.default,a.default,t.zW=s.default,u.default,l.default,c.default,d.default,f.default,t.ZP={Link:r.default,Button:i.default,Element:o.default,scroller:a.default,Events:s.default,scrollSpy:u.default,animateScroll:l.default,ScrollLink:c.default,ScrollElement:d.default,Helpers:f.default}},98482:function(e,t,n){"use strict";var r=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},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}}();function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(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 u=n(67294),l=(n(73935),n(54259),n(87606)),c=n(82628),d=n(52987),f=n(29678),p={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool},h={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||c,d=function(t){function c(e){o(this,c);var t=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return h.call(t),t.state={active:!1},t}return s(c,t),i(c,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();l.isMounted(e)||l.mount(e),this.props.hashSpy&&(f.isMounted()||f.mount(n),f.mapContainer(this.props.to,e)),this.props.spy&&l.addStateHandler(this.stateHandler),l.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){l.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in p)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,u.createElement(e,n)}}]),c}(u.Component),h=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!f.isMounted()||f.isInitialized()){var i=e.props.to,o=null,a=0,s=0,u=0;if(r.getBoundingClientRect)u=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var c=o.getBoundingClientRect();s=(a=c.top-u+t)+c.height}var d=t-e.props.offset,p=d>=Math.floor(a)&&d<Math.floor(s),h=d<Math.floor(a)||d>=Math.floor(s),m=n.getActiveLink();return h?(i===m&&n.setActiveLink(void 0),e.props.hashSpy&&f.getHash()===i&&f.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),l.updateStates()):p&&m!==i?(n.setActiveLink(i),e.props.hashSpy&&f.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),l.updateStates()):void 0}}};return d.propTypes=p,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){o(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return s(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentWillReceiveProps",value:function(e){this.props.name!==e.name&&this.registerElems(e.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(e){c.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return u.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(u.Component);return t.propTypes={name:d.string,id:d.string},t}};e.exports=h},53200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},i=(s(n(54259)),s(n(89765))),o=s(n(50140)),a=s(n(64592));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return i.default[e.smooth]||i.default.defaultEasing},l=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},c=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},d=function e(t,n,r){var i=n.data;if(n.ignoreCancelEvents||!i.cancel)if(i.deltaTop=Math.round(i.targetPositionY-i.startPositionY),null===i.start&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPositionY=i.startPositionY+Math.ceil(i.deltaTop*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?i.containerElement.scrollTop=i.currentPositionY:window.scrollTo(0,i.currentPositionY),i.percent<1){var o=e.bind(null,t,n);l.call(window,o)}else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY);else a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY)},f=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},p=function(e,t,n,r){if(t.data=t.data||{currentPositionY:0,startPositionY:0,targetPositionY:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,deltaTop:null,percent:null,delayTimeout:null},window.clearTimeout(t.data.delayTimeout),o.default.subscribe((function(){t.data.cancel=!0})),f(t),t.data.start=null,t.data.cancel=!1,t.data.startPositionY=c(t),t.data.targetPositionY=t.absolute?e:e+t.data.startPositionY,t.data.startPositionY!==t.data.targetPositionY){t.data.deltaTop=Math.round(t.data.targetPositionY-t.data.startPositionY),t.data.duration=function(e){return"function"==typeof e?e:function(){return e}}(t.duration)(t.data.deltaTop),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var i=u(t),s=d.bind(null,i,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout((function(){l.call(window,s)}),t.delay):l.call(window,s)}else a.default.registered.end&&a.default.registered.end(t.data.to,t.data.target,t.data.currentPositionY)},h=function(e){return(e=r({},e)).data=e.data||{currentPositionY:0,startPositionY:0,targetPositionY:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,deltaTop:null,percent:null,delayTimeout:null},e.absolute=!0,e};t.default={animateTopScroll:p,getAnimationType:u,scrollToTop:function(e){p(0,h(e))},scrollToBottom:function(e){e=h(e),f(e),p(function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return Math.max(t.scrollHeight,t.offsetHeight,t.clientHeight);var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)}(e),e)},scrollTo:function(e,t){p(e,h(t))},scrollMore:function(e,t){t=h(t),f(t),p(c(t)+e,t)}}},50140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(55236),i=["mousedown","mousewheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&i.forEach((function(t){return(0,r.addPassiveEventListener)(document,t,e)}))}}},55236:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.addPassiveEventListener=function(e,t,n){var r=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,n,!!r&&{passive:!0})},t.removePassiveEventListener=function(e,t,n){e.removeEventListener(t,n)}},18e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},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=u(n(67294)),a=(u(n(73935)),u(n(82628))),s=u(n(52987));function u(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var 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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}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)}(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentWillReceiveProps",value:function(e){this.props.name!==e.name&&this.registerElems(e.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;a.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){a.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return o.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(o.default.Component);return t.propTypes={name:s.default.string,id:s.default.string},t}},64592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},29678:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(55236);var r,i=n(54259),o=(r=i)&&r.__esModule?r:{default:r};var a={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout((function(){e.scrollTo(t,!0),e.initialized=!0}),10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return o.default.getHash()},changeHash:function(e){this.isInitialized()&&o.default.getHash()!==e&&o.default.pushHash(e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};t.default=a},31093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},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=c(n(67294)),a=(c(n(73935)),c(n(54259)),c(n(87606))),s=c(n(82628)),u=c(n(52987)),l=c(n(29678));function c(e){return e&&e.__esModule?e:{default:e}}var d={to:u.default.string.isRequired,containerId:u.default.string,container:u.default.object,activeClass:u.default.string,spy:u.default.bool,smooth:u.default.oneOfType([u.default.bool,u.default.string]),offset:u.default.number,delay:u.default.number,isDynamic:u.default.bool,onClick:u.default.func,duration:u.default.oneOfType([u.default.number,u.default.func]),absolute:u.default.bool,onSetActive:u.default.func,onSetInactive:u.default.func,ignoreCancelEvents:u.default.bool,hashSpy:u.default.bool};t.default=function(e,t){var n=t||s.default,u=function(t){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var 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,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return c.call(t),t.state={active:!1},t}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)}(s,t),i(s,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();a.default.isMounted(e)||a.default.mount(e),this.props.hashSpy&&(l.default.isMounted()||l.default.mount(n),l.default.mapContainer(this.props.to,e)),a.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){a.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in d)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,o.default.createElement(e,n)}}]),s}(o.default.PureComponent),c=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!l.default.isMounted()||l.default.isInitialized()){var i=e.props.to,o=null,a=0,s=0,u=0;if(r.getBoundingClientRect)u=r.getBoundingClientRect().top;if(!o||e.props.isDynamic){if(!(o=n.get(i)))return;var c=o.getBoundingClientRect();s=(a=c.top-u+t)+c.height}var d=t-e.props.offset,f=d>=Math.floor(a)&&d<Math.floor(s),p=d<Math.floor(a)||d>=Math.floor(s),h=n.getActiveLink();p&&(i===h&&n.setActiveLink(void 0),e.props.hashSpy&&l.default.getHash()===i&&l.default.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(i,o))),!f||h===i&&!1!==e.state.active||(n.setActiveLink(i),e.props.hashSpy&&l.default.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i,o)))}}};return u.propTypes=d,u.defaultProps={offset:0},u}},87606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(93096),o=(r=i)&&r.__esModule?r:{default:r},a=n(55236);var s={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e){if(e){var t=function(e){return(0,o.default)(e,66)}((function(t){s.scrollHandler(e)}));s.scrollSpyContainers.push(e),(0,a.addPassiveEventListener)(e,"scroll",t)}},isMounted:function(e){return-1!==s.scrollSpyContainers.indexOf(e)},currentPositionY:function(e){if(e===document){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop}return e.scrollTop},scrollHandler:function(e){(s.scrollSpyContainers[s.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach((function(t){return t(s.currentPositionY(e))}))},addStateHandler:function(e){s.spySetState.push(e)},addSpyHandler:function(e,t){var n=s.scrollSpyContainers[s.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e),e(s.currentPositionY(t))},updateStates:function(){s.spySetState.forEach((function(e){return e()}))},unmount:function(e,t){s.scrollSpyContainers.forEach((function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)})),s.spySetState&&s.spySetState.length&&s.spySetState.splice(s.spySetState.indexOf(e),1),document.removeEventListener("scroll",s.scrollHandler)},update:function(){return s.scrollSpyContainers.forEach((function(e){return s.scrollHandler(e)}))}};t.default=s},82628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=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},i=s(n(54259)),o=s(n(53200)),a=s(n(64592));function s(e){return e&&e.__esModule?e:{default:e}}var u={},l=void 0;t.default={unmount:function(){u={}},register:function(e,t){u[e]=t},unregister:function(e){delete u[e]},get:function(e){return u[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return l=e},getActiveLink:function(){return l},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,u=t.container,l=void 0;l=s?document.getElementById(s):u&&u.nodeType?u:document,a.default.registered.begin&&a.default.registered.begin(e,n),t.absolute=!0;var c=i.default.scrollOffset(l,n)+(t.offset||0);if(!t.smooth)return l===document?window.scrollTo(0,c):l.scrollTop=c,void(a.default.registered.end&&a.default.registered.end(e,n));o.default.animateTopScroll(c,t,e,n)}else console.warn("target Element not found")}}},89765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow(2*(1-e),2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:(4-2*e)*e-1},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},54259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={pushHash:function(e){if(e=e?0===e.indexOf("#")?e:"#"+e:"",history.pushState){var t=window.location;history.pushState(null,null,e?t.pathname+t.search+e:t.pathname+t.search)}else location.hash=e},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t){return e===document?t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset):"static"!==getComputedStyle(e).position?t.offsetTop:t.getBoundingClientRect().top+e.scrollTop}}},68423:function(e,t,n){"use strict";var r=n(60139),i=n(73759),o=n(38606);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},52987:function(e,t,n){e.exports=n(68423)()},38606:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},83524:function(e,t,n){"use strict";var r=n(67294),i=s(r),o=s(n(58875)),a=s(n(53313));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}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(s){if("function"!=typeof s)throw new Error("Expected WrappedComponent to be a React component.");var c=[],d=void 0;function f(){d=e(c.map((function(e){return e.props}))),p.canUseDOM?t(d):n&&(d=n(d))}var p=function(e){function t(){return u(this,t),l(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.peek=function(){return d},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=d;return d=void 0,c=[],e},t.prototype.shouldComponentUpdate=function(e){return!(0,a.default)(e,this.props)},t.prototype.componentWillMount=function(){c.push(this),f()},t.prototype.componentDidUpdate=function(){f()},t.prototype.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),f()},t.prototype.render=function(){return i.default.createElement(s,this.props)},t}(r.Component);return p.displayName="SideEffect("+function(e){return e.displayName||e.name||"Component"}(s)+")",p.canUseDOM=o.default.canUseDOM,p}}},53313:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),u=0;u<o.length;u++){var l=o[u];if(!s(l))return!1;var c=e[l],d=t[l];if(!1===(i=n?n.call(r,c,d,l):void 0)||void 0===i&&c!==d)return!1}return!0}},8205:function(e,t,n){"use strict";t.__esModule=!0,t.NextArrow=t.PrevArrow=void 0;var r=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},i=s(n(67294)),o=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 c(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.PrevArrow=function(e){function t(){return u(this,t),l(this,e.apply(this,arguments))}return c(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=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},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,r({},n,a)):i.default.createElement("button",r({key:"0",type:"button"},n)," ","Previous")},t}(i.default.PureComponent),t.NextArrow=function(e){function t(){return u(this,t),l(this,e.apply(this,arguments))}return c(t,e),t.prototype.clickHandler=function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)},t.prototype.render=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},s={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,r({},n,s)):i.default.createElement("button",r({key:"1",type:"button"},n)," ","Next")},t}(i.default.PureComponent)},23492:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(67294),o=(r=i)&&r.__esModule?r:{default:r};var a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.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 o.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=a},16329:function(e,t,n){"use strict";t.__esModule=!0,t.Dots=void 0;var r=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},i=a(n(67294)),o=a(n(94184));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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}t.Dots=function(e){function t(){return s(this,t),u(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.clickHandler=function(e,t){t.preventDefault(),this.props.clickHandler(e)},t.prototype.render=function(){var e,t=this,n=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,a=this.props,s={onMouseEnter:a.onMouseEnter,onMouseOver:a.onMouseOver,onMouseLeave:a.onMouseLeave},u=Array.apply(null,Array(n+1).join("0").split("")).map((function(e,n){var r=n*t.props.slidesToScroll,a=n*t.props.slidesToScroll+(t.props.slidesToScroll-1),s=(0,o.default)({"slick-active":t.props.currentSlide>=r&&t.props.currentSlide<=a}),u={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},l=t.clickHandler.bind(t,u);return i.default.createElement("li",{key:n,className:s},i.default.cloneElement(t.props.customPaging(n),{onClick:l}))}));return i.default.cloneElement(this.props.appendDots(u),r({className:this.props.dotsClass},s))},t}(i.default.PureComponent)},46066:function(e,t,n){"use strict";var r,i=n(5798),o=(r=i)&&r.__esModule?r:{default:r};t.Z=o.default},46948:function(e,t){"use strict";t.__esModule=!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}},58517:function(e,t,n){"use strict";t.__esModule=!0,t.InnerSlider=void 0;var 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},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=m(n(67294)),a=m(n(73935)),s=m(n(46948)),u=m(n(91296)),l=m(n(94184)),c=n(15518),d=n(64740),f=n(16329),p=n(8205),h=m(n(64207));function m(e){return e&&e.__esModule?e:{default:e}}function v(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}t.InnerSlider=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var m=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.call(this,n));return m.listRefHandler=function(e){return m.list=e},m.trackRefHandler=function(e){return m.track=e},m.adaptHeight=function(){if(m.props.adaptiveHeight&&m.list){var e=m.list.querySelector('[data-index="'+m.state.currentSlide+'"]');m.list.style.height=(0,c.getHeight)(e)+"px"}},m.componentWillMount=function(){if(m.ssrInit(),m.props.onInit&&m.props.onInit(),m.props.lazyLoad){var e=(0,c.getOnDemandLazySlides)(i({},m.props,m.state));e.length>0&&(m.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),m.props.onLazyLoad&&m.props.onLazyLoad(e))}},m.componentDidMount=function(){var e=i({listRef:m.list,trackRef:m.track},m.props);m.updateState(e,!0,(function(){m.adaptHeight(),m.props.autoplay&&m.autoPlay("update")})),"progressive"===m.props.lazyLoad&&(m.lazyLoadTimer=setInterval(m.progressiveLazyLoad,1e3)),m.ro=new h.default((function(){m.state.animating?(m.onWindowResized(!1),m.callbackTimers.push(setTimeout((function(){return m.onWindowResized()}),m.props.speed))):m.onWindowResized()})),m.ro.observe(m.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=m.props.pauseOnFocus?m.onSlideFocus:null,e.onblur=m.props.pauseOnFocus?m.onSlideBlur:null})),window&&(window.addEventListener?window.addEventListener("resize",m.onWindowResized):window.attachEvent("onresize",m.onWindowResized))},m.componentWillUnmount=function(){m.animationEndCallback&&clearTimeout(m.animationEndCallback),m.lazyLoadTimer&&clearInterval(m.lazyLoadTimer),m.callbackTimers.length&&(m.callbackTimers.forEach((function(e){return clearTimeout(e)})),m.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",m.onWindowResized):window.detachEvent("onresize",m.onWindowResized),m.autoplayTimer&&clearInterval(m.autoplayTimer)},m.componentWillReceiveProps=function(e){var t=i({listRef:m.list,trackRef:m.track},e,m.state),n=!1,a=Object.keys(m.props),s=Array.isArray(a),u=0;for(a=s?a:a[Symbol.iterator]();;){var l;if(s){if(u>=a.length)break;l=a[u++]}else{if((u=a.next()).done)break;l=u.value}var c=l;if(!e.hasOwnProperty(c)){n=!0;break}if("object"!==r(e[c])&&"function"!=typeof e[c]&&e[c]!==m.props[c]){n=!0;break}}m.updateState(t,n,(function(){m.state.currentSlide>=o.default.Children.count(e.children)&&m.changeSlide({message:"index",index:o.default.Children.count(e.children)-e.slidesToShow,currentSlide:m.state.currentSlide}),e.autoplay?m.autoPlay("update"):m.pause("paused")}))},m.componentDidUpdate=function(){if(m.checkImagesLoad(),m.props.onReInit&&m.props.onReInit(),m.props.lazyLoad){var e=(0,c.getOnDemandLazySlides)(i({},m.props,m.state));e.length>0&&(m.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),m.props.onLazyLoad&&m.props.onLazyLoad(e))}m.adaptHeight()},m.onWindowResized=function(e){m.debouncedResize&&m.debouncedResize.cancel(),m.debouncedResize=(0,u.default)((function(){return m.resizeWindow(e)}),50),m.debouncedResize()},m.resizeWindow=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(a.default.findDOMNode(m.track)){var t=i({listRef:m.list,trackRef:m.track},m.props,m.state);m.updateState(t,e,(function(){m.props.autoplay?m.autoPlay("update"):m.pause("paused")})),m.setState({animating:!1}),clearTimeout(m.animationEndCallback),delete m.animationEndCallback}},m.updateState=function(e,t,n){var r=(0,c.initializedState)(e);e=i({},e,r,{slideIndex:r.currentSlide});var a=(0,c.getTrackLeft)(e);e=i({},e,{left:a});var s=(0,c.getTrackCSS)(e);(t||o.default.Children.count(m.props.children)!==o.default.Children.count(e.children))&&(r.trackStyle=s),m.setState(r,n)},m.ssrInit=function(){if(m.props.variableWidth){var e=0,t=0,n=[],r=(0,c.getPreClones)(i({},m.props,m.state,{slideCount:m.props.children.length})),a=(0,c.getPostClones)(i({},m.props,m.state,{slideCount:m.props.children.length}));m.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var s=0;s<r;s++)t+=n[n.length-1-s],e+=n[n.length-1-s];for(var u=0;u<a;u++)e+=n[u];for(var l=0;l<m.state.currentSlide;l++)t+=n[l];var d={width:e+"px",left:-t+"px"};if(m.props.centerMode){var f=n[m.state.currentSlide]+"px";d.left="calc("+d.left+" + (100% - "+f+") / 2 ) "}m.setState({trackStyle:d})}else{var p=o.default.Children.count(m.props.children),h=i({},m.props,m.state,{slideCount:p}),v=(0,c.getPreClones)(h)+(0,c.getPostClones)(h)+p,g=100/m.props.slidesToShow*v,y=100/v,b=-y*((0,c.getPreClones)(h)+m.state.currentSlide)*g/100;m.props.centerMode&&(b+=(100-y*g/100)/2);var _={width:g+"%",left:b+"%"};m.setState({slideWidth:y+"%",trackStyle:_})}},m.checkImagesLoad=function(){var e=document.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){var r=function(){return++n&&n>=t&&m.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(m.props.lazyLoad?e.onload=function(){m.adaptHeight(),m.callbackTimers.push(setTimeout(m.onWindowResized,m.props.speed))}:(e.onload=r,e.onerror=function(){r(),m.props.onLazyLoadError&&m.props.onLazyLoadError()}))}))},m.progressiveLazyLoad=function(){for(var e=[],t=i({},m.props,m.state),n=m.state.currentSlide;n<m.state.slideCount+(0,c.getPostClones)(t);n++)if(m.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=m.state.currentSlide-1;r>=-(0,c.getPreClones)(t);r--)if(m.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}e.length>0?(m.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),m.props.onLazyLoad&&m.props.onLazyLoad(e)):m.lazyLoadTimer&&(clearInterval(m.lazyLoadTimer),delete m.lazyLoadTimer)},m.slideHandler=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=m.props,r=n.asNavFor,o=n.beforeChange,a=n.onLazyLoad,s=n.speed,u=n.afterChange,l=m.state.currentSlide,d=(0,c.slideHandler)(i({index:e},m.props,m.state,{trackRef:m.track,useCSS:m.props.useCSS&&!t})),f=d.state,p=d.nextState;if(f){o&&o(l,f.currentSlide);var h=f.lazyLoadedList.filter((function(e){return m.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),m.setState(f,(function(){r&&r.innerSlider.state.currentSlide!==l&&r.innerSlider.slideHandler(e),p&&(m.animationEndCallback=setTimeout((function(){var e=p.animating,t=v(p,["animating"]);m.setState(t,(function(){m.callbackTimers.push(setTimeout((function(){return m.setState({animating:e})}),10)),u&&u(f.currentSlide),delete m.animationEndCallback}))}),s))}))}},m.changeSlide=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=i({},m.props,m.state),r=(0,c.changeSlide)(n,e);(0===r||r)&&(!0===t?m.slideHandler(r,t):m.slideHandler(r))},m.clickHandler=function(e){!1===m.clickable&&(e.stopPropagation(),e.preventDefault()),m.clickable=!0},m.keyHandler=function(e){var t=(0,c.keyHandler)(e,m.props.accessibility,m.props.rtl);""!==t&&m.changeSlide({message:t})},m.selectHandler=function(e){m.changeSlide(e)},m.disableBodyScroll=function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}},m.enableBodyScroll=function(){window.ontouchmove=null},m.swipeStart=function(e){m.props.verticalSwiping&&m.disableBodyScroll();var t=(0,c.swipeStart)(e,m.props.swipe,m.props.draggable);""!==t&&m.setState(t)},m.swipeMove=function(e){var t=(0,c.swipeMove)(e,i({},m.props,m.state,{trackRef:m.track,listRef:m.list,slideIndex:m.state.currentSlide}));t&&(t.swiping&&(m.clickable=!1),m.setState(t))},m.swipeEnd=function(e){var t=(0,c.swipeEnd)(e,i({},m.props,m.state,{trackRef:m.track,listRef:m.list,slideIndex:m.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,m.setState(t),void 0!==n&&(m.slideHandler(n),m.props.verticalSwiping&&m.enableBodyScroll())}},m.slickPrev=function(){m.callbackTimers.push(setTimeout((function(){return m.changeSlide({message:"previous"})}),0))},m.slickNext=function(){m.callbackTimers.push(setTimeout((function(){return m.changeSlide({message:"next"})}),0))},m.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";m.callbackTimers.push(setTimeout((function(){return m.changeSlide({message:"index",index:e,currentSlide:m.state.currentSlide},t)}),0))},m.play=function(){var e;if(m.props.rtl)e=m.state.currentSlide-m.props.slidesToScroll;else{if(!(0,c.canGoNext)(i({},m.props,m.state)))return!1;e=m.state.currentSlide+m.props.slidesToScroll}m.slideHandler(e)},m.autoPlay=function(e){m.autoplayTimer&&clearInterval(m.autoplayTimer);var t=m.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;m.autoplayTimer=setInterval(m.play,m.props.autoplaySpeed+50),m.setState({autoplaying:"playing"})},m.pause=function(e){m.autoplayTimer&&(clearInterval(m.autoplayTimer),m.autoplayTimer=null);var t=m.state.autoplaying;"paused"===e?m.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||m.setState({autoplaying:"focused"}):"playing"===t&&m.setState({autoplaying:"hovered"})},m.onDotsOver=function(){return m.props.autoplay&&m.pause("hovered")},m.onDotsLeave=function(){return m.props.autoplay&&"hovered"===m.state.autoplaying&&m.autoPlay("leave")},m.onTrackOver=function(){return m.props.autoplay&&m.pause("hovered")},m.onTrackLeave=function(){return m.props.autoplay&&"hovered"===m.state.autoplaying&&m.autoPlay("leave")},m.onSlideFocus=function(){return m.props.autoplay&&m.pause("focused")},m.onSlideBlur=function(){return m.props.autoplay&&"focused"===m.state.autoplaying&&m.autoPlay("blur")},m.render=function(){var e,t,n,r=(0,l.default)("slick-slider",m.props.className,{"slick-vertical":m.props.vertical,"slick-initialized":!0}),a=i({},m.props,m.state),s=(0,c.extractObject)(a,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),u=m.props.pauseOnHover;if(s=i({},s,{onMouseEnter:u?m.onTrackOver:null,onMouseLeave:u?m.onTrackLeave:null,onMouseOver:u?m.onTrackOver:null,focusOnSelect:m.props.focusOnSelect?m.selectHandler:null}),!0===m.props.dots&&m.state.slideCount>=m.props.slidesToShow){var h=(0,c.extractObject)(a,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=m.props.pauseOnDotsHover;h=i({},h,{clickHandler:m.changeSlide,onMouseEnter:v?m.onDotsLeave:null,onMouseOver:v?m.onDotsOver:null,onMouseLeave:v?m.onDotsLeave:null}),e=o.default.createElement(f.Dots,h)}var g=(0,c.extractObject)(a,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=m.changeSlide,m.props.arrows&&(t=o.default.createElement(p.PrevArrow,g),n=o.default.createElement(p.NextArrow,g));var y=null;m.props.vertical&&(y={height:m.state.listHeight});var b=null;!1===m.props.vertical?!0===m.props.centerMode&&(b={padding:"0px "+m.props.centerPadding}):!0===m.props.centerMode&&(b={padding:m.props.centerPadding+" 0px"});var _=i({},y,b),w=m.props.touchMove,k={className:"slick-list",style:_,onClick:m.clickHandler,onMouseDown:w?m.swipeStart:null,onMouseMove:m.state.dragging&&w?m.swipeMove:null,onMouseUp:w?m.swipeEnd:null,onMouseLeave:m.state.dragging&&w?m.swipeEnd:null,onTouchStart:w?m.swipeStart:null,onTouchMove:m.state.dragging&&w?m.swipeMove:null,onTouchEnd:w?m.swipeEnd:null,onTouchCancel:m.state.dragging&&w?m.swipeEnd:null,onKeyDown:m.props.accessibility?m.keyHandler:null},E={className:r,dir:"ltr"};return m.props.unslick&&(k={className:"slick-list"},E={className:r}),o.default.createElement("div",E,m.props.unslick?"":t,o.default.createElement("div",i({ref:m.listRefHandler},k),o.default.createElement(d.Track,i({ref:m.trackRefHandler},s),m.props.children)),m.props.unslick?"":n,m.props.unslick?"":e)},m.list=null,m.track=null,m.state=i({},s.default,{currentSlide:m.props.initialSlide,slideCount:o.default.Children.count(m.props.children)}),m.callbackTimers=[],m.clickable=!0,m.debouncedResize=null,m}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}(o.default.Component)},5798:function(e,t,n){"use strict";t.__esModule=!0;var r=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},i=l(n(67294)),o=n(58517),a=l(n(80973)),s=l(n(23492)),u=n(15518);function l(e){return e&&e.__esModule?e:{default:e}}var c=(0,u.canUseDOM)()&&n(24974),d=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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.call(this,n));return r.innerSliderRefHandler=function(e){return r.innerSlider=e},r.slickPrev=function(){return r.innerSlider.slickPrev()},r.slickNext=function(){return r.innerSlider.slickNext()},r.slickGoTo=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)},r.slickPause=function(){return r.innerSlider.pause("paused")},r.slickPlay=function(){return r.innerSlider.autoPlay("play")},r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}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.media=function(e,t){c.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})},t.prototype.componentWillMount=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=void 0;i=0===r?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,u.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,u.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}},t.prototype.componentWillUnmount=function(){this._responsiveMediaHandlers.forEach((function(e){c.unregister(e.query,e.handler)}))},t.prototype.render=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":r({},s.default,this.props,t[0].settings):r({},s.default,this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=i.default.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var u=[],l=null,c=0;c<a.length;c+=e.rows*e.slidesPerRow){for(var d=[],f=c;f<c+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var p=[],h=f;h<f+e.slidesPerRow&&(e.variableWidth&&a[h].props.style&&(l=a[h].props.style.width),!(h>=a.length));h+=1)p.push(i.default.cloneElement(a[h],{key:100*c+10*f+h,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));d.push(i.default.createElement("div",{key:10*c+f},p))}e.variableWidth?u.push(i.default.createElement("div",{key:c,style:{width:l}},d)):u.push(i.default.createElement("div",{key:c},d))}if("unslick"===e){var m="regular slider "+(this.props.className||"");return i.default.createElement("div",{className:m},u)}return u.length<=e.slidesToShow&&(e.unslick=!0),i.default.createElement(o.InnerSlider,r({ref:this.innerSliderRefHandler},e),u)},t}(i.default.Component);t.default=d},64740:function(e,t,n){"use strict";t.__esModule=!0,t.Track=void 0;var r=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},i=s(n(67294)),o=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 c=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.currentSlide}},d=function(e,t){return e.key||t},f=function(e){var t,n=[],s=[],u=[],l=i.default.Children.count(e.children),f=(0,a.lazyStartIndex)(e),p=(0,a.lazyEndIndex)(e);return i.default.Children.forEach(e.children,(function(h,m){var v=void 0,g={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};v=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?h:i.default.createElement("div",null);var y=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,t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase,t.WebkitTransition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase),t}(r({},e,{index:m})),b=v.props.className||"",_=c(r({},e,{index:m}));if(n.push(i.default.cloneElement(v,{key:"original"+d(v,m),"data-index":m,className:(0,o.default)(_,b),tabIndex:"-1","aria-hidden":!_["slick-active"],style:r({outline:"none"},v.props.style||{},y),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})),e.infinite&&!1===e.fade){var w=l-m;w<=(0,a.getPreClones)(e)&&l!==e.slidesToShow&&((t=-w)>=f&&(v=h),_=c(r({},e,{index:t})),s.push(i.default.cloneElement(v,{key:"precloned"+d(v,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},v.props.style||{},y),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}}))),l!==e.slidesToShow&&((t=l+m)<p&&(v=h),_=c(r({},e,{index:t})),u.push(i.default.cloneElement(v,{key:"postcloned"+d(v,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(_,b),"aria-hidden":!_["slick-active"],style:r({},v.props.style||{},y),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(g)}})))}})),e.rtl?s.concat(n,u).reverse():s.concat(n,u)};t.Track=function(e){function t(){return u(this,t),l(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.render=function(){var e=f(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return i.default.createElement("div",r({className:"slick-track",style:this.props.trackStyle},n),e)},t}(i.default.PureComponent)},15518:function(e,t,n){"use strict";t.__esModule=!0,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var r=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},i=a(n(67294)),o=a(n(73935));function a(e){return e&&e.__esModule?e:{default:e}}var s=t.getOnDemandLazySlides=function(e){for(var t=[],n=u(e),r=l(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},u=(t.getRequiredLazySlides=function(e){for(var t=[],n=u(e),r=l(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-c(e)}),l=t.lazyEndIndex=function(e){return e.currentSlide+d(e)},c=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},d=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},f=t.getWidth=function(e){return e&&e.offsetWidth||0},p=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=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"},m=t.canGoNext=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},v=(t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t=i.default.Children.count(e.children),n=Math.ceil(f(o.default.findDOMNode(e.listRef))),r=Math.ceil(f(o.default.findDOMNode(e.trackRef))),a=void 0;if(e.vertical)a=n;else{var u=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(u*=n/100),a=Math.ceil((n-u)/e.slidesToShow)}var l=o.default.findDOMNode(e.listRef)&&p(o.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),c=l*e.slidesToShow,d=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(d=t-1-e.initialSlide);var h=e.lazyLoadedList||[],m=s({currentSlide:d,lazyLoadedList:h},e);h.concat(m);var v={slideCount:t,slideWidth:a,listWidth:n,trackWidth:r,currentSlide:d,slideHeight:l,listHeight:c,lazyLoadedList:h};return null===e.autoplaying&&e.autoplay&&(v.autoplaying="playing"),v},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,i=e.fade,o=e.infinite,a=e.index,u=e.slideCount,l=e.lazyLoadedList,c=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,v=e.useCSS;if(t&&n)return{};var g=a,y=void 0,b=void 0,E=void 0,x={},S={};if(i){if(!o&&(a<0||a>=u))return{};a<0?g=a+u:a>=u&&(g=a-u),c&&l.indexOf(g)<0&&l.push(g),x={animating:!0,currentSlide:g,lazyLoadedList:l},S={animating:!1}}else y=g,g<0?(y=g+u,o?u%p!=0&&(y=u-u%p):y=0):!m(e)&&g>d?g=y=d:f&&g>=u?(g=o?u:u-1,y=o?0:u-1):g>=u&&(y=g-u,o?u%p!=0&&(y=0):y=u-h),b=k(r({},e,{slideIndex:g})),E=k(r({},e,{slideIndex:y})),o||(b===E&&(g=y),b=E),c&&l.concat(s(r({},e,{currentSlide:g}))),v?(x={animating:!0,currentSlide:y,trackStyle:w(r({},e,{left:b})),lazyLoadedList:l},S={animating:!1,currentSlide:y,trackStyle:_(r({},e,{left:E})),swipeLeft:null}):x={currentSlide:y,trackStyle:_(r({},e,{left:E})),lazyLoadedList:l};return{state:x,nextState:S}},t.changeSlide=function(e,t){var n,i,o,a,s=e.slidesToScroll,u=e.slidesToShow,l=e.slideCount,c=e.currentSlide,d=e.lazyLoad,f=e.infinite;if(n=l%s!=0?0:(l-c)%s,"previous"===t.message)a=c-(o=0===n?s:u-n),d&&!f&&(a=-1===(i=c-o)?l-1:i);else if("next"===t.message)a=c+(o=0===n?s:n),d&&!f&&(a=(c+s)%l+n);else if("dots"===t.message){if((a=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((a=t.index)===t.currentSlide)return null;if(f){var p=T(r({},e,{targetSlide:a}));a>t.currentSlide&&"left"===p?a-=l:a<t.currentSlide&&"right"===p&&(a+=l)}}else if("index"===t.message&&(a=Number(t.index))===t.currentSlide)return null;return a},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&&e.preventDefault(),!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,i=t.animating,o=t.vertical,a=t.swipeToSlide,s=t.verticalSwiping,u=t.rtl,l=t.currentSlide,c=t.edgeFriction,d=t.edgeDragged,f=t.onEdge,p=t.swiped,v=t.swiping,g=t.slideCount,y=t.slidesToScroll,b=t.infinite,w=t.touchObject,E=t.swipeEvent,x=t.listHeight,S=t.listWidth;if(!n){if(i)return e.preventDefault();o&&a&&s&&e.preventDefault();var T=void 0,C={},A=k(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var O=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!v&&O>10)return{scrolling:!0};s&&(w.swipeLength=O);var N=(u?-1:1)*(w.curX>w.startX?1:-1);s&&(N=w.curY>w.startY?1:-1);var P=Math.ceil(g/y),I=h(t.touchObject,s),L=w.swipeLength;return b||(0===l&&"right"===I||l+1>=P&&"left"===I||!m(t)&&"left"===I)&&(L=w.swipeLength*c,!1===d&&f&&(f(I),C.edgeDragged=!0)),!p&&E&&(E(I),C.swiped=!0),T=o?A+L*(x/S)*N:u?A-L*N:A+L*N,s&&(T=A+L*N),C=r({},C,{touchObject:w,swipeLeft:T,trackStyle:_(r({},t,{left:T}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?C:(w.swipeLength>10&&(C.swiping=!0,e.preventDefault()),C)}},t.swipeEnd=function(e,t){var n=t.dragging,i=t.swipe,o=t.touchObject,a=t.listWidth,s=t.touchThreshold,u=t.verticalSwiping,l=t.listHeight,c=t.currentSlide,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var m=u?l/s:a/s,v=h(o,u),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return b;if(!o.swipeLength)return b;if(o.swipeLength>m){e.preventDefault(),p&&p(v);var _=void 0,E=void 0;switch(v){case"left":case"up":E=c+y(t),_=d?g(t,E):E,b.currentDirection=0;break;case"right":case"down":E=c-y(t),_=d?g(t,E):E,b.currentDirection=1;break;default:_=c}b.triggerSlideHandler=_}else{var x=k(t);b.trackStyle=w(r({},t,{left:x}))}return b},t.getNavigableIndexes=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}),g=t.checkNavigable=function(e,t){var n=v(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},y=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,r=o.default.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+p(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+f(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},b=t.checkSpecKeys=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},_=t.getTrackCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,i=e.slideCount+2*e.slidesToShow;e.vertical?n=i*e.slideHeight:t=S(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",u=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:a,transform:s,msTransform:u})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},w=t.getTrackAnimateCSS=function(e){b(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(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},k=t.getTrackLeft=function(e){if(e.unslick)return 0;b(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,a=e.infinite,s=e.centerMode,u=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,d=e.slideWidth,f=e.listWidth,p=e.variableWidth,h=e.slideHeight,m=e.fade,v=e.vertical;if(m||1===e.slideCount)return 0;var g=0;if(a?(g=-E(e),u%c!=0&&r+c>u&&(g=-(r>u?l-(r-u):u%c)),s&&(g+=parseInt(l/2))):(u%c!=0&&r+c>u&&(g=l-u%c),s&&(g=parseInt(l/2))),t=v?r*h*-1+g*h:r*d*-1+g*d,!0===p){var y,_=o.default.findDOMNode(i);if(y=r+E(e),t=(n=_&&_.childNodes[y])?-1*n.offsetLeft:0,!0===s){y=a?r+E(e):r,n=_&&_.children[y],t=0;for(var w=0;w<y;w++)t-=_&&_.children[w]&&_.children[w].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(f-n.offsetWidth)/2}}return t},E=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},x=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},S=t.getTotalSlides=function(e){return 1===e.slideCount?1:E(e)+e.slideCount+x(e)},T=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+C(e)?"left":"right":e.targetSlide<e.currentSlide-A(e)?"right":"left"},C=t.slidesOnRight=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},A=t.slidesOnLeft=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.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},64207:function(e,t,n){"use strict";n.r(t);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__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},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+=1){var i=r[n];e.call(t,i[1],i[0])}},Object.defineProperties(t.prototype,n),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"],u="undefined"!=typeof MutationObserver,l=function(){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&&u()}function s(){a(o)}function u(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return u}(this.refresh.bind(this),20)};l.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},l.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},l.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},l.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},l.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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)},l.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)},l.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),s.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},l.getInstance=function(){return this.instance_||(this.instance_=new l),this.instance_},l.instance_=null;var c=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n+=1){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},f=y(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=e["padding-"+i];t[i]=p(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),u=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var l=Math.round(s+o)-t,c=Math.round(u+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(c)&&(u-=c)}return y(i.left,i.top,s,u)}var v="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?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):f}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var b=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e};b.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var _=function(e,t){var n,r,i,o,a,s,u,l=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),c(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);c(this,{target:e,contentRect:l})},w=function(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};w.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 b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},w.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))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},w.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0};var k="undefined"!=typeof WeakMap?new WeakMap:new r,E=function(e){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 t=l.getInstance(),n=new w(e,t,this);k.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){return(t=k.get(this))[e].apply(t,arguments);var t}}));var x=void 0!==o.ResizeObserver?o.ResizeObserver:E;t.default=x},16713:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294);t.default=function(e){r.useEffect(e,[])}},73969:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),i=n(85987).isClient?window:null,o=function(e){return!!e.addEventListener},a=function(e){return!!e.on};t.default=function(e,t,n,s){void 0===n&&(n=i),r.useEffect((function(){if(t&&n)return o(n)?n.addEventListener(e,t,s):a(n)&&n.on(e,t,s),function(){o(n)?n.removeEventListener(e,t,s):a(n)&&n.off(e,t,s)}}),[e,t,n,JSON.stringify(s)])}},91784:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294);t.useFirstMountState=function(){var e=r.useRef(!0);return e.current?(e.current=!1,!0):e.current}},52185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70655),i=n(67294),o=r.__importDefault(n(73969)),a=function(){};t.default=function(e,t,n,r){void 0===t&&(t=a),void 0===n&&(n={}),void 0===r&&(r=[e]);var s=n.event,u=void 0===s?"keydown":s,l=n.target,c=n.options,d=i.useMemo((function(){var n,r="function"==typeof(n=e)?n:"string"==typeof n?function(e){return e.key===n}:n?function(){return!0}:function(){return!1};return function(e){if(r(e))return t(e)}}),r);o.default(u,d,l,c)}},13576:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70655),i=n(67294),o=r.__importDefault(n(52185));t.default=function(e){var t=i.useState([!1,null]),n=t[0],r=t[1];return o.default(e,(function(e){return r([!0,e])}),{event:"keydown"},[n]),o.default(e,(function(e){return r([!1,e])}),{event:"keyup"},[n]),n}},98114:function(e,t,n){"use strict";var r=n(70655),i=r.__importDefault(n(13576)),o=r.__importDefault(n(21794));t.Z=function(e,t,n,r){void 0===r&&(r=i.default);var a=r(e),s=a[0],u=a[1];o.default((function(){!s&&n?n(u):s&&t&&t(u)}),[s])}},38324:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e,t){r.useEffect((function(){return e&&e(),function(){t&&t()}}),[])}},70902:function(e,t,n){"use strict";var r=n(70655).__importDefault(n(16713));t.Z=function(e){r.default((function(){e()}))}},68434:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},21794:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(67294),i=n(91784);t.default=function(e,t){var n=i.useFirstMountState();r.useEffect((function(){if(!n)return e()}),t)}},85987:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isClient="object"==typeof window,t.on=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.addEventListener.apply(e,t)},t.off=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return e.removeEventListener.apply(e,t)},t.isDeepEqual=n(38252)},17635:function(e,t,n){"use strict";var r=n(60139),i=n(73759),o=n(36684);e.exports=function(){function e(e,t,n,r,a,s){s!==o&&i(!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")}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,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},98022:function(e,t,n){e.exports=n(17635)()},36684:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},38439:function(e,t,n){"use strict";e.exports=n(60698)},60698:function(e,t,n){"use strict";t.default=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));function i(){return 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},i.apply(this,arguments)}var o=function(e){var t=function(t,n){return r.default.createElement(e,i({},t,{forwardedRef:n}))},n=e.displayName||e.name;return t.displayName="withForwardedRef(".concat(n,")"),(0,r.forwardRef)(t)};t.default=o},72408:function(e,t,n){"use strict";var r=n(27418),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="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 y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=_.prototype;var E=k.prototype=new w;E.constructor=k,r(E,_.prototype),E.isPureReactComponent=!0;var x={current:null},S=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,i={},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)S.call(t,r)&&!T.hasOwnProperty(r)&&(i[r]=t[r]);var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===i[r]&&(i[r]=u[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:x.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g,N=[];function P(e,t,n,r){if(N.length){var i=N.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function L(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+R(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){var l=t+R(i=e[u],u);s+=L(i,l,n,r)}else if(null===e||"object"!=typeof e?l=null:l="function"==typeof(l=v&&e[v]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),u=0;!(i=e.next()).done;)s+=L(i=i.value,l=t+R(i,u++),n,r);else if("object"===i)throw n=""+e,Error(g(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function M(e,t,n){return null==e?0:L(e,"",t,n)}function R(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 D(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,r,n,(function(e){return e})):null!=e&&(A(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n)),r.push(e))}function j(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(O,"$&/")+"/"),M(e,q,t=P(t,o,r,i)),I(t)}var F={current:null};function B(){var e=F.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return j(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,D,t=P(null,null,t,n)),I(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!A(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=l,t.PureComponent=k,t.StrictMode=u,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,u=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)S.call(t,c)&&!T.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];i.children=l}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.13.1"},67294:function(e,t,n){"use strict";e.exports=n(72408)},89524:function(e){e.exports=function(e){return function(t){return function(n){n&&"function"==typeof n.fork?n.fork(e.dispatch,e.dispatch):t(n)}}}},43372:function(e,t,n){"use strict";var r=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};var i=n(70936);var o,a=(o="function",function(e){return(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)===o;var t});t.Z=function(e){return function(t){var n=t.dispatch,o=function(t){return t&&a(t[e])};return function(t){return function(a){return(0,i.isFSA)(a)?o(a.payload)?n(r({},a,{payload:a.payload[e]()})):t(a):o(a)?n(a[e]()):t(a)}}}}},97196:function(e,t,n){"use strict";t.__esModule=!0;var r=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};t.default=function(e){var t=e.dispatch;return function(e){return function(n){return i.isFSA(n)?o(n.payload)?n.payload.then((function(e){return t(r({},n,{payload:e}))}),(function(e){return t(r({},n,{payload:e,error:!0}))})):e(n):o(n)?n.then(t):e(n)}}};var i=n(70936);function o(e){return e&&"function"==typeof e.then}e.exports=t.default},59681:function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"==typeof i?i(n,r,e):t(i)}}}}var r=n();r.withExtraArgument=n,t.Z=r},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n,r){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(e,t,n){var r=c;return function(i,o){if(r===f)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return O()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(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===c)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?p:d,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var c="suspendedStart",d="suspendedYield",f="executing",p="completed",h={};function m(){}function v(){}function g(){}var y={};y[o]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(A([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function E(e){function t(n,i,o,a){var s=l(e[n],e,i);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&r.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){u.value=e,o(u)}),(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 x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,h;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:O}}function O(){return{value:t,done:!0}}return v.prototype=w.constructor=g,g.constructor=v,g[s]=v.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},k(E.prototype),E.prototype[a]=function(){return this},e.AsyncIterator=E,e.async=function(t,n,r,i){var o=new E(u(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},k(w),w[s]="Generator",w[o]=function(){return this},w.toString=function(){return"[object Generator]"},e.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}},e.values=A,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},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 n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;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),T(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;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},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),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)}},75974:function(e){e.exports=function(e,t){var n,r=null;try{n=JSON.parse(e,t)}catch(e){r=e}return[r,n]}},38289:function(e,t,n){"use strict";var r=n(23719),i=n(47529),o=n(91658),a=n(83465),s=n(38554),u=n(36084),l=n(13200);function c(e,t){e&&Object.keys(e).forEach((function(n){t(e[n],n)}))}function d(e,t){return{}.hasOwnProperty.call(e,t)}function f(e,t){var n=[];return c(e,(function(e){t(e)&&n.push(e)})),n}e.exports=h;var p=/^[^\0\t\n\f\r /<=>]+$/;function h(e,t,n){var v="";function g(e,t){var n=this;this.tag=e,this.attribs=t||{},this.tagPosition=v.length,this.text="",this.updateParentNodeText=function(){S.length&&(S[S.length-1].text+=n.text)}}t?(t=i(h.defaults,t)).parser?t.parser=i(m,t.parser):t.parser=m:(t=h.defaults).parser=m;var y,b,_=t.nonTextTags||["script","style","textarea"];t.allowedAttributes&&(y={},b={},c(t.allowedAttributes,(function(e,t){y[t]=[];var n=[];e.forEach((function(e){e.indexOf("*")>=0?n.push(o(e).replace(/\\\*/g,".*")):y[t].push(e)})),b[t]=new RegExp("^("+n.join("|")+")$")})));var w={};c(t.allowedClasses,(function(e,t){y&&(d(y,t)||(y[t]=[]),y[t].push("class")),w[t]=e}));var k,E={};c(t.transformTags,(function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=h.simpleTransform(e)),"*"===t?k=n:E[t]=n}));var x=0,S=[],T={},C={},A=!1,O=0,N=new r.Parser({onopentag:function(e,n){if(A)O++;else{var r=new g(e,n);S.push(r);var i,o=!1,h=!!r.text;d(E,e)&&(i=E[e](e,n),r.attribs=n=i.attribs,void 0!==i.text&&(r.innerText=i.text),e!==i.tagName&&(r.name=e=i.tagName,C[x]=i.tagName)),k&&(i=k(e,n),r.attribs=n=i.attribs,e!==i.tagName&&(r.name=e=i.tagName,C[x]=i.tagName)),t.allowedTags&&-1===t.allowedTags.indexOf(e)&&(o=!0,-1!==_.indexOf(e)&&(A=!0,O=1),T[x]=!0),x++,o||(v+="<"+e,(!y||d(y,e)||y["*"])&&c(n,(function(n,i){if(p.test(i))if(!y||d(y,e)&&-1!==y[e].indexOf(i)||y["*"]&&-1!==y["*"].indexOf(i)||d(b,e)&&b[e].test(i)||b["*"]&&b["*"].test(i)){if(("href"===i||"src"===i)&&I(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(c(o=u.parse(n),(function(e){I("srcset",e.url)&&(e.evil=!0)})),!(o=f(o,(function(e){return!e.evil}))).length)return void delete r.attribs[i];n=u.stringify(f(o,(function(e){return!e.evil}))),r.attribs[i]=n}catch(e){return void delete r.attribs[i]}if("class"===i&&!(n=function(e,t){if(!t)return e;return(e=e.split(/\s+/)).filter((function(e){return-1!==t.indexOf(e)})).join(" ")}(n,w[e])).length)return void delete r.attribs[i];if("style"===i)try{var h=function(e,t){if(!t)return e;var n,r=a(e),i=e.nodes[0];n=t[i.selector]&&t["*"]?s(a(t[i.selector]),t["*"],(function(e,t){if(Array.isArray(e))return e.concat(t)})):t[i.selector]||t["*"];n&&(r.nodes[0].nodes=i.nodes.reduce(function(e){return function(t,n){e.hasOwnProperty(n.prop)&&(e[n.prop].some((function(e){return e.test(n.value)}))&&t.push(n));return t}}(n),[]));return r}(l.parse(e+" {"+n+"}"),t.allowedStyles);if(n=function(e){return e.nodes[0].nodes.reduce((function(e,t){return e.push(t.prop+":"+t.value+";"),e}),[]).join("")}(h),0===n.length)return void delete r.attribs[i]}catch(e){return void delete r.attribs[i]}v+=" "+i,n.length&&(v+='="'+P(n)+'"')}else delete r.attribs[i];else delete r.attribs[i]})),-1!==t.selfClosing.indexOf(e)?v+=" />":(v+=">",!r.innerText||h||t.textFilter||(v+=r.innerText)))}},ontext:function(e){if(!A){var n,r=S[S.length-1];if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),"script"===n||"style"===n)v+=e;else{var i=P(e);t.textFilter?v+=t.textFilter(i):v+=i}if(S.length)S[S.length-1].text+=e}},onclosetag:function(e){if(A){if(--O)return;A=!1}var n=S.pop();if(n){if(A=!1,x--,T[x])return delete T[x],void n.updateParentNodeText();C[x]&&(e=C[x],delete C[x]),t.exclusiveFilter&&t.exclusiveFilter(n)?v=v.substr(0,n.tagPosition):(n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)&&(v+="</"+e+">"))}}},t.parser);return N.write(e),N.end(),v;function P(e){return"string"!=typeof e&&(e+=""),e.replace(/\&/g,"&amp;").replace(/</g,"&lt;").replace(/\>/g,"&gt;").replace(/\"/g,"&quot;")}function I(e,n){var r=(n=(n=n.replace(/[\x00-\x20]+/g,"")).replace(/<\!\-\-.*?\-\-\>/g,"")).match(/^([a-zA-Z]+)\:/);if(!r)return!!n.match(/^[\/\\]{2}/)&&!t.allowProtocolRelative;var i=r[1].toLowerCase();return d(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}}var m={decodeEntities:!0};h.defaults={allowedTags:["h3","h4","h5","h6","blockquote","p","a","ul","ol","nl","li","b","i","strong","em","strike","code","hr","br","div","table","thead","caption","tbody","tr","th","td","pre"],allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto"],allowedSchemesByTag:{},allowProtocolRelative:!0},h.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){var o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},12650:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(66808);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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.call(this,n));return r.type="atrule",r}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.append=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.prototype.append).call.apply(t,[this].concat(r))},t.prototype.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},91569:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(83454);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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.call(this,n));return r.type="comment",r}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}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},66808:function(e,t,n){"use strict";t.__esModule=!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=a(n(85232)),o=a(n(91569));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 l(e){return e.map((function(e){return e.nodes&&(e.nodes=l(e.nodes)),delete e.source,e}))}var c=function(e){function t(){return s(this,t),u(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.push=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],!1!==(r=e(this.nodes[n],n)));)this.indexes[t]+=1;return delete this.indexes[t],r}},t.prototype.walk=function(e){return this.each((function(t,n){var r=e(t,n);return!1!==r&&t.walk&&(r=t.walk(e)),r}))},t.prototype.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("decl"===e.type)return t(e,n)})))},t.prototype.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("rule"===e.type)return t(e,n)})))},t.prototype.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("atrule"===e.type)return t(e,n)})))},t.prototype.walkComments=function(e){return this.walk((function(t,n){if("comment"===t.type)return e(t,n)}))},t.prototype.append=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a,u=this.normalize(s,this.last),l=u,c=Array.isArray(l),d=0;for(l=c?l:l[Symbol.iterator]();;){var f;if(c){if(d>=l.length)break;f=l[d++]}else{if((d=l.next()).done)break;f=d.value}var p=f;this.nodes.push(p)}}return this},t.prototype.prepend=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t=t.reverse(),i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a,u=this.normalize(s,this.first,"prepend").reverse(),l=u,c=Array.isArray(l),d=0;for(l=c?l:l[Symbol.iterator]();;){var f;if(c){if(d>=l.length)break;f=l[d++]}else{if((d=l.next()).done)break;f=d.value}var p=f;this.nodes.unshift(p)}for(var h in this.indexes)this.indexes[h]=this.indexes[h]+u.length}return this},t.prototype.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes){var n=this.nodes,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}o.cleanRaws(t)}}},t.prototype.insertBefore=function(e,t){var n=0===(e=this.index(e))&&"prepend",r=this.normalize(t,this.nodes[e],n).reverse(),i=r,o=Array.isArray(i),a=0;for(i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if((a=i.next()).done)break;s=a.value}var u=s;this.nodes.splice(e,0,u)}var l=void 0;for(var c in this.indexes)e<=(l=this.indexes[c])&&(this.indexes[c]=l+r.length);return this},t.prototype.insertAfter=function(e,t){e=this.index(e);var n=this.normalize(t,this.nodes[e]).reverse(),r=n,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a;this.nodes.splice(e+1,0,s)}var u=void 0;for(var l in this.indexes)e<(u=this.indexes[l])&&(this.indexes[l]=u+n.length);return this},t.prototype.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},t.prototype.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,n))})),this},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.normalize=function(e,t){var r=this;if("string"==typeof e)e=l(n(11665)(e).nodes);else if(Array.isArray(e)){var a=e=e.slice(0),s=Array.isArray(a),u=0;for(a=s?a:a[Symbol.iterator]();;){var c;if(s){if(u>=a.length)break;c=a[u++]}else{if((u=a.next()).done)break;c=u.value}var d=c;d.parent&&d.parent.removeChild(d,"ignore")}}else if("root"===e.type){var f=e=e.nodes.slice(0),p=Array.isArray(f),h=0;for(f=p?f:f[Symbol.iterator]();;){var m;if(p){if(h>=f.length)break;m=f[h++]}else{if((h=f.next()).done)break;m=h.value}var v=m;v.parent&&v.parent.removeChild(v,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new i.default(e)]}else if(e.selector){e=[new(n(4485))(e)]}else if(e.name){e=[new(n(12650))(e)]}else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new o.default(e)]}var g=e.map((function(e){return"function"!=typeof e.before&&(e=r.rebuild(e)),e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=r,e}));return g},t.prototype.rebuild=function(e,t){var r=this,a=void 0;if("root"===e.type){var s=n(71283);a=new s}else if("atrule"===e.type){var u=n(12650);a=new u}else if("rule"===e.type){var l=n(4485);a=new l}else"decl"===e.type?a=new i.default:"comment"===e.type&&(a=new o.default);for(var c in e)"nodes"===c?a.nodes=e.nodes.map((function(e){return r.rebuild(e,a)})):"parent"===c&&t?a.parent=t:e.hasOwnProperty(c)&&(a[c]=e[c]);return a},r(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(a(n(83454)).default);t.default=c,e.exports=t.default},95373:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(89917)),i=a(n(30717)),o=a(n(84903));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t,n,r,i,o,a){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="CssSyntaxError",this.reason=t,o&&(this.file=o),i&&(this.source=i),a&&(this.plugin=a),void 0!==n&&void 0!==r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},e.prototype.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;void 0===e&&(e=r.default.stdout),e&&(n=(0,o.default)(n));var a=n.split(/\r?\n/),s=Math.max(this.line-3,0),u=Math.min(this.line+2,a.length),l=String(u).length;function c(t){return e&&i.default.red?i.default.red.bold(t):t}function d(t){return e&&i.default.gray?i.default.gray(t):t}return a.slice(s,u).map((function(e,n){var r=s+1+n,i=" "+(" "+r).slice(-l)+" | ";if(r===t.line){var o=d(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return c(">")+d(i)+e+"\n "+o+c("^")}return" "+d(i)+e})).join("\n")},e.prototype.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},e}();t.default=s,e.exports=t.default},85232:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(83454);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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.call(this,n));return r.type="decl",r}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}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},62627:function(e,t,n){"use strict";t.__esModule=!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(95373)),o=s(n(49470)),a=s(n(26470));function s(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=0,c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};u(this,e),this.css=t.toString(),"\ufeff"!==this.css[0]&&"￾"!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=a.default.resolve(n.from));var r=new o.default(this.css,n);if(r.text){this.map=r;var i=r.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}this.file||(l+=1,this.id="<input css "+l+">"),this.map&&(this.map.file=this.from)}return e.prototype.error=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,a=this.origin(t,n);return(o=a?new i.default(e,a.line,a.column,a.source,a.file,r.plugin):new i.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o},e.prototype.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var i={file:this.mapResolve(r.source),line:r.line,column:r.column},o=n.sourceContentFor(r.source);return o&&(i.source=o),i},e.prototype.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:a.default.resolve(this.map.consumer().sourceRoot||".",e)},r(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();t.default=c,e.exports=t.default},75673:function(e,t,n){"use strict";t.__esModule=!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="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=c(n(40429)),a=c(n(23179)),s=c(n(84133)),u=c(n(96641)),l=c(n(11665));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return"object"===(void 0===e?"undefined":i(e))&&"function"==typeof e.then}var f=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringified=!1,this.processed=!1;var o=void 0;if("object"===(void 0===n?"undefined":i(n))&&"root"===n.type)o=n;else if(n instanceof e||n instanceof u.default)o=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var a=l.default;r.syntax&&(a=r.syntax.parse),r.parser&&(a=r.parser),a.parse&&(a=a.parse);try{o=a(n,r)}catch(e){this.error=e}}this.result=new u.default(t,o,r)}return e.prototype.warnings=function(){return this.sync().warnings()},e.prototype.toString=function(){return this.css},e.prototype.then=function(e,t){return"from"in this.opts||(0,s.default)("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,t)},e.prototype.catch=function(e){return this.async().catch(e)},e.prototype.handleError=function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,i=this.result.processor.version,o=r.split("."),a=i.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+i+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}},e.prototype.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],i=this.run(r);this.plugin+=1,d(i)?i.then((function(){n.asyncTick(e,t)})).catch((function(e){n.handleError(e,r),n.processed=!0,t(e)})):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},e.prototype.async=function(){var e=this;return this.processed?new Promise((function(t,n){e.error?n(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},e.prototype.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;var e=this.result.processor.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var i=r;if(d(this.run(i)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},e.prototype.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},e.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=a.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new o.default(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},r(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();t.default=f,e.exports=t.default},30416:function(e,t){"use strict";t.__esModule=!0;var n={split:function(e,t,n){for(var r=[],i="",o=!1,a=0,s=!1,u=!1,l=0;l<e.length;l++){var c=e[l];s?u?u=!1:"\\"===c?u=!0:c===s&&(s=!1):'"'===c||"'"===c?s=c:"("===c?a+=1:")"===c?a>0&&(a-=1):0===a&&-1!==t.indexOf(c)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=c}return(n||""!==i)&&r.push(i.trim()),r},space:function(e){return n.split(e,[" ","\n","\t"])},comma:function(e){return n.split(e,[","],!0)}};t.default=n,e.exports=t.default},40429:function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(49125)),i=o(n(26470));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r}return e.prototype.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.prototype.previous=function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;-1===e.previousMaps.indexOf(n)&&e.previousMaps.push(n)}}))),this.previousMaps},e.prototype.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},e.prototype.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},e.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e=void 0,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},e.prototype.setSourcesContent=function(){var e=this,t={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var i=e.relative(r);e.map.setSourceContent(i,n.source.input.css)}}}))},e.prototype.applyPrevMaps=function(){var e=this.previous(),t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var o;if(t){if(n>=e.length)break;o=e[n++]}else{if((n=e.next()).done)break;o=n.value}var a=o,s=this.relative(a.file),u=a.root||i.default.dirname(a.file),l=void 0;!1===this.mapOpts.sourcesContent?(l=new r.default.SourceMapConsumer(a.text)).sourcesContent&&(l.sourcesContent=l.sourcesContent.map((function(){return null}))):l=a.consumer(),this.map.applySourceMap(l,s,this.relative(u))}},e.prototype.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},e.prototype.toBase64=function(e){return Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(e).toString("base64"):new Buffer(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},e.prototype.addAnnotation=function(){var e=void 0;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},e.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.prototype.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.prototype.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?i.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=i.default.dirname(i.default.resolve(t,this.mapOpts.annotation))),e=i.default.relative(t,e),"\\"===i.default.sep?e.replace(/\\/g,"/"):e},e.prototype.sourcePath=function(e){return this.mapOpts.from?this.mapOpts.from:this.relative(e.source.input.from)},e.prototype.generateString=function(){var e=this;this.css="",this.map=new r.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,i=void 0,o=void 0;this.stringify(this.root,(function(r,a,s){e.css+=r,a&&"end"!==s&&(a.source&&a.source.start?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.start.line,column:a.source.start.column-1}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}})),(i=r.match(/\n/g))?(t+=i.length,o=r.lastIndexOf("\n"),n=r.length-o):n+=r.length,a&&"start"!==s&&(a.source&&a.source.end?e.map.addMapping({source:e.sourcePath(a),generated:{line:t,column:n-1},original:{line:a.source.end.line,column:a.source.end.column}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}}))}))},e.prototype.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},e}();t.default=a,e.exports=t.default},83454:function(e,t,n){"use strict";t.__esModule=!0;var 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},i=u(n(95373)),o=u(n(7843)),a=u(n(23179)),s=u(n(84133));function u(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function e(t,n){var i=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],s=void 0===a?"undefined":r(a);"parent"===o&&"object"===s?n&&(i[o]=n):"source"===o?i[o]=a:a instanceof Array?i[o]=a.map((function(t){return e(t,i)})):("object"===s&&null!==a&&(a=e(a)),i[o]=a)}return i},d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(l(this,e),this.raws={},"object"!==(void 0===t?"undefined":r(t))&&void 0!==t)throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(t));for(var n in t)this[n]=t[n]}return e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new i.default(e)},e.prototype.warn=function(e,t,n){var r={node:this};for(var i in n)r[i]=n[i];return e.warn(t,r)},e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=c(this);for(var n in e)t[n]=e[n];return t},e.prototype.cloneBefore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t},e.prototype.cloneAfter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t},e.prototype.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,i=Array.isArray(r),o=0;for(r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if((o=r.next()).done)break;a=o.value}var s=a;this.parent.insertBefore(this,s)}this.remove()}return this},e.prototype.moveTo=function(e){return(0,s.default)("Node#moveTo was deprecated. Use Container#append."),this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this},e.prototype.moveBefore=function(e){return(0,s.default)("Node#moveBefore was deprecated. Use Node#before."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this},e.prototype.moveAfter=function(e){return(0,s.default)("Node#moveAfter was deprecated. Use Node#after."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this},e.prototype.next=function(){var e=this.parent.index(this);return this.parent.nodes[e+1]},e.prototype.prev=function(){var e=this.parent.index(this);return this.parent.nodes[e-1]},e.prototype.before=function(e){return this.parent.insertBefore(this,e),this},e.prototype.after=function(e){return this.parent.insertAfter(this,e),this},e.prototype.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map((function(e){return"object"===(void 0===e?"undefined":r(e))&&e.toJSON?e.toJSON():e})):"object"===(void 0===n?"undefined":r(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},e.prototype.raw=function(e,t){return(new o.default).raw(this,e,t)},e.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},e.prototype.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,i=0;i<e;i++)"\n"===t[i]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.prototype.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t},e}();t.default=d,e.exports=t.default},11665:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new i.default(e,t),o=new r.default(n);try{o.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return o.root};var r=o(n(92972)),i=o(n(62627));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},92972:function(e,t,n){"use strict";t.__esModule=!0;var r=l(n(85232)),i=l(n(53240)),o=l(n(91569)),a=l(n(12650)),s=l(n(71283)),u=l(n(4485));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.input=t,this.root=new s.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}return e.prototype.createTokenizer=function(){this.tokenizer=(0,i.default)(this.input)},e.prototype.parse=function(){for(var e=void 0;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},e.prototype.comment=function(e){var t=new o.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},e.prototype.emptyRule=function(e){var t=new u.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},e.prototype.other=function(e){for(var t=!1,n=null,r=!1,i=null,o=[],a=[],s=e;s;){if(n=s[0],a.push(s),"("===n||"["===n)i||(i=s),o.push("("===n?")":"]");else if(0===o.length){if(";"===n){if(r)return void this.decl(a);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));s=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){for(;a.length&&("space"===(s=a[a.length-1][0])||"comment"===s);)this.tokenizer.back(a.pop());this.decl(a)}else this.unknownWord(a)},e.prototype.rule=function(e){e.pop();var t=new u.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},e.prototype.decl=function(e){var t=new r.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;t.prop+=e.shift()[1]}t.raws.between="";for(var o=void 0;e.length;){if(":"===(o=e.shift())[0]){t.raws.between+=o[1];break}t.raws.between+=o[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var a=e.length-1;a>0;a--){if("!important"===(o=e[a])[1].toLowerCase()){t.important=!0;var s=this.stringFrom(e,a);" !important"!==(s=this.spacesFromEnd(e)+s)&&(t.raws.important=s);break}if("important"===o[1].toLowerCase()){for(var u=e.slice(0),l="",c=a;c>0;c--){var d=u[c][0];if(0===l.trim().indexOf("!")&&"space"!==d)break;l=u.pop()[1]+l}0===l.trim().indexOf("!")&&(t.important=!0,t.raws.important=l,e=u)}if("space"!==o[0]&&"comment"!==o[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},e.prototype.atrule=function(e){var t=new a.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n=void 0,r=void 0,i=!1,o=!1,s=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){o=!0;break}if("}"===e[0]){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}if(s.push(e),this.tokenizer.endOfFile()){i=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,"params",s),i&&(e=s[s.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)},e.prototype.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},e.prototype.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.prototype.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},e.prototype.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},e.prototype.raw=function(e,t,n){for(var r=void 0,i=void 0,o=n.length,a="",s=!0,u=0;u<o;u+=1)"comment"===(i=(r=n[u])[0])||"space"===i&&u===o-1?s=!1:a+=r[1];if(!s){var l=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:a,raw:l}}e[t]=a},e.prototype.spacesAndCommentsFromEnd=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},e.prototype.spacesAndCommentsFromStart=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},e.prototype.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},e.prototype.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},e.prototype.colon=function(e){for(var t=0,n=void 0,r=void 0,i=void 0,o=0;o<e.length;o++){if("("===(r=(n=e[o])[0]))t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(i){if("word"===i[0]&&"progid"===i[1])continue;return o}this.doubleColon(n)}i=n}return!1},e.prototype.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},e.prototype.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},e.prototype.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},e.prototype.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},e.prototype.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},e.prototype.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},e.prototype.precheckMissedSemicolon=function(e){},e.prototype.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n=0,r=void 0,i=t-1;i>=0&&("space"===(r=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();t.default=c,e.exports=t.default},13200:function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(85232)),i=p(n(46580)),o=p(n(23179)),a=p(n(91569)),s=p(n(12650)),u=p(n(43290)),l=p(n(11665)),c=p(n(30416)),d=p(n(4485)),f=p(n(71283));function p(e){return e&&e.__esModule?e:{default:e}}function h(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new i.default(t)}h.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new i.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return h([n(r)]).process(e,t)},n},h.stringify=o.default,h.parse=l.default,h.vendor=u.default,h.list=c.default,h.comment=function(e){return new a.default(e)},h.atRule=function(e){return new s.default(e)},h.decl=function(e){return new r.default(e)},h.rule=function(e){return new d.default(e)},h.root=function(e){return new f.default(e)},t.default=h,e.exports=t.default},49470:function(e,t,n){"use strict";t.__esModule=!0;var 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},i=s(n(49125)),o=s(n(26470)),a=s(n(31777));function s(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var r=n.map?n.map.prev:void 0,i=this.loadMap(n.from,r);i&&(this.text=i)}return e.prototype.consumer=function(){return this.consumerCache||(this.consumerCache=new i.default.SourceMapConsumer(this.text)),this.consumerCache},e.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.prototype.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},e.prototype.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//);t&&(this.annotation=t[1].trim())},e.prototype.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(n,"base64").toString():new Buffer(n,"base64").toString():window.atob(n);var n,r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},e.prototype.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&a.default.existsSync&&a.default.existsSync(n))return a.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof i.default.SourceMapConsumer)return i.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof i.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return e&&(r=o.default.join(o.default.dirname(e),r)),this.root=o.default.dirname(r),!(!a.default.existsSync||!a.default.existsSync(r))&&a.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":r(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=u,e.exports=t.default},46580:function(e,t,n){"use strict";t.__esModule=!0;var r,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},o=n(75673),a=(r=o)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];s(this,e),this.version="6.0.16",this.plugins=this.normalize(t)}return e.prototype.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new a.default(this,e,t)},e.prototype.normalize=function(e){var t=[],n=e,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}var s=a;if(s.postcss&&(s=s.postcss),"object"===(void 0===s?"undefined":i(s))&&Array.isArray(s.plugins))t=t.concat(s.plugins);else{if("function"!=typeof s)throw"object"===(void 0===s?"undefined":i(s))&&(s.parse||s.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(s+" is not a PostCSS plugin");t.push(s)}}return t},e}();t.default=u,e.exports=t.default},96641:function(e,t,n){"use strict";t.__esModule=!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(3061),a=(r=o)&&r.__esModule?r:{default:r};var s=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return e.prototype.toString=function(){return this.css},e.prototype.warn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new a.default(e,t);return this.messages.push(n),n},e.prototype.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},i(e,[{key:"content",get:function(){return this.css}}]),e}();t.default=s,e.exports=t.default},71283:function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(66808);var o=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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.call(this,n));return r.type="root",r.nodes||(r.nodes=[]),r}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.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},t.prototype.normalize=function(t,n,r){var i=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n){var o=i,a=Array.isArray(o),s=0;for(o=a?o:o[Symbol.iterator]();;){var u;if(a){if(s>=o.length)break;u=o[s++]}else{if((s=o.next()).done)break;u=s.value}u.raws.before=n.raws.before}}return i},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n(75673),r=n(46580),i=new t(new r,this,e);return i.stringify()},t}(((r=i)&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},4485:function(e,t,n){"use strict";t.__esModule=!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=a(n(66808)),o=a(n(30416));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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.call(this,n));return r.type="rule",r.nodes||(r.nodes=[]),r}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:"selectors",get:function(){return o.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(i.default);t.default=s,e.exports=t.default},7843:function(e,t){"use strict";t.__esModule=!0;var n={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "};var r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.builder=t}return e.prototype.stringify=function(e,t){this[e.type](e,t)},e.prototype.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},e.prototype.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},e.prototype.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},e.prototype.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},e.prototype.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}},e.prototype.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var i=e.nodes[r],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,t!==r||n)}},e.prototype.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},e.prototype.raw=function(e,t,r){var i=void 0;if(r||(r=t),t&&void 0!==(i=e.raws[t]))return i;var o=e.parent;if("before"===r&&(!o||"root"===o.type&&o.first===e))return"";if(!o)return n[r];var a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[r])return a.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,u="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[u]?i=this[u](a,e):a.walk((function(e){if(void 0!==(i=e.raws[t]))return!1})),void 0===i&&(i=n[r]),a.rawCache[r]=i,i},e.prototype.rawSemicolon=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},e.prototype.rawEmptyBody=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},e.prototype.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk((function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){var i=n.raws.before.split("\n");return t=(t=i[i.length-1]).replace(/[^\s]/g,""),!1}})),t},e.prototype.rawBeforeComment=function(e,t){var n=void 0;return e.walkComments((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeDecl=function(e,t){var n=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeRule=function(e){var t=void 0;return e.walk((function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return-1!==(t=n.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeClose=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeOpen=function(e){var t=void 0;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},e.prototype.rawColon=function(e){var t=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},e.prototype.beforeAfter=function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,i=0;r&&"root"!==r.type;)i+=1,r=r.parent;if(-1!==n.indexOf("\n")){var o=this.raw(e,null,"indent");if(o.length)for(var a=0;a<i;a++)n+=o}return n},e.prototype.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}();t.default=r,e.exports=t.default},23179:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,i=n(7843),o=(r=i)&&r.__esModule?r:{default:r};e.exports=t.default},84903:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(30717)),i=a(n(53240)),o=a(n(62627));function a(e){return e&&e.__esModule?e:{default:e}}var s={brackets:r.default.cyan,"at-word":r.default.cyan,call:r.default.cyan,comment:r.default.gray,string:r.default.green,class:r.default.yellow,hash:r.default.magenta,"(":r.default.cyan,")":r.default.cyan,"{":r.default.yellow,"}":r.default.yellow,"[":r.default.yellow,"]":r.default.yellow,":":r.default.yellow,";":r.default.yellow};t.default=function(e){for(var t=(0,i.default)(new o.default(e),{ignoreErrors:!0}),n="",r=function(){var e=t.nextToken(),r=s[function(e,t){var n=e[0],r=e[1];if("word"===n){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!t.endOfFile()){var i=t.nextToken();if(t.back(i),"brackets"===i[0]||"("===i[0])return"call"}return n}(e,t)];n+=r?e[1].split(/\r?\n/).map((function(e){return r(e)})).join("\n"):e[1]};!t.endOfFile();)r();return n},e.exports=t.default},53240:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},f=e.css.valueOf(),p=t.ignoreErrors,h=void 0,m=void 0,v=void 0,g=void 0,y=void 0,b=void 0,_=void 0,w=void 0,k=void 0,E=void 0,x=void 0,S=void 0,T=void 0,C=void 0,A=f.length,O=-1,N=1,P=0,I=[],L=[];function M(t){throw e.error("Unclosed "+t,N,P-O)}function R(){return 0===L.length&&P>=A}function D(){if(L.length)return L.pop();if(!(P>=A)){switch(((h=f.charCodeAt(P))===i||h===a||h===s&&f.charCodeAt(P+1)!==i)&&(O=P,N+=1),h){case i:case o:case 9:case s:case a:m=P;do{m+=1,(h=f.charCodeAt(m))===i&&(O=m,N+=1)}while(h===o||h===i||9===h||h===s||h===a);C=["space",f.slice(P,m)],P=m-1;break;case 91:C=["[","[",N,P-O];break;case 93:C=["]","]",N,P-O];break;case 123:C=["{","{",N,P-O];break;case 125:C=["}","}",N,P-O];break;case 58:C=[":",":",N,P-O];break;case 59:C=[";",";",N,P-O];break;case 40:if(S=I.length?I.pop()[1]:"",T=f.charCodeAt(P+1),"url"===S&&T!==n&&34!==T&&T!==o&&T!==i&&9!==T&&T!==a&&T!==s){m=P;do{if(E=!1,-1===(m=f.indexOf(")",m+1))){if(p){m=P;break}M("bracket")}for(x=m;f.charCodeAt(x-1)===r;)x-=1,E=!E}while(E);C=["brackets",f.slice(P,m+1),N,P-O,N,m-O],P=m}else m=f.indexOf(")",P+1),b=f.slice(P,m+1),-1===m||c.test(b)?C=["(","(",N,P-O]:(C=["brackets",b,N,P-O,N,m-O],P=m);break;case 41:C=[")",")",N,P-O];break;case n:case 34:v=h===n?"'":'"',m=P;do{if(E=!1,-1===(m=f.indexOf(v,m+1))){if(p){m=P+1;break}M("string")}for(x=m;f.charCodeAt(x-1)===r;)x-=1,E=!E}while(E);b=f.slice(P,m+1),g=b.split("\n"),(y=g.length-1)>0?(w=N+y,k=m-g[y].length):(w=N,k=O),C=["string",f.slice(P,m+1),N,P-O,w,m-k],O=k,N=w,P=m;break;case 64:u.lastIndex=P+1,u.test(f),m=0===u.lastIndex?f.length-1:u.lastIndex-2,C=["at-word",f.slice(P,m+1),N,P-O,N,m-O],P=m;break;case r:for(m=P,_=!0;f.charCodeAt(m+1)===r;)m+=1,_=!_;if(h=f.charCodeAt(m+1),_&&47!==h&&h!==o&&h!==i&&9!==h&&h!==s&&h!==a&&(m+=1,d.test(f.charAt(m)))){for(;d.test(f.charAt(m+1));)m+=1;f.charCodeAt(m+1)===o&&(m+=1)}C=["word",f.slice(P,m+1),N,P-O,N,m-O],P=m;break;default:47===h&&42===f.charCodeAt(P+1)?(0===(m=f.indexOf("*/",P+2)+1)&&(p?m=f.length:M("comment")),b=f.slice(P,m+1),g=b.split("\n"),(y=g.length-1)>0?(w=N+y,k=m-g[y].length):(w=N,k=O),C=["comment",b,N,P-O,w,m-k],O=k,N=w,P=m):(l.lastIndex=P+1,l.test(f),m=0===l.lastIndex?f.length-1:l.lastIndex-2,C=["word",f.slice(P,m+1),N,P-O,N,m-O],I.push(C),P=m)}return P++,C}}function q(e){L.push(e)}return{back:q,nextToken:D,endOfFile:R}};var n=39,r=92,i=10,o=32,a=12,s=13,u=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,l=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,c=/.[\\\/\("'\n]/,d=/[a-f0-9]/i;e.exports=t.default},43290:function(e,t){"use strict";t.__esModule=!0;t.default={prefix:function(e){var t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default},84133:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){if(n[e])return;n[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e)};var n={};e.exports=t.default},3061:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),this.type="warning",this.text=t,r.node&&r.node.source){var i=r.node.positionBy(r);this.line=i.line,this.column=i.column}for(var o in r)this[o]=r[o]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();t.default=r,e.exports=t.default},60053:function(e,t){"use strict";var n,r,i,o,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,l=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(l,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(l,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},o=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=f.now();t.unstable_now=function(){return f.now()-v}}var g=!1,y=null,b=-1,_=5,w=0;o=function(){return t.unstable_now()>=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,E=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+_;try{y(!0,e)?E.postMessage(null):(g=!1,y=null)}catch(e){throw E.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,E.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},i=function(){h(b),b=-1}}function x(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function S(e){return void 0===(e=e[0])?null:e}function T(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,u=e[s];if(void 0!==a&&0>C(a,n))void 0!==u&&0>C(u,a)?(e[r]=u,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],O=[],N=1,P=null,I=3,L=!1,M=!1,R=!1;function D(e){for(var t=S(O);null!==t;){if(null===t.callback)T(O);else{if(!(t.startTime<=e))break;T(O),t.sortIndex=t.expirationTime,x(A,t)}t=S(O)}}function q(e){if(R=!1,D(e),!M)if(null!==S(A))M=!0,n(j);else{var t=S(O);null!==t&&r(q,t.startTime-e)}}function j(e,n){M=!1,R&&(R=!1,i()),L=!0;var a=I;try{for(D(n),P=S(A);null!==P&&(!(P.expirationTime>n)||e&&!o());){var s=P.callback;if(null!==s){P.callback=null,I=P.priorityLevel;var u=s(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?P.callback=u:P===S(A)&&T(A),D(n)}else T(A);P=S(A)}if(null!==P)var l=!0;else{var c=S(O);null!==c&&r(q,c.startTime-n),l=!1}return l}finally{P=null,I=a,L=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=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(){M||L||(M=!0,n(j))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var u=a.delay;u="number"==typeof u&&0<u?s+u:s,a="number"==typeof a.timeout?a.timeout:F(e)}else a=F(e),u=s;return e={id:N++,callback:o,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,x(O,e),null===S(A)&&e===S(O)&&(R?i():R=!0,r(q,u-s))):(e.sortIndex=a,x(A,e),M||L||(M=!0,n(j))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(A);return n!==P&&null!==P&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<P.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},78213:function(e,t,n){var r=n(32728),i=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function a(){this._array=[],this._set=o?new Map:Object.create(null)}a.fromArray=function(e,t){for(var n=new a,r=0,i=e.length;r<i;r++)n.add(e[r],t);return n},a.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var n=o?e:r.toSetString(e),a=o?this.has(e):i.call(this._set,n),s=this._array.length;a&&!t||this._array.push(e),a||(o?this._set.set(e,s):this._set[n]=s)},a.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.I=a},16400:function(e,t,n){var r=n(67923);t.encode=function(e){var t,n="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),n+=r.encode(t)}while(i>0);return n},t.decode=function(e,t,n){var i,o,a,s,u=e.length,l=0,c=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),l+=(o&=31)<<c,c+=5}while(i);n.value=(s=(a=l)>>1,1==(1&a)?-s:s),n.rest=t}},67923:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},9216:function(e,t){function n(e,r,i,o,a,s){var u=Math.floor((r-e)/2)+e,l=a(i,o[u],!0);return 0===l?u:l>0?r-u>1?n(u,r,i,o,a,s):s==t.LEAST_UPPER_BOUND?r<o.length?r:-1:u:u-e>1?n(e,u,i,o,a,s):s==t.LEAST_UPPER_BOUND?u:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,i,o){if(0===r.length)return-1;var a=n(-1,r.length,e,r,i,o||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===i(r[a],r[a-1],!0);)--a;return a}},21188:function(e,t,n){var r=n(32728);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,n,i,o,a,s;t=this._last,n=e,i=t.generatedLine,o=n.generatedLine,a=t.generatedColumn,s=n.generatedColumn,o>i||o==i&&s>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=i},22826:function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,i,o){if(i<o){var a=i-1;n(e,(c=i,d=o,Math.round(c+Math.random()*(d-c))),o);for(var s=e[o],u=i;u<o;u++)t(e[u],s)<=0&&n(e,a+=1,u);n(e,a+1,u);var l=a+1;r(e,t,i,l-1),r(e,t,l+1,o)}var c,d}t.U=function(e,t){r(e,t,0,e.length-1)}},76771:function(e,t,n){var r=n(32728),i=n(9216),o=n(78213).I,a=n(16400),s=n(22826).U;function u(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new l(n,t)}function l(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),a=r.getArg(n,"sources"),s=r.getArg(n,"names",[]),u=r.getArg(n,"sourceRoot",null),l=r.getArg(n,"sourcesContent",null),c=r.getArg(n,"mappings"),d=r.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);u&&(u=r.normalize(u)),a=a.map(String).map(r.normalize).map((function(e){return u&&r.isAbsolute(u)&&r.isAbsolute(e)?r.relative(u,e):e})),this._names=o.fromArray(s.map(String),!0),this._sources=o.fromArray(a,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(u,e,t)})),this.sourceRoot=u,this.sourcesContent=l,this._mappings=c,this._sourceMapURL=t,this.file=d}function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var i=r.getArg(n,"version"),a=r.getArg(n,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new o,this._names=new o;var s={line:-1,column:0};this._sections=a.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),i=r.getArg(n,"line"),o=r.getArg(n,"column");if(i<s.line||i===s.line&&o<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=n,{generatedOffset:{generatedLine:i+1,generatedColumn:o+1},consumer:new u(r.getArg(e,"map"),t)}}))}u.fromSourceMap=function(e,t){return l.fromSourceMap(e,t)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},u.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(e,t,n){var i,o=t||null;switch(n||u.GENERATED_ORDER){case u.GENERATED_ORDER:i=this._generatedMappings;break;case u.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(a,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)},u.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(void 0===e.column)for(var u=s.originalLine;s&&s.originalLine===u;)o.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var l=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==l;)o.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return o},t.SourceMapConsumer=u,l.prototype=Object.create(u.prototype),l.prototype.consumer=u,l.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},l.fromSourceMap=function(e,t){var n=Object.create(l.prototype),i=n._names=o.fromArray(e._names.toArray(),!0),a=n._sources=o.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var u=e._mappings.toArray().slice(),d=n.__generatedMappings=[],f=n.__originalMappings=[],p=0,h=u.length;p<h;p++){var m=u[p],v=new c;v.generatedLine=m.generatedLine,v.generatedColumn=m.generatedColumn,m.source&&(v.source=a.indexOf(m.source),v.originalLine=m.originalLine,v.originalColumn=m.originalColumn,m.name&&(v.name=i.indexOf(m.name)),f.push(v)),d.push(v)}return s(n.__originalMappings,r.compareByOriginalPositions),n},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),l.prototype._parseMappings=function(e,t){for(var n,i,o,u,l,d=1,f=0,p=0,h=0,m=0,v=0,g=e.length,y=0,b={},_={},w=[],k=[];y<g;)if(";"===e.charAt(y))d++,y++,f=0;else if(","===e.charAt(y))y++;else{for((n=new c).generatedLine=d,u=y;u<g&&!this._charIsMappingSeparator(e,u);u++);if(o=b[i=e.slice(y,u)])y+=i.length;else{for(o=[];y<u;)a.decode(e,y,_),l=_.value,y=_.rest,o.push(l);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");b[i]=o}n.generatedColumn=f+o[0],f=n.generatedColumn,o.length>1&&(n.source=m+o[1],m+=o[1],n.originalLine=p+o[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=h+o[3],h=n.originalColumn,o.length>4&&(n.name=v+o[4],v+=o[4])),k.push(n),"number"==typeof n.originalLine&&w.push(n)}s(k,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=k,s(w,r.compareByOriginalPositions),this.__originalMappings=w},l.prototype._findMapping=function(e,t,n,r,o,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return i.search(e,t,o,a)},l.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===t.generatedLine){var o=r.getArg(i,"source",null);null!==o&&(o=this._sources.at(o),o=r.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=r.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:r.getArg(i,"originalLine",null),column:r.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},l.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i,o=e;if(null!=this.sourceRoot&&(o=r.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(i=r.urlParse(this.sourceRoot))){var a=o.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||"/"==i.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:r.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(u.prototype),d.prototype.constructor=u,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=i.search(t,this._sections,(function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn})),o=this._sections[n];return o?o.consumer.originalPositionFor({line:t.generatedLine-(o.generatedOffset.generatedLine-1),column:t.generatedColumn-(o.generatedOffset.generatedLine===t.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var i=n.consumer.generatedPositionFor(e);if(i)return{line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var u=o[a],l=i.consumer._sources.at(u.source);l=r.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var c=null;u.name&&(c=i.consumer._names.at(u.name),this._names.add(c),c=this._names.indexOf(c));var d={source:l,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:c};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)}},34433:function(e,t,n){var r=n(16400),i=n(32728),o=n(78213).I,a=n(21188).H;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new a,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=i.relative(t,r)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(r);null!=a&&n.setSourceContent(r,a)})),n},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var a=this._sourceRoot;null!=a&&(r=i.relative(a,r));var s=new o,u=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=i.join(n,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var l=t.source;null==l||s.has(l)||s.add(l);var c=t.name;null==c||u.has(c)||u.add(c)}),this),this._sources=s,this._names=u,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=a&&(t=i.relative(a,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,o,a=0,s=1,u=0,l=0,c=0,d=0,f="",p=this._mappings.toArray(),h=0,m=p.length;h<m;h++){if(e="",(t=p[h]).generatedLine!==s)for(a=0;t.generatedLine!==s;)e+=";",s++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,p[h-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-d),d=o,e+=r.encode(t.originalLine-1-l),l=t.originalLine-1,e+=r.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-c),c=n)),f+=e}return f},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},17085:function(e,t,n){var r=n(34433).SourceMapGenerator,i=n(32728),o=/(\r?\n)/,a="$$$isSourceNode$$$";function s(e,t,n,r,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==i?null:i,this[a]=!0,null!=r&&this.add(r)}s.fromStringWithSourceMap=function(e,t,n){var r=new s,a=e.split(o),u=0,l=function(){return e()+(e()||"");function e(){return u<a.length?a[u++]:void 0}},c=1,d=0,f=null;return t.eachMapping((function(e){if(null!==f){if(!(c<e.generatedLine)){var t=(n=a[u]||"").substr(0,e.generatedColumn-d);return a[u]=n.substr(e.generatedColumn-d),d=e.generatedColumn,p(f,t),void(f=e)}p(f,l()),c++,d=0}for(;c<e.generatedLine;)r.add(l()),c++;if(d<e.generatedColumn){var n=a[u]||"";r.add(n.substr(0,e.generatedColumn)),a[u]=n.substr(e.generatedColumn),d=e.generatedColumn}f=e}),this),u<a.length&&(f&&p(f,l()),r.add(a.splice(u).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=n&&(e=i.join(n,e)),r.setSourceContent(e,o))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=n?i.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,o,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),i=!1,o=null,a=null,s=null,u=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(o===r.source&&a===r.line&&s===r.column&&u===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),o=r.source,a=r.line,s=r.column,u=r.name,i=!0):i&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,i=!1);for(var l=0,c=e.length;l<c;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===c?(o=null,i=!1):i&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=s},32728:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var n=e,r=i(e);if(r){if(!r.path)return e;n=r.path}for(var a,s=t.isAbsolute(n),u=n.split(/\/+/),l=0,c=u.length-1;c>=0;c--)"."===(a=u[c])?u.splice(c,1):".."===a?l++:l>0&&(""===a?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return""===(n=u.join("/"))&&(n=s?"/":"."),r?(r.path=n,o(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=i(t),s=i(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),o(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,o(s);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=u,o(s)):u}t.urlParse=i,t.urlGenerate=o,t.normalize=a,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var u=!("__proto__"in Object.create(null));function l(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=u?l:function(e){return c(e)?"$"+e:e},t.fromSetString=u?l:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||n||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=i(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var u=r.path.lastIndexOf("/");u>=0&&(r.path=r.path.substring(0,u+1))}t=s(o(r),t)}return a(t)}},49125:function(e,t,n){t.SourceMapGenerator=n(34433).SourceMapGenerator,t.SourceMapConsumer=n(76771).SourceMapConsumer,t.SourceNode=n(17085).SourceNode},36084:function(e,t,n){"use strict";var r=n(82120),i=n(64666),o=/^\d+$/;t.parse=function(e){return(t=e.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){if(0===n)return t.url=e;var i=e.substring(0,e.length-1),a=e[e.length-1],s=parseInt(i,10),u=parseFloat(i);if("w"===a&&o.test(i))t.width=s;else if("h"===a&&o.test(i))t.height=s;else{if("x"!==a||r(u))throw new Error("Invalid srcset descriptor: "+e+".");t.density=u}})),t}))).sort().filter((function(e,n){return JSON.stringify(e)!==JSON.stringify(t[n-1])}));var t},t.stringify=function(e){return i(e.map((function(e){if(!e.url)throw new Error("URL is required.");var t=[e.url];return e.width&&t.push(e.width+"w"),e.height&&t.push(e.height+"h"),e.density&&t.push(e.density+"x"),t.join(" ")}))).join(", ")}},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",u));var a=!1;function s(){a||(a=!0,e.end())}function u(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),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 u=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(u," ").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=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var i=n(56577),o=n(20323);n(35717)(l,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var u=a[s];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.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",c)))}function c(){this._writableState.ended||process.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.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;e.exports=x,x.ReadableState=E;n(17187).EventEmitter;var i=function(e,t){return e.listeners(t).length},o=n(83194),a=n(48764).Buffer,s=n.g.Uint8Array||function(){};var u,l=n(40964);u=l&&l.debuglog?l.debuglog("stream"):function(){};var c,d,f,p=n(39686),h=n(71029),m=n(30094).getHighWaterMark,v=n(58106).q,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,b=v.ERR_METHOD_NOT_IMPLEMENTED,_=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(35717)(x,o);var w=h.errorOrDestroy,k=["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=m(this,e,"readableHighWaterMark",i),this.buffer=new p,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&&(c||(c=n(54729).s),this.decoder=new c(e.encoding),this.encoding=e.encoding)}function x(e){if(r=r||n(68656),!(this instanceof x))return new x(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)),o.call(this)}function S(e,t,n,r,i){u("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(u("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?O(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,N(e)))}(e,l);else if(i||(o=function(e,t){var n;r=t,a.isBuffer(r)||r instanceof s||"string"==typeof t||void 0===t||e.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(l,t)),o)w(e,o);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)l.endEmitted?w(e,new _):T(e,l,t,!0);else if(l.ended)w(e,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?T(e,l,t,!1):P(e,l)):T(e,l,t,!1)}else r||(l.reading=!1,P(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.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&&O(e)),P(e,t)}Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),x.prototype.destroy=h.destroy,x.prototype._undestroy=h.undestroy,x.prototype._destroy=function(e,t){t(e)},x.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=a.from(e,t),t=""),n=!0),S(this,e,t,!1,n)},x.prototype.unshift=function(e){return S(this,e,null,!0,!1)},x.prototype.isPaused=function(){return!1===this._readableState.flowing},x.prototype.setEncoding=function(e){c||(c=n(54729).s);var t=new c(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 C=1073741824;function A(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>=C?e=C:(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 O(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(N,e))}function N(e){var t=e._readableState;u("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,D(e)}function P(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(u("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function L(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 M(e){u("readable nexttick read 0"),e.read(0)}function R(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function q(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 j(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(F,t,e))}function F(e,t){if(u("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 B(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}x.prototype.read=function(e){u("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 u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):O(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&j(this),null;var r,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=A(n,t))),null===(r=e>0?q(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&&j(this)),null!==r&&this.emit("data",r),r},x.prototype._read=function(e){w(this,new b("_read()"))},x.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,u("pipe count=%d opts=%j",r.pipesCount,t);var o=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?s:m;function a(t,i){u("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",h),e.removeListener("drain",l),e.removeListener("error",f),e.removeListener("unpipe",a),n.removeListener("end",s),n.removeListener("end",m),n.removeListener("data",d),c=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function s(){u("onend"),e.end()}r.endEmitted?process.nextTick(o):n.once("end",o),e.on("unpipe",a);var l=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,D(e))}}(n);e.on("drain",l);var c=!1;function d(t){u("ondata");var i=e.write(t);u("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==B(r.pipes,e))&&!c&&(u("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function f(t){u("onerror",t),m(),e.removeListener("error",f),0===i(e,"error")&&w(e,t)}function p(){e.removeListener("finish",h),m()}function h(){u("onfinish"),e.removeListener("close",p),m()}function m(){u("unpipe"),n.unpipe(e)}return n.on("data",d),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",p),e.once("finish",h),e.emit("pipe",n),r.flowing||(u("pipe resume"),n.resume()),e},x.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=B(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},x.prototype.on=function(e,t){var n=o.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,u("on readable",r.length,r.reading),r.length?O(this):r.reading||process.nextTick(M,this))),n},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(L,this),n},x.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(L,this),t},x.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(R,e,t))}(this,e)),e.paused=!1,this},x.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(u("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){(u("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<k.length;o++)e.on(k[o],this.emit.bind(this,k[o]));return this._read=function(t){u("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(x.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(20828)),d(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),x._fromList=q,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(x.from=function(e,t){return void 0===f&&(f=n(31265)),f(x,e,t)})},94473:function(e,t,n){"use strict";e.exports=c;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,u=n(68656);function l(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 c(e){if(!(this instanceof c))return new c(e);u.call(this,e),this._transformState={afterTransform:l.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?f(this,null,null):this._flush((function(t,n){f(e,t,n)}))}function f(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)(c,u),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,n){n(new i("_transform()"))},c.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)}},c.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))},c.prototype._destroy=function(e,t){u.prototype._destroy.call(this,e,(function(e){t(e)}))}},20323:function(e,t,n){"use strict";function r(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)}}var i;e.exports=x,x.WritableState=E;var o={deprecate:n(94927)},a=n(83194),s=n(48764).Buffer,u=n.g.Uint8Array||function(){};var l,c=n(71029),d=n(30094).getHighWaterMark,f=n(58106).q,p=f.ERR_INVALID_ARG_TYPE,h=f.ERR_METHOD_NOT_IMPLEMENTED,m=f.ERR_MULTIPLE_CALLBACK,v=f.ERR_STREAM_CANNOT_PIPE,g=f.ERR_STREAM_DESTROYED,y=f.ERR_STREAM_NULL_VALUES,b=f.ERR_STREAM_WRITE_AFTER_END,_=f.ERR_UNKNOWN_ENCODING,w=c.errorOrDestroy;function k(){}function E(e,t,o){i=i||n(68656),e=e||{},"boolean"!=typeof o&&(o=t instanceof i),this.objectMode=!!e.objectMode,o&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",o),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=!1===e.decodeStrings;this.decodeStrings=!a,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,i=n.writecb;if("function"!=typeof i)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(process.nextTick(i,r),process.nextTick(N,e,t),e._writableState.errorEmitted=!0,w(e,r)):(i(r),e._writableState.errorEmitted=!0,w(e,r),N(e,t))}(e,n,r,t,i);else{var o=A(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||C(e,n),r?process.nextTick(T,e,n,o,i):T(e,n,o,i)}}(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 r(this)}function x(e){var t=this instanceof(i=i||n(68656));if(!t&&!l.call(x,this))return new x(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)),a.call(this)}function S(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("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(),N(e,t)}function C(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var i=t.bufferedRequestCount,o=new Array(i),a=t.corkedRequestsFree;a.entry=n;for(var s=0,u=!0;n;)o[s]=n,n.isBuf||(u=!1),n=n.next,s+=1;o.allBuffers=u,S(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new r(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,d=n.callback;if(S(e,t,!1,t.objectMode?1:l.length,l,c,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function A(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit("prefinish"),N(e,t)}))}function N(e,t){var n=A(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,process.nextTick(O,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)(x,a),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:o.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]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===x&&(e&&e._writableState instanceof E)}})):l=function(e){return e instanceof this},x.prototype.pipe=function(){w(this,new v)},x.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,s.isBuffer(r)||r instanceof u);return a&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=k),i.ending?function(e,t){var n=new b;w(e,n),process.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i;return null===n?i=new y:"string"==typeof n||t.objectMode||(i=new p("chunk",["string","Buffer"],n)),!i||(w(e,i),process.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var u=t.objectMode?1:r.length;t.length+=u;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,u,r,i,o);return l}(this,i,a,e,t,n)),o},x.prototype.cork=function(){this._writableState.corked++},x.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||C(this,e))},x.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(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),x.prototype._write=function(e,t,n){n(new h("_write()"))},x.prototype._writev=null,x.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,N(e,t),n&&(t.finished?process.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),x.prototype.destroy=c.destroy,x.prototype._undestroy=c.undestroy,x.prototype._destroy=function(e,t){t(e)}},20828:function(e,t,n){"use strict";var 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}var o=n(81086),a=Symbol("lastResolve"),s=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),d=Symbol("handlePromise"),f=Symbol("stream");function p(e,t){return{value:e,done:t}}function h(e){var t=e[a];if(null!==t){var n=e[f].read();null!==n&&(e[c]=null,e[a]=null,e[s]=null,t(p(n,!1)))}}function m(e){process.nextTick(h,e)}var v=Object.getPrototypeOf((function(){})),g=Object.setPrototypeOf((i(r={get stream(){return this[f]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(p(void 0,!0));if(this[f].destroyed)return new Promise((function(t,n){process.nextTick((function(){e[u]?n(e[u]):t(p(void 0,!0))}))}));var n,r=this[c];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[l]?n(p(void 0,!0)):t[d](n,r)}),r)}}(r,this));else{var i=this[f].read();if(null!==i)return Promise.resolve(p(i,!1));n=new Promise(this[d])}return this[c]=n,n}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[f].destroy(null,(function(e){e?n(e):t(p(void 0,!0))}))}))})),r),v);e.exports=function(e){var t,n=Object.create(g,(i(t={},f,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[f].read();r?(n[c]=null,n[a]=null,n[s]=null,e(p(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[c]=null,n[a]=null,n[s]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[c]=null,n[a]=null,n[s]=null,r(p(void 0,!0))),n[l]=!0})),e.on("readable",m.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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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)}}var a=n(48764).Buffer,s=n(69862).inspect,u=s&&s.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,l;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 a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=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=a.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 s(this,function(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){i(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}({},t,{depth:0,customInspect:!1}))}}],n&&o(t.prototype,n),l&&o(t,l),e}()},71029:function(e){"use strict";function t(e,t){r(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function r(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var o=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(r,this,e)):process.nextTick(r,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!i&&e?o._writableState?o._writableState.errorEmitted?process.nextTick(n,o):(o._writableState.errorEmitted=!0,process.nextTick(t,o,e)):process.nextTick(t,o,e):i?(process.nextTick(n,o),i(e)):process.nextTick(n,o)})),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,u=function(){t.writable||c()},l=t._writableState&&t._writableState.finished,c=function(){s=!1,l=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,f=function(){a=!1,d=!0,s||o.call(t)},p=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&&!l?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",u),t.on("close",u)):(t.on("complete",c),t.on("abort",h),t.req?m():t.on("request",m)),t.on("end",f),t.on("finish",c),!1!==n.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",c),t.removeListener("abort",h),t.removeListener("request",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",c),t.removeListener("end",f),t.removeListener("error",p),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 u(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 u=!1;return function(t){if(!s&&!u)return u=!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"))}}function l(e){e()}function c(e,t){return e.pipe(t)}function d(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=d(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,n){var o=n<t.length-1;return u(e,o,n>0,(function(e){r||(r=e),e&&a.forEach(l),o||(a.forEach(l),i(r))}))}));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},56422: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)}},54729:function(e,t,n){"use strict";var r=n(56422).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=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}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 u(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 l(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 c(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 f(e){return e.toString(this.encoding)}function p(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]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=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}},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=u,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}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 u(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 l(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 c(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 f(e){return e.toString(this.encoding)}function p(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]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=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}},5238:function(e){e.exports=function(){"use strict";var e=Math.cos,t=Math.sin,n=Math.pow,r=Math.abs,i=Math.sqrt,o=Math.asin,a=Math.PI,s=Math.max,u=Math.min,l=Math.round,c="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},d=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},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}}(),p=n(2,53)-1,h={};function m(e){return null==e?"":"object"===(void 0===e?"undefined":c(e))||"function"==typeof e?h[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":c(e)}function v(e){return"number"===m(e)}function g(e){return"string"===m(e)}function y(e){return"function"===m(e)}function b(e){return Array.isArray(e)}function _(e){var t=null==e?null:e.length;return v(t)&&t>=0&&t<=p}function w(e){return!b(e)&&e-parseFloat(e)+1>=0}function k(e){return!b(e)&&"object"===m(e)}function E(e,t){return e&&e.hasOwnProperty(t)}function x(e,t,n){if(null==e)return e;var r=n||e;if(k(e)){for(var i in e)if(E(e,i)&&!1===t.call(r,e[i],i))break}else if(_(e))for(var o=0;o<e.length&&!1!==t.call(r,e[o],o);o++);return e}function S(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x(n,(function(t){x(t,(function(t,n){e[n]=t}))})),e}function T(e){return e.replace(/\s*/g,"")||""}function C(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}["Boolean","Number","String","Function","Array","Object"].forEach((function(e){h["[object "+e+"]"]=e.toLowerCase()}));var A=!("undefined"==typeof window||!window.document||!window.document.createElement),O=function(){if(!A)return!1;var e=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&&"file:"!==window.location.protocol}(),N=A?window:null,P=A?document:null;function I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?P:t).querySelector(e)}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?P:t).querySelectorAll(e)}function M(e,t){for(var n=(e.document||e.ownerDocument).querySelectorAll(t),r=n.length;--r>=0&&n.item(r)!==e;);return r>-1}var R={y:"scrollTop",x:"scrollLeft"},D={y:"pageYOffset",x:"pageXOffset"};function q(e){return e===P.documentElement||e===P.body}function j(){var e=N.outerWidth,t=N.innerWidth;return e?e/t:1}function F(e){for(var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=R[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y"],r=e instanceof Element?[e]:L(e),i=[],o=P.createElement("div"),a=0;a<r.length;a++){var s=r[a];if(s[n]>0?i.push(s):(o.style.width=s.clientWidth+1+"px",o.style.height=s.clientHeight+1+"px",s.appendChild(o),s[n]=1.5/j(),s[n]>0&&i.push(s),s[n]=0,s.removeChild(o)),!t&&i.length>0)break}return i}function B(e,t){var n=F(e,t,!1);return n.length>=1?n[0]:null}function U(e){return null!=e&&e===e.window?e:9===e.nodeType&&e.defaultView}function z(e){return s(e.scrollHeight,e.clientHeight,e.offsetHeight)}function H(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function V(e){return{width:H(e),height:z(e)}}function W(){return{width:s(H(P.body),H(P.documentElement)),height:s(z(P.body),z(P.documentElement))}}function Y(e){return q(e)?{viewport:{width:u(N.innerWidth,P.documentElement.clientWidth),height:N.innerHeight},size:W()}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:V(e)}}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y",n=U(e);return n?n[D[t]]:e[R[t]]}function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"y",r=U(e),i="y"===n;r?r.scrollTo(i?r[D.x]:t,i?t:r[D.y]):e[R[n]]=t}function X(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!e||e&&!e.getClientRects().length)return{top:0,left:0};var n=e.getBoundingClientRect();if(n.width||n.height){var r={},i=null;if(null==t||q(t))i=e.ownerDocument.documentElement,r.top=N.pageYOffset,r.left=N.pageXOffset;else{var o=(i=t).getBoundingClientRect();r.top=-1*o.top+i.scrollTop,r.left=-1*o.left+i.scrollLeft}return{top:n.top+r.top-i.clientTop,left:n.left+r.left-i.clientLeft}}return n}function $(e,t,n){t.split(",").forEach((function(t){e.addEventListener(t.trim(),n,!1)}))}function Z(e,t,n){t.split(",").forEach((function(t){e.removeEventListener(t.trim(),n,!1)}))}function Q(e){return e}function J(e,t,n,r,i){return r*(t/=i)*t+n}function ee(e,t,n,r,i){return-r*(t/=i)*(t-2)+n}function te(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n}function ne(e,t,n,r,i){return r*(t/=i)*t*t+n}function re(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n}function ie(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n}function oe(e,t,n,r,i){return r*(t/=i)*t*t*t+n}function ae(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n}function se(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n}function ue(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n}function le(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n}function ce(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n}function de(t,n,r,i,o){return-i*e(n/o*(a/2))+i+r}function fe(e,n,r,i,o){return i*t(n/o*(a/2))+r}function pe(t,n,r,i,o){return-i/2*(e(a*n/o)-1)+r}function he(e,t,r,i,o){return 0===t?r:i*n(2,10*(t/o-1))+r}function me(e,t,r,i,o){return t===o?r+i:i*(1-n(2,-10*t/o))+r}function ve(e,t,r,i,o){return 0===t?r:t===o?r+i:(t/=o/2)<1?i/2*n(2,10*(t-1))+r:i/2*(2-n(2,-10*--t))+r}function ge(e,t,n,r,o){return-r*(i(1-(t/=o)*t)-1)+n}function ye(e,t,n,r,o){return r*i(1-(t=t/o-1)*t)+n}function be(e,t,n,r,o){return(t/=o/2)<1?-r/2*(i(1-t*t)-1)+n:r/2*(i(1-(t-=2)*t)+1)+n}function _e(e,i,s,u,l){var c=1.70158,d=0,f=u;return 0===i?s:1==(i/=l)?s+u:(d||(d=.3*l),f<r(u)?(f=u,c=d/4):c=d/(2*a)*o(u/f),-f*n(2,10*(i-=1))*t(2*a*(i*l-c)/d)+s)}function we(e,i,s,u,l){var c=1.70158,d=0,f=u;return 0===i?s:1==(i/=l)?s+u:(d||(d=.3*l),f<r(u)?(f=u,c=d/4):c=d/(2*a)*o(u/f),f*n(2,-10*i)*t(2*a*(i*l-c)/d)+u+s)}function ke(e,i,s,u,l){var c=1.70158,d=0,f=u;return 0===i?s:2==(i/=l/2)?s+u:(d||(d=l*(.3*1.5)),f<r(u)?(f=u,c=d/4):c=d/(2*a)*o(u/f),i<1?f*n(2,10*(i-=1))*t(2*a*(i*l-c)/d)*-.5+s:f*n(2,-10*(i-=1))*t(2*a*(i*l-c)/d)*.5+u+s)}function Ee(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return r*(t/=i)*t*((o+1)*t-o)+n}function xe(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return r*((t=t/i-1)*t*((o+1)*t+o)+1)+n}function Se(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1.70158;return(t/=i/2)<1?r/2*(t*t*((1+(o*=1.525))*t-o))+n:r/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+n}function Te(e,t,n,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n}function Ce(e,t,n,r,i){return r-Te(e,i-t,0,r,i)+n}function Ae(e,t,n,r,i){return t<i/2?.5*Ce(e,2*t,0,r,i)+n:.5*Te(e,2*t-i,0,r,i)+.5*r+n}var Oe=Object.freeze({linear:Q,InQuad:J,OutQuad:ee,InOutQuad:te,InCubic:ne,OutCubic:re,InOutCubic:ie,InQuart:oe,OutQuart:ae,InOutQuart:se,InQuint:ue,OutQuint:le,InOutQuint:ce,InSine:de,OutSine:fe,InOutSine:pe,InExpo:he,OutExpo:me,InOutExpo:ve,InCirc:ge,OutCirc:ye,InOutCirc:be,InElastic:_e,OutElastic:we,InOutElastic:ke,InBack:Ee,OutBack:xe,InOutBack:Se,OutBounce:Te,InBounce:Ce,InOutBounce:Ae}),Ne=["ms","moz","webkit"],Pe=0,Ie=A?N.requestAnimationFrame:null,Le=A?N.cancelAnimationFrame:null;if(A){for(var Me=0;Me<Ne.length&&!Ie;++Me)Ie=N[Ne[Me]+"RequestAnimationFrame"],Le=N[Ne[Me]+"CancelAnimationFrame"]||N[Ne[Me]+"CancelRequestAnimationFrame"];Ie||(Ie=function(e){var t=Date.now(),n=s(0,16-(t-Pe)),r=setTimeout((function(){e(t+n)}),n);return Pe=t+n,r}),Le||(Le=function(e){clearTimeout(e)})}var Re=function(){function e(t){d(this,e),this.el=t,this.props={},this.options={},this.progress=!1,this.easing=null,this.startTime=null,this.rafId=null}return f(e,[{key:"run",value:function(e,t,n){var r=this;this.progress||(this.props={x:e,y:t},this.options=n,this.easing=y(n.easing)?n.easing:Oe[n.easing.replace("ease","")],this.progress=!0,setTimeout((function(){r.startProps=r.calcStartProps(e,t),r.rafId=Ie((function(e){return r._loop(e)}))}),this.options.delay))}},{key:"stop",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.options.complete;this.startTime=null,this.progress=!1,Le(this.rafId),e&&(K(this.el,this.props.x,"x"),K(this.el,this.props.y,"y")),y(t)&&(t.call(this),this.options.complete=null)}},{key:"_loop",value:function(e){var t=this;if(this.startTime||(this.startTime=e),this.progress){var n=this.el,r=this.props,i=this.options,o=this.startTime,a=this.startProps,c=this.easing,d=i.duration,f=i.step,p={},h=e-o,m=u(1,s(h/d,0));x(r,(function(e,t){var n=a[t],r=e-n;if(0===r)return!0;var i=c(m,d*m,0,1,d);p[t]=l(n+r*i)})),x(p,(function(e,t){K(n,e,t)})),h<=d?(f.call(this,m,p),this.rafId=Ie((function(e){return t._loop(e)}))):this.stop(!0)}else this.stop(!1)}},{key:"calcStartProps",value:function(e,t){var n={x:G(this.el,"x"),y:G(this.el,"y")};if(this.options.quickMode){var i=Y(this.el).viewport,o=i.width,a=i.height;r(n.y-t)>a&&(n.y=n.y>t?t+a:t-a),r(n.x-e)>o&&(n.x=n.x>e?e+o:e-o)}return n}}]),e}(),De=(A?"onwheel"in P?"wheel":"onmousewheel"in P?"mousewheel":"DOMMouseScroll":"wheel")+", touchstart, touchmove",qe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body, html";d(this,e),this.isSSR=!A,this.options=S({},e.defaults,t),this.container=this.getContainer(n),null==this.container?(this.header=null,this.tween=null,this.isSSR||(/comp|inter|loaded/.test(P.readyState)?this.log('Not found scrollable container. => "'+n+'"'):this.log("Should be initialize later than DOMContentLoaded."))):(this.header=I(this.options.header),this.tween=new Re(this.container),this._trigger=null,this._shouldCallCancelScroll=!1,this.bindContainerClick())}return f(e,[{key:"log",value:function(e){this.options.outputLog&&C("[SweetScroll] "+e)}},{key:"getScrollOffset",value:function(e,t){var n=this.container,r=this.header,i=this.parseCoodinate(t.offset),o=this.parseCoodinate(e);if(!o&&g(e))if("#"===e)o={top:0,left:0};else{var a=X(I(e),n);if(!a)return;o=a}return o?(i&&(o.top+=i.top,o.left+=i.left),r&&(o.top=s(0,o.top-V(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=S({},e),i=Y(n),o=i.viewport,a=i.size;return r.top=t.verticalScroll?s(0,u(a.height-o.height,r.top)):G(n,"y"),r.left=t.horizontalScroll?s(0,u(a.width-o.width,r.left)):G(n,"x"),r}},{key:"to",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isSSR){var r=this.container,i=S({},this.options,n),o=this._trigger,a=g(e)&&/^#/.test(e)?e:null;if(this._options=i,this._trigger=null,this._shouldCallCancelScroll=!1,this.stop(),!r)return this.log("Not found container element.");var s=this.getScrollOffset(e,i);if(!s)return this.log("Invalid parameter of distance. => "+e);!1!==this.hook(i,"beforeScroll",s,o)?(s=this.normalizeScrollOffset(s,i),this.tween.run(s.left,s.top,{duration:i.duration,delay:i.delay,easing:i.easing,quickMode:i.quickMode,complete:function(){null!=a&&a!==N.location.hash&&t.updateURLHash(a,i.updateURL),t.unbindContainerStop(),t._options=null,t._shouldCallCancelScroll?t.hook(i,"cancelScroll"):t.hook(i,"afterScroll",s,o),t.hook(i,"completeScroll",t._shouldCallCancelScroll)},step:function(e,n){t.hook(i,"stepScroll",e,n)}}),this.bindContainerStop()):this._options=null}}},{key:"toTop",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,S({},t,{verticalScroll:!0,horizontalScroll:!1}))}},{key:"toLeft",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.to(e,S({},t,{verticalScroll:!1,horizontalScroll:!0}))}},{key:"toElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isSSR)if(e instanceof Element){var n=X(e,this.container);this.to(n,S({},t))}else this.log("Invalid parameter.")}},{key:"stop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isSSR||(this.container?(this._stopScrollListener&&(this._shouldCallCancelScroll=!0),this.tween.stop(e)):this.log("Not found scrollable container."))}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.container?(this.stop(),this.unbindContainerClick(),this.unbindContainerStop(),this.options=S({},this.options,e),this.header=I(this.options.header),this.bindContainerClick()):this.isSSR||this.log("Not found scrollable container.")}},{key:"destroy",value:function(){this.container?(this.stop(),this.unbindContainerClick(),this.unbindContainerStop(),this.container=null,this.header=null,this.tween=null):this.isSSR||this.log("Not found scrollable container.")}},{key:"beforeScroll",value:function(e,t){return!0}},{key:"cancelScroll",value:function(){}},{key:"afterScroll",value:function(e,t){}},{key:"completeScroll",value:function(e){}},{key:"stepScroll",value:function(e,t){}},{key:"parseCoodinate",value:function(e){var t=this._options?this._options.verticalScroll:this.options.verticalScroll,n={top:0,left:0};if(E(e,"top")||E(e,"left"))n=S(n,e);else if(b(e))2===e.length?(n.top=e[0],n.left=e[1]):(n.top=t?e[0]:0,n.left=t?0:e[0]);else if(w(e))n.top=t?e:0,n.left=t?0:e;else{if(!g(e))return null;var r=T(e);if(/^\d+,\d+$/.test(r))r=r.split(","),n.top=r[0],n.left=r[1];else if(/^(top|left):\d+,?(?:(top|left):\d+)?$/.test(r)){var i=r.match(/top:(\d+)/),o=r.match(/left:(\d+)/);n.top=i?i[1]:0,n.left=o?o[1]:0}else{if(!this.container||!/^(\+|-)=(\d+)$/.test(r))return null;var a=G(this.container,t?"y":"x"),s=r.match(/^(\+|-)=(\d+)$/),u=s[1],l=parseInt(s[2],10);"+"===u?(n.top=t?a+l:0,n.left=t?0:a+l):(n.top=t?a-l:0,n.left=t?0:a-l)}}return n.top=parseInt(n.top,10),n.left=parseInt(n.left,10),n}},{key:"updateURLHash",value:function(e,t){!this.isSSR&&O&&t&&N.history["replace"===t?"replaceState":"pushState"](null,null,e)}},{key:"getContainer",value:function(e){var t=this.options,n=t.verticalScroll,r=t.horizontalScroll,i=null;return this.isSSR||(n&&(i=B(e,"y")),!i&&r&&(i=B(e,"x"))),i}},{key:"bindContainerClick",value:function(){var e=this.container;e&&(this._containerClickListener=this.handleContainerClick.bind(this),$(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&(Z(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),$(e,De,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&(Z(e,De,this._stopScrollListener),this._stopScrollListener=null)}},{key:"hook",value:function(e,t){for(var n=e[t],r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(y(n)){var a=n.apply(this,i);if(void 0===a)return a}return this[t].apply(this,i)}},{key:"handleStopScroll",value:function(e){(this._options?this._options.stopScroll:this.options.stopScroll)?this.stop():e.preventDefault()}},{key:"handleContainerClick",value:function(e){for(var t=this.options,n=e.target;n&&n!==P;n=n.parentNode)if(M(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=S({},t,i)).preventDefault&&e.preventDefault(),t.stopPropagation&&e.stopPropagation(),this._trigger=n,t.horizontalScroll&&t.verticalScroll?this.to(o,t):t.verticalScroll?this.toTop(o,t):t.horizontalScroll&&this.toLeft(o,t)}}},{key:"parseDataOptions",value:function(e){var t=e.getAttribute("data-scroll-options");return t?JSON.parse(t):{}}}]),e}();return qe.defaults={trigger:"[data-scroll]",header:"[data-scroll-header]",duration:1e3,delay:0,easing:"easeOutQuint",offset:0,verticalScroll:!0,horizontalScroll:!1,stopScroll:!0,updateURL:!1,preventDefault:!0,stopPropagation:!0,outputLog:!1,quickMode:!1,beforeScroll:null,afterScroll:null,cancelScroll:null,completeScroll:null,stepScroll:null},qe}()},70655:function(e,t,n){"use strict";n.r(t),n.d(t,{__assign:function(){return o},__asyncDelegator:function(){return b},__asyncGenerator:function(){return y},__asyncValues:function(){return _},__await:function(){return g},__awaiter:function(){return c},__classPrivateFieldGet:function(){return x},__classPrivateFieldSet:function(){return S},__decorate:function(){return s},__exportStar:function(){return f},__extends:function(){return i},__generator:function(){return d},__importDefault:function(){return E},__importStar:function(){return k},__makeTemplateObject:function(){return w},__metadata:function(){return l},__param:function(){return u},__read:function(){return h},__rest:function(){return a},__spread:function(){return m},__spreadArrays:function(){return v},__values:function(){return p}});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)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function i(e,t){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 u(e,t){return function(n,r){t(n,r,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function d(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(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function f(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function p(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 h(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 m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}function v(){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 g(e){return this instanceof g?(this.v=e,this):new g(e)}function y(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{!function(e){e.value instanceof g?Promise.resolve(e.value.v).then(u,l):c(o[0][2],e)}(i[e](t))}catch(e){c(o[0][3],e)}}function u(e){s("next",e)}function l(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(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:g(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(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 w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function k(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function x(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function S(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},84463:function(e,t,n){"use strict";function r(e){var t,n,r,o,a,s,u=Object.create(null);if(this[c]=u,e)if("string"==typeof e)for("?"===e.charAt(0)&&(e=e.slice(1)),a=0,s=(o=e.split("&")).length;a<s;a++)-1<(t=(r=o[a]).indexOf("="))?f(u,p(r.slice(0,t)),p(r.slice(t+1))):r.length&&f(u,p(r),"");else if(i(e))for(a=0,s=e.length;a<s;a++)f(u,(r=e[a])[0],r[1]);else if(e.forEach)e.forEach(d,u);else for(n in e)f(u,n,e[n])}var i=Array.isArray,o=r.prototype,a=/[!'\(\)~]|%20|%00/g,s=/\+/g,u={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"},l=function(e){return u[e]},c="__URLSearchParams__:"+Math.random();function d(e,t){f(this,t,e)}function f(e,t,n){var r=i(n)?n.join(","):n;t in e?e[t].push(r):e[t]=[r]}function p(e){return decodeURIComponent(e.replace(s," "))}function h(e){return encodeURIComponent(e).replace(a,l)}o.append=function(e,t){f(this[c],e,t)},o.delete=function(e){delete this[c][e]},o.get=function(e){var t=this[c];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[c];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[c]},o.set=function(e,t){this[c][e]=[""+t]},o.forEach=function(e,t){var n=this[c];Object.getOwnPropertyNames(n).forEach((function(r){n[r].forEach((function(n){e.call(t,n,r,this)}),this)}),this)},o.toJSON=function(){return{}},o.toString=function(){var e,t,n,r,i=this[c],o=[];for(t in i)for(n=h(t),e=0,r=i[t];e<r.length;e++)o.push(n+"="+h(r[e]));return o.join("&")},function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}();"forEach"in e||(e.forEach=function(e,t){var n=Object.create(null);this.toString().replace(/=[\s\S]*?(?:&|$)/g,"=").split("=").forEach((function(r){r.length&&!(r in n)&&(n[r]=this.getAll(r)).forEach((function(n){e.call(t,n,r,this)}),this)}),this)}),"keys"in e||(e.keys=function(){var e=[];this.forEach((function(t,n){e.push(n)}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),"values"in e||(e.values=function(){var e=[];this.forEach((function(t){e.push(t)}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),"entries"in e||(e.entries=function(){var e=[];this.forEach((function(t,n){e.push([n,t])}));var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n}),t&&!(Symbol.iterator in e)&&(e[Symbol.iterator]=e.entries),"sort"in e||(e.sort=function(){for(var e,t,n,r=this.entries(),i=r.next(),o=i.done,a=[],s=Object.create(null);!o;)t=(n=i.value)[0],a.push(t),t in s||(s[t]=[]),s[t].push(n[1]),o=(i=r.next()).done;for(a.sort(),e=0;e<a.length;e++)this.delete(a[e]);for(e=0;e<a.length;e++)t=a[e],this.append(t,s[t].shift())})}((r=e.exports=n.g.URLSearchParams||r).prototype)},49945:function(e){var t,n,r,i,o;t=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,n=/^(?=([^\/?#]*))\1([^]*)$/,r=/(?:\/|^)\.(?=\/)/g,i=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,o={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var i=o.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=o.normalizePath(i.path),o.buildURLFromParts(i)}var a=o.parseURL(t);if(!a)throw new Error("Error trying to parse relative URL.");if(a.scheme)return r.alwaysNormalize?(a.path=o.normalizePath(a.path),o.buildURLFromParts(a)):t;var s=o.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var u=n.exec(s.path);s.netLoc=u[1],s.path=u[2]}s.netLoc&&!s.path&&(s.path="/");var l={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(l.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var c=s.path,d=c.substring(0,c.lastIndexOf("/")+1)+a.path;l.path=o.normalizePath(d)}else l.path=s.path,a.params||(l.params=s.params,a.query||(l.query=s.query));return null===l.path&&(l.path=r.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(l)},parseURL:function(e){var n=t.exec(e);return n?{scheme:n[1]||"",netLoc:n[2]||"",path:n[3]||"",params:n[4]||"",query:n[5]||"",fragment:n[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(r,"");e.length!==(e=e.replace(i,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=o},52511:function(e,t,n){var r;e=n.nmd(e),function(i){t&&t.nodeType,e&&e.nodeType;var o="object"==typeof n.g&&n.g;o.global!==o&&o.window!==o&&o.self;var a,s=2147483647,u=36,l=/^xn--/,c=/[^\x20-\x7E]/,d=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},p=Math.floor,h=String.fromCharCode;function m(e){throw RangeError(f[e])}function v(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function g(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+v((e=e.replace(d,".")).split("."),t).join(".")}function y(e){for(var t,n,r=[],i=0,o=e.length;i<o;)(t=e.charCodeAt(i++))>=55296&&t<=56319&&i<o?56320==(64512&(n=e.charCodeAt(i++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),i--):r.push(t);return r}function b(e){return v(e,(function(e){var t="";return e>65535&&(t+=h((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=h(e)})).join("")}function _(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function w(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=u)e=p(e/35);return p(r+36*e/(e+38))}function k(e){var t,n,r,i,o,a,l,c,d,f,h,v=[],g=e.length,y=0,_=128,k=72;for((n=e.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&m("not-basic"),v.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(o=y,a=1,l=u;i>=g&&m("invalid-input"),((c=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:u)>=u||c>p((s-y)/a))&&m("overflow"),y+=c*a,!(c<(d=l<=k?1:l>=k+26?26:l-k));l+=u)a>p(s/(f=u-d))&&m("overflow"),a*=f;k=w(y-o,t=v.length+1,0==o),p(y/t)>s-_&&m("overflow"),_+=p(y/t),y%=t,v.splice(y++,0,_)}return b(v)}function E(e){var t,n,r,i,o,a,l,c,d,f,v,g,b,k,E,x=[];for(g=(e=y(e)).length,t=128,n=0,o=72,a=0;a<g;++a)(v=e[a])<128&&x.push(h(v));for(r=i=x.length,i&&x.push("-");r<g;){for(l=s,a=0;a<g;++a)(v=e[a])>=t&&v<l&&(l=v);for(l-t>p((s-n)/(b=r+1))&&m("overflow"),n+=(l-t)*b,t=l,a=0;a<g;++a)if((v=e[a])<t&&++n>s&&m("overflow"),v==t){for(c=n,d=u;!(c<(f=d<=o?1:d>=o+26?26:d-o));d+=u)E=c-f,k=u-f,x.push(h(_(f+E%k,0))),c=p(E/k);x.push(h(_(c,0))),o=w(n,b,r==i),n=0,++r}++n,++t}return x.join("")}a={version:"1.3.2",ucs2:{decode:y,encode:b},decode:k,encode:E,toASCII:function(e){return g(e,(function(e){return c.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return g(e,(function(e){return l.test(e)?k(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},8575:function(e,t,n){var r=n(52511);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=g,t.resolve=function(e,t){return g(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?g(e,!1,!0).resolveObject(t):t},t.format=function(e){y(e)&&(e=g(e));return e instanceof i?e.format():i.prototype.format.call(e)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(s),l=["%","/","?",";","#"].concat(u),c=["/","?","#"],d=/^[a-z0-9A-Z_-]{0,63}$/,f=/^([a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},h={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=n(17673);function g(e,t,n){if(e&&b(e)&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}function y(e){return"string"==typeof e}function b(e){return"object"==typeof e&&null!==e}function _(e){return null===e}i.prototype.parse=function(e,t,n){if(!y(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var a=o.exec(i);if(a){var s=(a=a[0]).toLowerCase();this.protocol=s,i=i.substr(a.length)}if(n||a||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===i.substr(0,2);!g||a&&h[a]||(i=i.substr(2),this.slashes=!0)}if(!h[a]&&(g||a&&!m[a])){for(var b,_,w=-1,k=0;k<c.length;k++){-1!==(E=i.indexOf(c[k]))&&(-1===w||E<w)&&(w=E)}-1!==(_=-1===w?i.lastIndexOf("@"):i.lastIndexOf("@",w))&&(b=i.slice(0,_),i=i.slice(_+1),this.auth=decodeURIComponent(b)),w=-1;for(k=0;k<l.length;k++){var E;-1!==(E=i.indexOf(l[k]))&&(-1===w||E<w)&&(w=E)}-1===w&&(w=i.length),this.host=i.slice(0,w),i=i.slice(w),this.parseHost(),this.hostname=this.hostname||"";var x="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!x)for(var S=this.hostname.split(/\./),T=(k=0,S.length);k<T;k++){var C=S[k];if(C&&!C.match(d)){for(var A="",O=0,N=C.length;O<N;O++)C.charCodeAt(O)>127?A+="x":A+=C[O];if(!A.match(d)){var P=S.slice(0,k),I=S.slice(k+1),L=C.match(f);L&&(P.push(L[1]),I.unshift(L[2])),I.length&&(i="/"+I.join(".")+i),this.hostname=P.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!x){var M=this.hostname.split("."),R=[];for(k=0;k<M.length;++k){var D=M[k];R.push(D.match(/[^A-Za-z0-9_-]/)?"xn--"+r.encode(D):D)}this.hostname=R.join(".")}var q=this.port?":"+this.port:"",j=this.hostname||"";this.host=j+q,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!p[s])for(k=0,T=u.length;k<T;k++){var F=u[k],B=encodeURIComponent(F);B===F&&(B=escape(F)),i=i.split(F).join(B)}var U=i.indexOf("#");-1!==U&&(this.hash=i.substr(U),i=i.slice(0,U));var z=i.indexOf("?");if(-1!==z?(this.search=i.substr(z),this.query=i.substr(z+1),t&&(this.query=v.parse(this.query)),i=i.slice(0,z)):t&&(this.search="",this.query={}),i&&(this.pathname=i),m[s]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){q=this.pathname||"",D=this.search||"";this.path=q+D}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,o="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&b(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var a=this.search||o&&"?"+o||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||m[t])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),t+i+(n=n.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+r},i.prototype.resolve=function(e){return this.resolveObject(g(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(y(e)){var t=new i;t.parse(e,!1,!0),e=t}var n=new i;if(Object.keys(this).forEach((function(e){n[e]=this[e]}),this),n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol)return Object.keys(e).forEach((function(t){"protocol"!==t&&(n[t]=e[t])})),m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n;if(e.protocol&&e.protocol!==n.protocol){if(!m[e.protocol])return Object.keys(e).forEach((function(t){n[t]=e[t]})),n.href=n.format(),n;if(n.protocol=e.protocol,e.host||h[e.protocol])n.pathname=e.pathname;else{for(var r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),n.pathname=r.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var o=n.pathname||"",a=n.search||"";n.path=o+a}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var s=n.pathname&&"/"===n.pathname.charAt(0),u=e.host||e.pathname&&"/"===e.pathname.charAt(0),l=u||s||n.host&&e.pathname,c=l,d=n.pathname&&n.pathname.split("/")||[],f=(r=e.pathname&&e.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(f&&(n.hostname="",n.port=null,n.host&&(""===d[0]?d[0]=n.host:d.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),l=l&&(""===r[0]||""===d[0])),u)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,d=r;else if(r.length)d||(d=[]),d.pop(),d=d.concat(r),n.search=e.search,n.query=e.query;else if(null!=e.search){if(f)n.hostname=n.host=d.shift(),(w=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=w.shift(),n.host=n.hostname=w.shift());return n.search=e.search,n.query=e.query,_(n.pathname)&&_(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!d.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var p=d.slice(-1)[0],v=(n.host||e.host)&&("."===p||".."===p)||""===p,g=0,b=d.length;b>=0;b--)"."==(p=d[b])?d.splice(b,1):".."===p?(d.splice(b,1),g++):g&&(d.splice(b,1),g--);if(!l&&!c)for(;g--;g)d.unshift("..");!l||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),v&&"/"!==d.join("/").substr(-1)&&d.push("");var w,k=""===d[0]||d[0]&&"/"===d[0].charAt(0);f&&(n.hostname=n.host=k?"":d.length?d.shift():"",(w=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=w.shift(),n.host=n.hostname=w.shift()));return(l=l||n.host&&d.length)&&!k&&d.unshift(""),d.length?n.pathname=d.join("/"):(n.pathname=null,n.path=null),_(n.pathname)&&_(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},191:function(e,t,n){"use strict";var r=this&&this.__read||function(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};Object.defineProperty(t,"__esModule",{value:!0});var i=n(67294);t.default=function(){var e=r(i.useState(Object.create(null)),2)[1];return i.useCallback((function(){e(Object.create(null))}),[e])}},94927:function(e,t,n){function r(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(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}},45327:function(e){for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;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("")}},85217:function(e){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},71171:function(e,t,n){var r=n(85217),i=n(45327);e.exports=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)();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||i(a)}},27543:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return sc}});var r=n(58908),i=n.n(r),o=n(89144),a=n.n(o);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)}var u=n(27537),l=n.n(u);function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,d(e,t)}var p=n(75974),h=n.n(p),m=n(9603),v=n.n(m),g=n(13407),y=n.n(g);function b(){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 _(e,t,n){return _=b()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&d(i,n.prototype),i},_.apply(null,arguments)}var w=n(49945),k=n.n(w),E="http://example.com",x=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=i().location&&i().location.href||"");var n="function"==typeof i().URL,r=/^\/\//.test(e),o=!i().location&&!/\/\//i.test(e);if(n?e=new(i().URL)(e,i().location||E):/\/\//i.test(e)||(e=k().buildAbsoluteURL(i().location&&i().location.href||"",e)),n){var a=new URL(t,e);return o?a.href.slice(E.length):r?a.href.slice(a.protocol.length):a.href}return k().buildAbsoluteURL(e,t)};function S(e,t){return S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},S(e,t)}function T(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,S(e,t)}var C=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),o=t.length,a=0;a<o;++a)t[a].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();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 O(e){for(var t,n=(t=e,i().atob?i().atob(t):Buffer.from(t,"base64").toString("binary")),r=new Uint8Array(n.length),o=0;o<n.length;o++)r[o]=n.charCodeAt(o);return r}var N,P=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return T(t,e),t.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(C),I=String.fromCharCode(9),L=function(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),n={};return t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),n},M=function(e){for(var t,n=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},i=n.length;i--;)""!==n[i]&&((t=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},R=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}T(t,e);var n=t.prototype;return n.push=function(e){var t,n,r=this;0!==(e=e.trim()).length&&("#"===e[0]?this.tagMappers.reduce((function(t,n){var r=n(e);return r===e?t:t.concat([r])}),[e]).forEach((function(e){for(var i=0;i<r.customParsers.length;i++)if(r.customParsers[i].call(r,e))return;if(0===e.indexOf("#EXT"))if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e))r.trigger("data",{type:"tag",tagType:"m3u"});else{if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e))return n={type:"tag",tagType:"inf"},t[1]&&(n.duration=parseFloat(t[1])),t[2]&&(n.title=t[2]),void r.trigger("data",n);if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"targetduration"},t[1]&&(n.duration=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"version"},t[1]&&(n.version=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"media-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e))return n={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(n.number=parseInt(t[1],10)),void r.trigger("data",n);if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return n={type:"tag",tagType:"playlist-type"},t[1]&&(n.playlistType=t[1]),void r.trigger("data",n);if(t=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(e))return n=A(L(t[1]),{type:"tag",tagType:"byterange"}),void r.trigger("data",n);if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return n={type:"tag",tagType:"allow-cache"},t[1]&&(n.allowed=!/NO/.test(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"map"},t[1]){var o=M(t[1]);o.URI&&(n.uri=o.URI),o.BYTERANGE&&(n.byterange=L(o.BYTERANGE))}r.trigger("data",n)}else if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(n={type:"tag",tagType:"stream-inf"},t[1]){if(n.attributes=M(t[1]),n.attributes.RESOLUTION){var a=n.attributes.RESOLUTION.split("x"),s={};a[0]&&(s.width=parseInt(a[0],10)),a[1]&&(s.height=parseInt(a[1],10)),n.attributes.RESOLUTION=s}n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))}r.trigger("data",n)}else{if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(e))return n={type:"tag",tagType:"media"},t[1]&&(n.attributes=M(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-ENDLIST/.exec(e))r.trigger("data",{type:"tag",tagType:"endlist"});else if(t=/^#EXT-X-DISCONTINUITY/.exec(e))r.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))return n={type:"tag",tagType:"program-date-time"},t[1]&&(n.dateTimeString=t[1],n.dateTimeObject=new Date(t[1])),void r.trigger("data",n);if(t=/^#EXT-X-KEY:?(.*)$/.exec(e))return n={type:"tag",tagType:"key"},t[1]&&(n.attributes=M(t[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void r.trigger("data",n);if(t=/^#EXT-X-START:?(.*)$/.exec(e))return n={type:"tag",tagType:"start"},t[1]&&(n.attributes=M(t[1]),n.attributes["TIME-OFFSET"]=parseFloat(n.attributes["TIME-OFFSET"]),n.attributes.PRECISE=/YES/.test(n.attributes.PRECISE)),void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out-cont"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-out"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))return n={type:"tag",tagType:"cue-in"},t[1]?n.data=t[1]:n.data="",void r.trigger("data",n);if((t=/^#EXT-X-SKIP:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"skip"}).attributes=M(t[1]),n.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(n.attributes["SKIPPED-SEGMENTS"]=parseInt(n.attributes["SKIPPED-SEGMENTS"],10)),n.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(n.attributes["RECENTLY-REMOVED-DATERANGES"]=n.attributes["RECENTLY-REMOVED-DATERANGES"].split(I)),void r.trigger("data",n);if((t=/^#EXT-X-PART:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part"}).attributes=M(t[1]),["DURATION"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["INDEPENDENT","GAP"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),n.attributes.hasOwnProperty("BYTERANGE")&&(n.attributes.byterange=L(n.attributes.BYTERANGE)),void r.trigger("data",n);if((t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"server-control"}).attributes=M(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=/YES/.test(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PART-INF:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"part-inf"}).attributes=M(t[1]),["PART-TARGET"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseFloat(n.attributes[e]))})),void r.trigger("data",n);if((t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"preload-hint"}).attributes=M(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(e){if(n.attributes.hasOwnProperty(e)){n.attributes[e]=parseInt(n.attributes[e],10);var t="BYTERANGE-LENGTH"===e?"length":"offset";n.attributes.byterange=n.attributes.byterange||{},n.attributes.byterange[t]=n.attributes[e],delete n.attributes[e]}})),void r.trigger("data",n);if((t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e))&&t[1])return(n={type:"tag",tagType:"rendition-report"}).attributes=M(t[1]),["LAST-MSN","LAST-PART"].forEach((function(e){n.attributes.hasOwnProperty(e)&&(n.attributes[e]=parseInt(n.attributes[e],10))})),void r.trigger("data",n);r.trigger("data",{type:"tag",data:e.slice(4)})}}}else r.trigger("data",{type:"comment",text:e.slice(1)})})):this.trigger("data",{type:"uri",uri:e}))},n.addParser=function(e){var t=this,n=e.expression,r=e.customType,i=e.dataParser,o=e.segment;"function"!=typeof i&&(i=function(e){return e}),this.customParsers.push((function(e){if(n.exec(e))return t.trigger("data",{type:"custom",data:i(e),customType:r,segment:o}),!0}))},n.addTagMapper=function(e){var t=e.expression,n=e.map;this.tagMappers.push((function(e){return t.test(e)?n(e):e}))},t}(C),D=function(e){var t={};return Object.keys(e).forEach((function(n){var r;t[(r=n,r.toLowerCase().replace(/-(\w)/g,(function(e){return e[1].toUpperCase()})))]=e[n]})),t},q=function(e){var t=e.serverControl,n=e.targetDuration,r=e.partTargetDuration;if(t){var i="#EXT-X-SERVER-CONTROL",o="holdBack",a="partHoldBack",s=n&&3*n,u=r&&2*r;n&&!t.hasOwnProperty(o)&&(t[o]=s,this.trigger("info",{message:i+" defaulting HOLD-BACK to targetDuration * 3 ("+s+")."})),s&&t[o]<s&&(this.trigger("warn",{message:i+" clamping HOLD-BACK ("+t[o]+") to targetDuration * 3 ("+s+")"}),t[o]=s),r&&!t.hasOwnProperty(a)&&(t[a]=3*r,this.trigger("info",{message:i+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+t[a]+")."})),r&&t[a]<u&&(this.trigger("warn",{message:i+" clamping PART-HOLD-BACK ("+t[a]+") to partTargetDuration * 2 ("+u+")."}),t[a]=u)}},j=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new P,t.parseStream=new R,t.lineStream.pipe(t.parseStream);var n,r,i=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),o=[],a={},s=!1,u=function(){},l={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},c=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var d=0,f=0;return t.on("end",(function(){a.uri||!a.parts&&!a.preloadHints||(!a.map&&n&&(a.map=n),!a.key&&r&&(a.key=r),a.timeline||"number"!=typeof c||(a.timeline=c),t.manifest.preloadSegment=a)})),t.parseStream.on("data",(function(e){var t,p;({tag:function(){({version:function(){e.version&&(this.manifest.version=e.version)},"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(a.byterange=t,t.length=e.length,"offset"in e||(e.offset=d)),"offset"in e&&(a.byterange=t,t.offset=e.offset),d=t.offset+t.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),e.duration>0&&(a.duration=e.duration),0===e.duration&&(a.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=o},key:function(){if(e.attributes)if("NONE"!==e.attributes.METHOD)if(e.attributes.URI){if("com.apple.streamingkeydelivery"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:e.attributes});if("com.microsoft.playready"===e.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:e.attributes.URI});if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){return-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:O(e.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"}))}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},void 0!==e.attributes.IV&&(r.iv=e.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else r=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(e.number)?this.manifest.mediaSequence=e.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number})},"discontinuity-sequence":function(){isFinite(e.number)?(this.manifest.discontinuitySequence=e.number,c=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange),r&&(n.key=r)},"stream-inf":function(){this.manifest.playlists=o,this.manifest.mediaGroups=this.manifest.mediaGroups||l,e.attributes?(a.attributes||(a.attributes={}),A(a.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||l,e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME){var n=this.manifest.mediaGroups[e.attributes.TYPE];n[e.attributes["GROUP-ID"]]=n[e.attributes["GROUP-ID"]]||{},t=n[e.attributes["GROUP-ID"]],(p={default:/yes/i.test(e.attributes.DEFAULT)}).default?p.autoselect=!0:p.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(p.language=e.attributes.LANGUAGE),e.attributes.URI&&(p.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(p.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(p.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(p.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=p}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){c+=1,a.discontinuity=!0,this.manifest.discontinuityStarts.push(o.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),a.dateTimeString=e.dateTimeString,a.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):(this.manifest.targetDuration=e.duration,q.call(this,this.manifest))},start:function(){e.attributes&&!isNaN(e.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out":function(){a.cueOut=e.data},"cue-out-cont":function(){a.cueOutCont=e.data},"cue-in":function(){a.cueIn=e.data},skip:function(){this.manifest.skip=D(e.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",e.attributes,["SKIPPED-SEGMENTS"])},part:function(){var t=this;s=!0;var n=this.manifest.segments.length,r=D(e.attributes);a.parts=a.parts||[],a.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=f),f=r.byterange.offset+r.byterange.length);var i=a.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+n,e.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((function(e,n){e.hasOwnProperty("lastPart")||t.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+n+" lacks required attribute(s): LAST-PART"})}))},"server-control":function(){var t=this.manifest.serverControl=D(e.attributes);t.hasOwnProperty("canBlockReload")||(t.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),q.call(this,this.manifest),t.canSkipDateranges&&!t.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var t=this.manifest.segments.length,n=D(e.attributes),r=n.type&&"PART"===n.type;a.preloadHints=a.preloadHints||[],a.preloadHints.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=r?f:0,r&&(f=n.byterange.offset+n.byterange.length)));var i=a.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+t,e.attributes,["TYPE","URI"]),n.type)for(var o=0;o<a.preloadHints.length-1;o++){var s=a.preloadHints[o];s.type&&(s.type===n.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+i+" for segment #"+t+" has the same TYPE "+n.type+" as preload hint #"+o}))}},"rendition-report":function(){var t=D(e.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(t);var n=this.manifest.renditionReports.length-1,r=["LAST-MSN","URI"];s&&r.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+n,e.attributes,r)},"part-inf":function(){this.manifest.partInf=D(e.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",e.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),q.call(this,this.manifest)}}[e.tagType]||u).call(i)},uri:function(){a.uri=e.uri,o.push(a),this.manifest.targetDuration&&!("duration"in a)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),a.duration=this.manifest.targetDuration),r&&(a.key=r),a.timeline=c,n&&(a.map=n),f=0,a={}},comment:function(){},custom:function(){e.segment?(a.custom=a.custom||{},a.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(i)})),t}T(t,e);var n=t.prototype;return n.warnOnMissingAttributes_=function(e,t,n){var r=[];n.forEach((function(e){t.hasOwnProperty(e)||r.push(e)})),r.length&&this.trigger("warn",{message:e+" lacks required attribute(s): "+r.join(", ")})},n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n"),this.trigger("end")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(C),F={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},B=["video","audio","text"],U=["Video","Audio","Text"],z=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,(function(e,t,n){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)})):e},H=function(e){void 0===e&&(e="");var t=e.split(","),n=[];return t.forEach((function(e){var t;e=e.trim(),B.forEach((function(r){var i=F[r].exec(e.toLowerCase());if(i&&!(i.length<=1)){t=r;var o=e.substring(0,i[1].length),a=e.replace(o,"");n.push({type:o,details:a,mediaType:r})}})),t||n.push({type:e,details:"",mediaType:"unknown"})})),n},V=function(e){return void 0===e&&(e=""),F.audio.test(e.trim().toLowerCase())},W=function(e){if(e&&"string"==typeof e){var t,n=e.toLowerCase().split(",").map((function(e){return z(e.trim())})),r="video";1===n.length&&V(n[0])?r="audio":1===n.length&&(void 0===(t=n[0])&&(t=""),F.text.test(t.trim().toLowerCase()))&&(r="application");var i="mp4";return n.every((function(e){return F.mp4.test(e)}))?i="mp4":n.every((function(e){return F.webm.test(e)}))?i="webm":n.every((function(e){return F.ogg.test(e)}))&&(i="ogg"),r+"/"+i+';codecs="'+e+'"'}},Y=function(e){return void 0===e&&(e=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(W(e))||!1},G=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every((function(e){e=e.trim();for(var t=0;t<U.length;t++){if(F["muxer"+U[t]].test(e))return!0}return!1}))},K="mp4a.40.2",X=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,$=/^application\/dash\+xml/i,Z=function(e){return X.test(e)?"hls":$.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null},Q=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},J=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||Q(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},ee=i().BigInt||Number,te=[ee("0x1"),ee("0x100"),ee("0x10000"),ee("0x1000000"),ee("0x100000000"),ee("0x10000000000"),ee("0x1000000000000"),ee("0x100000000000000"),ee("0x10000000000000000")],ne=(function(){var e=new Uint16Array([65484]),t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);255===t[0]||t[0]}(),function(e,t){var n=void 0===t?{}:t,r=n.signed,i=void 0!==r&&r,o=n.le,a=void 0!==o&&o;e=J(e);var s=a?"reduce":"reduceRight",u=(e[s]?e[s]:Array.prototype[s]).call(e,(function(t,n,r){var i=a?r:Math.abs(r+1-e.length);return t+ee(n)*te[i]}),ee(0));if(i){var l=te[e.length]/ee(2)-ee(1);(u=ee(u))>l&&(u-=l,u-=l,u-=ee(2))}return Number(u)}),re=function(e,t){var n=(void 0===t?{}:t).le,r=void 0!==n&&n;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0),e=ee(e);for(var i,o=(i=e,Math.ceil(function(e){return e.toString(2).length}(i)/8)),a=new Uint8Array(new ArrayBuffer(o)),s=0;s<o;s++){var u=r?s:Math.abs(s+1-a.length);a[u]=Number(e/te[s]&ee(255)),e<0&&(a[u]=Math.abs(~a[u]),a[u]-=0===s?1:2)}return a},ie=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var n=new Uint8Array(e.length),r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},oe=function(e,t,n){var r=void 0===n?{}:n,i=r.offset,o=void 0===i?0:i,a=r.mask,s=void 0===a?[]:a;e=J(e);var u=(t=J(t)).every?t.every:Array.prototype.every;return t.length&&e.length-o>=t.length&&u.call(t,(function(t,n){return t===(s[n]?s[n]&e[o+n]:e[o+n])}))},ae=n(3969),se=function(e){return!!e&&"object"==typeof e},ue=function e(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.reduce((function(t,n){return"object"!=typeof n||Object.keys(n).forEach((function(r){Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):se(t[r])&&se(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]})),t}),{})},le=function(e){return Object.keys(e).map((function(t){return e[t]}))},ce=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},de=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},fe=function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1},pe="INVALID_NUMBER_OF_PERIOD",he="DASH_EMPTY_MANIFEST",me="DASH_INVALID_XML",ve="NO_BASE_URL",ge="SEGMENT_TIME_UNSPECIFIED",ye="UNSUPPORTED_UTC_TIMING_SCHEME",be=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,o=void 0===r?"":r,a=e.range,s=void 0===a?"":a,u=e.indexRange,l=void 0===u?"":u,c={uri:o,resolvedUri:x(n||"",o)};if(s||l){var d,f=(s||l).split("-"),p=i().BigInt?i().BigInt(f[0]):parseInt(f[0],10),h=i().BigInt?i().BigInt(f[1]):parseInt(f[1],10);p<Number.MAX_SAFE_INTEGER&&"bigint"==typeof p&&(p=Number(p)),h<Number.MAX_SAFE_INTEGER&&"bigint"==typeof h&&(h=Number(h)),"bigint"==typeof(d="bigint"==typeof h||"bigint"==typeof p?i().BigInt(h)-i().BigInt(p)+i().BigInt(1):h-p+1)&&d<Number.MAX_SAFE_INTEGER&&(d=Number(d)),c.byterange={length:d,offset:p}}return c},_e=function(e){return e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e},we={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,i=e.sourceDuration,o=e.periodDuration,a=_e(e.endNumber),s=t/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof o?{start:0,end:o/s}:{start:0,end:i/s}},dynamic:function(e){var t=e.NOW,n=e.clientOffset,r=e.availabilityStartTime,i=e.timescale,o=void 0===i?1:i,a=e.duration,s=e.periodStart,u=void 0===s?0:s,l=e.minimumUpdatePeriod,c=void 0===l?0:l,d=e.timeShiftBufferDepth,f=void 0===d?1/0:d,p=_e(e.endNumber),h=(t+n)/1e3,m=r+u,v=h+c-m,g=Math.ceil(v*o/a),y=Math.floor((h-m-f)*o/a),b=Math.floor((h-m)*o/a);return{start:Math.max(0,y),end:"number"==typeof p?p:Math.min(g,b)}}},ke=function(e){var t=e.type,n=e.duration,r=e.timescale,i=void 0===r?1:r,o=e.periodDuration,a=e.sourceDuration,s=we[t](e),u=function(e,t){for(var n=[],r=e;r<t;r++)n.push(r);return n}(s.start,s.end).map(function(e){return function(t){var n=e.duration,r=e.timescale,i=void 0===r?1:r,o=e.periodStart,a=e.startNumber;return{number:(void 0===a?1:a)+t,duration:n/i,timeline:o,time:t*n}}}(e));if("static"===t){var l=u.length-1,c="number"==typeof o?o:a;u[l].duration=c-n/i*l}return u},Ee=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,i=e.sourceDuration,o=e.indexRange,a=void 0===o?"":o,s=e.periodStart,u=e.presentationTime,l=e.number,c=void 0===l?0:l,d=e.duration;if(!t)throw new Error(ve);var f=be({baseUrl:t,source:r.sourceURL,range:r.range}),p=be({baseUrl:t,source:t,indexRange:a});if(p.map=f,d){var h=ke(e);h.length&&(p.duration=h[0].duration,p.timeline=h[0].timeline)}else i&&(p.duration=i,p.timeline=s);return p.presentationTime=u||s,p.number=c,[p]},xe=function(e,t,n){var r,o=e.sidx.map?e.sidx.map:null,a=e.sidx.duration,s=e.timeline||0,u=e.sidx.byterange,l=u.offset+u.length,c=t.timescale,d=t.references.filter((function(e){return 1!==e.referenceType})),f=[],p=e.endList?"static":"dynamic",h=e.sidx.timeline,m=h,v=e.mediaSequence||0;r="bigint"==typeof t.firstOffset?i().BigInt(l)+t.firstOffset:l+t.firstOffset;for(var g=0;g<d.length;g++){var y=t.references[g],b=y.referencedSize,_=y.subsegmentDuration,w=void 0;w="bigint"==typeof r?r+i().BigInt(b)-i().BigInt(1):r+b-1;var k=Ee({baseUrl:n,timescale:c,timeline:s,periodStart:h,presentationTime:m,number:v,duration:_,sourceDuration:a,indexRange:r+"-"+w,type:p})[0];o&&(k.map=o),f.push(k),r+="bigint"==typeof r?i().BigInt(b):b,m+=_/c,v++}return e.segments=f,e},Se=["AUDIO","SUBTITLES"],Te=function(e){return(t=e,n=function(e){return e.timeline},le(t.reduce((function(e,t){return t.forEach((function(t){e[n(t)]=t})),e}),{}))).sort((function(e,t){return e.timeline>t.timeline?1:-1}));var t,n},Ce=function(e){var t,n,r=[];return t=e,n=function(e,t,n,i){r=r.concat(e.playlists||[])},Se.forEach((function(e){for(var r in t.mediaGroups[e])for(var i in t.mediaGroups[e][r]){var o=t.mediaGroups[e][r][i];n(o,e,r,i)}})),r},Ae=function(e){var t=e.playlist,n=e.mediaSequence;t.mediaSequence=n,t.segments.forEach((function(e,n){e.number=t.mediaSequence+n}))},Oe=function(e){var t=e.oldManifest,n=e.newManifest,r=t.playlists.concat(Ce(t)),i=n.playlists.concat(Ce(n));return n.timelineStarts=Te([t.timelineStarts,n.timelineStarts]),function(e){var t=e.oldPlaylists,n=e.newPlaylists,r=e.timelineStarts;n.forEach((function(e){e.discontinuitySequence=fe(r,(function(t){return t.timeline===e.timeline}));var n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].attributes.NAME===t)return e[n];return null}(t,e.attributes.NAME);if(n&&!e.sidx){var i=e.segments[0],o=fe(n.segments,(function(e){return Math.abs(e.presentationTime-i.presentationTime)<.016666666666666666}));if(-1===o)return Ae({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),void((!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[o].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),Ae({playlist:e,mediaSequence:n.segments[o].number})}}))}({oldPlaylists:r,newPlaylists:i,timelineStarts:n.timelineStarts}),n},Ne=function(e){return e&&e.uri+"-"+(t=e.byterange,n="bigint"==typeof t.offset||"bigint"==typeof t.length?i().BigInt(t.offset)+i().BigInt(t.length)-i().BigInt(1):t.offset+t.length-1,t.offset+"-"+n);var t,n},Pe=function(e){return le(e.reduce((function(e,t){var n=t.attributes.id+(t.attributes.lang||"");if(e[n]){var r;if(t.segments)t.segments[0]&&(t.segments[0].discontinuity=!0),(r=e[n].segments).push.apply(r,t.segments);t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)}else e[n]=t,e[n].attributes.timelineStarts=[];return e[n].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e}),{})).map((function(e){var t,n;return e.discontinuityStarts=(t=e.segments||[],n="discontinuity",t.reduce((function(e,t,r){return t[n]&&e.push(r),e}),[])),e}))},Ie=function(e,t){var n=Ne(e.sidx),r=n&&t[n]&&t[n].sidx;return r&&xe(e,r,e.sidx.resolvedUri),e},Le=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e)e[n]=Ie(e[n],t);return e},Me=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,o=e.discontinuityStarts,a={attributes:(t={NAME:n.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:n.width,height:n.height},CODECS:n.codecs,BANDWIDTH:n.bandwidth},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuityStarts:o,timelineStarts:n.timelineStarts,segments:r};return n.contentProtection&&(a.contentProtection=n.contentProtection),i&&(a.sidx=i),a},Re=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},De=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},qe=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},je=function(e){return e?Object.keys(e).reduce((function(t,n){var r=e[n];return t.concat(r.playlists)}),[]):[]},Fe=function(e){var t,n=e.dashPlaylists,r=e.locations,i=e.sidxMapping,o=void 0===i?{}:i,a=e.previousManifest;if(!n.length)return{};var s=n[0].attributes,u=s.sourceDuration,l=s.type,c=s.suggestedPresentationDelay,d=s.minimumUpdatePeriod,f=Pe(n.filter(Re)).map(Me),p=Pe(n.filter(De)),h=Pe(n.filter(qe)),m=n.map((function(e){return e.attributes.captionServices})).filter(Boolean),v={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(t={AUDIO:{},VIDEO:{}},t["CLOSED-CAPTIONS"]={},t.SUBTITLES={},t),uri:"",duration:u,playlists:Le(f,o)};d>=0&&(v.minimumUpdatePeriod=1e3*d),r&&(v.locations=r),"dynamic"===l&&(v.suggestedPresentationDelay=c);var g,y,b=0===v.playlists.length,_=p.length?function(e,t,n){var r;void 0===t&&(t={}),void 0===n&&(n=!1);var i=e.reduce((function(e,i){var o=i.attributes.role&&i.attributes.role.value||"",a=i.attributes.lang||"",s=i.attributes.label||"main";if(a&&!i.attributes.label){var u=o?" ("+o+")":"";s=""+i.attributes.lang+u}e[s]||(e[s]={language:a,autoselect:!0,default:"main"===o,playlists:[],uri:""});var l=Ie(function(e,t){var n,r=e.attributes,i=e.segments,o=e.sidx,a=e.mediaSequence,s=e.discontinuitySequence,u=e.discontinuityStarts,l={attributes:(n={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs},n["PROGRAM-ID"]=1,n),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:s,discontinuityStarts:u,timelineStarts:r.timelineStarts,mediaSequence:a,segments:i};return r.contentProtection&&(l.contentProtection=r.contentProtection),o&&(l.sidx=o),t&&(l.attributes.AUDIO="audio",l.attributes.SUBTITLES="subs"),l}(i,n),t);return e[s].playlists.push(l),void 0===r&&"main"===o&&((r=i).default=!0),e}),{});return r||(i[Object.keys(i)[0]].default=!0),i}(p,o,b):null,w=h.length?function(e,t){return void 0===t&&(t={}),e.reduce((function(e,n){var r=n.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(Ie(function(e){var t,n=e.attributes,r=e.segments,i=e.mediaSequence,o=e.discontinuityStarts,a=e.discontinuitySequence;void 0===r&&(r=[{uri:n.baseUrl,timeline:n.periodStart,resolvedUri:n.baseUrl||"",duration:n.sourceDuration,number:0}],n.duration=n.sourceDuration);var s=((t={NAME:n.id,BANDWIDTH:n.bandwidth})["PROGRAM-ID"]=1,t);return n.codecs&&(s.CODECS=n.codecs),{attributes:s,uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:n.baseUrl||"",targetDuration:n.duration,timelineStarts:n.timelineStarts,discontinuityStarts:o,discontinuitySequence:a,mediaSequence:i,segments:r}}(n),t)),e}),{})}(h,o):null,k=f.concat(je(_),je(w)),E=k.map((function(e){return e.timelineStarts}));return v.timelineStarts=Te(E),g=k,y=v.timelineStarts,g.forEach((function(e){e.mediaSequence=0,e.discontinuitySequence=fe(y,(function(t){return t.timeline===e.timeline})),e.segments&&e.segments.forEach((function(e,t){e.number=t}))})),_&&(v.mediaGroups.AUDIO.audio=_),w&&(v.mediaGroups.SUBTITLES.subs=w),m.length&&(v.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce((function(e,t){return t?(t.forEach((function(t){var n=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:n,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])})),e):e}),{})),a?Oe({oldManifest:a,newManifest:v}):v},Be=function(e,t,n){var r=e.NOW,i=e.clientOffset,o=e.availabilityStartTime,a=e.timescale,s=void 0===a?1:a,u=e.periodStart,l=void 0===u?0:u,c=e.minimumUpdatePeriod,d=(r+i)/1e3+(void 0===c?0:c)-(o+l);return Math.ceil((d*s-t)/n)},Ue=function(e,t){for(var n=e.type,r=e.minimumUpdatePeriod,i=void 0===r?0:r,o=e.media,a=void 0===o?"":o,s=e.sourceDuration,u=e.timescale,l=void 0===u?1:u,c=e.startNumber,d=void 0===c?1:c,f=e.periodStart,p=[],h=-1,m=0;m<t.length;m++){var v=t[m],g=v.d,y=v.r||0,b=v.t||0;h<0&&(h=b),b&&b>h&&(h=b);var _=void 0;if(y<0){var w=m+1;_=w===t.length?"dynamic"===n&&i>0&&a.indexOf("$Number$")>0?Be(e,h,g):(s*l-h)/g:(t[w].t-h)/g}else _=y+1;for(var k=d+p.length+_,E=d+p.length;E<k;)p.push({number:E,duration:g/l,time:h,timeline:f}),h+=g,E++}return p},ze=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,He=function(e,t){return e.replace(ze,function(e){return function(t,n,r,i){if("$$"===t)return"$";if(void 0===e[n])return t;var o=""+e[n];return"RepresentationID"===n?o:(i=r?parseInt(i,10):1,o.length>=i?o:""+new Array(i-o.length+1).join("0")+o)}}(t))},Ve=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,i=void 0===r?{sourceURL:"",range:""}:r,o=be({baseUrl:e.baseUrl,source:He(i.sourceURL,n),range:i.range}),a=function(e,t){return e.duration||t?e.duration?ke(e):Ue(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]}(e,t);return a.map((function(t){n.Number=t.number,n.Time=t.time;var r=He(e.media||"",n),i=e.timescale||1,a=e.presentationTimeOffset||0,s=e.periodStart+(t.time-a)/i;return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:x(e.baseUrl||"",r),map:o,number:t.number,presentationTime:s}}))},We=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r,o=e.periodStart;if(!n&&!t||n&&t)throw new Error(ge);var a,s=i.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,o=be({baseUrl:n,source:i.sourceURL,range:i.range}),a=be({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=o,a}(e,t)}));return n&&(a=ke(e)),t&&(a=Ue(e,t)),a.map((function(t,n){if(s[n]){var r=s[n],i=e.timescale||1,a=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=o+(t.time-a)/i,r}})).filter((function(e){return e}))},Ye=function(e){var t,n,r=e.attributes,i=e.segmentInfo;i.template?(n=Ve,t=ue(r,i.template)):i.base?(n=Ee,t=ue(r,i.base)):i.list&&(n=We,t=ue(r,i.list));var o={attributes:r};if(!n)return o;var a=n(t,i.segmentTimeline);if(t.duration){var s=t,u=s.duration,l=s.timescale,c=void 0===l?1:l;t.duration=u/c}else a.length?t.duration=a.reduce((function(e,t){return Math.max(e,Math.ceil(t.duration))}),0):t.duration=0;return o.attributes=t,o.segments=a,i.base&&t.indexRange&&(o.sidx=a[0],o.segments=[]),o},Ge=function(e,t){return de(e.childNodes).filter((function(e){return e.tagName===t}))},Ke=function(e){return e.textContent.trim()},Xe=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var n=t.slice(1),r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],u=n[5];return 31536e3*parseFloat(r||0)+2592e3*parseFloat(i||0)+86400*parseFloat(o||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(u||0)},$e={mediaPresentationDuration:function(e){return Xe(e)},availabilityStartTime:function(e){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t=e)&&(t+="Z"),Date.parse(t)/1e3;var t},minimumUpdatePeriod:function(e){return Xe(e)},suggestedPresentationDelay:function(e){return Xe(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return Xe(e)},start:function(e){return Xe(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?Xe(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},Ze=function(e){return e&&e.attributes?de(e.attributes).reduce((function(e,t){var n=$e[t.name]||$e.DEFAULT;return e[t.name]=n(t.value),e}),{}):{}},Qe={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},Je=function(e,t){return t.length?ce(e.map((function(e){return t.map((function(t){return x(e,Ke(t))}))}))):e},et=function(e){var t=Ge(e,"SegmentTemplate")[0],n=Ge(e,"SegmentList")[0],r=n&&Ge(n,"SegmentURL").map((function(e){return ue({tag:"SegmentURL"},Ze(e))})),i=Ge(e,"SegmentBase")[0],o=n||t,a=o&&Ge(o,"SegmentTimeline")[0],s=n||i||t,u=s&&Ge(s,"Initialization")[0],l=t&&Ze(t);l&&u?l.initialization=u&&Ze(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});var c={template:l,segmentTimeline:a&&Ge(a,"S").map((function(e){return Ze(e)})),list:n&&ue(Ze(n),{segmentUrls:r,initialization:Ze(u)}),base:i&&ue(Ze(i),{initialization:Ze(u)})};return Object.keys(c).forEach((function(e){c[e]||delete c[e]})),c},tt=function(e,t,n){return function(r){var i,o=Ze(r),a=Je(t,Ge(r,"BaseURL")),s=Ge(r,"Role")[0],u={role:Ze(s)},l=ue(e,o,u),c=Ge(r,"Accessibility")[0],d="urn:scte:dash:cc:cea-608:2015"===(i=Ze(c)).schemeIdUri?("string"!=typeof i.value?[]:i.value.split(";")).map((function(e){var t,n;if(n=e,/^CC\d=/.test(e)){var r=e.split("=");t=r[0],n=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:n}})):"urn:scte:dash:cc:cea-708:2015"===i.schemeIdUri?("string"!=typeof i.value?[]:i.value.split(";")).map((function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var n=e.split("="),r=n[0],i=n[1],o=void 0===i?"":i;t.channel=r,t.language=e,o.split(",").forEach((function(e){var n=e.split(":"),r=n[0],i=n[1];"lang"===r?t.language=i:"er"===r?t.easyReader=Number(i):"war"===r?t.aspectRatio=Number(i):"3D"===r&&(t["3D"]=Number(i))}))}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t})):void 0;d&&(l=ue(l,{captionServices:d}));var f=Ge(r,"Label")[0];if(f&&f.childNodes.length){var p=f.childNodes[0].nodeValue.trim();l=ue(l,{label:p})}var h=Ge(r,"ContentProtection").reduce((function(e,t){var n=Ze(t);n.schemeIdUri&&(n.schemeIdUri=n.schemeIdUri.toLowerCase());var r=Qe[n.schemeIdUri];if(r){e[r]={attributes:n};var i=Ge(t,"cenc:pssh")[0];if(i){var o=Ke(i);e[r].pssh=o&&O(o)}}return e}),{});Object.keys(h).length&&(l=ue(l,{contentProtection:h}));var m=et(r),v=Ge(r,"Representation"),g=ue(n,m);return ce(v.map(function(e,t,n){return function(r){var i=Ge(r,"BaseURL"),o=Je(t,i),a=ue(e,Ze(r)),s=et(r);return o.map((function(e){return{segmentInfo:ue(n,s),attributes:ue(a,{baseUrl:e})}}))}}(l,a,g)))}},nt=function(e,t){return function(n,r){var i=Je(t,Ge(n.node,"BaseURL")),o=ue(e,{periodStart:n.attributes.start});"number"==typeof n.attributes.duration&&(o.periodDuration=n.attributes.duration);var a=Ge(n.node,"AdaptationSet"),s=et(n.node);return ce(a.map(tt(o,i,s)))}},rt=function(e){if(""===e)throw new Error(he);var t,n,r=new ae.DOMParser;try{n=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(me);return n},it=function(e,t){void 0===t&&(t={});var n=function(e,t){void 0===t&&(t={});var n=t,r=n.manifestUri,i=void 0===r?"":r,o=n.NOW,a=void 0===o?Date.now():o,s=n.clientOffset,u=void 0===s?0:s,l=Ge(e,"Period");if(!l.length)throw new Error(pe);var c=Ge(e,"Location"),d=Ze(e),f=Je([i],Ge(e,"BaseURL"));d.type=d.type||"static",d.sourceDuration=d.mediaPresentationDuration||0,d.NOW=a,d.clientOffset=u,c.length&&(d.locations=c.map(Ke));var p=[];return l.forEach((function(e,t){var n=Ze(e),r=p[t-1];n.start=function(e){var t=e.attributes,n=e.priorPeriodAttributes,r=e.mpdType;return"number"==typeof t.start?t.start:n&&"number"==typeof n.start&&"number"==typeof n.duration?n.start+n.duration:n||"static"!==r?null:0}({attributes:n,priorPeriodAttributes:r?r.attributes:null,mpdType:d.type}),p.push({node:e,attributes:n})})),{locations:d.locations,representationInfo:ce(p.map(nt(d,f)))}}(rt(e),t),r=n.representationInfo.map(Ye);return Fe({dashPlaylists:r,locations:n.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},ot=function(e){return function(e){var t=Ge(e,"UTCTiming")[0];if(!t)return null;var n=Ze(t);switch(n.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":n.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":n.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":n.method="DIRECT",n.value=Date.parse(n.value);break;default:throw new Error(ye)}return n}(rt(e))},at=n(84221),st=n.n(at),ut=J([73,68,51]),lt=function e(t,n){return void 0===n&&(n=0),(t=J(t)).length-n<10||!oe(t,ut,{offset:n})?n:(n+=function(e,t){void 0===t&&(t=0);var n=(e=J(e))[t+5],r=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&n)>>4?r+20:r+10}(t,n),e(t,n))},ct=(new Uint8Array([79,112,117,115,72,101,97,100]),function(e){return"string"==typeof e?ie(e):e}),dt=function(e){e=J(e);for(var t=[],n=0;e.length>n;){var r=e[n],i=0,o=0,a=e[++o];for(o++;128&a;)i=(127&a)<<7,a=e[o],o++;i+=127&a;for(var s=0;s<N.length;s++){var u=N[s],l=u.id,c=u.parser;if(r===l){t.push(c(e.subarray(o,o+i)));break}}n+=i+o}return t};N=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var n=e[t.size];t.url=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,J(e));try{return decodeURIComponent(escape(t))}catch(e){}return t}(e.subarray(t.size+1,t.size+1+n)),t.size+=n}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=dt(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:dt(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var ft=function e(t,n,r){void 0===r&&(r=!1),n=function(e){return Array.isArray(e)?e.map((function(e){return ct(e)})):[ct(e)]}(n),t=J(t);var i=[];if(!n.length)return i;for(var o=0;o<t.length;){var a=(t[o]<<24|t[o+1]<<16|t[o+2]<<8|t[o+3])>>>0,s=t.subarray(o+4,o+8);if(0===a)break;var u=o+a;if(u>t.length){if(r)break;u=t.length}var l=t.subarray(o+8,u);oe(s,n[0])&&(1===n.length?i.push(l):i.push.apply(i,e(l,n.slice(1),r))),o=u}return i},pt={EBML:J([26,69,223,163]),DocType:J([66,130]),Segment:J([24,83,128,103]),SegmentInfo:J([21,73,169,102]),Tracks:J([22,84,174,107]),Track:J([174]),TrackNumber:J([215]),DefaultDuration:J([35,227,131]),TrackEntry:J([174]),TrackType:J([131]),FlagDefault:J([136]),CodecID:J([134]),CodecPrivate:J([99,162]),VideoTrack:J([224]),AudioTrack:J([225]),Cluster:J([31,67,182,117]),Timestamp:J([231]),TimestampScale:J([42,215,177]),BlockGroup:J([160]),BlockDuration:J([155]),Block:J([161]),SimpleBlock:J([163])},ht=[128,64,32,16,8,4,2,1],mt=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=!1);var i=function(e){for(var t=1,n=0;n<ht.length&&!(e&ht[n]);n++)t++;return t}(e[t]),o=e.subarray(t,t+i);return n&&((o=Array.prototype.slice.call(e,t,t+i))[0]^=ht[i-1]),{length:i,value:ne(o,{signed:r}),bytes:o}},vt=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map((function(t){return e(t)})):"number"==typeof t?re(t):t},gt=function e(t,n,r){if(r>=n.length)return n.length;var i=mt(n,r,!1);if(oe(t.bytes,i.bytes))return r;var o=mt(n,r+i.length);return e(t,n,r+o.length+o.value+i.length)},yt=function e(t,n){n=function(e){return Array.isArray(e)?e.map((function(e){return vt(e)})):[vt(e)]}(n),t=J(t);var r=[];if(!n.length)return r;for(var i=0;i<t.length;){var o=mt(t,i,!1),a=mt(t,i+o.length),s=i+o.length+a.length;127===a.value&&(a.value=gt(o,t,s),a.value!==t.length&&(a.value-=s));var u=s+a.value>t.length?t.length:s+a.value,l=t.subarray(s,u);oe(n[0],o.bytes)&&(1===n.length?r.push(l):r=r.concat(e(l,n.slice(1)))),i+=o.length+a.length+l.length}return r},bt=J([0,0,0,1]),_t=J([0,0,1]),wt=J([0,0,3]),kt=function(e){for(var t=[],n=1;n<e.length-2;)oe(e.subarray(n,n+3),wt)&&(t.push(n+2),n++),n++;if(0===t.length)return e;var r=e.length-t.length,i=new Uint8Array(r),o=0;for(n=0;n<r;o++,n++)o===t[0]&&(o++,t.shift()),i[n]=e[o];return i},Et=function(e,t,n,r){void 0===r&&(r=1/0),e=J(e),n=[].concat(n);for(var i,o=0,a=0;o<e.length&&(a<r||i);){var s=void 0;if(oe(e.subarray(o),bt)?s=4:oe(e.subarray(o),_t)&&(s=3),s){if(a++,i)return kt(e.subarray(i,o));var u=void 0;"h264"===t?u=31&e[o+s]:"h265"===t&&(u=e[o+s]>>1&63),-1!==n.indexOf(u)&&(i=o+s),o+=s+("h264"===t?1:2)}else o++}return e.subarray(0,0)},xt={webm:J([119,101,98,109]),matroska:J([109,97,116,114,111,115,107,97]),flac:J([102,76,97,67]),ogg:J([79,103,103,83]),ac3:J([11,119]),riff:J([82,73,70,70]),avi:J([65,86,73]),wav:J([87,65,86,69]),"3gp":J([102,116,121,112,51,103]),mp4:J([102,116,121,112]),fmp4:J([115,116,121,112]),mov:J([102,116,121,112,113,116]),moov:J([109,111,111,118]),moof:J([109,111,111,102])},St={aac:function(e){var t=lt(e);return oe(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=lt(e);return oe(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=yt(e,[pt.EBML,pt.DocType])[0];return oe(t,xt.webm)},mkv:function(e){var t=yt(e,[pt.EBML,pt.DocType])[0];return oe(t,xt.matroska)},mp4:function(e){return!St["3gp"](e)&&!St.mov(e)&&(!(!oe(e,xt.mp4,{offset:4})&&!oe(e,xt.fmp4,{offset:4}))||(!(!oe(e,xt.moof,{offset:4})&&!oe(e,xt.moov,{offset:4}))||void 0))},mov:function(e){return oe(e,xt.mov,{offset:4})},"3gp":function(e){return oe(e,xt["3gp"],{offset:4})},ac3:function(e){var t=lt(e);return oe(e,xt.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=lt(e);return oe(e,xt.flac,{offset:t})},ogg:function(e){return oe(e,xt.ogg)},avi:function(e){return oe(e,xt.riff)&&oe(e,xt.avi,{offset:8})},wav:function(e){return oe(e,xt.riff)&&oe(e,xt.wav,{offset:8})},h264:function(e){return function(e,t,n){return Et(e,"h264",t,n)}(e,7,3).length},h265:function(e){return function(e,t,n){return Et(e,"h265",t,n)}(e,[32,33],3).length}},Tt=Object.keys(St).filter((function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e})).concat(["ts","h264","h265"]);Tt.forEach((function(e){var t=St[e];St[e]=function(e){return t(J(e))}}));for(var Ct,At=St,Ot=function(e){e=J(e);for(var t=0;t<Tt.length;t++){var n=Tt[t];if(At[n](e))return n}return""},Nt=n(51489),Pt="7.20.2",It={},Lt=function(e,t){return It[e]=It[e]||[],t&&(It[e]=It[e].concat(t)),It[e]},Mt=function(e,t){var n=Lt(e).indexOf(t);return!(n<=-1)&&(It[e]=It[e].slice(),It[e].splice(n,1),!0)},Rt={prefixed:!0},Dt=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror","fullscreen"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"]],qt=Dt[0],jt=0;jt<Dt.length;jt++)if(Dt[jt][1]in a()){Ct=Dt[jt];break}if(Ct){for(var Ft=0;Ft<Ct.length;Ft++)Rt[qt[Ft]]=Ct[Ft];Rt.prefixed=Ct[0]!==qt[0]}var Bt=[];var Ut=function e(t){var n,r="info",o=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];n("log",r,t)};return n=function(e,t){return function(n,r,o){var a=t.levels[r],s=new RegExp("^("+a+")$");if("log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(e+":"),Bt){Bt.push([].concat(o));var u=Bt.length-1e3;Bt.splice(0,u>0?u:0)}if(i().console){var l=i().console[n];l||"debug"!==n||(l=i().console.info||i().console.log),l&&a&&s.test(n)&&l[Array.isArray(o)?"apply":"call"](i().console,o)}}}(t,o),o.createLogger=function(n){return e(t+": "+n)},o.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:r},o.level=function(e){if("string"==typeof e){if(!o.levels.hasOwnProperty(e))throw new Error('"'+e+'" in not a valid log level');r=e}return r},(o.history=function(){return Bt?[].concat(Bt):[]}).filter=function(e){return(Bt||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},o.history.clear=function(){Bt&&(Bt.length=0)},o.history.disable=function(){null!==Bt&&(Bt.length=0,Bt=null)},o.history.enable=function(){null===Bt&&(Bt=[])},o.error=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("error",r,t)},o.warn=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("warn",r,t)},o.debug=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n("debug",r,t)},o}("VIDEOJS"),zt=Ut.createLogger,Ht=Object.prototype.toString,Vt=function(e){return Gt(e)?Object.keys(e):[]};function Wt(e,t){Vt(e).forEach((function(n){return t(e[n],n)}))}function Yt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.assign?s.apply(void 0,[e].concat(n)):(n.forEach((function(t){t&&Wt(t,(function(t,n){e[n]=t}))})),e)}function Gt(e){return!!e&&"object"==typeof e}function Kt(e){return Gt(e)&&"[object Object]"===Ht.call(e)&&e.constructor===Object}function Xt(e,t){if(!e||!t)return"";if("function"==typeof i().getComputedStyle){var n;try{n=i().getComputedStyle(e)}catch(e){return""}return n?n.getPropertyValue(t)||n[t]:""}return""}var $t,Zt=i().navigator&&i().navigator.userAgent||"",Qt=/AppleWebKit\/([\d.]+)/i.exec(Zt),Jt=Qt?parseFloat(Qt.pop()):null,en=/iPod/i.test(Zt),tn=($t=Zt.match(/OS (\d+)_/i))&&$t[1]?$t[1]:null,nn=/Android/i.test(Zt),rn=function(){var e=Zt.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),on=nn&&rn<5&&Jt<537,an=/Firefox/i.test(Zt),sn=/Edg/i.test(Zt),un=!sn&&(/Chrome/i.test(Zt)||/CriOS/i.test(Zt)),ln=function(){var e=Zt.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),cn=function(){var e=/MSIE\s(\d+)\.\d/.exec(Zt),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(Zt)&&/rv:11.0/.test(Zt)&&(t=11),t}(),dn=/Safari/i.test(Zt)&&!un&&!nn&&!sn,fn=/Windows/i.test(Zt),pn=Boolean(wn()&&("ontouchstart"in i()||i().navigator.maxTouchPoints||i().DocumentTouch&&i().document instanceof i().DocumentTouch)),hn=/iPad/i.test(Zt)||dn&&pn&&!/iPhone/i.test(Zt),mn=/iPhone/i.test(Zt)&&!hn,vn=mn||hn||en,gn=(dn||vn)&&!un,yn=Object.freeze({__proto__:null,IS_IPOD:en,IOS_VERSION:tn,IS_ANDROID:nn,ANDROID_VERSION:rn,IS_NATIVE_ANDROID:on,IS_FIREFOX:an,IS_EDGE:sn,IS_CHROME:un,CHROME_VERSION:ln,IE_VERSION:cn,IS_SAFARI:dn,IS_WINDOWS:fn,TOUCH_ENABLED:pn,IS_IPAD:hn,IS_IPHONE:mn,IS_IOS:vn,IS_ANY_SAFARI:gn});function bn(e){return"string"==typeof e&&Boolean(e.trim())}function _n(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function wn(){return a()===i().document}function kn(e){return Gt(e)&&1===e.nodeType}function En(){try{return i().parent!==i().self}catch(e){return!0}}function xn(e){return function(t,n){if(!bn(t))return a()[e](null);bn(n)&&(n=a().querySelector(n));var r=kn(n)?n:a();return r[e]&&r[e](t)}}function Sn(e,t,n,r){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={});var i=a().createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(Ut.warn("Setting attributes in the second argument of createEl()\nhas been deprecated. Use the third argument instead.\ncreateEl(type, properties, attributes). Attempting to set "+e+" to "+n+"."),i.setAttribute(e,n)):"textContent"===e?Tn(i,n):i[e]===n&&"tabIndex"!==e||(i[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){i.setAttribute(e,n[e])})),r&&Wn(i,r),i}function Tn(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function Cn(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function An(e,t){return _n(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function On(e,t){return e.classList?e.classList.add(t):An(e,t)||(e.className=(e.className+" "+t).trim()),e}function Nn(e,t){return e?(e.classList?e.classList.remove(t):(_n(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e):(Ut.warn("removeClass was called with an element that doesn't exist"),null)}function Pn(e,t,n){var r=An(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?On(e,t):Nn(e,t),e}function In(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];null==r||!1===r?e.removeAttribute(n):e.setAttribute(n,!0===r?"":r)}))}function Ln(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var r=e.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,a=r[i].value;"boolean"!=typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}return t}function Mn(e,t){return e.getAttribute(t)}function Rn(e,t,n){e.setAttribute(t,n)}function Dn(e,t){e.removeAttribute(t)}function qn(){a().body.focus(),a().onselectstart=function(){return!1}}function jn(){a().onselectstart=function(){return!0}}function Fn(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(Xt(e,"height"))),n.width||(n.width=parseFloat(Xt(e,"width"))),n}}function Bn(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,n=e.offsetHeight,r=0,i=0;e.offsetParent&&e!==a()[Rt.fullscreenElement];)r+=e.offsetLeft,i+=e.offsetTop,e=e.offsetParent;return{left:r,top:i,width:t,height:n}}function Un(e,t){var n={x:0,y:0};if(vn)for(var r=e;r&&"html"!==r.nodeName.toLowerCase();){var i=Xt(r,"transform");if(/^matrix/.test(i)){var o=i.slice(7,-1).split(/,\s/).map(Number);n.x+=o[4],n.y+=o[5]}else if(/^matrix3d/.test(i)){var a=i.slice(9,-1).split(/,\s/).map(Number);n.x+=a[12],n.y+=a[13]}r=r.parentNode}var s={},u=Bn(t.target),l=Bn(e),c=l.width,d=l.height,f=t.offsetY-(l.top-u.top),p=t.offsetX-(l.left-u.left);return t.changedTouches&&(p=t.changedTouches[0].pageX-l.left,f=t.changedTouches[0].pageY+l.top,vn&&(p-=n.x,f-=n.y)),s.y=1-Math.max(0,Math.min(1,f/d)),s.x=Math.max(0,Math.min(1,p/c)),s}function zn(e){return Gt(e)&&3===e.nodeType}function Hn(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function Vn(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"==typeof e&&(e=e()),kn(e)||zn(e)?e:"string"==typeof e&&/\S/.test(e)?a().createTextNode(e):void 0})).filter((function(e){return e}))}function Wn(e,t){return Vn(t).forEach((function(t){return e.appendChild(t)})),e}function Yn(e,t){return Wn(Hn(e),t)}function Gn(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||("mouseup"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var Kn,Xn=xn("querySelector"),$n=xn("querySelectorAll"),Zn=Object.freeze({__proto__:null,isReal:wn,isEl:kn,isInFrame:En,createEl:Sn,textContent:Tn,prependTo:Cn,hasClass:An,addClass:On,removeClass:Nn,toggleClass:Pn,setAttributes:In,getAttributes:Ln,getAttribute:Mn,setAttribute:Rn,removeAttribute:Dn,blockTextSelection:qn,unblockTextSelection:jn,getBoundingClientRect:Fn,findPosition:Bn,getPointerPosition:Un,isTextNode:zn,emptyEl:Hn,normalizeContent:Vn,appendContent:Wn,insertContent:Yn,isSingleLeftClick:Gn,$:Xn,$$:$n}),Qn=!1,Jn=function(){if(!1!==Kn.options.autoSetup){var e=Array.prototype.slice.call(a().getElementsByTagName("video")),t=Array.prototype.slice.call(a().getElementsByTagName("audio")),n=Array.prototype.slice.call(a().getElementsByTagName("video-js")),r=e.concat(t,n);if(r&&r.length>0)for(var i=0,o=r.length;i<o;i++){var s=r[i];if(!s||!s.getAttribute){er(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&Kn(s)}else Qn||er(1)}};function er(e,t){wn()&&(t&&(Kn=t),i().setTimeout(Jn,e))}function tr(){Qn=!0,i().removeEventListener("load",tr)}wn()&&("complete"===a().readyState?tr():i().addEventListener("load",tr));var nr,rr=function(e){var t=a().createElement("style");return t.className=e,t},ir=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},or=3;function ar(){return or++}i().WeakMap||(nr=function(){function e(){this.vdata="vdata"+Math.floor(i().performance&&i().performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var n=e[this.vdata]||ar();return e[this.vdata]||(e[this.vdata]=n),this.data[n]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];Ut("We have no data for this element",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var sr,ur=i().WeakMap?new WeakMap:new nr;function lr(e,t){if(ur.has(e)){var n=ur.get(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&ur.delete(e)}}function cr(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function dr(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){var r=e||i().event;for(var o in e={},r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==o&&"path"!==o&&("returnValue"===o&&r.preventDefault||(e[o]=r[o]));if(e.target||(e.target=e.srcElement||a()),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var s=a().documentElement,u=a().body;e.pageX=e.clientX+(s&&s.scrollLeft||u&&u.scrollLeft||0)-(s&&s.clientLeft||u&&u.clientLeft||0),e.pageY=e.clientY+(s&&s.scrollTop||u&&u.scrollTop||0)-(s&&s.clientTop||u&&u.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}var fr=["touchstart","touchmove"];function pr(e,t,n){if(Array.isArray(t))return cr(pr,e,t,n);ur.has(e)||ur.set(e,{});var r=ur.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=ar()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=dr(t);var i=r.handlers[t.type];if(i)for(var o=i.slice(0),a=0,s=o.length;a<s&&!t.isImmediatePropagationStopped();a++)try{o[a].call(e,t,n)}catch(e){Ut.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var o=!1;(function(){if("boolean"!=typeof sr){sr=!1;try{var e=Object.defineProperty({},"passive",{get:function(){sr=!0}});i().addEventListener("test",null,e),i().removeEventListener("test",null,e)}catch(e){}}return sr})()&&fr.indexOf(t)>-1&&(o={passive:!0}),e.addEventListener(t,r.dispatcher,o)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function hr(e,t,n){if(ur.has(e)){var r=ur.get(e);if(r.handlers){if(Array.isArray(t))return cr(hr,e,t,n);var i=function(e,t){r.handlers[t]=[],lr(e,t)};if(void 0!==t){var o=r.handlers[t];if(o)if(n){if(n.guid)for(var a=0;a<o.length;a++)o[a].guid===n.guid&&o.splice(a--,1);lr(e,t)}else i(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&i(e,s)}}}function mr(e,t,n){var r=ur.has(e)?ur.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=dr(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)mr.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){ur.has(t.target)||ur.set(t.target,{});var o=ur.get(t.target);t.target[t.type]&&(o.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),o.disabled=!1)}return!t.defaultPrevented}function vr(e,t,n){if(Array.isArray(t))return cr(vr,e,t,n);var r=function r(){hr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||ar(),pr(e,t,r)}function gr(e,t,n){var r=function r(){hr(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||ar(),pr(e,t,r)}var yr,br=Object.freeze({__proto__:null,fixEvent:dr,on:pr,off:hr,trigger:mr,one:vr,any:gr}),_r=30,wr=function(e,t,n){t.guid||(t.guid=ar());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},kr=function(e,t){var n=i().performance.now();return function(){var r=i().performance.now();r-n>=t&&(e.apply(void 0,arguments),n=r)}},Er=function(){};Er.prototype.allowedEvents_={},Er.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},pr(this,e,t),this.addEventListener=n},Er.prototype.addEventListener=Er.prototype.on,Er.prototype.off=function(e,t){hr(this,e,t)},Er.prototype.removeEventListener=Er.prototype.off,Er.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},vr(this,e,t),this.addEventListener=n},Er.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},gr(this,e,t),this.addEventListener=n},Er.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=dr(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),mr(this,e)},Er.prototype.dispatchEvent=Er.prototype.trigger,Er.prototype.queueTrigger=function(e){var t=this;yr||(yr=new Map);var n=e.type||e,r=yr.get(this);r||(r=new Map,yr.set(this,r));var o=r.get(n);r.delete(n),i().clearTimeout(o);var a=i().setTimeout((function(){0===r.size&&(r=null,yr.delete(t)),t.trigger(e)}),0);r.set(n,a)};var xr=function(e){return"function"==typeof e.name?e.name():"string"==typeof e.name?e.name:e.name_?e.name_:e.constructor&&e.constructor.name?e.constructor.name:typeof e},Sr=function(e){return e instanceof Er||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"==typeof e[t]}))},Tr=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},Cr=function(e,t,n){if(!e||!e.nodeName&&!Sr(e))throw new Error("Invalid target for "+xr(t)+"#"+n+"; must be a DOM node or evented object.")},Ar=function(e,t,n){if(!Tr(e))throw new Error("Invalid event type for "+xr(t)+"#"+n+"; must be a non-empty string or array.")},Or=function(e,t,n){if("function"!=typeof e)throw new Error("Invalid listener for "+xr(t)+"#"+n+"; must be a function.")},Nr=function(e,t,n){var r,i,o,a=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return a?(r=e.eventBusEl_,t.length>=3&&t.shift(),i=t[0],o=t[1]):(r=t[0],i=t[1],o=t[2]),Cr(r,e,n),Ar(i,e,n),Or(o,e,n),{isTargetingSelf:a,target:r,type:i,listener:o=wr(e,o)}},Pr=function(e,t,n,r){Cr(e,e,t),e.nodeName?br[t](e,n,r):e[t](n,r)},Ir={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Nr(this,n,"on"),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(Pr(a,"on",s,u),!o){var l=function(){return e.off(a,s,u)};l.guid=u.guid;var c=function(){return e.off("dispose",l)};c.guid=u.guid,Pr(this,"on","dispose",l),Pr(a,"on","dispose",c)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Nr(this,n,"one"),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(o)Pr(a,"one",s,u);else{var l=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];u.apply(null,r)};l.guid=u.guid,Pr(a,"one",s,l)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Nr(this,n,"any"),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(o)Pr(a,"any",s,u);else{var l=function t(){e.off(a,s,t);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];u.apply(null,r)};l.guid=u.guid,Pr(a,"any",s,l)}},off:function(e,t,n){if(!e||Tr(e))hr(this.eventBusEl_,e,t);else{var r=e,i=t;Cr(r,this,"off"),Ar(i,this,"off"),Or(n,this,"off"),n=wr(this,n),this.off("dispose",n),r.nodeName?(hr(r,i,n),hr(r,"dispose",n)):Sr(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){Cr(this.eventBusEl_,this,"trigger");var n=e&&"string"!=typeof e?e.type:e;if(!Tr(n)){var r="Invalid event type for "+xr(this)+"#trigger; must be a non-empty string or object with a type key that has a non-empty value.";if(!e)throw new Error(r);(this.log||Ut).error(r)}return mr(this.eventBusEl_,e,t)}};function Lr(e,t){void 0===t&&(t={});var n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=Sn("span",{className:"vjs-event-bus"});return Yt(e,Ir),e.eventedCallbacks&&e.eventedCallbacks.forEach((function(e){e()})),e.on("dispose",(function(){e.off(),[e,e.el_,e.eventBusEl_].forEach((function(e){e&&ur.has(e)&&ur.delete(e)})),i().setTimeout((function(){e.eventBusEl_=null}),0)})),e}var Mr={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),Wt(e,(function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e})),t&&Sr(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function Rr(e,t){return Yt(e,Mr),e.state=Yt({},e.state,t),"function"==typeof e.handleStateChanged&&Sr(e)&&e.on("statechanged",e.handleStateChanged),e}var Dr=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toLowerCase()}))},qr=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))};function jr(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){t&&Wt(t,(function(t,n){Kt(t)?(Kt(e[n])||(e[n]={}),e[n]=jr(e[n],t)):e[n]=t}))})),e}var Fr=function(){function e(){this.map_={}}var t=e.prototype;return t.has=function(e){return e in this.map_},t.delete=function(e){var t=this.has(e);return delete this.map_[e],t},t.set=function(e,t){return this.map_[e]=t,this},t.forEach=function(e,t){for(var n in this.map_)e.call(t,this.map_[n],n,this)},e}(),Br=i().Map?i().Map:Fr,Ur=function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var n in this.set_)e.call(t,n,n,this)},e}(),zr=i().Set?i().Set:Ur,Hr=function(){function e(e,t,n){var r=this;if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=jr({},this.options_),t=this.options_=jr(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var i=e&&e.id&&e.id()||"no_player";this.id_=i+"_component_"+ar()}this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),t.className&&this.el_&&t.className.split(" ").forEach((function(e){return r.addClass(e)})),!1!==t.evented&&(Lr(this,{eventBusKey:this.el_?"el_":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,"languagechange",this.handleLanguagechange)),Rr(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new zr,this.setIntervalIds_=new zr,this.rafIds_=new zr,this.namedRafs_=new Br,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(e){if(void 0===e&&(e={}),!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&(e.restoreEl?this.el_.parentNode.replaceChild(e.restoreEl,this.el_):this.el_.parentNode.removeChild(this.el_)),this.el_=null),this.player_=null}},t.isDisposed=function(){return Boolean(this.isDisposed_)},t.player=function(){return this.player_},t.options=function(e){return e?(this.options_=jr(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return Sn(e,t,n)},t.localize=function(e,t,n){void 0===n&&(n=e);var r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],a=r&&r.split("-")[0],s=i&&i[a],u=n;return o&&o[e]?u=o[e]:s&&s[e]&&(u=s[e]),t&&(u=u.replace(/\{(\d+)\}/g,(function(e,n){var r=t[n-1],i=r;return void 0===r&&(i=e),i}))),u},t.handleLanguagechange=function(){},t.contentEl=function(){return this.contentEl_||this.el_},t.id=function(){return this.id_},t.name=function(){return this.name_},t.children=function(){return this.children_},t.getChildById=function(e){return this.childIndex_[e]},t.getChild=function(e){if(e)return this.childNameIndex_[e]},t.getDescendant=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t=t.reduce((function(e,t){return e.concat(t)}),[]);for(var r=this,i=0;i<t.length;i++)if(!(r=r.getChild(t[i]))||!r.getChild)return;return r},t.addChild=function(t,n,r){var i,o;if(void 0===n&&(n={}),void 0===r&&(r=this.children_.length),"string"==typeof t){o=qr(t);var a=n.componentClass||o;n.name=o;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!=typeof s)return null;i=new s(this.player_||this,n)}else i=t;if(i.parentComponent_&&i.parentComponent_.removeChild(i),this.children_.splice(r,0,i),i.parentComponent_=this,"function"==typeof i.id&&(this.childIndex_[i.id()]=i),(o=o||i.name&&qr(i.name()))&&(this.childNameIndex_[o]=i,this.childNameIndex_[Dr(o)]=i),"function"==typeof i.el&&i.el()){var u=null;this.children_[r+1]&&(this.children_[r+1].el_?u=this.children_[r+1].el_:kn(this.children_[r+1])&&(u=this.children_[r+1])),this.contentEl().insertBefore(i.el(),u)}return i},t.removeChild=function(e){if("string"==typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[qr(e.name())]=null,this.childNameIndex_[Dr(e.name())]=null;var r=e.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},t.initChildren=function(){var t=this,n=this.options_.children;if(n){var r,i=this.options_,o=e.getComponent("Tech");(r=Array.isArray(n)?n:Object.keys(n)).concat(Object.keys(this.options_).filter((function(e){return!r.some((function(t){return"string"==typeof t?e===t:e===t.name}))}))).map((function(e){var r,i;return"string"==typeof e?i=n[r=e]||t.options_[r]||{}:(r=e.name,i=e),{name:r,opts:i}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||qr(t.name));return n&&!o.isTech(n)})).forEach((function(e){var n=e.name,r=e.opts;if(void 0!==i[n]&&(r=i[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var o=t.addChild(n,r);o&&(t[n]=o)}}))}},t.buildCSSClass=function(){return""},t.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},t.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},t.$=function(e,t){return Xn(e,t||this.contentEl())},t.$$=function(e,t){return $n(e,t||this.contentEl())},t.hasClass=function(e){return An(this.el_,e)},t.addClass=function(e){On(this.el_,e)},t.removeClass=function(e){Nn(this.el_,e)},t.toggleClass=function(e,t){Pn(this.el_,e,t)},t.show=function(){this.removeClass("vjs-hidden")},t.hide=function(){this.addClass("vjs-hidden")},t.lockShowing=function(){this.addClass("vjs-lock-showing")},t.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.getAttribute=function(e){return Mn(this.el_,e)},t.setAttribute=function(e,t){Rn(this.el_,e,t)},t.removeAttribute=function(e){Dn(this.el_,e)},t.width=function(e,t){return this.dimension("width",e,t)},t.height=function(e,t){return this.dimension("height",e,t)},t.dimensions=function(e,t){this.width(e,!0),this.height(t)},t.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t==t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[e],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+qr(e)],10)},t.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if(t=Xt(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+qr(e);t=this.el_[n]}return t},t.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.currentWidth=function(){return this.currentDimension("width")},t.currentHeight=function(){return this.currentDimension("height")},t.focus=function(){this.el_.focus()},t.blur=function(){this.el_.blur()},t.handleKeyDown=function(e){this.player_&&(l().isEventKey(e,"Tab")||e.stopPropagation(),this.player_.handleKeyDown(e))},t.handleKeyPress=function(e){this.handleKeyDown(e)},t.emitTapEvents=function(){var e,t=0,n=null;this.on("touchstart",(function(r){1===r.touches.length&&(n={pageX:r.touches[0].pageX,pageY:r.touches[0].pageY},t=i().performance.now(),e=!0)})),this.on("touchmove",(function(t){if(t.touches.length>1)e=!1;else if(n){var r=t.touches[0].pageX-n.pageX,i=t.touches[0].pageY-n.pageY;Math.sqrt(r*r+i*i)>10&&(e=!1)}}));var r=function(){e=!1};this.on("touchleave",r),this.on("touchcancel",r),this.on("touchend",(function(r){(n=null,!0===e)&&(i().performance.now()-t<200&&(r.preventDefault(),this.trigger("tap")))}))},t.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var e,t=wr(this.player(),this.player().reportUserActivity);this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)}));var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.setTimeout=function(e,t){var n,r=this;return e=wr(this,e),this.clearTimersOnDispose_(),n=i().setTimeout((function(){r.setTimeoutIds_.has(n)&&r.setTimeoutIds_.delete(n),e()}),t),this.setTimeoutIds_.add(n),n},t.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),i().clearTimeout(e)),e},t.setInterval=function(e,t){e=wr(this,e),this.clearTimersOnDispose_();var n=i().setInterval(e,t);return this.setIntervalIds_.add(n),n},t.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),i().clearInterval(e)),e},t.requestAnimationFrame=function(e){var t,n=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=wr(this,e),t=i().requestAnimationFrame((function(){n.rafIds_.has(t)&&n.rafIds_.delete(t),e()})),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},t.requestNamedAnimationFrame=function(e,t){var n=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=wr(this,t);var r=this.requestAnimationFrame((function(){t(),n.namedRafs_.has(e)&&n.namedRafs_.delete(e)}));return this.namedRafs_.set(e,r),e}},t.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},t.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),i().cancelAnimationFrame(e)),e):this.clearTimeout(e)},t.clearTimersOnDispose_=function(){var e=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one("dispose",(function(){[["namedRafs_","cancelNamedAnimationFrame"],["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var n=t[0],r=t[1];e[n].forEach((function(t,n){return e[r](n)}))})),e.clearingTimersOnDispose_=!1})))},e.registerComponent=function(t,n){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var r,i=e.getComponent("Tech"),o=i&&i.isTech(n),a=e===n||e.prototype.isPrototypeOf(n.prototype);if(o||!a)throw r=o?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+t+'"; '+r+".");t=qr(t),e.components_||(e.components_={});var s=e.getComponent("Player");if("Player"===t&&s&&s.players){var u=s.players,l=Object.keys(u);if(u&&l.length>0&&l.map((function(e){return u[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,e.components_[Dr(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();function Vr(e,t,n,r){return function(e,t,n){if("number"!=typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}(e,r,n.length-1),n[r][t]}function Wr(e){var t;return t=void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:Vr.bind(null,"start",0,e),end:Vr.bind(null,"end",1,e)},i().Symbol&&i().Symbol.iterator&&(t[i().Symbol.iterator]=function(){return(e||[]).values()}),t}function Yr(e,t){return Array.isArray(e)?Wr(e):void 0===e||void 0===t?Wr():Wr([[e,t]])}function Gr(e,t){var n,r,i=0;if(!t)return 0;e&&e.length||(e=Yr(0,0));for(var o=0;o<e.length;o++)n=e.start(o),(r=e.end(o))>t&&(r=t),i+=r-n;return i/t}function Kr(e){if(e instanceof Kr)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:Gt(e)&&("number"==typeof e.code&&(this.code=e.code),Yt(this,e)),this.message||(this.message=Kr.defaultMessages[this.code]||"")}Hr.prototype.supportsRaf_="function"==typeof i().requestAnimationFrame&&"function"==typeof i().cancelAnimationFrame,Hr.registerComponent("Component",Hr),Kr.prototype.code=0,Kr.prototype.message="",Kr.prototype.status=null,Kr.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Kr.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Xr=0;Xr<Kr.errorTypes.length;Xr++)Kr[Kr.errorTypes[Xr]]=Xr,Kr.prototype[Kr.errorTypes[Xr]]=Xr;function $r(e){return null!=e&&"function"==typeof e.then}function Zr(e){$r(e)&&e.then(null,(function(e){}))}var Qr=function(e){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(t,n,r){return e[n]&&(t[n]=e[n]),t}),{cues:e.cues&&Array.prototype.map.call(e.cues,(function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}}))})},Jr=function(e){var t=e.$$("track"),n=Array.prototype.map.call(t,(function(e){return e.track}));return Array.prototype.map.call(t,(function(e){var t=Qr(e.track);return e.src&&(t.src=e.src),t})).concat(Array.prototype.filter.call(e.textTracks(),(function(e){return-1===n.indexOf(e)})).map(Qr))},ei=function(e,t){return e.forEach((function(e){var n=t.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach((function(e){return n.addCue(e)}))})),t.textTracks()},ti=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleKeyDown_=function(e){return r.handleKeyDown(e)},r.close_=function(e){return r.close(e)},r.opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=Sn("div",{className:"vjs-modal-dialog-content"},{role:"document"}),r.descEl_=Sn("p",{className:"vjs-modal-dialog-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),Tn(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-modal-dialog vjs-hidden "+e.prototype.buildCSSClass.call(this)},n.label=function(){return this.localize(this.options_.label||"Modal Window")},n.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},n.open=function(){if(!this.opened_){var e=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on("keydown",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},n.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},n.close=function(){if(this.opened_){var e=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off("keydown",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},n.closeable=function(e){if("boolean"==typeof e){var t=this.closeable_=!!e,n=this.getChild("closeButton");if(t&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close_)}!t&&n&&(this.off(n,"close",this.close_),this.removeChild(n),n.dispose())}return this.closeable_},n.fill=function(){this.fillWith(this.content())},n.fillWith=function(e){var t=this.contentEl(),n=t.parentNode,r=t.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(t),this.empty(),Yn(t,e),this.trigger("modalfill"),r?n.insertBefore(t,r):n.appendChild(t);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},n.empty=function(){this.trigger("beforemodalempty"),Hn(this.contentEl()),this.trigger("modalempty")},n.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n.conditionalFocus_=function(){var e=a().activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,(t.contains(e)||t===e)&&(this.previouslyActiveEl_=e,this.focus())},n.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},n.handleKeyDown=function(e){if(e.stopPropagation(),l().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(l().isEventKey(e,"Tab")){for(var t,n=this.focusableEls_(),r=this.el_.querySelector(":focus"),i=0;i<n.length;i++)if(r===n[i]){t=i;break}a().activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(n[n.length-1].focus(),e.preventDefault()):e.shiftKey||t!==n.length-1||(n[0].focus(),e.preventDefault())}},n.focusableEls_=function(){var e=this.el_.querySelectorAll("*");return Array.prototype.filter.call(e,(function(e){return(e instanceof i().HTMLAnchorElement||e instanceof i().HTMLAreaElement)&&e.hasAttribute("href")||(e instanceof i().HTMLInputElement||e instanceof i().HTMLSelectElement||e instanceof i().HTMLTextAreaElement||e instanceof i().HTMLButtonElement)&&!e.hasAttribute("disabled")||e instanceof i().HTMLIFrameElement||e instanceof i().HTMLObjectElement||e instanceof i().HTMLEmbedElement||e.hasAttribute("tabindex")&&-1!==e.getAttribute("tabindex")||e.hasAttribute("contenteditable")}))},t}(Hr);ti.prototype.options_={pauseOnOpen:!0,temporary:!0},Hr.registerComponent("ModalDialog",ti);var ni=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty(c(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}f(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this,n=this.tracks_.length;""+n in this||Object.defineProperty(this,n,{get:function(){return this.tracks_[n]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this})),e.labelchange_=function(){t.trigger({track:e,type:"labelchange",target:t})},Sr(e)&&e.addEventListener("labelchange",e.labelchange_)},n.removeTrack=function(e){for(var t,n=0,r=this.length;n<r;n++)if(this[n]===e){(t=this[n]).off&&t.off(),this.tracks_.splice(n,1);break}t&&this.trigger({track:t,type:"removetrack",target:this})},n.getTrackById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},t}(Er);for(var ri in ni.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack",labelchange:"labelchange"},ni.prototype.allowedEvents_)ni.prototype["on"+ri]=null;var ii=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].enabled=!1)},oi=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){ii(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}f(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&ii(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,ii(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("enabledchange",t.enabledChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.enabledChange_&&(t.removeEventListener("enabledchange",t.enabledChange_),t.enabledChange_=null)},t}(ni),ai=function(e,t){for(var n=0;n<e.length;n++)Object.keys(e[n]).length&&t.id!==e[n].id&&(e[n].selected=!1)},si=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){ai(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty(c(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}f(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&ai(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,ai(n,t),n.changing_=!1,n.trigger("change"))},t.addEventListener("selectedchange",t.selectedChange_))},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&t.selectedChange_&&(t.removeEventListener("selectedchange",t.selectedChange_),t.selectedChange_=null)},t}(ni),ui=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;e.prototype.addTrack.call(this,t),this.queueChange_||(this.queueChange_=function(){return n.queueTrigger("change")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return n.trigger("selectedlanguagechange")}),t.addEventListener("modechange",this.queueChange_);-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",this.triggerSelectedlanguagechange_)},n.removeTrack=function(t){e.prototype.removeTrack.call(this,t),t.removeEventListener&&(this.queueChange_&&t.removeEventListener("modechange",this.queueChange_),this.selectedlanguagechange_&&t.removeEventListener("modechange",this.triggerSelectedlanguagechange_))},t}(ni),li=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,"length",{get:function(){return this.trackElements_.length}});for(var t=0,n=e.length;t<n;t++)this.addTrackElement_(e[t])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(e){for(var t,n=0,r=this.trackElements_.length;n<r;n++)if(e===this.trackElements_[n].track){t=this.trackElements_[n];break}return t},t.removeTrackElement_=function(e){for(var t=0,n=this.trackElements_.length;t<n;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&"function"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),"function"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}},e}(),ci=function(){function e(t){e.prototype.setCues_.call(this,t),Object.defineProperty(this,"length",{get:function(){return this.length_}})}var t=e.prototype;return t.setCues_=function(e){var t=this.length||0,n=0,r=e.length;this.cues_=e,this.length_=e.length;var i=function(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})};if(t<r)for(n=t;n<r;n++)i.call(this,n)},t.getCueById=function(e){for(var t=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===e){t=i;break}}return t},e}(),di={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},fi={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},pi={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},hi={disabled:"disabled",hidden:"hidden",showing:"showing"},mi=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+ar(),kind:t.kind||"",language:t.language||""},i=t.label||"",o=function(e){Object.defineProperty(c(n),e,{get:function(){return r[e]},set:function(){}})};for(var a in r)o(a);return Object.defineProperty(c(n),"label",{get:function(){return i},set:function(e){e!==i&&(i=e,this.trigger("labelchange"))}}),n}return f(t,e),t}(Er),vi=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=a().createElement("a");n.href=e;for(var r={},o=0;o<t.length;o++)r[t[o]]=n[t[o]];return"http:"===r.protocol&&(r.host=r.host.replace(/:80$/,"")),"https:"===r.protocol&&(r.host=r.host.replace(/:443$/,"")),r.protocol||(r.protocol=i().location.protocol),r.host||(r.host=i().location.host),r},gi=function(e){if(!e.match(/^https?:\/\//)){var t=a().createElement("a");t.href=e,e=t.href}return e},yi=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},bi=function(e,t){void 0===t&&(t=i().location);var n=vi(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},_i=Object.freeze({__proto__:null,parseUrl:vi,getAbsoluteURL:gi,getFileExtension:yi,isCrossOrigin:bi}),wi=function(e,t){var n=new(i().WebVTT.Parser)(i(),i().vttjs,i().WebVTT.StringDecoder()),r=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){r.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),r.length>0&&(i().console&&i().console.groupCollapsed&&i().console.groupCollapsed("Text Track parsing errors for "+t.src),r.forEach((function(e){return Ut.error(e)})),i().console&&i().console.groupEnd&&i().console.groupEnd()),n.flush()},ki=function(e,t){var n={uri:e},r=bi(e);r&&(n.cors=r);var o="use-credentials"===t.tech_.crossOrigin();o&&(n.withCredentials=o),v()(n,wr(this,(function(e,n,r){if(e)return Ut.error(e,n);t.loaded_=!0,"function"!=typeof i().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return wi(r,t);Ut.error("vttjs failed to load, stopping trying to process "+t.src)})):wi(r,t)})))},Ei=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=jr(t,{kind:pi[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=hi[r.mode]||"disabled",o=r.default;"metadata"!==r.kind&&"chapters"!==r.kind||(i="hidden"),(n=e.call(this,r)||this).tech_=r.tech,n.cues_=[],n.activeCues_=[],n.preload_=!1!==n.tech_.preloadTextTracks;var a=new ci(n.cues_),s=new ci(n.activeCues_),u=!1;n.timeupdateHandler=wr(c(n),(function(){this.tech_.isDisposed()||(this.tech_.isReady_?(this.activeCues=this.activeCues,u&&(this.trigger("cuechange"),u=!1),this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)):this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler))}));return n.tech_.one("dispose",(function(){n.stopTracking()})),"disabled"!==i&&n.startTracking(),Object.defineProperties(c(n),{default:{get:function(){return o},set:function(){}},mode:{get:function(){return i},set:function(e){hi[e]&&i!==e&&(i=e,this.preload_||"disabled"===i||0!==this.cues.length||ki(this.src,this),this.stopTracking(),"disabled"!==i&&this.startTracking(),this.trigger("modechange"))}},cues:{get:function(){return this.loaded_?a:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return s;for(var e=this.tech_.currentTime(),t=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];(i.startTime<=e&&i.endTime>=e||i.startTime===i.endTime&&i.startTime<=e&&i.startTime+.5>=e)&&t.push(i)}if(u=!1,t.length!==this.activeCues_.length)u=!0;else for(var o=0;o<t.length;o++)-1===this.activeCues_.indexOf(t[o])&&(u=!0);return this.activeCues_=t,s.setCues_(this.activeCues_),s},set:function(){}}}),r.src?(n.src=r.src,n.preload_||(n.loaded_=!0),(n.preload_||"subtitles"!==r.kind&&"captions"!==r.kind)&&ki(n.src,c(n))):n.loaded_=!0,n}f(t,e);var n=t.prototype;return n.startTracking=function(){this.rvf_=this.tech_.requestVideoFrameCallback(this.timeupdateHandler)},n.stopTracking=function(){this.rvf_&&(this.tech_.cancelVideoFrameCallback(this.rvf_),this.rvf_=void 0)},n.addCue=function(e){var t=e;if(i().vttjs&&!(e instanceof i().vttjs.VTTCue)){for(var n in t=new(i().vttjs.VTTCue)(e.startTime,e.endTime,e.text),e)n in t||(t[n]=e[n]);t.id=e.id,t.originalCue_=e}for(var r=this.tech_.textTracks(),o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},n.removeCue=function(e){for(var t=this.cues_.length;t--;){var n=this.cues_[t];if(n===e||n.originalCue_&&n.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},t}(mi);Ei.prototype.allowedEvents_={cuechange:"cuechange"};var xi=function(e){function t(t){var n;void 0===t&&(t={});var r=jr(t,{kind:fi[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(c(n),"enabled",{get:function(){return i},set:function(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("enabledchange"))}}),r.enabled&&(n.enabled=r.enabled),n.loaded_=!0,n}return f(t,e),t}(mi),Si=function(e){function t(t){var n;void 0===t&&(t={});var r=jr(t,{kind:di[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty(c(n),"selected",{get:function(){return i},set:function(e){"boolean"==typeof e&&e!==i&&(i=e,this.trigger("selectedchange"))}}),r.selected&&(n.selected=r.selected),n}return f(t,e),t}(mi),Ti=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var i=new Ei(t);return n.kind=i.kind,n.src=i.src,n.srclang=i.language,n.label=i.label,n.default=i.default,Object.defineProperties(c(n),{readyState:{get:function(){return r}},track:{get:function(){return i}}}),r=0,i.addEventListener("loadeddata",(function(){r=2,n.trigger({type:"load",target:c(n)})})),n}return f(t,e),t}(Er);Ti.prototype.allowedEvents_={load:"load"},Ti.NONE=0,Ti.LOADING=1,Ti.LOADED=2,Ti.ERROR=3;var Ci={audio:{ListClass:oi,TrackClass:xi,capitalName:"Audio"},video:{ListClass:si,TrackClass:Si,capitalName:"Video"},text:{ListClass:ui,TrackClass:Ei,capitalName:"Text"}};Object.keys(Ci).forEach((function(e){Ci[e].getterName=e+"Tracks",Ci[e].privateName=e+"Tracks_"}));var Ai={remoteText:{ListClass:ui,TrackClass:Ei,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:li,TrackClass:Ti,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Oi=s({},Ci,Ai);Ai.names=Object.keys(Ai),Ci.names=Object.keys(Ci),Oi.names=[].concat(Ai.names).concat(Ci.names);var Ni=function(e){function t(t,n){var r;return void 0===t&&(t={}),void 0===n&&(n=function(){}),t.reportTouchActivity=!1,(r=e.call(this,null,t,n)||this).onDurationChange_=function(e){return r.onDurationChange(e)},r.trackProgress_=function(e){return r.trackProgress(e)},r.trackCurrentTime_=function(e){return r.trackCurrentTime(e)},r.stopTrackingCurrentTime_=function(e){return r.stopTrackingCurrentTime(e)},r.disposeSourceHandler_=function(e){return r.disposeSourceHandler(e)},r.queuedHanders_=new Set,r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),Oi.names.forEach((function(e){var n=Oi[e];t&&t[n.getterName]&&(r[n.privateName]=t[n.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===t["native"+e+"Tracks"]&&(r["featuresNative"+e+"Tracks"]=!1)})),!1===t.nativeCaptions||!1===t.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.preloadTextTracks=!1!==t.preloadTextTracks,r.autoRemoteTextTracks_=new Oi.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}f(t,e);var n=t.prototype;return n.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},n.manualProgressOn=function(){this.on("durationchange",this.onDurationChange_),this.manualProgress=!0,this.one("ready",this.trackProgress_)},n.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange_)},n.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(wr(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},n.onDurationChange=function(e){this.duration_=this.duration()},n.buffered=function(){return Yr(0,0)},n.bufferedPercent=function(){return Gr(this.buffered(),this.duration_)},n.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},n.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime_),this.on("pause",this.stopTrackingCurrentTime_)},n.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime_),this.off("pause",this.stopTrackingCurrentTime_)},n.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},n.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.dispose=function(){this.clearTracks(Ci.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},n.clearTracks=function(e){var t=this;(e=[].concat(e)).forEach((function(e){for(var n=t[e+"Tracks"]()||[],r=n.length;r--;){var i=n[r];"text"===e&&t.removeRemoteTextTrack(i),n.removeTrack(i)}}))},n.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var n=e[t];this.removeRemoteTextTrack(n)}},n.reset=function(){},n.crossOrigin=function(){},n.setCrossOrigin=function(){},n.error=function(e){return void 0!==e&&(this.error_=new Kr(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Yr(0,0):Yr()},n.play=function(){},n.setScrubbing=function(){},n.scrubbing=function(){},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;Ci.names.forEach((function(t){var n=Ci[t],r=function(){e.trigger(t+"trackchange")},i=e[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),e.on("dispose",(function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)}))}))},n.addWebVttScript_=function(){var e=this;if(!i().WebVTT)if(a().body.contains(this.el())){if(!this.options_["vtt.js"]&&Kt(y())&&Object.keys(y()).length>0)return void this.trigger("vttjsloaded");var t=a().createElement("script");t.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),i().WebVTT=!0,this.el().parentNode.appendChild(t)}else this.ready(this.addWebVttScript_)},n.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),r=function(e){return t.addTrack(e.track)},i=function(e){return t.removeTrack(e.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return e.trigger("texttrackchange")},a=function(){o();for(var e=0;e<t.length;e++){var n=t[e];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};a(),t.addEventListener("change",a),t.addEventListener("addtrack",a),t.addEventListener("removetrack",a),this.on("dispose",(function(){n.off("addtrack",r),n.off("removetrack",i),t.removeEventListener("change",a),t.removeEventListener("addtrack",a),t.removeEventListener("removetrack",a);for(var e=0;e<t.length;e++){t[e].removeEventListener("cuechange",o)}}))},n.addTextTrack=function(e,t,n){if(!e)throw new Error("TextTrack kind is required but was not provided");return function(e,t,n,r,i){void 0===i&&(i={});var o=e.textTracks();i.kind=t,n&&(i.label=n),r&&(i.language=r),i.tech=e;var a=new Oi.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=jr(e,{tech:this});return new Ai.remoteTextEl.TrackClass(t)},n.addRemoteTextTrack=function(e,t){var n=this;void 0===e&&(e={});var r=this.createRemoteTextTrack(e);return!0!==t&&!1!==t&&(Ut.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==t&&this.ready((function(){return n.autoRemoteTextTracks_.addTrack(r.track)})),r},n.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},n.getVideoPlaybackQuality=function(){return{}},n.requestPictureInPicture=function(){var e=this.options_.Promise||i().Promise;if(e)return e.reject()},n.disablePictureInPicture=function(){return!0},n.setDisablePictureInPicture=function(){},n.requestVideoFrameCallback=function(e){var t=this,n=ar();return this.paused()?(this.queuedHanders_.add(n),this.one("playing",(function(){t.queuedHanders_.has(n)&&(t.queuedHanders_.delete(n),e())}))):this.requestNamedAnimationFrame(n,e),n},n.cancelVideoFrameCallback=function(e){this.queuedHanders_.has(e)?this.queuedHanders_.delete(e):this.cancelNamedAnimationFrame(e)},n.setPoster=function(){},n.playsinline=function(){},n.setPlaysinline=function(){},n.overrideNativeAudioTracks=function(){},n.overrideNativeVideoTracks=function(){},n.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=qr(e),t.techs_[e]=n,t.techs_[Dr(e)]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return t.techs_&&t.techs_[e]?t.techs_[e]:(e=qr(e),i()&&i().videojs&&i().videojs[e]?(Ut.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),i().videojs[e]):void 0)},t}(Hr);Oi.names.forEach((function(e){var t=Oi[e];Ni.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),Ni.prototype.featuresVolumeControl=!0,Ni.prototype.featuresMuteControl=!0,Ni.prototype.featuresFullscreenResize=!1,Ni.prototype.featuresPlaybackRate=!1,Ni.prototype.featuresProgressEvents=!1,Ni.prototype.featuresSourceset=!1,Ni.prototype.featuresTimeupdateEvents=!1,Ni.prototype.featuresNativeTextTracks=!1,Ni.prototype.featuresVideoFrameCallback=!1,Ni.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var r=e.sourceHandlers;r||(r=e.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,t)},e.canPlayType=function(t){for(var n,r=e.sourceHandlers||[],i=0;i<r.length;i++)if(n=r[i].canPlayType(t))return n;return""},e.selectSourceHandler=function(t,n){for(var r=e.sourceHandlers||[],i=0;i<r.length;i++)if(r[i].canHandleSource(t,n))return r[i];return null},e.canPlaySource=function(t,n){var r=e.selectSourceHandler(t,n);return r?r.canHandleSource(t,n):""};["seekable","seeking","duration"].forEach((function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})}),e.prototype),e.prototype.setSource=function(t){var n=e.selectSourceHandler(t,this.options_);n||(e.nativeSourceHandler?n=e.nativeSourceHandler:Ut.error("No source handler found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler_),n!==e.nativeSourceHandler&&(this.currentSource_=t),this.sourceHandler_=n.handleSource(t,this,this.options_),this.one("dispose",this.disposeSourceHandler_)},e.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},Hr.registerComponent("Tech",Ni),Ni.registerTech("Tech",Ni),Ni.defaultTechOrder_=[];var Pi={},Ii={},Li={};function Mi(e,t,n){e.setTimeout((function(){return Bi(t,Pi[t.type],n,e)}),1)}function Ri(e,t,n,r){void 0===r&&(r=null);var i="call"+qr(n),o=e.reduce(Fi(i),r),a=o===Li,s=a?null:t[n](o);return function(e,t,n,r){for(var i=e.length-1;i>=0;i--){var o=e[i];o[t]&&o[t](r,n)}}(e,n,s,a),s}var Di={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},qi={setCurrentTime:1,setMuted:1,setVolume:1},ji={play:1,pause:1};function Fi(e){return function(t,n){return t===Li?Li:n[e]?n[e](t):t}}function Bi(e,t,n,r,i,o){void 0===e&&(e={}),void 0===t&&(t=[]),void 0===i&&(i=[]),void 0===o&&(o=!1);var a=t,s=a[0],u=a.slice(1);if("string"==typeof s)Bi(e,Pi[s],n,r,i,o);else if(s){var l=function(e,t){var n=Ii[e.id()],r=null;if(null==n)return r=t(e),Ii[e.id()]=[[t,r]],r;for(var i=0;i<n.length;i++){var o=n[i],a=o[0],s=o[1];a===t&&(r=s)}return null===r&&(r=t(e),n.push([t,r])),r}(r,s);if(!l.setSource)return i.push(l),Bi(e,u,n,r,i,o);l.setSource(Yt({},e),(function(t,a){if(t)return Bi(e,u,n,r,i,o);i.push(l),Bi(a,e.type===a.type?u:Pi[a.type],n,r,i,o)}))}else u.length?Bi(e,u,n,r,i,o):o?n(e,i):Bi(e,Pi["*"],n,r,i,!0)}var Ui={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",m4a:"audio/mp4",mp3:"audio/mpeg",aac:"audio/aac",caf:"audio/x-caf",flac:"audio/flac",oga:"audio/ogg",wav:"audio/wav",m3u8:"application/x-mpegURL",mpd:"application/dash+xml",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},zi=function(e){void 0===e&&(e="");var t=yi(e);return Ui[t.toLowerCase()]||""},Hi=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):Gt(t)&&n.push(t)})),t=n}else t="string"==typeof t&&t.trim()?[Vi({src:t})]:Gt(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Vi(t)]:[];return t};function Vi(e){if(!e.type){var t=zi(e.src);t&&(e.type=t)}return e}var Wi=function(e){function t(t,n,r){var i,o=jr({createEl:!1},n);if(i=e.call(this,t,o,r)||this,n.playerOptions.sources&&0!==n.playerOptions.sources.length)t.src(n.playerOptions.sources);else for(var a=0,s=n.playerOptions.techOrder;a<s.length;a++){var u=qr(s[a]),l=Ni.getTech(u);if(u||(l=Hr.getComponent(u)),l&&l.isSupported()){t.loadTech_(u);break}}return i}return f(t,e),t}(Hr);Hr.registerComponent("MediaLoader",Wi);var Yi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).options_.controlText&&r.controlText(r.options_.controlText),r.handleMouseOver_=function(e){return r.handleMouseOver(e)},r.handleMouseOut_=function(e){return r.handleMouseOut(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.emitTapEvents(),r.enable(),r}f(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===e&&(e="div"),void 0===t&&(t={}),void 0===n&&(n={}),t=Yt({className:this.buildCSSClass(),tabIndex:0},t),"button"===e&&Ut.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=Yt({role:"button"},n),this.tabIndex_=t.tabIndex;var r=Sn(e,t,n);return r.appendChild(Sn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=Sn("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},n.controlText=function(e,t){if(void 0===t&&(t=this.el()),void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,Tn(this.controlTextEl_,n),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute("title",n)},n.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},n.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick_),this.on("keydown",this.handleKeyDown_))},n.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off("mouseover",this.handleMouseOver_),this.off("mouseout",this.handleMouseOut_),this.off(["tap","click"],this.handleClick_),this.off("keydown",this.handleKeyDown_)},n.handleLanguagechange=function(){this.controlText(this.controlText_)},n.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){l().isEventKey(t,"Space")||l().isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(Hr);Hr.registerComponent("ClickableComponent",Yi);var Gi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),r.update_=function(e){return r.update(e)},t.on("posterchange",r.update_),r}f(t,e);var n=t.prototype;return n.dispose=function(){this.player().off("posterchange",this.update_),e.prototype.dispose.call(this)},n.createEl=function(){return Sn("div",{className:"vjs-poster",tabIndex:-1})},n.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},n.setSrc=function(e){var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t},n.handleClick=function(e){if(this.player_.controls()){var t=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;!this.player_.tech(!0)||(cn||sn)&&t||this.player_.tech(!0).focus(),this.player_.paused()?Zr(this.player_.play()):this.player_.pause()}},t}(Yi);Hr.registerComponent("PosterImage",Gi);var Ki={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Xi(e,t){var n;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function $i(e,t,n){try{e.style[t]=n}catch(e){return}}var Zi=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var a=function(e){return o.updateDisplay(e)};return t.on("loadstart",(function(e){return o.toggleDisplay(e)})),t.on("texttrackchange",a),t.on("loadedmetadata",(function(e){return o.preselectTrack(e)})),t.ready(wr(c(o),(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",a),t.on("playerresize",a),i().addEventListener("orientationchange",a),t.on("dispose",(function(){return i().removeEventListener("orientationchange",a)}));for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}}))),o}f(t,e);var n=t.prototype;return n.preselectTrack=function(){for(var e,t,n,r={captions:1,subtitles:1},i=this.player_.textTracks(),o=this.player_.cache_.selectedLanguage,a=0;a<i.length;a++){var s=i[a];o&&o.enabled&&o.language&&o.language===s.language&&s.kind in r?s.kind===o.kind?n=s:n||(n=s):o&&!o.enabled?(n=null,e=null,t=null):s.default&&("descriptions"!==s.kind||e?s.kind in r&&!t&&(t=s):e=s)}n?n.mode="showing":t?t.mode="showing":e&&(e.mode="showing")},n.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{translate:"yes","aria-live":"off","aria-atomic":"true"})},n.clearDisplay=function(){"function"==typeof i().WebVTT&&i().WebVTT.processCues(i(),[],this.el_)},n.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var n=[],r=0;r<e.length;++r){var i=e[r];"showing"===i.mode&&n.push(i)}this.updateForTrack(n)}else{for(var o=null,a=null,s=e.length;s--;){var u=e[s];"showing"===u.mode&&("descriptions"===u.kind?o=u:a=u)}a?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(a)):o&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(o))}},n.updateDisplayState=function(e){for(var t=this.player_.textTrackSettings.getValues(),n=e.activeCues,r=n.length;r--;){var o=n[r];if(o){var a=o.displayState;if(t.color&&(a.firstChild.style.color=t.color),t.textOpacity&&$i(a.firstChild,"color",Xi(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&$i(a.firstChild,"backgroundColor",Xi(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?$i(a,"backgroundColor",Xi(t.windowColor,t.windowOpacity)):a.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent){var s=i().parseFloat(a.style.fontSize);a.style.fontSize=s*t.fontPercent+"px",a.style.height="auto",a.style.top="auto"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=Ki[t.fontFamily])}}},n.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),"function"==typeof i().WebVTT&&!e.every((function(e){return!e.activeCues}))){for(var t=[],n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.activeCues.length;++o)t.push(r.activeCues[o]);i().WebVTT.processCues(i(),t,this.el_);for(var a=0;a<e.length;++a){for(var s=e[a],u=0;u<s.activeCues.length;++u){var l=s.activeCues[u].displayState;On(l,"vjs-text-track-cue"),On(l,"vjs-text-track-cue-"+(s.language?s.language:a)),s.language&&Rn(l,"lang",s.language)}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(Hr);Hr.registerComponent("TextTrackDisplay",Zi);var Qi=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=Sn("span",{className:"vjs-control-text",textContent:this.localize("{1} is loading.",[n])}),i=e.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return i.appendChild(r),i},t}(Hr);Hr.registerComponent("LoadingSpinner",Qi);var Ji=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={});var r=Sn("button",t=Yt({className:this.buildCSSClass()},t),n=Yt({type:"button"},n));return r.appendChild(Sn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return Ut.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),Hr.prototype.addChild.call(this,e,t)},n.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},n.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},n.handleKeyDown=function(t){l().isEventKey(t,"Space")||l().isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(Yi);Hr.registerComponent("Button",Ji);var eo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-big-play-button"},n.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var n=this.player_.usingPlugin("eme")&&this.player_.eme.sessions&&this.player_.eme.sessions.length>0;return Zr(t),void(!this.player_.tech(!0)||(cn||sn)&&n||this.player_.tech(!0).focus())}var r=this.player_.getChild("controlBar"),i=r&&r.getChild("playToggle");if(i){var o=function(){return i.focus()};$r(t)?t.then(o,(function(){})):this.setTimeout(o,1)}else this.player_.tech(!0).focus()},n.handleKeyDown=function(t){this.mouseused_=!1,e.prototype.handleKeyDown.call(this,t)},n.handleMouseDown=function(e){this.mouseused_=!0},t}(Ji);eo.prototype.controlText_="Play Video",Hr.registerComponent("BigPlayButton",eo);var to=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},n.handleKeyDown=function(t){l().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(Ji);Hr.registerComponent("CloseButton",to);var no=function(e){function t(t,n){var r;return void 0===n&&(n={}),r=e.call(this,t,n)||this,n.replay=void 0===n.replay||n.replay,r.on(t,"play",(function(e){return r.handlePlay(e)})),r.on(t,"pause",(function(e){return r.handlePause(e)})),n.replay&&r.on(t,"ended",(function(e){return r.handleEnded(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){this.player_.paused()?Zr(this.player_.play()):this.player_.pause()},n.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},n.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n.handleEnded=function(e){var t=this;this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",(function(e){return t.handleSeeked(e)}))},t}(Ji);no.prototype.controlText_="Play",Hr.registerComponent("PlayToggle",no);var ro=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),r=Math.floor(e/60%60),i=Math.floor(e/3600),o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(i=r=n="-"),(i=i>0||a>0?i+":":"")+(r=((i||o>=10)&&r<10?"0"+r:r)+":")+(n=n<10?"0"+n:n)},io=ro;function oo(e,t){return void 0===t&&(t=e),io(e,t)}var ao=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],(function(e){return r.updateContent(e)})),r.updateTextNode_(),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=this.buildCSSClass(),n=e.prototype.createEl.call(this,"div",{className:t+" vjs-time-control vjs-control"}),r=Sn("span",{className:"vjs-control-text",textContent:this.localize(this.labelText_)+" "},{role:"presentation"});return n.appendChild(r),this.contentEl_=Sn("span",{className:t+"-display"},{"aria-live":"off",role:"presentation"}),n.appendChild(this.contentEl_),n},n.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},n.updateTextNode_=function(e){var t=this;void 0===e&&(e=0),e=oo(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame("TimeDisplay#updateTextNode_",(function(){if(t.contentEl_){var e=t.textNode_;e&&t.contentEl_.firstChild!==e&&(e=null,Ut.warn("TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.")),t.textNode_=a().createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_))}})))},n.updateContent=function(e){},t}(Hr);ao.prototype.labelText_="Time",ao.prototype.controlText_="Time",Hr.registerComponent("TimeDisplay",ao);var so=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-current-time"},n.updateContent=function(e){var t;t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),this.updateTextNode_(t)},t}(ao);so.prototype.labelText_="Current Time",so.prototype.controlText_="Current Time",Hr.registerComponent("CurrentTimeDisplay",so);var uo=function(e){function t(t,n){var r,i=function(e){return r.updateContent(e)};return(r=e.call(this,t,n)||this).on(t,"durationchange",i),r.on(t,"loadstart",i),r.on(t,"loadedmetadata",i),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-duration"},n.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},t}(ao);uo.prototype.labelText_="Duration",uo.prototype.controlText_="Duration",Hr.registerComponent("DurationDisplay",uo);var lo=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider"},{"aria-hidden":!0}),n=e.prototype.createEl.call(this,"div"),r=e.prototype.createEl.call(this,"span",{textContent:"/"});return n.appendChild(r),t.appendChild(n),t},t}(Hr);Hr.registerComponent("TimeDivider",lo);var co=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",(function(e){return r.updateContent(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-remaining-time"},n.createEl=function(){var t=e.prototype.createEl.call(this);return!1!==this.options_.displayNegative&&t.insertBefore(Sn("span",{},{"aria-hidden":!0},"-"),this.contentEl_),t},n.updateContent=function(e){var t;"number"==typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},t}(ao);co.prototype.labelText_="Remaining Time",co.prototype.controlText_="Remaining Time",Hr.registerComponent("RemainingTimeDisplay",co);var fo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",(function(e){return r.updateShowing(e)})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=Sn("div",{className:"vjs-live-display"},{"aria-live":"off"}),this.contentEl_.appendChild(Sn("span",{className:"vjs-control-text",textContent:this.localize("Stream Type")+" "})),this.contentEl_.appendChild(a().createTextNode(this.localize("LIVE"))),t.appendChild(this.contentEl_),t},n.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},n.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(Hr);Hr.registerComponent("LiveDisplay",fo);var po=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&(r.updateLiveEdgeStatusHandler_=function(e){return r.updateLiveEdgeStatus(e)},r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatusHandler_)),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"button",{className:"vjs-seek-to-live-control vjs-control"});return this.textEl_=Sn("span",{className:"vjs-seek-to-live-text",textContent:this.localize("LIVE")},{"aria-hidden":"true"}),t.appendChild(this.textEl_),t},n.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute("aria-disabled",!0),this.addClass("vjs-at-live-edge"),this.controlText("Seek to live, currently playing live")):(this.setAttribute("aria-disabled",!1),this.removeClass("vjs-at-live-edge"),this.controlText("Seek to live, currently behind live"))},n.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},n.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.updateLiveEdgeStatusHandler_),this.textEl_=null,e.prototype.dispose.call(this)},t}(Ji);po.prototype.controlText_="Seek to live, currently playing live",Hr.registerComponent("SeekToLive",po);var ho=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},mo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseDown_=function(e){return r.handleMouseDown(e)},r.handleMouseUp_=function(e){return r.handleMouseUp(e)},r.handleKeyDown_=function(e){return r.handleKeyDown(e)},r.handleClick_=function(e){return r.handleClick(e)},r.handleMouseMove_=function(e){return r.handleMouseMove(e)},r.update_=function(e){return r.update(e)},r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}f(t,e);var n=t.prototype;return n.enabled=function(){return this.enabled_},n.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown_),this.on("touchstart",this.handleMouseDown_),this.on("keydown",this.handleKeyDown_),this.on("click",this.handleClick_),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},n.disable=function(){if(this.enabled()){var e=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown_),this.off("touchstart",this.handleMouseDown_),this.off("keydown",this.handleKeyDown_),this.off("click",this.handleClick_),this.off(this.player_,"controlsvisible",this.update_),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},n.createEl=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r={}),n.className=n.className+" vjs-slider",n=Yt({tabIndex:0},n),r=Yt({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),e.prototype.createEl.call(this,t,n,r)},n.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||un||e.preventDefault(),qn(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove_),this.on(t,"mouseup",this.handleMouseUp_),this.on(t,"touchmove",this.handleMouseMove_),this.on(t,"touchend",this.handleMouseUp_),this.handleMouseMove(e,!0)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;jn(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove_),this.off(e,"mouseup",this.handleMouseUp_),this.off(e,"touchmove",this.handleMouseMove_),this.off(e,"touchend",this.handleMouseUp_),this.update()},n.update=function(){var e=this;if(this.el_&&this.bar){var t=this.getProgress();return t===this.progress_||(this.progress_=t,this.requestNamedAnimationFrame("Slider#update",(function(){var n=e.vertical()?"height":"width";e.bar.el().style[n]=(100*t).toFixed(2)+"%"}))),t}},n.getProgress=function(){return Number(ho(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=Un(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){l().isEventKey(t,"Left")||l().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):l().isEventKey(t,"Right")||l().isEventKey(t,"Up")?(t.preventDefault(),t.stopPropagation(),this.stepForward()):e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){e.stopPropagation(),e.preventDefault()},n.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(Hr);Hr.registerComponent("Slider",mo);var vo=function(e,t){return ho(e/t*100,0,100).toFixed(2)+"%"},go=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",(function(e){return r.update(e)})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=Sn("span",{className:"vjs-control-text"}),r=Sn("span",{textContent:this.localize("Loaded")}),i=a().createTextNode(": ");return this.percentageEl_=Sn("span",{className:"vjs-control-text-loaded-percentage",textContent:"0%"}),t.appendChild(n),n.appendChild(r),n.appendChild(i),n.appendChild(this.percentageEl_),t},n.dispose=function(){this.partEls_=null,this.percentageEl_=null,e.prototype.dispose.call(this)},n.update=function(e){var t=this;this.requestNamedAnimationFrame("LoadProgressBar#update",(function(){var e=t.player_.liveTracker,n=t.player_.buffered(),r=e&&e.isLive()?e.seekableEnd():t.player_.duration(),i=t.player_.bufferedEnd(),o=t.partEls_,a=vo(i,r);t.percent_!==a&&(t.el_.style.width=a,Tn(t.percentageEl_,a),t.percent_=a);for(var s=0;s<n.length;s++){var u=n.start(s),l=n.end(s),c=o[s];c||(c=t.el_.appendChild(Sn()),o[s]=c),c.dataset.start===u&&c.dataset.end===l||(c.dataset.start=u,c.dataset.end=l,c.style.left=vo(u,i),c.style.width=vo(l-u,i))}for(var d=o.length;d>n.length;d--)t.el_.removeChild(o[d-1]);o.length=n.length}))},t}(Hr);Hr.registerComponent("LoadProgressBar",go);var yo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=kr(wr(c(r),r.update),_r),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n){var r=Bn(this.el_),i=Fn(this.player_.el()),o=e.width*t;if(i&&r){var a=e.left-i.left+o,s=e.width-o+(i.right-e.right),u=r.width/2;a<u?u+=u-a:s<u&&(u=s),u<0?u=0:u>r.width&&(u=r.width),u=Math.round(u),this.el_.style.right="-"+u+"px",this.write(n)}},n.write=function(e){Tn(this.el_,e)},n.updateTime=function(e,t,n,r){var i=this;this.requestNamedAnimationFrame("TimeTooltip#updateTime",(function(){var o,a=i.player_.duration();if(i.player_.liveTracker&&i.player_.liveTracker.isLive()){var s=i.player_.liveTracker.liveWindow(),u=s-t*s;o=(u<1?"":"-")+oo(u,s)}else o=oo(n,a);i.update(e,t,o),r&&r()}))},t}(Hr);Hr.registerComponent("TimeTooltip",yo);var bo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=kr(wr(c(r),r.update),_r),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar"},{"aria-hidden":"true"})},n.update=function(e,t){var n=this.getChild("timeTooltip");if(n){var r=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();n.updateTime(e,t,r)}},t}(Hr);bo.prototype.options_={children:[]},vn||nn||bo.prototype.options_.children.push("timeTooltip"),Hr.registerComponent("PlayProgressBar",bo);var _o=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=kr(wr(c(r),r.update),_r),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t){var n=this,r=t*this.player_.duration();this.getChild("timeTooltip").updateTime(e,t,r,(function(){n.el_.style.left=e.width*t+"px"}))},t}(Hr);_o.prototype.options_={children:["timeTooltip"]},Hr.registerComponent("MouseTimeDisplay",_o);var wo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}f(t,e);var n=t.prototype;return n.setEventHandlers_=function(){var e=this;this.update_=wr(this,this.update),this.update=kr(this.update_,_r),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(t){return e.enableInterval_(t)},this.disableIntervalHandler_=function(t){return e.disableInterval_(t)},this.on(this.player_,["playing"],this.enableIntervalHandler_),this.on(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.on(a(),"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){"hidden"===a().visibilityState?(this.cancelNamedAnimationFrame("SeekBar#update"),this.cancelNamedAnimationFrame("Slider#update"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,_r))},n.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&"ended"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},n.update=function(t){var n=this;if("hidden"!==a().visibilityState){var r=e.prototype.update.call(this);return this.requestNamedAnimationFrame("SeekBar#update",(function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,i=n.player_.duration();t&&t.isLive()&&(i=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute("aria-valuenow",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===i||(n.el_.setAttribute("aria-valuetext",n.localize("progress bar timing: currentTime={1} duration={2}",[oo(e,i),oo(i,i)],"{1} of {2}")),n.currentTime_=e,n.duration_=i),n.bar&&n.bar.update(Fn(n.el()),n.getProgress())})),r}},n.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},n.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},n.getPercent=function(){var e,t=this.getCurrentTime_(),n=this.player_.liveTracker;return n&&n.isLive()?(e=(t-n.seekableStart())/n.liveWindow(),n.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},n.handleMouseDown=function(t){Gn(t)&&(t.stopPropagation(),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e,t){if(void 0===t&&(t=!1),Gn(e)){var n;t||this.player_.scrubbing()||this.player_.scrubbing(!0);var r=this.calculateDistance(e),i=this.player_.liveTracker;if(i&&i.isLive()){if(r>=.99)return void i.seekToLiveEdge();var o=i.seekableStart(),a=i.liveCurrentTime();if((n=o+r*i.liveWindow())>=a&&(n=a),n<=o&&(n=o+.1),n===1/0)return}else(n=r*this.player_.duration())===this.player_.duration()&&(n-=.1);this.userSeek_(n)}},n.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},n.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},n.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying?Zr(this.player_.play()):this.update_()},n.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},n.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){var n=this.player_.liveTracker;if(l().isEventKey(t,"Space")||l().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(l().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.userSeek_(0);else if(l().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),n&&n.isLive()?this.userSeek_(n.liveCurrentTime()):this.userSeek_(this.player_.duration());else if(/^[0-9]$/.test(l()(t))){t.preventDefault(),t.stopPropagation();var r=10*(l().codes[l()(t)]-l().codes[0])/100;n&&n.isLive()?this.userSeek_(n.seekableStart()+n.liveWindow()*r):this.userSeek_(this.player_.duration()*r)}else l().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):l().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):e.prototype.handleKeyDown.call(this,t)},n.dispose=function(){this.disableInterval_(),this.off(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableIntervalHandler_),this.off(this.player_,["ended","pause","waiting"],this.disableIntervalHandler_),"hidden"in a()&&"visibilityState"in a()&&this.off(a(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(mo);wo.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},vn||nn||wo.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Hr.registerComponent("SeekBar",wo);var ko=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=kr(wr(c(r),r.handleMouseMove),_r),r.throttledHandleMouseSeek=kr(wr(c(r),r.handleMouseSeek),_r),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.handleMouseDownHandler_=function(e){return r.handleMouseDown(e)},r.enable(),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("playProgressBar"),r=t.getChild("mouseTimeDisplay");if(n||r){var i=t.el(),o=Bn(i),a=Un(i,e).x;a=ho(a,0,1),r&&r.update(o,a),n&&n.update(o,t.getProgress())}}},n.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},n.enabled=function(){return this.enabled_},n.disable=function(){if(this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDownHandler_),this.off(this.el_,"mousemove",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass("disabled"),this.enabled_=!1,this.player_.scrubbing())){var e=this.getChild("seekBar");this.player_.scrubbing(!1),e.videoWasPlaying&&Zr(this.player_.play())}},n.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDownHandler_),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},n.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUpHandler_),this.off(e,"touchend",this.handleMouseUpHandler_)},n.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.getChild("seekBar");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},t}(Hr);ko.prototype.options_={children:["seekBar"]},Hr.registerComponent("ProgressControl",ko);var Eo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],(function(e){return r.handlePictureInPictureChange(e)})),r.on(t,["disablepictureinpicturechanged","loadedmetadata"],(function(e){return r.handlePictureInPictureEnabledChange(e)})),r.on(t,["loadedmetadata","audioonlymodechange","audiopostermodechange"],(function(){"audio"===t.currentType().substring(0,5)||t.audioPosterMode()||t.audioOnlyMode()?(t.isInPictureInPicture()&&t.exitPictureInPicture(),r.hide()):r.show()})),r.disable(),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureEnabledChange=function(){a().pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture"),this.handlePictureInPictureEnabledChange()},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(Ji);Eo.prototype.controlText_="Picture-in-Picture",Hr.registerComponent("PictureInPictureToggle",Eo);var xo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",(function(e){return r.handleFullscreenChange(e)})),!1===a()[t.fsApi_.fullscreenEnabled]&&r.disable(),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},n.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},n.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(Ji);xo.prototype.controlText_="Fullscreen",Hr.registerComponent("FullscreenToggle",xo);var So=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-volume-level"});return t.appendChild(e.prototype.createEl.call(this,"span",{className:"vjs-control-text"})),t},t}(Hr);Hr.registerComponent("VolumeLevel",So);var To=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=kr(wr(c(r),r.update),_r),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-tooltip"},{"aria-hidden":"true"})},n.update=function(e,t,n,r){if(!n){var i=Fn(this.el_),o=Fn(this.player_.el()),a=e.width*t;if(!o||!i)return;var s=e.left-o.left+a,u=e.width-a+(o.right-e.right),l=i.width/2;s<l?l+=l-s:u<l&&(l=u),l<0?l=0:l>i.width&&(l=i.width),this.el_.style.right="-"+l+"px"}this.write(r+"%")},n.write=function(e){Tn(this.el_,e)},n.updateVolume=function(e,t,n,r,i){var o=this;this.requestNamedAnimationFrame("VolumeLevelTooltip#updateVolume",(function(){o.update(e,t,n,r.toFixed(0)),i&&i()}))},t}(Hr);Hr.registerComponent("VolumeLevelTooltip",To);var Co=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=kr(wr(c(r),r.update),_r),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},n.update=function(e,t,n){var r=this,i=100*t;this.getChild("volumeLevelTooltip").updateVolume(e,t,n,i,(function(){n?r.el_.style.bottom=e.height*t+"px":r.el_.style.left=e.width*t+"px"}))},t}(Hr);Co.prototype.options_={children:["volumeLevelTooltip"]},Hr.registerComponent("MouseVolumeLevelDisplay",Co);var Ao=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",(function(e){return r.updateLastVolume_(e)})),r.on(t,"volumechange",(function(e){return r.updateARIAAttributes(e)})),t.ready((function(){return r.updateARIAAttributes()})),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},n.handleMouseDown=function(t){Gn(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){var t=this.getChild("mouseVolumeLevelDisplay");if(t){var n=this.el(),r=Fn(n),i=this.vertical(),o=Un(n,e);o=i?o.y:o.x,o=ho(o,0,1),t.update(r,o,i)}Gn(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},n.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},n.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},n.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(mo);Ao.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},vn||nn||Ao.prototype.options_.children.splice(0,0,"mouseVolumeLevelDisplay"),Ao.prototype.playerEvent="volumechange",Hr.registerComponent("VolumeBar",Ao);var Oo=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||Kt(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(c(r=e.call(this,t,n)||this),t),r.throttledHandleMouseMove=kr(wr(c(r),r.handleMouseMove),_r),r.handleMouseUpHandler_=function(e){return r.handleMouseUp(e)},r.on("mousedown",(function(e){return r.handleMouseDown(e)})),r.on("touchstart",(function(e){return r.handleMouseDown(e)})),r.on("mousemove",(function(e){return r.handleMouseMove(e)})),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},n.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUpHandler_),this.on(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUpHandler_),this.off(t,"touchend",this.handleMouseUpHandler_)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(Hr);Oo.prototype.options_={children:["volumeBar"]},Hr.registerComponent("VolumeControl",Oo);var No=function(e){function t(t,n){var r;return function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))}(c(r=e.call(this,t,n)||this),t),r.on(t,["loadstart","volumechange"],(function(e){return r.update(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},n.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},n.update=function(e){this.updateIcon_(),this.updateControlText_()},n.updateIcon_=function(){var e=this.player_.volume(),t=3;vn&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)Nn(this.el_,"vjs-vol-"+n);On(this.el_,"vjs-vol-"+t)},n.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},t}(Ji);No.prototype.controlText_="Mute",Hr.registerComponent("MuteToggle",No);var Po=function(e){function t(t,n){var r;return void 0===n&&(n={}),void 0!==n.inline?n.inline=n.inline:n.inline=!0,(void 0===n.volumeControl||Kt(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).handleKeyPressHandler_=function(e){return r.handleKeyPress(e)},r.on(t,["loadstart"],(function(e){return r.volumePanelState_(e)})),r.on(r.muteToggle,"keyup",(function(e){return r.handleKeyPress(e)})),r.on(r.volumeControl,"keyup",(function(e){return r.handleVolumeControlKeyUp(e)})),r.on("keydown",(function(e){return r.handleKeyPress(e)})),r.on("mouseover",(function(e){return r.handleMouseOver(e)})),r.on("mouseout",(function(e){return r.handleMouseOut(e)})),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}f(t,e);var n=t.prototype;return n.sliderActive_=function(){this.addClass("vjs-slider-active")},n.sliderInactive_=function(){this.removeClass("vjs-slider-active")},n.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},n.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},n.dispose=function(){this.handleMouseOut(),e.prototype.dispose.call(this)},n.handleVolumeControlKeyUp=function(e){l().isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),pr(a(),"keyup",this.handleKeyPressHandler_)},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),hr(a(),"keyup",this.handleKeyPressHandler_)},n.handleKeyPress=function(e){l().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(Hr);Po.prototype.options_={children:["muteToggle","volumeControl"]},Hr.registerComponent("VolumePanel",Po);var Io=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,n&&(r.menuButton_=n.menuButton),r.focusedChild_=-1,r.on("keydown",(function(e){return r.handleKeyDown(e)})),r.boundHandleBlur_=function(e){return r.handleBlur(e)},r.boundHandleTapClick_=function(e){return r.handleTapClick(e)},r}f(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof Hr&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof Hr&&(this.off(e,"blur",this.boundHandleBlur_),this.off(e,["tap","click"],this.boundHandleTapClick_))},n.removeChild=function(t){"string"==typeof t&&(t=this.getChild(t)),this.removeEventListenerForItem(t),e.prototype.removeChild.call(this,t)},n.addItem=function(e){var t=this.addChild(e);t&&this.addEventListenerForItem(t)},n.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=Sn(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),pr(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},n.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,e.prototype.dispose.call(this)},n.handleBlur=function(e){var t=e.relatedTarget||a().activeElement;if(!this.children().some((function(e){return e.el()===t}))){var n=this.menuButton_;n&&n.buttonPressed_&&t!==n.el().firstChild&&n.unpressButton()}},n.handleTapClick=function(e){if(this.menuButton_){this.menuButton_.unpressButton();var t=this.children();if(!Array.isArray(t))return;var n=t.filter((function(t){return t.el()===e.target}))[0];if(!n)return;"CaptionSettingsMenuItem"!==n.name()&&this.menuButton_.focus()}},n.handleKeyDown=function(e){l().isEventKey(e,"Left")||l().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(l().isEventKey(e,"Right")||l().isEventKey(e,"Up"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},n.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass("vjs-menu-title")&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(Hr);Hr.registerComponent("Menu",Io);var Lo=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new Ji(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var i=Ji.prototype.buildCSSClass();r.menuButton_.el_.className=r.buildCSSClass()+" "+i,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0;var o=function(e){return r.handleClick(e)};return r.handleMenuKeyUp_=function(e){return r.handleMenuKeyUp(e)},r.on(r.menuButton_,"tap",o),r.on(r.menuButton_,"click",o),r.on(r.menuButton_,"keydown",(function(e){return r.handleKeyDown(e)})),r.on(r.menuButton_,"mouseenter",(function(){r.addClass("vjs-hover"),r.menu.show(),pr(a(),"keyup",r.handleMenuKeyUp_)})),r.on("mouseleave",(function(e){return r.handleMouseLeave(e)})),r.on("keydown",(function(e){return r.handleSubmenuKeyDown(e)})),r}f(t,e);var n=t.prototype;return n.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?(this.hide(),this.menu.contentEl_.removeAttribute("role")):(this.show(),this.menu.contentEl_.setAttribute("role","menu"))},n.createMenu=function(){var e=new Io(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=Sn("li",{className:"vjs-menu-title",textContent:qr(this.options_.title),tabIndex:-1}),n=new Hr(this.player_,{el:t});e.addItem(n)}if(this.items=this.createItems(),this.items)for(var r=0;r<this.items.length;r++)e.addItem(this.items[r]);return e},n.createItems=function(){},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},n.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+Ji.prototype.buildCSSClass()+" "+e.prototype.buildCSSClass.call(this)},n.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+e.prototype.buildCSSClass.call(this)},n.controlText=function(e,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(e,t)},n.dispose=function(){this.handleMouseLeave(),e.prototype.dispose.call(this)},n.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},n.handleMouseLeave=function(e){this.removeClass("vjs-hover"),hr(a(),"keyup",this.handleMenuKeyUp_)},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){l().isEventKey(e,"Esc")||l().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),l().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(l().isEventKey(e,"Up")||l().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(l().isEventKey(e,"Esc")||l().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(l().isEventKey(e,"Esc")||l().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),l().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus()))},n.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),vn&&En())return;this.menu.focus()}},n.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},n.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},n.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(Hr);Hr.registerComponent("MenuButton",Lo);var Mo=function(e){function t(t,n){var r,i=n.tracks;if((r=e.call(this,t,n)||this).items.length<=1&&r.hide(),!i)return c(r);var o=wr(c(r),r.update);return i.addEventListener("removetrack",o),i.addEventListener("addtrack",o),i.addEventListener("labelchange",o),r.player_.on("ready",o),r.player_.on("dispose",(function(){i.removeEventListener("removetrack",o),i.removeEventListener("addtrack",o),i.removeEventListener("labelchange",o)})),r}return f(t,e),t}(Lo);Hr.registerComponent("TrackButton",Mo);var Ro=["Tab","Esc","Up","Down","Right","Left"],Do=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).selectable=n.selectable,r.isSelected_=n.selected||!1,r.multiSelectable=n.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}f(t,e);var n=t.prototype;return n.createEl=function(t,n,r){this.nonIconControl=!0;var i=e.prototype.createEl.call(this,"li",Yt({className:"vjs-menu-item",tabIndex:-1},n),r);return i.replaceChild(Sn("span",{className:"vjs-menu-item-text",textContent:this.localize(this.options_.label)}),i.querySelector(".vjs-icon-placeholder")),i},n.handleKeyDown=function(t){Ro.some((function(e){return l().isEventKey(t,e)}))||e.prototype.handleKeyDown.call(this,t)},n.handleClick=function(e){this.selected(!0)},n.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},t}(Yi);Hr.registerComponent("MenuItem",Do);var qo=function(e){function t(t,n){var r,o=n.track,s=t.textTracks();n.label=o.label||o.language||"Unknown",n.selected="showing"===o.mode,(r=e.call(this,t,n)||this).track=o,r.kinds=(n.kinds||[n.kind||r.track.kind]).filter(Boolean);var u,l=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(c(r),t)},d=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleSelectedLanguageChange.apply(c(r),t)};(t.on(["loadstart","texttrackchange"],l),s.addEventListener("change",l),s.addEventListener("selectedlanguagechange",d),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],l),s.removeEventListener("change",l),s.removeEventListener("selectedlanguagechange",d)})),void 0===s.onchange)&&r.on(["tap","click"],(function(){if("object"!=typeof i().Event)try{u=new(i().Event)("change")}catch(e){}u||(u=a().createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(u)}));return r.handleTracksChange(),r}f(t,e);var n=t.prototype;return n.handleClick=function(t){var n=this.track,r=this.player_.textTracks();if(e.prototype.handleClick.call(this,t),r)for(var i=0;i<r.length;i++){var o=r[i];-1!==this.kinds.indexOf(o.kind)&&(o===n?"showing"!==o.mode&&(o.mode="showing"):"disabled"!==o.mode&&(o.mode="disabled"))}},n.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},n.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},n.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Do);Hr.registerComponent("TextTrackMenuItem",qo);var jo=function(e){function t(t,n){return n.track={player:t,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,e.call(this,t,n)||this}f(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},n.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,r=0,i=t.length;r<i;r++){var o=t[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(qo);Hr.registerComponent("OffTextTrackMenuItem",jo);var Fo=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return f(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=qo),this.label_&&(n=this.label_+" off"),e.push(new jo(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var o=r[i];if(this.kinds_.indexOf(o.kind)>-1){var a=new t(this.player_,{track:o,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),e.push(a)}}return e},t}(Mo);Hr.registerComponent("TextTrackButton",Fo);var Bo=function(e){function t(t,n){var r,i=n.track,o=n.cue,a=t.currentTime();return n.selectable=!0,n.multiSelectable=!1,n.label=o.text,n.selected=o.startTime<=a&&a<o.endTime,(r=e.call(this,t,n)||this).track=i,r.cue=o,r}return f(t,e),t.prototype.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime)},t}(Do);Hr.registerComponent("ChaptersTrackMenuItem",Bo);var Uo=function(e){function t(t,n,r){var i;return(i=e.call(this,t,n,r)||this).selectCurrentItem_=function(){i.items.forEach((function(e){e.selected(i.track_.activeCues[0]===e.cue)}))},i}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-chapters-button "+e.prototype.buildWrapperCSSClass.call(this)},n.update=function(t){if(!t||!t.track||"chapters"===t.track.kind){var n=this.findChaptersTrack();n!==this.track_?(this.setTrack(n),e.prototype.update.call(this)):(!this.items||n&&n.cues&&n.cues.length!==this.items.length)&&e.prototype.update.call(this)}},n.setTrack=function(e){if(this.track_!==e){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);t&&t.removeEventListener("load",this.updateHandler_),this.track_.removeEventListener("cuechange",this.selectCurrentItem_),this.track_=null}if(this.track_=e,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_),this.track_.addEventListener("cuechange",this.selectCurrentItem_)}}},n.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;t>=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},n.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(qr(this.kind_))},n.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},n.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,r=t.length;n<r;n++){var i=t[n],o=new Bo(this.player_,{track:this.track_,cue:i});e.push(o)}return e},t}(Fo);Uo.prototype.kind_="chapters",Uo.prototype.controlText_="Chapters",Hr.registerComponent("ChaptersButton",Uo);var zo=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=t.textTracks(),a=wr(c(i),i.handleTracksChange);return o.addEventListener("change",a),i.on("dispose",(function(){o.removeEventListener("change",a)})),i}f(t,e);var n=t.prototype;return n.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!1,r=0,i=t.length;r<i;r++){var o=t[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},n.buildCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Fo);zo.prototype.kind_="descriptions",zo.prototype.controlText_="Descriptions",Hr.registerComponent("DescriptionsButton",zo);var Ho=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+e.prototype.buildWrapperCSSClass.call(this)},t}(Fo);Ho.prototype.kind_="subtitles",Ho.prototype.controlText_="Subtitles",Hr.registerComponent("SubtitlesButton",Ho);var Vo=function(e){function t(t,n){var r;return n.track={player:t,kind:n.kind,label:n.kind+" settings",selectable:!1,default:!1,mode:"disabled"},n.selectable=!1,n.name="CaptionSettingsMenuItem",(r=e.call(this,t,n)||this).addClass("vjs-texttrack-settings"),r.controlText(", opens "+n.kind+" settings dialog"),r}return f(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(qo);Hr.registerComponent("CaptionSettingsMenuItem",Vo);var Wo=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-captions-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-captions-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Vo(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Fo);Wo.prototype.kind_="captions",Wo.prototype.controlText_="Captions",Hr.registerComponent("CaptionsButton",Wo);var Yo=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(t,n,r){var i=e.prototype.createEl.call(this,t,n,r),o=i.querySelector(".vjs-menu-item-text");return"captions"===this.options_.track.kind&&(o.appendChild(Sn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),o.appendChild(Sn("span",{className:"vjs-control-text",textContent:" "+this.localize("Captions")}))),i},t}(qo);Hr.registerComponent("SubsCapsMenuItem",Yo);var Go=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(r.player_.language_)>-1&&(r.label_="captions"),r.menuButton_.controlText(qr(r.label_)),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Vo(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,Yo)},t}(Fo);Go.prototype.kinds_=["captions","subtitles"],Go.prototype.controlText_="Subtitles",Hr.registerComponent("SubsCapsButton",Go);var Ko=function(e){function t(t,n){var r,i=n.track,o=t.audioTracks();n.label=i.label||i.language||"Unknown",n.selected=i.enabled,(r=e.call(this,t,n)||this).track=i,r.addClass("vjs-"+i.kind+"-menu-item");var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply(c(r),t)};return o.addEventListener("change",a),r.on("dispose",(function(){o.removeEventListener("change",a)})),r}f(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var i=e.prototype.createEl.call(this,t,n,r),o=i.querySelector(".vjs-menu-item-text");return"main-desc"===this.options_.track.kind&&(o.appendChild(Sn("span",{className:"vjs-icon-placeholder"},{"aria-hidden":!0})),o.appendChild(Sn("span",{className:"vjs-control-text",textContent:" "+this.localize("Descriptions")}))),i},n.handleClick=function(t){if(e.prototype.handleClick.call(this,t),this.track.enabled=!0,this.player_.tech_.featuresNativeAudioTracks)for(var n=this.player_.audioTracks(),r=0;r<n.length;r++){var i=n[r];i!==this.track&&(i.enabled=i===this.track)}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(Do);Hr.registerComponent("AudioTrackMenuItem",Ko);var Xo=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-audio-button "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-audio-button "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),n=0;n<t.length;n++){var r=t[n];e.push(new Ko(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Mo);Xo.prototype.controlText_="Audio Track",Hr.registerComponent("AudioTrackButton",Xo);var $o=function(e){function t(t,n){var r,i=n.rate,o=parseFloat(i,10);return n.label=i,n.selected=o===t.playbackRate(),n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=i,r.rate=o,r.on(t,"ratechange",(function(e){return r.update(e)})),r}f(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},n.update=function(e){this.selected(this.player().playbackRate()===this.rate)},t}(Do);$o.prototype.contentElType="button",Hr.registerComponent("PlaybackRateMenuItem",$o);var Zo=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).menuButton_.el_.setAttribute("aria-describedby",r.labelElId_),r.updateVisibility(),r.updateLabel(),r.on(t,"loadstart",(function(e){return r.updateVisibility(e)})),r.on(t,"ratechange",(function(e){return r.updateLabel(e)})),r.on(t,"playbackrateschange",(function(e){return r.handlePlaybackRateschange(e)})),r}f(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelElId_="vjs-playback-rate-value-label-"+this.id_,this.labelEl_=Sn("div",{className:"vjs-playback-rate-value",id:this.labelElId_,textContent:"1x"}),t.appendChild(this.labelEl_),t},n.dispose=function(){this.labelEl_=null,e.prototype.dispose.call(this)},n.buildCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildCSSClass.call(this)},n.buildWrapperCSSClass=function(){return"vjs-playback-rate "+e.prototype.buildWrapperCSSClass.call(this)},n.createItems=function(){for(var e=this.playbackRates(),t=[],n=e.length-1;n>=0;n--)t.push(new $o(this.player(),{rate:e[n]+"x"}));return t},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){var t=this.player().playbackRate(),n=this.playbackRates(),r=(n.indexOf(t)+1)%n.length;this.player().playbackRate(n[r])},n.handlePlaybackRateschange=function(e){this.update()},n.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},n.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},n.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.textContent=this.player().playbackRate()+"x")},t}(Lo);Zo.prototype.controlText_="Playback Rate",Hr.registerComponent("PlaybackRateMenuButton",Zo);var Qo=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(t,n,r){return void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n.className||(n.className=this.buildCSSClass()),e.prototype.createEl.call(this,t,n,r)},t}(Hr);Hr.registerComponent("Spacer",Qo);var Jo=function(e){function t(){return e.apply(this,arguments)||this}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),textContent:" "})},t}(Qo);Hr.registerComponent("CustomControlSpacer",Jo);var ea=function(e){function t(){return e.apply(this,arguments)||this}return f(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(Hr);ea.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a()&&ea.prototype.options_.children.splice(ea.prototype.options_.children.length-1,0,"pictureInPictureToggle"),Hr.registerComponent("ControlBar",ea);var ta=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",(function(e){return r.open(e)})),r}f(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-error-display "+e.prototype.buildCSSClass.call(this)},n.content=function(){var e=this.player().error();return e?this.localize(e.message):""},t}(ti);ta.prototype.options_=s({},ti.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),Hr.registerComponent("ErrorDisplay",ta);var na="vjs-text-track-settings",ra=["#000","Black"],ia=["#00F","Blue"],oa=["#0FF","Cyan"],aa=["#0F0","Green"],sa=["#F0F","Magenta"],ua=["#F00","Red"],la=["#FFF","White"],ca=["#FF0","Yellow"],da=["1","Opaque"],fa=["0.5","Semi-Transparent"],pa=["0","Transparent"],ha={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[ra,la,ua,aa,ia,ca,sa,oa]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[da,fa,pa]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[la,ra,ua,aa,ia,ca,sa,oa]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(e){return"1.00"===e?null:Number(e)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[da,fa]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[pa,fa,da]}};function ma(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}ha.windowColor.options=ha.backgroundColor.options;var va=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=r.updateDisplay.bind(c(r)),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=Sn("p",{className:"vjs-control-text",textContent:r.localize("End of dialog window.")}),r.el().appendChild(r.endDialog),r.setDefaults(),void 0===n.persistTextTrackSettings&&(r.options_.persistTextTrackSettings=r.options_.playerOptions.persistTextTrackSettings),r.on(r.$(".vjs-done-button"),"click",(function(){r.saveSettings(),r.close()})),r.on(r.$(".vjs-default-button"),"click",(function(){r.setDefaults(),r.updateDisplay()})),Wt(ha,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}f(t,e);var n=t.prototype;return n.dispose=function(){this.endDialog=null,e.prototype.dispose.call(this)},n.createElSelect_=function(e,t,n){var r=this;void 0===t&&(t=""),void 0===n&&(n="label");var i=ha[e],o=i.id.replace("%s",this.id_),a=[t,o].join(" ").trim();return["<"+n+' id="'+o+'" class="'+("label"===n?"vjs-label":"")+'">',this.localize(i.label),"</"+n+">",'<select aria-labelledby="'+a+'">'].concat(i.options.map((function(e){var t=o+"-"+e[1].replace(/\W+/g,"");return['<option id="'+t+'" value="'+e[0]+'" ','aria-labelledby="'+a+" "+t+'">',r.localize(e[1]),"</option>"].join("")}))).concat("</select>").join("")},n.createElFgColor_=function(){var e="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",e),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",e),"</span>","</fieldset>"].join("")},n.createElBgColor_=function(){var e="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",e),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",e),"</span>","</fieldset>"].join("")},n.createElWinColor_=function(){var e="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+e+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",e),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",e),"</span>","</fieldset>"].join("")},n.createElColors_=function(){return Sn("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return Sn("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},n.createElControls_=function(){var e=this.localize("restore all settings to the default values");return Sn("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+e+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+e+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},n.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},n.label=function(){return this.localize("Caption Settings Dialog")},n.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},n.buildCSSClass=function(){return e.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},n.getValues=function(){var e,t,n,r=this;return t=function(e,t,n){var i,o,a=(i=r.$(t.selector),o=t.parser,ma(i.options[i.options.selectedIndex].value,o));return void 0!==a&&(e[n]=a),e},void 0===(n={})&&(n=0),Vt(e=ha).reduce((function(n,r){return t(n,e[r],r)}),n)},n.setValues=function(e){var t=this;Wt(ha,(function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(ma(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)}))},n.setDefaults=function(){var e=this;Wt(ha,(function(t){var n=t.hasOwnProperty("default")?t.default:0;e.$(t.selector).selectedIndex=n}))},n.restoreSettings=function(){var e;try{e=JSON.parse(i().localStorage.getItem(na))}catch(e){Ut.warn(e)}e&&this.setValues(e)},n.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?i().localStorage.setItem(na,JSON.stringify(e)):i().localStorage.removeItem(na)}catch(e){Ut.warn(e)}}},n.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,n=e&&e.captionsButton;t?t.focus():n&&n.focus()},t}(ti);Hr.registerComponent("TextTrackSettings",va);var ga=function(e){function t(t,n){var r,o=n.ResizeObserver||i().ResizeObserver;null===n.ResizeObserver&&(o=!1);var a=jr({createEl:!o,reportTouchActivity:!1},n);return(r=e.call(this,t,a)||this).ResizeObserver=n.ResizeObserver||i().ResizeObserver,r.loadListener_=null,r.resizeObserver_=null,r.debouncedHandler_=function(e,t,n,r){var o;void 0===r&&(r=i());var a=function(){var i=this,a=arguments,s=function(){o=null,s=null,n||e.apply(i,a)};!o&&n&&e.apply(i,a),r.clearTimeout(o),o=r.setTimeout(s,t)};return a.cancel=function(){r.clearTimeout(o),o=null},a}((function(){r.resizeHandler()}),100,!1,c(r)),o?(r.resizeObserver_=new r.ResizeObserver(r.debouncedHandler_),r.resizeObserver_.observe(t.el())):(r.loadListener_=function(){if(r.el_&&r.el_.contentWindow){var e=r.debouncedHandler_,t=r.unloadListener_=function(){hr(this,"resize",e),hr(this,"unload",t),t=null};pr(r.el_.contentWindow,"unload",t),pr(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}f(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1,title:this.localize("No content")},{"aria-hidden":"true"})},n.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},n.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off("load",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,e.prototype.dispose.call(this)},t}(Hr);Hr.registerComponent("ResizeManager",ga);var ya={trackingThreshold:20,liveTolerance:15},ba=function(e){function t(t,n){var r,i=jr(ya,n,{createEl:!1});return(r=e.call(this,t,i)||this).handleVisibilityChange_=function(e){return r.handleVisibilityChange(e)},r.trackLiveHandler_=function(){return r.trackLive_()},r.handlePlay_=function(e){return r.handlePlay(e)},r.handleFirstTimeupdate_=function(e){return r.handleFirstTimeupdate(e)},r.handleSeeked_=function(e){return r.handleSeeked(e)},r.seekToLiveEdge_=function(e){return r.seekToLiveEdge(e)},r.reset_(),r.on(r.player_,"durationchange",(function(e){return r.handleDurationchange(e)})),r.on(r.player_,"canplay",(function(){return r.toggleTracking()})),cn&&"hidden"in a()&&"visibilityState"in a()&&r.on(a(),"visibilitychange",r.handleVisibilityChange_),r}f(t,e);var n=t.prototype;return n.handleVisibilityChange=function(){this.player_.duration()===1/0&&(a().hidden?this.stopTracking():this.startTracking())},n.trackLive_=function(){var e=this.player_.seekable();if(e&&e.length){var t=Number(i().performance.now().toFixed(4)),n=-1===this.lastTime_?0:(t-this.lastTime_)/1e3;this.lastTime_=t,this.pastSeekEnd_=this.pastSeekEnd()+n;var r=this.liveCurrentTime(),o=this.player_.currentTime(),a=this.player_.paused()||this.seekedBehindLive_||Math.abs(r-o)>this.options_.liveTolerance;this.timeupdateSeen_&&r!==1/0||(a=!1),a!==this.behindLiveEdge_&&(this.behindLiveEdge_=a,this.trigger("liveedgechange"))}},n.handleDurationchange=function(){this.toggleTracking()},n.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass("vjs-liveui"),this.startTracking()):(this.player_.removeClass("vjs-liveui"),this.stopTracking())},n.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,_r),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,"seeked",this.handleSeeked_):(this.one(this.player_,"play",this.handlePlay_),this.one(this.player_,"timeupdate",this.handleFirstTimeupdate_)))},n.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,"seeked",this.handleSeeked_)},n.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&e>2,this.nextSeekedFromUser_=!1,this.trackLive_()},n.handlePlay=function(){this.one(this.player_,"timeupdate",this.seekToLiveEdge_)},n.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLiveHandler_),this.off(this.player_,"seeked",this.handleSeeked_),this.off(this.player_,"play",this.handlePlay_),this.off(this.player_,"timeupdate",this.handleFirstTimeupdate_),this.off(this.player_,"timeupdate",this.seekToLiveEdge_)},n.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},n.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger("liveedgechange"))},n.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.end(n));return t.length?t.sort()[t.length-1]:1/0},n.seekableStart=function(){for(var e=this.player_.seekable(),t=[],n=e?e.length:0;n--;)t.push(e.start(n));return t.length?t.sort()[0]:0},n.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},n.isLive=function(){return this.isTracking()},n.atLiveEdge=function(){return!this.behindLiveEdge()},n.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},n.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},n.behindLiveEdge=function(){return this.behindLiveEdge_},n.isTracking=function(){return"number"==typeof this.trackingInterval_},n.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(a(),"visibilitychange",this.handleVisibilityChange_),this.stopTracking(),e.prototype.dispose.call(this)},t}(Hr);Hr.registerComponent("LiveTracker",ba);var _a,wa=function(e){var t=e.el();if(t.hasAttribute("src"))return e.triggerSourceset(t.src),!0;var n=e.$$("source"),r=[],i="";if(!n.length)return!1;for(var o=0;o<n.length;o++){var a=n[o].src;a&&-1===r.indexOf(a)&&r.push(a)}return!!r.length&&(1===r.length&&(i=r[0]),e.triggerSourceset(i),!0)},ka=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=a().createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var n=a().createDocumentFragment();t.childNodes.length;)n.appendChild(t.childNodes[0]);return this.innerText="",i().Element.prototype.appendChild.call(this,n),this.innerHTML}}),Ea=function(e,t){for(var n={},r=0;r<e.length&&!((n=Object.getOwnPropertyDescriptor(e[r],t))&&n.set&&n.get);r++);return n.enumerable=!0,n.configurable=!0,n},xa=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return Ea([e.el(),i().HTMLMediaElement.prototype,i().Element.prototype,ka],"innerHTML")}(e),o=function(n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=n.apply(t,i);return wa(e),a}};["append","appendChild","insertAdjacentHTML"].forEach((function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",jr(r,{set:o(r.set)})),t.resetSourceWatch_=function(){t.resetSourceWatch_=null,Object.keys(n).forEach((function(e){t[e]=n[e]})),Object.defineProperty(t,"innerHTML",r)},e.one("sourceset",t.resetSourceWatch_)}},Sa=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?gi(i().Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return i().Element.prototype.setAttribute.call(this,"src",e),e}}),Ta=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return Ea([e.el(),i().HTMLMediaElement.prototype,Sa],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",jr(n,{set:function(r){var i=n.set.call(t,r);return e.triggerSourceset(t.src),i}})),t.setAttribute=function(n,i){var o=r.call(t,n,i);return/src/i.test(n)&&e.triggerSourceset(t.src),o},t.load=function(){var n=o.call(t);return wa(e)||(e.triggerSourceset(""),xa(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):wa(e)||xa(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Ca=function(e,t,n,r){void 0===r&&(r=!0);var i=function(n){return Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0})},o={configurable:!0,enumerable:!0,get:function(){var e=n();return i(e),e}};return r&&(o.set=i),Object.defineProperty(e,t,o)},Aa=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i=t.source,o=!1;if(r.featuresVideoFrameCallback=r.featuresVideoFrameCallback&&"VIDEO"===r.el_.tagName,i&&(r.el_.currentSrc!==i.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(i):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),r.isScrubbing_=!1,r.el_.hasChildNodes()){for(var a=r.el_.childNodes,s=a.length,u=[];s--;){var l=a[s];"track"===l.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(l),r.remoteTextTracks().addTrack(l.track),r.textTracks().addTrack(l.track),o||r.el_.hasAttribute("crossorigin")||!bi(l.src)||(o=!0)):u.push(l))}for(var c=0;c<u.length;c++)r.el_.removeChild(u[c])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&o&&Ut.warn("Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\nThis may prevent text tracks from loading."),r.restoreMetadataTracksInIOSNativePlayer_(),(pn||mn||on)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}f(t,e);var n=t.prototype;return n.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),t.disposeMediaElement(this.el_),this.options_=null,e.prototype.dispose.call(this)},n.setupSourcesetHandling_=function(){Ta(this)},n.restoreMetadataTracksInIOSNativePlayer_=function(){var e,t=this.textTracks(),n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",(function(){return t.removeEventListener("change",n)}));var r=function n(){for(var r=0;r<e.length;r++){var i=e[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",(function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)})),this.on("webkitendfullscreen",(function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)}))},n.overrideNative_=function(e,t){var n=this;if(t===this["featuresNative"+e+"Tracks"]){var r=e.toLowerCase();this[r+"TracksListeners_"]&&Object.keys(this[r+"TracksListeners_"]).forEach((function(e){n.el()[r+"Tracks"].removeEventListener(e,n[r+"TracksListeners_"][e])})),this["featuresNative"+e+"Tracks"]=!t,this[r+"TracksListeners_"]=null,this.proxyNativeTracksForType_(r)}},n.overrideNativeAudioTracks=function(e){this.overrideNative_("Audio",e)},n.overrideNativeVideoTracks=function(e){this.overrideNative_("Video",e)},n.proxyNativeTracksForType_=function(e){var t=this,n=Ci[e],r=this.el()[n.getterName],i=this[n.getterName]();if(this["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var o={change:function(n){var r={type:"change",target:i,currentTarget:i,srcElement:i};i.trigger(r),"text"===e&&t[Ai.remoteText.getterName]().trigger(r)},addtrack:function(e){i.addTrack(e.track)},removetrack:function(e){i.removeTrack(e.track)}},a=function(){for(var e=[],t=0;t<i.length;t++){for(var n=!1,o=0;o<r.length;o++)if(r[o]===i[t]){n=!0;break}n||e.push(i[t])}for(;e.length;)i.removeTrack(e.shift())};this[n.getterName+"Listeners_"]=o,Object.keys(o).forEach((function(e){var n=o[e];r.addEventListener(e,n),t.on("dispose",(function(t){return r.removeEventListener(e,n)}))})),this.on("loadstart",a),this.on("dispose",(function(e){return t.off("loadstart",a)}))}},n.proxyNativeTracks_=function(){var e=this;Ci.names.forEach((function(t){e.proxyNativeTracksForType_(t)}))},n.createEl=function(){var e=this.options_.tag;if(!e||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(e){var n=e.cloneNode(!0);e.parentNode&&e.parentNode.insertBefore(n,e),t.disposeMediaElement(e),e=n}else{e=a().createElement("video");var r=jr({},this.options_.tag&&Ln(this.options_.tag));pn&&!0===this.options_.nativeControlsForTouch||delete r.controls,In(e,Yt(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&Rn(e,"preload",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(e.disablePictureInPicture=this.options_.disablePictureInPicture);for(var i=["loop","muted","playsinline","autoplay"],o=0;o<i.length;o++){var s=i[o],u=this.options_[s];void 0!==u&&(u?Rn(e,s,s):Dn(e,s),e[s]=u)}return e},n.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,n=function(){t=!0};this.on("loadstart",n);var r=function(){t||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready((function(){this.off("loadstart",n),this.off("loadedmetadata",r),t||this.trigger("loadstart")}))}var i=["loadstart"];i.push("loadedmetadata"),e.readyState>=2&&i.push("loadeddata"),e.readyState>=3&&i.push("canplay"),e.readyState>=4&&i.push("canplaythrough"),this.ready((function(){i.forEach((function(e){this.trigger(e)}),this)}))}},n.setScrubbing=function(e){this.isScrubbing_=e},n.scrubbing=function(){return this.isScrubbing_},n.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&gn?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){Ut(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&nn&&un&&0===this.el_.currentTime){return this.on("timeupdate",(function t(){e.el_.currentTime>0&&(e.el_.duration===1/0&&e.trigger("durationchange"),e.off("timeupdate",t))})),NaN}return this.el_.duration||NaN},n.width=function(){return this.el_.offsetWidth},n.height=function(){return this.el_.offsetHeight},n.proxyWebkitFullscreen_=function(){var e=this;if("webkitDisplayingFullscreen"in this.el_){var t=function(){this.trigger("fullscreenchange",{isFullscreen:!1}),this.el_.controls&&!this.options_.nativeControlsForTouch&&this.controls()&&(this.el_.controls=!1)},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0,nativeIOSFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",(function(){e.off("webkitbeginfullscreen",n),e.off("webkitendfullscreen",t)}))}},n.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=i().navigator&&i().navigator.userAgent||"";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},n.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)Zr(this.el_.play()),this.setTimeout((function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}}),0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger("fullscreenerror",e)}},n.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger("fullscreenerror",new Error("The video is not fullscreen"))},n.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},n.requestVideoFrameCallback=function(t){return this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.requestVideoFrameCallback(t):e.prototype.requestVideoFrameCallback.call(this,t)},n.cancelVideoFrameCallback=function(t){this.featuresVideoFrameCallback&&!this.el_.webkitKeys?this.el_.cancelVideoFrameCallback(t):e.prototype.cancelVideoFrameCallback.call(this,t)},n.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},n.reset=function(){t.resetMediaElement(this.el_)},n.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},n.setControls=function(e){this.el_.controls=!!e},n.addTextTrack=function(t,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,n,r):e.prototype.addTextTrack.call(this,t,n,r)},n.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return e.prototype.createRemoteTextTrack.call(this,t);var n=a().createElement("track");return t.kind&&(n.kind=t.kind),t.label&&(n.label=t.label),(t.language||t.srclang)&&(n.srclang=t.language||t.srclang),t.default&&(n.default=t.default),t.id&&(n.id=t.id),t.src&&(n.src=t.src),n},n.addRemoteTextTrack=function(t,n){var r=e.prototype.addRemoteTextTrack.call(this,t,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},n.removeRemoteTextTrack=function(t){if(e.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var n=this.$$("track"),r=n.length;r--;)t!==n[r]&&t!==n[r].track||this.el().removeChild(n[r])},n.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),i().performance&&"function"==typeof i().performance.now?e.creationTime=i().performance.now():i().performance&&i().performance.timing&&"number"==typeof i().performance.timing.navigationStart&&(e.creationTime=i().Date.now()-i().performance.timing.navigationStart),e},t}(Ni);Ca(Aa,"TEST_VID",(function(){if(wn()){var e=a().createElement("video"),t=a().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}})),Aa.isSupported=function(){try{Aa.TEST_VID.volume=.5}catch(e){return!1}return!(!Aa.TEST_VID||!Aa.TEST_VID.canPlayType)},Aa.canPlayType=function(e){return Aa.TEST_VID.canPlayType(e)},Aa.canPlaySource=function(e,t){return Aa.canPlayType(e.type)},Aa.canControlVolume=function(){try{var e=Aa.TEST_VID.volume;Aa.TEST_VID.volume=e/2+.1;var t=e!==Aa.TEST_VID.volume;return t&&vn?(i().setTimeout((function(){Aa&&Aa.prototype&&(Aa.prototype.featuresVolumeControl=e!==Aa.TEST_VID.volume)})),!1):t}catch(e){return!1}},Aa.canMuteVolume=function(){try{var e=Aa.TEST_VID.muted;return Aa.TEST_VID.muted=!e,Aa.TEST_VID.muted?Rn(Aa.TEST_VID,"muted","muted"):Dn(Aa.TEST_VID,"muted"),e!==Aa.TEST_VID.muted}catch(e){return!1}},Aa.canControlPlaybackRate=function(){if(nn&&un&&ln<58)return!1;try{var e=Aa.TEST_VID.playbackRate;return Aa.TEST_VID.playbackRate=e/2+.1,e!==Aa.TEST_VID.playbackRate}catch(e){return!1}},Aa.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(a().createElement("video"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"src",{get:e,set:e}),Object.defineProperty(a().createElement("video"),"innerHTML",{get:e,set:e}),Object.defineProperty(a().createElement("audio"),"innerHTML",{get:e,set:e})}catch(e){return!1}return!0},Aa.supportsNativeTextTracks=function(){return gn||vn&&un},Aa.supportsNativeVideoTracks=function(){return!(!Aa.TEST_VID||!Aa.TEST_VID.videoTracks)},Aa.supportsNativeAudioTracks=function(){return!(!Aa.TEST_VID||!Aa.TEST_VID.audioTracks)},Aa.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],n=e[1];Ca(Aa.prototype,t,(function(){return Aa[n]()}),!0)})),Aa.prototype.featuresVolumeControl=Aa.canControlVolume(),Aa.prototype.movingMediaElementInDOM=!vn,Aa.prototype.featuresFullscreenResize=!0,Aa.prototype.featuresProgressEvents=!0,Aa.prototype.featuresTimeupdateEvents=!0,Aa.prototype.featuresVideoFrameCallback=!(!Aa.TEST_VID||!Aa.TEST_VID.requestVideoFrameCallback),Aa.patchCanPlayType=function(){rn>=4&&!an&&!un&&(_a=Aa.TEST_VID&&Aa.TEST_VID.constructor.prototype.canPlayType,Aa.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":_a.call(this,e)})},Aa.unpatchCanPlayType=function(){var e=Aa.TEST_VID.constructor.prototype.canPlayType;return _a&&(Aa.TEST_VID.constructor.prototype.canPlayType=_a),e},Aa.patchCanPlayType(),Aa.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},Aa.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),n=t.length;n--;)e.removeChild(t[n]);e.removeAttribute("src"),"function"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(e){Aa.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){Aa.prototype["set"+qr(e)]=function(t){this.el_[e]=t,t?this.el_.setAttribute(e,e):this.el_.removeAttribute(e)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","disablePictureInPicture","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){Aa.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","disablePictureInPicture","crossOrigin"].forEach((function(e){Aa.prototype["set"+qr(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){Aa.prototype[e]=function(){return this.el_[e]()}})),Ni.withSourceHandlers(Aa),Aa.nativeSourceHandler={},Aa.nativeSourceHandler.canPlayType=function(e){try{return Aa.TEST_VID.canPlayType(e)}catch(e){return""}},Aa.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Aa.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=yi(e.src);return Aa.nativeSourceHandler.canPlayType("video/"+n)}return""},Aa.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},Aa.nativeSourceHandler.dispose=function(){},Aa.registerSourceHandler(Aa.nativeSourceHandler),Ni.registerTech("Html5",Aa);var Oa=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Na={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Pa=["tiny","xsmall","small","medium","large","xlarge","huge"],Ia={};Pa.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Ia[e]="vjs-layout-"+t}));var La={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Ma=function(e){function t(n,r,i){var o;if(n.id=n.id||r.id||"vjs_video_"+ar(),(r=Yt(t.getTagSettings(n),r)).initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"==typeof n.closest){var s=n.closest("[lang]");s&&s.getAttribute&&(r.language=s.getAttribute("lang"))}else for(var u=n;u&&1===u.nodeType;){if(Ln(u).hasOwnProperty("lang")){r.language=u.getAttribute("lang");break}u=u.parentNode}if((o=e.call(this,null,r,i)||this).boundDocumentFullscreenChange_=function(e){return o.documentFullscreenChange_(e)},o.boundFullWindowOnEscKey_=function(e){return o.fullWindowOnEscKey(e)},o.boundUpdateStyleEl_=function(e){return o.updateStyleEl_(e)},o.boundApplyInitTime_=function(e){return o.applyInitTime_(e)},o.boundUpdateCurrentBreakpoint_=function(e){return o.updateCurrentBreakpoint_(e)},o.boundHandleTechClick_=function(e){return o.handleTechClick_(e)},o.boundHandleTechDoubleClick_=function(e){return o.handleTechDoubleClick_(e)},o.boundHandleTechTouchStart_=function(e){return o.handleTechTouchStart_(e)},o.boundHandleTechTouchMove_=function(e){return o.handleTechTouchMove_(e)},o.boundHandleTechTouchEnd_=function(e){return o.handleTechTouchEnd_(e)},o.boundHandleTechTap_=function(e){return o.handleTechTap_(e)},o.isFullscreen_=!1,o.log=zt(o.id_),o.fsApi_=Rt,o.isPosterFromTech_=!1,o.queuedCallbacks_=[],o.isReady_=!1,o.hasStarted_=!1,o.userActive_=!1,o.debugEnabled_=!1,o.audioOnlyMode_=!1,o.audioPosterMode_=!1,o.audioOnlyCache_={playerHeight:null,hiddenChildren:[]},!o.options_||!o.options_.techOrder||!o.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(o.tag=n,o.tagAttributes=n&&Ln(n),o.language(o.options_.language),r.languages){var l={};Object.getOwnPropertyNames(r.languages).forEach((function(e){l[e.toLowerCase()]=r.languages[e]})),o.languages_=l}else o.languages_=t.prototype.options_.languages;o.resetCache_(),o.poster_=r.poster||"",o.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),o.changingSrc_=!1,o.playCallbacks_=[],o.playTerminatedQueue_=[],n.hasAttribute("autoplay")?o.autoplay(!0):o.autoplay(o.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach((function(e){if("function"!=typeof o[e])throw new Error('plugin "'+e+'" does not exist')})),o.scrubbing_=!1,o.el_=o.createEl(),Lr(c(o),{eventBusKey:"el_"}),o.fsApi_.requestFullscreen&&(pr(a(),o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_),o.on(o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_)),o.fluid_&&o.on(["playerreset","resize"],o.boundUpdateStyleEl_);var d=jr(o.options_);r.plugins&&Object.keys(r.plugins).forEach((function(e){o[e](r.plugins[e])})),r.debug&&o.debug(!0),o.options_.playerOptions=d,o.middleware_=[],o.playbackRates(r.playbackRates),o.initChildren(),o.isAudio("audio"===n.nodeName.toLowerCase()),o.controls()?o.addClass("vjs-controls-enabled"):o.addClass("vjs-controls-disabled"),o.el_.setAttribute("role","region"),o.isAudio()?o.el_.setAttribute("aria-label",o.localize("Audio Player")):o.el_.setAttribute("aria-label",o.localize("Video Player")),o.isAudio()&&o.addClass("vjs-audio"),o.flexNotSupported_()&&o.addClass("vjs-no-flex"),pn&&o.addClass("vjs-touch-enabled"),vn||o.addClass("vjs-workinghover"),t.players[o.id_]=c(o);var f=Pt.split(".")[0];return o.addClass("vjs-v"+f),o.userActive(!0),o.reportUserActivity(),o.one("play",(function(e){return o.listenForUserActivity_(e)})),o.on("stageclick",(function(e){return o.handleStageClick_(e)})),o.on("keydown",(function(e){return o.handleKeyDown(e)})),o.on("languagechange",(function(e){return o.handleLanguagechange(e)})),o.breakpoints(o.options_.breakpoints),o.responsive(o.options_.responsive),o.on("ready",(function(){o.audioPosterMode(o.options_.audioPosterMode),o.audioOnlyMode(o.options_.audioOnlyMode)})),o}f(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),hr(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),hr(a(),"keydown",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),t.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Ii[this.id()]=null,Oi.names.forEach((function(e){var t=Oi[e],r=n[t.getterName]();r&&r.off&&r.off()})),e.prototype.dispose.call(this,{restoreEl:this.options_.restoreEl})},n.createEl=function(){var t,n=this.tag,r=this.playerElIngest_=n.parentNode&&n.parentNode.hasAttribute&&n.parentNode.hasAttribute("data-vjs-player"),o="video-js"===this.tag.tagName.toLowerCase();r?t=this.el_=n.parentNode:o||(t=this.el_=e.prototype.createEl.call(this,"div"));var s=Ln(n);if(o){for(t=this.el_=n,n=this.tag=a().createElement("video");t.children.length;)n.appendChild(t.firstChild);An(t,"video-js")||On(t,"video-js"),t.appendChild(n),r=this.playerElIngest_=t,Object.keys(t).forEach((function(e){try{n[e]=t[e]}catch(e){}}))}if(n.setAttribute("tabindex","-1"),s.tabindex="-1",(cn||un&&fn)&&(n.setAttribute("role","application"),s.role="application"),n.removeAttribute("width"),n.removeAttribute("height"),"width"in s&&delete s.width,"height"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach((function(e){o&&"class"===e||t.setAttribute(e,s[e]),o&&n.setAttribute(e,s[e])})),n.playerId=n.id,n.id+="_html5_api",n.className="vjs-tech",n.player=t.player=this,this.addClass("vjs-paused"),!0!==i().VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=rr("vjs-styles-dimensions");var u=Xn(".vjs-styles-defaults"),l=Xn("head");l.insertBefore(this.styleEl_,u?u.nextSibling:l.firstChild)}this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var c=n.getElementsByTagName("a"),d=0;d<c.length;d++){var f=c.item(d);On(f,"vjs-hidden"),f.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),Cn(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_.setAttribute("translate","no"),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):Ut.warn('crossOrigin must be "anonymous" or "use-credentials", given "'+e+'"')},n.width=function(e){return this.dimension("width",e)},n.height=function(e){return this.dimension("height",e)},n.dimension=function(e,t){var n=e+"_";if(void 0===t)return this[n]||0;if(""===t||"auto"===t)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(t);isNaN(r)?Ut.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){var t,n,r=this;if(void 0===e)return!!this.fluid_;this.fluid_=!!e,Sr(this)&&this.off(["playerreset","resize"],this.boundUpdateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),n=function(){r.on(["playerreset","resize"],r.boundUpdateStyleEl_)},Sr(t=this)?n():(t.eventedCallbacks||(t.eventedCallbacks=[]),t.eventedCallbacks.push(n))):this.removeClass("vjs-fluid"),this.updateStyleEl_()},n.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},n.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},n.updateStyleEl_=function(){if(!0!==i().VIDEOJS_NO_DYNAMIC_STYLE){var e,t,n,r=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),o=r[1]/r[0];e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/o:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*o,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),ir(this.styleEl_,"\n      ."+n+" {\n        width: "+e+"px;\n        height: "+t+"px;\n      }\n\n      ."+n+".vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: "+100*o+"%;\n      }\n    ")}else{var a="number"==typeof this.width_?this.width_:this.options_.width,s="number"==typeof this.height_?this.height_:this.options_.height,u=this.tech_&&this.tech_.el();u&&(a>=0&&(u.width=a),s>=0&&(u.height=s))}},n.loadTech_=function(e,t){var n=this;this.tech_&&this.unloadTech_();var r=qr(e),i=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(Ni.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var o=this.autoplay();("string"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay)&&(o=!1);var a={source:t,autoplay:o,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};Oi.names.forEach((function(e){var t=Oi[e];a[t.getterName]=n[t.privateName]})),Yt(a,this.options_[r]),Yt(a,this.options_[i]),Yt(a,this.options_[e.toLowerCase()]),this.tag&&(a.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(a.startTime=this.cache_.currentTime);var s=Ni.getTech(e);if(!s)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new s(a),this.tech_.ready(wr(this,this.handleTechReady_),!0),ei(this.textTracksJson_||[],this.tech_),Oa.forEach((function(e){n.on(n.tech_,e,(function(t){return n["handleTech"+qr(e)+"_"](t)}))})),Object.keys(Na).forEach((function(e){n.on(n.tech_,e,(function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+Na[e]+"_"].bind(n),event:t}):n["handleTech"+Na[e]+"_"](t)}))})),this.on(this.tech_,"loadstart",(function(e){return n.handleTechLoadStart_(e)})),this.on(this.tech_,"sourceset",(function(e){return n.handleTechSourceset_(e)})),this.on(this.tech_,"waiting",(function(e){return n.handleTechWaiting_(e)})),this.on(this.tech_,"ended",(function(e){return n.handleTechEnded_(e)})),this.on(this.tech_,"seeking",(function(e){return n.handleTechSeeking_(e)})),this.on(this.tech_,"play",(function(e){return n.handleTechPlay_(e)})),this.on(this.tech_,"firstplay",(function(e){return n.handleTechFirstPlay_(e)})),this.on(this.tech_,"pause",(function(e){return n.handleTechPause_(e)})),this.on(this.tech_,"durationchange",(function(e){return n.handleTechDurationChange_(e)})),this.on(this.tech_,"fullscreenchange",(function(e,t){return n.handleTechFullscreenChange_(e,t)})),this.on(this.tech_,"fullscreenerror",(function(e,t){return n.handleTechFullscreenError_(e,t)})),this.on(this.tech_,"enterpictureinpicture",(function(e){return n.handleTechEnterPictureInPicture_(e)})),this.on(this.tech_,"leavepictureinpicture",(function(e){return n.handleTechLeavePictureInPicture_(e)})),this.on(this.tech_,"error",(function(e){return n.handleTechError_(e)})),this.on(this.tech_,"posterchange",(function(e){return n.handleTechPosterChange_(e)})),this.on(this.tech_,"textdata",(function(e){return n.handleTechTextData_(e)})),this.on(this.tech_,"ratechange",(function(e){return n.handleTechRateChange_(e)})),this.on(this.tech_,"loadedmetadata",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||Cn(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Oi.names.forEach((function(t){var n=Oi[t];e[n.privateName]=e[n.getterName]()})),this.textTracksJson_=Jr(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},n.tech=function(e){return void 0===e&&Ut.warn("Using the tech directly can be dangerous. I hope you know what you're doing.\nSee https://github.com/videojs/video.js/issues/2617 for more info.\n"),this.tech_},n.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"click",this.boundHandleTechClick_),this.on(this.tech_,"dblclick",this.boundHandleTechDoubleClick_),this.on(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.on(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.on(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.on(this.tech_,"tap",this.boundHandleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.boundHandleTechTap_),this.off(this.tech_,"touchstart",this.boundHandleTechTouchStart_),this.off(this.tech_,"touchmove",this.boundHandleTechTouchMove_),this.off(this.tech_,"touchend",this.boundHandleTechTouchEnd_),this.off(this.tech_,"click",this.boundHandleTechClick_),this.off(this.tech_,"dblclick",this.boundHandleTechDoubleClick_)},n.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},n.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?"play":this.autoplay())},n.manualAutoplay_=function(e){var t=this;if(this.tech_&&"string"==typeof e){var n,r=function(){var e=t.muted();t.muted(!0);var n=function(){t.muted(e)};t.playTerminatedQueue_.push(n);var r=t.play();if($r(r))return r.catch((function(e){throw n(),new Error("Rejection at manualAutoplay. Restoring muted value. "+(e||""))}))};if("any"!==e||this.muted()?n="muted"!==e||this.muted()?this.play():r():$r(n=this.play())&&(n=n.catch(r)),$r(n))return n.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(){t.trigger({type:"autoplay-failure",autoplay:e})}))}},n.updateSourceCaches_=function(e){void 0===e&&(e="");var t=e,n="";"string"!=typeof t&&(t=e.src,n=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!n&&(n=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(e){return e.src===t}));if(n.length)return n[0].type;for(var r=e.$$("source"),i=0;i<r.length;i++){var o=r[i];if(o.type&&o.src&&o.src===t)return o.type}return zi(t)}(this,t)),this.cache_.source=jr({},e,{src:t,type:n});for(var r=this.cache_.sources.filter((function(e){return e.src&&e.src===t})),i=[],o=this.$$("source"),a=[],s=0;s<o.length;s++){var u=Ln(o[s]);i.push(u),u.src&&u.src===t&&a.push(u.src)}a.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},n.handleTechSourceset_=function(e){var t=this;if(!this.changingSrc_){var n=function(e){return t.updateSourceCaches_(e)},r=this.currentSource().src,i=e.src;r&&!/^blob:/.test(r)&&/^blob:/.test(i)&&(!this.lastSource_||this.lastSource_.tech!==i&&this.lastSource_.player!==r)&&(n=function(){}),n(i),e.src||this.tech_.any(["sourceset","loadstart"],(function(e){if("sourceset"!==e.type){var n=t.techGet("currentSrc");t.lastSource_.tech=n,t.updateSourceCaches_(n)}}))}this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:"sourceset"})},n.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},n.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},n.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(e){return e.callback(e.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},n.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting");var t=this.currentTime();this.on("timeupdate",(function n(){t!==e.currentTime()&&(e.removeClass("vjs-waiting"),e.off("timeupdate",n))}))},n.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},n.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},n.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},n.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},n.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.removeClass("vjs-ended"),this.trigger("seeked")},n.handleTechFirstPlay_=function(){this.options_.starttime&&(Ut.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},n.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},n.handleTechEnded_=function(){this.addClass("vjs-ended"),this.removeClass("vjs-waiting"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},n.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},n.handleTechClick_=function(e){this.controls_&&(void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.click&&!1===this.options_.userActions.click||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.click?this.options_.userActions.click.call(this,e):this.paused()?Zr(this.play()):this.pause()))},n.handleTechDoubleClick_=function(e){this.controls_&&(Array.prototype.some.call(this.$$(".vjs-control-bar, .vjs-modal-dialog"),(function(t){return t.contains(e.target)}))||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&"function"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,e):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},n.handleTechTap_=function(){this.userActive(!this.userActive())},n.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},n.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},n.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},n.handleStageClick_=function(){this.reportUserActivity()},n.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},n.documentFullscreenChange_=function(e){var t=e.target.player;if(!t||t===this){var n=this.el(),r=a()[this.fsApi_.fullscreenElement]===n;!r&&n.matches?r=n.matches(":"+this.fsApi_.fullscreen):!r&&n.msMatchesSelector&&(r=n.msMatchesSelector(":"+this.fsApi_.fullscreen)),this.isFullscreen(r)}},n.handleTechFullscreenChange_=function(e,t){var n=this;t&&(t.nativeIOSFullscreen&&(this.addClass("vjs-ios-native-fs"),this.tech_.one("webkitendfullscreen",(function(){n.removeClass("vjs-ios-native-fs")}))),this.isFullscreen(t.isFullscreen))},n.handleTechFullscreenError_=function(e,t){this.trigger("fullscreenerror",t)},n.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass("vjs-picture-in-picture"):this.removeClass("vjs-picture-in-picture")},n.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},n.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},n.handleTechError_=function(){var e=this.tech_.error();this.error(e)},n.handleTechTextData_=function(){var e=null;arguments.length>1&&(e=arguments[1]),this.trigger("textdata",e)},n.getCache=function(){return this.cache_},n.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:"",source:{},sources:[],playbackRates:[],volume:1}},n.techCall_=function(e,t){this.ready((function(){if(e in qi)return function(e,t,n,r){return t[n](e.reduce(Fi(n),r))}(this.middleware_,this.tech_,e,t);if(e in ji)return Ri(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw Ut(e),e}}),!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Di)return function(e,t,n){return e.reduceRight(Fi(n),t[n]())}(this.middleware_,this.tech_,e);if(e in ji)return Ri(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw Ut("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw Ut("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw Ut(t),t}}},n.play=function(){var e=this,t=this.options_.Promise||i().Promise;return t?new t((function(t){e.play_(t)})):this.play_()},n.play_=function(e){var t=this;void 0===e&&(e=Zr),this.playCallbacks_.push(e);var n=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off(["ready","loadstart"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!n)return this.waitToPlay_=function(e){t.play_()},this.one(["ready","loadstart"],this.waitToPlay_),void(n||!gn&&!vn||this.load());var r=this.techGet_("play");null===r?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(r)},n.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach((function(e){e()}))},n.runPlayCallbacks_=function(e){var t=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],t.forEach((function(t){t(e)}))},n.pause=function(){this.techCall_("pause")},n.paused=function(){return!1!==this.techGet_("paused")},n.played=function(){return this.techGet_("played")||Yr(0,0)},n.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_("setScrubbing",this.scrubbing_),e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},n.currentTime=function(e){return void 0!==e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_("setCurrentTime",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off("canplay",this.boundApplyInitTime_),void this.one("canplay",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},n.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},n.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=parseFloat(e))<0&&(e=1/0),e!==this.cache_.duration&&(this.cache_.duration=e,e===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),isNaN(e)||this.trigger("durationchange"))},n.remainingTime=function(){return this.duration()-this.currentTime()},n.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},n.buffered=function(){var e=this.techGet_("buffered");return e&&e.length||(e=Yr(0,0)),e},n.bufferedPercent=function(){return Gr(this.buffered(),this.duration())},n.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),n=e.end(e.length-1);return n>t&&(n=t),n},n.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),void(t>0&&this.lastVolume_(t))):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},n.muted=function(e){if(void 0===e)return this.techGet_("muted")||!1;this.techCall_("setMuted",e)},n.defaultMuted=function(e){return void 0!==e?this.techCall_("setDefaultMuted",e):this.techGet_("defaultMuted")||!1},n.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},n.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},n.isFullscreen=function(e){if(void 0!==e){var t=this.isFullscreen_;return this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger("fullscreenchange"),void this.toggleFullscreenClass_()}return this.isFullscreen_},n.requestFullscreen=function(e){var t=this.options_.Promise||i().Promise;if(t){var n=this;return new t((function(t,r){function i(){n.off("fullscreenerror",a),n.off("fullscreenchange",o)}function o(){i(),t()}function a(e,t){i(),r(t)}n.one("fullscreenchange",o),n.one("fullscreenerror",a);var s=n.requestFullscreenHelper_(e);s&&(s.then(i,i),s.then(t,r))}))}return this.requestFullscreenHelper_()},n.requestFullscreenHelper_=function(e){var t,n=this;if(this.fsApi_.prefixed||(t=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(t=e)),this.fsApi_.requestFullscreen){var r=this.el_[this.fsApi_.requestFullscreen](t);return r&&r.then((function(){return n.isFullscreen(!0)}),(function(){return n.isFullscreen(!1)})),r}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("enterFullScreen"):this.enterFullWindow()},n.exitFullscreen=function(){var e=this.options_.Promise||i().Promise;if(e){var t=this;return new e((function(e,n){function r(){t.off("fullscreenerror",o),t.off("fullscreenchange",i)}function i(){r(),e()}function o(e,t){r(),n(t)}t.one("fullscreenchange",i),t.one("fullscreenerror",o);var a=t.exitFullscreenHelper_();a&&(a.then(r,r),a.then(e,n))}))}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=a()[this.fsApi_.exitFullscreen]();return t&&Zr(t.then((function(){return e.isFullscreen(!1)}))),t}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=a().documentElement.style.overflow,pr(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow="hidden",On(a().body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){l().isEventKey(e,"Esc")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,hr(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow=this.docOrigOverflow,Nn(a().body,"vjs-full-window"),this.trigger("exitFullWindow")},n.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_("disablePictureInPicture");this.techCall_("setDisablePictureInPicture",e),this.options_.disablePictureInPicture=e,this.trigger("disablepictureinpicturechanged")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in a()&&!1===this.disablePictureInPicture())return this.techGet_("requestPictureInPicture")},n.exitPictureInPicture=function(){if("pictureInPictureEnabled"in a())return a().exitPictureInPicture()},n.handleKeyDown=function(e){var t=this.options_.userActions;if(t&&t.hotkeys){(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if("input"===t)return-1===["button","checkbox","hidden","radio","reset","submit"].indexOf(e.type);return-1!==["textarea"].indexOf(t)})(this.el_.ownerDocument.activeElement)||("function"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e))}},n.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},n=t.fullscreenKey,r=void 0===n?function(e){return l().isEventKey(e,"f")}:n,i=t.muteKey,o=void 0===i?function(e){return l().isEventKey(e,"m")}:i,s=t.playPauseKey,u=void 0===s?function(e){return l().isEventKey(e,"k")||l().isEventKey(e,"Space")}:s;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var c=Hr.getComponent("FullscreenToggle");!1!==a()[this.fsApi_.fullscreenEnabled]&&c.prototype.handleClick.call(this,e)}else if(o.call(this,e)){e.preventDefault(),e.stopPropagation(),Hr.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(u.call(this,e)){e.preventDefault(),e.stopPropagation(),Hr.getComponent("PlayToggle").prototype.handleClick.call(this,e)}},n.canPlayType=function(e){for(var t,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],o=Ni.getTech(i);if(o||(o=Hr.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else Ut.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},n.selectSource=function(e){var t,n=this,r=this.options_.techOrder.map((function(e){return[e,Ni.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(Ut.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)})),i=function(e,t,n){var r;return e.some((function(e){return t.some((function(t){if(r=n(e,t))return!0}))})),r},o=function(e,t){var r=e[0];if(e[1].canPlaySource(t,n.options_[r.toLowerCase()]))return{source:t,tech:r}};return(this.options_.sourceOrder?i(e,r,(t=o,function(e,n){return t(n,e)})):i(r,e,o))||!1},n.handleSrc_=function(e,t){var n=this;if(void 0===e)return this.cache_.src||"";this.resetRetryOnError_&&this.resetRetryOnError_();var r=Hi(e);if(r.length){if(this.changingSrc_=!0,t||(this.cache_.sources=r),this.updateSourceCaches_(r[0]),Mi(this,r[0],(function(e,i){var o,a;if(n.middleware_=i,t||(n.cache_.sources=r),n.updateSourceCaches_(e),n.src_(e))return r.length>1?n.handleSrc_(r.slice(1)):(n.changingSrc_=!1,n.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0),void n.triggerReady());o=i,a=n.tech_,o.forEach((function(e){return e.setTech&&e.setTech(a)}))})),this.options_.retryOnError&&r.length>1){var i=function(){n.error(null),n.handleSrc_(r.slice(1),!0)},o=function(){n.off("error",i)};this.one("error",i),this.one("playing",o),this.resetRetryOnError_=function(){n.off("error",i),n.off("playing",o)}}}else this.setTimeout((function(){this.error({code:4,message:this.options_.notSupportedMessage})}),0)},n.src=function(e){return this.handleSrc_(e,!1)},n.src_=function(e){var t,n,r=this,i=this.selectSource([e]);return!i||(t=i.tech,n=this.techName_,qr(t)!==qr(n)?(this.changingSrc_=!0,this.loadTech_(i.tech,i.source),this.tech_.ready((function(){r.changingSrc_=!1})),!1):(this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),this.changingSrc_=!1}),!0),!1))},n.load=function(){this.techCall_("load")},n.reset=function(){var e=this,t=this.options_.Promise||i().Promise;this.paused()||!t?this.doReset_():Zr(this.play().then((function(){return e.doReset_()})))},n.doReset_=function(){this.tech_&&this.tech_.clearTracks("text"),this.resetCache_(),this.poster(""),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset"),this.resetControlBarUI_(),Sr(this)&&this.trigger("playerreset")},n.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},n.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar||{},t=e.durationDisplay,n=e.remainingTimeDisplay;t&&t.updateContent(),n&&n.updateContent()},n.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},n.resetVolumeBar_=function(){this.volume(1),this.trigger("volumechange")},n.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},n.currentSource=function(){return this.cache_.source||{}},n.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},n.currentType=function(){return this.currentSource()&&this.currentSource().type||""},n.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),void(this.options_.preload=e)):this.techGet_("preload")},n.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;"string"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_("string"==typeof e?e:"play"),t=!1):this.options_.autoplay=!!e,t=void 0===t?this.options_.autoplay:t,this.tech_&&this.techCall_("setAutoplay",t)},n.playsinline=function(e){return void 0!==e?(this.techCall_("setPlaysinline",e),this.options_.playsinline=e,this):this.techGet_("playsinline")},n.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),void(this.options_.loop=e)):this.techGet_("loop")},n.poster=function(e){if(void 0===e)return this.poster_;e||(e=""),e!==this.poster_&&(this.poster_=e,this.techCall_("setPoster",e),this.isPosterFromTech_=!1,this.trigger("posterchange"))},n.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var e=this.tech_.poster()||"";e!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},n.controls=function(e){if(void 0===e)return!!this.controls_;e=!!e,this.controls_!==e&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},n.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;e=!!e,this.usingNativeControls_!==e&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},n.error=function(e){var t=this;if(void 0===e)return this.error_||null;if(Lt("beforeerror").forEach((function(n){var r=n(t,e);Gt(r)&&!Array.isArray(r)||"string"==typeof r||"number"==typeof r||null===r?e=r:t.log.error("please return a value that MediaError expects in beforeerror hooks")})),this.options_.suppressNotSupportedError&&e&&4===e.code){var n=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],n),void this.one("loadstart",(function(){this.off(["click","touchstart"],n)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Kr(e),this.addClass("vjs-error"),Ut.error("(CODE:"+this.error_.code+" "+Kr.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error"),Lt("error").forEach((function(e){return e(t,t.error_)}))},n.reportUserActivity=function(e){this.userActivity_=!0},n.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(e){e.stopPropagation(),e.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},n.listenForUserActivity_=function(){var e,t,n,r=wr(this,this.reportUserActivity),i=function(t){r(),this.clearInterval(e)};this.on("mousedown",(function(){r(),this.clearInterval(e),e=this.setInterval(r,250)})),this.on("mousemove",(function(e){e.screenX===t&&e.screenY===n||(t=e.screenX,n=e.screenY,r())})),this.on("mouseup",i),this.on("mouseleave",i);var o,a=this.getChild("controlBar");!a||vn||nn||(a.on("mouseenter",(function(e){0!==this.player().options_.inactivityTimeout&&(this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout),this.player().options_.inactivityTimeout=0})),a.on("mouseleave",(function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout}))),this.on("keydown",r),this.on("keyup",r),this.setInterval((function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(o);var e=this.options_.inactivityTimeout;e<=0||(o=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),e))}}),250)},n.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",e)},n.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_("setDefaultPlaybackRate",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},n.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},n.enableAudioOnlyUI_=function(){var e=this;this.addClass("vjs-audio-only-mode");var t=this.children(),n=this.getChild("ControlBar"),r=n&&n.currentHeight();t.forEach((function(t){t!==n&&t.el_&&!t.hasClass("vjs-hidden")&&(t.hide(),e.audioOnlyCache_.hiddenChildren.push(t))})),this.audioOnlyCache_.playerHeight=this.currentHeight(),this.height(r),this.trigger("audioonlymodechange")},n.disableAudioOnlyUI_=function(){this.removeClass("vjs-audio-only-mode"),this.audioOnlyCache_.hiddenChildren.forEach((function(e){return e.show()})),this.height(this.audioOnlyCache_.playerHeight),this.trigger("audioonlymodechange")},n.audioOnlyMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioOnlyMode_)return this.audioOnlyMode_;this.audioOnlyMode_=e;var n=this.options_.Promise||i().Promise;if(n){if(e){var r=[];return this.isInPictureInPicture()&&r.push(this.exitPictureInPicture()),this.isFullscreen()&&r.push(this.exitFullscreen()),this.audioPosterMode()&&r.push(this.audioPosterMode(!1)),n.all(r).then((function(){return t.enableAudioOnlyUI_()}))}return n.resolve().then((function(){return t.disableAudioOnlyUI_()}))}e?(this.isInPictureInPicture()&&this.exitPictureInPicture(),this.isFullscreen()&&this.exitFullscreen(),this.enableAudioOnlyUI_()):this.disableAudioOnlyUI_()},n.enablePosterModeUI_=function(){(this.tech_&&this.tech_).hide(),this.addClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.disablePosterModeUI_=function(){(this.tech_&&this.tech_).show(),this.removeClass("vjs-audio-poster-mode"),this.trigger("audiopostermodechange")},n.audioPosterMode=function(e){var t=this;if("boolean"!=typeof e||e===this.audioPosterMode_)return this.audioPosterMode_;this.audioPosterMode_=e;var n=this.options_.Promise||i().Promise;return n?e?this.audioOnlyMode()?this.audioOnlyMode(!1).then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.enablePosterModeUI_()})):n.resolve().then((function(){t.disablePosterModeUI_()})):e?(this.audioOnlyMode()&&this.audioOnlyMode(!1),void this.enablePosterModeUI_()):void this.disablePosterModeUI_()},n.addTextTrack=function(e,t,n){if(this.tech_)return this.tech_.addTextTrack(e,t,n)},n.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},n.removeRemoteTextTrack=function(e){void 0===e&&(e={});var t=e.track;if(t||(t=e),this.tech_)return this.tech_.removeRemoteTextTrack(t)},n.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},n.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},n.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},n.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),Sr(this)&&this.trigger("languagechange"))},n.languages=function(){return jr(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=jr(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=jr(r)).player=void 0,e.tracks[n]=r}return e},n.createModal=function(e,t){var n=this;(t=t||{}).content=e||"";var r=new ti(this,t);return this.addChild(r),r.on("dispose",(function(){n.removeChild(r)})),r.open(),r},n.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),n=0;n<Pa.length;n++){var r=Pa[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Ia[e]),this.addClass(Ia[r]),this.breakpoint_=r;break}}},n.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_="",e&&this.removeClass(e)},n.breakpoints=function(e){return void 0===e||(this.breakpoint_="",this.breakpoints_=Yt({},La,e),this.updateCurrentBreakpoint_()),Yt(this.breakpoints_)},n.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?(this.responsive_=e,e?(this.on("playerresize",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return Ia[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"==typeof e){this.reset(),this.cache_.media=jr(e);var r=this.cache_.media,i=r.artwork,o=r.poster,a=r.src,s=r.textTracks;!i&&o&&(this.cache_.media.artwork=[{src:o,type:zi(o)}]),a&&this.src(a),o&&this.poster(o),Array.isArray(s)&&s.forEach((function(e){return n.addRemoteTextTrack(e,!1)})),this.ready(t)}},n.getMedia=function(){if(!this.cache_.media){var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),(function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}}))};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:zi(t.poster)}]),t}return jr(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=Ln(e),r=n["data-setup"];if(An(e,"vjs-fill")&&(n.fill=!0),An(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=h()(r||"{}"),o=i[0],a=i[1];o&&Ut.error(o),Yt(n,a)}if(Yt(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,l=s.length;u<l;u++){var c=s[u],d=c.nodeName.toLowerCase();"source"===d?t.sources.push(Ln(c)):"track"===d&&t.tracks.push(Ln(c))}return t},n.flexNotSupported_=function(){var e=a().createElement("i");return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},n.debug=function(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger("debugon"),this.previousLogLevel_=this.log.level,this.log.level("debug"),this.debugEnabled_=!0):(this.trigger("debugoff"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},n.playbackRates=function(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every((function(e){return"number"==typeof e}))&&(this.cache_.playbackRates=e,this.trigger("playbackrateschange"))},t}(Hr);Oi.names.forEach((function(e){var t=Oi[e];Ma.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),Ma.prototype.crossorigin=Ma.prototype.crossOrigin,Ma.players={};var Ra=i().navigator;Ma.prototype.options_={techOrder:Ni.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:Ra&&(Ra.languages&&Ra.languages[0]||Ra.userLanguage||Ra.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1,audioOnlyMode:!1,audioPosterMode:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){Ma.prototype[e]=function(){return this.techGet_(e)}})),Oa.forEach((function(e){Ma.prototype["handleTech"+qr(e)+"_"]=function(){return this.trigger(e)}})),Hr.registerComponent("Player",Ma);var Da="plugin",qa={},ja=function(e){return qa.hasOwnProperty(e)},Fa=function(e){return ja(e)?qa[e]:void 0},Ba=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},Ua=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},za=function(e,t){return t.prototype.name=e,function(){Ua(this,{name:e,plugin:t,instance:null},!0);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=_(t,[this].concat(r));return this[e]=function(){return o},Ua(this,o.getEventHash()),o}},Ha=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,this.log||(this.log=this.player.log.createLogger(this.name)),Lr(this),delete this.trigger,Rr(this,this.constructor.defaultState),Ba(t,this.name),this.dispose=this.dispose.bind(this),t.on("dispose",this.dispose)}var t=e.prototype;return t.version=function(){return this.constructor.VERSION},t.getEventHash=function(e){return void 0===e&&(e={}),e.name=this.name,e.plugin=this.constructor,e.instance=this,e},t.trigger=function(e,t){return void 0===t&&(t={}),mr(this.eventBusEl_,e,this.getEventHash(t))},t.handleStateChanged=function(e){},t.dispose=function(){var e=this.name,t=this.player;this.trigger("dispose"),this.off(),t.off("dispose",this.dispose),t.activePlugins_[e]=!1,this.player=this.state=null,t[e]=za(e,qa[e])},e.isBasic=function(t){var n="string"==typeof t?Fa(t):t;return"function"==typeof n&&!e.prototype.isPrototypeOf(n.prototype)},e.registerPlugin=function(t,n){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+typeof t+".");if(ja(t))Ut.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Ma.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof n)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+typeof n+".");return qa[t]=n,t!==Da&&(e.isBasic(n)?Ma.prototype[t]=function(e,t){var n=function(){Ua(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return Ba(this,e),Ua(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(t,n):Ma.prototype[t]=za(t,n)),n},e.deregisterPlugin=function(e){if(e===Da)throw new Error("Cannot de-register base plugin.");ja(e)&&(delete qa[e],delete Ma.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(qa)),e.forEach((function(e){var n=Fa(e);n&&((t=t||{})[e]=n)})),t},e.getPluginVersion=function(e){var t=Fa(e);return t&&t.VERSION||""},e}();Ha.getPlugin=Fa,Ha.BASE_PLUGIN_NAME=Da,Ha.registerPlugin(Da,Ha),Ma.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Ma.prototype.hasPlugin=function(e){return!!ja(e)};var Va=function(e){return 0===e.indexOf("#")?e.slice(1):e};function Wa(e,t,n){var r=Wa.getPlayer(e);if(r)return t&&Ut.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof e?Xn("#"+Va(e)):e;if(!kn(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||Ut.warn("The element supplied is not included in the DOM"),!0===(t=t||{}).restoreEl&&(t.restoreEl=(i.parentNode&&i.parentNode.hasAttribute("data-vjs-player")?i.parentNode:i).cloneNode(!0)),Lt("beforesetup").forEach((function(e){var n=e(i,jr(t));Gt(n)&&!Array.isArray(n)?t=jr(t,n):Ut.error("please return an object in beforesetup hooks")}));var o=Hr.getComponent("Player");return r=new o(i,t,n),Lt("setup").forEach((function(e){return e(r)})),r}if(Wa.hooks_=It,Wa.hooks=Lt,Wa.hook=function(e,t){Lt(e,t)},Wa.hookOnce=function(e,t){Lt(e,[].concat(t).map((function(t){return function n(){return Mt(e,n),t.apply(void 0,arguments)}})))},Wa.removeHook=Mt,!0!==i().VIDEOJS_NO_DYNAMIC_STYLE&&wn()){var Ya=Xn(".vjs-styles-defaults");if(!Ya){Ya=rr("vjs-styles-defaults");var Ga=Xn("head");Ga&&Ga.insertBefore(Ya,Ga.firstChild),ir(Ya,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid:not(.vjs-audio-only-mode) {\n        padding-top: 56.25%\n      }\n    ")}}er(1,Wa),Wa.VERSION=Pt,Wa.options=Ma.prototype.options_,Wa.getPlayers=function(){return Ma.players},Wa.getPlayer=function(e){var t,n=Ma.players;if("string"==typeof e){var r=Va(e),i=n[r];if(i)return i;t=Xn("#"+r)}else t=e;if(kn(t)){var o=t,a=o.player,s=o.playerId;if(a||n[s])return a||n[s]}},Wa.getAllPlayers=function(){return Object.keys(Ma.players).map((function(e){return Ma.players[e]})).filter(Boolean)},Wa.players=Ma.players,Wa.getComponent=Hr.getComponent,Wa.registerComponent=function(e,t){Ni.isTech(t)&&Ut.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),Hr.registerComponent.call(Hr,e,t)},Wa.getTech=Ni.getTech,Wa.registerTech=Ni.registerTech,Wa.use=function(e,t){Pi[e]=Pi[e]||[],Pi[e].push(t)},Object.defineProperty(Wa,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Wa.middleware,"TERMINATOR",{value:Li,writeable:!1,enumerable:!0}),Wa.browser=yn,Wa.TOUCH_ENABLED=pn,Wa.extend=function(e,t){void 0===t&&(t={});var n=function(){e.apply(this,arguments)},r={};for(var i in"object"==typeof t?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):"function"==typeof t&&(n=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}}),t&&d(e,t)}(n,e),e&&(n.super_=e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},Wa.mergeOptions=jr,Wa.bind=wr,Wa.registerPlugin=Ha.registerPlugin,Wa.deregisterPlugin=Ha.deregisterPlugin,Wa.plugin=function(e,t){return Ut.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Ha.registerPlugin(e,t)},Wa.getPlugins=Ha.getPlugins,Wa.getPlugin=Ha.getPlugin,Wa.getPluginVersion=Ha.getPluginVersion,Wa.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),Wa.options.languages=jr(Wa.options.languages,((n={})[e]=t,n)),Wa.options.languages[e]},Wa.log=Ut,Wa.createLogger=zt,Wa.createTimeRange=Wa.createTimeRanges=Yr,Wa.formatTime=oo,Wa.setFormatTime=function(e){io=e},Wa.resetFormatTime=function(){io=ro},Wa.parseUrl=vi,Wa.isCrossOrigin=bi,Wa.EventTarget=Er,Wa.on=pr,Wa.one=vr,Wa.off=hr,Wa.trigger=mr,Wa.xhr=v(),Wa.TextTrack=Ei,Wa.AudioTrack=xi,Wa.VideoTrack=Si,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){Wa[e]=function(){return Ut.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Zn[e].apply(null,arguments)}})),Wa.computedStyle=Xt,Wa.dom=Zn,Wa.url=_i,Wa.defineLazyProperty=Ca,Wa.addLanguage("en",{"Non-Fullscreen":"Exit Fullscreen"});var Ka=x,Xa=function(e,t,n){return e&&n&&n.responseURL&&t!==n.responseURL?n.responseURL:t},$a=function(e){return Wa.log.debug?Wa.log.debug.bind(Wa,"VHS:",e+" >"):function(){}},Za=1/30,Qa=.1,Ja=function(e,t){var n,r=[];if(e&&e.length)for(n=0;n<e.length;n++)t(e.start(n),e.end(n))&&r.push([e.start(n),e.end(n)]);return Wa.createTimeRanges(r)},es=function(e,t){return Ja(e,(function(e,n){return e-Qa<=t&&n+Qa>=t}))},ts=function(e,t){return Ja(e,(function(e){return e-Za>=t}))},ns=function(e){var t=[];if(!e||!e.length)return"";for(var n=0;n<e.length;n++)t.push(e.start(n)+" => "+e.end(n));return t.join(", ")},rs=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},is=function(e){if(e&&e.length&&e.end)return e.end(e.length-1)},os=function(e,t){var n=0;if(!e||!e.length)return n;for(var r=0;r<e.length;r++){var i=e.start(r),o=e.end(r);t>o||(n+=t>i&&t<=o?o-t:o-i)}return n},as=Wa.createTimeRange,ss=function(e,t){if(!t.preload)return t.duration;var n=0;return(t.parts||[]).forEach((function(e){n+=e.duration})),(t.preloadHints||[]).forEach((function(t){"PART"===t.type&&(n+=e.partTargetDuration)})),n},us=function(e){return(e.segments||[]).reduce((function(e,t,n){return t.parts?t.parts.forEach((function(r,i){e.push({duration:r.duration,segmentIndex:n,partIndex:i,part:r,segment:t})})):e.push({duration:t.duration,segmentIndex:n,partIndex:null,segment:t,part:null}),e}),[])},ls=function(e){var t=e.segments&&e.segments.length&&e.segments[e.segments.length-1];return t&&t.parts||[]},cs=function(e){var t=e.preloadSegment;if(t){var n=t.parts,r=(t.preloadHints||[]).reduce((function(e,t){return e+("PART"===t.type?1:0)}),0);return r+=n&&n.length?n.length:0}},ds=function(e,t){if(t.endList)return 0;if(e&&e.suggestedPresentationDelay)return e.suggestedPresentationDelay;var n=ls(t).length>0;return n&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:n&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0},fs=function(e,t,n){if(void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence)return 0;var r=function(e,t){var n=0,r=t-e.mediaSequence,i=e.segments[r];if(i){if(void 0!==i.start)return{result:i.start,precise:!0};if(void 0!==i.end)return{result:i.end-i.duration,precise:!0}}for(;r--;){if(void 0!==(i=e.segments[r]).end)return{result:n+i.end,precise:!0};if(n+=ss(e,i),void 0!==i.start)return{result:n+i.start,precise:!0}}return{result:n,precise:!1}}(e,t);if(r.precise)return r.result;var i=function(e,t){for(var n,r=0,i=t-e.mediaSequence;i<e.segments.length;i++){if(void 0!==(n=e.segments[i]).start)return{result:n.start-r,precise:!0};if(r+=ss(e,n),void 0!==n.end)return{result:n.end-r,precise:!0}}return{result:-1,precise:!1}}(e,t);return i.precise?i.result:r.result+n},ps=function(e,t,n){if(!e)return 0;if("number"!=typeof n&&(n=0),void 0===t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return i()[1/0]}return fs(e,t,n)},hs=function(e){var t=e.defaultDuration,n=e.durationList,r=e.startIndex,i=e.endIndex,o=0;if(r>i){var a=[i,r];r=a[0],i=a[1]}if(r<0){for(var s=r;s<Math.min(0,i);s++)o+=t;r=0}for(var u=r;u<i;u++)o+=n[u].duration;return o},ms=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return ps(e);if(null===t)return null;t=t||0;var i=fs(e,e.mediaSequence+e.segments.length,t);return n&&(i-=r="number"==typeof r?r:ds(null,e)),Math.max(0,i)},vs=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},gs=function(e){return e.excludeUntil&&e.excludeUntil===1/0},ys=function(e){var t=vs(e);return!e.disabled&&!t},bs=function(e,t){return t.attributes&&t.attributes[e]},_s=function(e,t){if(1===e.playlists.length)return!0;var n=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter((function(e){return!!ys(e)&&(e.attributes.BANDWIDTH||0)<n})).length},ws=function(e,t){return!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri))))},ks=function(e,t){var n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},r=!1;for(var i in n){for(var o in n[i])if(r=t(n[i][o]))break;if(r)break}return!!r},Es=function(e){if(!e||!e.playlists||!e.playlists.length)return ks(e,(function(e){return e.playlists&&e.playlists.length||e.uri}));for(var t=function(t){var n=e.playlists[t],r=n.attributes&&n.attributes.CODECS;return r&&r.split(",").every((function(e){return V(e)}))||ks(e,(function(e){return ws(n,e)}))?"continue":{v:!1}},n=0;n<e.playlists.length;n++){var r=t(n);if("continue"!==r&&"object"==typeof r)return r.v}return!0},xs={liveEdgeDelay:ds,duration:ps,seekable:function(e,t,n){var r=t||0,i=ms(e,t,!0,n);return null===i?as():as(r,i)},getMediaInfoForTime:function(e){for(var t=e.playlist,n=e.currentTime,r=e.startingSegmentIndex,i=e.startingPartIndex,o=e.startTime,a=e.experimentalExactManifestTimings,s=n-o,u=us(t),l=0,c=0;c<u.length;c++){var d=u[c];if(r===d.segmentIndex&&("number"!=typeof i||"number"!=typeof d.partIndex||i===d.partIndex)){l=c;break}}if(s<0){if(l>0)for(var f=l-1;f>=0;f--){var p=u[f];if(s+=p.duration,a){if(s<0)continue}else if(s+Za<=0)continue;return{partIndex:p.partIndex,segmentIndex:p.segmentIndex,startTime:o-hs({defaultDuration:t.targetDuration,durationList:u,startIndex:l,endIndex:f})}}return{partIndex:u[0]&&u[0].partIndex||null,segmentIndex:u[0]&&u[0].segmentIndex||0,startTime:n}}if(l<0){for(var h=l;h<0;h++)if((s-=t.targetDuration)<0)return{partIndex:u[0]&&u[0].partIndex||null,segmentIndex:u[0]&&u[0].segmentIndex||0,startTime:n};l=0}for(var m=l;m<u.length;m++){var v=u[m];if(s-=v.duration,a){if(s>0)continue}else if(s-Za>=0)continue;return{partIndex:v.partIndex,segmentIndex:v.segmentIndex,startTime:o+hs({defaultDuration:t.targetDuration,durationList:u,startIndex:l,endIndex:m})}}return{segmentIndex:u[u.length-1].segmentIndex,partIndex:u[u.length-1].partIndex,startTime:n}},isEnabled:ys,isDisabled:function(e){return e.disabled},isBlacklisted:vs,isIncompatible:gs,playlistEnd:ms,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:bs,estimateSegmentRequestTime:function(e,t,n,r){return void 0===r&&(r=0),bs("BANDWIDTH",n)?(e*n.attributes.BANDWIDTH-8*r)/t:NaN},isLowestEnabledRendition:_s,isAudioOnly:Es,playlistMatch:ws,segmentDurationWithParts:ss},Ss=Wa.log,Ts=function(e,t){return e+"-"+t},Cs=function(e,t){e.mediaGroups&&["AUDIO","SUBTITLES"].forEach((function(n){if(e.mediaGroups[n])for(var r in e.mediaGroups[n])for(var i in e.mediaGroups[n][r]){var o=e.mediaGroups[n][r][i];t(o,n,r,i)}}))},As=function(e){var t=e.playlist,n=e.uri,r=e.id;t.id=r,t.playlistErrors_=0,n&&(t.uri=n),t.attributes=t.attributes||{}},Os=function(e,t){e.uri=t;for(var n=0;n<e.playlists.length;n++)if(!e.playlists[n].uri){var r="placeholder-uri-"+n;e.playlists[n].uri=r}var i=Es(e);Cs(e,(function(t,n,r,o){var a="placeholder-uri-"+n+"-"+r+"-"+o;if(!t.playlists||!t.playlists.length){if(i&&"AUDIO"===n&&!t.uri)for(var u=0;u<e.playlists.length;u++){var l=e.playlists[u];if(l.attributes&&l.attributes.AUDIO&&l.attributes.AUDIO===r)return}t.playlists=[s({},t)]}t.playlists.forEach((function(t,n){var r=Ts(n,a);t.uri?t.resolvedUri=t.resolvedUri||Ka(e.uri,t.uri):(t.uri=0===n?a:r,t.resolvedUri=t.uri),t.id=t.id||r,t.attributes=t.attributes||{},e.playlists[t.id]=t,e.playlists[t.uri]=t}))})),function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];As({playlist:n,id:Ts(t,n.uri)}),n.resolvedUri=Ka(e.uri,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes.BANDWIDTH||Ss.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.")}}(e),function(e){Cs(e,(function(t){t.uri&&(t.resolvedUri=Ka(e.uri,t.uri))}))}(e)},Ns=Wa.mergeOptions,Ps=Wa.EventTarget,Is=function(e,t){if(!e)return t;var n=Ns(e,t);if(e.preloadHints&&!t.preloadHints&&delete n.preloadHints,e.parts&&!t.parts)delete n.parts;else if(e.parts&&t.parts)for(var r=0;r<t.parts.length;r++)e.parts&&e.parts[r]&&(n.parts[r]=Ns(e.parts[r],t.parts[r]));return!e.skipped&&t.skipped&&(n.skipped=!1),e.preload&&!t.preload&&(n.preload=!1),n},Ls=function(e,t){!e.resolvedUri&&e.uri&&(e.resolvedUri=Ka(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Ka(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Ka(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=Ka(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach((function(e){e.resolvedUri||(e.resolvedUri=Ka(t,e.uri))})),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach((function(e){e.resolvedUri||(e.resolvedUri=Ka(t,e.uri))}))},Ms=function(e){var t=e.segments||[],n=e.preloadSegment;if(n&&n.parts&&n.parts.length){if(n.preloadHints)for(var r=0;r<n.preloadHints.length;r++)if("MAP"===n.preloadHints[r].type)return t;n.duration=e.targetDuration,n.preload=!0,t.push(n)}return t},Rs=function(e,t){return e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence&&e.preloadSegment===t.preloadSegment},Ds=function(e,t,n){void 0===n&&(n=Rs);var r=Ns(e,{}),i=r.playlists[t.id];if(!i)return null;if(n(i,t))return null;t.segments=Ms(t);var o=Ns(i,t);if(o.preloadSegment&&!t.preloadSegment&&delete o.preloadSegment,i.segments){if(t.skip){t.segments=t.segments||[];for(var a=0;a<t.skip.skippedSegments;a++)t.segments.unshift({skipped:!0})}o.segments=function(e,t,n){var r=e.slice(),i=t.slice();n=n||0;for(var o,a=[],s=0;s<i.length;s++){var u=r[s+n],l=i[s];u?(o=u.map||o,a.push(Is(u,l))):(o&&!l.map&&(l.map=o),a.push(l))}return a}(i.segments,t.segments,t.mediaSequence-i.mediaSequence)}o.segments.forEach((function(e){Ls(e,o.resolvedUri)}));for(var s=0;s<r.playlists.length;s++)r.playlists[s].id===t.id&&(r.playlists[s]=o);return r.playlists[t.id]=o,r.playlists[t.uri]=o,Cs(e,(function(e,n,r,i){if(e.playlists)for(var a=0;a<e.playlists.length;a++)t.id===e.playlists[a].id&&(e.playlists[a]=o)})),r},qs=function(e,t){var n=e.segments||[],r=n[n.length-1],i=r&&r.parts&&r.parts[r.parts.length-1],o=i&&i.duration||r&&r.duration;return t&&o?1e3*o:500*(e.partTargetDuration||e.targetDuration||10)},js=function(e){function t(t,n,r){var i;if(void 0===r&&(r={}),i=e.call(this)||this,!t)throw new Error("A non-empty playlist URL or object is required");i.logger_=$a("PlaylistLoader");var o=r,a=o.withCredentials,s=void 0!==a&&a,u=o.handleManifestRedirects,l=void 0!==u&&u;i.src=t,i.vhs_=n,i.withCredentials=s,i.handleManifestRedirects=l;var d=n.options_;return i.customTagParsers=d&&d.customTagParsers||[],i.customTagMappers=d&&d.customTagMappers||[],i.experimentalLLHLS=d&&d.experimentalLLHLS||!1,Wa.browser.IE_VERSION&&(i.experimentalLLHLS=!1),i.state="HAVE_NOTHING",i.handleMediaupdatetimeout_=i.handleMediaupdatetimeout_.bind(c(i)),i.on("mediaupdatetimeout",i.handleMediaupdatetimeout_),i}f(t,e);var n=t.prototype;return n.handleMediaupdatetimeout_=function(){var e=this;if("HAVE_METADATA"===this.state){var t=this.media(),n=Ka(this.master.uri,t.uri);this.experimentalLLHLS&&(n=function(e,t){if(t.endList||!t.serverControl)return e;var n={};if(t.serverControl.canBlockReload){var r=t.preloadSegment,o=t.mediaSequence+t.segments.length;if(r){var a=r.parts||[],s=cs(t)-1;s>-1&&s!==a.length-1&&(n._HLS_part=s),(s>-1||a.length)&&o--}n._HLS_msn=o}if(t.serverControl&&t.serverControl.canSkipUntil&&(n._HLS_skip=t.serverControl.canSkipDateranges?"v2":"YES"),Object.keys(n).length){var u=new(i().URL)(e);["_HLS_skip","_HLS_msn","_HLS_part"].forEach((function(e){n.hasOwnProperty(e)&&u.searchParams.set(e,n[e])})),e=u.toString()}return e}(n,t)),this.state="HAVE_CURRENT_METADATA",this.request=this.vhs_.xhr({uri:n,withCredentials:this.withCredentials},(function(t,n){if(e.request)return t?e.playlistRequestError(e.request,e.media(),"HAVE_METADATA"):void e.haveMetadata({playlistString:e.request.responseText,url:e.media().uri,id:e.media().id})}))}},n.playlistRequestError=function(e,t,n){var r=t.uri,i=t.id;this.request=null,n&&(this.state=n),this.error={playlist:this.master.playlists[i],status:e.status,message:"HLS playlist request error at URL: "+r+".",responseText:e.responseText,code:e.status>=500?4:2},this.trigger("error")},n.parseManifest_=function(e){var t=this,n=e.url;return function(e){var t=e.onwarn,n=e.oninfo,r=e.manifestString,i=e.customTagParsers,o=void 0===i?[]:i,a=e.customTagMappers,s=void 0===a?[]:a,u=e.experimentalLLHLS,l=new j;t&&l.on("warn",t),n&&l.on("info",n),o.forEach((function(e){return l.addParser(e)})),s.forEach((function(e){return l.addTagMapper(e)})),l.push(r),l.end();var c=l.manifest;if(u||(["preloadSegment","skip","serverControl","renditionReports","partInf","partTargetDuration"].forEach((function(e){c.hasOwnProperty(e)&&delete c[e]})),c.segments&&c.segments.forEach((function(e){["parts","preloadHints"].forEach((function(t){e.hasOwnProperty(t)&&delete e[t]}))}))),!c.targetDuration){var d=10;c.segments&&c.segments.length&&(d=c.segments.reduce((function(e,t){return Math.max(e,t.duration)}),0)),t&&t("manifest has no targetDuration defaulting to "+d),c.targetDuration=d}var f=ls(c);if(f.length&&!c.partTargetDuration){var p=f.reduce((function(e,t){return Math.max(e,t.duration)}),0);t&&(t("manifest has no partTargetDuration defaulting to "+p),Ss.error("LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.")),c.partTargetDuration=p}return c}({onwarn:function(e){var r=e.message;return t.logger_("m3u8-parser warn for "+n+": "+r)},oninfo:function(e){var r=e.message;return t.logger_("m3u8-parser info for "+n+": "+r)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},n.haveMetadata=function(e){var t=e.playlistString,n=e.playlistObject,r=e.url,i=e.id;this.request=null,this.state="HAVE_METADATA";var o=n||this.parseManifest_({url:r,manifestString:t});o.lastRequest=Date.now(),As({playlist:o,uri:r,id:i});var a=Ds(this.master,o);this.targetDuration=o.partTargetDuration||o.targetDuration,this.pendingMedia_=null,a?(this.master=a,this.media_=this.master.playlists[i]):this.trigger("playlistunchanged"),this.updateMediaUpdateTimeout_(qs(this.media(),!!a)),this.trigger("loadedplaylist")},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.finalRenditionTimeout),this.off()},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e,t){var n=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);if("string"==typeof e){if(!this.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.master.playlists[e]}if(i().clearTimeout(this.finalRenditionTimeout),t){var r=(e.partTargetDuration||e.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=i().setTimeout(this.media.bind(this,e,!1),r)}else{var o=this.state,a=!this.media_||e.id!==this.media_.id,s=this.master.playlists[e.id];if(s&&s.endList||e.endList&&e.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=e,void(a&&(this.trigger("mediachanging"),"HAVE_MASTER"===o?this.trigger("loadedmetadata"):this.trigger("mediachange")));if(this.updateMediaUpdateTimeout_(qs(e,!0)),a){if(this.state="SWITCHING_MEDIA",this.request){if(e.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.pendingMedia_=e,this.request=this.vhs_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,r){if(n.request){if(e.lastRequest=Date.now(),e.resolvedUri=Xa(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,o);n.haveMetadata({playlistString:r.responseText,url:e.uri,id:e.id}),"HAVE_MASTER"===o?n.trigger("loadedmetadata"):n.trigger("mediachange")}}))}}},n.pause=function(){this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.stopRequest(),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")},n.load=function(e){var t=this;this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null);var n=this.media();if(e){var r=n?(n.partTargetDuration||n.targetDuration)/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((function(){t.mediaUpdateTimeout=null,t.load()}),r)}else this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()},n.updateMediaUpdateTimeout_=function(e){var t=this;this.mediaUpdateTimeout&&(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null),this.media()&&!this.media().endList&&(this.mediaUpdateTimeout=i().setTimeout((function(){t.mediaUpdateTimeout=null,t.trigger("mediaupdatetimeout"),t.updateMediaUpdateTimeout_(e)}),e))},n.start=function(){var e=this;if(this.started=!0,"object"==typeof this.src)return this.src.uri||(this.src.uri=i().location.href),this.src.resolvedUri=this.src.uri,void setTimeout((function(){e.setupInitialPlaylist(e.src)}),0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"HLS playlist request error at URL: "+e.src+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.src=Xa(e.handleManifestRedirects,e.src,n);var r=e.parseManifest_({manifestString:n.responseText,url:e.src});e.setupInitialPlaylist(r)}}))},n.srcUri=function(){return"string"==typeof this.src?this.src:this.src.uri},n.setupInitialPlaylist=function(e){if(this.state="HAVE_MASTER",e.playlists)return this.master=e,Os(this.master,this.srcUri()),e.playlists.forEach((function(e){e.segments=Ms(e),e.segments.forEach((function(t){Ls(t,e.resolvedUri)}))})),this.trigger("loadedplaylist"),void(this.request||this.media(this.master.playlists[0]));var t=this.srcUri()||i().location.href;this.master=function(e,t){var n=Ts(0,t),r={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i().location.href,resolvedUri:i().location.href,playlists:[{uri:t,id:n,resolvedUri:t,attributes:{}}]};return r.playlists[n]=r.playlists[0],r.playlists[t]=r.playlists[0],r}(0,t),this.haveMetadata({playlistObject:e,url:t,id:this.master.playlists[0].id}),this.trigger("loadedmetadata")},t}(Ps),Fs=Wa.xhr,Bs=Wa.mergeOptions,Us=function(e,t,n,r){var i="arraybuffer"===e.responseType?e.response:e.responseText;!t&&i&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=i.byteLength||i.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),n.headers&&(e.responseHeaders=n.headers),t&&"ETIMEDOUT"===t.code&&(e.timedout=!0),t||e.aborted||200===n.statusCode||206===n.statusCode||0===n.statusCode||(t=new Error("XHR Failed with a response of: "+(e&&(i||e.responseText)))),r(t,e)},zs=function(){var e=function e(t,n){t=Bs({timeout:45e3},t);var r=e.beforeRequest||Wa.Vhs.xhr.beforeRequest;if(r&&"function"==typeof r){var i=r(t);i&&(t=i)}var o=(!0===Wa.Vhs.xhr.original?Fs:Wa.Vhs.xhr)(t,(function(e,t){return Us(o,e,t,n)})),a=o.abort;return o.abort=function(){return o.aborted=!0,a.apply(o,arguments)},o.uri=t.uri,o.requestTime=Date.now(),o};return e.original=!0,e},Hs=function(e){var t,n={};return e.byterange&&(n.Range="bytes="+(t=e.byterange).offset+"-"+("bigint"==typeof t.offset||"bigint"==typeof t.length?i().BigInt(t.offset)+i().BigInt(t.length)-i().BigInt(1):t.offset+t.length-1)),n},Vs=function(e,t){return e.start(t)+"-"+e.end(t)},Ws=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Ys=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},Gs=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];Q(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},Ks=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Xs=function(e){return e.resolvedUri},$s=function(e){for(var t=Array.prototype.slice.call(e),n=16,r="",i=0;i<t.length/n;i++)r+=t.slice(i*n,i*n+n).map(Ws).join("")+" "+t.slice(i*n,i*n+n).map(Ys).join("")+"\n";return r},Zs=Object.freeze({__proto__:null,createTransferableMessage:Gs,initSegmentId:Ks,segmentKeyId:Xs,hexDump:$s,tagDump:function(e){var t=e.bytes;return $s(t)},textRanges:function(e){var t,n="";for(t=0;t<e.length;t++)n+=Vs(e,t)+" ";return n}}),Qs=function(e){var t=e.playlist,n=e.time,r=void 0===n?void 0:n,i=e.callback;if(!i)throw new Error("getProgramTime: callback must be provided");if(!t||void 0===r)return i({message:"getProgramTime: playlist and time must be provided"});var o=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var n,r=0,i=0;i<t.segments.length&&!(e<=(r=(n=t.segments[i]).videoTimingInfo?n.videoTimingInfo.transmuxedPresentationEnd:r+n.duration));i++);var o=t.segments[t.segments.length-1];if(o.videoTimingInfo&&o.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>r){if(e>r+.25*o.duration)return null;n=o}return{segment:n,estimatedStart:n.videoTimingInfo?n.videoTimingInfo.transmuxedPresentationStart:r-n.duration,type:n.videoTimingInfo?"accurate":"estimate"}}(r,t);if(!o)return i({message:"valid programTime was not found"});if("estimate"===o.type)return i({message:"Accurate programTime could not be determined. Please seek to e.seekTime and try again",seekTime:o.estimatedStart});var a={mediaSeconds:r},s=function(e,t){if(!t.dateTimeObject)return null;var n=t.videoTimingInfo.transmuxerPrependedSeconds,r=e-(t.videoTimingInfo.transmuxedPresentationStart+n);return new Date(t.dateTimeObject.getTime()+1e3*r)}(r,o.segment);return s&&(a.programDateTime=s.toISOString()),i(null,a)},Js=function e(t){var n=t.programTime,r=t.playlist,i=t.retryCount,o=void 0===i?2:i,a=t.seekTo,s=t.pauseAfterSeek,u=void 0===s||s,l=t.tech,c=t.callback;if(!c)throw new Error("seekToProgramTime: callback must be provided");if(void 0===n||!r||!a)return c({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!l.hasStarted_)return c({message:"player must be playing a live stream to start buffering"});if(!function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0}(r))return c({message:"programDateTime tags must be provided in the manifest "+r.resolvedUri});var d=function(e,t){var n;try{n=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;var r=t.segments[0];if(n<r.dateTimeObject)return null;for(var i=0;i<t.segments.length-1&&(r=t.segments[i],!(n<t.segments[i+1].dateTimeObject));i++);var o,a=t.segments[t.segments.length-1],s=a.dateTimeObject,u=a.videoTimingInfo?(o=a.videoTimingInfo).transmuxedPresentationEnd-o.transmuxedPresentationStart-o.transmuxerPrependedSeconds:a.duration+.25*a.duration;return n>new Date(s.getTime()+1e3*u)?null:(n>s&&(r=a),{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:xs.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?"accurate":"estimate"})}(n,r);if(!d)return c({message:n+" was not found in the stream"});var f=d.segment,p=function(e,t){var n,r;try{n=new Date(e),r=new Date(t)}catch(e){}var i=n.getTime();return(r.getTime()-i)/1e3}(f.dateTimeObject,n);if("estimate"===d.type)return 0===o?c({message:n+" is not buffered yet. Try again"}):(a(d.estimatedStart+p),void l.one("seeked",(function(){e({programTime:n,playlist:r,retryCount:o-1,seekTo:a,pauseAfterSeek:u,tech:l,callback:c})})));var h=f.start+p;l.one("seeked",(function(){return c(null,l.currentTime())})),u&&l.pause(),a(h)},eu=function(e,t){if(4===e.readyState)return t()},tu=function(e,t,n){var r,i=[],o=!1,a=function(e,t,r,i){return t.abort(),o=!0,n(e,t,r,i)},s=function(e,t){if(!o){if(e)return a(e,t,"",i);var n=t.responseText.substring(i&&i.byteLength||0,t.responseText.length);if(i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if((t=t.filter((function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e}))).length<=1)return J(t[0]);var r=t.reduce((function(e,t,n){return e+(t.byteLength||t.length)}),0),i=new Uint8Array(r),o=0;return t.forEach((function(e){e=J(e),i.set(e,o),o+=e.byteLength})),i}(i,ie(n,!0)),r=r||lt(i),i.length<10||r&&i.length<r+2)return eu(t,(function(){return a(e,t,"",i)}));var s=Ot(i);return"ts"===s&&i.length<188||!s&&i.length<376?eu(t,(function(){return a(e,t,"",i)})):a(null,t,s,i)}},u={uri:e,beforeSend:function(e){e.overrideMimeType("text/plain; charset=x-user-defined"),e.addEventListener("progress",(function(t){return t.total,t.loaded,Us(e,null,{statusCode:e.status},s)}))}},l=t(u,(function(e,t){return Us(l,e,t,s)}));return l},nu=Wa.EventTarget,ru=Wa.mergeOptions,iu=function(e,t){if(!Rs(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(var n=0;n<e.segments.length;n++){var r=e.segments[n],i=t.segments[n];if(r.uri!==i.uri)return!1;if(r.byterange||i.byterange){var o=r.byterange,a=i.byterange;if(o&&!a||!o&&a)return!1;if(o.offset!==a.offset||o.length!==a.length)return!1}}return!0},ou=function(e,t){return(Boolean(!e.map&&!t.map)||Boolean(e.map&&t.map&&e.map.byterange.offset===t.map.byterange.offset&&e.map.byterange.length===t.map.byterange.length))&&e.uri===t.uri&&e.byterange.offset===t.byterange.offset&&e.byterange.length===t.byterange.length},au=function(e,t){var n={};for(var r in e){var i=e[r].sidx;if(i){var o=Ne(i);if(!t[o])break;var a=t[o].sidxInfo;ou(a,i)&&(n[o]=t[o])}}return n},su=function(e){function t(t,n,r,i){var o;void 0===r&&(r={}),(o=e.call(this)||this).masterPlaylistLoader_=i||c(o),i||(o.isMaster_=!0);var a=r,s=a.withCredentials,u=void 0!==s&&s,l=a.handleManifestRedirects,d=void 0!==l&&l;if(o.vhs_=n,o.withCredentials=u,o.handleManifestRedirects=d,!t)throw new Error("A non-empty playlist URL or object is required");return o.on("minimumUpdatePeriod",(function(){o.refreshXml_()})),o.on("mediaupdatetimeout",(function(){o.refreshMedia_(o.media().id)})),o.state="HAVE_NOTHING",o.loadedPlaylists_={},o.logger_=$a("DashPlaylistLoader"),o.isMaster_?(o.masterPlaylistLoader_.srcUrl=t,o.masterPlaylistLoader_.sidxMapping_={}):o.childPlaylist_=t,o}f(t,e);var n=t.prototype;return n.requestErrored_=function(e,t,n){return!this.request||(this.request=null,e?(this.error="object"!=typeof e||e instanceof Error?{status:t.status,message:"DASH request error at URL: "+t.uri,response:t.response,code:2}:e,n&&(this.state=n),this.trigger("error"),!0):void 0)},n.addSidxSegments_=function(e,t,n){var r=this,o=e.sidx&&Ne(e.sidx);if(e.sidx&&o&&!this.masterPlaylistLoader_.sidxMapping_[o]){var a=Xa(this.handleManifestRedirects,e.sidx.resolvedUri),s=function(i,a){if(!r.requestErrored_(i,a,t)){var s,u=r.masterPlaylistLoader_.sidxMapping_;try{s=st()(J(a.response).subarray(8))}catch(e){return void r.requestErrored_(e,a,t)}return u[o]={sidxInfo:e.sidx,sidx:s},xe(e,s,e.sidx.resolvedUri),n(!0)}};this.request=tu(a,this.vhs_.xhr,(function(t,n,i,o){if(t)return s(t,n);if(!i||"mp4"!==i)return s({status:n.status,message:"Unsupported "+(i||"unknown")+" container type for sidx segment at URL: "+a,response:"",playlist:e,internal:!0,blacklistDuration:1/0,code:2},n);var u=e.sidx.byterange,l=u.offset,c=u.length;if(o.length>=c+l)return s(t,{response:o.subarray(l,l+c),status:n.status,uri:n.uri});r.request=r.vhs_.xhr({uri:a,responseType:"arraybuffer",headers:Hs({byterange:e.sidx.byterange})},s)}))}else this.mediaRequest_=i().setTimeout((function(){return n(!1)}),0)},n.dispose=function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},i().clearTimeout(this.minimumUpdatePeriodTimeout_),i().clearTimeout(this.mediaRequest_),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},n.hasPendingRequest=function(){return this.request||this.mediaRequest_},n.stopRequest=function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}},n.media=function(e){var t=this;if(!e)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"==typeof e){if(!this.masterPlaylistLoader_.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.masterPlaylistLoader_.master.playlists[e]}var r=!this.media_||e.id!==this.media_.id;if(r&&this.loadedPlaylists_[e.id]&&this.loadedPlaylists_[e.id].endList)return this.state="HAVE_METADATA",this.media_=e,void(r&&(this.trigger("mediachanging"),this.trigger("mediachange")));r&&(this.media_&&this.trigger("mediachanging"),this.addSidxSegments_(e,n,(function(r){t.haveMetadata({startingState:n,playlist:e})})))},n.haveMetadata=function(e){var t=e.startingState,n=e.playlist;this.state="HAVE_METADATA",this.loadedPlaylists_[n.id]=n,this.mediaRequest_=null,this.refreshMedia_(n.id),"HAVE_MASTER"===t?this.trigger("loadedmetadata"):this.trigger("mediachange")},n.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off("loadedmetadata",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(i().clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),"HAVE_NOTHING"===this.state&&(this.started=!1)},n.load=function(e){var t=this;i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var n=this.media();if(e){var r=n?n.targetDuration/2*1e3:5e3;this.mediaUpdateTimeout=i().setTimeout((function(){return t.load()}),r)}else this.started?n&&!n.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger("minimumUpdatePeriod"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger("mediaupdatetimeout")):this.trigger("loadedplaylist"):this.start()},n.start=function(){var e=this;this.started=!0,this.isMaster_?this.requestMaster_((function(t,n){e.haveMaster_(),e.hasPendingRequest()||e.media_||e.media(e.masterPlaylistLoader_.master.playlists[0])})):this.mediaRequest_=i().setTimeout((function(){return e.haveMaster_()}),0)},n.requestMaster_=function(e){var t=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},(function(n,r){if(!t.requestErrored_(n,r)){var i=r.responseText!==t.masterPlaylistLoader_.masterXml_;return t.masterPlaylistLoader_.masterXml_=r.responseText,r.responseHeaders&&r.responseHeaders.date?t.masterLoaded_=Date.parse(r.responseHeaders.date):t.masterLoaded_=Date.now(),t.masterPlaylistLoader_.srcUrl=Xa(t.handleManifestRedirects,t.masterPlaylistLoader_.srcUrl,r),i?(t.handleMaster_(),void t.syncClientServerClock_((function(){return e(r,i)}))):e(r,i)}"HAVE_NOTHING"===t.state&&(t.started=!1)}))},n.syncClientServerClock_=function(e){var t=this,n=ot(this.masterPlaylistLoader_.masterXml_);return null===n?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.masterPlaylistLoader_.clientOffset_=n.value-Date.now(),e()):void(this.request=this.vhs_.xhr({uri:Ka(this.masterPlaylistLoader_.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},(function(r,i){if(t.request){if(r)return t.masterPlaylistLoader_.clientOffset_=t.masterLoaded_-Date.now(),e();var o;o="HEAD"===n.method?i.responseHeaders&&i.responseHeaders.date?Date.parse(i.responseHeaders.date):t.masterLoaded_:Date.parse(i.responseText),t.masterPlaylistLoader_.clientOffset_=o-Date.now(),e()}})))},n.haveMaster_=function(){this.state="HAVE_MASTER",this.isMaster_?this.trigger("loadedplaylist"):this.media_||this.media(this.childPlaylist_)},n.handleMaster_=function(){this.mediaRequest_=null;var e,t,n,r,i,o,a,s=this.masterPlaylistLoader_.master,u=(e={masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_,previousManifest:s},t=e.masterXml,n=e.srcUrl,r=e.clientOffset,i=e.sidxMapping,o=e.previousManifest,a=it(t,{manifestUri:n,clientOffset:r,sidxMapping:i,previousManifest:o}),Os(a,n),a);s&&(u=function(e,t,n){for(var r=!0,i=ru(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod,timelineStarts:t.timelineStarts}),o=0;o<t.playlists.length;o++){var a=t.playlists[o];if(a.sidx){var s=Ne(a.sidx);n&&n[s]&&n[s].sidx&&xe(a,n[s].sidx,a.sidx.resolvedUri)}var u=Ds(i,a,iu);u&&(i=u,r=!1)}return Cs(t,(function(e,t,n,o){if(e.playlists&&e.playlists.length){var a=e.playlists[0].id,s=Ds(i,e.playlists[0],iu);s&&((i=s).mediaGroups[t][n][o].playlists[0]=i.playlists[a],r=!1)}})),t.minimumUpdatePeriod!==e.minimumUpdatePeriod&&(r=!1),r?null:i}(s,u,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=u||s;var l=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return l&&l!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=l),(!s||u&&u.minimumUpdatePeriod!==s.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(u)},n.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off("loadedmetadata",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(i().clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one("loadedmetadata",e.createMupOnMedia_))),"number"!=typeof t||t<=0?t<0&&this.logger_("found invalid minimumUpdatePeriod of "+t+", not setting a timeout"):this.createMUPTimeout_(t)},n.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=i().setTimeout((function(){t.minimumUpdatePeriodTimeout_=null,t.trigger("minimumUpdatePeriod"),t.createMUPTimeout_(e)}),e)},n.refreshXml_=function(){var e=this;this.requestMaster_((function(t,n){var r,i,o;n&&(e.media_&&(e.media_=e.masterPlaylistLoader_.master.playlists[e.media_.id]),e.masterPlaylistLoader_.sidxMapping_=(r=e.masterPlaylistLoader_.master,i=e.masterPlaylistLoader_.sidxMapping_,o=au(r.playlists,i),Cs(r,(function(e,t,n,r){if(e.playlists&&e.playlists.length){var a=e.playlists;o=ru(o,au(a,i))}})),o),e.addSidxSegments_(e.media(),e.state,(function(t){e.refreshMedia_(e.media().id)})))}))},n.refreshMedia_=function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");this.media_&&this.isMaster_&&this.handleMaster_();var n=this.masterPlaylistLoader_.master.playlists,r=!this.media_||this.media_!==n[e];if(r?this.media_=n[e]:this.trigger("playlistunchanged"),!this.mediaUpdateTimeout){!function e(){t.media().endList||(t.mediaUpdateTimeout=i().setTimeout((function(){t.trigger("mediaupdatetimeout"),e()}),qs(t.media(),Boolean(r))))}()}this.trigger("loadedplaylist")},t}(nu),uu={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},lu=function(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e},cu=function(e){return function(){var t=function(e){try{return URL.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(n){var t=new BlobBuilder;return t.append(e),URL.createObjectURL(t.getBlob())}}(e),n=lu(new Worker(t));n.objURL=t;var r=n.terminate;return n.on=n.addEventListener,n.off=n.removeEventListener,n.terminate=function(){return URL.revokeObjectURL(t),r.call(this)},n}},du=function(e){return"var browserWorkerPolyFill = "+lu.toString()+";\nbrowserWorkerPolyFill(self);\n"+e},fu=function(e){return e.toString().replace(/^function.+?{/,"").slice(0,-1)},pu=du(fu((function(){var e=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,o;if(n=e[t])if(2===arguments.length)for(i=n.length,r=0;r<i;++r)n[r].call(this,arguments[1]);else{for(o=[],r=arguments.length,r=1;r<arguments.length;++r)o.push(arguments[r]);for(i=n.length,r=0;r<i;++r)n[r].apply(this,o)}},this.dispose=function(){e={}}}};e.prototype.pipe=function(e){return this.on("data",(function(t){e.push(t)})),this.on("done",(function(t){e.flush(t)})),this.on("partialdone",(function(t){e.partialFlush(t)})),this.on("endedtimeline",(function(t){e.endTimeline(t)})),this.on("reset",(function(t){e.reset(t)})),e},e.prototype.push=function(e){this.trigger("data",e)},e.prototype.flush=function(e){this.trigger("done",e)},e.prototype.partialFlush=function(e){this.trigger("partialdone",e)},e.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},e.prototype.reset=function(e){this.trigger("reset",e)};var t,r,i,o,a,s,u,l,c,d,f,p,h,m,v,g,y,b,_,w,k,E,x,S,T,C,A,O,N,P,I,L,M,R,D,q,j,F,B,U,z=e,H=Math.pow(2,32),V={getUint64:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength);return n.getBigUint64?(t=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(t):t:n.getUint32(0)*H+n.getUint32(4)},MAX_UINT32:H},W=V.MAX_UINT32;!function(){var e;if(E={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in E)E.hasOwnProperty(e)&&(E[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);x=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),T=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),S=new Uint8Array([0,0,0,1]),C=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),A=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),O={video:C,audio:A},I=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),P=new Uint8Array([0,0,0,0,0,0,0,0]),L=new Uint8Array([0,0,0,0,0,0,0,0]),M=L,R=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),D=L,N=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),t=function(e){var t,n,r=[],i=0;for(t=1;t<arguments.length;t++)r.push(arguments[t]);for(t=r.length;t--;)i+=r[t].byteLength;for(n=new Uint8Array(i+8),new DataView(n.buffer,n.byteOffset,n.byteLength).setUint32(0,n.byteLength),n.set(e,4),t=0,i=8;t<r.length;t++)n.set(r[t],i),i+=r[t].byteLength;return n},r=function(){return t(E.dinf,t(E.dref,I))},i=function(e){return t(E.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},v=function(e){return t(E.hdlr,O[e])},m=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(n[12]=e.samplerate>>>24&255,n[13]=e.samplerate>>>16&255,n[14]=e.samplerate>>>8&255,n[15]=255&e.samplerate),t(E.mdhd,n)},h=function(e){return t(E.mdia,m(e),v(e.type),s(e))},a=function(e){return t(E.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},s=function(e){return t(E.minf,"video"===e.type?t(E.vmhd,N):t(E.smhd,P),r(),y(e))},u=function(e,n){for(var r=[],i=n.length;i--;)r[i]=_(n[i]);return t.apply(null,[E.moof,a(e)].concat(r))},l=function(e){for(var n=e.length,r=[];n--;)r[n]=f(e[n]);return t.apply(null,[E.moov,d(4294967295)].concat(r).concat(c(e)))},c=function(e){for(var n=e.length,r=[];n--;)r[n]=w(e[n]);return t.apply(null,[E.mvex].concat(r))},d=function(e){var n=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t(E.mvhd,n)},g=function(e){var n,r,i=e.samples||[],o=new Uint8Array(4+i.length);for(r=0;r<i.length;r++)n=i[r].flags,o[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return t(E.sdtp,o)},y=function(e){return t(E.stbl,b(e),t(E.stts,D),t(E.stsc,M),t(E.stsz,R),t(E.stco,L))},b=function(e){return t(E.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?q(e):j(e))},q=function(e){var n,r,i=e.sps||[],o=e.pps||[],a=[],s=[];for(n=0;n<i.length;n++)a.push((65280&i[n].byteLength)>>>8),a.push(255&i[n].byteLength),a=a.concat(Array.prototype.slice.call(i[n]));for(n=0;n<o.length;n++)s.push((65280&o[n].byteLength)>>>8),s.push(255&o[n].byteLength),s=s.concat(Array.prototype.slice.call(o[n]));if(r=[E.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),t(E.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([i.length],a,[o.length],s))),t(E.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var u=e.sarRatio[0],l=e.sarRatio[1];r.push(t(E.pasp,new Uint8Array([(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u,(4278190080&l)>>24,(16711680&l)>>16,(65280&l)>>8,255&l])))}return t.apply(null,r)},j=function(e){return t(E.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),i(e))},p=function(e){var n=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return t(E.tkhd,n)},_=function(e){var n,r,i,o,a,s;return n=t(E.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),a=Math.floor(e.baseMediaDecodeTime/W),s=Math.floor(e.baseMediaDecodeTime%W),r=t(E.tfdt,new Uint8Array([1,0,0,0,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s>>>24&255,s>>>16&255,s>>>8&255,255&s])),92,"audio"===e.type?(i=k(e,92),t(E.traf,n,r,i)):(o=g(e),i=k(e,o.length+92),t(E.traf,n,r,i,o))},f=function(e){return e.duration=e.duration||4294967295,t(E.trak,p(e),h(e))},w=function(e){var n=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(n[n.length-1]=0),t(E.trex,n)},U=function(e,t){var n=0,r=0,i=0,o=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(i=4),void 0!==e[0].compositionTimeOffset&&(o=8)),[0,0,n|r|i|o,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},B=function(e,n){var r,i,o,a,s,u;for(n+=20+16*(a=e.samples||[]).length,o=U(a,n),(i=new Uint8Array(o.length+16*a.length)).set(o),r=o.length,u=0;u<a.length;u++)s=a[u],i[r++]=(4278190080&s.duration)>>>24,i[r++]=(16711680&s.duration)>>>16,i[r++]=(65280&s.duration)>>>8,i[r++]=255&s.duration,i[r++]=(4278190080&s.size)>>>24,i[r++]=(16711680&s.size)>>>16,i[r++]=(65280&s.size)>>>8,i[r++]=255&s.size,i[r++]=s.flags.isLeading<<2|s.flags.dependsOn,i[r++]=s.flags.isDependedOn<<6|s.flags.hasRedundancy<<4|s.flags.paddingValue<<1|s.flags.isNonSyncSample,i[r++]=61440&s.flags.degradationPriority,i[r++]=15&s.flags.degradationPriority,i[r++]=(4278190080&s.compositionTimeOffset)>>>24,i[r++]=(16711680&s.compositionTimeOffset)>>>16,i[r++]=(65280&s.compositionTimeOffset)>>>8,i[r++]=255&s.compositionTimeOffset;return t(E.trun,i)},F=function(e,n){var r,i,o,a,s,u;for(n+=20+8*(a=e.samples||[]).length,o=U(a,n),(r=new Uint8Array(o.length+8*a.length)).set(o),i=o.length,u=0;u<a.length;u++)s=a[u],r[i++]=(4278190080&s.duration)>>>24,r[i++]=(16711680&s.duration)>>>16,r[i++]=(65280&s.duration)>>>8,r[i++]=255&s.duration,r[i++]=(4278190080&s.size)>>>24,r[i++]=(16711680&s.size)>>>16,r[i++]=(65280&s.size)>>>8,r[i++]=255&s.size;return t(E.trun,r)},k=function(e,t){return"audio"===e.type?F(e,t):B(e,t)};o=function(){return t(E.ftyp,x,S,x,T)};var Y,G,K,X,$,Z,Q,J,ee=function(e){return t(E.mdat,e)},te=u,ne=function(e){var t,n=o(),r=l(e);return(t=new Uint8Array(n.byteLength+r.byteLength)).set(n),t.set(r,n.byteLength),t},re=function(e,t){var n={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},ie=function(e){var t,n,r=[],i=[];for(i.byteLength=0,i.nalCount=0,i.duration=0,r.byteLength=0,t=0;t<e.length;t++)"access_unit_delimiter_rbsp"===(n=e[t]).nalUnitType?(r.length&&(r.duration=n.dts-r.dts,i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r)),(r=[n]).byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return i.length&&(!r.duration||r.duration<=0)&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.length,i.duration+=r.duration,i.push(r),i},oe=function(e){var t,n,r=[],i=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,i.byteLength=0,i.nalCount=0,i.duration=0,i.pts=e[0].pts,i.dts=e[0].dts,t=0;t<e.length;t++)(n=e[t]).keyFrame?(r.length&&(i.push(r),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration),(r=[n]).nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return i.length&&r.duration<=0&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration,i.push(r),i},ae=function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},se=function(e,t){var n,r,i,o,a,s=t||0,u=[];for(n=0;n<e.length;n++)for(o=e[n],r=0;r<o.length;r++)a=o[r],s+=(i=re(a,s)).size,u.push(i);return u},ue=function(e){var t,n,r,i,o,a,s=0,u=e.byteLength,l=e.nalCount,c=new Uint8Array(u+4*l),d=new DataView(c.buffer);for(t=0;t<e.length;t++)for(i=e[t],n=0;n<i.length;n++)for(o=i[n],r=0;r<o.length;r++)a=o[r],d.setUint32(s,a.data.byteLength),s+=4,c.set(a.data,s),s+=a.data.byteLength;return c},le=[33,16,5,32,164,27],ce=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],de=function(e){for(var t=[];e--;)t.push(0);return t},fe=function(){if(!Y){var e={96e3:[le,[227,64],de(154),[56]],88200:[le,[231],de(170),[56]],64e3:[le,[248,192],de(240),[56]],48e3:[le,[255,192],de(268),[55,148,128],de(54),[112]],44100:[le,[255,192],de(268),[55,163,128],de(84),[112]],32e3:[le,[255,192],de(268),[55,234],de(226),[112]],24e3:[le,[255,192],de(268),[55,255,128],de(268),[111,112],de(126),[224]],16e3:[le,[255,192],de(268),[55,255,128],de(268),[111,255],de(269),[223,108],de(195),[1,192]],12e3:[ce,de(268),[3,127,248],de(268),[6,255,240],de(268),[13,255,224],de(268),[27,253,128],de(259),[56]],11025:[ce,de(268),[3,127,248],de(268),[6,255,240],de(268),[13,255,224],de(268),[27,255,192],de(268),[55,175,128],de(108),[112]],8e3:[ce,de(268),[3,121,16],de(47),[7]]};t=e,Y=Object.keys(t).reduce((function(e,n){return e[n]=new Uint8Array(t[n].reduce((function(e,t){return e.concat(t)}),[])),e}),{})}var t;return Y},pe=9e4;Z=function(e,t){return G($(e,t))},Q=function(e,t){return K(X(e),t)},J=function(e,t,n){return X(n?e:e-t)};var he=pe,me=G=function(e){return e*pe},ve=(K=function(e,t){return e*t},X=function(e){return e/pe}),ge=($=function(e,t){return e/t},Z),ye=Q,be=J,_e=function(e,t,n,r){var i,o,a,s,u,l=0,c=0,d=0;if(t.length&&(i=ge(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(he/(e.samplerate/1024)),n&&r&&(l=i-Math.max(n,r),d=(c=Math.floor(l/o))*o),!(c<1||d>he/2))){for((a=fe()[e.samplerate])||(a=t[0].data),s=0;s<c;s++)u=t[0],t.splice(0,0,{data:a,dts:u.dts-o,pts:u.pts-o});return e.baseMediaDecodeTime-=Math.floor(ye(d,e.samplerate)),d}},we=function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},ke=function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},Ee=function(e){var t,n,r=0,i=new Uint8Array(function(e){var t,n=0;for(t=0;t<e.length;t++)n+=e[t].data.byteLength;return n}(e));for(t=0;t<e.length;t++)n=e[t],i.set(n.data,r),r+=n.data.byteLength;return i},xe=he,Se=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},Te=function(e,t){var n,r=e.minSegmentDts;return t||(r-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=r,n=Math.max(0,n),"audio"===e.type&&(n*=e.samplerate/xe,n=Math.floor(n)),n},Ce=function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))},Ae=function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,i=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)i+=255,t++;if(i+=e[t++],!n.payload&&4===r){if("GA94"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}n.payload=void 0}t+=i,r=0,i=0}return n},Oe=function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Ne=function(e,t){var n,r,i,o,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)o={type:3&t[(i=3*n)+2],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a},Pe=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},Ie=4,Le=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_="boolean"!=typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new He(0,0),new He(0,1),new He(1,0),new He(1,1)],this.parse708captions_&&(this.cc708Stream_=new je({captionServices:t.captionServices})),this.reset(),this.ccStreams_.forEach((function(e){e.on("data",this.trigger.bind(this,"data")),e.on("partialdone",this.trigger.bind(this,"partialdone")),e.on("done",this.trigger.bind(this,"done"))}),this),this.parse708captions_&&(this.cc708Stream_.on("data",this.trigger.bind(this,"data")),this.cc708Stream_.on("partialdone",this.trigger.bind(this,"partialdone")),this.cc708Stream_.on("done",this.trigger.bind(this,"done")))};(Le.prototype=new z).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Ae(e.escapedRBSP)).payload&&t.payloadType===Ie&&(n=Oe(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=Ne(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Le.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},Le.prototype.flushStream=function(e){this.captionPackets_.length?(this.captionPackets_.forEach((function(e,t){e.presortIndex=t})),this.captionPackets_.sort((function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts})),this.captionPackets_.forEach((function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)}),this),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},Le.prototype.flush=function(){return this.flushStream("flush")},Le.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Le.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},Le.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},Le.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Le.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Le.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},Le.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};var Me={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600},Re=function(e){return 32<=e&&e<=127||160<=e&&e<=255},De=function(e){this.windowNum=e,this.reset()};De.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},De.prototype.getText=function(){return this.rows.join("\n")},De.prototype.clearText=function(){this.rows=[""],this.rowIdx=0},De.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&"function"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),this.rows.length>0&&(this.rows.push(""),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},De.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&""===this.rows[0]},De.prototype.addText=function(e){this.rows[this.rowIdx]+=e},De.prototype.backspace=function(){if(!this.isEmpty()){var e=this.rows[this.rowIdx];this.rows[this.rowIdx]=e.substr(0,e.length-1)}};var qe=function(e,t,n){this.serviceNum=e,this.text="",this.currentWindow=new De(-1),this.windows=[],this.stream=n,"string"==typeof t&&this.createTextDecoder(t)};qe.prototype.init=function(e,t){this.startPts=e;for(var n=0;n<8;n++)this.windows[n]=new De(n),"function"==typeof t&&(this.windows[n].beforeRowOverflow=t)},qe.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]},qe.prototype.createTextDecoder=function(e){if("undefined"==typeof TextDecoder)this.stream.trigger("log",{level:"warn",message:"The `encoding` option is unsupported without TextDecoder support"});else try{this.textDecoder_=new TextDecoder(e)}catch(t){this.stream.trigger("log",{level:"warn",message:"TextDecoder could not be created with "+e+" encoding. "+t})}};var je=function e(t){t=t||{},e.prototype.init.call(this);var n,r=this,i=t.captionServices||{},o={};Object.keys(i).forEach((function(e){n=i[e],/^SERVICE/.test(e)&&(o[e]=n.encoding)})),this.serviceEncodings=o,this.current708Packet=null,this.services={},this.push=function(e){3===e.type?(r.new708Packet(),r.add708Bytes(e)):(null===r.current708Packet&&r.new708Packet(),r.add708Bytes(e))}};je.prototype=new z,je.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},je.prototype.add708Bytes=function(e){var t=e.ccData,n=t>>>8,r=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(n),this.current708Packet.data.push(r)},je.prototype.push708Packet=function(){var e=this.current708Packet,t=e.data,n=null,r=null,i=0,o=t[i++];for(e.seq=o>>6,e.sizeCode=63&o;i<t.length;i++)r=31&(o=t[i++]),7===(n=o>>5)&&r>0&&(n=o=t[i++]),this.pushServiceBlock(n,i,r),r>0&&(i+=r-1)},je.prototype.pushServiceBlock=function(e,t,n){var r,i=t,o=this.current708Packet.data,a=this.services[e];for(a||(a=this.initService(e,i));i<t+n&&i<o.length;i++)r=o[i],Re(r)?i=this.handleText(i,a):24===r?i=this.multiByteCharacter(i,a):16===r?i=this.extendedCommands(i,a):128<=r&&r<=135?i=this.setCurrentWindow(i,a):152<=r&&r<=159?i=this.defineWindow(i,a):136===r?i=this.clearWindows(i,a):140===r?i=this.deleteWindows(i,a):137===r?i=this.displayWindows(i,a):138===r?i=this.hideWindows(i,a):139===r?i=this.toggleWindows(i,a):151===r?i=this.setWindowAttributes(i,a):144===r?i=this.setPenAttributes(i,a):145===r?i=this.setPenColor(i,a):146===r?i=this.setPenLocation(i,a):143===r?a=this.reset(i,a):8===r?a.currentWindow.backspace():12===r?a.currentWindow.clearText():13===r?a.currentWindow.pendingNewLine=!0:14===r?a.currentWindow.clearText():141===r&&i++},je.prototype.extendedCommands=function(e,t){var n=this.current708Packet.data[++e];return Re(n)&&(e=this.handleText(e,t,{isExtended:!0})),e},je.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},je.prototype.initService=function(e,t){var n,r,i=this;return(n="SERVICE"+e)in this.serviceEncodings&&(r=this.serviceEncodings[n]),this.services[e]=new qe(e,r,i),this.services[e].init(this.getPts(t),(function(t){i.flushDisplayed(t,i.services[e])})),this.services[e]},je.prototype.handleText=function(e,t,n){var r,i,o,a,s=n&&n.isExtended,u=n&&n.isMultiByte,l=this.current708Packet.data,c=s?4096:0,d=l[e],f=l[e+1],p=t.currentWindow;return t.textDecoder_&&!s?(u?(i=[d,f],e++):i=[d],r=t.textDecoder_.decode(new Uint8Array(i))):(a=Me[o=c|d]||o,r=4096&o&&o===a?"":String.fromCharCode(a)),p.pendingNewLine&&!p.isEmpty()&&p.newLine(this.getPts(e)),p.pendingNewLine=!1,p.addText(r),e},je.prototype.multiByteCharacter=function(e,t){var n=this.current708Packet.data,r=n[e+1],i=n[e+2];return Re(r)&&Re(i)&&(e=this.handleText(++e,t,{isMultiByte:!0})),e},je.prototype.setCurrentWindow=function(e,t){var n=7&this.current708Packet.data[e];return t.setCurrentWindow(n),e},je.prototype.defineWindow=function(e,t){var n=this.current708Packet.data,r=n[e],i=7&r;t.setCurrentWindow(i);var o=t.currentWindow;return r=n[++e],o.visible=(32&r)>>5,o.rowLock=(16&r)>>4,o.columnLock=(8&r)>>3,o.priority=7&r,r=n[++e],o.relativePositioning=(128&r)>>7,o.anchorVertical=127&r,r=n[++e],o.anchorHorizontal=r,r=n[++e],o.anchorPoint=(240&r)>>4,o.rowCount=15&r,r=n[++e],o.columnCount=63&r,r=n[++e],o.windowStyle=(56&r)>>3,o.penStyle=7&r,o.virtualRowCount=o.rowCount+1,e},je.prototype.setWindowAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.winAttr;return r=n[++e],i.fillOpacity=(192&r)>>6,i.fillRed=(48&r)>>4,i.fillGreen=(12&r)>>2,i.fillBlue=3&r,r=n[++e],i.borderType=(192&r)>>6,i.borderRed=(48&r)>>4,i.borderGreen=(12&r)>>2,i.borderBlue=3&r,r=n[++e],i.borderType+=(128&r)>>5,i.wordWrap=(64&r)>>6,i.printDirection=(48&r)>>4,i.scrollDirection=(12&r)>>2,i.justify=3&r,r=n[++e],i.effectSpeed=(240&r)>>4,i.effectDirection=(12&r)>>2,i.displayEffect=3&r,e},je.prototype.flushDisplayed=function(e,t){for(var n=[],r=0;r<8;r++)t.windows[r].visible&&!t.windows[r].isEmpty()&&n.push(t.windows[r].getText());t.endPts=e,t.text=n.join("\n\n"),this.pushCaption(t),t.startPts=e},je.prototype.pushCaption=function(e){""!==e.text&&(this.trigger("data",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:"cc708_"+e.serviceNum}),e.text="",e.startPts=e.endPts)},je.prototype.displayWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=1);return e},je.prototype.hideWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible=0);return e},je.prototype.toggleWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&(t.windows[i].visible^=1);return e},je.prototype.clearWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].clearText();return e},je.prototype.deleteWindows=function(e,t){var n=this.current708Packet.data[++e],r=this.getPts(e);this.flushDisplayed(r,t);for(var i=0;i<8;i++)n&1<<i&&t.windows[i].reset();return e},je.prototype.setPenAttributes=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penAttr;return r=n[++e],i.textTag=(240&r)>>4,i.offset=(12&r)>>2,i.penSize=3&r,r=n[++e],i.italics=(128&r)>>7,i.underline=(64&r)>>6,i.edgeType=(56&r)>>3,i.fontStyle=7&r,e},je.prototype.setPenColor=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penColor;return r=n[++e],i.fgOpacity=(192&r)>>6,i.fgRed=(48&r)>>4,i.fgGreen=(12&r)>>2,i.fgBlue=3&r,r=n[++e],i.bgOpacity=(192&r)>>6,i.bgRed=(48&r)>>4,i.bgGreen=(12&r)>>2,i.bgBlue=3&r,r=n[++e],i.edgeRed=(48&r)>>4,i.edgeGreen=(12&r)>>2,i.edgeBlue=3&r,e},je.prototype.setPenLocation=function(e,t){var n=this.current708Packet.data,r=n[e],i=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,r=n[++e],i.row=15&r,r=n[++e],i.column=63&r,e},je.prototype.reset=function(e,t){var n=this.getPts(e);return this.flushDisplayed(n,t),this.initService(t.serviceNum,e)};var Fe={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Be=function(e){return null===e?"":(e=Fe[e]||e,String.fromCharCode(e))},Ue=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],ze=function(){for(var e=[],t=15;t--;)e.push("");return e},He=function e(t,n){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=n||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)!==this.lastControlCode_){if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=ze();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=ze();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=ze()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=Be((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isExtCharacter(r,i))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),o=Be((r=(3&r)<<8)|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isMidRowCode(r,i))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&i)&&this.addFormatting(e.pts,["i"]),1==(1&i)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,i))this.column_+=3&i;else if(this.isPAC(r,i)){var a=Ue.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===i&&(i=null),o=Be(r),o+=Be(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};He.prototype=new z,He.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e,t){try{return e.trim()}catch(e){return this.trigger("log",{level:"warn",message:"Skipping a malformed 608 caption at index "+t+"."}),""}}),this).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},He.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=ze(),this.nonDisplayed_=ze(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},He.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},He.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},He.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},He.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},He.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},He.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},He.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},He.prototype.isNormalChar=function(e){return e>=32&&e<=127},He.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=ze(),this.displayed_=ze()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},He.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce((function(e,t){return e+"<"+t+">"}),"");this[this.mode_](e,n)},He.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce((function(e,t){return e+"</"+t+">"}),"");this.formatting_=[],this[this.mode_](e,t)}},He.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},He.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},He.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},He.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Ve={CaptionStream:Le,Cea608Stream:He,Cea708Stream:je},We={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},Ye="shared",Ge=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Ke=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||Ye,this.push=function(e){this.type_!==Ye&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=Ge(e.dts,r),e.pts=Ge(e.pts,r),n=e.dts,this.trigger("data",e))},this.flush=function(){r=n,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){r=void 0,n=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};Ke.prototype=new z;var Xe,$e=Ke,Ze=Ge,Qe=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},Je=function(e,t,n){return decodeURIComponent(Qe(e,t,n))},et=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},tt={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Je(e.data,1,t),e.value=Je(e.data,t+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=Je(e.data,1,t),e.url=Je(e.data,t+1,e.data.length);break}},PRIV:function(e){var t,n;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=(n=e.data,unescape(Qe(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};Xe=function(e){var t,n={descriptor:e&&e.descriptor},r=0,i=[],o=0;if(Xe.prototype.init.call(this),this.dispatchType=We.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,n,a,s,u;if("timed-metadata"===e.type)if(e.dataAlignmentIndicator&&(o=0,i.length=0),0===i.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))this.trigger("log",{level:"warn",message:"Skipping unrecognized metadata packet"});else if(i.push(e),o+=e.data.byteLength,1===i.length&&(r=et(e.data.subarray(6,10)),r+=10),!(o<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},u=0;u<r;)t.data.set(i[0].data.subarray(0,r-u),u),u+=i[0].data.byteLength,o-=i[0].data.byteLength,i.shift();n=10,64&t.data[5]&&(n+=4,n+=et(t.data.subarray(10,14)),r-=et(t.data.subarray(16,20)));do{if((a=et(t.data.subarray(n+4,n+8)))<1)return void this.trigger("log",{level:"warn",message:"Malformed ID3 frame encountered. Skipping metadata parsing."});if((s={id:String.fromCharCode(t.data[n],t.data[n+1],t.data[n+2],t.data[n+3]),data:t.data.subarray(n+10,n+a+10)}).key=s.id,tt[s.id]&&(tt[s.id](s),"com.apple.streaming.transportStreamTimestamp"===s.owner)){var l=s.data,c=(1&l[3])<<30|l[4]<<22|l[5]<<14|l[6]<<6|l[7]>>>2;c*=4,c+=3&l[7],s.timeStamp=c,void 0===t.pts&&void 0===t.dts&&(t.pts=s.timeStamp,t.dts=s.timeStamp),this.trigger("timestamp",s)}t.frames.push(s),n+=10,n+=a}while(n<r);this.trigger("data",t)}}},Xe.prototype=new z;var nt,rt,it,ot=Xe,at=$e,st=188;(nt=function(){var e=new Uint8Array(st),t=0;nt.prototype.init.call(this),this.push=function(n){var r,i=0,o=st;for(t?((r=new Uint8Array(n.byteLength+t)).set(e.subarray(0,t)),r.set(n,t),t=0):r=n;o<r.byteLength;)71!==r[i]||71!==r[o]?(i++,o++):(this.trigger("data",r.subarray(i,o)),i+=st,o+=st);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){t===st&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.reset=function(){t=0,this.trigger("reset")}}).prototype=new z,rt=function(){var e,t,n,r;rt.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var i=0;r.payloadUnitStartIndicator&&(i+=e[i]+1),"pat"===r.type?t(e.subarray(i),r):n(e.subarray(i),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,i;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&e[1])<<8|e[2])-4,i=12+((15&e[10])<<8|e[11]);i<n;){var o=e[i],a=(31&e[i+1])<<8|e[i+2];o===We.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===We.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===We.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][a]=o),i+=5+((15&e[i+3])<<8|e[i+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=We.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=We.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},rt.prototype=new z,rt.STREAM_TYPES={h264:27,adts:15},it=function(){var e,t=this,n=!1,r={data:[],size:0},i={data:[],size:0},o={data:[],size:0},a=function(e,n,r){var i,o,a=new Uint8Array(e.size),s={type:n},u=0,l=0;if(e.data.length&&!(e.size<9)){for(s.trackId=e.data[0].pid,u=0;u<e.data.length;u++)o=e.data[u],a.set(o.data,l),l+=o.data.byteLength;var c,d,f,p;d=s,p=(c=a)[0]<<16|c[1]<<8|c[2],d.data=new Uint8Array,1===p&&(d.packetLength=6+(c[4]<<8|c[5]),d.dataAlignmentIndicator=0!=(4&c[6]),192&(f=c[7])&&(d.pts=(14&c[9])<<27|(255&c[10])<<20|(254&c[11])<<12|(255&c[12])<<5|(254&c[13])>>>3,d.pts*=4,d.pts+=(6&c[13])>>>1,d.dts=d.pts,64&f&&(d.dts=(14&c[14])<<27|(255&c[15])<<20|(254&c[16])<<12|(255&c[17])<<5|(254&c[18])>>>3,d.dts*=4,d.dts+=(6&c[18])>>>1)),d.data=c.subarray(9+c[8])),i="video"===n||s.packetLength<=e.size,(r||i)&&(e.size=0,e.data.length=0),i&&t.trigger("data",s)}};it.prototype.init.call(this),this.push=function(s){({pat:function(){},pes:function(){var e,t;switch(s.streamType){case We.H264_STREAM_TYPE:e=r,t="video";break;case We.ADTS_STREAM_TYPE:e=i,t="audio";break;case We.METADATA_STREAM_TYPE:e=o,t="timed-metadata";break;default:return}s.payloadUnitStartIndicator&&a(e,t,!0),e.data.push(s),e.size+=s.data.byteLength},pmt:function(){var r={type:"metadata",tracks:[]};null!==(e=s.programMapTable).video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),n=!0,t.trigger("data",r)}})[s.type]()},this.reset=function(){r.size=0,r.data.length=0,i.size=0,i.data.length=0,this.trigger("reset")},this.flushStreams_=function(){a(r,"video"),a(i,"audio"),a(o,"timed-metadata")},this.flush=function(){if(!n&&e){var r={type:"metadata",tracks:[]};null!==e.video&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&r.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",r)}n=!1,this.flushStreams_(),this.trigger("done")}},it.prototype=new z;var ut={PAT_PID:0,MP2T_PACKET_LENGTH:st,TransportPacketStream:nt,TransportParseStream:rt,ElementaryStream:it,TimestampRolloverStream:at,CaptionStream:Ve.CaptionStream,Cea608Stream:Ve.Cea608Stream,Cea708Stream:Ve.Cea708Stream,MetadataStream:ot};for(var lt in We)We.hasOwnProperty(lt)&&(ut[lt]=We[lt]);var ct,dt=ut,ft=he,pt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];ct=function(e){var t,n=0;ct.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger("log",{level:"warn",message:"adts skiping bytes "+e+" to "+t+" in frame "+n+" outside syncword"})},this.push=function(r){var i,o,a,s,u,l=0;if(e||(n=0),"audio"===r.type){var c;for(t&&t.length?(a=t,(t=new Uint8Array(a.byteLength+r.data.byteLength)).set(a),t.set(r.data,a.byteLength)):t=r.data;l+7<t.length;)if(255===t[l]&&240==(246&t[l+1])){if("number"==typeof c&&(this.skipWarn_(c,l),c=null),o=2*(1&~t[l+1]),i=(3&t[l+3])<<11|t[l+4]<<3|(224&t[l+5])>>5,u=(s=1024*(1+(3&t[l+6])))*ft/pt[(60&t[l+2])>>>2],t.byteLength-l<i)break;this.trigger("data",{pts:r.pts+n*u,dts:r.dts+n*u,sampleCount:s,audioobjecttype:1+(t[l+2]>>>6&3),channelcount:(1&t[l+2])<<2|(192&t[l+3])>>>6,samplerate:pt[(60&t[l+2])>>>2],samplingfrequencyindex:(60&t[l+2])>>>2,samplesize:16,data:t.subarray(l+7+o,l+i)}),n++,l+=i}else"number"!=typeof c&&(c=l),l++;"number"==typeof c&&(this.skipWarn_(c,l),c=null),t=t.subarray(l)}},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}},ct.prototype=new z;var ht,mt,vt,gt=ct,yt=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var i=e.byteLength-t,o=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");o.set(e.subarray(i,i+a)),n=new DataView(o.buffer).getUint32(0),r=8*a,t-=a},this.skipBits=function(e){var i;r>e?(n<<=e,r-=e):(e-=r,e-=8*(i=Math.floor(e/8)),t-=i,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var i=Math.min(r,e),o=n>>>32-i;return(r-=i)>0?n<<=i:t>0&&this.loadWord(),(i=e-i)>0?o<<i|this.readBits(i):o},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()};mt=function(){var e,t,n=0;mt.prototype.init.call(this),this.push=function(r){var i;t?((i=new Uint8Array(t.byteLength+r.data.byteLength)).set(t),i.set(r.data,t.byteLength),t=i):t=r.data;for(var o=t.byteLength;n<o-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<o;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do{e++}while(1!==t[e]&&e<o);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.reset=function(){t=null,n=0,this.trigger("reset")},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")}},mt.prototype=new z,vt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},ht=function(){var e,t,n,r,i,o,a,s=new mt;ht.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,r=e.dts,s.push(e))},s.on("data",(function(a){var s={trackId:t,pts:n,dts:r,data:a,nalUnitTypeCode:31&a[0]};switch(s.nalUnitTypeCode){case 5:s.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:s.nalUnitType="sei_rbsp",s.escapedRBSP=i(a.subarray(1));break;case 7:s.nalUnitType="seq_parameter_set_rbsp",s.escapedRBSP=i(a.subarray(1)),s.config=o(s.escapedRBSP);break;case 8:s.nalUnitType="pic_parameter_set_rbsp";break;case 9:s.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",s)})),s.on("done",(function(){e.trigger("done")})),s.on("partialdone",(function(){e.trigger("partialdone")})),s.on("reset",(function(){e.trigger("reset")})),s.on("endedtimeline",(function(){e.trigger("endedtimeline")})),this.flush=function(){s.flush()},this.partialFlush=function(){s.partialFlush()},this.reset=function(){s.reset()},this.endTimeline=function(){s.endTimeline()},a=function(e,t){var n,r=8,i=8;for(n=0;n<e;n++)0!==i&&(i=(r+t.readExpGolomb()+256)%256),r=0===i?r:i},i=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},o=function(e){var t,n,r,i,o,s,u,l,c,d,f,p,h=0,m=0,v=0,g=0,y=[1,1];if(n=(t=new yt(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),vt[n]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(f=3!==o?8:12,p=0;p<f;p++)t.readBoolean()&&a(p<6?16:64,t);if(t.skipUnsignedExpGolomb(),0===(s=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===s)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),u=t.readUnsignedExpGolomb(),p=0;p<u;p++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),l=t.readUnsignedExpGolomb(),c=t.readUnsignedExpGolomb(),0===(d=t.readBits(1))&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(h=t.readUnsignedExpGolomb(),m=t.readUnsignedExpGolomb(),v=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:y=[1,1];break;case 2:y=[12,11];break;case 3:y=[10,11];break;case 4:y=[16,11];break;case 5:y=[40,33];break;case 6:y=[24,11];break;case 7:y=[20,11];break;case 8:y=[32,11];break;case 9:y=[80,33];break;case 10:y=[18,11];break;case 11:y=[15,11];break;case 12:y=[64,33];break;case 13:y=[160,99];break;case 14:y=[4,3];break;case 15:y=[3,2];break;case 16:y=[2,1];break;case 255:y=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}y&&(y[0],y[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:16*(l+1)-2*h-2*m,height:(2-d)*(c+1)*16-2*v-2*g,sarRatio:y}}},ht.prototype=new z;var bt,_t={H264Stream:ht,NalByteStream:mt},wt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],kt=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return n=n>=0?n:0,(16&e[t+5])>>4?n+20:n+10},Et=function e(t,n){return t.length-n<10||t[n]!=="I".charCodeAt(0)||t[n+1]!=="D".charCodeAt(0)||t[n+2]!=="3".charCodeAt(0)?n:e(t,n+=kt(t,n))},xt=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},St={isLikelyAacData:function(e){var t=Et(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:kt,parseAdtsSize:function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},parseType:function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return wt[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=xt(e.subarray(10,14)));do{if((n=xt(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var i=0;i<r.byteLength;i++)if(0===r[i]){var o=unescape(function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i}(r,0,i));if("com.apple.streaming.transportStreamTimestamp"===o){var a=r.subarray(i+1),s=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return s*=4,s+=3&a[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null}};(bt=function(){var e=new Uint8Array,t=0;bt.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,o,a,s=0,u=0;for(e.length?(a=e.length,(e=new Uint8Array(n.byteLength+a)).set(e.subarray(0,a)),e.set(n,a)):e=n;e.length-u>=3;)if(e[u]!=="I".charCodeAt(0)||e[u+1]!=="D".charCodeAt(0)||e[u+2]!=="3".charCodeAt(0))if(255!=(255&e[u])||240!=(240&e[u+1]))u++;else{if(e.length-u<7)break;if(u+(s=St.parseAdtsSize(e,u))>e.length)break;o={type:"audio",data:e.subarray(u,u+s),pts:t,dts:t},this.trigger("data",o),u+=s}else{if(e.length-u<10)break;if(u+(s=St.parseId3TagSize(e,u))>e.length)break;i={type:"timed-metadata",data:e.subarray(u,u+s)},this.trigger("data",i),u+=s}r=e.length-u,e=r>0?e.subarray(u):new Uint8Array},this.reset=function(){e=new Uint8Array,this.trigger("reset")},this.endTimeline=function(){e=new Uint8Array,this.trigger("endedtimeline")}}).prototype=new z;var Tt,Ct,At,Ot,Nt=bt,Pt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],It=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],Lt=_t.H264Stream,Mt=St.isLikelyAacData,Rt=he,Dt=function(e,t){t.stream=e,this.trigger("log",t)},qt=function(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];"headOfPipeline"!==i&&t[i].on&&t[i].on("log",Dt.bind(e,i))}},jt=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},Ft=function(e,t,n,r,i,o){return{start:{dts:e,pts:e+(n-t)},end:{dts:e+(r-t),pts:e+(i-n)},prependedContentDuration:o,baseMediaDecodeTime:e}};Ct=function(e,t){var n,r=[],i=0,o=0,a=1/0;n=(t=t||{}).firstSequenceNumber||0,Ct.prototype.init.call(this),this.push=function(t){Ce(e,t),e&&Pt.forEach((function(n){e[n]=t[n]})),r.push(t)},this.setEarliestDts=function(e){i=e},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){o=e},this.flush=function(){var s,u,l,c,d,f,p;0!==r.length?(s=we(r,e,i),e.baseMediaDecodeTime=Te(e,t.keepOriginalTimestamps),p=_e(e,s,o,a),e.samples=ke(s),l=ee(Ee(s)),r=[],u=te(n,[e]),c=new Uint8Array(u.byteLength+l.byteLength),n++,c.set(u),c.set(l,u.byteLength),Se(e),d=Math.ceil(1024*Rt/e.samplerate),s.length&&(f=s.length*d,this.trigger("segmentTimingInfo",Ft(ge(e.baseMediaDecodeTime,e.samplerate),s[0].dts,s[0].pts,s[0].dts+f,s[0].pts+f,p||0)),this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+f})),this.trigger("data",{track:e,boxes:c}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){Se(e),r=[],this.trigger("reset")}},Ct.prototype=new z,Tt=function(e,t){var n,r,i,o=[],a=[];n=(t=t||{}).firstSequenceNumber||0,Tt.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){Ce(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.config,e.sps=[t.data],It.forEach((function(t){e[t]=r[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,e.pps=[t.data]),o.push(t)},this.flush=function(){for(var r,i,s,u,l,c,d,f,p=0;o.length&&"access_unit_delimiter_rbsp"!==o[0].nalUnitType;)o.shift();if(0===o.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(r=ie(o),(s=oe(r))[0][0].keyFrame||((i=this.getGopForFusion_(o[0],e))?(p=i.duration,s.unshift(i),s.byteLength+=i.byteLength,s.nalCount+=i.nalCount,s.pts=i.pts,s.dts=i.dts,s.duration+=i.duration):s=ae(s)),a.length){var h;if(!(h=t.alignGopsAtEnd?this.alignGopsAtEnd_(s):this.alignGopsAtStart_(s)))return this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");Se(e),s=h}Ce(e,s),e.samples=se(s),l=ee(ue(s)),e.baseMediaDecodeTime=Te(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",s.map((function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}}))),d=s[0],f=s[s.length-1],this.trigger("segmentTimingInfo",Ft(e.baseMediaDecodeTime,d.dts,d.pts,f.dts+f.duration,f.pts+f.duration,p)),this.trigger("timingInfo",{start:s[0].pts,end:s[s.length-1].pts+s[s.length-1].duration}),this.gopCache_.unshift({gop:s.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),o=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),u=te(n,[e]),c=new Uint8Array(u.byteLength+l.byteLength),n++,c.set(u),c.set(l,u.byteLength),this.trigger("data",{track:e,boxes:c}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.reset=function(){this.resetStream_(),o=[],this.gopCache_.length=0,a.length=0,this.trigger("reset")},this.resetStream_=function(){Se(e),r=void 0,i=void 0},this.getGopForFusion_=function(t){var n,r,i,o,a,s=1/0;for(a=0;a<this.gopCache_.length;a++)i=(o=this.gopCache_[a]).gop,e.pps&&jt(e.pps[0],o.pps[0])&&e.sps&&jt(e.sps[0],o.sps[0])&&(i.dts<e.timelineStartInfo.dts||(n=t.dts-i.dts-i.duration)>=-1e4&&n<=45e3&&(!r||s>n)&&(r=o,s=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,i,o,s,u,l;for(o=e.byteLength,s=e.nalCount,u=e.duration,t=n=0;t<a.length&&n<e.length&&(r=a[t],i=e[n],r.pts!==i.pts);)i.pts>r.pts?t++:(n++,o-=i.byteLength,s-=i.nalCount,u-=i.duration);return 0===n?e:n===e.length?null:((l=e.slice(n)).byteLength=o,l.duration=u,l.nalCount=s,l.pts=l[0].pts,l.dts=l[0].dts,l)},this.alignGopsAtEnd_=function(e){var t,n,r,i,o,s,u;for(t=a.length-1,n=e.length-1,o=null,s=!1;t>=0&&n>=0;){if(r=a[t],i=e[n],r.pts===i.pts){s=!0;break}r.pts>i.pts?t--:(t===a.length-1&&(o=n),n--)}if(!s&&null===o)return null;if(0===(u=s?n:o))return e;var l=e.slice(u),c=l.reduce((function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e}),{byteLength:0,duration:0,nalCount:0});return l.byteLength=c.byteLength,l.duration=c.duration,l.nalCount=c.nalCount,l.pts=l[0].pts,l.dts=l[0].dts,l},this.alignGopsWith=function(e){a=e}},Tt.prototype=new z,Ot=function(e,t){this.numberOfTracks=0,this.metadataStream=t,void 0!==(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,Ot.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void("audio"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}},Ot.prototype=new z,Ot.prototype.flush=function(e){var t,n,r,i,o=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}if(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,It.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,Pt.forEach((function(e){a.info[e]=this.audioTrack[e]}),this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,r=ne(this.pendingTracks),a.initSegment=new Uint8Array(r.byteLength),a.initSegment.set(r),a.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)a.data.set(this.pendingBoxes[i],o),o+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(t=this.pendingCaptions[i]).startTime=be(t.startPts,s,this.keepOriginalTimestamps),t.endTime=be(t.endPts,s,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(i=0;i<this.pendingMetadata.length;i++)(n=this.pendingMetadata[i]).cueTime=be(n.pts,s,this.keepOriginalTimestamps),a.metadata.push(n);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),i=0;i<a.captions.length;i++)t=a.captions[i],this.trigger("caption",t);for(i=0;i<a.metadata.length;i++)n=a.metadata[i],this.trigger("id3Frame",n)}this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},Ot.prototype.setRemux=function(e){this.remuxTracks=e},At=function(e){var t,n,r=this,i=!0;At.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="aac",i.metadataStream=new dt.MetadataStream,i.aacStream=new Nt,i.audioTimestampRolloverStream=new dt.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new dt.TimestampRolloverStream("timed-metadata"),i.adtsStream=new gt,i.coalesceStream=new Ot(e,i.metadataStream),i.headOfPipeline=i.aacStream,i.aacStream.pipe(i.audioTimestampRolloverStream).pipe(i.adtsStream),i.aacStream.pipe(i.timedMetadataTimestampRolloverStream).pipe(i.metadataStream).pipe(i.coalesceStream),i.metadataStream.on("timestamp",(function(e){i.aacStream.setTimestamp(e.timeStamp)})),i.aacStream.on("data",(function(o){"timed-metadata"!==o.type&&"audio"!==o.type||i.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new Ct(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t}))})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),qt(this,i)},this.setupTsPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="ts",i.metadataStream=new dt.MetadataStream,i.packetStream=new dt.TransportPacketStream,i.parseStream=new dt.TransportParseStream,i.elementaryStream=new dt.ElementaryStream,i.timestampRolloverStream=new dt.TimestampRolloverStream,i.adtsStream=new gt,i.h264Stream=new Lt,i.captionStream=new dt.CaptionStream(e),i.coalesceStream=new Ot(e,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream).pipe(i.timestampRolloverStream),i.timestampRolloverStream.pipe(i.h264Stream),i.timestampRolloverStream.pipe(i.adtsStream),i.timestampRolloverStream.pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on("data",(function(o){var a;if("metadata"===o.type){for(a=o.tracks.length;a--;)t||"video"!==o.tracks[a].type?n||"audio"!==o.tracks[a].type||((n=o.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime):(t=o.tracks[a]).timelineStartInfo.baseMediaDecodeTime=r.baseMediaDecodeTime;t&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new Tt(t,e),i.videoSegmentStream.on("log",r.getLogTrigger_("videoSegmentStream")),i.videoSegmentStream.on("timelineStartInfo",(function(t){n&&!e.keepOriginalTimestamps&&(n.timelineStartInfo=t,i.audioSegmentStream.setEarliestDts(t.dts-r.baseMediaDecodeTime))})),i.videoSegmentStream.on("processedGopsInfo",r.trigger.bind(r,"gopInfo")),i.videoSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"videoSegmentTimingInfo")),i.videoSegmentStream.on("baseMediaDecodeTime",(function(e){n&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(e)})),i.videoSegmentStream.on("timingInfo",r.trigger.bind(r,"videoTimingInfo")),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),n&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new Ct(n,e),i.audioSegmentStream.on("log",r.getLogTrigger_("audioSegmentStream")),i.audioSegmentStream.on("timingInfo",r.trigger.bind(r,"audioTimingInfo")),i.audioSegmentStream.on("segmentTimingInfo",r.trigger.bind(r,"audioSegmentTimingInfo")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream)),r.trigger("trackinfo",{hasAudio:!!n,hasVideo:!!t})}})),i.coalesceStream.on("data",this.trigger.bind(this,"data")),i.coalesceStream.on("id3Frame",(function(e){e.dispatchType=i.metadataStream.dispatchType,r.trigger("id3Frame",e)})),i.coalesceStream.on("caption",this.trigger.bind(this,"caption")),i.coalesceStream.on("done",this.trigger.bind(this,"done")),qt(this,i)},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,Se(n),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,Se(t),i.captionStream.reset()),i.timestampRolloverStream&&i.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(t){var n=this.transmuxPipeline_;e.remux=t,n&&n.coalesceStream&&n.coalesceStream.setRemux(t)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(e){var t=this;return function(n){n.stream=e,t.trigger("log",n)}},this.push=function(e){if(i){var t=Mt(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),i=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){i=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},At.prototype=new z;var Bt,Ut,zt,Ht={Transmuxer:At,VideoSegmentStream:Tt,AudioSegmentStream:Ct,AUDIO_PROPERTIES:Pt,VIDEO_PROPERTIES:It,generateSegmentTimingInfo:Ft},Vt=function(e){return e>>>0},Wt=function(e){return("00"+e.toString(16)).slice(-2)},Yt=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},Gt=Vt,Kt=function e(t,n){var r,i,o,a,s,u=[];if(!n.length)return null;for(r=0;r<t.byteLength;)i=Gt(t[r]<<24|t[r+1]<<16|t[r+2]<<8|t[r+3]),o=Yt(t.subarray(r+4,r+8)),a=i>1?r+i:t.byteLength,o===n[0]&&(1===n.length?u.push(t.subarray(r+8,a)):(s=e(t.subarray(r+8,a),n.slice(1))).length&&(u=u.concat(s))),r=a;return u},Xt=Vt,$t=V.getUint64,Zt=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4))};return 1===t.version?t.baseMediaDecodeTime=$t(e.subarray(4)):t.baseMediaDecodeTime=Xt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),t},Qt=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},Jt=function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=1&n.flags[2],o=4&n.flags[2],a=1&n.flags[1],s=2&n.flags[1],u=4&n.flags[1],l=8&n.flags[1],c=r.getUint32(4),d=8;for(i&&(n.dataOffset=r.getInt32(d),d+=4),o&&c&&(t={flags:Qt(e.subarray(d,d+4))},d+=4,a&&(t.duration=r.getUint32(d),d+=4),s&&(t.size=r.getUint32(d),d+=4),l&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t),c--);c--;)t={},a&&(t.duration=r.getUint32(d),d+=4),s&&(t.size=r.getUint32(d),d+=4),u&&(t.flags=Qt(e.subarray(d,d+4)),d+=4),l&&(1===n.version?t.compositionTimeOffset=r.getInt32(d):t.compositionTimeOffset=r.getUint32(d),d+=4),n.samples.push(t);return n},en=function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},i=1&r.flags[2],o=2&r.flags[2],a=8&r.flags[2],s=16&r.flags[2],u=32&r.flags[2],l=65536&r.flags[0],c=131072&r.flags[0];return t=8,i&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),o&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),a&&(r.defaultSampleDuration=n.getUint32(t),t+=4),s&&(r.defaultSampleSize=n.getUint32(t),t+=4),u&&(r.defaultSampleFlags=n.getUint32(t)),l&&(r.durationIsEmpty=!0),!i&&c&&(r.baseDataOffsetIsMoof=!0),r},tn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},nn="undefined"!=typeof window?window:void 0!==tn?tn:"undefined"!=typeof self?self:{},rn=Pe,on=Ve.CaptionStream,an=function(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(n<i.size)return i;n-=i.size}return null},sn=function(e,t){var n=Kt(e,["moof","traf"]),r=Kt(e,["mdat"]),i={},o=[];return r.forEach((function(e,t){var r=n[t];o.push({mdat:e,traf:r})})),o.forEach((function(e){var n,r,o=e.mdat,a=e.traf,s=Kt(a,["tfhd"]),u=en(s[0]),l=u.trackId,c=Kt(a,["tfdt"]),d=c.length>0?Zt(c[0]).baseMediaDecodeTime:0,f=Kt(a,["trun"]);t===l&&f.length>0&&(n=function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,a=n.trackId,s=[];return e.forEach((function(e){var t=Jt(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=o),e.trackId=a,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),"bigint"==typeof r?(e.pts=r+nn.BigInt(e.compositionTimeOffset),r+=nn.BigInt(e.duration)):(e.pts=r+e.compositionTimeOffset,r+=e.duration)})),s=s.concat(t)})),s}(f,d,u),r=function(e,t,n){var r,i,o,a,s=new DataView(e.buffer,e.byteOffset,e.byteLength),u={logs:[],seiNals:[]};for(i=0;i+4<e.length;i+=o)if(o=s.getUint32(i),i+=4,!(o<=0))switch(31&e[i]){case 6:var l=e.subarray(i+1,i+1+o),c=an(i,t);if(r={nalUnitType:"sei_rbsp",size:o,data:l,escapedRBSP:rn(l),trackId:n},c)r.pts=c.pts,r.dts=c.dts,a=c;else{if(!a){u.logs.push({level:"warn",message:"We've encountered a nal unit without data at "+i+" for trackId "+n+". See mux.js#223."});break}r.pts=a.pts,r.dts=a.dts}u.seiNals.push(r)}return u}(o,n,l),i[l]||(i[l]={seiNals:[],logs:[]}),i[l].seiNals=i[l].seiNals.concat(r.seiNals),i[l].logs=i[l].logs.concat(r.logs))})),i},un=function(){var e,t,n,r,i,o,a=!1;this.isInitialized=function(){return a},this.init=function(t){e=new on,a=!0,o=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,i.captions.push(e),i.captionStreams[e.stream]=!0})),e.on("log",(function(e){i.logs.push(e)}))},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"==typeof t&&0===Object.keys(t).length)&&(n!==e[0]||r!==t[n])},this.parse=function(e,o,a){var s;if(!this.isInitialized())return null;if(!o||!a)return null;if(this.isNewInit(o,a))n=o[0],r=a[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var u=t.shift();this.parse(u,o,a)}return s=function(e,t,n){if(null===t)return null;var r=sn(e,t)[t]||{};return{seiNals:r.seiNals,logs:r.logs,timescale:n}}(e,n,r),s&&s.logs&&(i.logs=i.logs.concat(s.logs)),null!==s&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),i):i.logs.length?{logs:i.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(t){if(!this.isInitialized()||!t||0===t.length)return null;t.forEach((function(t){e.push(t)}))},this.flushStream=function(){if(!this.isInitialized())return null;o?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){i.captions=[],i.captionStreams={},i.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;e.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,i?this.clearParsedCaptions():i={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},ln=Vt,cn=Wt,dn=V.getUint64;Bt=function(e,t){var n=Kt(t,["moof","traf"]).reduce((function(t,n){var r,i,o=Kt(n,["tfhd"])[0],a=ln(o[4]<<24|o[5]<<16|o[6]<<8|o[7]),s=e[a]||9e4,u=Kt(n,["tfdt"])[0],l=new DataView(u.buffer,u.byteOffset,u.byteLength);return"bigint"==typeof(r=1===u[0]?dn(u.subarray(4,12)):l.getUint32(4))?i=r/nn.BigInt(s):"number"!=typeof r||isNaN(r)||(i=r/s),i<Number.MAX_SAFE_INTEGER&&(i=Number(i)),i<t&&(t=i),t}),1/0);return"bigint"==typeof n||isFinite(n)?n:0},zt=function(e){var t=0===e[0]?12:20;return ln(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])},Ut=function(e){var t=Kt(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,i={},o=Kt(e,["tkhd"])[0];o&&(r=(t=new DataView(o.buffer,o.byteOffset,o.byteLength)).getUint8(0),i.id=0===r?t.getUint32(12):t.getUint32(20));var a=Kt(e,["mdia","hdlr"])[0];if(a){var s=Yt(a.subarray(8,12));i.type="vide"===s?"video":"soun"===s?"audio":s}var u=Kt(e,["mdia","minf","stbl","stsd"])[0];if(u){var l=u.subarray(8);i.codec=Yt(l.subarray(4,8));var c,d=Kt(l,[i.codec])[0];d&&(/^[asm]vc[1-9]$/i.test(i.codec)?(c=d.subarray(78),"avcC"===Yt(c.subarray(4,8))&&c.length>11?(i.codec+=".",i.codec+=cn(c[9]),i.codec+=cn(c[10]),i.codec+=cn(c[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)?(c=d.subarray(28),"esds"===Yt(c.subarray(4,8))&&c.length>20&&0!==c[19]?(i.codec+="."+cn(c[19]),i.codec+="."+cn(c[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"):i.codec=i.codec.toLowerCase())}var f=Kt(e,["mdia","mdhd"])[0];f&&(i.timescale=zt(f)),n.push(i)})),n};var fn=Bt,pn=Ut,hn=function(e){var t=31&e[1];return t<<=8,t|=e[2]},mn=function(e){return!!(64&e[1])},vn=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},gn=function(e){switch(e){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}},yn={parseType:function(e,t){var n=hn(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=mn(e),n=4+vn(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=mn(e),r=4+vn(e);if(n&&(r+=e[r]+1),1&e[r+5]){var i;i=3+((15&e[r+1])<<8|e[r+2])-4;for(var o=12+((15&e[r+10])<<8|e[r+11]);o<i;){var a=r+o;t[(31&e[a+1])<<8|e[a+2]]=e[a],o+=5+((15&e[a+3])<<8|e[a+4])}return t}},parsePayloadUnitStartIndicator:mn,parsePesType:function(e,t){switch(t[hn(e)]){case We.H264_STREAM_TYPE:return"video";case We.ADTS_STREAM_TYPE:return"audio";case We.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!mn(e))return null;var t=4+vn(e);if(t>=e.byteLength)return null;var n,r=null;return 192&(n=e[t+7])&&((r={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,r.pts*=4,r.pts+=(6&e[t+13])>>>1,r.dts=r.pts,64&n&&(r.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,r.dts*=4,r.dts+=(6&e[t+18])>>>1)),r},videoPacketContainsKeyFrame:function(e){for(var t=4+vn(e),n=e.subarray(t),r=0,i=0,o=!1;i<n.byteLength-3;i++)if(1===n[i+2]){r=i+5;break}for(;r<n.byteLength;)switch(n[r]){case 0:if(0!==n[r-1]){r+=2;break}if(0!==n[r-2]){r++;break}i+3!==r-2&&"slice_layer_without_partitioning_rbsp_idr"===gn(31&n[i+3])&&(o=!0);do{r++}while(1!==n[r]&&r<n.length);i=r-2,r+=3;break;case 1:if(0!==n[r-1]||0!==n[r-2]){r+=3;break}"slice_layer_without_partitioning_rbsp_idr"===gn(31&n[i+3])&&(o=!0),i=r-2,r+=3;break;default:r+=3}return n=n.subarray(i),r-=i,i=0,n&&n.byteLength>3&&"slice_layer_without_partitioning_rbsp_idr"===gn(31&n[i+3])&&(o=!0),o}},bn=Ze,_n={};_n.ts=yn,_n.aac=St;var wn=he,kn=188,En=71,xn=function(e,t,n){for(var r,i,o,a,s=0,u=kn,l=!1;u<=e.byteLength;)if(e[s]!==En||e[u]!==En&&u!==e.byteLength)s++,u++;else{if(r=e.subarray(s,u),"pes"===_n.ts.parseType(r,t.pid))i=_n.ts.parsePesType(r,t.table),o=_n.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&o&&(a=_n.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),l=!0);if(l)break;s+=kn,u+=kn}for(s=(u=e.byteLength)-kn,l=!1;s>=0;)if(e[s]!==En||e[u]!==En&&u!==e.byteLength)s--,u--;else{if(r=e.subarray(s,u),"pes"===_n.ts.parseType(r,t.pid))i=_n.ts.parsePesType(r,t.table),o=_n.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&o&&(a=_n.ts.parsePesTime(r))&&(a.type="audio",n.audio.push(a),l=!0);if(l)break;s-=kn,u-=kn}},Sn=function(e,t,n){for(var r,i,o,a,s,u,l,c=0,d=kn,f=!1,p={data:[],size:0};d<e.byteLength;)if(e[c]!==En||e[d]!==En)c++,d++;else{if(r=e.subarray(c,d),"pes"===_n.ts.parseType(r,t.pid))if(i=_n.ts.parsePesType(r,t.table),o=_n.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(o&&!f&&(a=_n.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),f=!0),!n.firstKeyFrame)){if(o&&0!==p.size){for(s=new Uint8Array(p.size),u=0;p.data.length;)l=p.data.shift(),s.set(l,u),u+=l.byteLength;if(_n.ts.videoPacketContainsKeyFrame(s)){var h=_n.ts.parsePesTime(s);h?(n.firstKeyFrame=h,n.firstKeyFrame.type="video"):console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.")}p.size=0}p.data.push(r),p.size+=r.byteLength}if(f&&n.firstKeyFrame)break;c+=kn,d+=kn}for(c=(d=e.byteLength)-kn,f=!1;c>=0;)if(e[c]!==En||e[d]!==En)c--,d--;else{if(r=e.subarray(c,d),"pes"===_n.ts.parseType(r,t.pid))i=_n.ts.parsePesType(r,t.table),o=_n.ts.parsePayloadUnitStartIndicator(r),"video"===i&&o&&(a=_n.ts.parsePesTime(r))&&(a.type="video",n.video.push(a),f=!0);if(f)break;c-=kn,d-=kn}},Tn=function(e){var t={pid:null,table:null},n={};for(var r in function(e,t){for(var n,r=0,i=kn;i<e.byteLength;)if(e[r]!==En||e[i]!==En)r++,i++;else{switch(n=e.subarray(r,i),_n.ts.parseType(n,t.pid)){case"pat":t.pid=_n.ts.parsePat(n);break;case"pmt":var o=_n.ts.parsePmt(n);t.table=t.table||{},Object.keys(o).forEach((function(e){t.table[e]=o[e]}))}r+=kn,i+=kn}}(e,t),t.table){if(t.table.hasOwnProperty(r))switch(t.table[r]){case We.H264_STREAM_TYPE:n.video=[],Sn(e,t,n),0===n.video.length&&delete n.video;break;case We.ADTS_STREAM_TYPE:n.audio=[],xn(e,t,n),0===n.audio.length&&delete n.audio}}return n},Cn=function(e,t){var n;return n=_n.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,i=null,o=null,a=0,s=0;e.length-s>=3;){switch(_n.aac.parseType(e,s)){case"timed-metadata":if(e.length-s<10){n=!0;break}if((a=_n.aac.parseId3TagSize(e,s))>e.length){n=!0;break}null===o&&(t=e.subarray(s,s+a),o=_n.aac.parseAacTimestamp(t)),s+=a;break;case"audio":if(e.length-s<7){n=!0;break}if((a=_n.aac.parseAdtsSize(e,s))>e.length){n=!0;break}null===i&&(t=e.subarray(s,s+a),i=_n.aac.parseSampleRate(t)),r++,s+=a;break;default:s++}if(n)return null}if(null===i||null===o)return null;var u=wn/i;return{audio:[{type:"audio",dts:o,pts:o},{type:"audio",dts:o+1024*r*u,pts:o+1024*r*u}]}}(e):Tn(e),n&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;(void 0===n||isNaN(n))&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=bn(e.dts,n),e.pts=bn(e.pts,n),e.dtsTime=e.dts/wn,e.ptsTime=e.pts/wn}))}if(e.video&&e.video.length){var r=t;if((void 0===r||isNaN(r))&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=bn(e.dts,r),e.pts=bn(e.pts,r),e.dtsTime=e.dts/wn,e.ptsTime=e.pts/wn})),e.firstKeyFrame){var i=e.firstKeyFrame;i.dts=bn(i.dts,r),i.pts=bn(i.pts,r),i.dtsTime=i.dts/wn,i.ptsTime=i.pts/wn}}}(n,t),n):null},An=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Ht.Transmuxer(this.options),function(e,t){t.on("data",(function(t){var n=t.initSegment;t.initSegment={data:n.buffer,byteOffset:n.byteOffset,byteLength:n.byteLength};var r=t.data;t.data=r.buffer,e.postMessage({action:"data",segment:t,byteOffset:r.byteOffset,byteLength:r.byteLength},[t.data])})),t.on("done",(function(t){e.postMessage({action:"done"})})),t.on("gopInfo",(function(t){e.postMessage({action:"gopInfo",gopInfo:t})})),t.on("videoSegmentTimingInfo",(function(t){var n={start:{decode:ve(t.start.dts),presentation:ve(t.start.pts)},end:{decode:ve(t.end.dts),presentation:ve(t.end.pts)},baseMediaDecodeTime:ve(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=ve(t.prependedContentDuration)),e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:n})})),t.on("audioSegmentTimingInfo",(function(t){var n={start:{decode:ve(t.start.dts),presentation:ve(t.start.pts)},end:{decode:ve(t.end.dts),presentation:ve(t.end.pts)},baseMediaDecodeTime:ve(t.baseMediaDecodeTime)};t.prependedContentDuration&&(n.prependedContentDuration=ve(t.prependedContentDuration)),e.postMessage({action:"audioSegmentTimingInfo",audioSegmentTimingInfo:n})})),t.on("id3Frame",(function(t){e.postMessage({action:"id3Frame",id3Frame:t})})),t.on("caption",(function(t){e.postMessage({action:"caption",caption:t})})),t.on("trackinfo",(function(t){e.postMessage({action:"trackinfo",trackInfo:t})})),t.on("audioTimingInfo",(function(t){e.postMessage({action:"audioTimingInfo",audioTimingInfo:{start:ve(t.start),end:ve(t.end)}})})),t.on("videoTimingInfo",(function(t){e.postMessage({action:"videoTimingInfo",videoTimingInfo:{start:ve(t.start),end:ve(t.end)}})})),t.on("log",(function(t){e.postMessage({action:"log",log:t})}))}(this.self,this.transmuxer)},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new un,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),n=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:"mp4Captions",captions:n&&n.captions||[],logs:n&&n.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,n=e.data,r=fn(t,n);this.self.postMessage({action:"probeMp4StartTime",startTime:r,data:n},[n.buffer])},t.probeMp4Tracks=function(e){var t=e.data,n=pn(t);this.self.postMessage({action:"probeMp4Tracks",tracks:n,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,n=e.baseStartTime,r="number"!=typeof n||isNaN(n)?void 0:n*he,i=Cn(t,r),o=null;i&&((o={hasVideo:i.video&&2===i.video.length||!1,hasAudio:i.audio&&2===i.audio.length||!1}).hasVideo&&(o.videoStart=i.video[0].ptsTime),o.hasAudio&&(o.audioStart=i.audio[0].ptsTime)),this.self.postMessage({action:"probeTs",result:o,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(me(t)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(me(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:"done",type:"transmuxed"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:"endedtimeline",type:"transmuxed"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){"init"===e.data.action&&e.data.options?this.messageHandlers=new An(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new An(self)),e.data&&e.data.action&&"init"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}}))),hu=cu(pu),mu=function(e){var t=e.transmuxer,n=e.bytes,r=e.audioAppendStart,i=e.gopsToAlignWith,o=e.remux,a=e.onData,s=e.onTrackInfo,u=e.onAudioTimingInfo,l=e.onVideoTimingInfo,c=e.onVideoSegmentTimingInfo,d=e.onAudioSegmentTimingInfo,f=e.onId3,p=e.onCaptions,h=e.onDone,m=e.onEndedTimeline,v=e.onTransmuxerLog,g=e.isEndOfTimeline,y={buffer:[]},b=g;if(t.onmessage=function(n){t.currentTransmux===e&&("data"===n.data.action&&function(e,t,n){var r=e.data.segment,i=r.type,o=r.initSegment,a=r.captions,s=r.captionStreams,u=r.metadata,l=r.videoFrameDtsTime,c=r.videoFramePtsTime;t.buffer.push({captions:a,captionStreams:s,metadata:u});var d=e.data.segment.boxes||{data:e.data.segment.data},f={type:i,data:new Uint8Array(d.data,d.data.byteOffset,d.data.byteLength),initSegment:new Uint8Array(o.data,o.byteOffset,o.byteLength)};void 0!==l&&(f.videoFrameDtsTime=l),void 0!==c&&(f.videoFramePtsTime=c),n(f)}(n,y,a),"trackinfo"===n.data.action&&s(n.data.trackInfo),"gopInfo"===n.data.action&&function(e,t){t.gopInfo=e.data.gopInfo}(n,y),"audioTimingInfo"===n.data.action&&u(n.data.audioTimingInfo),"videoTimingInfo"===n.data.action&&l(n.data.videoTimingInfo),"videoSegmentTimingInfo"===n.data.action&&c(n.data.videoSegmentTimingInfo),"audioSegmentTimingInfo"===n.data.action&&d(n.data.audioSegmentTimingInfo),"id3Frame"===n.data.action&&f([n.data.id3Frame],n.data.id3Frame.dispatchType),"caption"===n.data.action&&p(n.data.caption),"endedtimeline"===n.data.action&&(b=!1,m()),"log"===n.data.action&&v(n.data.log),"transmuxed"===n.data.type&&(b||(t.onmessage=null,function(e){var t=e.transmuxedData,n=e.callback;t.buffer=[],n(t)}({transmuxedData:y,callback:h}),vu(t))))},r&&t.postMessage({action:"setAudioAppendStart",appendStart:r}),Array.isArray(i)&&t.postMessage({action:"alignGopsWith",gopsToAlignWith:i}),void 0!==o&&t.postMessage({action:"setRemux",remux:o}),n.byteLength){var _=n instanceof ArrayBuffer?n:n.buffer,w=n instanceof ArrayBuffer?0:n.byteOffset;t.postMessage({action:"push",data:_,byteOffset:w,byteLength:n.byteLength},[_])}g&&t.postMessage({action:"endTimeline"}),t.postMessage({action:"flush"})},vu=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),"function"==typeof e.currentTransmux?e.currentTransmux():mu(e.currentTransmux))},gu=function(e,t){e.postMessage({action:t}),vu(e)},yu=function(e,t){if(!t.currentTransmux)return t.currentTransmux=e,void gu(t,e);t.transmuxQueue.push(gu.bind(null,t,e))},bu=function(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void mu(e);e.transmuxer.transmuxQueue.push(e)},_u=function(e){yu("reset",e)},wu=function(e){var t=new hu;t.currentTransmux=null,t.transmuxQueue=[];var n=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,n.call(t)},t.postMessage({action:"init",options:e}),t},ku=function(e){var t=e.transmuxer,n=e.endAction||e.action,r=e.callback,i=s({},e,{endAction:null,transmuxer:null,callback:null});if(t.addEventListener("message",(function i(o){o.data.action===n&&(t.removeEventListener("message",i),o.data.data&&(o.data.data=new Uint8Array(o.data.data,e.byteOffset||0,e.byteLength||o.data.data.byteLength),e.data&&(e.data=o.data.data)),r(o.data))})),e.data){var o=e.data instanceof ArrayBuffer;i.byteOffset=o?0:e.data.byteOffset,i.byteLength=e.data.byteLength;var a=[o?e.data:e.data.buffer];t.postMessage(i,a)}else t.postMessage(i)},Eu=2,xu=-101,Su=-102,Tu=function(e){e.forEach((function(e){e.abort()}))},Cu=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:xu,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:Su,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Eu,xhr:t}:"arraybuffer"===t.responseType&&0===t.response.byteLength?{status:t.status,message:"Empty HLS response at URL: "+t.uri,code:Eu,xhr:t}:null},Au=function(e,t,n){return function(r,i){var o=i.response,a=Cu(r,i);if(a)return n(a,e);if(16!==o.byteLength)return n({status:i.status,message:"Invalid HLS key at URL: "+i.uri,code:Eu,xhr:i},e);for(var s=new DataView(o),u=new Uint32Array([s.getUint32(0),s.getUint32(4),s.getUint32(8),s.getUint32(12)]),l=0;l<t.length;l++)t[l].bytes=u;return n(null,e)}},Ou=function(e,t){var n=Ot(e.map.bytes);if("mp4"!==n){var r=e.map.resolvedUri||e.map.uri;return t({internal:!0,message:"Found unsupported "+(n||"unknown")+" container for initialization segment at URL: "+r,code:Eu})}ku({action:"probeMp4Tracks",data:e.map.bytes,transmuxer:e.transmuxer,callback:function(n){var r=n.tracks,i=n.data;return e.map.bytes=i,r.forEach((function(t){e.map.tracks=e.map.tracks||{},e.map.tracks[t.type]||(e.map.tracks[t.type]=t,"number"==typeof t.id&&t.timescale&&(e.map.timescales=e.map.timescales||{},e.map.timescales[t.id]=t.timescale))})),t(null)}})},Nu=function(e){var t=e.segment,n=e.finishProcessingFn,r=e.responseType;return function(e,i){var o=Cu(e,i);if(o)return n(o,t);var a="arraybuffer"!==r&&i.responseText?function(e){for(var t=new Uint8Array(new ArrayBuffer(e.length)),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t.buffer}(i.responseText.substring(t.lastReachedChar||0)):i.response;return t.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(i),t.key?t.encryptedBytes=new Uint8Array(a):t.bytes=new Uint8Array(a),n(null,t)}},Pu=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,i=e.timingInfoFn,o=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,f=e.doneFn,p=e.onTransmuxerLog,h=t.map&&t.map.tracks||{},m=Boolean(h.audio&&h.video),v=i.bind(null,t,"audio","start"),g=i.bind(null,t,"audio","end"),y=i.bind(null,t,"video","start"),b=i.bind(null,t,"video","end");ku({action:"probeTs",transmuxer:t.transmuxer,data:n,baseStartTime:t.baseStartTime,callback:function(e){t.bytes=n=e.data;var i=e.result;i&&(r(t,{hasAudio:i.hasAudio,hasVideo:i.hasVideo,isMuxed:m}),r=null,i.hasAudio&&!m&&v(i.audioStart),i.hasVideo&&y(i.videoStart),v=null,y=null),bu({bytes:n,transmuxer:t.transmuxer,audioAppendStart:t.audioAppendStart,gopsToAlignWith:t.gopsToAlignWith,remux:m,onData:function(e){e.type="combined"===e.type?"video":e.type,d(t,e)},onTrackInfo:function(e){r&&(m&&(e.isMuxed=!0),r(t,e))},onAudioTimingInfo:function(e){v&&void 0!==e.start&&(v(e.start),v=null),g&&void 0!==e.end&&g(e.end)},onVideoTimingInfo:function(e){y&&void 0!==e.start&&(y(e.start),y=null),b&&void 0!==e.end&&b(e.end)},onVideoSegmentTimingInfo:function(e){o(e)},onAudioSegmentTimingInfo:function(e){a(e)},onId3:function(e,n){s(t,e,n)},onCaptions:function(e){u(t,[e])},isEndOfTimeline:l,onEndedTimeline:function(){c()},onTransmuxerLog:p,onDone:function(e){f&&(e.type="combined"===e.type?"video":e.type,f(null,t,e))}})}})},Iu=function(e){var t=e.segment,n=e.bytes,r=e.trackInfoFn,i=e.timingInfoFn,o=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,f=e.doneFn,p=e.onTransmuxerLog,h=new Uint8Array(n);if(function(e){return ft(e,["moof"]).length>0}(h)){t.isFmp4=!0;var m=t.map.tracks,v={isFmp4:!0,hasVideo:!!m.video,hasAudio:!!m.audio};m.audio&&m.audio.codec&&"enca"!==m.audio.codec&&(v.audioCodec=m.audio.codec),m.video&&m.video.codec&&"encv"!==m.video.codec&&(v.videoCodec=m.video.codec),m.video&&m.audio&&(v.isMuxed=!0),r(t,v);var g=function(e){d(t,{data:h,type:v.hasAudio&&!v.isMuxed?"audio":"video"}),e&&e.length&&u(t,e),f(null,t,{})};ku({action:"probeMp4StartTime",timescales:t.map.timescales,data:h,transmuxer:t.transmuxer,callback:function(e){var r=e.data,o=e.startTime;n=r.buffer,t.bytes=h=r,v.hasAudio&&!v.isMuxed&&i(t,"audio","start",o),v.hasVideo&&i(t,"video","start",o),m.video&&r.byteLength&&t.transmuxer?ku({action:"pushMp4Captions",endAction:"mp4Captions",transmuxer:t.transmuxer,data:h,timescales:t.map.timescales,trackIds:[m.video.id],callback:function(e){n=e.data.buffer,t.bytes=h=e.data,e.logs.forEach((function(e){p(Wa.mergeOptions(e,{stream:"mp4CaptionParser"}))})),g(e.captions)}}):g()}})}else if(t.transmuxer){if(void 0===t.container&&(t.container=Ot(h)),"ts"!==t.container&&"aac"!==t.container)return r(t,{hasAudio:!1,hasVideo:!1}),void f(null,t,{});Pu({segment:t,bytes:n,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:o,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:u,isEndOfTimeline:l,endedTimelineFn:c,dataFn:d,doneFn:f,onTransmuxerLog:p})}else f(null,t,{})},Lu=function(e,t){var n,r=e.id,i=e.key,o=e.encryptedBytes,a=e.decryptionWorker;a.addEventListener("message",(function e(n){if(n.data.source===r){a.removeEventListener("message",e);var i=n.data.decrypted;t(new Uint8Array(i.bytes,i.byteOffset,i.byteLength))}})),n=i.bytes.slice?i.bytes.slice():new Uint32Array(Array.prototype.slice.call(i.bytes)),a.postMessage(Gs({source:r,encrypted:o,key:n,iv:i.iv}),[o.buffer,n.buffer])},Mu=function(e){var t=e.activeXhrs,n=e.decryptionWorker,r=e.trackInfoFn,i=e.timingInfoFn,o=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,f=e.doneFn,p=e.onTransmuxerLog,h=0,m=!1;return function(e,v){if(!m){if(e)return m=!0,Tu(t),f(e,v);if((h+=1)===t.length){var g=function(){if(v.encryptedBytes)return function(e){var t=e.decryptionWorker,n=e.segment,r=e.trackInfoFn,i=e.timingInfoFn,o=e.videoSegmentTimingInfoFn,a=e.audioSegmentTimingInfoFn,s=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,f=e.doneFn,p=e.onTransmuxerLog;Lu({id:n.requestId,key:n.key,encryptedBytes:n.encryptedBytes,decryptionWorker:t},(function(e){n.bytes=e,Iu({segment:n,bytes:n.bytes,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:o,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:u,isEndOfTimeline:l,endedTimelineFn:c,dataFn:d,doneFn:f,onTransmuxerLog:p})}))}({decryptionWorker:n,segment:v,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:o,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:u,isEndOfTimeline:l,endedTimelineFn:c,dataFn:d,doneFn:f,onTransmuxerLog:p});Iu({segment:v,bytes:v.bytes,trackInfoFn:r,timingInfoFn:i,videoSegmentTimingInfoFn:o,audioSegmentTimingInfoFn:a,id3Fn:s,captionsFn:u,isEndOfTimeline:l,endedTimelineFn:c,dataFn:d,doneFn:f,onTransmuxerLog:p})};if(v.endOfAllRequests=Date.now(),v.map&&v.map.encryptedBytes&&!v.map.bytes)return Lu({decryptionWorker:n,id:v.requestId+"-init",encryptedBytes:v.map.encryptedBytes,key:v.map.key},(function(e){v.map.bytes=e,Ou(v,(function(e){if(e)return Tu(t),f(e,v);g()}))}));g()}}}},Ru=function(e){var t=e.segment,n=e.progressFn;return e.trackInfoFn,e.timingInfoFn,e.videoSegmentTimingInfoFn,e.audioSegmentTimingInfoFn,e.id3Fn,e.captionsFn,e.isEndOfTimeline,e.endedTimelineFn,e.dataFn,function(e){if(!e.target.aborted)return t.stats=Wa.mergeOptions(t.stats,function(e){var t=e.target,n={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-t.requestTime||0};return n.bytesReceived=e.loaded,n.bandwidth=Math.floor(n.bytesReceived/n.roundTripTime*8*1e3),n}(e)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),n(e,t)}},Du=function(e){var t=e.xhr,n=e.xhrOptions,r=e.decryptionWorker,i=e.segment,o=e.abortFn,a=e.progressFn,s=e.trackInfoFn,u=e.timingInfoFn,l=e.videoSegmentTimingInfoFn,c=e.audioSegmentTimingInfoFn,d=e.id3Fn,f=e.captionsFn,p=e.isEndOfTimeline,h=e.endedTimelineFn,m=e.dataFn,v=e.doneFn,g=e.onTransmuxerLog,y=[],b=Mu({activeXhrs:y,decryptionWorker:r,trackInfoFn:s,timingInfoFn:u,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:f,isEndOfTimeline:p,endedTimelineFn:h,dataFn:m,doneFn:v,onTransmuxerLog:g});if(i.key&&!i.key.bytes){var _=[i.key];i.map&&!i.map.bytes&&i.map.key&&i.map.key.resolvedUri===i.key.resolvedUri&&_.push(i.map.key);var w=t(Wa.mergeOptions(n,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),Au(i,_,b));y.push(w)}if(i.map&&!i.map.bytes){if(i.map.key&&(!i.key||i.key.resolvedUri!==i.map.key.resolvedUri)){var k=t(Wa.mergeOptions(n,{uri:i.map.key.resolvedUri,responseType:"arraybuffer"}),Au(i,[i.map.key],b));y.push(k)}var E=Wa.mergeOptions(n,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:Hs(i.map)}),x=function(e){var t=e.segment,n=e.finishProcessingFn;return function(e,r){var i=Cu(e,r);if(i)return n(i,t);var o=new Uint8Array(r.response);if(t.map.key)return t.map.encryptedBytes=o,n(null,t);t.map.bytes=o,Ou(t,(function(e){if(e)return e.xhr=r,e.status=r.status,n(e,t);n(null,t)}))}}({segment:i,finishProcessingFn:b}),S=t(E,x);y.push(S)}var T=Wa.mergeOptions(n,{uri:i.part&&i.part.resolvedUri||i.resolvedUri,responseType:"arraybuffer",headers:Hs(i)}),C=t(T,Nu({segment:i,finishProcessingFn:b,responseType:T.responseType}));C.addEventListener("progress",Ru({segment:i,progressFn:a,trackInfoFn:s,timingInfoFn:u,videoSegmentTimingInfoFn:l,audioSegmentTimingInfoFn:c,id3Fn:d,captionsFn:f,isEndOfTimeline:p,endedTimelineFn:h,dataFn:m})),y.push(C);var A={};return y.forEach((function(e){e.addEventListener("loadend",function(e){var t=e.loadendState,n=e.abortFn;return function(e){e.target.aborted&&n&&!t.calledAbortFn&&(n(),t.calledAbortFn=!0)}}({loadendState:A,abortFn:o}))})),function(){return Tu(y)}},qu=$a("CodecUtils"),ju=function(e,t){var n=t.attributes||{};return e&&e.mediaGroups&&e.mediaGroups.AUDIO&&n.AUDIO&&e.mediaGroups.AUDIO[n.AUDIO]},Fu=function(e){var t={};return e.forEach((function(e){var n=e.mediaType,r=e.type,i=e.details;t[n]=t[n]||[],t[n].push(z(""+r+i))})),Object.keys(t).forEach((function(e){if(t[e].length>1)return qu("multiple "+e+" codecs found as attributes: "+t[e].join(", ")+". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs."),void(t[e]=null);t[e]=t[e][0]})),t},Bu=function(e){var t=0;return e.audio&&t++,e.video&&t++,t},Uu=function(e,t){var n=t.attributes||{},r=Fu(function(e){var t=e.attributes||{};if(t.CODECS)return H(t.CODECS)}(t)||[]);if(ju(e,t)&&!r.audio&&!function(e,t){if(!ju(e,t))return!0;var n=t.attributes||{},r=e.mediaGroups.AUDIO[n.AUDIO];for(var i in r)if(!r[i].uri&&!r[i].playlists)return!0;return!1}(e,t)){var i=Fu(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var n=e.mediaGroups.AUDIO[t];if(!n)return null;for(var r in n){var i=n[r];if(i.default&&i.playlists)return H(i.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[]);i.audio&&(r.audio=i.audio)}return r},zu=$a("PlaylistSelector"),Hu=function(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||""})}},Vu=function(e,t){if(!e)return"";var n=i().getComputedStyle(e);return n?n[t]:""},Wu=function(e,t){var n=e.slice();e.sort((function(e,r){var i=t(e,r);return 0===i?n.indexOf(e)-n.indexOf(r):i}))},Yu=function(e,t){var n,r;return e.attributes.BANDWIDTH&&(n=e.attributes.BANDWIDTH),n=n||i().Number.MAX_VALUE,t.attributes.BANDWIDTH&&(r=t.attributes.BANDWIDTH),n-(r=r||i().Number.MAX_VALUE)},Gu=function(e,t,n,r,o,a){if(e){var s={bandwidth:t,width:n,height:r,limitRenditionByPlayerDimensions:o},u=e.playlists;xs.isAudioOnly(e)&&(u=a.getAudioTrackPlaylists_(),s.audioOnly=!0);var l=u.map((function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height;return{bandwidth:e.attributes&&e.attributes.BANDWIDTH||i().Number.MAX_VALUE,width:t,height:n,playlist:e}}));Wu(l,(function(e,t){return e.bandwidth-t.bandwidth}));var c=(l=l.filter((function(e){return!xs.isIncompatible(e.playlist)}))).filter((function(e){return xs.isEnabled(e.playlist)}));c.length||(c=l.filter((function(e){return!xs.isDisabled(e.playlist)})));var d=c.filter((function(e){return e.bandwidth*uu.BANDWIDTH_VARIANCE<t})),f=d[d.length-1],p=d.filter((function(e){return e.bandwidth===f.bandwidth}))[0];if(!1===o){var h=p||c[0]||l[0];if(h&&h.playlist){var m="sortedPlaylistReps";return p&&(m="bandwidthBestRep"),c[0]&&(m="enabledPlaylistReps"),zu("choosing "+Hu(h)+" using "+m+" with options",s),h.playlist}return zu("could not choose a playlist with options",s),null}var v=d.filter((function(e){return e.width&&e.height}));Wu(v,(function(e,t){return e.width-t.width}));var g=v.filter((function(e){return e.width===n&&e.height===r}));f=g[g.length-1];var y,b,_,w,k=g.filter((function(e){return e.bandwidth===f.bandwidth}))[0];if(k||(b=(y=v.filter((function(e){return e.width>n||e.height>r}))).filter((function(e){return e.width===y[0].width&&e.height===y[0].height})),f=b[b.length-1],_=b.filter((function(e){return e.bandwidth===f.bandwidth}))[0]),a.experimentalLeastPixelDiffSelector){var E=v.map((function(e){return e.pixelDiff=Math.abs(e.width-n)+Math.abs(e.height-r),e}));Wu(E,(function(e,t){return e.pixelDiff===t.pixelDiff?t.bandwidth-e.bandwidth:e.pixelDiff-t.pixelDiff})),w=E[0]}var x=w||_||k||p||c[0]||l[0];if(x&&x.playlist){var S="sortedPlaylistReps";return w?S="leastPixelDiffRep":_?S="resolutionPlusOneRep":k?S="resolutionBestRep":p?S="bandwidthBestRep":c[0]&&(S="enabledPlaylistReps"),zu("choosing "+Hu(x)+" using "+S+" with options",s),x.playlist}return zu("could not choose a playlist with options",s),null}},Ku=function(){var e=this.useDevicePixelRatio&&i().devicePixelRatio||1;return Gu(this.playlists.master,this.systemBandwidth,parseInt(Vu(this.tech_.el(),"width"),10)*e,parseInt(Vu(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},Xu=function(e){var t=e.inbandTextTracks,n=e.metadataArray,r=e.timestampOffset,o=e.videoDuration;if(n){var a=i().WebKitDataCue||i().VTTCue,s=t.metadataTrack_;if(s&&(n.forEach((function(e){var t=e.cueTime+r;!("number"!=typeof t||i().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((function(e){var n=new a(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return Wa.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return Wa.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return Wa.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(n),s.addCue(n)}))})),s.cues&&s.cues.length)){for(var u=s.cues,l=[],c=0;c<u.length;c++)u[c]&&l.push(u[c]);var d=l.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),f=Object.keys(d).sort((function(e,t){return Number(e)-Number(t)}));f.forEach((function(e,t){var n=d[e],r=Number(f[t+1])||o;n.forEach((function(e){e.endTime=r}))}))}}},$u=function(e,t,n){var r,i;if(n&&n.cues)for(r=n.cues.length;r--;)(i=n.cues[r]).startTime>=e&&i.endTime<=t&&n.removeCue(i)},Zu=function(e){return"number"==typeof e&&isFinite(e)},Qu=1/60,Ju=function(e){var t=e.startOfSegment,n=e.duration,r=e.segment,i=e.part,o=e.playlist,a=o.mediaSequence,s=o.id,u=o.segments,l=void 0===u?[]:u,c=e.mediaIndex,d=e.partIndex,f=e.timeline,p=l.length-1,h="mediaIndex/partIndex increment";e.getMediaInfoForTime?h="getMediaInfoForTime ("+e.getMediaInfoForTime+")":e.isSyncRequest&&(h="getSyncSegmentCandidate (isSyncRequest)"),e.independent&&(h+=" with independent "+e.independent);var m="number"==typeof d,v=e.segment.uri?"segment":"pre-segment",g=m?cs({preloadSegment:r})-1:0;return v+" ["+(a+c)+"/"+(a+p)+"]"+(m?" part ["+d+"/"+g+"]":"")+" segment start/end ["+r.start+" => "+r.end+"]"+(m?" part start/end ["+i.start+" => "+i.end+"]":"")+" startOfSegment ["+t+"] duration ["+n+"] timeline ["+f+"] selected by ["+h+"] playlist ["+s+"]"},el=function(e){return e+"TimingInfo"},tl=function(e){var t=e.timelineChangeController,n=e.currentTimeline,r=e.segmentTimeline,i=e.loaderType,o=e.audioDisabled;if(n===r)return!1;if("audio"===i){var a=t.lastTimelineChange({type:"main"});return!a||a.to!==r}if("main"===i&&o){var s=t.pendingTimelineChange({type:"audio"});return!s||s.to!==r}return!1},nl=function(e){var t=e.segmentDuration,n=e.maxDuration;return!!t&&Math.round(t)>n+Za},rl=function(e,t){if("hls"!==t)return null;var n,r,o=(n={audioTimingInfo:e.audioTimingInfo,videoTimingInfo:e.videoTimingInfo},r=0,["video","audio"].forEach((function(e){var t=n[e+"TimingInfo"];if(t){var o,a=t.start,s=t.end;"bigint"==typeof a||"bigint"==typeof s?o=i().BigInt(s)-i().BigInt(a):"number"==typeof a&&"number"==typeof s&&(o=s-a),void 0!==o&&o>r&&(r=o)}})),"bigint"==typeof r&&r<Number.MAX_SAFE_INTEGER&&(r=Number(r)),r);if(!o)return null;var a=e.playlist.targetDuration,s=nl({segmentDuration:o,maxDuration:2*a}),u=nl({segmentDuration:o,maxDuration:a}),l="Segment with index "+e.mediaIndex+" from playlist "+e.playlist.id+" has a duration of "+o+" when the reported duration is "+e.duration+" and the target duration is "+a+". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1";return s||u?{severity:s?"warn":"info",message:l}:null},il=function(e){function t(t,n){var r;if(r=e.call(this)||this,!t)throw new TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");return r.bandwidth=t.bandwidth,r.throughput={rate:0,count:0},r.roundTrip=NaN,r.resetStats_(),r.mediaIndex=null,r.partIndex=null,r.hasPlayed_=t.hasPlayed,r.currentTime_=t.currentTime,r.seekable_=t.seekable,r.seeking_=t.seeking,r.duration_=t.duration,r.mediaSource_=t.mediaSource,r.vhs_=t.vhs,r.loaderType_=t.loaderType,r.currentMediaInfo_=void 0,r.startingMediaInfo_=void 0,r.segmentMetadataTrack_=t.segmentMetadataTrack,r.goalBufferLength_=t.goalBufferLength,r.sourceType_=t.sourceType,r.sourceUpdater_=t.sourceUpdater,r.inbandTextTracks_=t.inbandTextTracks,r.state_="INIT",r.timelineChangeController_=t.timelineChangeController,r.shouldSaveSegmentTimingInfo_=!0,r.parse708captions_=t.parse708captions,r.useDtsForTimestampOffset_=t.useDtsForTimestampOffset,r.captionServices_=t.captionServices,r.experimentalExactManifestTimings=t.experimentalExactManifestTimings,r.checkBufferTimeout_=null,r.error_=void 0,r.currentTimeline_=-1,r.pendingSegment_=null,r.xhrOptions_=null,r.pendingSegments_=[],r.audioDisabled_=!1,r.isPendingTimestampOffset_=!1,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=Wa.browser.IE_VERSION>=11,r.appendInitSegment_={audio:!0,video:!0},r.playlistOfLastInitSegment_={audio:null,video:null},r.callQueue_=[],r.loadQueue_=[],r.metadataQueue_={id3:[],caption:[]},r.waitingOnRemove_=!1,r.quotaExceededErrorRetryTimeout_=null,r.activeInitSegmentId_=null,r.initSegments_={},r.cacheEncryptionKeys_=t.cacheEncryptionKeys,r.keyCache_={},r.decrypter_=t.decrypter,r.syncController_=t.syncController,r.syncPoint_={segmentIndex:0,time:0},r.transmuxer_=r.createTransmuxer_(),r.triggerSyncInfoUpdate_=function(){return r.trigger("syncinfoupdate")},r.syncController_.on("syncinfoupdate",r.triggerSyncInfoUpdate_),r.mediaSource_.addEventListener("sourceopen",(function(){r.isEndOfStream_()||(r.ended_=!1)})),r.fetchAtBuffer_=!1,r.logger_=$a("SegmentLoader["+r.loaderType_+"]"),Object.defineProperty(c(r),"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e,this.trigger("statechange"))}}),r.sourceUpdater_.on("ready",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"main"===r.loaderType_&&r.timelineChangeController_.on("pendingtimelinechange",(function(){r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),"audio"===r.loaderType_&&r.timelineChangeController_.on("timelinechange",(function(){r.hasEnoughInfoToLoad_()&&r.processLoadQueue_(),r.hasEnoughInfoToAppend_()&&r.processCallQueue_()})),r}f(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return wu({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_,captionServices:this.captionServices_})},n.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},n.dispose=function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()},n.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},n.abort=function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},n.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,i().clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},n.checkForAbort_=function(e){return"APPENDING"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state="READY",!0)},n.error=function(e){return void 0!==e&&(this.logger_("error occurred:",e),this.error_=e),this.pendingSegment_=null,this.error_},n.endOfStream=function(){this.ended_=!0,this.transmuxer_&&_u(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger("ended")},n.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Wa.createTimeRanges();if("main"===this.loaderType_){var t=e.hasAudio,n=e.hasVideo,r=e.isMuxed;if(n&&t&&!this.audioDisabled_&&!r)return this.sourceUpdater_.buffered();if(n)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ks(e),r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),r||e},n.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Xs(e),r=this.keyCache_[n];this.cacheEncryptionKeys_&&t&&!r&&e.bytes&&(this.keyCache_[n]=r={resolvedUri:e.resolvedUri,bytes:e.bytes});var i={resolvedUri:(r||e).resolvedUri};return r&&(i.bytes=r.bytes),i},n.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},n.load=function(){if(this.monitorBuffer_(),this.playlist_)return"INIT"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY"))},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.playlist=function(e,t){if(void 0===t&&(t={}),e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},"main"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var i=null;if(n&&(n.id?i=n.id:n.uri&&(i=n.uri)),this.logger_("playlist update ["+i+" => "+(e.id||e.uri)+"]"),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();if(!n||n.uri!==e.uri)return null!==this.mediaIndex&&(e.endList?this.resyncLoader():this.resetLoader()),this.currentMediaInfo_=void 0,void this.trigger("playlistupdate");var o=e.mediaSequence-n.mediaSequence;if(this.logger_("live window shift ["+o+"]"),null!==this.mediaIndex)if(this.mediaIndex-=o,this.mediaIndex<0)this.mediaIndex=null,this.partIndex=null;else{var a=this.playlist_.segments[this.mediaIndex];if(this.partIndex&&(!a.parts||!a.parts.length||!a.parts[this.partIndex])){var s=this.mediaIndex;this.logger_("currently processing part (index "+this.partIndex+") no longer exists."),this.resetLoader(),this.mediaIndex=s}}r&&(r.mediaIndex-=o,r.mediaIndex<0?(r.mediaIndex=null,r.partIndex=null):(r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex]),r.partIndex>=0&&r.segment.parts&&(r.part=r.segment.parts[r.partIndex]))),this.syncController_.saveExpiredSegmentInfo(n,e)}},n.pause=function(){this.checkBufferTimeout_&&(i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},n.paused=function(){return null===this.checkBufferTimeout_},n.resetEverything=function(e){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&(this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.transmuxer_.postMessage({action:"reset"}))},n.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},n.resyncLoader=function(){this.transmuxer_&&_u(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})},n.remove=function(e,t,n,r){if(void 0===n&&(n=function(){}),void 0===r&&(r=!1),t===1/0&&(t=this.duration_()),t<=e)this.logger_("skipping remove because end ${end} is <= start ${start}");else if(this.sourceUpdater_&&this.getMediaInfo_()){var i=1,o=function(){0===--i&&n()};for(var a in!r&&this.audioDisabled_||(i++,this.sourceUpdater_.removeAudio(e,t,o)),(r||"main"===this.loaderType_)&&(this.gopBuffer_=function(e,t,n,r){for(var i=Math.ceil((t-r)*Nt.ONE_SECOND_IN_TS),o=Math.ceil((n-r)*Nt.ONE_SECOND_IN_TS),a=e.slice(),s=e.length;s--&&!(e[s].pts<=o););if(-1===s)return a;for(var u=s+1;u--&&!(e[u].pts<=i););return u=Math.max(u,0),a.splice(u,s-u+1),a}(this.gopBuffer_,e,t,this.timeMapping_),i++,this.sourceUpdater_.removeVideo(e,t,o)),this.inbandTextTracks_)$u(e,t,this.inbandTextTracks_[a]);$u(e,t,this.segmentMetadataTrack_),o()}else this.logger_("skipping remove because no source updater or starting media info")},n.monitorBuffer_=function(){this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),1)},n.monitorBufferTick_=function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),500)},n.fillBuffer_=function(){if(!this.sourceUpdater_.updating()){var e=this.chooseNextRequest_();e&&("number"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))}},n.isEndOfStream_=function(e,t,n){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===n&&(n=this.partIndex),!t||!this.mediaSource_)return!1;var r="number"==typeof e&&t.segments[e],i=e+1===t.segments.length,o=!r||!r.parts||n+1===r.parts.length;return t.endList&&"open"===this.mediaSource_.readyState&&i&&o},n.chooseNextRequest_=function(){var e=this.buffered_(),t=is(e)||0,n=os(e,this.currentTime_()),r=!this.hasPlayed_()&&n>=1,i=n>=this.goalBufferLength_(),o=this.playlist_.segments;if(!o.length||r||i)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());var a={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};if(a.isSyncRequest)a.mediaIndex=function(e,t,n){t=t||[];for(var r=[],i=0,o=0;o<t.length;o++){var a=t[o];if(e===a.timeline&&(r.push(o),(i+=a.duration)>n))return o}return 0===r.length?0:r[r.length-1]}(this.currentTimeline_,o,t);else if(null!==this.mediaIndex){var s=o[this.mediaIndex],u="number"==typeof this.partIndex?this.partIndex:-1;a.startOfSegment=s.end?s.end:t,s.parts&&s.parts[u+1]?(a.mediaIndex=this.mediaIndex,a.partIndex=u+1):a.mediaIndex=this.mediaIndex+1}else{var l=xs.getMediaInfoForTime({experimentalExactManifestTimings:this.experimentalExactManifestTimings,playlist:this.playlist_,currentTime:this.fetchAtBuffer_?t:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time}),c=l.segmentIndex,d=l.startTime,f=l.partIndex;a.getMediaInfoForTime=this.fetchAtBuffer_?"bufferedEnd "+t:"currentTime "+this.currentTime_(),a.mediaIndex=c,a.startOfSegment=d,a.partIndex=f}var p=o[a.mediaIndex],h=p&&"number"==typeof a.partIndex&&p.parts&&p.parts[a.partIndex];if(!p||"number"==typeof a.partIndex&&!h)return null;if("number"!=typeof a.partIndex&&p.parts&&(a.partIndex=0,h=p.parts[0]),!n&&h&&!h.independent)if(0===a.partIndex){var m=o[a.mediaIndex-1],v=m.parts&&m.parts.length&&m.parts[m.parts.length-1];v&&v.independent&&(a.mediaIndex-=1,a.partIndex=m.parts.length-1,a.independent="previous segment")}else p.parts[a.partIndex-1].independent&&(a.partIndex-=1,a.independent="previous part");var g=this.mediaSource_&&"ended"===this.mediaSource_.readyState;return a.mediaIndex>=o.length-1&&g&&!this.seeking_()?null:this.generateSegmentInfo_(a)},n.generateSegmentInfo_=function(e){var t=e.independent,n=e.playlist,r=e.mediaIndex,i=e.startOfSegment,o=e.isSyncRequest,a=e.partIndex,s=e.forceTimestampOffset,u=e.getMediaInfoForTime,l=n.segments[r],c="number"==typeof a&&l.parts[a],d={requestId:"segment-loader-"+Math.random(),uri:c&&c.resolvedUri||l.resolvedUri,mediaIndex:r,partIndex:c?a:null,isSyncRequest:o,startOfSegment:i,playlist:n,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:l.timeline,duration:c&&c.duration||l.duration,segment:l,part:c,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:u,independent:t},f=void 0!==s?s:this.isPendingTimestampOffset_;d.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:l.timeline,currentTimeline:this.currentTimeline_,startOfSegment:i,buffered:this.buffered_(),overrideCheck:f});var p=is(this.sourceUpdater_.audioBuffered());return"number"==typeof p&&(d.audioAppendStart=p-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(d.gopsToAlignWith=function(e,t,n){if(null==t||!e.length)return[];var r,i=Math.ceil((t-n+3)*Nt.ONE_SECOND_IN_TS);for(r=0;r<e.length&&!(e[r].pts>i);r++);return e.slice(r)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),d},n.timestampOffsetForSegment_=function(e){return n=(t=e).segmentTimeline,r=t.currentTimeline,i=t.startOfSegment,o=t.buffered,t.overrideCheck||n!==r?n<r?i:o.length?o.end(o.length-1):i:null;var t,n,r,i,o},n.earlyAbortWhenNeeded_=function(e){if(!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&!(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)){var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,i=xs.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),o=function(e,t,n){return void 0===n&&(n=1),((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.vhs_.tech_.playbackRate())-1;if(!(i<=o)){var a=function(e){var t=e.master,n=e.currentTime,r=e.bandwidth,i=e.duration,o=e.segmentDuration,a=e.timeUntilRebuffer,s=e.currentTimeline,u=e.syncController,l=t.playlists.filter((function(e){return!xs.isIncompatible(e)})),c=l.filter(xs.isEnabled);c.length||(c=l.filter((function(e){return!xs.isDisabled(e)})));var d=c.filter(xs.hasAttribute.bind(null,"BANDWIDTH")).map((function(e){var t=u.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:xs.estimateSegmentRequestTime(o,r,e)*t-a}})),f=d.filter((function(e){return e.rebufferingImpact<=0}));return Wu(f,(function(e,t){return Yu(t.playlist,e.playlist)})),f.length?f[0]:(Wu(d,(function(e,t){return e.rebufferingImpact-t.rebufferingImpact})),d[0]||null)}({master:this.vhs_.playlists.master,currentTime:t,bandwidth:n,duration:this.duration_(),segmentDuration:r,timeUntilRebuffer:o,currentTimeline:this.currentTimeline_,syncController:this.syncController_});if(a){var s=i-o-a.rebufferingImpact,u=.5;o<=Za&&(u=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<u||(this.bandwidth=a.playlist.attributes.BANDWIDTH*uu.BANDWIDTH_VARIANCE+1,this.trigger("earlyabort"))}}}},n.handleAbort_=function(e){this.logger_("Aborting "+Ju(e)),this.mediaRequestsAborted+=1},n.handleProgress_=function(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger("progress")},n.handleTrackInfo_=function(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(t=t||{},function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;var n=Object.keys(e).sort(),r=Object.keys(t).sort();if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(o!==r[i])return!1;if(e[o]!==t[o])return!1}return!0}(this.currentMediaInfo_,t)||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_("trackinfo update",t),this.trigger("trackinfo")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},n.handleTimingInfo_=function(e,t,n,r){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId)){var i=this.pendingSegment_,o=el(t);i[o]=i[o]||{},i[o][n]=r,this.logger_("timinginfo: "+t+" - "+n+" - "+r),this.hasEnoughInfoToAppend_()&&this.processCallQueue_()}},n.handleCaptions_=function(e,t){var n=this;if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(0!==t.length)if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),o={};t.forEach((function(e){o[e.stream]=o[e.stream]||{startTime:1/0,captions:[],endTime:0};var t=o[e.stream];t.startTime=Math.min(t.startTime,e.startTime+r),t.endTime=Math.max(t.endTime,e.endTime+r),t.captions.push(e)})),Object.keys(o).forEach((function(e){var t=o[e],a=t.startTime,s=t.endTime,u=t.captions,l=n.inbandTextTracks_;n.logger_("adding cues from "+a+" -> "+s+" for "+e),function(e,t,n){if(!e[n]){t.trigger({type:"usage",name:"vhs-608"}),t.trigger({type:"usage",name:"hls-608"});var r=n;/^cc708_/.test(n)&&(r="SERVICE"+n.split("_")[1]);var i=t.textTracks().getTrackById(r);if(i)e[n]=i;else{var o=n,a=n,s=!1,u=(t.options_.vhs&&t.options_.vhs.captionServices||{})[r];u&&(o=u.label,a=u.language,s=u.default),e[n]=t.addRemoteTextTrack({kind:"captions",id:r,default:s,label:o,language:a},!1).track}}}(l,n.vhs_.tech_,e),$u(a,s,l[e]),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var o=i().WebKitDataCue||i().VTTCue;n.forEach((function(e){var n=e.stream;t[n].addCue(new o(e.startTime+r,e.endTime+r,e.text))}))}}({captionArray:u,inbandTextTracks:l,timestampOffset:r})})),this.transmuxer_&&this.transmuxer_.postMessage({action:"clearParsedMp4Captions"})}else this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t));else this.logger_("SegmentLoader received no captions from a caption event")},n.handleId3_=function(e,t,n){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(this.pendingSegment_.hasAppendedData_){var r=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset();!function(e,t,n){e.metadataTrack_||(e.metadataTrack_=n.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=t)}(this.inbandTextTracks_,n,this.vhs_.tech_),Xu({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:r,videoDuration:this.duration_()})}else this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,n))},n.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach((function(e){return e()})),this.metadataQueue_.caption.forEach((function(e){return e()})),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},n.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach((function(e){return e()}))},n.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach((function(e){return e()}))},n.hasEnoughInfoToLoad_=function(){if("audio"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!tl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.getCurrentMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),e&&e.trackInfo||this.currentMediaInfo_},n.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},n.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var n=t.hasAudio,r=t.hasVideo,i=t.isMuxed;return!(r&&!e.videoTimingInfo)&&(!(n&&!this.audioDisabled_&&!i&&!e.audioTimingInfo)&&!tl({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},n.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.part||n.segment),"closed"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4)this.trigger("fmp4"),n.timingInfo.start=n[el(t.type)].start;else{var r,i=this.getCurrentMediaInfo_(),o="main"===this.loaderType_&&i&&i.hasVideo;o&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:o,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})}if(this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:"main"===this.loaderType_});var a=this.chooseNextRequest_();if(a.mediaIndex!==n.mediaIndex||a.partIndex!==n.partIndex)return void this.logger_("sync segment was incorrect, not appending");this.logger_("sync segment was correct, appending")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},n.updateAppendInitSegmentStatus=function(e,t){"main"!==this.loaderType_||"number"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},n.getInitSegmentAndUpdateState_=function(e){var t=e.type,n=e.initSegment,r=e.map,i=e.playlist;if(r){var o=Ks(r);if(this.activeInitSegmentId_===o)return null;n=this.initSegmentForMap(r,!0).bytes,this.activeInitSegmentId_=o}return n&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=i,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,n):null},n.handleQuotaExceededError_=function(e,t){var n=this,r=e.segmentInfo,o=e.type,a=e.bytes,s=this.sourceUpdater_.audioBuffered(),u=this.sourceUpdater_.videoBuffered();s.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: "+rs(s).join(", ")),u.length>1&&this.logger_("On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: "+rs(u).join(", "));var l=s.length?s.start(0):0,c=s.length?s.end(s.length-1):0,d=u.length?u.start(0):0,f=u.length?u.end(u.length-1):0;if(c-l<=1&&f-d<=1)return this.logger_("On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: "+a.byteLength+", audio buffer: "+rs(s).join(", ")+", video buffer: "+rs(u).join(", ")+", "),this.error({message:"Quota exceeded error with append of a single segment of content",excludeUntil:1/0}),void this.trigger("error");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:r,type:o,bytes:a}));var p=this.currentTime_()-1;this.logger_("On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to "+p),this.remove(0,p,(function(){n.logger_("On QUOTA_EXCEEDED_ERR, retrying append in 1s"),n.waitingOnRemove_=!1,n.quotaExceededErrorRetryTimeout_=i().setTimeout((function(){n.logger_("On QUOTA_EXCEEDED_ERR, re-processing call queue"),n.quotaExceededErrorRetryTimeout_=null,n.processCallQueue_()}),1e3)}),!0)},n.handleAppendError_=function(e,t){var n=e.segmentInfo,r=e.type,i=e.bytes;t&&(22!==t.code?(this.logger_("Received non QUOTA_EXCEEDED_ERR on append",t),this.error(r+" append of "+i.length+"b failed for segment #"+n.mediaIndex+" in playlist "+n.playlist.id),this.trigger("appenderror")):this.handleQuotaExceededError_({segmentInfo:n,type:r,bytes:i}))},n.appendToSourceBuffer_=function(e){var t,n,r,i=e.segmentInfo,o=e.type,a=e.initSegment,s=e.data,u=e.bytes;if(!u){var l=[s],c=s.byteLength;a&&(l.unshift(a),c+=a.byteLength),r=0,(t={bytes:c,segments:l}).bytes&&(n=new Uint8Array(t.bytes),t.segments.forEach((function(e){n.set(e,r),r+=e.byteLength}))),u=n}this.sourceUpdater_.appendBuffer({segmentInfo:i,type:o,bytes:u},this.handleAppendError_.bind(this,{segmentInfo:i,type:o,bytes:u}))},n.handleSegmentTimingInfo_=function(e,t,n){if(this.pendingSegment_&&t===this.pendingSegment_.requestId){var r=this.pendingSegment_.segment,i=e+"TimingInfo";r[i]||(r[i]={}),r[i].transmuxerPrependedSeconds=n.prependedContentDuration||0,r[i].transmuxedPresentationStart=n.start.presentation,r[i].transmuxedDecodeStart=n.start.decode,r[i].transmuxedPresentationEnd=n.end.presentation,r[i].transmuxedDecodeEnd=n.end.decode,r[i].baseMediaDecodeTime=n.baseMediaDecodeTime}},n.appendData_=function(e,t){var n=t.type,r=t.data;if(r&&r.byteLength&&("audio"!==n||!this.audioDisabled_)){var i=this.getInitSegmentAndUpdateState_({type:n,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null});this.appendToSourceBuffer_({segmentInfo:e,type:n,initSegment:i,data:r})}},n.loadSegment_=function(e){var t=this;this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),"number"==typeof e.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:"clearAllMp4Captions"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(e):this.loadQueue_.push((function(){var n=s({},e,{forceTimestampOffset:!0});s(e,t.generateSegmentInfo_(n)),t.isPendingTimestampOffset_=!1,t.updateTransmuxerAndRequestSegment_(e)}))},n.updateTransmuxerAndRequestSegment_=function(e){var t=this;this.shouldUpdateTransmuxerTimestampOffset_(e.timestampOffset)&&(this.gopBuffer_.length=0,e.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:"reset"}),this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e.timestampOffset}));var n=this.createSimplifiedSegmentObj_(e),r=this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex),i=null!==this.mediaIndex,o=e.timeline!==this.currentTimeline_&&e.timeline>0,a=r||i&&o;this.logger_("Requesting "+Ju(e)),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),this.appendInitSegment_={video:!0,audio:!0}),e.abortRequests=Du({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:n,abortFn:this.handleAbort_.bind(this,e),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"video",e.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,"audio",e.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:a,endedTimelineFn:function(){t.logger_("received endedtimeline callback")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(n){var r=n.message,i=n.level,o=n.stream;t.logger_(Ju(e)+" logged from transmuxer stream "+o+" as a "+i+": "+r)}})},n.trimBackBuffer_=function(e){var t=function(e,t,n){var r=t-uu.BACK_BUFFER_LENGTH;e.length&&(r=Math.max(r,e.start(0)));var i=t-n;return Math.min(i,r)}(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);t>0&&this.remove(0,t)},n.createSimplifiedSegmentObj_=function(e){var t=e.segment,n=e.part,r={resolvedUri:n?n.resolvedUri:t.resolvedUri,byterange:n?n.byterange:t.byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},i=e.playlist.segments[e.mediaIndex-1];if(i&&i.timeline===t.timeline&&(i.videoTimingInfo?r.baseStartTime=i.videoTimingInfo.transmuxedDecodeEnd:i.audioTimingInfo&&(r.baseStartTime=i.audioTimingInfo.transmuxedDecodeEnd)),t.key){var o=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);r.key=this.segmentKey(t.key),r.key.iv=o}return t.map&&(r.map=this.initSegmentForMap(t.map)),r},n.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},n.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<Qu?this.logger_("Ignoring segment's bandwidth because its duration of "+e+" is less than the min to record 0.016666666666666666"):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)},n.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger("bandwidthupdate")},n.segmentRequestFinished_=function(e,t,n){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,n));else if(this.saveTransferStats_(t.stats),this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId){if(e){if(this.pendingSegment_=null,this.state="READY",e.code===Su)return;return this.pause(),e.code===xu?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error"))}var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),r.endOfAllRequests=t.endOfAllRequests,n.gopInfo&&(this.gopBuffer_=function(e,t,n){if(!t.length)return e;if(n)return t.slice();for(var r=t[0].pts,i=0;i<e.length&&!(e[i].pts>=r);i++);return e.slice(0,i).concat(t)}(this.gopBuffer_,n.gopInfo,this.safeAppend_)),this.state="APPENDING",this.trigger("appending"),this.waitForAppendsToComplete_(r)}},n.setTimeMapping_=function(e){var t=this.syncController_.mappingForTimeline(e);null!==t&&(this.timeMapping_=t)},n.updateMediaSecondsLoaded_=function(e){"number"==typeof e.start&&"number"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},n.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&("main"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},n.trueSegmentStart_=function(e){var t=e.currentStart,n=e.playlist,r=e.mediaIndex,i=e.firstVideoFrameTimeForData,o=e.currentVideoTimestampOffset,a=e.useVideoTimingInfo,s=e.videoTimingInfo,u=e.audioTimingInfo;if(void 0!==t)return t;if(!a)return u.start;var l=n.segments[r-1];return 0!==r&&l&&void 0!==l.start&&l.end===i+o?s.start:i},n.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:"No starting media returned, likely due to an unsupported media format.",blacklistDuration:1/0}),void this.trigger("error");var n=t.hasAudio,r=t.hasVideo,i=t.isMuxed,o="main"===this.loaderType_&&r,a=!this.audioDisabled_&&n&&!i;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||"number"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);o&&e.waitingOnAppends++,a&&e.waitingOnAppends++,o&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),a&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},n.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},n.checkForIllegalMediaSwitch=function(e){var t=function(e,t,n){return"main"===e&&t&&n?n.hasAudio||n.hasVideo?t.hasVideo&&!n.hasVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!t.hasVideo&&n.hasVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}(this.loaderType_,this.getCurrentMediaInfo_(),e);return!!t&&(this.error({message:t,blacklistDuration:1/0}),this.trigger("error"),!0)},n.updateSourceBufferTimestampOffset_=function(e){if(null!==e.timestampOffset&&"number"==typeof e.timingInfo.start&&!e.changedTimestampOffset&&"main"===this.loaderType_){var t=!1;e.timestampOffset-=this.getSegmentStartTimeForTimestampOffsetCalculation_({videoTimingInfo:e.segment.videoTimingInfo,audioTimingInfo:e.segment.audioTimingInfo,timingInfo:e.timingInfo}),e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger("timestampoffset")}},n.getSegmentStartTimeForTimestampOffsetCalculation_=function(e){var t=e.videoTimingInfo,n=e.audioTimingInfo,r=e.timingInfo;return this.useDtsForTimestampOffset_?t&&"number"==typeof t.transmuxedDecodeStart?t.transmuxedDecodeStart:n&&"number"==typeof n.transmuxedDecodeStart?n.transmuxedDecodeStart:r.start:r.start},n.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),n="main"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;n&&(e.timingInfo.end="number"==typeof n.end?n.end:n.start+e.duration)},n.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger("appendsdone"),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:"main"===this.loaderType_});var t=rl(e,this.sourceType_);if(t&&("warn"===t.severity?Wa.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state="READY",!e.isSyncRequest||(this.trigger("syncinfoupdate"),e.hasAppendedData_)){this.logger_("Appended "+Ju(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),"main"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:"audio",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate");var n=e.segment,r=e.part,i=n.end&&this.currentTime_()-n.end>3*e.playlist.targetDuration,o=r&&r.end&&this.currentTime_()-r.end>3*e.playlist.partTargetDuration;if(i||o)return this.logger_("bad "+(i?"segment":"part")+" "+Ju(e)),void this.resetEverything();null!==this.mediaIndex&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger("appended"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_()}else this.logger_("Throwing away un-appended sync request "+Ju(e))},n.recordThroughput_=function(e){if(e.duration<Qu)this.logger_("Ignoring segment's throughput because its duration of "+e.duration+" is less than the min to record 0.016666666666666666");else{var t=this.throughput.rate,n=Date.now()-e.endOfAllRequests+1,r=Math.floor(e.byteLength/n*8*1e3);this.throughput.rate+=(r-t)/++this.throughput.count}},n.addSegmentMetadataCue_=function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if(Zu(n)&&Zu(r)){$u(n,r,this.segmentMetadataTrack_);var o=i().WebKitDataCue||i().VTTCue,a={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:n,end:r},s=new o(n,r,JSON.stringify(a));s.value=a,this.segmentMetadataTrack_.addCue(s)}}},t}(Wa.EventTarget);function ol(){}var al,sl=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))},ul=["video","audio"],ll=function(e,t){var n=t[e+"Buffer"];return n&&n.updating||t.queuePending[e]},cl=function e(t,n){if(0!==n.queue.length){var r=0,i=n.queue[r];if("mediaSource"!==i.type){if("mediaSource"!==t&&n.ready()&&"closed"!==n.mediaSource.readyState&&!ll(t,n)){if(i.type!==t){if(r=function(e,t){for(var n=0;n<t.length;n++){var r=t[n];if("mediaSource"===r.type)return null;if(r.type===e)return n}return null}(t,n.queue),null===r)return;i=n.queue[r]}return n.queue.splice(r,1),n.queuePending[t]=i,i.action(t,n),i.doneFn?void 0:(n.queuePending[t]=null,void e(t,n))}}else n.updating()||"closed"===n.mediaSource.readyState||(n.queue.shift(),i.action(n),i.doneFn&&i.doneFn(),e("audio",n),e("video",n))}},dl=function(e,t){var n=t[e+"Buffer"],r=sl(e);n&&(n.removeEventListener("updateend",t["on"+r+"UpdateEnd_"]),n.removeEventListener("error",t["on"+r+"Error_"]),t.codecs[e]=null,t[e+"Buffer"]=null)},fl=function(e,t){return e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t)},pl=function(e,t,n){return function(r,i){var o=i[r+"Buffer"];if(fl(i.mediaSource,o)){i.logger_("Appending segment "+t.mediaIndex+"'s "+e.length+" bytes to "+r+"Buffer");try{o.appendBuffer(e)}catch(e){i.logger_("Error with code "+e.code+" "+(22===e.code?"(QUOTA_EXCEEDED_ERR) ":"")+"when appending segment "+t.mediaIndex+" to "+r+"Buffer"),i.queuePending[r]=null,n(e)}}}},hl=function(e,t){return function(n,r){var i=r[n+"Buffer"];if(fl(r.mediaSource,i)){r.logger_("Removing "+e+" to "+t+" from "+n+"Buffer");try{i.remove(e,t)}catch(i){r.logger_("Remove "+e+" to "+t+" from "+n+"Buffer failed")}}}},ml=function(e){return function(t,n){var r=n[t+"Buffer"];fl(n.mediaSource,r)&&(n.logger_("Setting "+t+"timestampOffset to "+e),r.timestampOffset=e)}},vl=function(e){return function(t,n){e()}},gl=function(e){return function(t){if("open"===t.mediaSource.readyState){t.logger_("Calling mediaSource endOfStream("+(e||"")+")");try{t.mediaSource.endOfStream(e)}catch(e){Wa.log.warn("Failed to call media source endOfStream",e)}}}},yl=function(e){return function(t){t.logger_("Setting mediaSource duration to "+e);try{t.mediaSource.duration=e}catch(e){Wa.log.warn("Failed to set media source duration",e)}}},bl=function(){return function(e,t){if("open"===t.mediaSource.readyState){var n=t[e+"Buffer"];if(fl(t.mediaSource,n)){t.logger_("calling abort on "+e+"Buffer");try{n.abort()}catch(t){Wa.log.warn("Failed to abort on "+e+"Buffer",t)}}}}},_l=function(e,t){return function(n){var r=sl(e),i=W(t);n.logger_("Adding "+e+"Buffer with codec "+t+" to mediaSource");var o=n.mediaSource.addSourceBuffer(i);o.addEventListener("updateend",n["on"+r+"UpdateEnd_"]),o.addEventListener("error",n["on"+r+"Error_"]),n.codecs[e]=t,n[e+"Buffer"]=o}},wl=function(e){return function(t){var n=t[e+"Buffer"];if(dl(e,t),fl(t.mediaSource,n)){t.logger_("Removing "+e+"Buffer with codec "+t.codecs[e]+" from mediaSource");try{t.mediaSource.removeSourceBuffer(n)}catch(t){Wa.log.warn("Failed to removeSourceBuffer "+e+"Buffer",t)}}}},kl=function(e){return function(t,n){var r=n[t+"Buffer"],i=W(e);fl(n.mediaSource,r)&&n.codecs[t]!==e&&(n.logger_("changing "+t+"Buffer codec from "+n.codecs[t]+" to "+e),r.changeType(i),n.codecs[t]=e)}},El=function(e){var t=e.type,n=e.sourceUpdater,r=e.action,i=e.doneFn,o=e.name;n.queue.push({type:t,action:r,doneFn:i,name:o}),cl(t,n)},xl=function(e,t){return function(n){if(t.queuePending[e]){var r=t.queuePending[e].doneFn;t.queuePending[e]=null,r&&r(t[e+"Error_"])}cl(e,t)}},Sl=function(e){function t(t){var n;return(n=e.call(this)||this).mediaSource=t,n.sourceopenListener_=function(){return cl("mediaSource",c(n))},n.mediaSource.addEventListener("sourceopen",n.sourceopenListener_),n.logger_=$a("SourceUpdater"),n.audioTimestampOffset_=0,n.videoTimestampOffset_=0,n.queue=[],n.queuePending={audio:null,video:null},n.delayedAudioAppendQueue_=[],n.videoAppendQueued_=!1,n.codecs={},n.onVideoUpdateEnd_=xl("video",c(n)),n.onAudioUpdateEnd_=xl("audio",c(n)),n.onVideoError_=function(e){n.videoError_=e},n.onAudioError_=function(e){n.audioError_=e},n.createdSourceBuffers_=!1,n.initializedEme_=!1,n.triggeredReady_=!1,n}f(t,e);var n=t.prototype;return n.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},n.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},n.hasInitializedAnyEme=function(){return this.initializedEme_},n.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},n.createSourceBuffers=function(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger("createdsourcebuffers"),this.triggerReady())},n.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger("ready"))},n.addSourceBuffer=function(e,t){El({type:"mediaSource",sourceUpdater:this,action:_l(e,t),name:"addSourceBuffer"})},n.abort=function(e){El({type:e,sourceUpdater:this,action:bl(e),name:"abort"})},n.removeSourceBuffer=function(e){this.canRemoveSourceBuffer()?El({type:"mediaSource",sourceUpdater:this,action:wl(e),name:"removeSourceBuffer"}):Wa.log.error("removeSourceBuffer is not supported!")},n.canRemoveSourceBuffer=function(){return!Wa.browser.IE_VERSION&&!Wa.browser.IS_FIREFOX&&i().MediaSource&&i().MediaSource.prototype&&"function"==typeof i().MediaSource.prototype.removeSourceBuffer},t.canChangeType=function(){return i().SourceBuffer&&i().SourceBuffer.prototype&&"function"==typeof i().SourceBuffer.prototype.changeType},n.canChangeType=function(){return this.constructor.canChangeType()},n.changeType=function(e,t){this.canChangeType()?El({type:e,sourceUpdater:this,action:kl(t),name:"changeType"}):Wa.log.error("changeType is not supported!")},n.addOrChangeSourceBuffers=function(e){var t=this;if(!e||"object"!=typeof e||0===Object.keys(e).length)throw new Error("Cannot addOrChangeSourceBuffers to undefined codecs");Object.keys(e).forEach((function(n){var r=e[n];if(!t.hasCreatedSourceBuffers())return t.addSourceBuffer(n,r);t.canChangeType()&&t.changeType(n,r)}))},n.appendBuffer=function(e,t){var n=this,r=e.segmentInfo,i=e.type,o=e.bytes;if(this.processedAppend_=!0,"audio"===i&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_("delayed audio append of "+o.length+" until video append");if(El({type:i,sourceUpdater:this,action:pl(o,r||{mediaIndex:-1},t),doneFn:t,name:"appendBuffer"}),"video"===i){if(this.videoAppendQueued_=!0,!this.delayedAudioAppendQueue_.length)return;var a=this.delayedAudioAppendQueue_.slice();this.logger_("queuing delayed audio "+a.length+" appendBuffers"),this.delayedAudioAppendQueue_.length=0,a.forEach((function(e){n.appendBuffer.apply(n,e)}))}},n.audioBuffered=function(){return fl(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered?this.audioBuffer.buffered:Wa.createTimeRange()},n.videoBuffered=function(){return fl(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered?this.videoBuffer.buffered:Wa.createTimeRange()},n.buffered=function(){var e=fl(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=fl(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){var n=null,r=null,i=0,o=[],a=[];if(!(e&&e.length&&t&&t.length))return Wa.createTimeRange();for(var s=e.length;s--;)o.push({time:e.start(s),type:"start"}),o.push({time:e.end(s),type:"end"});for(s=t.length;s--;)o.push({time:t.start(s),type:"start"}),o.push({time:t.end(s),type:"end"});for(o.sort((function(e,t){return e.time-t.time})),s=0;s<o.length;s++)"start"===o[s].type?2==++i&&(n=o[s].time):"end"===o[s].type&&1==--i&&(r=o[s].time),null!==n&&null!==r&&(a.push([n,r]),n=null,r=null);return Wa.createTimeRanges(a)}(this.audioBuffered(),this.videoBuffered())},n.setDuration=function(e,t){void 0===t&&(t=ol),El({type:"mediaSource",sourceUpdater:this,action:yl(e),name:"duration",doneFn:t})},n.endOfStream=function(e,t){void 0===e&&(e=null),void 0===t&&(t=ol),"string"!=typeof e&&(e=void 0),El({type:"mediaSource",sourceUpdater:this,action:gl(e),name:"endOfStream",doneFn:t})},n.removeAudio=function(e,t,n){void 0===n&&(n=ol),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?El({type:"audio",sourceUpdater:this,action:hl(e,t),doneFn:n,name:"remove"}):n()},n.removeVideo=function(e,t,n){void 0===n&&(n=ol),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?El({type:"video",sourceUpdater:this,action:hl(e,t),doneFn:n,name:"remove"}):n()},n.updating=function(){return!(!ll("audio",this)&&!ll("video",this))},n.audioTimestampOffset=function(e){return void 0!==e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(El({type:"audio",sourceUpdater:this,action:ml(e),name:"timestampOffset"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_},n.videoTimestampOffset=function(e){return void 0!==e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(El({type:"video",sourceUpdater:this,action:ml(e),name:"timestampOffset"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_},n.audioQueueCallback=function(e){this.audioBuffer&&El({type:"audio",sourceUpdater:this,action:vl(e),name:"callback"})},n.videoQueueCallback=function(e){this.videoBuffer&&El({type:"video",sourceUpdater:this,action:vl(e),name:"callback"})},n.dispose=function(){var e=this;this.trigger("dispose"),ul.forEach((function(t){e.abort(t),e.canRemoveSourceBuffer()?e.removeSourceBuffer(t):e[t+"QueueCallback"]((function(){return dl(t,e)}))})),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener("sourceopen",this.sourceopenListener_),this.off()},t}(Wa.EventTarget),Tl=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},Cl=new Uint8Array("\n\n".split("").map((function(e){return e.charCodeAt(0)}))),Al=function(e){function t(t,n){var r;return void 0===n&&(n={}),(r=e.call(this,t,n)||this).mediaSource_=null,r.subtitlesTrack_=null,r.loaderType_="subtitle",r.featuresNativeTextTracks_=t.featuresNativeTextTracks,r.shouldSaveSegmentTimingInfo_=!1,r}f(t,e);var n=t.prototype;return n.createTransmuxer_=function(){return null},n.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Wa.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return Wa.createTimeRanges([[t,n]])},n.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var n=Ks(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var i=Cl.byteLength+e.bytes.byteLength,o=new Uint8Array(i);o.set(e.bytes),o.set(Cl,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:o}}return r||e},n.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},n.init_=function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()},n.track=function(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},n.remove=function(e,t){$u(e,t,this.subtitlesTrack_)},n.fillBuffer_=function(){var e=this,t=this.chooseNextRequest_();if(t){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline)){return this.syncController_.one("timestampoffset",(function(){e.state="READY",e.paused()||e.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE")}this.loadSegment_(t)}},n.timestampOffsetForSegment_=function(){return null},n.chooseNextRequest_=function(){return this.skipEmptySegments_(e.prototype.chooseNextRequest_.call(this))},n.skipEmptySegments_=function(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},n.stopForError=function(e){this.error(e),this.state="READY",this.pause(),this.trigger("error")},n.segmentRequestFinished_=function(e,t,n){var r=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state="READY",void(this.mediaRequestsAborted+=1);if(e)return e.code===xu&&this.handleTimeout_(),e.code===Su?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var o=this.pendingSegment_;this.saveBandwidthRelatedStats_(o.duration,t.stats),this.state="APPENDING",this.trigger("appending");var a=o.segment;if(a.map&&(a.map.bytes=t.map.bytes),o.bytes=t.bytes,"function"!=typeof i().WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var s,u=function(){r.subtitlesTrack_.tech_.off("vttjsloaded",s),r.stopForError({message:"Error loading vtt.js"})};return s=function(){r.subtitlesTrack_.tech_.off("vttjserror",u),r.segmentRequestFinished_(e,t,n)},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",s),void this.subtitlesTrack_.tech_.one("vttjserror",u)}a.requested=!0;try{this.parseVTTCues_(o)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(o,this.syncController_.timelines[o.timeline],this.playlist_),o.cues.length?o.timingInfo={start:o.cues[0].startTime,end:o.cues[o.cues.length-1].endTime}:o.timingInfo={start:o.startOfSegment,end:o.startOfSegment+o.duration},o.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");o.byteLength=o.bytes.byteLength,this.mediaSecondsLoaded+=a.duration,o.cues.forEach((function(e){r.subtitlesTrack_.addCue(r.featuresNativeTextTracks_?new(i().VTTCue)(e.startTime,e.endTime,e.text):e)})),function(e){var t=e.cues;if(t)for(var n=0;n<t.length;n++){for(var r=[],i=0,o=0;o<t.length;o++)t[n].startTime===t[o].startTime&&t[n].endTime===t[o].endTime&&t[n].text===t[o].text&&++i>1&&r.push(t[o]);r.length&&r.forEach((function(t){return e.removeCue(t)}))}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state="READY"},n.handleData_=function(){},n.updateTimingInfoEnd_=function(){},n.parseVTTCues_=function(e){var t,n=!1;"function"==typeof i().TextDecoder?t=new(i().TextDecoder)("utf8"):(t=i().WebVTT.StringDecoder(),n=!0);var r=new(i().WebVTT.Parser)(i(),i().vttjs,t);if(e.cues=[],e.timestampmap={MPEGTS:0,LOCAL:0},r.oncue=e.cues.push.bind(e.cues),r.ontimestampmap=function(t){e.timestampmap=t},r.onparsingerror=function(e){Wa.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=Tl(o)),r.parse(o)}var a=e.bytes;n&&(a=Tl(a)),r.parse(a),r.flush()},n.updateTimeMapping_=function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var i=e.timestampmap,o=i.MPEGTS/Nt.ONE_SECOND_IN_TS-i.LOCAL+t.mapping;if(e.cues.forEach((function(e){e.startTime+=o,e.endTime+=o})),!n.syncInfo){var a=e.cues[0].startTime,s=e.cues[e.cues.length-1].startTime;n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:Math.min(a,s-r.duration)}}}else r.empty=!0},t}(il),Ol=function(e,t){for(var n=e.cues,r=0;r<n.length;r++){var i=n[r];if(t>=i.adStartTime&&t<=i.adEndTime)return i}return null},Nl=[{name:"VOD",run:function(e,t,n,r,i){if(n!==1/0){return{time:0,segmentIndex:0,partIndex:null}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,i){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var o=null,a=null,s=us(t);i=i||0;for(var u=0;u<s.length;u++){var l=s[t.endList||0===i?u:s.length-(u+1)],c=l.segment,d=e.timelineToDatetimeMappings[c.timeline];if(d&&c.dateTimeObject){var f=c.dateTimeObject.getTime()/1e3+d;if(c.parts&&"number"==typeof l.partIndex)for(var p=0;p<l.partIndex;p++)f+=c.parts[p].duration;var h=Math.abs(i-f);if(null!==a&&(0===h||a<h))break;a=h,o={time:f,segmentIndex:l.segmentIndex,partIndex:l.partIndex}}}return o}},{name:"Segment",run:function(e,t,n,r,i){var o=null,a=null;i=i||0;for(var s=us(t),u=0;u<s.length;u++){var l=s[t.endList||0===i?u:s.length-(u+1)],c=l.segment,d=l.part&&l.part.start||c&&c.start;if(c.timeline===r&&void 0!==d){var f=Math.abs(i-d);if(null!==a&&a<f)break;(!o||null===a||a>=f)&&(a=f,o={time:d,segmentIndex:l.segmentIndex,partIndex:l.partIndex})}}return o}},{name:"Discontinuity",run:function(e,t,n,r,i){var o=null;if(i=i||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var a=null,s=0;s<t.discontinuityStarts.length;s++){var u=t.discontinuityStarts[s],l=t.discontinuitySequence+s+1,c=e.discontinuities[l];if(c){var d=Math.abs(i-c.time);if(null!==a&&a<d)break;(!o||null===a||a>=d)&&(a=d,o={time:c.time,segmentIndex:u,partIndex:null})}}return o}},{name:"Playlist",run:function(e,t,n,r,i){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],Pl=function(e){function t(t){var n;return(n=e.call(this)||this).timelines=[],n.discontinuities=[],n.timelineToDatetimeMappings={},n.logger_=$a("SyncController"),n}f(t,e);var n=t.prototype;return n.getSyncPoint=function(e,t,n,r){var i=this.runStrategies_(e,t,n,r);return i.length?this.selectSyncPoint_(i,{key:"time",value:r}):null},n.getExpiredTime=function(e,t){if(!e||!e.segments)return null;var n=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!n.length)return null;var r=this.selectSyncPoint_(n,{key:"segmentIndex",value:0});return r.segmentIndex>0&&(r.time*=-1),Math.abs(r.time+hs({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:r.segmentIndex,endIndex:0}))},n.runStrategies_=function(e,t,n,r){for(var i=[],o=0;o<Nl.length;o++){var a=Nl[o],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,i.push({strategy:a.name,syncPoint:s}))}return i},n.selectSyncPoint_=function(e,t){for(var n=e[0].syncPoint,r=Math.abs(e[0].syncPoint[t.key]-t.value),i=e[0].strategy,o=1;o<e.length;o++){var a=Math.abs(e[o].syncPoint[t.key]-t.value);a<r&&(r=a,n=e[o].syncPoint,i=e[o].strategy)}return this.logger_("syncPoint for ["+t.key+": "+t.value+"] chosen with strategy ["+i+"]: [time:"+n.time+", segmentIndex:"+n.segmentIndex+("number"==typeof n.partIndex?",partIndex:"+n.partIndex:"")+"]"),n},n.saveExpiredSegmentInfo=function(e,t){var n=t.mediaSequence-e.mediaSequence;if(n>86400)Wa.log.warn("Not saving expired segment info. Media sequence gap "+n+" is too large.");else for(var r=n-1;r>=0;r--){var i=e.segments[r];if(i&&void 0!==i.start){t.syncInfo={mediaSequence:e.mediaSequence+r,time:i.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}},n.setDateTimeMappingForStart=function(e){if(this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0],n=t.dateTimeObject.getTime()/1e3;this.timelineToDatetimeMappings[t.timeline]=-n}},n.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,n=e.shouldSaveTimelineMapping,r=this.calculateSegmentTimeMapping_(t,t.timingInfo,n),i=t.segment;r&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:i.start}));var o=i.dateTimeObject;i.discontinuity&&n&&o&&(this.timelineToDatetimeMappings[i.timeline]=-o.getTime()/1e3)},n.timestampOffsetForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].time},n.mappingForTimeline=function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping},n.calculateSegmentTimeMapping_=function(e,t,n){var r,i,o=e.segment,a=e.part,s=this.timelines[e.timeline];if("number"==typeof e.timestampOffset)s={time:e.startOfSegment,mapping:e.startOfSegment-t.start},n&&(this.timelines[e.timeline]=s,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+s.time+"] [mapping: "+s.mapping+"]")),r=e.startOfSegment,i=t.end+s.mapping;else{if(!s)return!1;r=t.start+s.mapping,i=t.end+s.mapping}return a&&(a.start=r,a.end=i),(!o.start||r<o.start)&&(o.start=r),o.end=i,!0},n.saveDiscontinuitySyncInfo_=function(e){var t=e.playlist,n=e.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(var r=0;r<t.discontinuityStarts.length;r++){var i=t.discontinuityStarts[r],o=t.discontinuitySequence+r+1,a=i-e.mediaIndex,s=Math.abs(a);if(!this.discontinuities[o]||this.discontinuities[o].accuracy>s){var u=void 0;u=a<0?n.start-hs({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:i}):n.end+hs({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:i}),this.discontinuities[o]={time:u,accuracy:s}}}},n.dispose=function(){this.trigger("dispose"),this.off()},t}(Wa.EventTarget),Il=function(e){function t(){var t;return(t=e.call(this)||this).pendingTimelineChanges_={},t.lastTimelineChanges_={},t}f(t,e);var n=t.prototype;return n.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger("pendingtimelinechange")},n.pendingTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.pendingTimelineChanges_[t]={type:t,from:n,to:r},this.trigger("pendingtimelinechange")),this.pendingTimelineChanges_[t]},n.lastTimelineChange=function(e){var t=e.type,n=e.from,r=e.to;return"number"==typeof n&&"number"==typeof r&&(this.lastTimelineChanges_[t]={type:t,from:n,to:r},delete this.pendingTimelineChanges_[t],this.trigger("timelinechange")),this.lastTimelineChanges_[t]},n.dispose=function(){this.trigger("dispose"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},t}(Wa.EventTarget),Ll=du(fu((function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var r=t((function(e){function t(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)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0})),i=t((function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0})),o=t((function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0})),a=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(n,1),n>-1},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var n=t.length,r=0;r<n;++r)t[r].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),o=t.length,a=0;a<o;++a)t[a].apply(this,i)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}();var s,u=null,l=function(){function e(e){var t,n,r;u||(u=function(){var e,t,n,r,i,o,a,s,u=[[[],[],[],[],[]],[[],[],[],[],[]]],l=u[0],c=u[1],d=l[4],f=c[4],p=[],h=[];for(e=0;e<256;e++)h[(p[e]=e<<1^283*(e>>7))^e]=e;for(t=n=0;!d[t];t^=r||1,n=h[n]||1)for(o=(o=n^n<<1^n<<2^n<<3^n<<4)>>8^255&o^99,d[t]=o,f[o]=t,s=16843009*p[i=p[r=p[t]]]^65537*i^257*r^16843008*t,a=257*p[o]^16843008*o,e=0;e<4;e++)l[e][t]=a=a<<24^a>>>8,c[e][o]=s=s<<24^s>>>8;for(e=0;e<5;e++)l[e]=l[e].slice(0),c[e]=c[e].slice(0);return u}()),this._tables=[[u[0][0].slice(),u[0][1].slice(),u[0][2].slice(),u[0][3].slice(),u[0][4].slice()],[u[1][0].slice(),u[1][1].slice(),u[1][2].slice(),u[1][3].slice(),u[1][4].slice()]];var i=this._tables[0][4],o=this._tables[1],a=e.length,s=1;if(4!==a&&6!==a&&8!==a)throw new Error("Invalid aes key size");var l=e.slice(0),c=[];for(this._key=[l,c],t=a;t<4*a+28;t++)r=l[t-1],(t%a==0||8===a&&t%a==4)&&(r=i[r>>>24]<<24^i[r>>16&255]<<16^i[r>>8&255]<<8^i[255&r],t%a==0&&(r=r<<8^r>>>24^s<<24,s=s<<1^283*(s>>7))),l[t]=l[t-a]^r;for(n=0;t;n++,t--)r=l[3&n?t:t-4],c[n]=t<=4||n<4?r:o[0][i[r>>>24]]^o[1][i[r>>16&255]]^o[2][i[r>>8&255]]^o[3][i[255&r]]}return e.prototype.decrypt=function(e,t,n,r,i,o){var a,s,u,l,c=this._key[1],d=e^c[0],f=r^c[1],p=n^c[2],h=t^c[3],m=c.length/4-2,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],k=g[4];for(l=0;l<m;l++)a=y[d>>>24]^b[f>>16&255]^_[p>>8&255]^w[255&h]^c[v],s=y[f>>>24]^b[p>>16&255]^_[h>>8&255]^w[255&d]^c[v+1],u=y[p>>>24]^b[h>>16&255]^_[d>>8&255]^w[255&f]^c[v+2],h=y[h>>>24]^b[d>>16&255]^_[f>>8&255]^w[255&p]^c[v+3],v+=4,d=a,f=s,p=u;for(l=0;l<4;l++)i[(3&-l)+o]=k[d>>>24]<<24^k[f>>16&255]<<16^k[p>>8&255]<<8^k[255&h]^c[v++],a=d,d=f,f=p,p=h,h=a},e}(),c=function(e){function t(){var t;return(t=e.call(this,a)||this).jobs=[],t.delay=1,t.timeout_=null,t}o(t,e);var n=t.prototype;return n.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(a),d=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},f=function(){function e(t,n,r,i){var o=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),u=0;for(this.asyncStream_=new c,this.asyncStream_.push(this.decryptChunk_(a.subarray(u,u+o),n,r,s)),u=o;u<a.length;u+=o)r=new Uint32Array([d(a[u-4]),d(a[u-3]),d(a[u-2]),d(a[u-1])]),this.asyncStream_.push(this.decryptChunk_(a.subarray(u,u+o),n,r,s));this.asyncStream_.push((function(){var e;i(null,(e=s).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return e.prototype.decryptChunk_=function(e,t,n,r){return function(){var i=function(e,t,n){var r,i,o,a,s,u,c,f,p,h=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),m=new l(Array.prototype.slice.call(t)),v=new Uint8Array(e.byteLength),g=new Int32Array(v.buffer);for(r=n[0],i=n[1],o=n[2],a=n[3],p=0;p<h.length;p+=4)s=d(h[p]),u=d(h[p+1]),c=d(h[p+2]),f=d(h[p+3]),m.decrypt(s,u,c,f,g,p),g[p]=d(g[p]^r),g[p+1]=d(g[p+1]^i),g[p+2]=d(g[p+2]^o),g[p+3]=d(g[p+3]^a),r=s,i=u,o=c,a=f;return v}(e,t,n);r.set(i,e.byteOffset)}},r(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}();s="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var p=s.BigInt||Number;p("0x1"),p("0x100"),p("0x10000"),p("0x1000000"),p("0x100000000"),p("0x10000000000"),p("0x1000000000000"),p("0x100000000000000"),p("0x10000000000000000");var h=function(e){var t={};return Object.keys(e).forEach((function(n){var r,i=e[n];r=i,("function"===ArrayBuffer.isView?ArrayBuffer.isView(r):r&&r.buffer instanceof ArrayBuffer)?t[n]={bytes:i.buffer,byteOffset:i.byteOffset,byteLength:i.byteLength}:t[n]=i})),t};self.onmessage=function(e){var t=e.data,n=new Uint8Array(t.encrypted.bytes,t.encrypted.byteOffset,t.encrypted.byteLength),r=new Uint32Array(t.key.bytes,t.key.byteOffset,t.key.byteLength/4),i=new Uint32Array(t.iv.bytes,t.iv.byteOffset,t.iv.byteLength/4);new f(n,r,i,(function(e,n){self.postMessage(h({source:t.source,decrypted:n}),[n.buffer])}))}}))),Ml=cu(Ll),Rl=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},Dl=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},ql=function(e,t){t.activePlaylistLoader=e,e.load()},jl={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],i=t.blacklistCurrentPlaylist;Dl(n,r);var o=r.activeTrack(),a=r.activeGroup(),s=(a.filter((function(e){return e.default}))[0]||a[0]).id,u=r.tracks[s];if(o!==u){for(var l in Wa.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[l].enabled=r.tracks[l]===u;r.onTrackChanged()}else i({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e];Wa.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),Dl(n,r);var i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}}},Fl={AUDIO:function(e,t,n){if(t){var r=n.tech,i=n.requestOptions,o=n.segmentLoaders[e];t.on("loadedmetadata",(function(){var e=t.media();o.playlist(e,i),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()})),t.on("loadedplaylist",(function(){o.playlist(t.media(),i),r.paused()||o.load()})),t.on("error",jl[e](e,n))}},SUBTITLES:function(e,t,n){var r=n.tech,i=n.requestOptions,o=n.segmentLoaders[e],a=n.mediaTypes[e];t.on("loadedmetadata",(function(){var e=t.media();o.playlist(e,i),o.track(a.activeTrack()),(!r.paused()||e.endList&&"none"!==r.preload())&&o.load()})),t.on("loadedplaylist",(function(){o.playlist(t.media(),i),r.paused()||o.load()})),t.on("error",jl[e](e,n))}},Bl={AUDIO:function(e,t){var n=t.vhs,r=t.sourceType,i=t.segmentLoaders[e],o=t.requestOptions,a=t.master.mediaGroups,s=t.mediaTypes[e],u=s.groups,l=s.tracks,c=s.logger_,d=t.masterPlaylistLoader,f=Es(d.master);for(var p in a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}},f&&(a[e].main.default.playlists=d.master.playlists)),a[e])for(var h in u[p]||(u[p]=[]),a[e][p]){var m=a[e][p][h],v=void 0;if(f?(c("AUDIO group '"+p+"' label '"+h+"' is a master playlist"),m.isMasterPlaylist=!0,v=null):v="vhs-json"===r&&m.playlists?new js(m.playlists[0],n,o):m.resolvedUri?new js(m.resolvedUri,n,o):m.playlists&&"dash"===r?new su(m.playlists[0],n,o,d):null,m=Wa.mergeOptions({id:h,playlistLoader:v},m),Fl[e](e,m.playlistLoader,t),u[p].push(m),void 0===l[h]){var g=new Wa.AudioTrack({id:h,kind:Rl(m),enabled:!1,language:m.language,default:m.default,label:h});l[h]=g}}i.on("error",jl[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.vhs,i=t.sourceType,o=t.segmentLoaders[e],a=t.requestOptions,s=t.master.mediaGroups,u=t.mediaTypes[e],l=u.groups,c=u.tracks,d=t.masterPlaylistLoader;for(var f in s[e])for(var p in l[f]||(l[f]=[]),s[e][f])if(!s[e][f][p].forced){var h=s[e][f][p],m=void 0;if("hls"===i)m=new js(h.resolvedUri,r,a);else if("dash"===i){if(!h.playlists.filter((function(e){return e.excludeUntil!==1/0})).length)return;m=new su(h.playlists[0],r,a,d)}else"vhs-json"===i&&(m=new js(h.playlists?h.playlists[0]:h.resolvedUri,r,a));if(h=Wa.mergeOptions({id:p,playlistLoader:m},h),Fl[e](e,h.playlistLoader,t),l[f].push(h),void 0===c[p]){var v=n.addRemoteTextTrack({id:p,kind:"subtitles",default:h.default&&h.autoselect,language:h.language,label:p},!1).track;c[p]=v}}o.on("error",jl[e](e,t))},"CLOSED-CAPTIONS":function(e,t){var n=t.tech,r=t.master.mediaGroups,i=t.mediaTypes[e],o=i.groups,a=i.tracks;for(var s in r[e])for(var u in o[s]||(o[s]=[]),r[e][s]){var l=r[e][s][u];if(/^(?:CC|SERVICE)/.test(l.instreamId)){var c=n.options_.vhs&&n.options_.vhs.captionServices||{},d={label:u,language:l.language,instreamId:l.instreamId,default:l.default&&l.autoselect};if(c[d.instreamId]&&(d=Wa.mergeOptions(d,c[d.instreamId])),void 0===d.default&&delete d.default,o[s].push(Wa.mergeOptions({id:u},l)),void 0===a[u]){var f=n.addRemoteTextTrack({id:d.instreamId,kind:"captions",default:d.default,language:d.language,label:d.label},!1).track;a[u]=f}}}}},Ul=function e(t,n){for(var r=0;r<t.length;r++){if(ws(n,t[r]))return!0;if(t[r].playlists&&e(t[r].playlists,n))return!0}return!1},zl={AUDIO:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if(n[r].enabled)return n[r];return null}},SUBTITLES:function(e,t){return function(){var n=t.mediaTypes[e].tracks;for(var r in n)if("showing"===n[r].mode||"hidden"===n[r].mode)return n[r];return null}}},Hl=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){Bl[t](t,e)}));var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,i=e.vhs,o=e.segmentLoaders,a=o.AUDIO,s=o.main;["AUDIO","SUBTITLES"].forEach((function(n){t[n].activeGroup=function(e,t){return function(n){var r=t.masterPlaylistLoader,i=t.mediaTypes[e].groups,o=r.media();if(!o)return null;var a=null;o.attributes[e]&&(a=i[o.attributes[e]]);var s=Object.keys(i);if(!a)if("AUDIO"===e&&s.length>1&&Es(t.master))for(var u=0;u<s.length;u++){var l=i[s[u]];if(Ul(l,o)){a=l;break}}else i.main?a=i.main:1===s.length&&(a=i[s[0]]);return void 0===n?a:null!==n&&a&&a.filter((function(e){return e.id===n.id}))[0]||null}}(n,e),t[n].activeTrack=zl[n](n,e),t[n].onGroupChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],i=n.main,o=t.mediaTypes[e],a=o.activeTrack(),s=o.getActiveGroup(),u=o.activePlaylistLoader,l=o.lastGroup_;s&&l&&s.id===l.id||(o.lastGroup_=s,o.lastTrack_=a,Dl(r,o),s&&!s.isMasterPlaylist&&(s.playlistLoader?(r.resyncLoader(),ql(s.playlistLoader,o)):u&&i.resetEverything()))}}(n,e),t[n].onGroupChanging=function(e,t){return function(){var n=t.segmentLoaders[e];t.mediaTypes[e].lastGroup_=null,n.abort(),n.pause()}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.masterPlaylistLoader,r=t.segmentLoaders,i=r[e],o=r.main,a=t.mediaTypes[e],s=a.activeTrack(),u=a.getActiveGroup(),l=a.activePlaylistLoader,c=a.lastTrack_;if((!c||!s||c.id!==s.id)&&(a.lastGroup_=u,a.lastTrack_=s,Dl(i,a),u)){if(u.isMasterPlaylist){if(!s||!c||s.id===c.id)return;var d=t.vhs.masterPlaylistController_,f=d.selectPlaylist();if(d.media()===f)return;return a.logger_("track change. Switching master audio from "+c.id+" to "+s.id),n.pause(),o.resetEverything(),void d.fastQualityChange_(f)}if("AUDIO"===e){if(!u.playlistLoader)return o.setAudio(!0),void o.resetEverything();i.setAudio(!0),o.setAudio(!1)}l!==u.playlistLoader?(i.track&&i.track(s),i.resetEverything(),ql(u.playlistLoader,a)):ql(u.playlistLoader,a)}}}(n,e),t[n].getActiveGroup=function(e,t){var n=t.mediaTypes;return function(){var t=n[e].activeTrack();return t?n[e].activeGroup(t):null}}(n,e)}));var u=t.AUDIO.activeGroup();if(u){var l=(u.filter((function(e){return e.default}))[0]||u[0]).id;t.AUDIO.tracks[l].enabled=!0,t.AUDIO.onGroupChanged(),t.AUDIO.onTrackChanged(),t.AUDIO.getActiveGroup().playlistLoader?(s.setAudio(!1),a.setAudio(!0)):s.setAudio(!0)}n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanged()}))})),n.on("mediachanging",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanging()}))}));var c=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"vhs-audio-change"}),r.trigger({type:"usage",name:"hls-audio-change"})};for(var d in r.audioTracks().addEventListener("change",c),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),i.on("dispose",(function(){r.audioTracks().removeEventListener("change",c),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[d])},Vl=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred","mediaAppends"],Wl=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},Yl=function(e){function t(t){var n;n=e.call(this)||this;var r=t.src,o=t.handleManifestRedirects,a=t.withCredentials,s=t.tech,u=t.bandwidth,l=t.externVhs,d=t.useCueTags,f=t.blacklistDuration,p=t.enableLowInitialPlaylist,h=t.sourceType,m=t.cacheEncryptionKeys,v=t.experimentalBufferBasedABR,g=t.experimentalLeastPixelDiffSelector,y=t.captionServices;if(!r)throw new Error("A non-empty playlist URL or JSON manifest string is required");var b=t.maxPlaylistRetries;null==b&&(b=1/0),al=l,n.experimentalBufferBasedABR=Boolean(v),n.experimentalLeastPixelDiffSelector=Boolean(g),n.withCredentials=a,n.tech_=s,n.vhs_=s.vhs,n.sourceType_=h,n.useCueTags_=d,n.blacklistDuration=f,n.maxPlaylistRetries=b,n.enableLowInitialPlaylist=p,n.useCueTags_&&(n.cueTagsTrack_=n.tech_.addTextTrack("metadata","ad-cues"),n.cueTagsTrack_.inBandMetadataTrackDispatchType=""),n.requestOptions_={withCredentials:a,handleManifestRedirects:o,maxPlaylistRetries:b,timeout:null},n.on("error",n.pauseLoading),n.mediaTypes_=function(){var e={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){e[t]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:ol,activeTrack:ol,getActiveGroup:ol,onGroupChanged:ol,onTrackChanged:ol,lastTrack_:null,logger_:$a("MediaGroups["+t+"]")}})),e}(),n.mediaSource=new(i().MediaSource),n.handleDurationChange_=n.handleDurationChange_.bind(c(n)),n.handleSourceOpen_=n.handleSourceOpen_.bind(c(n)),n.handleSourceEnded_=n.handleSourceEnded_.bind(c(n)),n.mediaSource.addEventListener("durationchange",n.handleDurationChange_),n.mediaSource.addEventListener("sourceopen",n.handleSourceOpen_),n.mediaSource.addEventListener("sourceended",n.handleSourceEnded_),n.seekable_=Wa.createTimeRanges(),n.hasPlayed_=!1,n.syncController_=new Pl(t),n.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,n.decrypter_=new Ml,n.sourceUpdater_=new Sl(n.mediaSource),n.inbandTextTracks_={},n.timelineChangeController_=new Il;var _={vhs:n.vhs_,parse708captions:t.parse708captions,useDtsForTimestampOffset:t.useDtsForTimestampOffset,captionServices:y,mediaSource:n.mediaSource,currentTime:n.tech_.currentTime.bind(n.tech_),seekable:function(){return n.seekable()},seeking:function(){return n.tech_.seeking()},duration:function(){return n.duration()},hasPlayed:function(){return n.hasPlayed_},goalBufferLength:function(){return n.goalBufferLength()},bandwidth:u,syncController:n.syncController_,decrypter:n.decrypter_,sourceType:n.sourceType_,inbandTextTracks:n.inbandTextTracks_,cacheEncryptionKeys:m,sourceUpdater:n.sourceUpdater_,timelineChangeController:n.timelineChangeController_,experimentalExactManifestTimings:t.experimentalExactManifestTimings};n.masterPlaylistLoader_="dash"===n.sourceType_?new su(r,n.vhs_,n.requestOptions_):new js(r,n.vhs_,n.requestOptions_),n.setupMasterPlaylistLoaderListeners_(),n.mainSegmentLoader_=new il(Wa.mergeOptions(_,{segmentMetadataTrack:n.segmentMetadataTrack_,loaderType:"main"}),t),n.audioSegmentLoader_=new il(Wa.mergeOptions(_,{loaderType:"audio"}),t),n.subtitleSegmentLoader_=new Al(Wa.mergeOptions(_,{loaderType:"vtt",featuresNativeTextTracks:n.tech_.featuresNativeTextTracks}),t),n.setupSegmentLoaderListeners_(),n.experimentalBufferBasedABR&&(n.masterPlaylistLoader_.one("loadedplaylist",(function(){return n.startABRTimer_()})),n.tech_.on("pause",(function(){return n.stopABRTimer_()})),n.tech_.on("play",(function(){return n.startABRTimer_()}))),Vl.forEach((function(e){n[e+"_"]=Wl.bind(c(n),e)})),n.logger_=$a("MPC"),n.triggeredFmp4Usage=!1,"none"===n.tech_.preload()?(n.loadOnPlay_=function(){n.loadOnPlay_=null,n.masterPlaylistLoader_.load()},n.tech_.one("play",n.loadOnPlay_)):n.masterPlaylistLoader_.load(),n.timeToLoadedData__=-1,n.mainAppendsToLoadedData__=-1,n.audioAppendsToLoadedData__=-1;var w="none"===n.tech_.preload()?"play":"loadstart";return n.tech_.one(w,(function(){var e=Date.now();n.tech_.one("loadeddata",(function(){n.timeToLoadedData__=Date.now()-e,n.mainAppendsToLoadedData__=n.mainSegmentLoader_.mediaAppends,n.audioAppendsToLoadedData__=n.audioSegmentLoader_.mediaAppends}))})),n}f(t,e);var n=t.prototype;return n.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},n.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},n.appendsToLoadedData_=function(){var e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t},n.timeToLoadedData_=function(){return this.timeToLoadedData__},n.checkABR_=function(){var e=this.selectPlaylist();e&&this.shouldSwitchToMedia_(e)&&this.switchMedia_(e,"abr")},n.switchMedia_=function(e,t,n){var r=this.media(),i=r&&(r.id||r.uri),o=e.id||e.uri;i&&i!==o&&(this.logger_("switch media "+i+" -> "+o+" from "+t),this.tech_.trigger({type:"usage",name:"vhs-rendition-change-"+t})),this.masterPlaylistLoader_.media(e,n)},n.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=i().setInterval((function(){return e.checkABR_()}),250)},n.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(i().clearInterval(this.abrTimer_),this.abrTimer_=null)},n.getAudioTrackPlaylists_=function(){var e=this.master(),t=e&&e.playlists||[];if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return t;var n,r=e.mediaGroups.AUDIO,i=Object.keys(r);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)n=this.mediaTypes_.AUDIO.activeTrack();else{var o=r.main||i.length&&r[i[0]];for(var a in o)if(o[a].default){n={label:a};break}}if(!n)return t;var s=[];for(var u in r)if(r[u][n.label]){var l=r[u][n.label];if(l.playlists&&l.playlists.length)s.push.apply(s,l.playlists);else if(l.uri)s.push(l);else if(e.playlists.length)for(var c=0;c<e.playlists.length;c++){var d=e.playlists[c];d.attributes&&d.attributes.AUDIO&&d.attributes.AUDIO===u&&s.push(d)}}return s.length?s:t},n.setupMasterPlaylistLoaderListeners_=function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;_s(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,t.endList&&"none"!==e.tech_.preload()&&(e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load()),Hl({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,vhs:e.vhs_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t),e.setupFirstPlay(),!e.mediaTypes_.AUDIO.activePlaylistLoader||e.mediaTypes_.AUDIO.activePlaylistLoader.media()?e.trigger("selectedinitialmedia"):e.mediaTypes_.AUDIO.activePlaylistLoader.one("loadedmetadata",(function(){e.trigger("selectedinitialmedia")}))})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){e.loadOnPlay_&&e.tech_.off("play",e.loadOnPlay_);var t=e.masterPlaylistLoader_.media();if(!t){var n;if(e.excludeUnsupportedVariants_(),e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),!n||!e.shouldSwitchToMedia_(n))return;if(e.initialMedia_=n,e.switchMedia_(e.initialMedia_,"initial"),!("vhs-json"===e.sourceType_&&e.initialMedia_.segments))return;t=e.initialMedia_}e.handleUpdatedMediaPlaylist(t)})),this.masterPlaylistLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){e.mainSegmentLoader_.abort(),e.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;_s(e.masterPlaylistLoader_.master,e.masterPlaylistLoader_.media())?e.requestOptions_.timeout=0:e.requestOptions_.timeout=n,e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.mainSegmentLoader_.load(),e.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var t=e.masterPlaylistLoader_.media();"playlist-unchanged"!==t.lastExcludeReason_&&(e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating.",reason:"playlist-unchanged"}),e.tech_.trigger("playliststuck")))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-disabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){e.tech_.trigger({type:"usage",name:"vhs-rendition-enabled"}),e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))},n.handleUpdatedMediaPlaylist=function(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},n.triggerPresenceUsage_=function(e,t){var n=e.mediaGroups||{},r=!0,i=Object.keys(n.AUDIO);for(var o in n.AUDIO)for(var a in n.AUDIO[o]){n.AUDIO[o][a].uri||(r=!1)}r&&(this.tech_.trigger({type:"usage",name:"vhs-demuxed"}),this.tech_.trigger({type:"usage",name:"hls-demuxed"})),Object.keys(n.SUBTITLES).length&&(this.tech_.trigger({type:"usage",name:"vhs-webvtt"}),this.tech_.trigger({type:"usage",name:"hls-webvtt"})),al.Playlist.isAes(t)&&(this.tech_.trigger({type:"usage",name:"vhs-aes"}),this.tech_.trigger({type:"usage",name:"hls-aes"})),i.length&&Object.keys(n.AUDIO[i[0]]).length>1&&(this.tech_.trigger({type:"usage",name:"vhs-alternate-audio"}),this.tech_.trigger({type:"usage",name:"hls-alternate-audio"})),this.useCueTags_&&(this.tech_.trigger({type:"usage",name:"vhs-playlist-cue-tags"}),this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"}))},n.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media()||this.masterPlaylistLoader_.pendingMedia_,n=this.tech_.currentTime(),r=this.bufferLowWaterLine(),i=this.bufferHighWaterLine();return function(e){var t=e.currentPlaylist,n=e.buffered,r=e.currentTime,i=e.nextPlaylist,o=e.bufferLowWaterLine,a=e.bufferHighWaterLine,s=e.duration,u=e.experimentalBufferBasedABR,l=e.log;if(!i)return Wa.log.warn("We received no playlist to switch to. Please check your stream."),!1;var c="allowing switch "+(t&&t.id||"null")+" -> "+i.id;if(!t)return l(c+" as current playlist is not set"),!0;if(i.id===t.id)return!1;var d=Boolean(es(n,r).length);if(!t.endList)return d||"number"!=typeof t.partTargetDuration?(l(c+" as current playlist is live"),!0):(l("not "+c+" as current playlist is live llhls, but currentTime isn't in buffered."),!1);var f=os(n,r),p=u?uu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:uu.MAX_BUFFER_LOW_WATER_LINE;if(s<p)return l(c+" as duration < max low water line ("+s+" < "+p+")"),!0;var h=i.attributes.BANDWIDTH,m=t.attributes.BANDWIDTH;if(h<m&&(!u||f<a)){var v=c+" as next bandwidth < current bandwidth ("+h+" < "+m+")";return u&&(v+=" and forwardBuffer < bufferHighWaterLine ("+f+" < "+a+")"),l(v),!0}if((!u||h>m)&&f>=o){var g=c+" as forwardBuffer >= bufferLowWaterLine ("+f+" >= "+o+")";return u&&(g+=" and next bandwidth > current bandwidth ("+h+" > "+m+")"),l(g),!0}return l("not "+c+" as no switching criteria met"),!1}({buffered:this.tech_.buffered(),currentTime:n,currentPlaylist:t,nextPlaylist:e,bufferLowWaterLine:r,bufferHighWaterLine:i,duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},n.setupSegmentLoaderListeners_=function(){var e=this;this.experimentalBufferBasedABR||(this.mainSegmentLoader_.on("bandwidthupdate",(function(){var t=e.selectPlaylist();e.shouldSwitchToMedia_(t)&&e.switchMedia_(t,"bandwidthupdate"),e.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("progress",(function(){e.trigger("progress")}))),this.mainSegmentLoader_.on("error",(function(){e.blacklistCurrentPlaylist(e.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("appenderror",(function(){e.error=e.mainSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"vhs-timestamp-offset"}),e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.audioSegmentLoader_.on("appenderror",(function(){e.error=e.audioSegmentLoader_.error_,e.trigger("error")})),this.mainSegmentLoader_.on("ended",(function(){e.logger_("main segment loader ended"),e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(t){e.experimentalBufferBasedABR||(e.delegateLoaders_("all",["abort"]),e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120))}));var t=function(){if(!e.sourceUpdater_.hasCreatedSourceBuffers())return e.tryToCreateSourceBuffers_();var t=e.getCodecsOrExclude_();t&&e.sourceUpdater_.addOrChangeSourceBuffers(t)};this.mainSegmentLoader_.on("trackinfo",t),this.audioSegmentLoader_.on("trackinfo",t),this.mainSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("fmp4",(function(){e.triggeredFmp4Usage||(e.tech_.trigger({type:"usage",name:"vhs-fmp4"}),e.tech_.trigger({type:"usage",name:"hls-fmp4"}),e.triggeredFmp4Usage=!0)})),this.audioSegmentLoader_.on("ended",(function(){e.logger_("audioSegmentLoader ended"),e.onEndOfStream()}))},n.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},n.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},n.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},n.fastQualityChange_=function(e){var t=this;void 0===e&&(e=this.selectPlaylist()),e!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,"fast-quality"),this.mainSegmentLoader_.resetEverything((function(){Wa.browser.IE_VERSION||Wa.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())}))):this.logger_("skipping fastQualityChange because new media is same as old")},n.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}},n.setupFirstPlay=function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var n=this.seekable();if(!n.length)return!1;if(Wa.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one("loadedmetadata",(function(){e.trigger("firstplay"),e.tech_.setCurrentTime(n.end(0)),e.hasPlayed_=!0})),!1;this.trigger("firstplay"),this.tech_.setCurrentTime(n.end(0))}return this.hasPlayed_=!0,this.load(),!0},n.handleSourceOpen_=function(){if(this.tryToCreateSourceBuffers_(),this.tech_.autoplay()){var e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(function(e){}))}this.trigger("sourceopen")},n.handleSourceEnded_=function(){if(this.inbandTextTracks_.metadataTrack_){var e=this.inbandTextTracks_.metadataTrack_.cues;if(e&&e.length){var t=this.duration();e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}}},n.handleDurationChange_=function(){this.tech_.trigger("durationchange")},n.onEndOfStream=function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader){var t=this.mainSegmentLoader_.getCurrentMediaInfo_();e=!t||t.hasVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_}e&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},n.stuckAtPlaylistEnd_=function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;var n=al.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=Qa;var o=i.end(i.length-1);return o-r<=Qa&&n-o<=Qa},n.blacklistCurrentPlaylist=function(e,t){void 0===e&&(e={});var n=e.playlist||this.masterPlaylistLoader_.media();if(t=t||e.blacklistDuration||this.blacklistDuration,!n)return this.error=e,void("open"!==this.mediaSource.readyState?this.trigger("error"):this.sourceUpdater_.endOfStream("network"));n.playlistErrors_++;var r,i=this.masterPlaylistLoader_.master.playlists,o=i.filter(ys),a=1===o.length&&o[0]===n;if(1===i.length&&t!==1/0)return Wa.log.warn("Problem encountered with playlist "+n.id+". Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(a);if(a){var s=!1;i.forEach((function(e){if(e!==n){var t=e.excludeUntil;void 0!==t&&t!==1/0&&(s=!0,delete e.excludeUntil)}})),s&&(Wa.log.warn("Removing other playlists from the exclusion list because the last rendition is about to be excluded."),this.tech_.trigger("retryplaylist"))}r=n.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*t,n.excludeUntil=r,e.reason&&(n.lastExcludeReason_=e.reason),this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"vhs-rendition-blacklisted"}),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"});var u=this.selectPlaylist();if(!u)return this.error="Playback cannot continue. No available working or supported playlists.",void this.trigger("error");var l=e.internal?this.logger_:Wa.log.warn,c=e.message?" "+e.message:"";l((e.internal?"Internal problem":"Problem")+" encountered with playlist "+n.id+"."+c+" Switching to playlist "+u.id+"."),u.attributes.AUDIO!==n.attributes.AUDIO&&this.delegateLoaders_("audio",["abort","pause"]),u.attributes.SUBTITLES!==n.attributes.SUBTITLES&&this.delegateLoaders_("subtitle",["abort","pause"]),this.delegateLoaders_("main",["abort","pause"]);var d=u.targetDuration/2*1e3||5e3,f="number"==typeof u.lastRequest&&Date.now()-u.lastRequest<=d;return this.switchMedia_(u,"exclude",a||f)},n.pauseLoading=function(){this.delegateLoaders_("all",["abort","pause"]),this.stopABRTimer_()},n.delegateLoaders_=function(e,t){var n=this,r=[],i="all"===e;(i||"main"===e)&&r.push(this.masterPlaylistLoader_);var o=[];(i||"audio"===e)&&o.push("AUDIO"),(i||"subtitle"===e)&&(o.push("CLOSED-CAPTIONS"),o.push("SUBTITLES")),o.forEach((function(e){var t=n.mediaTypes_[e]&&n.mediaTypes_[e].activePlaylistLoader;t&&r.push(t)})),["main","audio","subtitle"].forEach((function(t){var i=n[t+"SegmentLoader_"];!i||e!==t&&"all"!==e||r.push(i)})),r.forEach((function(e){return t.forEach((function(t){"function"==typeof e[t]&&e[t]()}))}))},n.setCurrentTime=function(e){var t=es(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},n.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:al.Playlist.duration(e):1/0:0},n.seekable=function(){return this.seekable_},n.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.duration());if(null!==n){var r=this.masterPlaylistLoader_.master,i=al.Playlist.seekable(t,n,al.Playlist.liveEdgeDelay(r,t));if(0!==i.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=al.Playlist.seekable(t,n,al.Playlist.liveEdgeDelay(r,t))).length)return}var o,a;this.seekable_&&this.seekable_.length&&(o=this.seekable_.end(0),a=this.seekable_.start(0)),e?e.start(0)>i.end(0)||i.start(0)>e.end(0)?this.seekable_=i:this.seekable_=Wa.createTimeRanges([[e.start(0)>i.start(0)?e.start(0):i.start(0),e.end(0)<i.end(0)?e.end(0):i.end(0)]]):this.seekable_=i,this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===o&&this.seekable_.start(0)===a||(this.logger_("seekable updated ["+ns(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}},n.updateDuration=function(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.updateDuration_=null),"open"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener("sourceopen",this.updateDuration_);if(e){var t=this.seekable();if(!t.length)return;(isNaN(this.mediaSource.duration)||this.mediaSource.duration<t.end(t.length-1))&&this.sourceUpdater_.setDuration(t.end(t.length-1))}else{var n=this.tech_.buffered(),r=al.Playlist.duration(this.masterPlaylistLoader_.media());n.length>0&&(r=Math.max(r,n.end(n.length-1))),this.mediaSource.duration!==r&&this.sourceUpdater_.setDuration(r)}},n.dispose=function(){var e=this;this.trigger("dispose"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off("play",this.loadOnPlay_),["AUDIO","SUBTITLES"].forEach((function(t){var n=e.mediaTypes_[t].groups;for(var r in n)n[r].forEach((function(e){e.playlistLoader&&e.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener("sourceopen",this.updateDuration_),this.mediaSource.removeEventListener("durationchange",this.handleDurationChange_),this.mediaSource.removeEventListener("sourceopen",this.handleSourceOpen_),this.mediaSource.removeEventListener("sourceended",this.handleSourceEnded_),this.off()},n.master=function(){return this.masterPlaylistLoader_.master},n.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},n.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),n=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return!(!t||!n)},n.getCodecsOrExclude_=function(){var e=this,t={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};t.video=t.main;var n=Uu(this.master(),this.media()),r={},i=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(t.main.hasVideo&&(r.video=n.video||t.main.videoCodec||"avc1.4d400d"),t.main.isMuxed&&(r.video+=","+(n.audio||t.main.audioCodec||K)),(t.main.hasAudio&&!t.main.isMuxed||t.audio.hasAudio||i)&&(r.audio=n.audio||t.main.audioCodec||t.audio.audioCodec||K,t.audio.isFmp4=t.main.hasAudio&&!t.main.isMuxed?t.main.isFmp4:t.audio.isFmp4),r.audio||r.video){var o,a={};if(["video","audio"].forEach((function(e){if(r.hasOwnProperty(e)&&(i=t[e].isFmp4,s=r[e],!(i?Y(s):G(s)))){var n=t[e].isFmp4?"browser":"muxer";a[n]=a[n]||[],a[n].push(r[e]),"audio"===e&&(o=n)}var i,s})),i&&o&&this.media().attributes.AUDIO){var s=this.media().attributes.AUDIO;this.master().playlists.forEach((function(t){(t.attributes&&t.attributes.AUDIO)===s&&t!==e.media()&&(t.excludeUntil=1/0)})),this.logger_("excluding audio group "+s+" as "+o+' does not support codec(s): "'+r.audio+'"')}if(!Object.keys(a).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var u=[];if(["video","audio"].forEach((function(t){var n=(H(e.sourceUpdater_.codecs[t]||"")[0]||{}).type,i=(H(r[t]||"")[0]||{}).type;n&&i&&n.toLowerCase()!==i.toLowerCase()&&u.push('"'+e.sourceUpdater_.codecs[t]+'" -> "'+r[t]+'"')})),u.length)return void this.blacklistCurrentPlaylist({playlist:this.media(),message:"Codec switching not supported: "+u.join(", ")+".",blacklistDuration:1/0,internal:!0})}return r}var l=Object.keys(a).reduce((function(e,t){return e&&(e+=", "),e+=t+' does not support codec(s): "'+a[t].join(",")+'"'}),"")+".";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:l,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:"Could not determine codecs for playlist.",blacklistDuration:1/0})},n.tryToCreateSourceBuffers_=function(){if("open"===this.mediaSource.readyState&&!this.sourceUpdater_.hasCreatedSourceBuffers()&&this.areMediaTypesKnown_()){var e=this.getCodecsOrExclude_();if(e){this.sourceUpdater_.createSourceBuffers(e);var t=[e.video,e.audio].filter(Boolean).join(",");this.excludeIncompatibleVariants_(t)}}},n.excludeUnsupportedVariants_=function(){var e=this,t=this.master().playlists,n=[];Object.keys(t).forEach((function(r){var i=t[r];if(-1===n.indexOf(i.id)){n.push(i.id);var o=Uu(e.master,i),a=[];!o.audio||G(o.audio)||Y(o.audio)||a.push("audio codec "+o.audio),!o.video||G(o.video)||Y(o.video)||a.push("video codec "+o.video),o.text&&"stpp.ttml.im1t"===o.text&&a.push("text codec "+o.text),a.length&&(i.excludeUntil=1/0,e.logger_("excluding "+i.id+" for unsupported: "+a.join(", ")))}}))},n.excludeIncompatibleVariants_=function(e){var t=this,n=[],r=this.master().playlists,i=Fu(H(e)),o=Bu(i),a=i.video&&H(i.video)[0]||null,s=i.audio&&H(i.audio)[0]||null;Object.keys(r).forEach((function(e){var i=r[e];if(-1===n.indexOf(i.id)&&i.excludeUntil!==1/0){n.push(i.id);var u=[],l=Uu(t.masterPlaylistLoader_.master,i),c=Bu(l);if(l.audio||l.video){if(c!==o&&u.push('codec count "'+c+'" !== "'+o+'"'),!t.sourceUpdater_.canChangeType()){var d=l.video&&H(l.video)[0]||null,f=l.audio&&H(l.audio)[0]||null;d&&a&&d.type.toLowerCase()!==a.type.toLowerCase()&&u.push('video codec "'+d.type+'" !== "'+a.type+'"'),f&&s&&f.type.toLowerCase()!==s.type.toLowerCase()&&u.push('audio codec "'+f.type+'" !== "'+s.type+'"')}u.length&&(i.excludeUntil=1/0,t.logger_("blacklisting "+i.id+": "+u.join(" && ")))}}}))},n.updateAdCues_=function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,t,n){if(void 0===n&&(n=0),e.segments)for(var r,o=n,a=0;a<e.segments.length;a++){var s=e.segments[a];if(r||(r=Ol(t,o+s.duration/2)),r){if("cueIn"in s){r.endTime=o,r.adEndTime=o,o+=s.duration,r=null;continue}if(o<r.endTime){o+=s.duration;continue}r.endTime+=s.duration}else if("cueOut"in s&&((r=new(i().VTTCue)(o,o+s.duration,s.cueOut)).adStartTime=o,r.adEndTime=o+parseFloat(s.cueOut),t.addCue(r)),"cueOutCont"in s){var u=s.cueOutCont.split("/").map(parseFloat),l=u[0],c=u[1];(r=new(i().VTTCue)(o,o+s.duration,"")).adStartTime=o-l,r.adEndTime=r.adStartTime+c,t.addCue(r)}o+=s.duration}}(e,this.cueTagsTrack_,t)},n.goalBufferLength=function(){var e=this.tech_.currentTime(),t=uu.GOAL_BUFFER_LENGTH,n=uu.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,uu.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)},n.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=uu.BUFFER_LOW_WATER_LINE,n=uu.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,uu.MAX_BUFFER_LOW_WATER_LINE),i=Math.max(t,uu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,this.experimentalBufferBasedABR?i:r)},n.bufferHighWaterLine=function(){return uu.BUFFER_HIGH_WATER_LINE},t}(Wa.EventTarget),Gl=function(e,t,n){var r,i,o,a=e.masterPlaylistController_,s=a[(e.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(a);if(t.attributes){var u=t.attributes.RESOLUTION;this.width=u&&u.width,this.height=u&&u.height,this.bandwidth=t.attributes.BANDWIDTH}this.codecs=Uu(a.master(),t),this.playlist=t,this.id=n,this.enabled=(r=e.playlists,i=t.id,o=s,function(e){var t=r.master.playlists[i],n=gs(t),a=ys(t);return void 0===e?a:(e?delete t.disabled:t.disabled=!0,e===a||n||(o(),e?r.trigger("renditionenabled"):r.trigger("renditiondisabled")),e)})},Kl=["seeking","seeked","pause","playing","error"],Xl=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=$a("PlaybackWatcher"),this.logger_("initialize");var n=function(){return t.monitorCurrentTime_()},r=function(){return t.monitorCurrentTime_()},o=function(){return t.techWaiting_()},a=function(){return t.cancelTimer_()},s=this.masterPlaylistController_,u=["main","subtitle","audio"],l={};u.forEach((function(e){l[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},s[e+"SegmentLoader_"].on("appendsdone",l[e].updateend),s[e+"SegmentLoader_"].on("playlistupdate",l[e].reset),t.tech_.on(["seeked","seeking"],l[e].reset)}));var c=function(e){["main","audio"].forEach((function(n){s[n+"SegmentLoader_"][e]("appended",t.seekingAppendCheck_)}))};this.seekingAppendCheck_=function(){t.fixesBadSeeks_()&&(t.consecutiveUpdates=0,t.lastRecordedTime=t.tech_.currentTime(),c("off"))},this.clearSeekingAppendCheck_=function(){return c("off")},this.watchForBadSeeking_=function(){t.clearSeekingAppendCheck_(),c("on")},this.tech_.on("seeked",this.clearSeekingAppendCheck_),this.tech_.on("seeking",this.watchForBadSeeking_),this.tech_.on("waiting",o),this.tech_.on(Kl,a),this.tech_.on("canplay",r),this.tech_.one("play",n),this.dispose=function(){t.clearSeekingAppendCheck_(),t.logger_("dispose"),t.tech_.off("waiting",o),t.tech_.off(Kl,a),t.tech_.off("canplay",r),t.tech_.off("play",n),t.tech_.off("seeking",t.watchForBadSeeking_),t.tech_.off("seeked",t.clearSeekingAppendCheck_),u.forEach((function(e){s[e+"SegmentLoader_"].off("appendsdone",l[e].updateend),s[e+"SegmentLoader_"].off("playlistupdate",l[e].reset),t.tech_.off(["seeked","seeking"],l[e].reset)})),t.checkCurrentTimeTimeout_&&i().clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i().setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+"SegmentLoader_"];this[e+"StalledDownloads_"]>0&&this.logger_("resetting possible stalled download count for "+e+" loader"),this[e+"StalledDownloads_"]=0,this[e+"Buffered_"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,n=t[e+"SegmentLoader_"],r=n.buffered_(),i=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e.start(n)!==t.start(n)||e.end(n)!==t.end(n))return!0;return!1}(this[e+"Buffered_"],r);this[e+"Buffered_"]=r,i?this.resetSegmentDownloads_(e):(this[e+"StalledDownloads_"]++,this.logger_("found #"+this[e+"StalledDownloads_"]+" "+e+" appends that did not increase buffer (possible stalled download)",{playlistId:n.playlist_&&n.playlist_.id,buffered:rs(r)}),this[e+"StalledDownloads_"]<10||(this.logger_(e+" loader stalled download exclusion"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:"usage",name:"vhs-"+e+"-download-exclusion"}),"subtitle"!==e&&t.blacklistCurrentPlaylist({message:"Excessive "+e+" segment downloading detected."},1/0)))},t.checkCurrentTime_=function(){if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+Qa>=t.end(t.length-1)))return this.techWaiting_();this.consecutiveUpdates>=5&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),n=this.tech_.currentTime();this.afterSeekableWindow_(t,n,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1));if(this.beforeSeekableWindow_(t,n)){var r=t.start(0);e=r+(r===t.end(0)?0:Qa)}if(void 0!==e)return this.logger_("Trying to seek outside of seekable at time "+n+" with seekable range "+ns(t)+". Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0;for(var i=this.masterPlaylistController_.sourceUpdater_,o=this.tech_.buffered(),a=i.audioBuffer?i.audioBuffered():null,s=i.videoBuffer?i.videoBuffered():null,u=this.media(),l=u.partTargetDuration?u.partTargetDuration:2*(u.targetDuration-Za),c=[a,s],d=0;d<c.length;d++){if(c[d])if(os(c[d],n)<l)return!1}var f=ts(o,n);return 0!==f.length&&(e=f.start(0)+Qa,this.logger_("Buffered region starts ("+f.start(0)+")  just beyond seek point ("+n+"). Seeking to "+e+"."),this.tech_.setCurrentTime(e),!0)},t.waiting_=function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=es(t,e);return n.length&&e+3<=n.end(0)?(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.logger_("Stopped at "+e+" while inside a buffered region ["+n.start(0)+" -> "+n.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"vhs-unknown-waiting"}),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var n=e.end(e.length-1);return this.logger_("Fell out of live window at time "+t+". Seeking to live point (seekable end) "+n),this.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"vhs-live-resync"}),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}var r=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,i=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:r.audioBuffered(),videoBuffered:r.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"vhs-video-underflow"}),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;var o=ts(i,t);if(o.length>0){var a=o.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+a+", seeking to "+o.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*a,t),!0}return!1},t.afterSeekableWindow_=function(e,t,n,r){if(void 0===r&&(r=!1),!e.length)return!1;var i=e.end(e.length-1)+Qa;return!n.endList&&r&&(i=e.end(e.length-1)+3*n.targetDuration),t>i},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-this.liveRangeSafeTimeDelta)},t.videoUnderflow_=function(e){var t=e.videoBuffered,n=e.audioBuffered,r=e.currentTime;if(t){var i;if(t.length&&n.length){var o=es(t,r-3),a=es(t,r),s=es(n,r);s.length&&!a.length&&o.length&&(i={start:o.end(0),end:s.end(0)})}else{ts(t,r).length||(i=this.gapFromVideoUnderflow_(t,r))}return!!i&&(this.logger_("Encountered a gap in video from "+i.start+" to "+i.end+". Seeking to current time "+r),!0)}},t.skipTheGap_=function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=ts(t,n);this.cancelTimer_(),0!==r.length&&n===e&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",e,"nextRange start:",r.start(0)),this.tech_.setCurrentTime(r.start(0)+Za),this.tech_.trigger({type:"usage",name:"vhs-gap-skip"}),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))},t.gapFromVideoUnderflow_=function(e,t){for(var n=function(e){if(e.length<2)return Wa.createTimeRanges();for(var t=[],n=1;n<e.length;n++){var r=e.end(n-1),i=e.start(n);t.push([r,i])}return Wa.createTimeRanges(t)}(e),r=0;r<n.length;r++){var i=n.start(r),o=n.end(r);if(t-i<4&&t-i>2)return{start:i,end:o}}return null},e}(),$l={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},Zl=function e(t,n){var r=0,i=0,o=Wa.mergeOptions($l,n);t.ready((function(){t.trigger({type:"usage",name:"vhs-error-reload-initialized"}),t.trigger({type:"usage",name:"hls-error-reload-initialized"})}));var a=function(){i&&t.currentTime(i)},s=function(e){null!=e&&(i=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",a),t.src(e),t.trigger({type:"usage",name:"vhs-error-reload"}),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())},u=function(){return Date.now()-r<1e3*o.errorInterval?(t.trigger({type:"usage",name:"vhs-error-reload-canceled"}),void t.trigger({type:"usage",name:"hls-error-reload-canceled"})):o.getSource&&"function"==typeof o.getSource?(r=Date.now(),o.getSource.call(t,s)):void Wa.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")},l=function e(){t.off("loadedmetadata",a),t.off("error",u),t.off("dispose",e)};t.on("error",u),t.on("dispose",l),t.reloadSourceOnError=function(n){l(),e(t,n)}},Ql="2.14.2",Jl={PlaylistLoader:js,Playlist:xs,utils:Zs,STANDARD_PLAYLIST_SELECTOR:Ku,INITIAL_PLAYLIST_SELECTOR:function(){var e=this,t=this.playlists.master.playlists.filter(xs.isEnabled);return Wu(t,(function(e,t){return Yu(e,t)})),t.filter((function(t){return!!Uu(e.playlists.master,t).video}))[0]||null},lastBandwidthSelector:Ku,movingAverageBandwidthSelector:function(e){var t=-1,n=-1;if(e<0||e>1)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){var r=this.useDevicePixelRatio&&i().devicePixelRatio||1;return t<0&&(t=this.systemBandwidth,n=this.systemBandwidth),this.systemBandwidth>0&&this.systemBandwidth!==n&&(t=e*this.systemBandwidth+(1-e)*t,n=this.systemBandwidth),Gu(this.playlists.master,t,parseInt(Vu(this.tech_.el(),"width"),10)*r,parseInt(Vu(this.tech_.el(),"height"),10)*r,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:Yu,comparePlaylistResolution:function(e,t){var n,r;return e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width&&(n=e.attributes.RESOLUTION.width),n=n||i().Number.MAX_VALUE,t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width&&(r=t.attributes.RESOLUTION.width),n===(r=r||i().Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:n-r},xhr:zs()};Object.keys(uu).forEach((function(e){Object.defineProperty(Jl,e,{get:function(){return Wa.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),uu[e]},set:function(t){Wa.log.warn("using Vhs."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?Wa.log.warn("value of Vhs."+e+" must be greater than or equal to 0"):uu[e]=t}})}));var ec="videojs-vhs",tc=function(e,t){for(var n=t.media(),r=-1,i=0;i<e.length;i++)if(e[i].id===n.id){r=i;break}e.selectedIndex_=r,e.trigger({selectedIndex:r,type:"change"})};Jl.canPlaySource=function(){return Wa.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var nc=function(e){var t=e.player,n=e.sourceKeySystems,r=e.audioMedia,i=e.mainPlaylists;if(!t.eme.initializeMediaKeys)return Promise.resolve();var o=function(e,t){return e.reduce((function(e,n){if(!n.contentProtection)return e;var r=t.reduce((function(e,t){var r=n.contentProtection[t];return r&&r.pssh&&(e[t]={pssh:r.pssh}),e}),{});return Object.keys(r).length&&e.push(r),e}),[])}(r?i.concat([r]):i,Object.keys(n)),a=[],s=[];return o.forEach((function(e){s.push(new Promise((function(e,n){t.tech_.one("keysessioncreated",e)}))),a.push(new Promise((function(n,r){t.eme.initializeMediaKeys({keySystems:e},(function(e){e?r(e):n()}))})))})),Promise.race([Promise.all(a),Promise.race(s)])},rc=function(e){var t=e.player,n=function(e,t,n){if(!e)return e;var r={};t&&t.attributes&&t.attributes.CODECS&&(r=Fu(H(t.attributes.CODECS))),n&&n.attributes&&n.attributes.CODECS&&(r.audio=n.attributes.CODECS);var i=W(r.video),o=W(r.audio),a={};for(var s in e)a[s]={},o&&(a[s].audioContentType=o),i&&(a[s].videoContentType=i),t.contentProtection&&t.contentProtection[s]&&t.contentProtection[s].pssh&&(a[s].pssh=t.contentProtection[s].pssh),"string"==typeof e[s]&&(a[s].url=e[s]);return Wa.mergeOptions(e,a)}(e.sourceKeySystems,e.media,e.audioMedia);return!!n&&(t.currentSource().keySystems=n,!(n&&!t.eme)||(Wa.log.warn("DRM encrypted source cannot be decrypted without a DRM plugin"),!1))},ic=function(){if(!i().localStorage)return null;var e=i().localStorage.getItem(ec);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Jl.supportsNativeHls=function(){if(!a()||!a().createElement)return!1;var e=a().createElement("video");if(!Wa.getTech("Html5").isSupported())return!1;return["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(t){return/maybe|probably/i.test(e.canPlayType(t))}))}(),Jl.supportsNativeDash=!!(a()&&a().createElement&&Wa.getTech("Html5").isSupported())&&/maybe|probably/i.test(a().createElement("video").canPlayType("application/dash+xml")),Jl.supportsTypeNatively=function(e){return"hls"===e?Jl.supportsNativeHls:"dash"===e&&Jl.supportsNativeDash},Jl.isSupported=function(){return Wa.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var oc=function(e){function t(t,n,r){var i;if(i=e.call(this,n,Wa.mergeOptions(r.hls,r.vhs))||this,r.hls&&Object.keys(r.hls).length&&Wa.log.warn("Using hls options is deprecated. Please rename `hls` to `vhs` in your options object."),"number"==typeof r.initialBandwidth&&(i.options_.bandwidth=r.initialBandwidth),i.logger_=$a("VhsHandler"),n.options_&&n.options_.playerId){var o=Wa(n.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return Wa.log.warn("player.hls is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"hls-player-access"}),c(i)},configurable:!0}),o.hasOwnProperty("vhs")||Object.defineProperty(o,"vhs",{get:function(){return Wa.log.warn("player.vhs is deprecated. Use player.tech().vhs instead."),n.trigger({type:"usage",name:"vhs-player-access"}),c(i)},configurable:!0}),o.hasOwnProperty("dash")||Object.defineProperty(o,"dash",{get:function(){return Wa.log.warn("player.dash is deprecated. Use player.tech().vhs instead."),c(i)},configurable:!0}),i.player_=o}if(i.tech_=n,i.source_=t,i.stats={},i.ignoreNextSeekingEvent_=!1,i.setOptions_(),i.options_.overrideNative&&n.overrideNativeAudioTracks&&n.overrideNativeVideoTracks)n.overrideNativeAudioTracks(!0),n.overrideNativeVideoTracks(!0);else if(i.options_.overrideNative&&(n.featuresNativeVideoTracks||n.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");return i.on(a(),["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(e){var t=a().fullscreenElement||a().webkitFullscreenElement||a().mozFullScreenElement||a().msFullscreenElement;t&&t.contains(i.tech_.el())?i.masterPlaylistController_.fastQualityChange_():i.masterPlaylistController_.checkABR_()})),i.on(i.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),i.on(i.tech_,"error",(function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),i.on(i.tech_,"play",i.play),i}f(t,e);var n=t.prototype;return n.setOptions_=function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=void 0!==this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.useNetworkInformationApi=this.options_.useNetworkInformationApi||!1,this.options_.useDtsForTimestampOffset=this.options_.useDtsForTimestampOffset||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage){var t=ic();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,this.tech_.trigger({type:"usage",name:"vhs-bandwidth-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-bandwidth-from-local-storage"})),t&&t.throughput&&(this.options_.throughput=t.throughput,this.tech_.trigger({type:"usage",name:"vhs-throughput-from-local-storage"}),this.tech_.trigger({type:"usage",name:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=uu.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===uu.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys","playlistSelector","initialPlaylistSelector","experimentalBufferBasedABR","liveRangeSafeTimeDelta","experimentalLLHLS","useNetworkInformationApi","useDtsForTimestampOffset","experimentalExactManifestTimings","experimentalLeastPixelDiffSelector"].forEach((function(t){void 0!==e.source_[t]&&(e.options_[t]=e.source_[t])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},n.src=function(e,t){var n=this;if(e){var r;this.setOptions_(),this.options_.src=0===(r=this.source_.src).toLowerCase().indexOf("data:application/vnd.videojs.vhs+json,")?JSON.parse(r.substring(r.indexOf(",")+1)):r,this.options_.tech=this.tech_,this.options_.externVhs=Jl,this.options_.sourceType=Z(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.options_.smoothQualityChange&&Wa.log.warn("smoothQualityChange is deprecated and will be removed in the next major version"),this.masterPlaylistController_=new Yl(this.options_);var o=Wa.mergeOptions({liveRangeSafeTimeDelta:Qa},this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_});this.playbackWatcher_=new Xl(o),this.masterPlaylistController_.on("error",(function(){var e=Wa.players[n.tech_.options_.playerId],t=n.masterPlaylistController_.error;"object"!=typeof t||t.code?"string"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}));var a=this.options_.experimentalBufferBasedABR?Jl.movingAverageBandwidthSelector(.55):Jl.STANDARD_PLAYLIST_SELECTOR;this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):a.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Jl.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){var e=this.masterPlaylistController_.mainSegmentLoader_.bandwidth,t=i().navigator.connection||i().navigator.mozConnection||i().navigator.webkitConnection,n=1e7;if(this.options_.useNetworkInformationApi&&t){var r=1e3*t.downlink*1e3;e=r>=n&&e>=n?Math.max(e,r):r}return e},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e,t=1/(this.bandwidth||1);return e=this.throughput>0?1/this.throughput:0,Math.floor(1/(t+e))},set:function(){Wa.log.error('The "systemBandwidth" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return rs(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return rs(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on("bandwidthupdate",(function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!i().localStorage)return!1;var t=ic();t=t?Wa.mergeOptions(t,e):e;try{i().localStorage.setItem(ec,JSON.stringify(t))}catch(e){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e;(e=n).representations=function(){var t=e.masterPlaylistController_.master(),n=Es(t)?e.masterPlaylistController_.getAudioTrackPlaylists_():t.playlists;return n?n.filter((function(e){return!gs(e)})).map((function(t,n){return new Gl(e,t,t.id)})):[]}})),this.masterPlaylistController_.sourceUpdater_.on("createdsourcebuffers",(function(){n.setupEme_()})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=i().URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_))}},n.createKeySessions_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader;this.logger_("waiting for EME key session creation"),nc({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:t&&t.media(),mainPlaylists:this.playlists.master.playlists}).then((function(){e.logger_("created EME key session"),e.masterPlaylistController_.sourceUpdater_.initializedEme()})).catch((function(t){e.logger_("error while creating EME key session",t),e.player_.error({message:"Failed to initialize media keys for EME",code:3})}))},n.handleWaitingForKey_=function(){this.logger_("waitingforkey fired, attempting to create any new key sessions"),this.createKeySessions_()},n.setupEme_=function(){var e=this,t=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,n=rc({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:t&&t.media()});this.player_.tech_.on("keystatuschange",(function(t){"output-restricted"===t.status&&e.masterPlaylistController_.blacklistCurrentPlaylist({playlist:e.masterPlaylistController_.media(),message:"DRM keystatus changed to "+t.status+". Playlist will fail to play. Check for HDCP content.",blacklistDuration:1/0})})),this.handleWaitingForKey_=this.handleWaitingForKey_.bind(this),this.player_.tech_.on("waitingforkey",this.handleWaitingForKey_),11!==Wa.browser.IE_VERSION&&n?this.createKeySessions_():this.masterPlaylistController_.sourceUpdater_.initializedEme()},n.setupQualityLevels_=function(){var e=this,t=Wa.players[this.tech_.options_.playerId];t&&t.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=t.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var t,n;t=e.qualityLevels_,(n=e).representations().forEach((function(e){t.addQualityLevel(e)})),tc(t,n.playlists)})),this.playlists.on("mediachange",(function(){tc(e.qualityLevels_,e.playlists)})))},t.version=function(){return{"@videojs/http-streaming":Ql,"mux.js":"6.0.1","mpd-parser":"0.21.1","m3u8-parser":"4.7.1","aes-decrypter":"3.1.3"}},n.version=function(){return this.constructor.version()},n.canChangeType=function(){return Sl.canChangeType()},n.play=function(){this.masterPlaylistController_.play()},n.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},n.duration=function(){return this.masterPlaylistController_.duration()},n.seekable=function(){return this.masterPlaylistController_.seekable()},n.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&i().URL.revokeObjectURL&&(i().URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),this.tech_&&this.tech_.off("waitingforkey",this.handleWaitingForKey_),e.prototype.dispose.call(this)},n.convertToProgramTime=function(e,t){return Qs({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},n.seekToProgramTime=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=2),Js({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},t}(Wa.getComponent("Component")),ac={name:"videojs-http-streaming",VERSION:Ql,canHandleSource:function(e,t){void 0===t&&(t={});var n=Wa.mergeOptions(Wa.options,t);return ac.canPlayType(e.type,n)},handleSource:function(e,t,n){void 0===n&&(n={});var r=Wa.mergeOptions(Wa.options,n);return t.vhs=new oc(e,t,r),Wa.hasOwnProperty("hls")||Object.defineProperty(t,"hls",{get:function(){return Wa.log.warn("player.tech().hls is deprecated. Use player.tech().vhs instead."),t.vhs},configurable:!0}),t.vhs.xhr=zs(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){void 0===t&&(t={});var n=Wa.mergeOptions(Wa.options,t),r=n.vhs,i=(r=void 0===r?{}:r).overrideNative,o=void 0===i?!Wa.browser.IS_ANY_SAFARI:i,a=n.hls,s=(a=void 0===a?{}:a).overrideNative,u=void 0!==s&&s,l=Z(e);return l&&(!Jl.supportsTypeNatively(l)||u||o)?"maybe":""}};(Y("avc1.4d400d,mp4a.40.2")&&Wa.getTech("Html5").registerSourceHandler(ac,0),Wa.VhsHandler=oc,Object.defineProperty(Wa,"HlsHandler",{get:function(){return Wa.log.warn("videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead."),oc},configurable:!0}),Wa.VhsSourceHandler=ac,Object.defineProperty(Wa,"HlsSourceHandler",{get:function(){return Wa.log.warn("videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead."),ac},configurable:!0}),Wa.Vhs=Jl,Object.defineProperty(Wa,"Hls",{get:function(){return Wa.log.warn("videojs.Hls is deprecated. Use videojs.Vhs instead."),Jl},configurable:!0}),Wa.use||(Wa.registerComponent("Hls",Jl),Wa.registerComponent("Vhs",Jl)),Wa.options.vhs=Wa.options.vhs||{},Wa.options.hls=Wa.options.hls||{},Wa.getPlugin&&Wa.getPlugin("reloadSourceOnError"))||(Wa.registerPlugin||Wa.plugin)("reloadSourceOnError",(function(e){Zl(this,e)}));var sc=Wa},13407:function(e,t,n){var r=n(58908),i=e.exports={WebVTT:n(63706),VTTCue:n(22230),VTTRegion:n(13710)};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,a=i.VTTRegion,s=r.VTTCue,u=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=a},i.restore=function(){r.VTTCue=s,r.VTTRegion=u},r.VTTCue||i.shim()},63706:function(e,t,n){var r=n(89144),i=Object.create||function(){function e(){}return function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function o(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function a(e){function t(e,t,n,r){return 3600*(0|e)+60*(0|t)+(0|n)+(0|r)/1e3}var n=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return n?n[3]?t(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?t(n[1],n[2],0,n[4]):t(0,n[1],n[2],n[4]):null}function s(){this.values=i(null)}function u(e,t,n,r){var i=r?e.split(r):[e];for(var o in i)if("string"==typeof i[o]){var a=i[o].split(n);if(2===a.length)t(a[0].trim(),a[1].trim())}}function l(e,t,n){var r=e;function i(){var t=a(e);if(null===t)throw new o(o.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function l(){e=e.replace(/^\s+/,"")}if(l(),t.startTime=i(),l(),"--\x3e"!==e.substr(0,3))throw new o(o.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+r);e=e.substr(3),l(),t.endTime=i(),l(),function(e,t){var r=new s;u(e,(function(e,t){switch(e){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===t){r.set(e,n[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var o=t.split(","),a=o[0];r.integer(e,a),r.percent(e,a)&&r.set("snapToLines",!1),r.alt(e,a,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","center","end"]);break;case"position":o=t.split(","),r.percent(e,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}}),/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(e){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}o.prototype=i(Error.prototype),o.prototype.constructor=o,o.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,n){return n?this.has(e)?this.values[e]:t[n]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,n){for(var r=0;r<n.length;++r)if(t===n[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var c=r.createElement&&r.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},f={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},h={rt:"ruby"};function m(e,t){function n(){if(!t)return null;var e,n=t.match(/^([^<]*)(<[^>]*>?)?/);return e=n[1]?n[1]:n[2],t=t.substr(e.length),e}function r(e,t){return!h[t.localName]||h[t.localName]===e.localName}function i(t,n){var r=d[t];if(!r)return null;var i=e.document.createElement(r),o=p[t];return o&&n&&(i[o]=n.trim()),i}for(var o,s,u=e.document.createElement("div"),l=u,m=[];null!==(o=n());)if("<"!==o[0])l.appendChild(e.document.createTextNode((s=o,c.innerHTML=s,s=c.textContent,c.textContent="",s)));else{if("/"===o[1]){m.length&&m[m.length-1]===o.substr(2).replace(">","")&&(m.pop(),l=l.parentNode);continue}var v,g=a(o.substr(1,o.length-2));if(g){v=e.document.createProcessingInstruction("timestamp",g),l.appendChild(v);continue}var y=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(v=i(y[1],y[3])))continue;if(!r(l,v))continue;if(y[2]){var b=y[2].split(".");b.forEach((function(e){var t=/^bg_/.test(e),n=t?e.slice(3):e;if(f.hasOwnProperty(n)){var r=t?"background-color":"color",i=f[n];v.style[r]=i}})),v.className=b.join(" ")}m.push(y[1]),l.appendChild(v),l=v}return u}var v=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function g(e){for(var t=0;t<v.length;t++){var n=v[t];if(e>=n[0]&&e<=n[1])return!0}return!1}function y(e){var t=[],n="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var n=t.childNodes.length-1;n>=0;n--)e.push(t.childNodes[n])}function i(e){if(!e||!e.length)return null;var t=e.pop(),n=t.textContent||t.innerText;if(n){var o=n.match(/^.*(\n|\r)/);return o?(e.length=0,o[0]):n}return"ruby"===t.tagName?i(e):t.childNodes?(r(e,t),i(e)):void 0}for(r(t,e);n=i(t);)for(var o=0;o<n.length;o++)if(g(n.charCodeAt(o)))return"rtl";return"ltr"}function b(){}function _(e,t,n){b.call(this),this.cue=t,this.cueDiv=m(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:y(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var i=0;switch(t.positionAlign){case"start":i=t.position;break;case"center":i=t.position-t.size/2;break;case"end":i=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function w(e){var t,n,r,i;if(e.div){n=e.div.offsetHeight,r=e.div.offsetWidth,i=e.div.offsetTop;var o=(o=e.div.childNodes)&&(o=o[0])&&o.getClientRects&&o.getClientRects();e=e.div.getBoundingClientRect(),t=o?Math.max(o[0]&&o[0].height||0,e.height/o.length):0}this.left=e.left,this.right=e.right,this.top=e.top||i,this.height=e.height||n,this.bottom=e.bottom||i+(e.height||n),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function k(e,t,n,r){var i=new w(t),o=t.cue,a=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,n=t.textTrackList,r=0,i=0;i<n.length&&n[i]!==t;i++)"showing"===n[i].mode&&r++;return-1*++r}(o),s=[];if(o.snapToLines){var u;switch(o.vertical){case"":s=["+y","-y"],u="height";break;case"rl":s=["+x","-x"],u="width";break;case"lr":s=["-x","+x"],u="width"}var l=i.lineHeight,c=l*Math.round(a),d=n[u]+l,f=s[0];Math.abs(c)>d&&(c=c<0?-1:1,c*=Math.ceil(d/l)*l),a<0&&(c+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(f,c)}else{var p=i.lineHeight/n.height*100;switch(o.lineAlign){case"center":a-=p/2;break;case"end":a-=p}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(a,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(a,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(a,"%")})}s=["+y","-x","+x","-y"],i=new w(t)}var h=function(e,t){for(var i,o=new w(e),a=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(n,t[s])||e.within(n)&&e.overlapsAny(r);)e.move(t[s]);if(e.within(n))return e;var u=e.intersectPercentage(n);a>u&&(i=new w(e),a=u),e=new w(o)}return i||o}(i,s);t.move(h.toCSSCompatValues(n))}function E(){}b.prototype.applyStyles=function(e,t){for(var n in t=t||this.div,e)e.hasOwnProperty(n)&&(t.style[n]=e[n])},b.prototype.formatStyle=function(e,t){return 0===e?0:e+t},_.prototype=i(b.prototype),_.prototype.constructor=_,w.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},w.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},w.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},w.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},w.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},w.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},w.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},w.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,n=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||n}},E.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},E.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};E.processCues=function(e,t,n){if(!e||!t||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",n.appendChild(r),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){var i=[],o=w.getSimpleBoxPosition(r),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,u=0;u<t.length;u++)s=t[u],n=new _(e,s,a),r.appendChild(n.div),k(0,n,o,i),s.displayState=n.div,i.push(w.getSimpleBoxPosition(n))}()}else for(var s=0;s<t.length;s++)r.appendChild(t[s].displayState)},E.Parser=function(e,t,n){n||(n=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},E.Parser.prototype={reportOrThrowError:function(e){if(!(e instanceof o))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var t=this;function n(){for(var e=t.buffer,n=0;n<e.length&&"\r"!==e[n]&&"\n"!==e[n];)++n;var r=e.substr(0,n);return"\r"===e[n]&&++n,"\n"===e[n]&&++n,t.buffer=e.substr(n),r}function r(e){e.match(/X-TIMESTAMP-MAP/)?u(e,(function(e,n){if("X-TIMESTAMP-MAP"===e)!function(e){var n=new s;u(e,(function(e,t){switch(e){case"MPEGT":n.integer(e+"S",t);break;case"LOCA":n.set(e+"L",a(t))}}),/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}(n)}),/=/):u(e,(function(e,n){if("Region"===e)!function(e){var n=new s;if(u(e,(function(e,t){switch(e){case"id":n.set(e,t);break;case"width":n.percent(e,t);break;case"lines":n.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var i=new s;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(e+"X",i.get("x")),n.set(e+"Y",i.get("y"));break;case"scroll":n.alt(e,t,["up"])}}),/=/,/\s/),n.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:n.get("id"),region:r})}}(n)}),/:/)}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var i;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var c=(i=n()).match(/^WEBVTT([ \t].*)?$/);if(!c||!c[0])throw new o(o.Errors.BadSignature);t.state="HEADER"}for(var d=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(d?d=!1:i=n(),t.state){case"HEADER":/:/.test(i)?r(i):i||(t.state="ID");continue;case"NOTE":i||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){t.state="NOTE";break}if(!i)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===i.indexOf("--\x3e")){t.cue.id=i;continue}case"CUE":try{l(i,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var f=-1!==i.indexOf("--\x3e");if(!i||f&&(d=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(t.state="ID");continue}}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),(e.cue||"HEADER"===e.state)&&(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new o(o.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},e.exports=E},22230:function(e){var t={"":1,lr:1,rl:1},n={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&(!!n[e.toLowerCase()]&&e.toLowerCase())}function i(e,n,i){this.hasBeenReset=!1;var o="",a=!1,s=e,u=n,l=i,c=null,d="",f=!0,p="auto",h="start",m="auto",v="auto",g=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return o},set:function(e){o=""+e}},pauseOnExit:{enumerable:!0,get:function(){return a},set:function(e){a=!!e}},startTime:{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");s=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");u=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return l},set:function(e){l=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(e){c=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var n=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===n)throw new SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=n,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return f},set:function(e){f=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){var t=r(e);t?(h=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");m=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return v},set:function(e){var t=r(e);t?(v=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return g},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");g=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(e){var t=r(e);if(!t)throw new SyntaxError("align: an invalid or illegal alignment string was specified.");y=t,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=i},13710:function(e){var t={"":!0,up:!0};function n(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,i=0,o=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!n(t))throw new Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!n(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(e){if(!n(e))throw new Error("RegionAnchorY must be between 0 and 100.");i=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!n(e))throw new Error("ViewportAnchorY must be between 0 and 100.");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!n(e))throw new Error("ViewportAnchorX must be between 0 and 100.");a=e}},scroll:{enumerable:!0,get:function(){return u},set:function(e){var n=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);!1===n?console.warn("Scroll: an invalid or illegal string was specified."):u=n}}})}},30670:function(e){"use strict";e.exports=function(){}},75933:function(e,t,n){var r;!function(){function i(e,t,n){return e.call.apply(e.bind,arguments)}function o(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function a(e,t,n){return(a=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?i:o).apply(null,arguments)}var s=Date.now||function(){return+new Date};function u(e,t){this.a=e,this.o=t||e,this.c=this.o.document}var l=!!window.FontFace;function c(e,t,n,r){if(t=e.c.createElement(t),n)for(var i in n)n.hasOwnProperty(i)&&("style"==i?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r&&t.appendChild(e.c.createTextNode(r)),t}function d(e,t,n){(e=e.c.getElementsByTagName(t)[0])||(e=document.documentElement),e.insertBefore(n,e.lastChild)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t,n){t=t||[],n=n||[];for(var r=e.className.split(/\s+/),i=0;i<t.length;i+=1){for(var o=!1,a=0;a<r.length;a+=1)if(t[i]===r[a]){o=!0;break}o||r.push(t[i])}for(t=[],i=0;i<r.length;i+=1){for(o=!1,a=0;a<n.length;a+=1)if(r[i]===n[a]){o=!0;break}o||t.push(r[i])}e.className=t.join(" ").replace(/\s+/g," ").replace(/^\s+|\s+$/,"")}function h(e,t){for(var n=e.className.split(/\s+/),r=0,i=n.length;r<i;r++)if(n[r]==t)return!0;return!1}function m(e,t,n){function r(){s&&i&&o&&(s(a),s=null)}t=c(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,a=null,s=n||null;l?(t.onload=function(){i=!0,r()},t.onerror=function(){i=!0,a=Error("Stylesheet failed to load"),r()}):setTimeout((function(){i=!0,r()}),0),d(e,"head",t)}function v(e,t,n,r){var i=e.c.getElementsByTagName("head")[0];if(i){var o=c(e,"script",{src:t}),a=!1;return o.onload=o.onreadystatechange=function(){a||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(a=!0,n&&n(null),o.onload=o.onreadystatechange=null,"HEAD"==o.parentNode.tagName&&i.removeChild(o))},i.appendChild(o),setTimeout((function(){a||(a=!0,n&&n(Error("Script load timeout")))}),r||5e3),o}return null}function g(){this.a=0,this.c=null}function y(e){return e.a++,function(){e.a--,_(e)}}function b(e,t){e.c=t,_(e)}function _(e){0==e.a&&e.c&&(e.c(),e.c=null)}function w(e){this.a=e||"-"}function k(e,t){this.c=e,this.f=4,this.a="n";var n=(t||"n4").match(/^([nio])([1-9])$/i);n&&(this.a=n[1],this.f=parseInt(n[2],10))}function E(e){var t=[];e=e.split(/,\s*/);for(var n=0;n<e.length;n++){var r=e[n].replace(/['"]/g,"");-1!=r.indexOf(" ")||/^\d/.test(r)?t.push("'"+r+"'"):t.push(r)}return t.join(",")}function x(e){return e.a+e.f}function S(e){var t="normal";return"o"===e.a?t="oblique":"i"===e.a&&(t="italic"),t}function T(e){var t=4,n="n",r=null;return e&&((r=e.match(/(normal|oblique|italic)/i))&&r[1]&&(n=r[1].substr(0,1).toLowerCase()),(r=e.match(/([1-9]00|normal|bold)/i))&&r[1]&&(/bold/i.test(r[1])?t=7:/[1-9]00/.test(r[1])&&(t=parseInt(r[1].substr(0,1),10)))),n+t}function C(e,t){this.c=e,this.f=e.o.document.documentElement,this.h=t,this.a=new w("-"),this.j=!1!==t.events,this.g=!1!==t.classes}function A(e){if(e.g){var t=h(e.f,e.a.c("wf","active")),n=[],r=[e.a.c("wf","loading")];t||n.push(e.a.c("wf","inactive")),p(e.f,n,r)}O(e,"inactive")}function O(e,t,n){e.j&&e.h[t]&&(n?e.h[t](n.c,x(n)):e.h[t]())}function N(){this.c={}}function P(e,t){this.c=e,this.f=t,this.a=c(this.c,"span",{"aria-hidden":"true"},this.f)}function I(e){d(e.c,"body",e.a)}function L(e){return"display:block;position:absolute;top:-9999px;left:-9999px;font-size:300px;width:auto;height:auto;line-height:normal;margin:0;padding:0;font-variant:normal;white-space:nowrap;font-family:"+E(e.c)+";font-style:"+S(e)+";font-weight:"+e.f+"00;"}function M(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function R(e,t,n,r,i,o,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new P(this.c,this.s),this.h=new P(this.c,this.s),this.j=new P(this.c,this.s),this.m=new P(this.c,this.s),e=L(e=new k(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=L(e=new k(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=L(e=new k("serif",x(this.a))),this.j.a.style.cssText=e,e=L(e=new k("sans-serif",x(this.a))),this.m.a.style.cssText=e,I(this.g),I(this.h),I(this.j),I(this.m)}w.prototype.c=function(e){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n].replace(/[\W_]+/g,"").toLowerCase());return t.join(this.a)},M.prototype.start=function(){var e=this.c.o.document,t=this,n=s(),r=new Promise((function(r,i){!function o(){s()-n>=t.f?i():e.fonts.load(function(e){return S(e)+" "+e.f+"00 300px "+E(e.c)}(t.a),t.h).then((function(e){1<=e.length?r():setTimeout(o,25)}),(function(){i()}))}()})),i=null,o=new Promise((function(e,n){i=setTimeout(n,t.f)}));Promise.race([o,r]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var D={D:"serif",C:"sans-serif"},q=null;function j(){if(null===q){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);q=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return q}function F(e,t,n){for(var r in D)if(D.hasOwnProperty(r)&&t===e.f[D[r]]&&n===e.f[D[r]])return!0;return!1}function B(e){var t,n=e.g.a.offsetWidth,r=e.h.a.offsetWidth;(t=n===e.f.serif&&r===e.f["sans-serif"])||(t=j()&&F(e,n,r)),t?s()-e.A>=e.w?j()&&F(e,n,r)&&(null===e.u||e.u.hasOwnProperty(e.a.c))?U(e,e.v):U(e,e.B):function(e){setTimeout(a((function(){B(this)}),e),50)}(e):U(e,e.v)}function U(e,t){setTimeout(a((function(){f(this.g.a),f(this.h.a),f(this.j.a),f(this.m.a),t(this.a)}),e),0)}function z(e,t,n){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=n}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),B(this)};var H=null;function V(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&p(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),O(e,"active")):A(e.a))}function W(e){this.j=e,this.a=new N,this.h=0,this.f=this.g=!0}function Y(e,t,n,r,i){var o=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,s=r||{};if(0===n.length&&o)A(t.a);else{t.f+=n.length,o&&(t.j=o);var u,l=[];for(u=0;u<n.length;u++){var c=n[u],d=s[c.c],f=t.a,h=c;if(f.g&&p(f.f,[f.a.c("wf",h.c,x(h).toString(),"loading")]),O(f,"fontloading",h),f=null,null===H)if(window.FontFace){h=/Gecko.*Firefox\/(\d+)/.exec(window.navigator.userAgent);var m=/OS X.*Version\/10\..*Safari/.exec(window.navigator.userAgent)&&/Apple/.exec(window.navigator.vendor);H=h?42<parseInt(h[1],10):!m}else H=!1;f=H?new M(a(t.g,t),a(t.h,t),t.c,c,t.s,d):new R(a(t.g,t),a(t.h,t),t.c,c,t.s,e,d),l.push(f)}for(u=0;u<l.length;u++)l[u].start()}}),0)}function G(e,t){this.c=e,this.a=t}function K(e,t){this.c=e,this.a=t}function X(e,t){this.c=e||$,this.a=[],this.f=[],this.g=t||""}z.prototype.g=function(e){var t=this.a;t.g&&p(t.f,[t.a.c("wf",e.c,x(e).toString(),"active")],[t.a.c("wf",e.c,x(e).toString(),"loading"),t.a.c("wf",e.c,x(e).toString(),"inactive")]),O(t,"fontactive",e),this.m=!0,V(this)},z.prototype.h=function(e){var t=this.a;if(t.g){var n=h(t.f,t.a.c("wf",e.c,x(e).toString(),"active")),r=[],i=[t.a.c("wf",e.c,x(e).toString(),"loading")];n||r.push(t.a.c("wf",e.c,x(e).toString(),"inactive")),p(t.f,r,i)}O(t,"fontinactive",e),V(this)},W.prototype.load=function(e){this.c=new u(this.j,e.context||this.j),this.g=!1!==e.events,this.f=!1!==e.classes,function(e,t,n){var r=[],i=n.timeout;!function(e){e.g&&p(e.f,[e.a.c("wf","loading")]),O(e,"loading")}(t);r=function(e,t,n){var r,i=[];for(r in t)if(t.hasOwnProperty(r)){var o=e.c[r];o&&i.push(o(t[r],n))}return i}(e.a,n,e.c);var o=new z(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){Y(e,o,t,n,r)}))}(this,new C(this.c,e),e)},G.prototype.load=function(e){function t(){if(o["__mti_fntLst"+r]){var n,i=o["__mti_fntLst"+r](),a=[];if(i)for(var s=0;s<i.length;s++){var u=i[s].fontfamily;null!=i[s].fontStyle&&null!=i[s].fontWeight?(n=i[s].fontStyle+i[s].fontWeight,a.push(new k(u,n))):a.push(new k(u))}e(a)}else setTimeout((function(){t()}),50)}var n=this,r=n.a.projectId,i=n.a.version;if(r){var o=n.c.o;v(this.c,(n.a.api||"https://fast.fonts.net/jsapi")+"/"+r+".js"+(i?"?v="+i:""),(function(i){i?e([]):(o["__MonotypeConfiguration__"+r]=function(){return n.a},t())})).id="__MonotypeAPIScript__"+r}else e([])},K.prototype.load=function(e){var t,n,r=this.a.urls||[],i=this.a.families||[],o=this.a.testStrings||{},a=new g;for(t=0,n=r.length;t<n;t++)m(this.c,r[t],y(a));var s=[];for(t=0,n=i.length;t<n;t++)if((r=i[t].split(":"))[1])for(var u=r[1].split(","),l=0;l<u.length;l+=1)s.push(new k(r[0],u[l]));else s.push(new k(r[0]));b(a,(function(){e(s,o)}))};var $="https://fonts.googleapis.com/css";function Z(e){this.f=e,this.a=[],this.c={}}var Q={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},J={thin:"1",extralight:"2","extra-light":"2",ultralight:"2","ultra-light":"2",light:"3",regular:"4",book:"4",medium:"5","semi-bold":"6",semibold:"6","demi-bold":"6",demibold:"6",bold:"7","extra-bold":"8",extrabold:"8","ultra-bold":"8",ultrabold:"8",black:"9",heavy:"9",l:"3",r:"4",b:"7"},ee={i:"i",italic:"i",n:"n",normal:"n"},te=/^(thin|(?:(?:extra|ultra)-?)?light|regular|book|medium|(?:(?:semi|demi|extra|ultra)-?)?bold|black|heavy|l|r|b|[1-9]00)?(n|i|normal|italic)?$/;function ne(e,t){this.c=e,this.a=t}var re={Arimo:!0,Cousine:!0,Tinos:!0};function ie(e,t){this.c=e,this.a=t}function oe(e,t){this.c=e,this.f=t,this.a=[]}ne.prototype.load=function(e){var t=new g,n=this.c,r=new X(this.a.api,this.a.text),i=this.a.families;!function(e,t){for(var n=t.length,r=0;r<n;r++){var i=t[r].split(":");3==i.length&&e.f.push(i.pop());var o="";2==i.length&&""!=i[1]&&(o=":"),e.a.push(i.join(o))}}(r,i);var o=new Z(i);!function(e){for(var t=e.f.length,n=0;n<t;n++){var r=e.f[n].split(":"),i=r[0].replace(/\+/g," "),o=["n4"];if(2<=r.length){var a;if(a=[],s=r[1])for(var s,u=(s=s.split(",")).length,l=0;l<u;l++){var c;if((c=s[l]).match(/^[\w-]+$/))if(null==(d=te.exec(c.toLowerCase())))c="";else{if(c=null==(c=d[2])||""==c?"n":ee[c],null==(d=d[1])||""==d)d="4";else var d=J[d]||(isNaN(d)?"4":d.substr(0,1));c=[c,d].join("")}else c="";c&&a.push(c)}0<a.length&&(o=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=Q[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=Q[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new k(i,o[r]))}}(o),m(n,function(e){if(0==e.a.length)throw Error("No fonts to load!");if(-1!=e.c.indexOf("kit="))return e.c;for(var t=e.a.length,n=[],r=0;r<t;r++)n.push(e.a[r].replace(/ /g,"+"));return t=e.c+"?family="+n.join("%7C"),0<e.f.length&&(t+="&subset="+e.f.join(",")),0<e.g.length&&(t+="&text="+encodeURIComponent(e.g)),t}(r),y(t)),b(t,(function(){e(o.a,o.c,re)}))},ie.prototype.load=function(e){var t=this.a.id,n=this.c.o;t?v(this.c,(this.a.api||"https://use.typekit.net")+"/"+t+".js",(function(t){if(t)e([]);else if(n.Typekit&&n.Typekit.config&&n.Typekit.config.fn){t=n.Typekit.config.fn;for(var r=[],i=0;i<t.length;i+=2)for(var o=t[i],a=t[i+1],s=0;s<a.length;s++)r.push(new k(o,a[s]));try{n.Typekit.load({events:!1,classes:!1,async:!0})}catch(e){}e(r)}}),2e3):e([])},oe.prototype.load=function(e){var t=this.f.id,n=this.c.o,r=this;t?(n.__webfontfontdeckmodule__||(n.__webfontfontdeckmodule__={}),n.__webfontfontdeckmodule__[t]=function(t,n){for(var i=0,o=n.fonts.length;i<o;++i){var a=n.fonts[i];r.a.push(new k(a.name,T("font-weight:"+a.weight+";font-style:"+a.style)))}e(r.a)},v(this.c,(this.f.api||"https://f.fontdeck.com/s/css/js/")+function(e){return e.o.location.hostname||e.a.location.hostname}(this.c)+"/"+t+".js",(function(t){t&&e([])}))):e([])};var ae=new W(window);ae.a.c.custom=function(e,t){return new K(t,e)},ae.a.c.fontdeck=function(e,t){return new oe(t,e)},ae.a.c.monotype=function(e,t){return new G(t,e)},ae.a.c.typekit=function(e,t){return new ie(t,e)},ae.a.c.google=function(e,t){return new ne(t,e)};var se={load:a(ae.load,ae)};void 0===(r=function(){return se}.call(t,n,t,e))||(e.exports=r)}()},47529:function(e){e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var r=arguments[n];for(var i in r)t.call(r,i)&&(e[i]=r[i])}return e};var t=Object.prototype.hasOwnProperty},25893:function(){},50247:function(){},30717:function(){},31777:function(){},89917:function(){},69862:function(){},40964:function(){},10349:function(e,t,n){e.exports=n(51714)},98235:function(e,t,n){e.exports=n(25122)},19389:function(e,t,n){e.exports=n(78458)},48216:function(e,t,n){e.exports=n(65600)},8571:function(e,t,n){e.exports=n(28266)},61539:function(e,t,n){e.exports=n(44399)},40703:function(e,t,n){e.exports=n(39367)},18033:function(e,t,n){e.exports=n(22005)},73324:function(e,t,n){e.exports=n(34748)},13464:function(e,t,n){e.exports=n(83696)},86981:function(e,t,n){e.exports=n(76516)},99595:function(e,t,n){e.exports=n(56368)},91829:function(e,t,n){e.exports=n(93739)},51791:function(e,t,n){e.exports=n(89151)},29898:function(e,t,n){e.exports=n(17654)},88946:function(e,t,n){e.exports=n(57762)},7488:function(e,t,n){e.exports=n(81004)},86526:function(e,t,n){e.exports=n(13885)},35704:function(e,t,n){e.exports=n(89329)},76555:function(e,t,n){e.exports=n(38755)},45181:function(e,t,n){e.exports=n(55781)},84705:function(e,t,n){e.exports=n(53185)},89221:function(e,t,n){e.exports=n(88235)},58218:function(e,t,n){e.exports=n(59829)},54847:function(e,t,n){e.exports=n(65560)},59898:function(e,t,n){e.exports=n(41047)},35293:function(e,t,n){e.exports=n(87034)},73672:function(e,t,n){e.exports=n(83734)},67552:function(e,t,n){e.exports=n(20711)},3841:function(e,t,n){e.exports=n(86488)},57445:function(e,t,n){e.exports=n(8827)},39290:function(e,t,n){e.exports=n(56581)},88546:function(e,t,n){e.exports=n(41633)},66775:function(e,t,n){e.exports=n(20344)},52020:function(e,t,n){e.exports=n(48909)},39272:function(e,t,n){e.exports=n(6258)},42692:function(e,t,n){e.exports=n(57602)},62079:function(e,t,n){e.exports=n(11024)},92984:function(e,t,n){e.exports=n(44705)},31082:function(e,t,n){e.exports=n(12232)},35820:function(e,t,n){e.exports=n(44565)},3563:function(e,t,n){e.exports=n(73637)},24835:function(e,t,n){e.exports=n(80407)},25926:function(e,t,n){e.exports=n(19502)},23513:function(e,t,n){e.exports=n(63969)},52472:function(e,t,n){e.exports=n(21085)},49056:function(e,t,n){e.exports=n(95413)},48994:function(e,t,n){e.exports=n(21277)},40024:function(e,t,n){e.exports=n(90007)},57170:function(e,t,n){e.exports=n(34976)},81290:function(e,t,n){e.exports=n(41680)},98186:function(e,t,n){e.exports=n(95214)},44923:function(e,t,n){e.exports=n(33682)},5177:function(e,t,n){var r=n(20474).default,i=n(57445),o=n(52472),a=n(3841),s=n(39272),u=n(99595),l=n(92984),c=n(35820),d=n(86526),f=n(35704);function p(){"use strict";e.exports=p=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,h=n.hasOwnProperty,m=i||function(e,t,n){e[t]=n.value},v="function"==typeof o?o:{},g=v.iterator||"@@iterator",y=v.asyncIterator||"@@asyncIterator",b=v.toStringTag||"@@toStringTag";function _(e,t,n){return i(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{_({},"")}catch(e){_=function(e,t,n){return e[t]=n}}function w(e,t,n,r){var i=t&&t.prototype instanceof x?t:x,o=a(i.prototype),s=new D(r||[]);return m(o,"_invoke",{value:I(e,n,s)}),o}function k(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=w;var E={};function x(){}function S(){}function T(){}var C={};_(C,g,(function(){return this}));var A=s&&s(s(q([])));A&&A!==n&&h.call(A,g)&&(C=A);var O=T.prototype=x.prototype=a(C);function N(e){var t;u(t=["next","throw","return"]).call(t,(function(t){_(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(i,o,a,s){var u=k(e[i],e,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==r(c)&&h.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(c).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var i;m(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function I(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=L(a,n);if(s){if(s===E)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=k(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===E)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function L(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,L(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),E;var i=k(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,E;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=void 0),t.delegate=null,E):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,E)}function M(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 R(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],u(e).call(e,M,this),this.reset(!0)}function q(e){if(e){var t=e[g];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(h.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:j}}function j(){return{value:void 0,done:!0}}return S.prototype=T,m(O,"constructor",{value:T,configurable:!0}),m(T,"constructor",{value:S,configurable:!0}),S.displayName=_(T,b,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return l?l(e,T):(e.__proto__=T,_(e,b,"GeneratorFunction")),e.prototype=a(O),e},t.awrap=function(e){return{__await:e}},N(P.prototype),_(P.prototype,y,(function(){return this})),t.AsyncIterator=P,t.async=function(e,n,r,i,o){void 0===o&&(o=c);var a=new P(w(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},N(O),_(O,b,"Generator"),_(O,g,(function(){return this})),_(O,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return d(n).call(n),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=q,D.prototype={constructor:D,reset:function(e){var t;if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,u(t=this.tryEntries).call(t,R),!e)for(var n in this)"t"===n.charAt(0)&&h.call(this,n)&&!isNaN(+f(n).call(n,1))&&(this[n]=void 0)},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 n(n,r){return o.type="throw",o.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=h.call(i,"catchLoc"),s=h.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.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&&h.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,E):this.complete(o)},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),E},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),R(n),E}},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;R(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:q(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),E}},t}e.exports=p,e.exports.__esModule=!0,e.exports.default=e.exports},20474:function(e,t,n){var r=n(52472),i=n(48994);function o(t){return e.exports=o="function"==typeof r&&"symbol"==typeof i?function(e){return typeof e}:function(e){return e&&"function"==typeof r&&e.constructor===r&&e!==r.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},30222:function(e,t,n){var r=n(5177)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},88593:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.3","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},69933:function(e){"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},39451:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},91363:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},28611:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},94204:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},79545:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},19489:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},40490:function(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},41344:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.amdO={},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__={};!function(){"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{callbackComponent:function(){return $k},callbackPath:function(){return qk},errorPath:function(){return jk},getToken:function(){return Fk},initAuth:function(){return Yk},login:function(){return Hk},logout:function(){return Gk},request:function(){return xk}});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{callbackComponent:function(){return tE},callbackPath:function(){return nE},getToken:function(){return rE},initAuth:function(){return lE},login:function(){return iE},logout:function(){return oE},request:function(){return xk}});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{contrastAPCA:function(){return dC},contrastLstar:function(){return hC},contrastMichelson:function(){return fC},contrastWCAG21:function(){return uC},contrastWeber:function(){return pC}});var r={};__webpack_require__.r(r),__webpack_require__.d(r,{CoverDescription:function(){return lR},CoverDetailsContentHeading:function(){return Dq},CoverDueDate:function(){return hR},CoverHeader:function(){return iD},CoverLayout:function(){return lD},LessonHeader:function(){return qD},LessonNavFinish:function(){return $D},LessonNavNext:function(){return JD},LessonNavPrevious:function(){return aq},LessonProgressGraphic:function(){return wq},NavCompactHeaderCounter:function(){return qq},NavCompactHeaderProgress:function(){return jq},NavCompactOutline:function(){return Fq},OverviewListItem:function(){return Bq},OverviewListSectionTitle:function(){return Uq},Progress:function(){return Rq}});var i={};__webpack_require__.r(i),__webpack_require__.d(i,{AlignLeft:function(){return Kq},ArrowDown:function(){return WD},ArrowLeft:function(){return Wq},ArrowRight:function(){return Yq},ArrowUp:function(){return tq},Category:function(){return sO},ChevronDown:function(){return $q},ChevronUp:function(){return Qq},Favorite:function(){return qO},LessonsComplete:function(){return ij},LessonsRequirement:function(){return KO},QuestionBox:function(){return ej},QuizFailed:function(){return nj},QuizPassed:function(){return ij},QuizRequirement:function(){return LO},Search:function(){return aj},ToggleDown:function(){return uj},Touch:function(){return cj},VideoCamera:function(){return fj},X:function(){return hj}});var o={};__webpack_require__.r(o),__webpack_require__.d(o,{components:function(){return r},icons:function(){return i}});var a={};__webpack_require__.r(a),__webpack_require__.d(a,{CoverAction:function(){return iF},CoverCourseInfo:function(){return RF},CoverDescription:function(){return FF},CoverDetailsSection:function(){return VF},CoverHeader:function(){return aB},CoverLayout:function(){return lB},LessonHeader:function(){return hB},LessonProgressGraphic:function(){return bB},NavSidebarHeader:function(){return kB},OverviewListItemLinkContent:function(){return RB},Progress:function(){return DB}});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{ArrowDown:function(){return jB},ArrowLeft:function(){return zB},ArrowRight:function(){return BB},ArrowUp:function(){return jB},ChevronDown:function(){return VB},ChevronUp:function(){return VB},Favorite:function(){return qO},LessonsComplete:function(){return YB},LessonsRequirement:function(){return KB},QuizFailed:function(){return QB},QuizPassed:function(){return YB},QuizRequirement:function(){return KB},Search:function(){return $B},ToggleDown:function(){return eU},X:function(){return nU}});var u={};__webpack_require__.r(u),__webpack_require__.d(u,{components:function(){return a},icons:function(){return s}});var l={};__webpack_require__.r(l),__webpack_require__.d(l,{CoverAction:function(){return oU},CoverDescription:function(){return cU},CoverDetails:function(){return mU},CoverGraphic:function(){return vU},CoverHeader:function(){return RU},CoverLayout:function(){return qU},CoverProgress:function(){return ez},CoverSVG:function(){return EU},LessonHeader:function(){return az},LessonProgressGraphic:function(){return dz},NavSidebarHeaderProgress:function(){return mz}});var c={};__webpack_require__.r(c),__webpack_require__.d(c,{AlignLeft:function(){return Sz},ArrowDown:function(){return gz},ArrowLeft:function(){return bz},ArrowRight:function(){return wz},ArrowUp:function(){return Ez},ChevronDown:function(){return Cz},ChevronUp:function(){return Oz},Favorite:function(){return qO},LessonsComplete:function(){return ij},LessonsRequirement:function(){return KO},QuestionBox:function(){return Pz},QuizFailed:function(){return nj},QuizPassed:function(){return ij},QuizRequirement:function(){return LO},Search:function(){return Lz},ToggleDown:function(){return Cz},Touch:function(){return Rz},VideoCamera:function(){return qz},X:function(){return Fz}});var d={};__webpack_require__.r(d),__webpack_require__.d(d,{components:function(){return l},icons:function(){return c}});var f=__webpack_require__(57170),p=__webpack_require__.n(f),h=(__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(72443),__webpack_require__(92401),__webpack_require__(8722),__webpack_require__(32165),__webpack_require__(69007),__webpack_require__(83510),__webpack_require__(41840),__webpack_require__(6982),__webpack_require__(32159),__webpack_require__(96649),__webpack_require__(39341),__webpack_require__(60543),__webpack_require__(92222),__webpack_require__(50545),__webpack_require__(58288),__webpack_require__(57327),__webpack_require__(69826),__webpack_require__(34553),__webpack_require__(84944),__webpack_require__(86535),__webpack_require__(91038),__webpack_require__(26699),__webpack_require__(66992),__webpack_require__(69600),__webpack_require__(21249),__webpack_require__(26572),__webpack_require__(65069),__webpack_require__(47042),__webpack_require__(2707),__webpack_require__(38706),__webpack_require__(40561),__webpack_require__(33792),__webpack_require__(99244),__webpack_require__(18264),__webpack_require__(39575),__webpack_require__(96078),__webpack_require__(4855),__webpack_require__(68309),__webpack_require__(73706),__webpack_require__(51532),__webpack_require__(99752),__webpack_require__(82376),__webpack_require__(73181),__webpack_require__(23484),__webpack_require__(2388),__webpack_require__(88621),__webpack_require__(60403),__webpack_require__(84755),__webpack_require__(25438),__webpack_require__(90332),__webpack_require__(40658),__webpack_require__(40197),__webpack_require__(44914),__webpack_require__(52420),__webpack_require__(60160),__webpack_require__(60970),__webpack_require__(10408),__webpack_require__(73689),__webpack_require__(9653),__webpack_require__(93299),__webpack_require__(35192),__webpack_require__(33161),__webpack_require__(44048),__webpack_require__(78285),__webpack_require__(44363),__webpack_require__(55994),__webpack_require__(61874),__webpack_require__(9494),__webpack_require__(56977),__webpack_require__(19601),__webpack_require__(59595),__webpack_require__(35500),__webpack_require__(69720),__webpack_require__(43371),__webpack_require__(38559),__webpack_require__(38880),__webpack_require__(49337),__webpack_require__(36210),__webpack_require__(30489),__webpack_require__(43304),__webpack_require__(41825),__webpack_require__(98410),__webpack_require__(72200),__webpack_require__(47941),__webpack_require__(94869),__webpack_require__(33952),__webpack_require__(57227),__webpack_require__(60514),__webpack_require__(41539),__webpack_require__(26833),__webpack_require__(88674),__webpack_require__(17727),__webpack_require__(36535),__webpack_require__(12419),__webpack_require__(69596),__webpack_require__(52586),__webpack_require__(74819),__webpack_require__(95683),__webpack_require__(39361),__webpack_require__(51037),__webpack_require__(5898),__webpack_require__(67556),__webpack_require__(14361),__webpack_require__(83593),__webpack_require__(39532),__webpack_require__(24603),__webpack_require__(74916),__webpack_require__(92087),__webpack_require__(39714),__webpack_require__(70189),__webpack_require__(79841),__webpack_require__(27852),__webpack_require__(94953),__webpack_require__(32023),__webpack_require__(78783),__webpack_require__(4723),__webpack_require__(66528),__webpack_require__(83112),__webpack_require__(38992),__webpack_require__(82481),__webpack_require__(15306),__webpack_require__(64765),__webpack_require__(23123),__webpack_require__(23157),__webpack_require__(73210),__webpack_require__(48702),__webpack_require__(55674),__webpack_require__(15218),__webpack_require__(74475),__webpack_require__(57929),__webpack_require__(50915),__webpack_require__(29253),__webpack_require__(42125),__webpack_require__(78830),__webpack_require__(58734),__webpack_require__(29254),__webpack_require__(37268),__webpack_require__(7397),__webpack_require__(60086),__webpack_require__(80623),__webpack_require__(44197),__webpack_require__(76495),__webpack_require__(87145),__webpack_require__(35109),__webpack_require__(65125),__webpack_require__(82472),__webpack_require__(49743),__webpack_require__(8255),__webpack_require__(29135),__webpack_require__(92990),__webpack_require__(18927),__webpack_require__(33105),__webpack_require__(35035),__webpack_require__(74345),__webpack_require__(7174),__webpack_require__(32846),__webpack_require__(98145),__webpack_require__(44731),__webpack_require__(77209),__webpack_require__(96319),__webpack_require__(58867),__webpack_require__(37789),__webpack_require__(33739),__webpack_require__(95206),__webpack_require__(29368),__webpack_require__(14483),__webpack_require__(12056),__webpack_require__(3462),__webpack_require__(30678),__webpack_require__(27462),__webpack_require__(33824),__webpack_require__(55021),__webpack_require__(12974),__webpack_require__(15016),__webpack_require__(4129),__webpack_require__(38478),__webpack_require__(54747),__webpack_require__(33948),__webpack_require__(84633),__webpack_require__(85844),__webpack_require__(60285),__webpack_require__(83753),__webpack_require__(41637),__webpack_require__(35666),__webpack_require__(11334),__webpack_require__(86382),__webpack_require__(66337),__webpack_require__(84463)),m=__webpack_require__.n(h);window.URLSearchParams=p()||m(),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(Element.prototype.matches.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),"function"!=typeof window.CustomEvent&&(window.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n},window.CustomEvent.prototype=window.Event.prototype);var v=__webpack_require__(67294),g=__webpack_require__(73935);function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,y(e,t)}var _=__webpack_require__(45697),w=__webpack_require__.n(_);function k(){return k=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},k.apply(this,arguments)}function E(e){return"/"===e.charAt(0)}function x(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var S=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&E(e),a=t&&E(t),s=o||a;if(e&&E(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var l=0,c=i.length;c>=0;c--){var d=i[c];"."===d?x(i,c):".."===d?(x(i,c),l++):l&&(x(i,c),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&E(i[0])||i.unshift("");var f=i.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function T(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 C(e,t,n,r){var i;"string"==typeof e?(i=function(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}}(e),i.state=t):(void 0===(i=k({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=S(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function A(){var e=null;var 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)}))}}}"undefined"==typeof window||!window.document||window.document.createElement;function O(e,t,n){return Math.min(Math.max(e,t),n)}function N(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,s=t.keyLength,u=void 0===s?6:s,l=A();function c(e){k(v,e),v.length=v.entries.length,l.notifyListeners(v.location,v.action)}function d(){return Math.random().toString(36).substr(2,u)}var f=O(a,0,i.length-1),p=i.map((function(e){return C(e,void 0,"string"==typeof e?d():e.key||d())})),h=T;function m(e){var t=O(v.index+e,0,v.entries.length-1),r=v.entries[t];l.confirmTransitionTo(r,"POP",n,(function(e){e?c({action:"POP",location:r,index:t}):c()}))}var v={length:p.length,action:"POP",location:p[f],index:f,entries:p,createHref:h,push:function(e,t){var r="PUSH",i=C(e,t,d(),v.location);l.confirmTransitionTo(i,r,n,(function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),c({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=C(e,t,d(),v.location);l.confirmTransitionTo(i,r,n,(function(e){e&&(v.entries[v.index]=i,c({action:r,location:i}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t<v.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return v}var P=1073741823,I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:{};function L(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var M=v.createContext||function(e,t){var n,r,i="__create-react-context-"+function(){var e="__global_unique_id__";return I[e]=(I[e]||0)+1}()+"__",o=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=L(t.props.value),t}b(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,i=e.value;((o=r)===(a=i)?0!==o||1/o==1/a:o!=o&&a!=a)?n=0:(n="function"==typeof t?t(r,i):P,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(v.Component);o.childContextTypes=((n={})[i]=w().object.isRequired,n);var a=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}b(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?P:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?P:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(v.Component);return a.contextTypes=((r={})[i]=w().object,r),{Provider:o,Consumer:a}},R=M,D="Invariant failed";var q=function(e,t){if(!e)throw new Error(D)},j=__webpack_require__(39658),F=__webpack_require__.n(j),B=__webpack_require__(59864);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],t.indexOf(n)>=0||(i[n]=e[n]);return i}var z=__webpack_require__(8679),H=__webpack_require__.n(z),V=function(e){var t=R();return t.displayName=e,t},W=V("Router-History"),Y=function(e){var t=R();return t.displayName=e,t},G=Y("Router"),K=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}b(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 v.createElement(G.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},v.createElement(W.Provider,{children:this.props.children||null,value:this.props.history}))},t}(v.Component);v.Component;v.Component;var X={},$=0;function Z(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,u=n.sensitive,l=void 0!==u&&u;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=X[n]||(X[n]={});if(r[e])return r[e];var i=[],o={regexp:F()(e,i,t),keys:i};return $<1e4&&(r[e]=o,$++),o}(n,{end:o,strict:s,sensitive:l}),i=r.regexp,a=r.keys,u=i.exec(e);if(!u)return null;var c=u[0],d=u.slice(1),f=e===c;return o&&!f?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:f,params:a.reduce((function(e,t,n){return e[t.name]=d[n],e}),{})}}),null)}var Q=function(e){function t(){return e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){var e=this;return v.createElement(G.Consumer,null,(function(t){t||q(!1);var n=e.props.location||t.location,r=k({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?Z(n.pathname,e.props):t.match}),i=e.props,o=i.children,a=i.component,s=i.render;return Array.isArray(o)&&0===o.length&&(o=null),v.createElement(G.Provider,{value:r},r.match?o?"function"==typeof o?o(r):o:a?v.createElement(a,r):s?s(r):null:"function"==typeof o?o(r):null)}))},t}(v.Component);function J(e){return"/"===e.charAt(0)?e:"/"+e}function ee(e,t){if(!e)return t;var n=J(e);return 0!==t.pathname.indexOf(n)?t:k({},t,{pathname:t.pathname.substr(n.length)})}function te(e){return"string"==typeof e?e:T(e)}function ne(e){return function(){q(!1)}}function re(){}v.Component;var ie=function(e){function t(){return e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){var e=this;return v.createElement(G.Consumer,null,(function(t){t||q(!1);var n,r,i=e.props.location||t.location;return v.Children.forEach(e.props.children,(function(e){if(null==r&&v.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?Z(i.pathname,k({},e.props,{path:o})):t.match}})),r?v.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(v.Component);function oe(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=U(t,["wrappedComponentRef"]);return v.createElement(G.Consumer,null,(function(t){return t||q(!1),v.createElement(e,k({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,H()(n,e)}var ae=v.useContext;function se(){return ae(W)}function ue(){return ae(G).location}function le(e){var t=ue(),n=ae(G).match;return e?Z(t.pathname,e):n}var ce=__webpack_require__(45181),de=__webpack_require__.n(ce),fe=__webpack_require__(50557),pe=__webpack_require__.n(fe);var he=v.createContext(null);var me=function(e){e()},ve=function(){return me},ge={notify:function(){}};var ye=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=ge,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=ve(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=ge)},e}(),be="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?v.useLayoutEffect:v.useEffect;var _e=function(e){var t=e.store,n=e.context,r=e.children,i=(0,v.useMemo)((function(){var e=new ye(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=(0,v.useMemo)((function(){return t.getState()}),[t]);be((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var a=n||he;return v.createElement(a.Provider,{value:i},r)},we=[],ke=[null,null];function Ee(e,t){var n=e[1];return[t.payload,n+1]}function xe(e,t,n){be((function(){return e.apply(void 0,t)}),n)}function Se(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function Te(e,t,n,r,i,o,a,s,u,l){if(e){var c=!1,d=null,f=function(){if(!c){var e,n,f=t.getState();try{e=r(f,i.current)}catch(e){n=e,d=e}n||(d=null),e===o.current?a.current||u():(o.current=e,s.current=e,a.current=!0,l({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var Ce=function(){return[null,0]};function Ae(e,t){void 0===t&&(t={});var n=t,r=n.getDisplayName,i=void 0===r?function(e){return"ConnectAdvanced("+e+")"}:r,o=n.methodName,a=void 0===o?"connectAdvanced":o,s=n.renderCountProp,u=void 0===s?void 0:s,l=n.shouldHandleStateChanges,c=void 0===l||l,d=n.storeKey,f=void 0===d?"store":d,p=(n.withRef,n.forwardRef),h=void 0!==p&&p,m=n.context,g=void 0===m?he:m,y=U(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),b=g;return function(t){var n=t.displayName||t.name||"Component",r=i(n),o=k({},y,{getDisplayName:i,methodName:a,renderCountProp:u,shouldHandleStateChanges:c,storeKey:f,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=y.pure;var l=s?v.useMemo:function(e){return e()};function d(n){var r=(0,v.useMemo)((function(){var e=n.reactReduxForwardedRef,t=U(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),i=r[0],a=r[1],s=r[2],u=(0,v.useMemo)((function(){return i&&i.Consumer&&(0,B.isContextConsumer)(v.createElement(i.Consumer,null))?i:b}),[i,b]),d=(0,v.useContext)(u),f=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var p=f?n.store:d.store,h=(0,v.useMemo)((function(){return function(t){return e(t.dispatch,o)}(p)}),[p]),m=(0,v.useMemo)((function(){if(!c)return ke;var e=new ye(p,f?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,f,d]),g=m[0],y=m[1],_=(0,v.useMemo)((function(){return f?d:k({},d,{subscription:g})}),[f,d,g]),w=(0,v.useReducer)(Ee,we,Ce),E=w[0][0],x=w[1];if(E&&E.error)throw E.error;var S=(0,v.useRef)(),T=(0,v.useRef)(s),C=(0,v.useRef)(),A=(0,v.useRef)(!1),O=l((function(){return C.current&&s===T.current?C.current:h(p.getState(),s)}),[p,E,s]);xe(Se,[T,S,A,s,O,C,y]),xe(Te,[c,p,g,h,T,S,A,C,y,x],[p,g,h]);var N=(0,v.useMemo)((function(){return v.createElement(t,k({},O,{ref:a}))}),[a,t,O]);return(0,v.useMemo)((function(){return c?v.createElement(u.Provider,{value:_},N):N}),[u,N,_])}var p=s?v.memo(d):d;if(p.WrappedComponent=t,p.displayName=d.displayName=r,h){var m=v.forwardRef((function(e,t){return v.createElement(p,k({},e,{reactReduxForwardedRef:t}))}));return m.displayName=r,m.WrappedComponent=t,H()(m,t)}return H()(p,t)}}function Oe(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ne(e,t){if(Oe(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(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!Oe(e[n[i]],t[n[i]]))return!1;return!0}function Pe(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Ie(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Le(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=Ie(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Ie(i),i=r(t,n)),i},r}}var Me=[function(e){return"function"==typeof e?Le(e):void 0},function(e){return e?void 0:Pe((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Pe((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}];var Re=[function(e){return"function"==typeof e?Le(e):void 0},function(e){return e?void 0:Pe((function(){return{}}))}];function De(e,t,n){return k({},n,e,t)}var qe=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var u=e(t,n,s);return a?i&&o(u,r)||(r=u):(a=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return De}}];function je(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function Fe(e,t,n,r,i){var o,a,s,u,l,c=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function h(i,p){var h,m,v=!d(p,a),g=!c(i,o);return o=i,a=p,v&&g?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),l=n(s,u,a)):v?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),l=n(s,u,a)):g?(h=e(o,a),m=!f(h,s),s=h,m&&(l=n(s,u,a)),l):l}return function(i,c){return p?h(i,c):(s=e(o=i,a=c),u=t(r,a),l=n(s,u,a),p=!0,l)}}function Be(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=U(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?Fe:je)(a,s,u,e,o)}function Ue(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function ze(e,t){return e===t}function He(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Ae:n,i=t.mapStateToPropsFactories,o=void 0===i?Re:i,a=t.mapDispatchToPropsFactories,s=void 0===a?Me:a,u=t.mergePropsFactories,l=void 0===u?qe:u,c=t.selectorFactory,d=void 0===c?Be:c;return function(e,t,n,i){void 0===i&&(i={});var a=i,u=a.pure,c=void 0===u||u,f=a.areStatesEqual,p=void 0===f?ze:f,h=a.areOwnPropsEqual,m=void 0===h?Ne:h,v=a.areStatePropsEqual,g=void 0===v?Ne:v,y=a.areMergedPropsEqual,b=void 0===y?Ne:y,_=U(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),w=Ue(e,o,"mapStateToProps"),E=Ue(t,s,"mapDispatchToProps"),x=Ue(n,l,"mergeProps");return r(d,k({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:E,initMergeProps:x,pure:c,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:b},_))}}var Ve=He();function We(){return(0,v.useContext)(he)}function Ye(e){void 0===e&&(e=he);var t=e===he?We:function(){return(0,v.useContext)(e)};return function(){return t().store}}var Ge=Ye();function Ke(e){void 0===e&&(e=he);var t=e===he?Ge:Ye(e);return function(){return t().dispatch}}var Xe=Ke(),$e=function(e,t){return e===t};function Ze(e){void 0===e&&(e=he);var t=e===he?We:function(){return(0,v.useContext)(e)};return function(e,n){void 0===n&&(n=$e);var r=t(),i=function(e,t,n,r){var i,o=(0,v.useReducer)((function(e){return e+1}),0)[1],a=(0,v.useMemo)((function(){return new ye(n,r)}),[n,r]),s=(0,v.useRef)(),u=(0,v.useRef)(),l=(0,v.useRef)(),c=(0,v.useRef)(),d=n.getState();try{if(e!==u.current||d!==l.current||s.current){var f=e(d);i=void 0!==c.current&&t(f,c.current)?c.current:f}else i=c.current}catch(e){throw s.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),e}return be((function(){u.current=e,l.current=d,c.current=i,s.current=void 0})),be((function(){function e(){try{var e=n.getState(),r=u.current(e);if(t(r,c.current))return;c.current=r,l.current=e}catch(e){s.current=e}o()}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[n,a]),i}(e,n,r.store,r.subscription);return(0,v.useDebugValue)(i),i}}var Qe,Je=Ze();Qe=g.unstable_batchedUpdates,me=Qe;var et=__webpack_require__(24835),tt=__webpack_require__.n(et);function nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var rt=__webpack_require__(57445),it=__webpack_require__(52472),ot=__webpack_require__.n(it),at=__webpack_require__(48994);function st(e){return st="function"==typeof it&&"symbol"==typeof at?function(e){return typeof e}:function(e){return e&&"function"==typeof it&&e.constructor===it&&e!==it.prototype?"symbol":typeof e},st(e)}var ut=__webpack_require__(40024);function lt(e){var t=function(e,t){if("object"!==st(e)||null===e)return e;var n=e[ut];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==st(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===st(t)?t:String(t)}function ct(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),rt(e,lt(r.key),r)}}function dt(e,t,n){return t&&ct(e.prototype,t),n&&ct(e,n),rt(e,"prototype",{writable:!1}),e}function ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var pt=__webpack_require__(3841),ht=__webpack_require__(92984),mt=__webpack_require__(48216);function vt(e,t){var n;return vt=ht?mt(n=ht).call(n):function(e,t){return e.__proto__=t,e},vt(e,t)}function gt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=pt(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),rt(e,"prototype",{writable:!1}),t&&vt(e,t)}function yt(e,t){if(t&&("object"===st(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ft(e)}var bt=__webpack_require__(39272);function _t(e){var t;return _t=ht?mt(t=bt).call(t):function(e){return e.__proto__||bt(e)},_t(e)}var wt=__webpack_require__(67552),kt=__webpack_require__.n(wt);function Et(){var e;return Et=wt?mt(e=wt).call(e):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},Et.apply(this,arguments)}var xt=__webpack_require__(8571),St=__webpack_require__.n(xt);var Tt=v.createContext(null);function Ct(e,t){var n=Object.create(null);return e&&v.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,v.isValidElement)(e)?t(e):e}(e)})),n}function At(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ot(e,t){return Ct(e.children,(function(n){return(0,v.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:At(n,"appear",e),enter:At(n,"enter",e),exit:At(n,"exit",e)})}))}function Nt(e,t,n){var r=Ct(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var u in t){if(i[u])for(r=0;r<i[u].length;r++){var l=i[u][r];s[i[u][r]]=n(l)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if((0,v.isValidElement)(a)){var s=o in t,u=o in r,l=t[o],c=(0,v.isValidElement)(l)&&!l.props.in;!u||s&&!c?u||!s||c?u&&s&&(0,v.isValidElement)(l)&&(i[o]=(0,v.cloneElement)(a,{onExited:n.bind(null,a),in:l.props.in,exit:At(a,"exit",e),enter:At(a,"enter",e)})):i[o]=(0,v.cloneElement)(a,{in:!1}):i[o]=(0,v.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:At(a,"exit",e),enter:At(a,"enter",e)})}})),i}var Pt=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},It=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}b(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Ot(e,r):Nt(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Ct(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=k({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=U(e,["component","childFactory"]),i=this.state.contextValue,o=Pt(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?v.createElement(Tt.Provider,{value:i},o):v.createElement(Tt.Provider,{value:i},v.createElement(t,r,o))},t}(v.Component);It.propTypes={},It.defaultProps={component:"div",childFactory:function(e){return e}};var Lt=It,Mt=!1,Rt="unmounted",Dt="exited",qt="entering",jt="entered",Ft="exiting",Bt=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=Dt,r.appearStatus=qt):i=jt:i=t.unmountOnExit||t.mountOnEnter?Rt:Dt,r.state={status:i},r.nextCallback=null,r}b(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Rt?{status:Dt}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==qt&&n!==jt&&(t=qt):n!==qt&&n!==jt||(t=Ft)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===qt?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Dt&&this.setState({status:Rt})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[g.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||Mt?this.safeSetState({status:jt},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:qt},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:jt},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:g.findDOMNode(this);t&&!Mt?(this.props.onExit(r),this.safeSetState({status:Ft},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Dt},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Dt},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:g.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Rt)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,U(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return v.createElement(Tt.Provider,{value:null},"function"==typeof n?n(e,r):v.cloneElement(v.Children.only(n),r))},t}(v.Component);function Ut(){}Bt.contextType=Tt,Bt.propTypes={},Bt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ut,onEntering:Ut,onEntered:Ut,onExit:Ut,onExiting:Ut,onExited:Ut},Bt.UNMOUNTED=Rt,Bt.EXITED=Dt,Bt.ENTERING=qt,Bt.ENTERED=jt,Bt.EXITING=Ft;var zt=Bt;function Ht(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Vt=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Ht(n.className,r):n.setAttribute("class",Ht(n.className&&n.className.baseVal||"",r)));var n,r}))},Wt=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).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}b(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&Vt(e,r),i&&Vt(e,i),o&&Vt(e,o)},n.render=function(){var e=this.props,t=(e.classNames,U(e,["classNames"]));return v.createElement(zt,k({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(v.Component);Wt.defaultProps={classNames:""},Wt.propTypes={};var Yt=Wt,Gt=__webpack_require__(67294);function Kt(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Xt=(0,v.createContext)(null),$t=(0,v.createContext)(!1),Zt=(0,v.forwardRef)((function(e,t){return Gt.createElement($t.Provider,{value:!0},Gt.createElement(Lt,Et({ref:t},e)))}));function Qt(e){var t=function(t){gt(r,t);var n=Kt(r);function r(){var e,t;nt(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(t=n.call.apply(n,St()(e=[this]).call(e,o))).onEnterDelegate=t.onTransition.bind(ft(t),"enter"),t.onEnteringDelegate=t.onTransition.bind(ft(t),"entering"),t.onEnteredDelegate=t.onTransition.bind(ft(t),"entered"),t.onExitDelegate=t.onTransition.bind(ft(t),"exit"),t.onExitingDelegate=t.onTransition.bind(ft(t),"exiting"),t.onExitedDelegate=t.onTransition.bind(ft(t),"exited"),t.state={transitionState:null},t}return dt(r,[{key:"onTransition",value:function(e){var t;this.setState({transitionState:e});for(var n="on"+e[0].toUpperCase()+e.substr(1),r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];(t=this.props)[n].apply(t,i)}},{key:"render",value:function(){return Gt.createElement(Xt.Provider,{value:this.state.transitionState},Gt.createElement(e,Et({},this.props,{onEnter:this.onEnterDelegate,onEntering:this.onEnteringDelegate,onEntered:this.onEnteredDelegate,onExit:this.onExitDelegate,onExiting:this.onExitingDelegate,onExited:this.onExitedDelegate})))}}]),r}(v.Component);return t.defaultProps={onEnter:Function.prototype,onEntering:Function.prototype,onEntered:Function.prototype,onExit:Function.prototype,onExiting:Function.prototype,onExited:Function.prototype},t.displayName="withStaleTransitionState(".concat(e.displayName||e.name,")"),t}var Jt=Qt(zt),en=Qt(Yt);function tn(e){var t=(0,v.forwardRef)((function(t,n){var r=function(e){var t,n=(0,v.useContext)($t),r=(0,v.useContext)(Xt),i=(0,v.useRef)(e);return n&&null!=r&&null!==(t=de()(r))&&void 0!==t&&t.call(r,"exit")||(i.current=e),i.current}(t);return Gt.createElement(e,Et({ref:n},r))}));return t.displayName="withTransitionableState(".concat(e.displayName||e.name,")"),t}function nn(){return pe()(Ve.apply(void 0,arguments),tn)}function rn(e,t){var n,r=(0,v.useContext)($t),i=(0,v.useContext)(Xt),o=(0,v.useRef)(null),a=!function(){var e=(0,v.useRef)(!0);return e.current?(e.current=!1,!0):e.current}()&&r&&(null==i||null===(n=de()(i))||void 0===n?void 0:n.call(i,"exit")),s=Je((function(t){if(!a)return e(t)}),t);return a||(o.current=s),o.current}var on=__webpack_require__(30670),an=__webpack_require__.n(on),sn=__webpack_require__(41143),un=__webpack_require__.n(sn);function ln(e){return"/"===e.charAt(0)}function cn(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var dn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&ln(e),o=t&&ln(t),a=i||o;if(e&&ln(e)?r=n:n.length&&(r.pop(),r=r.concat(n)),!r.length)return"/";var s=void 0;if(r.length){var u=r[r.length-1];s="."===u||".."===u||""===u}else s=!1;for(var l=0,c=r.length;c>=0;c--){var d=r[c];"."===d?cn(r,c):".."===d?(cn(r,c),l++):l&&(cn(r,c),l--)}if(!a)for(;l--;l)r.unshift("..");!a||""===r[0]||r[0]&&ln(r[0])||r.unshift("");var f=r.join("/");return s&&"/"!==f.substr(-1)&&(f+="/"),f},fn="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 pn=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var r=void 0===t?"undefined":fn(t);if(r!==(void 0===n?"undefined":fn(n)))return!1;if("object"===r){var i=t.valueOf(),o=n.valueOf();if(i!==t||o!==n)return e(i,o);var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every((function(r){return e(t[r],n[r])}))}return!1},hn=function(e){return"/"===e.charAt(0)?e:"/"+e},mn=function(e){return"/"===e.charAt(0)?e.substr(1):e},vn=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},gn=function(e,t){return vn(e,t)?e.substr(t.length):e},yn=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},bn=function(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},_n=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},wn=function(e,t,n,r){var i=void 0;"string"==typeof e?(i=function(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}}(e),i.state=t):(void 0===(i=_n({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=dn(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},kn=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&pn(e.state,t.state)},En=function(){var e=null,t=[];return{setPrompt:function(t){return an()(null==e,"A history supports only one prompt at a time"),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):(an()(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==o)}else i(!0)},appendListener:function(e){var n=!0,r=function(){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=Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}},xn=!("undefined"==typeof window||!window.document||!window.document.createElement),Sn=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},Tn=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},Cn=function(e,t){return t(window.confirm(e))},An=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},On=("function"==typeof Symbol&&Symbol.iterator,Object.assign,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}),Nn="hashchange",Pn={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+mn(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:mn,decodePath:hn},slash:{encodePath:hn,decodePath:hn}},In=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},Ln=function(e){return window.location.hash=e},Mn=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},Rn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};un()(xn,"Hash history needs a DOM");var t=window.history,n=An(),r=e.getUserConfirmation,i=void 0===r?Cn:r,o=e.hashType,a=void 0===o?"slash":o,s=e.basename?yn(hn(e.basename)):"",u=Pn[a],l=u.encodePath,c=u.decodePath,d=function(){var e=c(In());return an()(!s||vn(e,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+s+'".'),s&&(e=gn(e,s)),wn(e)},f=En(),p=function(e){On(M,e),M.length=t.length,f.notifyListeners(M.location,M.action)},h=!1,m=null,v=function(){var e=In(),t=l(e);if(e!==t)Mn(t);else{var n=d(),r=M.location;if(!h&&kn(r,n))return;if(m===bn(n))return;m=null,g(n)}},g=function(e){if(h)h=!1,p();else{f.confirmTransitionTo(e,"POP",i,(function(t){t?p({action:"POP",location:e}):y(e)}))}},y=function(e){var t=M.location,n=k.lastIndexOf(bn(t));-1===n&&(n=0);var r=k.lastIndexOf(bn(e));-1===r&&(r=0);var i=n-r;i&&(h=!0,T(i))},b=In(),_=l(b);b!==_&&Mn(_);var w=d(),k=[bn(w)],E=function(e){return"#"+l(s+bn(e))},x=function(e,t){an()(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=wn(e,void 0,void 0,M.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=bn(r),i=l(s+t);if(In()!==i){m=t,Ln(i);var o=k.lastIndexOf(bn(M.location)),a=k.slice(0,-1===o?0:o+1);a.push(t),k=a,p({action:n,location:r})}else an()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),p()}}))},S=function(e,t){an()(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=wn(e,void 0,void 0,M.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=bn(r),i=l(s+t);In()!==i&&(m=t,Mn(i));var o=k.indexOf(bn(M.location));-1!==o&&(k[o]=t),p({action:n,location:r})}}))},T=function(e){an()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},C=function(){return T(-1)},A=function(){return T(1)},O=0,N=function(e){1===(O+=e)?Sn(window,Nn,v):0===O&&Tn(window,Nn,v)},P=!1,I=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=f.setPrompt(e);return P||(N(1),P=!0),function(){return P&&(P=!1,N(-1)),t()}},L=function(e){var t=f.appendListener(e);return N(1),function(){N(-1),t()}},M={length:t.length,action:"POP",location:w,createHref:E,push:x,replace:S,go:T,goBack:C,goForward:A,block:I,listen:L};return M},Dn=("function"==typeof Symbol&&Symbol.iterator,Object.assign,__webpack_require__(86869)),qn=__webpack_require__.n(Dn),jn=__webpack_require__(46489),Fn=__webpack_require__.n(jn),Bn=__webpack_require__(61949),Un=__webpack_require__.n(Bn),zn=__webpack_require__(9134),Hn=__webpack_require__.n(zn),Vn=__webpack_require__(416),Wn=__webpack_require__.n(Vn),Yn=__webpack_require__(52478),Gn=__webpack_require__.n(Yn),Kn=window.Runtime,Xn=Hn()(Gn())(window.env||{}),$n=!1,Zn=function(e){return Kn&&Kn[e]},Qn="Rise 360";function Jn(e){return Xn("CDN_USER_CONTENT_URI")+"/"+e}function er(e){var t=e||"",n=Zn("resolvePath")?Kn.resolvePath.bind(Kn):Jn;return de()(t).call(t,"http")||de()(t).call(t,"data:")||de()(t).call(t,"//")?t:n(t)}function tr(){Zn("exit")&&Kn.exit()}function nr(){return Zn("isComplete")?Kn.isComplete():null}function rr(){return!!Zn("isExport")&&Kn.isExport()}function ir(){if(Zn("isExport")){var e=Wn()(["partnerContent","content"],window);return Kn.isExport()&&e}return!1}function or(){if(Zn("sendTouch"))return Kn.sendTouch()}var ar="_articulate_user_id",sr=function(e,t){var n,r;return St()(n=St()(r="".concat(e,"=")).call(r,t,"; domain=")).call(n,Xn("SESSION_COOKIE_DOMAIN"),"; path=/; secure=true")},ur=function(){return qn().load(ar)},lr=function(){return qn().load("_articulate_rise_")},cr=function(){return lr()?Fn()(lr()).riseId||Fn()(lr()).sub||Fn()(lr()).aid:""},dr=function(){return lr()&&Fn()(lr()).subscription||{}},fr="_course_token",pr=new(p())(window.location.hash.substr(1)),hr=pr.get(fr);hr&&(pr.delete(fr),window.history.replaceState(null,null,"#".concat(pr.toString())));navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",(function(e){var t=e.data,n=t.method,r=t.id;if("2.0"===t.jsonrpc&&"getBearerToken"===n){var i=hr||lr();navigator.serviceWorker.ready.then((function(e){e.active.postMessage({id:r,jsonrpc:"2.0",method:n,result:{token:i}})}))}}));var mr=__webpack_require__(62079),vr=__webpack_require__.n(mr),gr=__webpack_require__(52020),yr=__webpack_require__.n(gr),br=__webpack_require__(73324),_r=__webpack_require__.n(br),wr=__webpack_require__(88546),kr=__webpack_require__.n(wr),Er=__webpack_require__(66775),xr=__webpack_require__.n(Er),Sr=__webpack_require__(98235);function Tr(e){if(Sr(e))return e}var Cr=__webpack_require__(19389),Ar=__webpack_require__.n(Cr);var Or=__webpack_require__(35704),Nr=__webpack_require__.n(Or),Pr=__webpack_require__(10349),Ir=__webpack_require__.n(Pr);function Lr(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 Mr(e,t){var n;if(e){if("string"==typeof e)return Lr(e,t);var r=Or(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Pr(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Lr(e,t):void 0}}function Rr(){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 Dr(e,t){return Tr(e)||function(e,t){var n=null==e?null:void 0!==it&&Cr(e)||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||Mr(e,t)||Rr()}function qr(e,t,n){return(t=lt(t))in e?rt(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jr(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var Br=(0,v.createContext)({});function Ur(e,t){var n=t.type,r=t.message;switch(n){case"polite":return Fr(Fr({},e),{},{politeMessage1:e.alternatePolite?r:"",politeMessage2:e.alternatePolite?"":r,alternatePolite:!e.alternatePolite});case"assertive":return Fr(Fr({},e),{},{assertiveMessage1:e.alternatePolite?r:"",assertiveMessage2:e.alternatePolite?"":r,alternateAssertive:!e.alternateAssertive});default:return{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}}}function zr(e){var t=e.ariaLive,n=e.message;return v.createElement("div",{className:"visually-hidden-always",role:"log","aria-live":t,"aria-atomic":"true","aria-relevant":"additions text"},n)}function Hr(e){var t=e.children,n=Dr((0,v.useReducer)(Ur,{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}),2),r=n[0],i=r.politeMessage1,o=r.politeMessage2,a=r.assertiveMessage1,s=r.assertiveMessage2,u=n[1],l=(0,v.useMemo)((function(){return{announcePolite:function(e){u({type:"polite",message:e})},announceAssertive:function(e){u({type:"assertive",message:e})},clearAnnouncements:function(){u({type:"clear"})}}}),[u]);return v.createElement(Br.Provider,{value:l},v.createElement(zr,{id:"polite-announcer1",ariaLive:"polite",message:i}),v.createElement(zr,{id:"polite-announcer2",ariaLive:"polite",message:o}),v.createElement(zr,{id:"assertive-announcer1",ariaLive:"assertive",message:a}),v.createElement(zr,{id:"assertive-announcer2",ariaLive:"assertive",message:s}),t)}function Vr(){return(0,v.useContext)(Br)}function Wr(e){var t=(0,v.forwardRef)((function(t,n){var r=Vr();return v.createElement(e,Et({},t,r,{ref:n}))}));return t.displayName="withAriaLive(".concat(e.displayName||e.name,")"),t}var Yr=__webpack_require__(35820),Gr=__webpack_require__.n(Yr),Kr=__webpack_require__(94066),Xr=__webpack_require__.n(Kr),$r=__webpack_require__(54115),Zr=__webpack_require__.n($r),Qr=__webpack_require__(69105),Jr=__webpack_require__.n(Qr),ei=__webpack_require__(23710),ti=__webpack_require__.n(ei),ni=__webpack_require__(38289),ri=__webpack_require__.n(ni),ii=Hn()(ri()),oi=ii({allowedAttributes:{"*":["aria-*","class","colspan","rowspan","style"],a:["data-external","href","target","rel"],img:["alt","src"],span:["data-*"]},allowedClasses:["fr-*"],allowedSchemes:["data","http","https","mailto"],allowedTags:["a","b","blockquote","br","em","h2","h3","i","img","li","mark","ol","p","table","td","th","tbody","thead","tr","s","strong","span","sub","sup","u","ul"]}),ai=ii({allowedAttributes:{iframe:["align","allow","allowfullscreen","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","title","width"]},allowedTags:["iframe"],allowedSchemes:["http","https"]}),si=ti()(Jr(),oi,Zr()("")),ui=ti()(Jr(),ai,Zr()("")),li=ii({allowedTags:[],allowedAttributes:[]}),ci=ii({allowedTags:["mark"],allowedAttributes:[]}),di=si,fi=__webpack_require__(22624),pi=__webpack_require__.n(fi),hi=__webpack_require__(51383),mi=__webpack_require__.n(hi),vi=__webpack_require__(77414),gi=__webpack_require__.n(vi),yi=__webpack_require__(61894),bi=__webpack_require__.n(yi),_i=__webpack_require__(90013),wi=__webpack_require__.n(_i),ki=__webpack_require__(87041),Ei=__webpack_require__.n(ki),xi=__webpack_require__(84585),Si=__webpack_require__.n(xi),Ti=__webpack_require__(62848),Ci=__webpack_require__.n(Ti),Ai=__webpack_require__(33411),Oi=__webpack_require__.n(Ai),Ni=function(e){return pe()(li,e)},Pi=function(e,t,n){return(e[t]||e.MULTIPLE_CHOICE)(n)},Ii=function(e){var t=e.startTime;return e.stopTime-t},Li=function(e){return Pi({FILL_IN_THE_BLANK:Hi,MATCHING:$i,MULTIPLE_CHOICE:qi,MULTIPLE_RESPONSE:qi},Bi(e),e)},Mi=function(e){return Pi({FILL_IN_THE_BLANK:Hi,MATCHING:$i,MULTIPLE_CHOICE:Vi,MULTIPLE_RESPONSE:Yi},Bi(e),e)},Ri=function(e){var t=e.item,n=e.itemProgress,r={FILL_IN_THE_BLANK:Ni(Gn()("text")),MATCHING:Zi(t),MULTIPLE_CHOICE:Wi(t),MULTIPLE_RESPONSE:Gi(t)};return Pi(r,Bi(t),n)},Di=function(e){return[e]},qi=pe()(bi()(function(e){return pi()(qr({},e,li))}("title")),Gn()("answers")),ji=Ni(Gn()("id")),Fi=Ni(Gn()("title")),Bi=Gn()("type"),Ui=function(e){return function(t){return mi()(Ci()("id",t),qi(e))}},zi=function(e){return Hn()(Ei())(qi(e))},Hi=pe()(Si()("title"),qi),Vi=function(e){return pe()(Ui(e),Gn()("correct"))(e)},Wi=function(e){return pe()(Di,zi(e),Gn()("selectedIndex"))},Yi=function(e){return pe()(gi(),bi()(Ui(e)),Gn()("corrects"))(e)},Gi=function(e){return pe()(gi(),bi()(zi(e)),Gn()("selectedIndices"))},Ki=function(e){var t=e.sourceId,n=e.sourceTitle,r=e.targetId,i=e.targetTitle;return{source:{id:"source_".concat(t),title:n},target:{id:"target_".concat(r),title:i}}},Xi=Ni(Gn()("matchTitle")),$i=pe()(bi()((function(e){var t=ji(e);return Ki({sourceId:t,sourceTitle:Fi(e),targetId:t,targetTitle:Xi(e)})})),qi),Zi=function(e){return pe()(Oi(),wi()(function(e){return function(t,n){var r=zi(e)(n),i=zi(e)(t);return Ki({sourceId:ji(r),sourceTitle:Fi(r),targetId:ji(i),targetTitle:Xi(i)})}}(e)),Gn()("matches"))},Qi=__webpack_require__(51791);function Ji(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=mr(e);for(r=0;r<o.length;r++)n=o[r],Qi(t).call(t,n)>=0||(i[n]=e[n]);return i}(e,t);if(gr){var o=gr(e);for(r=0;r<o.length;r++)n=o[r],Qi(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var eo=__webpack_require__(31082),to=__webpack_require__.n(eo),no=__webpack_require__(84705),ro=__webpack_require__.n(no),io=__webpack_require__(58218),oo=__webpack_require__.n(io),ao=__webpack_require__(16896),so=__webpack_require__.n(ao),uo=__webpack_require__(30269),lo=__webpack_require__.n(uo),co=__webpack_require__(60740),fo=__webpack_require__.n(co),po=__webpack_require__(9386),ho=__webpack_require__.n(po),mo=__webpack_require__(52892),vo=__webpack_require__.n(mo),go=__webpack_require__(12601),yo=__webpack_require__.n(go),bo=__webpack_require__(80620),_o=__webpack_require__.n(bo);function wo(e,t){return void 0===t?e:t}lo()(ho()((function(e,t){var n,r,i=t.split("=");return so()(ro()(n=i[0]).call(n),ro()(r=i[1]).call(r),e)}),{}),yo()(/; */));function ko(e,t){var n,r,i=t.indexOf(":"),o=ro()(n=t.substr(0,i)).call(n).toLowerCase(),a=ro()(r=t.substr(i+1)).call(r);return o&&(e[o]=e[o]?e[o]+", "+a:a),e}function Eo(e){return e?e.split("\n").reduce(ko,{}):{}}function xo(e){var t=e.data,n=wo(fo(),e.deserialize),r=wo({},e.headers),i=wo(!1,e.json),o=wo(!1,e.jwt),a=wo(null,e.token),s=wo("GET",e.method),u=e.onUploadProgress,l=wo(fo(),e.serialize),c=e.url,d=wo(!1,e.withCredentials),f=e.file,p=new XMLHttpRequest;if(p.withCredentials=d,i&&(n=JSON.parse,l=oo(),r["Content-Type"]="application/json"),o){var h=a||lr();r.Authorization="Bearer "+h}"GET"===s&&t&&(c+="?"+function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}(t));var m=new(Gr())((function(e,i){for(var o in p.addEventListener("abort",i),p.addEventListener("error",i),p.addEventListener("load",(function(){p.status>=400?i(n(p.response)):e({body:n(p.response),headers:Eo(p.getAllResponseHeaders()),status:p.status})})),p.upload&&"function"==typeof u&&p.upload.addEventListener("progress",u),p.open(s,c),r)p.setRequestHeader(o,r[o]);"GET"!==s&&t?p.send(l(t)):f?p.send(f):p.send()}));return m.abort=p.abort.bind(p),m}lo()(_o(),vo()(""));var So=__webpack_require__(20780),To=__webpack_require__.n(So),Co="n",Ao="c",Oo="p",No="vp",Po="i",Io=__webpack_require__(45582),Lo=__webpack_require__.n(Io),Mo=__webpack_require__(66497),Ro=__webpack_require__.n(Mo),Do=__webpack_require__(92373),qo=__webpack_require__.n(Do),jo=__webpack_require__(54405),Fo=__webpack_require__.n(jo),Bo=__webpack_require__(38907),Uo=__webpack_require__.n(Bo),zo=__webpack_require__(2220),Ho=__webpack_require__.n(zo),Vo=__webpack_require__(92650),Wo=__webpack_require__.n(Vo),Yo=__webpack_require__(47166),Go=__webpack_require__.n(Yo),Ko=__webpack_require__(14087),Xo=__webpack_require__.n(Ko),$o=__webpack_require__(9730),Zo=__webpack_require__.n($o),Qo=__webpack_require__(13657),Jo=__webpack_require__.n(Qo),ea=__webpack_require__(59837),ta=__webpack_require__.n(ea),na=__webpack_require__(90368),ra=__webpack_require__.n(na),ia=__webpack_require__(24234),oa=__webpack_require__.n(ia),aa=__webpack_require__(13207),sa=__webpack_require__.n(aa),ua=__webpack_require__(25677),la=__webpack_require__.n(ua),ca=__webpack_require__(1102),da=__webpack_require__.n(ca),fa=__webpack_require__(144),pa=__webpack_require__.n(fa),ha=__webpack_require__(92738),ma=__webpack_require__.n(ha),va=__webpack_require__(96942),ga=__webpack_require__.n(va),ya=__webpack_require__(5206),ba=__webpack_require__.n(ya),_a=__webpack_require__(4603),wa=__webpack_require__.n(_a),ka=__webpack_require__(20793),Ea=__webpack_require__.n(ka),xa=__webpack_require__(5994),Sa=__webpack_require__.n(xa),Ta=__webpack_require__(47088),Ca=__webpack_require__.n(Ta),Aa=__webpack_require__(6037),Oa=__webpack_require__.n(Aa),Na=__webpack_require__(61937),Pa=__webpack_require__.n(Na),Ia=__webpack_require__(47176),La=__webpack_require__.n(Ia),Ma=__webpack_require__(88946),Ra=__webpack_require__.n(Ma),Da=__webpack_require__(19716),qa=__webpack_require__.n(Da),ja=Ho()(2,(function(e,t){return{type:e,payload:t}})),Fa=(Ho()(2,(function(e,t){return[t,e]})),Ho()(2,(function(e,t){return{type:e,payload:t,error:!0}})),Ho()(2,(function(e,t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,r=arguments.length>1?arguments[1]:void 0,i=r.type,o=r.payload,a=r.error;return t[i]?t[i](n,o,a):n}}))),Ba=(Zr()(function(e){var t;return Ra()(t=qa()(e)).call(t,Zr()({type:"SIDE_EFFECT"}))}((function(){return location.href="/"}))),__webpack_require__(51481)),Ua=__webpack_require__.n(Ba),za=__webpack_require__(42157),Ha=__webpack_require__.n(za),Va=__webpack_require__(61584),Wa=__webpack_require__.n(Va),Ya=__webpack_require__(18384),Ga=__webpack_require__.n(Ya),Ka=__webpack_require__(34923),Xa=__webpack_require__.n(Ka),$a=__webpack_require__(82515),Za=__webpack_require__.n($a),Qa=__webpack_require__(22626),Ja=__webpack_require__.n(Qa),es=__webpack_require__(78095),ts=__webpack_require__.n(es),ns=__webpack_require__(75748),rs=__webpack_require__.n(ns),is=__webpack_require__(36573),os=__webpack_require__.n(is),as=__webpack_require__(3087),ss=__webpack_require__.n(as),us=__webpack_require__(53523),ls=__webpack_require__.n(us),cs=__webpack_require__(425),ds=__webpack_require__.n(cs),fs=__webpack_require__(73411),ps=__webpack_require__.n(fs),hs=__webpack_require__(27938),ms=__webpack_require__.n(hs),vs=__webpack_require__(97560),gs=__webpack_require__.n(vs),ys=__webpack_require__(56396),bs=__webpack_require__.n(ys),_s=__webpack_require__(99072),ws=__webpack_require__.n(_s),ks=__webpack_require__(98313),Es=__webpack_require__.n(ks);function xs(e,t){var n=void 0!==ot()&&Ar()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Ss(e,t);var r=Nr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Ir()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ss(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Ss(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 Ts=function(e){return-1===e},Cs=ss()((function(e,t,n){return Za()(e,n,t)})),As=Ho()(3,(function(e,t,n){return n[e]==t})),Os=(Ho()(3,(function(e,t,n){return wa()(ls()(As("id",t)),ti()(Ts,Zr()(n),Cs(e,n)))(n)})),Ho()(3,(function(e,t,n){return ms()(t,n[e],ws()(e,1,n))})),ss()((function(e,t,n){var r;return kt()([],n,(qr(r={},e,n[t]),qr(r,t,n[e]),r))}))),Ns=Ja()((function(e){var t=Dr(e,2),n=t[0],r=t[1];return Ua()(Number(n),Number(r))})),Ps=pe()(Ns,Es()),Is=pe()(bs()(0),oa());var Ls,Ms=Ho()(2,(function(e,t){return pe()(ds(),bi()(Za()(e,1)),Es())(t)})),Rs=Ho()(2,(function(e,t){return pe()(ds(),mi()(rs()(e)),Es())(t)})),Ds=Ho()(2,(function(e,t){return pe()(ra(),Rs((function(e,n){return t(n)})))(e)})),qs=Ho()(2,(function(e,t){return mi()(pe()(Hn()(Un())(t),e))})),js=ts()(gs()(Xa(),0)),Fs=pe()(Ir(),Array),Bs=ss()((function(e,t){var n;return Ra()(n=Fs(t)).call(n,(function(){return e}))})),Us=ss()((function(e,t,n,r){var i;return Ra()(i=Fs(n)).call(i,(function(n,i){return i===r?t:e}))})),zs=__webpack_require__(40486),Hs=__webpack_require__.n(zs),Vs=__webpack_require__(40437),Ws=__webpack_require__.n(Vs),Ys=os()(Jo()),Gs=Lo()(Ea()),Ks=function(e){var t=e.key,n=e.percent;return function(e){return Ro()(n,wa()(Gn()("items"),Oi(),mi()(Ci()(t,!0)),oa(),Hn()(Go())(pe()(oa(),ra(),Gn()("items"))(e)),da()(100),Math.round)(e),e)}},Xs=(Gs((function e(t,n,r){var i=n.id,o=n.items;return wa()(Ro()(i,{index:r}),La()((function(){return Ys(o)}),(function(t){return Sa()(sa()([i,"items"]),Gs(e,{},o))(t)})))(t)}),{}),Ks({key:"isComplete",percent:"percentComplete"})),$s=Ks({key:"isViewed",percent:"percentViewed"}),Zs=function(e){return Ro()("correctlyAnswered",wa()(Gn()("items"),Oi(),mi()(Ci()("isCorrect",!0)),oa())(e),e)},Qs=wa()(ma()(la()("items"),Ms(Wa()(["isViewed","isCorrect"]))),Wa()(["percentViewed","correctlyAnswered"]),ma()(la()("retryAttempts"),pe()(Hs(),vo()(0)))),Js=function(e){var t=e.itemId,n=e.isCorrect;return wa()(ma()(sa()(["items",t]),wa()(Hn()(To())({isComplete:n,isViewed:n}),To()({isCorrect:n}))),La()(Ws()(["items",t,"isCorrect"],!1),Ro()("lastIncorrectCardId",t)),Zs,Pa()(Ci()("percentComplete",100),Xs),$s,La()(Ci()("percentComplete",100),Ro()("isComplete",!0)))},eu=["lessonId"],tu=["lessonId"],nu=pe()(Hn()(To())({isComplete:!0,percentComplete:100}),ma()(la()("items"),Ms(pe()(ma()(la()("items"),Ms(Ro()("isComplete",!0))),Ro()("isComplete",!0))))),ru=function(e){var t=e.id,n=e.items;return wa()(ma()(sa()(["items",t,"items"]),cu(n)),ma()(sa()(["items",t]),lu),bl,La()(Ci()("percentComplete",100),Ro()("isComplete",!0)))},iu=function(e,t){var n=t.id;return To()(e,qr({},n,Ro()("isComplete",!0)))},ou=Wa()(["correctlyAnswered","percentComplete","percentViewed","isComplete"]),au=ma()(la()("items"),Ms(Wa()(["isComplete","isCorrect","isViewed"]))),su=Ms(pe()(au,ou)),uu=wa()(Wa()(["isComplete","percentComplete"]),ma()(la()("items"),su)),lu=La()((function(e){return Ga()(pe()(Ha(),Gn()("items"))(e),function(e){return wa()(Gn()("items"),Oi(),mi()(Ci()("isComplete",!0)),oa(),Hn()(Go())(pe()(oa(),ra(),Gn()("items"))(e)),Ua()(1))(e)}(e))}),Ro()("isComplete",!0)),cu=function(e){return function(t){return pi()(e.reduce(iu,{}),t)}},du=function(e){var t=e.id,n=e.lessonId,r=e.items;return function(e){return e(cl({id:n,updateFn:ru({id:t,items:r})}))}},fu=Hn()(To())({isComplete:!0,percentComplete:100}),pu=Wa()(["isComplete","percentComplete"]),hu=pe()(Hn()(To())({isComplete:!0,percentComplete:100}),ma()(la()("items"),Ms(Ro()("isComplete",!0)))),mu=pe()(Wa()(["isComplete","percentComplete"]),ma()(la()("items"),Ms(Wa()(["isComplete"])))),vu=function(e){return pe()(La()(Ci()("percentComplete",100),Ro()("isComplete",!0)),bl,ma()(sa()(["items",e]),Ro()("isComplete",!0)))},gu=__webpack_require__(22184),yu=__webpack_require__.n(gu),bu=Wa()(["activeIndex","direction"]),_u=function(e){return Hn()(To())({activeIndex:e,direction:"backwards"})},wu=function(e){var t=e.activeIndex,n=e.itemId;return pe()(La()(Ci()("percentComplete",100),Ro()("isComplete",!0)),bl,La()((function(){return yu()(Jo()(n))}),ma()(sa()(["items",n]),Ro()("isComplete",!0))),Ro()("activeIndex",t),Wa()(["direction"]))},ku=pe()(Hn()(To())({isComplete:!0,percentComplete:100}),bu,ma()(la()("items"),Ms(Ro()("isComplete",!0)))),Eu=pe()(Wa()(["activeIndex","direction","isComplete","percentComplete"]),ma()(la()("items"),Ms(Wa()(["isComplete"])))),xu=Hn()(To())({isComplete:!0,percentComplete:100,percentViewed:100}),Su=function(e){return function(t){return t(cl({id:e,updateFn:Qs}))}},Tu=wa()(ma()(la()("items"),Ms(Wa()(["isComplete","isCorrect","isViewed"]))),Wa()(["correctlyAnswered","percentComplete","isComplete","percentViewed"])),Cu=function(e){var t=e.id,n=e.itemId,r=e.isCorrect;return function(e){return e(cl({id:t,updateFn:Js({itemId:n,isCorrect:r})}))}},Au=function(e){var t=e.itemId,n=e.activeIndex;return wa()(Ro()("activeIndex",n),ma()(sa()(["items",t]),Ro()("isComplete",!0)),Xs,La()(Ci()("percentComplete",100),Ro()("isComplete",!0)))},Ou=(Wo()("activeIndex"),function(e){var t=e.id,n=e.payload;return function(e){return e(cl({id:t,updateFn:Au(n)}))}}),Nu=wa()(ma()(la()("items"),Ms(Ro()("isComplete",!0))),Hn()(To())({isComplete:!0,percentComplete:100})),Pu=wa()(ma()(la()("items"),Ms(Wa()(["isComplete"]))),Wa()(["isComplete","percentComplete","activeIndex"])),Iu=__webpack_require__(21186),Lu=__webpack_require__.n(Iu),Mu=__webpack_require__(53176),Ru=__webpack_require__.n(Mu),Du=Hn()(To())({currentTime:0,isComplete:!0,percentComplete:100}),qu=Wa()(["currentTime","isComplete","percentComplete"]),ju=La()(Ci()("percentComplete",100),Ro()("isComplete",!0)),Fu=function(e){var t=e.currentTime,n=e.percentComplete;return pe()(Ro()("currentTime",t),ju,function(e){return function(t){return pe()(To()(t),pa()("percentComplete"),Math.round,La()(gs()(90),Zr()(100)),Lu()(e),Ru()(0,"percentComplete"))(t)}}(n))},Bu=["type"];function Uu(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var zu=Lo()(Ea()),Hu=Fo()("rise/course/"),Vu=Hu("BOOKMARK_LESSON"),Wu=Hu("COMPLETE_LESSON_PROGRESS"),Yu=Hu("RESET_LESSON_PROGRESS"),Gu=Hu("UPDATE_LESSON_PROGRESS"),Ku=Hu("UPDATE_PLAYHEAD_PERCENTAGE"),Xu=function(e){return function(t,n){var r=n.id;switch(n.type){case"blocks":return e(t,{id:r,updateFn:nu});case"embed":return e(t,{id:r,updateFn:fu});case"map":return e(t,{id:r,updateFn:hu});case"process":return e(t,{id:r,updateFn:ku});case"sorting":return e(t,{id:r,updateFn:xu});case"timeline":return e(t,{id:r,updateFn:Nu});case"video":return e(t,{id:r,updateFn:Du});default:return t}}},$u=function(e){return pe()(rx,Wn()(["lessons",e]))},Zu=ma()(la()("passingScore"),Pa()(ta(),Zr()(0))),Qu=pe()(Zu,ba()(["id","passed","score","passingScore"])),Ju=function(e){return pe()(nx,Qu)(e)},el=function(e){var t=e.id,n=e.updateFn;return ma()(sa()(["lessons",t]),pe()(Ro()("id",t),n))},tl=function(e,t){var n=e.id,r=e.type;return Xo()(gl(n,t),function(e){return function(t){var n=t.lessons,r=t.currentLesson;return Boolean(r)&&"quiz"===e&&100===n[r].percentComplete}}(r))},nl=function(e,t){var n=t.id,r=t.type,i=t.updateFn;return wa()(rl({id:n,type:r,updateFn:i}),Oa()(pe()(ox,Gn()("percentComplete"))))(e)},rl=function(e){var t=e.id,n=e.type,r=e.updateFn;return function(e){return wa()(el({id:t,updateFn:r}),La()(tl({id:t,type:n},e),El),Oa()($u(t)),Oa()(function(e){return pe()(La()(Ci()("percentComplete",100),Ju),Wn()(["lessons",e]))}(t)))(e)}},il=Xu(Zo()(el)),ol=Xu(nl),al=Fa({lessons:{},percentComplete:0},(qr(Ls={},Vu,(function(e,t){return pe()(Oa()(ga()(tx,[t])),Ro()("currentLesson",t))(e)})),qr(Ls,Wu,ol),qr(Ls,"rise/course/LOAD_COURSE",(function(e,t){return To()(e,function(e){if(ex("getProgress"))return QE.getProgress(e);return e}(fl(t)))})),qr(Ls,Yu,(function(e,t){var n=t.id;switch(t.type){case"blocks":return nl(e,{id:n,updateFn:uu});case"embed":return nl(e,{id:n,updateFn:pu});case"map":return nl(e,{id:n,updateFn:mu});case"process":return nl(e,{id:n,updateFn:Eu});case"sorting":return nl(e,{id:n,updateFn:Tu});case"timeline":return nl(e,{id:n,updateFn:Pu});case"video":return nl(e,{id:n,updateFn:qu});default:return e}})),qr(Ls,Gu,nl),qr(Ls,Ku,(function(e,t){var n=t.id,r=t.updateFn;return wa()(el({id:n,updateFn:r}),Oa()($u(n)))(e)})),Ls)),sl=ja(Wu),ul=ja(Yu),ll=ja(Vu),cl=ja(Gu),dl=ja(Ku),fl=wa()(ba()(["course"]),(function(e){return wa()(Wn()(["course","lessons"]),zu(ml,{}),pa()("lessons"),To()(e))(e)}),Wo()("course")),pl=function(e){var t=e.id,n=e.type,r=e.settings.passingScore;return La()(function(e){var t=e.type,n=e.passingScore;return function(){return"quiz"===t&&!Jo()(n)}}({type:n,passingScore:r}),ma()(sa()([t]),qo()({passingScore:r})))},hl=function(e){var t=e.id,n=e.index,r=e.items,i=e.settings,o=void 0===i?{}:i,a=e.type;return wa()(Ro()(t,{index:n,id:t}),pl({id:t,type:a,settings:o}),Pa()(function(e){return function(){return Jo()(e)}}(r),function(e){var t=e.id,n=e.items;return function(e){return Sa()(sa()([t,"items"]),zu(ml,{},n),e)}}({id:t,items:r})))},ml=function(e,t,n){var r=t.type,i=Ji(t,Bu);return Pa()(function(e){return function(){return"section"===e}}(r),hl(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uu(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Uu(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({index:n,type:r},i)))(e)},vl=Ho()(3,(function(e,t,n){return e(t)!==e(n)})),gl=function(e,t){return vl(Wn()(["lessons",e,"isComplete"]),t)},yl=function(e){var t=e.key,n=e.percent;return function(e){return Ro()(n,wa()(Gn()("items"),Oi(),mi()(Ci()(t,!0)),oa(),Zo()(Go())(pe()(oa(),ra(),Gn()("items"))(e)),da()(100),Math.round)(e),e)}},bl=yl({key:"isComplete",percent:"percentComplete"}),_l=(yl({key:"isViewed",percent:"percentViewed"}),Uo()(Gn(),[Gn()("currentLesson"),Gn()("lessons")])),wl=pe()(Qu,_l),kl=function(e){return Ca()(ix,wl,e)},El=function(e){return wa()(Sa()(la()("percentComplete"),xl(e)),Oa()(kl))(e)},xl=function(e){var t=e.lessons;return Math.round(oa()(vr()(mi()(Gn()("isComplete"),t)))/oa()(vr()(t))*100)},Sl=__webpack_require__(63073),Tl=__webpack_require__.n(Sl),Cl=__webpack_require__(23018),Al=__webpack_require__.n(Cl),Ol=__webpack_require__(32207),Nl=__webpack_require__.n(Ol),Pl=__webpack_require__(54782),Il=__webpack_require__.n(Pl);function Ll(e){if(void 0!==it&&null!=Cr(e)||null!=e["@@iterator"])return Pr(e)}function Ml(e){return function(e){if(Sr(e))return Lr(e)}(e)||Ll(e)||Mr(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.")}()}var Rl=__webpack_require__(17794),Dl=__webpack_require__.n(Rl),ql=__webpack_require__(50898),jl=__webpack_require__.n(ql),Fl=__webpack_require__(27601),Bl=__webpack_require__.n(Fl),Ul=(__webpack_require__(96828),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return pe().apply(void 0,Ml(jl()(1,t)))(Bl()(t))}),zl=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return wa().apply(void 0,n)(e)},Hl=Function.prototype,Vl=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(cl({id:n,updateFn:Wl({activeIndex:t})}))}},Wl=function(e){var t=e.activeIndex;return Ro()("activeIndex",t)},Yl=function(e){return pe()(ma()(la()("retryAttempts"),pe()(Hs(),vo()(0))),La()(Ci()("passed",!1),Wa()(["passed"])),La()(Ci()("isComplete",!1),Wa()(["isComplete"])),Wa()(["activeIndex","originalItemProgress","percentComplete","score","reportResults","questionsDrawn","questionList"]),ma()(la()("items"),Ms(ba()(["id","index"]))),ma()(la()("passingScore"),Zr()(e)))},Gl=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.itemId,i=e.isCorrect,o=e.passingScore,a=e.passToContinue;return pe()(La()(Ci()("percentComplete",100),Kl({finalRetryAttempt:t,id:n,passingScore:o,passToContinue:a})),bl,Xl,ma()(sa()(["items",r]),Hn()(To())({isComplete:!0,isCorrect:i})))},Kl=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.passingScore,i=e.passToContinue;return function(e){var o=Gn()("score",e),a=o>=r,s=!i||a;return function(e,t,n,r){ex("finishQuiz")&&QE.finishQuiz(e,t,n,r)}(a,o,n,t),To()({passed:a,isComplete:s,reportResults:!0},e)}},Xl=function(e){return Ro()("score",pe()(Math.round,da()(100),Hn()(Go())(pe()(oa(),ra(),Gn()("items"))(e)),oa(),mi()(Ci()("isCorrect",!0)),Oi(),Gn()("items"))(e),e)},$l=Al()(pe()(Ua()(3),oa()),Ja()(os()(Jo()))),Zl=pe()(Oi(),ba()(["passed","retryAttempts","score"])),Ql=pe()($l,Zl),Jl=function(e){var t=e.id,n=e.state;return zl(n,Il()({},["lessons",t,"items"]),ra(),oa(),Tl()(1))},ec=Nl()((function(e){return ti()(Ql,function(e){return function(t){var n=t.id,r=t.passed,i=t.passingScore,o=t.score,a=t.retryAttempts;return ma()(sa()(["lessons",n]),Hn()(To())({isComplete:!0,activeIndex:Jl({id:n,state:e}),reportResults:!0,passed:r,passingScore:i,percentComplete:100,retryAttempts:a,score:o}),e)}}(e),Zr()(e))})),tc=__webpack_require__(19575),nc=La()((function(e){return void 0!==e}),pe()(JSON.parse,tc.Base64.decode)),rc=function(e,t){return window.courseData?e(window.courseData):window.course?{course:e(window.course),media:[]}:t};function ic(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Yr.resolve(u).then(r,i)}function oc(e){return function(){var t=this,n=arguments;return new Yr((function(r,i){var o=e.apply(t,n);function a(e){ic(o,r,i,a,s,"next",e)}function s(e){ic(o,r,i,a,s,"throw",e)}a(void 0)}))}}var ac=__webpack_require__(30222),sc=__webpack_require__.n(ac),uc=__webpack_require__(81753),lc=__webpack_require__.n(uc),cc=__webpack_require__(80129),dc=__webpack_require__.n(cc),fc=__webpack_require__(71171),pc=__webpack_require__.n(fc),hc=__webpack_require__(64057),mc=__webpack_require__.n(hc),vc=__webpack_require__(99993),gc=__webpack_require__.n(vc),yc={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},bc=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(yc,e)||(e=yc.log),bc[e].apply(bc,t)};function _c(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){bc.error(t,e)}}}bc.debug=console.debug.bind(console),bc.log=console.log.bind(console),bc.info=console.info.bind(console),bc.warn=console.warn.bind(console),bc.error=console.error.bind(console);var wc,kc=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))},Ec=!1;function xc(e){Ec=e}function Sc(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=wc?Tc(r):r;return n.apply(this,e)}}function Tc(e){return function(){return Cc(e,this,arguments)}}function Cc(e,t,n){try{return e.apply(t,n)}catch(e){if(Ac(yc.error,e),wc)try{wc(e)}catch(e){Ac(yc.error,e)}}}function Ac(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ec&&bc.apply(void 0,kc([e,"[MONITOR]"],t,!1))}var Oc=1e3,Nc=6e4;function Pc(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function Ic(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})),e}function Lc(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,Lc)}function Mc(e){return 0!==e&&100*Math.random()<=e}function Rc(){}function Dc(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];qc(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&qc(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function qc(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function jc(e,t){return-1!==e.indexOf(t)}function Fc(e){return function(e){return"number"==typeof e}(e)&&e>=0&&e<=100}function Bc(e){return Object.keys(e).map((function(t){return e[t]}))}function Uc(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function zc(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),i=r>=55296&&r<=56319?t+1:t;return e.length<=i?e:"".concat(e.slice(0,i)).concat(n)}function Hc(e,t,n,r){return Vc(e,[t],n,r)}function Vc(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=Tc(o?function(e){c(),n(e)}:n),l=s?{capture:a,passive:s}:a;t.forEach((function(t){return e.addEventListener(t,u,l)}));var c=function(){return t.forEach((function(t){return e.removeEventListener(t,u,l)}))};return{stop:c}}function Wc(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=Wc(i[o],t[o],n);return i}var a="object"===function(e){return null===e?"null":Array.isArray(e)?"array":typeof e}(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=Wc(a[s],t[s],n));return a}}function Yc(e){return Wc(void 0,e)}function Gc(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=Wc(e,o))}return e}function Kc(){var e={};return{get:function(){return e},add:function(t,n){e[t]=n},remove:function(t){delete e[t]},set:function(t){e=t}}}var Xc,$c=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function Zc(){return Date.now()}function Qc(){return performance.now()}function Jc(){return{relative:Qc(),timeStamp:Zc()}}function ed(e,t){return t-e}function td(){return void 0===Xc&&(Xc=performance.timing.navigationStart),Xc}function nd(){var e=Uc().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function rd(e){var t;void 0===e&&(e=null===(t=Uc().location)||void 0===t?void 0:t.hostname);var n=nd();return!!n&&n.getAllowedWebViewHosts().some((function(t){var n=t.replace(/\./g,"\\.");return new RegExp("^(.+\\.)*".concat(n,"$")).test(e)}))}var id,od,ad;function sd(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",u=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u)}function ud(e){return function(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")).exec(e);return n?n[1]:void 0}(document.cookie,e)}function ld(e,t){sd(e,"",0,t)}function cd(e){return!!od&&od.has(e)}function dd(e){return fd(e,function(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}(window.location)).href}function fd(e,t){if(function(){if(void 0!==ad)return ad;try{var e=new URL("http://test/path");return ad="http://test/path"===e.href}catch(e){ad=!1}return ad}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '".concat(e,"'"));var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var pd="datadoghq.com",hd={logs:"logs",rum:"rum",sessionReplay:"session-replay"},md={logs:"logs",rum:"rum",sessionReplay:"replay"};function vd(e,t,n){var r=e.site,i=void 0===r?pd:r,o=e.clientToken,a=i.split("."),s=a.pop(),u="".concat(hd[t],".browser-intake-").concat(a.join("-"),".").concat(s),l="https://".concat(u,"/api/v2/").concat(md[t]),c=e.proxyUrl&&dd(e.proxyUrl);return{build:function(){var e="ddsource=browser"+"&ddtags=".concat(encodeURIComponent(["sdk_version:".concat("4.11.4")].concat(n).join(",")))+"&dd-api-key=".concat(o)+"&dd-evp-origin-version=".concat(encodeURIComponent("4.11.4"))+"&dd-evp-origin=browser"+"&dd-request-id=".concat(Lc());"rum"===t&&(e+="&batch_time=".concat(Zc()));var r="".concat(l,"?").concat(e);return c?"".concat(c,"?ddforward=").concat(encodeURIComponent(r)):r},buildIntakeUrl:function(){return c?"".concat(c,"?ddforward"):l},endpointType:t}}var gd=/[^a-z0-9_:./-]/;function yd(e,t){var n=200-e.length-1;(t.length>n||gd.test(t))&&bc.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function bd(e){var t=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(yd("env",t)),n&&o.push(yd("service",n)),r&&o.push(yd("version",r)),i&&o.push(yd("datacenter",i)),o}(e),n=function(e,t){return{logsEndpointBuilder:vd(e,"logs",t),rumEndpointBuilder:vd(e,"rum",t),sessionReplayEndpointBuilder:vd(e,"sessionReplay",t)}}(e,t),r=Bc(n).map((function(e){return e.buildIntakeUrl()})),i=function(e,t,n){if(!e.replica)return;var r=Ic({},e,{site:pd,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:vd(r,"logs",n),rumEndpointBuilder:vd(r,"rum",n)};return t.push.apply(t,Bc(i).map((function(e){return e.buildIntakeUrl()}))),Ic({applicationId:e.replica.applicationId},i)}(e,r,t);return Ic({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:i,site:e.site||pd},n)}function _d(e){var t,n;if(e&&e.clientToken)if(void 0===e.sampleRate||Fc(e.sampleRate)){var r;if(void 0===e.telemetrySampleRate||Fc(e.telemetrySampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&(od||(od=new Set(r)),r.filter((function(e){return"string"==typeof e})).forEach((function(e){od.add(e)}))),Ic({beforeSend:e.beforeSend&&_c(e.beforeSend,"beforeSend threw an error:"),cookieOptions:wd(e),sampleRate:null!==(t=e.sampleRate)&&void 0!==t?t:100,telemetrySampleRate:null!==(n=e.telemetrySampleRate)&&void 0!==n?n:20,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:cd("lower-batch-size")?10240:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},bd(e));bc.error("Telemetry Sample Rate should be a number between 0 and 100")}else bc.error("Sample Rate should be a number between 0 and 100");else bc.error("Client Token is not configured, we will not send any data.")}function wd(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===id){for(var e="dd_site_test_".concat(Lc()),t=window.location.hostname.split("."),n=t.pop();t.length&&!ud(e);)n="".concat(t.pop(),".").concat(n),sd(e,"test",Oc,{domain:n});ld(e,{domain:n}),id=n}return id}()),t}var kd="?";function Ed(e){var t=[],n=Od(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=xd.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=Sd.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||kd,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=Td.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||kd,line:+t[3],url:t[2]}}(e)||function(e){var t=Cd.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=Ad.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||kd,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=kd),t.push(n))})),{message:Od(e,"message"),name:Od(e,"name"),stack:t}}var xd=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Sd=/\((\S*)(?::(\d+))(?::(\d+))\)/;var Td=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var Cd=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Ad=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Od(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var Nd="agent",Pd="console",Id="logger",Ld="network",Md="source",Rd="report";function Dd(e){var t=qd(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",i=e.line?":".concat(e.line):"",o=e.line&&e.column?":".concat(e.column):"";t+="\n  at ".concat(n).concat(r," @ ").concat(e.url).concat(i).concat(o)})),t}function qd(e){return"".concat(e.name||"Error",": ").concat(e.message)}function jd(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return Cc((function(){var n=Ed(t);n.stack=n.stack.slice(2),e=Dd(n)})),e}var Fd=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function Bd(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new Fd((function(){var t=e.map((function(e){return e.subscribe((function(e){return n.notify(e)}))}));return function(){return t.forEach((function(e){return e.unsubscribe()}))}}));return n}var Ud={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function zd(e){var t,n=[];jc(e,Ud.cspViolation)&&n.push((t=new Fd((function(){var e=Tc((function(e){t.notify(function(e){var t=Ud.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:Ud.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:Hd(e.effectiveDirective,"".concat(n,' of the policy "').concat(zc(e.originalPolicy,100,"..."),'"'),e.sourceFile,e.lineNumber,e.columnNumber)}}(e))}));return Hc(document,"securitypolicyviolation",e).stop})),t));var r=e.filter((function(e){return e!==Ud.cspViolation}));return r.length&&n.push(function(e){var t=new Fd((function(){if(window.ReportingObserver){var n=Tc((function(e){return e.forEach((function(e){t.notify(function(e){var t=e.type,n=e.body;return{type:t,subtype:n.id,message:"".concat(t,": ").concat(n.message),stack:Hd(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)}}(e))}))})),r=new window.ReportingObserver(n,{types:e,buffered:!0});return r.observe(),function(){r.disconnect()}}}));return t}(r)),Bd.apply(void 0,n)}function Hd(e,t,n,r,i){return n&&Dd({name:e,message:t,stack:[{func:"?",url:n,line:r,column:i}]})}function Vd(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every((function(e){return jc(t,e)}))?"all"===e?t:function(e){var t=new Set;return e.forEach((function(e){return t.add(e)})),function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}(t)}(e):void bc.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var Wd=function(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},Yd={debug:"debug",error:"error",info:"info",warn:"warn"},Gd="console",Kd="http",Xd=Object.keys(Yd),$d=function(){function e(e,t,n,r,i){void 0===n&&(n=Kd),void 0===r&&(r=Yd.debug),void 0===i&&(i={}),this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=Kc(),this.contextManager.set(Ic({},i,t?{logger:{name:t}}:void 0))}return e.prototype.log=function(e,t,n){void 0===n&&(n=Yd.info),this.handleLogStrategy({message:e,context:Yc(t),status:n},this)},e.prototype.debug=function(e,t){this.log(e,t,Yd.debug)},e.prototype.info=function(e,t){this.log(e,t,Yd.info)},e.prototype.warn=function(e,t){this.log(e,t,Yd.warn)},e.prototype.error=function(e,t){var n={error:{origin:Id}};this.log(e,Gc(n,t),Yd.error)},e.prototype.setContext=function(e){this.contextManager.set(e)},e.prototype.getContext=function(){return this.contextManager.get()},e.prototype.addContext=function(e,t){this.contextManager.add(e,t)},e.prototype.removeContext=function(e){this.contextManager.remove(e)},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.getHandler=function(){return this.handlerType},e.prototype.setLevel=function(e){this.level=e},e.prototype.getLevel=function(){return this.level},Wd([Sc],e.prototype,"log",null),e}();var Zd,Qd=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],Jd=["ddog-gov.com"],ef={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1};function tf(e){var t,n=new Fd;return ef.telemetryEnabled=Mc(e.telemetrySampleRate),Zd=function(r){!jc(Jd,e.site)&&ef.telemetryEnabled&&n.notify(function(e){return Gc({type:"telemetry",date:Zc(),service:"browser-sdk",version:"4.11.4",source:"browser",_dd:{format_version:2},telemetry:e},void 0!==t?t():{})}(r))},wc=nf,Ic(ef,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){t=e},observable:n}}function nf(e){rf(Ic({status:"error"},function(e){if(e instanceof Error){var t=Ed(e);return{error:{kind:t.name,stack:Dd(of(t))},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught ".concat(Dc(e))}}(e)))}function rf(e){Zd&&ef.sentEventCount<ef.maxEventsPerPage&&(ef.sentEventCount+=1,Zd(e))}function of(e){return e.stack=e.stack.filter((function(e){return!e.url||Qd.some((function(t){return function(e,t){return e.slice(0,t.length)===t}(e.url,t)}))})),e}var af=/[^\u0000-\u007F]/,sf=function(){function e(e,t,n,r,i,o){void 0===o&&(o=Rc),this.request=e,this.batchMessagesLimit=t,this.batchBytesLimit=n,this.messageBytesLimit=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessagesCount){var t=this.pushOnlyBuffer.concat(Bc(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesCount,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0}},e.prototype.computeBytesCount=function(e){return af.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,i=n.messageBytesCount;i>=this.messageBytesLimit?bc.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(i)&&this.flush("batch_bytes_limit"),this.push(r,i,t),this.isFull()&&this.flush("batch_messages_limit"))},e.prototype.process=function(e){var t=Dc(e);return{processedMessage:t,messageBytesCount:this.computeBytesCount(t)}},e.prototype.push=function(e,t,n){this.bufferMessagesCount>0&&(this.bufferBytesCount+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesCount+=t,this.bufferMessagesCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.computeBytesCount(t);this.bufferBytesCount-=n,this.bufferMessagesCount-=1,this.bufferMessagesCount>0&&(this.bufferBytesCount-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesCount+e+1>=this.batchBytesLimit},e.prototype.isFull=function(){return this.bufferMessagesCount===this.batchMessagesLimit||this.bufferBytesCount>=this.batchBytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(Tc((function(){e.flush("batch_flush_timeout"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(Hc(window,"beforeunload",this.beforeUnloadCallback),Hc(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibility_hidden")})),Hc(window,"beforeunload",(function(){return e.flush("before_unload")})))},e}(),uf="datadog-browser-sdk-failed-send-beacon";function lf(e,t,n){if(cd("failed-sendbeacon")){var r={reason:n,endpointType:e,version:"4.11.4",connection:navigator.connection?navigator.connection.effectiveType:void 0,onLine:navigator.onLine,size:t};"before_unload"===n||"visibility_hidden"===n?window.localStorage.setItem("".concat(uf,"-").concat(Lc()),JSON.stringify(r)):function(e,t){Ac(yc.debug,e,t),rf(Ic({message:e,status:"debug"},t))}("failed sendBeacon",r)}}var cf=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build();if(!!navigator.sendBeacon&&t<this.bytesLimit)try{if(navigator.sendBeacon(r,e))return;lf(this.endpointBuilder.endpointType,t,n)}catch(e){!function(e){df||(df=!0,nf(e))}(e)}var i=new XMLHttpRequest;i.open("POST",r,!0),i.send(e)},e}(),df=!1;function ff(e,t,n){var r,i=o(t);function o(t){return new sf(new cf(t,e.batchBytesLimit),e.batchMessagesLimit,e.batchBytesLimit,e.messageBytesLimit,e.flushTimeout)}return n&&(r=o(n)),{add:function(e,t){void 0===t&&(t=!0),i.add(e),r&&t&&r.add(e)}}}var pf=1/0,hf=function(){function e(e){var t=this;this.expireDelay=e,this.entries=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.add=function(e,t){var n=this,r={context:e,startTime:t,endTime:pf,remove:function(){var e=n.entries.indexOf(r);e>=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=pf);for(var t=0,n=this.entries;t<n.length;t++){var r=n[t];if(r.startTime<=e){if(e<=r.endTime)return r.context;break}}},e.prototype.closeActive=function(e){var t=this.entries[0];t&&t.endTime===pf&&t.close(e)},e.prototype.findAll=function(e){return void 0===e&&(e=pf),this.entries.filter((function(t){return t.startTime<=e&&e<=t.endTime})).map((function(e){return e.context}))},e.prototype.reset=function(){this.entries=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e.prototype.clearOldContexts=function(){for(var e=Qc()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},e}();var mf,vf=144e5,gf=9e5,yf=/^([a-z]+)=([a-z0-9-]+)$/,bf="&",_f="_dd_s",wf=[];function kf(e,t){var n;if(void 0===t&&(t=0),mf||(mf=e),e===mf)if(t>=100)Sf();else{var r,i=Af();if(Ef()){if(i.lock)return void xf(e,t);if(r=Lc(),i.lock=r,Cf(i,e.options),(i=Af()).lock!==r)return void xf(e,t)}var o=e.process(i);if(Ef()&&(i=Af()).lock!==r)xf(e,t);else{if(o&&Tf(o,e.options),Ef()&&(!o||!Of(o))){if((i=Af()).lock!==r)return void xf(e,t);delete i.lock,Cf(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),Sf()}}else wf.push(e)}function Ef(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function xf(e,t){setTimeout(Tc((function(){kf(e,t+1)})),10)}function Sf(){mf=void 0;var e=wf.shift();e&&kf(e)}function Tf(e,t){Of(e)?function(e){sd(_f,"",0,e)}(t):(e.expire=String(Date.now()+gf),Cf(e,t))}function Cf(e,t){sd(_f,function(e){return function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}(e).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join(bf)}(e),gf,t)}function Af(){var e=ud(_f),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(bf)||yf.test(e))}(e)&&e.split(bf).forEach((function(e){var n=yf.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function Of(e){return function(e){return 0===Object.keys(e).length}(e)}function Nf(e,t,n){var r=new Fd,i=new Fd,o=setInterval(Tc((function(){kf({options:e,process:function(e){return l(e)?void 0:{}},after:s})})),1e3),a=function(){var e=Af();if(l(e))return e;return{}}();function s(e){return l(e)||(e={}),u()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function u(){return void 0!==a[t]}function l(e){return(void 0===e.created||Date.now()-Number(e.created)<vf)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:Pc(Tc((function(){var i;kf({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=Lc(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!u()&&function(e){a=e,r.notify()}(e),a=e}})})),1e3).throttled,expandSession:function(){kf({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var Pf=[];function If(e,t,n){!function(e){var t=ud(_f),n=ud("_dd"),r=ud("_dd_r"),i=ud("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),Tf(o,e)}}(e);var r=Nf(e,t,n);Pf.push((function(){return r.stop()}));var i,o=new hf(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return Pf.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.add(a(),Qc())})),r.expireObservable.subscribe((function(){o.closeActive(Qc())})),r.expandOrRenewSession(),o.add(a(),[0,td()][0]),i=Vc(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,Pf.push(i),function(e){var t=Tc((function(){"visible"===document.visibilityState&&e()})),n=Hc(document,"visibilitychange",t).stop;Pf.push(n);var r=setInterval(t,6e4);Pf.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var Lf;function Mf(e){var t=If(e.cookieOptions,"logs",(function(t){return function(e,t){var n=function(e){return"0"===e||"1"===e}(t)?t:Rf(e);return{trackingType:n,isTracked:"1"===n}}(e,t)}));return{findTrackedSession:function(e){var n=t.findActiveSession(e);return n&&"1"===n.trackingType?{id:n.id}:void 0}}}function Rf(e){return Mc(e.sampleRate)?"1":"0"}var Df=((Lf={})[Yd.debug]=0,Lf[Yd.info]=1,Lf[Yd.warn]=2,Lf[Yd.error]=3,Lf);function qf(e,t,n){var r=n.getHandler(),i=Array.isArray(r)?r:[r];return Df[e]>=Df[n.getLevel()]&&jc(i,t)}function jf(e,t,n,r,i){var o=Xd.concat(["custom"]),a={};o.forEach((function(e){var r,i,o,s,u;a[e]=(r=e,i=t.eventRateLimiterThreshold,o=function(e){return function(e,t){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{origin:Nd},origin:Nd,status:Yd.error}})}(e,n)},s=0,u=!1,{isLimitReached:function(){if(0===s&&setTimeout((function(){s=0}),Nc),(s+=1)<=i||u)return u=!1,!1;if(s===i+1){u=!0;try{o({message:"Reached max number of ".concat(r,"s by minute: ").concat(i),source:Nd,startClocks:Jc()})}finally{u=!1}}return!0}})})),n.subscribe(0,(function(o){var s,u,l,c=o.rawLogsEvent,d=o.messageContext,f=void 0===d?void 0:d,p=o.savedCommonContext,h=void 0===p?void 0:p,m=o.logger,v=void 0===m?i:m,g=c.date-td(),y=e.findTrackedSession(g);if(y){var b=h||r(),_=Gc({service:t.service,session_id:y.id,view:b.view},b.context,Ff(g),c,v.getContext(),f);!qf(c.status,Kd,v)||!1===(null===(s=t.beforeSend)||void 0===s?void 0:s.call(t,_))||(null===(u=_.error)||void 0===u?void 0:u.origin)!==Nd&&(null!==(l=a[_.status])&&void 0!==l?l:a.custom).isLimitReached()||n.notify(1,_)}}))}function Ff(e){var t=window.DD_RUM;return t&&t.getInternalContext?t.getInternalContext(e):void 0}var Bf,Uf={};function zf(e){var t=e.map((function(e){return Uf[e]||(Uf[e]=function(e){var t=new Fd((function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=jd();Cc((function(){t.notify(Hf(r,e,o))}))},function(){console[e]=n}}));return t}(e)),Uf[e]}));return Bd.apply(void 0,t)}function Hf(e,t,n){var r,i=e.map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return qd(Ed(e));return Dc(e,void 0,2)}(e)})).join(" ");if(t===yc.error){var o=function(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return e instanceof Error}));r=o?Dd(Ed(o)):void 0,i="console error: ".concat(i)}return{api:t,message:i,stack:r,handlingStack:n}}var Vf,Wf=((Bf={})[yc.log]=Yd.info,Bf[yc.debug]=Yd.debug,Bf[yc.info]=Yd.info,Bf[yc.warn]=Yd.warn,Bf[yc.error]=Yd.error,Bf);var Yf,Gf=((Vf={})[Ud.cspViolation]=Yd.error,Vf[Ud.intervention]=Yd.error,Vf[Ud.deprecation]=Yd.warn,Vf);function Kf(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function Xf(e,t,n){var r=n.before,i=n.after;return Kf(e,t,(function(e){return function(){var t,n=arguments;return r&&Cc(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&Cc(i,this,n),t}}))}var $f,Zf=new WeakMap;function Qf(){var e;return Yf||(e=new Fd((function(){var t=Xf(XMLHttpRequest.prototype,"open",{before:Jf}).stop,n=Xf(XMLHttpRequest.prototype,"send",{before:function(){ep.call(this,e)}}).stop,r=Xf(XMLHttpRequest.prototype,"abort",{before:tp}).stop;return function(){t(),n(),r()}})),Yf=e),Yf}function Jf(e,t){Zf.set(this,{state:"open",method:e,url:dd(t.toString())})}function ep(e){var t=this,n=Zf.get(this);if(n){var r=n;r.state="start",r.startTime=Qc(),r.startClocks=Jc(),r.isAborted=!1,r.xhr=this;var i=!1,o=Xf(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=Tc((function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=ed(r.startClocks.timeStamp,Zc()),s.status=t.status,e.notify(function(e){return Ic({},e)}(s))}}));this.addEventListener("loadend",a),e.notify(r)}}function tp(){var e=Zf.get(this);e&&(e.isAborted=!0)}function np(){var e;return $f||(e=new Fd((function(){if(window.fetch){var t=Kf(window,"fetch",(function(t){return function(n,r){var i,o=Cc(rp,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),Cc(ip,null,[e,i,o])):i=t.call(this,n,r),i}})).stop;return t}})),$f=e),$f}function rp(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=dd("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:Jc(),url:i};return e.notify(o),o}function ip(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=ed(r.startClocks.timeStamp,Zc()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(Tc(r),Tc(r))}function op(e,t){var n=Qf().subscribe((function(e){"complete"===e.state&&i("xhr",e)})),r=np().subscribe((function(e){"complete"===e.state&&i("fetch",e)}));function i(n,r){function i(e){t.notify(0,{rawLogsEvent:{message:"".concat(sp(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{origin:Ld,stack:e||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:Yd.error,origin:Ld}})}e.isIntakeUrl(r.url)||!function(e){return 0===e.status&&"opaque"!==e.responseType}(r)&&!function(e){return e.status>=500}(r)||("xhr"in r?function(e,t,n){"string"==typeof e.response?n(ap(e.response,t)):n(e.response)}(r.xhr,e,i):r.response?function(e,t,n){window.TextDecoder?e.body?function(e,t,n){!function(e,t,n){var r=e.getReader(),i=[],o=0;function a(){r.read().then(Tc((function(e){e.done?s():(i.push(e.value),(o+=e.value.length)>t?s():a())})),Tc((function(e){return n(e)})))}function s(){var e;if(r.cancel().catch(Rc),1===i.length)e=i[0];else{e=new Uint8Array(o);var a=0;i.forEach((function(t){e.set(t,a),a+=t.length}))}n(void 0,e.slice(0,t),e.length>t)}a()}(e,t,(function(e,t,r){if(e)n(e);else{var i=(new TextDecoder).decode(t);r&&(i+="..."),n(void 0,i)}}))}(e.clone().body,t.requestErrorResponseLengthLimit,(function(e,t){n(e?"Unable to retrieve response: ".concat(e):t)})):n():e.clone().text().then(Tc((function(e){return n(ap(e,t))})),Tc((function(e){return n("Unable to retrieve response: ".concat(e))})))}(r.response,e,i):r.error&&function(e,t,n){n(ap(Dd(Ed(e)),t))}(r.error,e,i))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function ap(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function sp(e){return"xhr"===e?"XHR":"Fetch"}var up=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function lp(e){var t=function(e){return Xf(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=Ed(o),e(a,o);else{var s,u={url:n,column:i,line:r},l=t;if("[object String]"==={}.toString.call(t)){var c=up.exec(l);c&&(s=c[1],l=c[2])}e(a={name:s,message:"string"==typeof l?l:void 0,stack:[u]},t)}}})}(e).stop,n=function(e){return Xf(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=Ed(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}function cp(e){return lp((function(t,n){var r=function(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:Dd(e),handlingStack:r,type:e.name}:{message:"".concat(n," ").concat(Dc(t)),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:Md,startClocks:Jc(),originalError:n,handling:"unhandled"})}))}var dp=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}();var fp=function(e){var t,n,r=!1,i=Kc(),o={},a=new $c,s=function(e,t,n,r){void 0===n&&(n=Yc(c())),void 0===r&&(r=Zc()),a.add((function(){return s(e,t,n,r)}))},u=function(){},l=new $d((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.apply(void 0,e)}));function c(){return{view:{referrer:document.referrer,url:window.location.href},context:i.get()}}return t={logger:l,init:Tc((function(t){if(rd()&&(t=function(e){return Ic({},e,{clientToken:"empty"})}(t)),function(e){return!r||(e.silentMultipleInit||bc.error("DD_LOGS is already initialized."),!1)}(t)){var n=function(e){var t=_d(e),n=Vd(e.forwardConsoleLogs,Bc(yc),"Forward Console Logs"),r=Vd(e.forwardReports,Bc(Ud),"Forward Reports");if(t&&n&&r)return e.forwardErrorsToLogs&&!jc(n,yc.error)&&n.push(yc.error),Ic({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:32768},t)}(t);n&&(s=e(n,c,l).handleLog,u=function(){return Yc(t)},a.drain(),r=!0)}})),getLoggerGlobalContext:Tc(i.get),setLoggerGlobalContext:Tc(i.set),addLoggerGlobalContext:Tc(i.add),removeLoggerGlobalContext:Tc(i.remove),createLogger:Tc((function(e,t){return void 0===t&&(t={}),o[e]=new $d((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.apply(void 0,e)}),e,t.handler,t.level,t.context),o[e]})),getLogger:Tc((function(e){return o[e]})),getInitConfiguration:Tc((function(){return u()}))},n=Ic({version:"4.11.4",onReady:function(e){e()}},t),Object.defineProperty(n,"_setDebug",{get:function(){return xc},enumerable:!1}),n}((function(e,t,n){var r=new dp,i=function(e){var t,n=tf(e);if(rd()){var r=nd();n.observable.subscribe((function(e){return r.send("internal_telemetry",e)}))}else{var i=ff(e,e.rumEndpointBuilder,null===(t=e.replica)||void 0===t?void 0:t.rumEndpointBuilder);n.observable.subscribe((function(t){return i.add(t,function(e){return"datad0g.com"===e.site}(e))}))}return n}(e);i.setContextProvider((function(){var e,t,n,r,i,o;return{application:{id:null===(e=Ff())||void 0===e?void 0:e.application_id},session:{id:null===(t=a.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(r=null===(n=Ff())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(o=null===(i=Ff())||void 0===i?void 0:i.user_action)||void 0===o?void 0:o.id}}})),op(e,r),function(e,t,n){void 0===n&&(n=new Fd),e.forwardErrorsToLogs&&cp(n);var r=n.subscribe((function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{kind:e.type,origin:Md,stack:e.stack},origin:Md,status:Yd.error}})}))}(e,r),function(e,t){var n=zf(e.forwardConsoleLogs).subscribe((function(e){t.notify(0,{rawLogsEvent:{date:Zc(),message:e.message,origin:Pd,error:e.api===yc.error?{origin:Pd,stack:e.stack}:void 0,status:Wf[e.api]}})}))}(e,r),function(e,t){var n=zd(e.forwardReports).subscribe((function(e){var n,r=e.message,i=Gf[e.type];i===Yd.error?n={kind:e.subtype,origin:Rd,stack:e.stack}:e.stack&&(r+=" Found in ".concat(function(e){var t;return null===(t=/@ (.+)/.exec(e))||void 0===t?void 0:t[1]}(e.stack))),t.notify(0,{rawLogsEvent:{date:Zc(),message:r,origin:Rd,error:n,status:i}})}))}(e,r);var o=function(e){return{handleLog:function(t,n,r,i){var o=t.context;qf(t.status,Gd,n)&&bc(t.status,t.message,Gc(n.getContext(),o)),e.notify(0,{rawLogsEvent:{date:i||Zc(),message:t.message,status:t.status,origin:Id},messageContext:o,savedCommonContext:r,logger:n})}}}(r).handleLog,a=function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(Lc()),n="test";sd(t,n,Oc,e);var r=ud(t)===n;return ld(t,e),r}catch(e){return bc.error(e),!1}}(e.cookieOptions)&&!rd()?Mf(e):function(e){var t="1"===Rf(e)?{}:void 0;return{findTrackedSession:function(){return t}}}(e);return jf(a,e,r,t,n),rd()?function(e){var t=nd();e.subscribe(1,(function(e){t.send("log",e)}))}(r):function(e,t){var n,r=ff(e,e.logsEndpointBuilder,null===(n=e.replica)||void 0===n?void 0:n.logsEndpointBuilder);t.subscribe(1,(function(e){r.add(e)}))}(e,r),{handleLog:o}}));!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return _c(e,"onReady callback threw an error:")()}))}(Uc(),"DD_LOGS",fp);var pp=__webpack_require__(70655),hp={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},mp="?";function vp(e){var t=[],n=kp(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=gp.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=yp.exec(t[2]);r&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||mp,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=bp.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||mp,line:+t[3],url:t[2]}}(e)||function(e){var t=_p.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=wp.exec(t[3]);n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||mp,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=mp),t.push(n))})),{message:kp(e,"message"),name:kp(e,"name"),stack:t}}var gp=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,yp=/\((\S*)(?::(\d+))(?::(\d+))\)/;var bp=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var _p=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,wp=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function kp(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var Ep,xp,Sp=1e3,Tp=6e4;function Cp(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?e.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&e.apply(void 0,r),s=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function Ap(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,Ap)}function Op(e){return 0!==e&&100*Math.random()<=e}function Np(e,t){return+e.toFixed(t)}function Pp(){}function Ip(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];Lp(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&Lp(i=Object.getPrototypeOf(e))&&(a=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),a[0]&&(i.toJSON=a[1])}return o}function Lp(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function Mp(e,t){return-1!==e.indexOf(t)}function Rp(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function Dp(e){return qp(e)&&e>=0&&e<=100}function qp(e){return"number"==typeof e}function jp(e){return Object.keys(e).map((function(t){return e[t]}))}function Fp(e,t){return Object.keys(e).some((function(n){return e[n]===t}))}function Bp(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function Up(e){return 0===Object.keys(e).length}function zp(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function Hp(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}function Vp(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}function Wp(e,t,n,r){return Yp(e,[t],n,r)}function Yp(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=bh(o?function(e){c(),n(e)}:n),l=s?{capture:a,passive:s}:a;t.forEach((function(t){return e.addEventListener(t,u,l)}));var c=function(){return t.forEach((function(t){return e.removeEventListener(t,u,l)}))};return{stop:c}}function Gp(e,t){document.readyState===e||"complete"===document.readyState?t():Wp(window,"complete"===e?"load":"DOMContentLoaded",t,{once:!0})}function Kp(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function Xp(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=Xp(i[o],t[o],n);return i}var a="object"===Kp(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=Xp(a[s],t[s],n));return a}}function $p(e){return Xp(void 0,e)}function Zp(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=Xp(e,o))}return e}!function(e){e.DOCUMENT="document",e.XHR="xhr",e.BEACON="beacon",e.FETCH="fetch",e.CSS="css",e.JS="js",e.IMAGE="image",e.FONT="font",e.MEDIA="media",e.OTHER="other"}(Ep||(Ep={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(xp||(xp={}));var Qp,Jp="agent",eh="console",th="custom",nh="source";function rh(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:ih(e),handlingStack:r,type:e.name}:{message:n+" "+Ip(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function ih(e){var t=oh(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"("+e.args.join(", ")+")":"",i=e.line?":"+e.line:"",o=e.line&&e.column?":"+e.column:"";t+="\n  at "+n+r+" @ "+e.url+i+o})),t}function oh(e){return(e.name||"Error")+": "+e.message}function ah(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return _h((function(){var n=vp(t);n.stack=n.stack.slice(2),e=ih(n)})),e}function sh(){var e=zp().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function uh(){var e=sh();return!!e&&Mp(e.getAllowedWebViewHosts(),window.location.hostname)}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(Qp||(Qp={}));var lh,ch=/[^\u0000-\u007F]/,dh=function(){function e(e,t,n,r,i,o){void 0===o&&(o=Pp),this.request=e,this.maxSize=t,this.bytesLimit=n,this.maxMessageSize=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessageCount){var t=(0,pp.__spreadArrays)(this.pushOnlyBuffer,jp(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesSize,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0}},e.prototype.sizeInBytes=function(e){return ch.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,i=n.messageBytesSize;i>=this.maxMessageSize?hp.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB."):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(i)&&this.flush("willReachedBytesLimitWith"),this.push(r,i,t),this.isFull()&&this.flush("isFull"))},e.prototype.process=function(e){var t=Ip(e);return{processedMessage:t,messageBytesSize:this.sizeInBytes(t)}},e.prototype.push=function(e,t,n){this.bufferMessageCount>0&&(this.bufferBytesSize+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesSize+=t,this.bufferMessageCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.sizeInBytes(t);this.bufferBytesSize-=n,this.bufferMessageCount-=1,this.bufferMessageCount>0&&(this.bufferBytesSize-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesSize+e+1>=this.bytesLimit},e.prototype.isFull=function(){return this.bufferMessageCount===this.maxSize||this.bufferBytesSize>=this.bytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(bh((function(){e.flush("flushPeriodically"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(Wp(window,"beforeunload",this.beforeUnloadCallback),Wp(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")})),Wp(window,"beforeunload",(function(){return e.flush("beforeunload")})))},e}(),fh=!1,ph=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build(),i=!!navigator.sendBeacon&&t<this.bytesLimit;if(i)try{if(navigator.sendBeacon(r,e))return}catch(e){!function(e){hh||(hh=!0,kh(e))}(e)}var o=new XMLHttpRequest;o.addEventListener("loadend",bh((function(e){return function(e){var o=null==e?void 0:e.currentTarget;o.status>=200&&o.status<300||fh||(fh=!0,wh("XHR fallback failed",{on_line:navigator.onLine,size:t,url:r,try_beacon:i,flush_reason:n,event:{is_trusted:e.isTrusted,total:e.total,loaded:e.loaded},request:{status:o.status,ready_state:o.readyState,response_text:o.responseText.slice(0,512)}}))}(e)}))),o.open("POST",r,!0),o.send(e)},e}(),hh=!1;!function(e){e.info="info",e.error="error"}(lh||(lh={}));var mh,vh,gh={maxMessagesPerPage:0,sentMessageCount:0};function yh(e){var t;if(uh()){var n=sh();mh=function(e){return n.send("internal_log",i(e))}}else if(e.internalMonitoringEndpointBuilder){var r=function(e){var t,n=r(e.internalMonitoringEndpointBuilder);function r(t){return new dh(new ph(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=r(e.replica.internalMonitoringEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}(e);mh=function(e){return r.add(i(e))}}function i(e){return Zp({date:(new Date).getTime()},void 0!==t?t():{},e)}return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))}(gh,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function bh(e){return function(){return _h(e,this,arguments)}}function _h(e,t,n){try{return e.apply(t,n)}catch(e){Sh(e);try{kh(e)}catch(e){Sh(e)}}}function wh(e,t){!function(e,t){gh.debugMode&&hp.log("[MONITORING MESSAGE]",e,t)}(e,t),Eh((0,pp.__assign)((0,pp.__assign)({message:e},t),{status:lh.info}))}function kh(e){Eh((0,pp.__assign)((0,pp.__assign)({},function(e){if(e instanceof Error){var t=vp(e);return{error:{kind:t.name,stack:ih(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+Ip(e)}}(e)),{status:lh.error}))}function Eh(e){mh&&gh.sentMessageCount<gh.maxMessagesPerPage&&(gh.sentMessageCount+=1,mh(e))}function xh(e){gh.debugMode=e}function Sh(e){gh.debugMode&&hp.error("[INTERNAL ERROR]",e)}function Th(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){hp.error(t,e)}}}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(vh||(vh={}));var Ch,Ah=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function Oh(e){return{relative:e,timeStamp:Nh(e)}}function Nh(e){var t=Date.now()-performance.now();return t>qh()?Math.round(t+e):function(e){return Math.round(qh()+e)}(e)}function Ph(e){return qp(e)?Np(1e6*e,0):e}function Ih(){return Date.now()}function Lh(){return performance.now()}function Mh(){return{relative:Lh(),timeStamp:Ih()}}function Rh(){return{relative:0,timeStamp:qh()}}function Dh(e,t){return t-e}function qh(){return void 0===Ch&&(Ch=performance.timing.navigationStart),Ch}var jh,Fh,Bh;function Uh(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires="+i.toUTCString(),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain="+r.domain:"",u=r&&r.secure?";secure":"";document.cookie=e+"="+t+";"+o+";path=/;samesite="+a+s+u}function zh(e){return Vp(document.cookie,e)}function Hh(e,t){Uh(e,"",0,t)}function Vh(e){return Yh(e,Hp(window.location)).href}function Wh(e){return Hp(Yh(e))}function Yh(e,t){if(function(){if(void 0!==Bh)return Bh;try{var e=new URL("http://test/path");return Bh="http://test/path"===e.href}catch(e){Bh=!1}return Bh}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '"+e+"'");var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var Gh={logs:"logs",rum:"rum",sessionReplay:"session-replay"},Kh={logs:"logs",rum:"rum",sessionReplay:"replay"},Xh="datadoghq.com";function $h(e,t,n,r,i){var o=e.site,a=void 0===o?Xh:o,s=e.clientToken,u=a.split("."),l=u.pop(),c="https://"+(Gh[n]+".browser-intake-"+u.join("-")+"."+l)+"/api/v2/"+Kh[n],d=e.proxyUrl&&Vh(e.proxyUrl);return{build:function(){var e="ddsource="+(i||"browser")+"&ddtags="+encodeURIComponent(["sdk_version:"+t.sdkVersion].concat(r).join(","))+"&dd-api-key="+s+"&dd-evp-origin-version="+encodeURIComponent(t.sdkVersion)+"&dd-evp-origin=browser&dd-request-id="+Ap();"rum"===n&&(e+="&batch_time="+Ih());var o=c+"?"+e;return d?d+"?ddforward="+encodeURIComponent(o):o},buildIntakeUrl:function(){return d?d+"?ddforward":c}}}var Zh=/[^a-z0-9_:./-]/;function Qh(e,t){var n=200-e.length-1;return(t.length>n||Zh.test(t))&&hp.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}function Jh(e,t){var n=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(Qh("env",t)),n&&o.push(Qh("service",n)),r&&o.push(Qh("version",r)),i&&o.push(Qh("datacenter",i)),o}(e),r=function(e,t,n){if(t.buildMode===vh.E2E_TEST){var r=function(e){return{build:function(){return e},buildIntakeUrl:function(){return e}}};return{logsEndpointBuilder:r("<<< E2E LOGS ENDPOINT >>>"),rumEndpointBuilder:r("<<< E2E RUM ENDPOINT >>>"),sessionReplayEndpointBuilder:r("<<< E2E SESSION REPLAY ENDPOINT >>>"),internalMonitoringEndpointBuilder:r("<<< E2E INTERNAL MONITORING ENDPOINT >>>")}}var i={logsEndpointBuilder:$h(e,t,"logs",n),rumEndpointBuilder:$h(e,t,"rum",n),sessionReplayEndpointBuilder:$h(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return(0,pp.__assign)((0,pp.__assign)({},i),{internalMonitoringEndpointBuilder:$h((0,pp.__assign)((0,pp.__assign)({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return i}(e,t,n),i=jp(r).map((function(e){return e.buildIntakeUrl()})),o=function(e,t,n,r){if(!e.replica)return;var i=(0,pp.__assign)((0,pp.__assign)({},e),{site:Xh,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:$h(i,t,"logs",r),rumEndpointBuilder:$h(i,t,"rum",r),internalMonitoringEndpointBuilder:$h(i,t,"logs",r,"browser-agent-internal-monitoring")};return n.push.apply(n,jp(o).map((function(e){return e.buildIntakeUrl()}))),(0,pp.__assign)({applicationId:e.replica.applicationId},o)}(e,t,i,n);return(0,pp.__assign)((0,pp.__assign)({isIntakeUrl:function(e){return i.some((function(t){return 0===e.indexOf(t)}))}},r),{replica:o})}var em,tm,nm,rm={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function im(e,t){var n;if(e&&e.clientToken){var r;if(void 0===e.sampleRate||Dp(e.sampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&(Fh||(Fh=new Set(r)),r.filter((function(e){return"string"==typeof e})).forEach((function(e){Fh.add(e)}))),(0,pp.__assign)((0,pp.__assign)({},Jh(e,t)),{beforeSend:e.beforeSend&&Th(e.beforeSend,"beforeSend threw an error:"),cookieOptions:om(e),sampleRate:null!==(n=e.sampleRate)&&void 0!==n?n:100,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxInternalMonitoringMessagesPerPage:15,flushTimeout:3e4,maxBatchSize:50,maxMessageSize:262144});hp.error("Sample Rate should be a number between 0 and 100")}else hp.error("Client Token is not configured, we will not send any data.")}function om(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===jh){for(var e="dd_site_test_"+Ap(),t=window.location.hostname.split("."),n=t.pop();t.length&&!zh(e);)n=t.pop()+"."+n,Uh(e,"test",Sp,{domain:n});Hh(e,{domain:n}),jh=n}return jh}()),t}!function(e){e.ACTION="action",e.ERROR="error",e.LONG_TASK="long_task",e.VIEW="view",e.RESOURCE="resource"}(em||(em={})),function(e){e.INITIAL_LOAD="initial_load",e.ROUTE_CHANGE="route_change"}(tm||(tm={})),function(e){e.CLICK="click",e.CUSTOM="custom"}(nm||(nm={}));function am(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||zh("datadog-synthetics-injects-rum"))}var sm={buildMode:"release",sdkVersion:"4.5.0"};var um,lm=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function cm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new lm((function(){var t=e.map((function(e){return e.subscribe((function(e){return n.notify(e)}))}));return function(){return t.forEach((function(e){return e.unsubscribe()}))}}));return n}function dm(){var e,t=window;if(t.Zone){var n=t.Zone.__symbol__("MutationObserver");e=t[n]}return e||(e=t.MutationObserver),e}!function(e){e[e.PERFORMANCE_ENTRIES_COLLECTED=0]="PERFORMANCE_ENTRIES_COLLECTED",e[e.AUTO_ACTION_CREATED=1]="AUTO_ACTION_CREATED",e[e.AUTO_ACTION_COMPLETED=2]="AUTO_ACTION_COMPLETED",e[e.AUTO_ACTION_DISCARDED=3]="AUTO_ACTION_DISCARDED",e[e.VIEW_CREATED=4]="VIEW_CREATED",e[e.VIEW_UPDATED=5]="VIEW_UPDATED",e[e.VIEW_ENDED=6]="VIEW_ENDED",e[e.REQUEST_STARTED=7]="REQUEST_STARTED",e[e.REQUEST_COMPLETED=8]="REQUEST_COMPLETED",e[e.SESSION_EXPIRED=9]="SESSION_EXPIRED",e[e.SESSION_RENEWED=10]="SESSION_RENEWED",e[e.BEFORE_UNLOAD=11]="BEFORE_UNLOAD",e[e.RAW_RUM_EVENT_COLLECTED=12]="RAW_RUM_EVENT_COLLECTED",e[e.RUM_EVENT_COLLECTED=13]="RUM_EVENT_COLLECTED",e[e.RAW_ERROR_COLLECTED=14]="RAW_ERROR_COLLECTED"}(um||(um={}));var fm=function(){function e(){this.callbacks={}}return e.prototype.notify=function(e,t){var n=this.callbacks[e];n&&n.forEach((function(e){return e(t)}))},e.prototype.subscribe=function(e,t){var n=this;return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:function(){n.callbacks[e]=n.callbacks[e].filter((function(e){return t!==e}))}}},e}(),pm="initial_document",hm=[[Ep.DOCUMENT,function(e){return pm===e}],[Ep.XHR,function(e){return"xmlhttprequest"===e}],[Ep.FETCH,function(e){return"fetch"===e}],[Ep.BEACON,function(e){return"beacon"===e}],[Ep.CSS,function(e,t){return/\.css$/i.test(t)}],[Ep.JS,function(e,t){return/\.js$/i.test(t)}],[Ep.IMAGE,function(e,t){return Mp(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],[Ep.FONT,function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],[Ep.MEDIA,function(e,t){return Mp(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function mm(e){var t=e.name;if(!function(e){try{return!!Yh(e)}catch(e){return!1}}(t))return wh('Failed to construct URL for "'+e.name+'"'),Ep.OTHER;for(var n=function(e){var t=Yh(e).pathname;return"/"===t[0]?t:"/"+t}(t),r=0,i=hm;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(e.initiatorType,n))return a}return Ep.OTHER}function vm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=1;n<e.length;n+=1)if(e[n-1]>e[n])return!1;return!0}function gm(e){var t=ym(e);if(t){var n=t.startTime,r=t.fetchStart,i=t.redirectStart,o=t.redirectEnd,a=t.domainLookupStart,s=t.domainLookupEnd,u=t.connectStart,l=t.secureConnectionStart,c=t.connectEnd,d=t.requestStart,f=t.responseStart,p={download:_m(n,f,t.responseEnd),first_byte:_m(n,d,f)};return c!==r&&(p.connect=_m(n,u,c),vm(u,l,c)&&(p.ssl=_m(n,l,c))),s!==r&&(p.dns=_m(n,a,s)),bm(e)&&(p.redirect=_m(n,i,o)),p}}function ym(e){if(vm(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!bm(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t<e.startTime&&(t=e.startTime),n<e.startTime&&(n=e.fetchStart),vm(e.startTime,t,n,e.fetchStart))return(0,pp.__assign)((0,pp.__assign)({},e),{redirectEnd:n,redirectStart:t})}}function bm(e){return e.fetchStart!==e.startTime}function _m(e,t,n){return{duration:Ph(Dh(t,n)),start:Ph(Dh(e,t))}}function wm(e){if(e.startTime<e.responseStart)return e.decodedBodySize}function km(e,t){return t&&!e.isIntakeUrl(t)}function Em(e){var t=function(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return xm(t&&t.content,n&&n.content)}(e)||function(e){var t=function(e){for(var t=0;t<e.childNodes.length;t+=1){if(n=Sm(e.childNodes[t]))return n}if(e.body)for(t=e.body.childNodes.length-1;t>=0;t-=1){var n,r=e.body.childNodes[t];if(n=Sm(r))return n;if(!Tm(r))break}}(e);if(!t)return;return xm(Vp(t,"trace-id"),Vp(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Date.now()-12e4))return t.traceId}function xm(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function Sm(e){if(e&&function(e){return"#comment"===e.nodeName}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function Tm(e){return"#text"===e.nodeName}function Cm(){return void 0!==window.performance&&"getEntries"in performance}function Am(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function Om(e,t){var n;if(n=function(n){Pm(e,t,[n])},Gp("interactive",(function(){var e,t={entryType:"resource",initiatorType:pm,traceId:Em(document)};if(Am("navigation")&&performance.getEntriesByType("navigation").length>0){var r=performance.getEntriesByType("navigation")[0];e=(0,pp.__assign)((0,pp.__assign)({},r.toJSON()),t)}else{var i=Nm();e=(0,pp.__assign)((0,pp.__assign)((0,pp.__assign)({},i),{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0}),t)}n(e)})),Cm()&&Pm(e,t,performance.getEntries()),window.PerformanceObserver){var r=bh((function(n){return Pm(e,t,n.getEntries())})),i=["resource","navigation","longtask","paint"],o=["largest-contentful-paint","first-input","layout-shift"];try{o.forEach((function(e){new PerformanceObserver(r).observe({type:e,buffered:!0})}))}catch(e){i.push.apply(i,o)}new PerformanceObserver(r).observe({entryTypes:i}),Cm()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}Am("navigation")||function(e){function t(){e((0,pp.__assign)((0,pp.__assign)({},Nm()),{entryType:"navigation"}))}Gp("complete",(function(){setTimeout(bh(t))}))}((function(n){Pm(e,t,[n])})),Am("first-input")||function(e){var t=Date.now(),n=!1,r=Yp(window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var t={entryType:"first-input",processingStart:Lh(),startTime:e.timeStamp};"pointerdown"===e.type?i(t):o(t)}}),{passive:!0,capture:!0}).stop;function i(e){Yp(window,["pointerup","pointercancel"],(function(t){"pointerup"===t.type&&o(e)}),{once:!0})}function o(i){if(!n){n=!0,r();var o=i.processingStart-i.startTime;o>=0&&o<Date.now()-t&&e(i)}}}((function(n){Pm(e,t,[n])}))}function Nm(){var e={},t=performance.timing;for(var n in t)if(qp(t[n])){var r=n,i=t[r];e[r]=0===i?0:i-qh()}return e}function Pm(e,t,n){var r=n.filter((function(e){return"resource"===e.entryType||"navigation"===e.entryType||"paint"===e.entryType||"longtask"===e.entryType||"largest-contentful-paint"===e.entryType||"first-input"===e.entryType||"layout-shift"===e.entryType})).filter((function(e){return!function(e){return"navigation"===e.entryType&&e.loadEventEnd<=0}(e)&&!function(e,t){return"resource"===t.entryType&&!km(e,t.name)}(t,e)}));r.length&&e.notify(um.PERFORMANCE_ENTRIES_COLLECTED,r)}function Im(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout((function(){r=0}),Tp),(r+=1)<=t||i)return i=!1,!1;if(r===t+1){i=!0;try{n({message:"Reached max number of "+e+"s by minute: "+t,source:Jp,startClocks:Mh()})}finally{i=!1}}return!0}}}function Lm(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!Rm(n,o))return;n=n[o]}return n}function Mm(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!Rm(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function Rm(e,t){return"object"==typeof e&&null!==e&&t in e}var Dm=function(){function e(e){var t=this;this.expireDelay=e,this.previousContexts=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.find=function(e){if(void 0===e||void 0!==this.current&&void 0!==this.currentStart&&e>=this.currentStart)return this.current;for(var t=0,n=this.previousContexts;t<n.length;t++){var r=n[t];if(e>r.endTime)break;if(e>=r.startTime)return r.context}},e.prototype.setCurrent=function(e,t){this.current=e,this.currentStart=t},e.prototype.getCurrent=function(){return this.current},e.prototype.clearCurrent=function(){this.current=void 0,this.currentStart=void 0},e.prototype.closeCurrent=function(e){void 0!==this.current&&void 0!==this.currentStart&&(this.previousContexts.unshift({endTime:e,context:this.current,startTime:this.currentStart}),this.clearCurrent())},e.prototype.clearOldContexts=function(){for(var e=Lh()-this.expireDelay;this.previousContexts.length>0&&this.previousContexts[this.previousContexts.length-1].startTime<e;)this.previousContexts.pop()},e.prototype.reset=function(){this.clearCurrent(),this.previousContexts=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e}();var qm=9e5,jm=144e5;function Fm(e,t,n){var r=new lm,i=new lm,o=setInterval(bh((function(){Wm({options:e,process:function(e){return l(e)?void 0:{}},after:s})})),1e3),a=function(){var e=Zm();if(l(e))return e;return{}}();function s(e){return l(e)||(e={}),u()&&(!function(e){return a.id!==e.id||a[t]!==e[t]}(e)?a=e:(a={},i.notify())),e}function u(){return void 0!==a[t]}function l(e){return(void 0===e.created||Date.now()-Number(e.created)<jm)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:Cp(bh((function(){var i;Wm({options:e,process:function(e){var r=s(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=Ap(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!u()&&function(e){a=e,r.notify()}(e),a=e}})})),1e3).throttled,expandSession:function(){Wm({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var Bm,Um=/^([a-z]+)=([a-z0-9-]+)$/,zm="&",Hm="_dd_s",Vm=[];function Wm(e,t){var n;if(void 0===t&&(t=0),Bm||(Bm=e),e===Bm)if(t>=100)Km();else{var r,i=Zm();if(Ym()){if(i.lock)return void Gm(e,t);if(r=Ap(),i.lock=r,$m(i,e.options),(i=Zm()).lock!==r)return void Gm(e,t)}var o=e.process(i);if(Ym()&&(i=Zm()).lock!==r)Gm(e,t);else{if(o&&Xm(o,e.options),Ym()&&(!o||!Qm(o))){if((i=Zm()).lock!==r)return void Gm(e,t);delete i.lock,$m(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),Km()}}else Vm.push(e)}function Ym(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function Gm(e,t){setTimeout(bh((function(){Wm(e,t+1)})),10)}function Km(){Bm=void 0;var e=Vm.shift();e&&Wm(e)}function Xm(e,t){Qm(e)?function(e){Uh(Hm,"",0,e)}(t):(e.expire=String(Date.now()+qm),$m(e,t))}function $m(e,t){Uh(Hm,function(e){return Bp(e).map((function(e){return e[0]+"="+e[1]})).join(zm)}(e),qm,t)}function Zm(){var e=zh(Hm),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(zm)||Um.test(e))}(e)&&e.split(zm).forEach((function(e){var n=Um.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function Qm(e){return Up(e)}var Jm=[];function ev(e,t,n){!function(e){var t=zh(Hm),n=zh("_dd"),r=zh("_dd_r"),i=zh("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),Xm(o,e)}}(e);var r=Fm(e,t,n);Jm.push((function(){return r.stop()}));var i,o=new Dm(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return Jm.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.setCurrent(a(),Lh())})),r.expireObservable.subscribe((function(){o.closeCurrent(Lh())})),r.expandOrRenewSession(),o.setCurrent(a(),Rh().relative),i=Yp(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,Jm.push(i),function(e){var t=bh((function(){"visible"===document.visibilityState&&e()})),n=Wp(document,"visibilitychange",t).stop;Jm.push(n);var r=setInterval(t,6e4);Jm.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var tv,nv,rv;function iv(e,t){var n=ev(e.cookieOptions,"rum",(function(t){return function(e,t){var n;n=function(e){return e===nv.NOT_TRACKED||e===nv.TRACKED_REPLAY||e===nv.TRACKED_LITE}(t)?t:Op(e.sampleRate)?Op(e.replaySampleRate)?nv.TRACKED_REPLAY:nv.TRACKED_LITE:nv.NOT_TRACKED;return{trackingType:n,isTracked:ov(n)}}(e,t)}));return n.expireObservable.subscribe((function(){t.notify(um.SESSION_EXPIRED)})),n.renewObservable.subscribe((function(){t.notify(um.SESSION_RENEWED)})),{findTrackedSession:function(e){var t=n.findActiveSession(e);if(t&&ov(t.trackingType))return{id:t.id,hasReplayPlan:t.trackingType===nv.TRACKED_REPLAY,hasLitePlan:t.trackingType===nv.TRACKED_LITE}}}}function ov(e){return e===nv.TRACKED_LITE||e===nv.TRACKED_REPLAY}!function(e){e[e.LITE=1]="LITE",e[e.REPLAY=2]="REPLAY"}(tv||(tv={})),function(e){e.NOT_TRACKED="0",e.TRACKED_REPLAY="1",e.TRACKED_LITE="2"}(nv||(nv={})),function(e){e.SYNTHETICS="synthetics",e.USER="user",e.CI_TEST="ci_test"}(rv||(rv={}));var av=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],sv=(0,pp.__spreadArrays)(av,["context"]);function uv(e,t,n,r,i,o){var a,s=function(e){t.notify(um.RAW_ERROR_COLLECTED,{error:e})},u=((a={})[em.ERROR]=Im(em.ERROR,e.eventRateLimiterThreshold,s),a[em.ACTION]=Im(em.ACTION,e.eventRateLimiterThreshold,s),a),l=function(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||zh("datadog-synthetics-public-id"),t=window._DATADOG_SYNTHETICS_RESULT_ID||zh("datadog-synthetics-result-id");if("string"==typeof e&&"string"==typeof t)return{test_id:e,result_id:t,injected:am()}}(),c=function(){var e,t=null===(e=window.Cypress)||void 0===e?void 0:e.env("traceId");if("string"==typeof t)return{test_execution_id:t}}();t.subscribe(um.RAW_RUM_EVENT_COLLECTED,(function(a){var s,d=a.startTime,f=a.rawRumEvent,p=a.domainContext,h=a.savedCommonContext,m=a.customerContext,v=r.findView(d),g=i.findUrl(d),y=n.findTrackedSession(f.type!==em.VIEW?d:void 0);if(y&&v&&g){var b=r.findAction(d),_=h||o(),w={_dd:{format_version:2,drift:Math.round(Date.now()-(qh()+performance.now())),session:{plan:y.hasReplayPlan?tv.REPLAY:tv.LITE},browser_sdk_version:uh()?sm.sdkVersion:void 0},application:{id:e.applicationId},date:Ih(),service:e.service,source:"browser",session:{id:y.id,type:l?rv.SYNTHETICS:c?rv.CI_TEST:rv.USER},synthetics:l,ci_test:c},k=(s=f,-1!==[em.ERROR,em.RESOURCE,em.LONG_TASK].indexOf(s.type)?Zp(w,g,v,b,f):Zp(w,g,v,f));k.context=Zp(_.context,m),"has_replay"in k.session||(k.session.has_replay=_.hasReplay),Up(_.user)||(k.usr=_.user),function(e,t,n,r){var i;if(t){var o=function(e,t,n){var r=$p(e),i=n(r);return t.forEach((function(t){var n=Lm(e,t),i=Lm(r,t),o=Kp(n),a=Kp(i);a===o?Mm(e,t,i):"object"!==o||"undefined"!==a&&"null"!==a||Mm(e,t,{})})),i}(e,e.type===em.VIEW?av:sv,(function(e){return t(e,n)}));if(!1===o&&e.type!==em.VIEW)return!1;!1===o&&hp.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[e.type])||void 0===i?void 0:i.isLimitReached())}(k,e.beforeSend,p,u)&&(Up(k.context)&&delete k.context,t.notify(um.RUM_EVENT_COLLECTED,k))}}))}var lv=[];function cv(){document.hasFocus()&&dv();var e,t,n=(e=dv,Wp(window,"focus",(function(t){t.isTrusted&&e()}))).stop,r=(t=fv,Wp(window,"blur",(function(e){e.isTrusted&&t()}))).stop;return{isInForegroundAt:pv,selectInForegroundPeriodsFor:hv,stop:function(){lv=[],n(),r()}}}function dv(){if(!(lv.length>2500)){var e=lv[lv.length-1],t=Lh();void 0!==e&&void 0===e.end||lv.push({start:t})}}function fv(){if(0!==lv.length){var e=lv[lv.length-1],t=Lh();void 0===e.end&&(e.end=t)}}function pv(e){for(var t=lv.length-1;t>=0;t--){var n=lv[t];if(void 0!==n.end&&e>n.end)break;if(e>n.start&&(void 0===n.end||e<n.end))return!0}return!1}function hv(e,t){for(var n=e+t,r=[],i=Math.max(0,lv.length-500),o=lv.length-1;o>=i;o--){var a=lv[o];if(void 0!==a.end&&e>a.end)break;if(!(n<a.start)){var s=e>a.start?e:a.start,u=Dh(e,s),l=Dh(s,void 0===a.end||n<a.end?n:a.end);r.unshift({start:Ph(u),duration:Ph(l)})}}return r}var mv;function vv(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function gv(e,t,n){var r=n.before,i=n.after;return vv(e,t,(function(e){return function(){var t,n=arguments;return r&&_h(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&_h(i,this,n),t}}))}var yv,bv=new WeakMap;function _v(){var e;return mv||(e=new lm((function(){var t=gv(XMLHttpRequest.prototype,"open",{before:wv}).stop,n=gv(XMLHttpRequest.prototype,"send",{before:function(){kv.call(this,e)}}).stop,r=gv(XMLHttpRequest.prototype,"abort",{before:Ev}).stop;return function(){t(),n(),r()}})),mv=e),mv}function wv(e,t){bv.set(this,{state:"open",method:e,url:Vh(t)})}function kv(e){var t=this,n=bv.get(this);if(n){var r=n;r.state="start",r.startTime=Lh(),r.startClocks=Mh(),r.isAborted=!1,r.xhr=this;var i=!1,o=gv(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=bh((function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=Dh(r.startClocks.timeStamp,Ih()),s.status=t.status,e.notify((0,pp.__assign)({},s))}}));this.addEventListener("loadend",a),e.notify(r)}}function Ev(){var e=bv.get(this);e&&(e.isAborted=!0)}function xv(){var e;return yv||(e=new lm((function(){if(window.fetch){var t=vv(window,"fetch",(function(t){return function(n,r){var i,o=_h(Sv,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),_h(Tv,null,[e,i,o])):i=t.call(this,n,r),i}})).stop;return t}})),yv=e),yv}function Sv(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=Vh("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:Mh(),url:i};return e.notify(o),o}function Tv(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=Dh(r.startClocks.timeStamp,Ih()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(bh(r),bh(r))}function Cv(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0)}function Av(e,t,n,r){var i;void 0!==Ov()&&function(e,t){for(var n=Wh(t),r=0,i=e.allowedTracingOrigins;r<i.length;r++){var o=i[r];if(n===o||o instanceof RegExp&&o.test(n))return!0}return!1}(e,t.url)&&n.findTrackedSession()&&(t.traceId=new Nv,t.spanId=new Nv,r((i=t.traceId,{"x-datadog-origin":"rum","x-datadog-parent-id":t.spanId.toDecimalString(),"x-datadog-sampled":"1","x-datadog-sampling-priority":"1","x-datadog-trace-id":i.toDecimalString()})))}function Ov(){return window.crypto||window.msCrypto}var Nv=function(){function e(){this.buffer=new Uint8Array(8),Ov().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return e.prototype.toString=function(e){var t=this.readInt32(0),n=this.readInt32(4),r="";do{var i=t%e*4294967296+n;t=Math.floor(t/e),n=Math.floor(i/e),r=(i%e).toString(e)+r}while(t||n);return r},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.readInt32=function(e){return 16777216*this.buffer[e]+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},e}(),Pv=1;function Iv(e,t,n){var r=function(e,t){return{clearTracingIfNeeded:Cv,traceFetch:function(n){return Av(e,n,t,(function(e){var t;if(n.input instanceof Request&&!(null===(t=n.init)||void 0===t?void 0:t.headers))n.input=new Request(n.input),Object.keys(e).forEach((function(t){n.input.headers.append(t,e[t])}));else{n.init=(0,pp.__assign)({},n.init);var r=[];n.init.headers instanceof Headers?n.init.headers.forEach((function(e,t){r.push([t,e])})):Array.isArray(n.init.headers)?n.init.headers.forEach((function(e){r.push(e)})):n.init.headers&&Object.keys(n.init.headers).forEach((function(e){r.push([e,n.init.headers[e]])})),n.init.headers=r.concat(Bp(e))}}))},traceXhr:function(n,r){return Av(e,n,t,(function(e){Object.keys(e).forEach((function(t){r.setRequestHeader(t,e[t])}))}))}}}(t,n);!function(e,t,n){var r=_v().subscribe((function(r){var i=r;if(km(t,i.url))switch(i.state){case"start":n.traceXhr(i,i.xhr),i.requestIndex=Lv(),e.notify(um.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(um.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:xp.XHR,url:i.url,xhr:i.xhr})}}))}(e,t,r),function(e,t,n){var r=xv().subscribe((function(r){var i=r;if(km(t,i.url))switch(i.state){case"start":n.traceFetch(i),i.requestIndex=Lv(),e.notify(um.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(um.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:xp.FETCH,url:i.url,response:i.response,init:i.init,input:i.input})}}))}(e,t,r)}function Lv(){var e=Pv;return Pv+=1,e}function Mv(e,t){void 0===t&&(t=Pp);var n={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},r=e.subscribe(um.RUM_EVENT_COLLECTED,(function(e){switch(e.type){case em.ERROR:n.errorCount+=1,t(n);break;case em.ACTION:n.userActionCount+=1,t(n);break;case em.LONG_TASK:n.longTaskCount+=1,t(n);break;case em.RESOURCE:n.resourceCount+=1,t(n)}}));return{stop:function(){r.unsubscribe()},eventCounts:n}}function Rv(e,t,n,r){var i=function(e,t){var n=new lm((function(){var n,i=[],o=0;return i.push(t.subscribe((function(){return r(o)})),e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(e){e.some((function(e){return"resource"===e.entryType}))&&r(o)})),e.subscribe(um.REQUEST_STARTED,(function(e){void 0===n&&(n=e.requestIndex),r(++o)})),e.subscribe(um.REQUEST_COMPLETED,(function(e){void 0===n||e.requestIndex<n||r(--o)}))),function(){return i.forEach((function(e){return e.unsubscribe()}))}}));function r(e){n.notify({isBusy:e>0})}return n}(e,t);return function(e,t,n){var r,i=!1,o=setTimeout(bh((function(){return l({hadActivity:!1})})),100),a=n&&setTimeout(bh((function(){return l({hadActivity:!0,end:Ih()})})),n),s=e.subscribe((function(e){var t=e.isBusy;clearTimeout(o),clearTimeout(r);var n=Ih();t||(r=setTimeout(bh((function(){return l({hadActivity:!0,end:n})})),100))})),u=function(){i=!0,clearTimeout(o),clearTimeout(r),clearTimeout(a),s.unsubscribe()};function l(e){i||(u(),t(e))}return{stop:u}}(i,n,r)}var Dv="data-dd-action-name";function qv(e,t){var n;if(function(){void 0===Fv&&(Fv="closest"in HTMLElement.prototype);return Fv}())n=e.closest("["+t+"]");else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return Vv(Hv(n.getAttribute(t).trim()))}var jv,Fv,Bv=[function(e,t){if(function(){void 0===jv&&(jv="labels"in HTMLInputElement.prototype);return jv}()){if("labels"in e&&e.labels&&e.labels.length>0)return Wv(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&e.ownerDocument.querySelector('label[for="'+e.id.replace('"','\\"')+'"]');return n&&Wv(n,t)}},function(e){if("INPUT"===e.nodeName){var t=e,n=t.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return t.value}},function(e,t){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return Wv(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map((function(t){return function(e,t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}(e,t)})).filter((function(e){return Boolean(e)})).map((function(e){return Wv(e,t)})).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return Wv(e.options[0],t)}],Uv=[function(e,t){return Wv(e,t)}];function zv(e,t,n){for(var r=e,i=0;i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var o=0,a=n;o<a.length;o++){var s=(0,a[o])(r,t);if("string"==typeof s){var u=s.trim();if(u)return Vv(Hv(u))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function Hv(e){return e.replace(/\s+/g," ")}function Vv(e){return e.length>100?function(e,t){var n=e.charCodeAt(t-1);return n>=55296&&n<=56319?e.slice(0,t+1):e.slice(0,t)}(e,100)+" [...]":e}function Wv(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(t){for(var r=e.querySelectorAll(t),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(n=n.replace(a,""))}}};return Boolean(document.documentMode)&&r("script, style"),r("[data-dd-action-name]"),t&&r("["+t+"]"),n}return e.textContent}}function Yv(e,t,n){var r=n.actionNameAttribute,i=function(e,t){var n,r;return{create:function(i,o,a){if(!n){var s=new Gv(e,i,o,a);n=s,r=Rv(e,t,(function(e){if(e.hadActivity){var t=Dh(s.startClocks.timeStamp,e.end);t>=0?s.complete(t):s.discard()}else s.discard();n=void 0}),1e4).stop}},discardCurrent:function(){n&&(r(),n.discard(),n=void 0)}}}(e,t);e.subscribe(um.VIEW_CREATED,(function(){i.discardCurrent()}));var o=Wp(window,"click",(function(e){if(e.target instanceof Element){var t,n,o=(t=e.target,n=r,qv(t,Dv)||n&&qv(t,n)||zv(t,n,Bv)||zv(t,n,Uv)||"");o&&i.create(nm.CLICK,o,e)}}),{capture:!0}).stop;return{stop:function(){i.discardCurrent(),o()}}}var Gv=function(){function e(e,t,n,r){this.lifeCycle=e,this.type=t,this.name=n,this.event=r,this.id=Ap(),this.startClocks=Mh(),this.eventCountsSubscription=Mv(e),this.lifeCycle.notify(um.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return e.prototype.complete=function(e){var t=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(um.AUTO_ACTION_COMPLETED,{counts:{errorCount:t.errorCount,longTaskCount:t.longTaskCount,resourceCount:t.resourceCount},duration:e,id:this.id,name:this.name,startClocks:this.startClocks,type:this.type,event:this.event}),this.eventCountsSubscription.stop()},e.prototype.discard=function(){this.lifeCycle.notify(um.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},e}();function Kv(e,t){var n=Xv(e)?{action:{error:{count:e.counts.errorCount},id:e.id,loading_time:Ph(e.duration),long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}}:void 0,r=Xv(e)?void 0:e.context,i=Zp({action:{id:Ap(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:em.ACTION},n),o=t.isInForegroundAt(e.startClocks.relative);return void 0!==o&&(i.view={in_foreground:o}),{customerContext:r,rawRumEvent:i,startTime:e.startClocks.relative,domainContext:Xv(e)?{event:e.event}:{}}}function Xv(e){return e.type!==nm.CUSTOM}var $v=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Zv(e){var t=function(e){return gv(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=vp(o),e(a,o);else{var s,u={url:n,column:i,line:r},l=t;if("[object String]"==={}.toString.call(t)){var c=$v.exec(l);c&&(s=c[1],l=c[2])}e(a={name:s,message:"string"==typeof l?l:void 0,stack:[u]},t)}}})}(e).stop,n=function(e){return gv(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=vp(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}var Qv,Jv,eg="error",tg={};function ng(e){var t=e.map((function(e){return tg[e]||(tg[e]=function(e){var t=new lm((function(){var n=console[e];return console[e]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=ah();_h((function(){t.notify(rg(r,e,o))}))},function(){console[e]=n}}));return t}(e)),tg[e]}));return cm.apply(void 0,t)}function rg(e,t,n){var r={message:(0,pp.__spreadArrays)(["console "+t+":"],e).map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return oh(vp(e));return Ip(e,void 0,2)}(e)})).join(" "),api:t};if(t===eg){var i=Rp(e,(function(e){return e instanceof Error}));r.stack=i?ih(vp(i)):void 0,r.handlingStack=n}return r}function ig(e,t){var n=new lm;return function(e){var t=ng([eg]).subscribe((function(t){return e.notify({startClocks:Mh(),message:t.message,stack:t.stack,source:eh,handling:Qp.HANDLED,handlingStack:t.handlingStack})}))}(n),function(e){Zv((function(t,n){var r=rh(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:nh,startClocks:Mh(),originalError:n,handling:Qp.UNHANDLED})}))}(n),n.subscribe((function(t){return e.notify(um.RAW_ERROR_COLLECTED,{error:t})})),function(e,t){return e.subscribe(um.RAW_ERROR_COLLECTED,(function(n){var r=n.error,i=n.customerContext,o=n.savedCommonContext;e.notify(um.RAW_RUM_EVENT_COLLECTED,(0,pp.__assign)({customerContext:i,savedCommonContext:o},function(e,t){var n={date:e.startClocks.timeStamp,error:{id:Ap(),message:e.message,resource:e.resource?{method:e.resource.method,status_code:e.resource.statusCode,url:e.resource.url}:void 0,source:e.source,stack:e.stack,handling_stack:e.handlingStack,type:e.type,handling:e.handling,source_type:"browser"},type:em.ERROR},r=t.isInForegroundAt(e.startClocks.relative);void 0!==r&&(n.view={in_foreground:r});return{rawRumEvent:n,startTime:e.startClocks.relative,domainContext:{error:e.originalError}}}(r,t)))})),{addError:function(t,n){var r=t.error,i=t.handlingStack,o=t.startClocks,a=t.context,s=function(e,t,n){var r=e instanceof Error?vp(e):void 0;return(0,pp.__assign)((0,pp.__assign)({startClocks:n,source:th,originalError:e},rh(r,e,"Provided",t)),{handling:Qp.HANDLED})}(r,i,o);e.notify(um.RAW_ERROR_COLLECTED,{customerContext:a,savedCommonContext:n,error:s})}}}(e,t)}function og(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var n,r=t.map((function(e){return e.toJSON()})).filter(ym).filter((function(t){return function(e,t,n){var r=1;return e.startTime>=t-r&&ag(e)<=n+r}(t,e.startClocks.relative,ag({startTime:e.startClocks.relative,duration:e.duration}))}));return 1===r.length?r[0]:2===r.length&&ag((n=r)[0])<=n[1].startTime?r[1]:void 0}}}function ag(e){return e.startTime+e.duration}function sg(e){e.subscribe(um.REQUEST_COMPLETED,(function(t){e.notify(um.RAW_RUM_EVENT_COLLECTED,function(e){var t=e.type===xp.XHR?Ep.XHR:Ep.FETCH,n=og(e),r=n?Oh(n.startTime):e.startClocks,i=n?lg(n):void 0,o=function(e){if(!e.traceId||!e.spanId)return;return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString()}}}(e),a=Zp({date:r.timeStamp,resource:{id:Ap(),type:t,duration:Ph(e.duration),method:e.method,status_code:e.status,url:e.url},type:em.RESOURCE},o,i);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:n&&cg(n),xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(t))})),e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];"resource"===i.entryType&&("xmlhttprequest"!==(o=i).initiatorType&&"fetch"!==o.initiatorType)&&e.notify(um.RAW_RUM_EVENT_COLLECTED,ug(i))}var o}))}function ug(e){var t=mm(e),n=lg(e),r=function(e){return e.traceId?{_dd:{trace_id:e.traceId}}:void 0}(e),i=Oh(e.startTime),o=Zp({date:i.timeStamp,resource:{id:Ap(),type:t,url:e.name},type:em.RESOURCE},r,n);return{startTime:i.relative,rawRumEvent:o,domainContext:{performanceEntry:cg(e)}}}function lg(e){return{resource:(0,pp.__assign)({duration:(t=e,n=t.duration,r=t.startTime,i=t.responseEnd,Ph(0===n&&r<i?Dh(r,i):n)),size:wm(e)},gm(e))};var t,n,r,i}function cg(e){return"function"==typeof PerformanceEntry&&e instanceof PerformanceEntry&&e.toJSON(),e}function dg(e){return void 0===e&&(e=window),Qv||("hidden"===document.visibilityState?Qv={timeStamp:0}:(Qv={timeStamp:1/0},Jv=Yp(e,["pagehide","visibilitychange"],(function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(Qv.timeStamp=e.timeStamp,Jv())}),{capture:!0}).stop)),Qv}var fg=6e5;function pg(e,t){var n;function r(e){n=(0,pp.__assign)((0,pp.__assign)({},n),e),t(n)}var i=function(e,t){var n=e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var n=0,r=e;n<r.length;n++){var i=r[n];"navigation"===i.entryType&&t({domComplete:i.domComplete,domContentLoaded:i.domContentLoadedEventEnd,domInteractive:i.domInteractive,loadEvent:i.loadEventEnd})}})).unsubscribe;return{stop:n}}(e,r).stop,o=function(e,t){var n=dg(),r=e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=Rp(e,(function(e){return"paint"===e.entryType&&"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&e.startTime<fg}));r&&t(r.startTime)})).unsubscribe;return{stop:r}}(e,(function(e){return r({firstContentfulPaint:e})})).stop,a=function(e,t,n){var r=dg(),i=1/0,o=Yp(t,["pointerdown","keydown"],(function(e){i=e.timeStamp}),{capture:!0,once:!0}).stop,a=e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var t=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return"largest-contentful-paint"===e.entryType&&e.startTime<i&&e.startTime<r.timeStamp&&e.startTime<fg}));t&&n(t.startTime)})).unsubscribe;return{stop:function(){o(),a()}}}(e,window,(function(e){r({largestContentfulPaint:e})})).stop,s=function(e,t){var n=dg(),r=e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=Rp(e,(function(e){return"first-input"===e.entryType&&e.startTime<n.timeStamp}));if(r){var i=Dh(r.startTime,r.processingStart);t({firstInputDelay:i>=0?i:0,firstInputTime:r.startTime})}})).unsubscribe;return{stop:r}}(e,(function(e){r({firstInputDelay:e.firstInputDelay,firstInputTime:e.firstInputTime})})).stop;return{stop:function(){i(),o(),a(),s()}}}function hg(e,t,n,r,i){var o,a={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},s=Mv(e,(function(e){a.eventCounts=e,n()})).stop,u=function(e,t,n,r,i){var o=n===tm.INITIAL_LOAD,a=!0,s=[];function u(){!a&&!o&&s.length>0&&i(Math.max.apply(Math,s))}return{stop:Rv(e,t,(function(e){a&&(a=!1,e.hadActivity&&s.push(Dh(r.timeStamp,e.end)),u())})).stop,setLoadEvent:function(e){o&&(o=!1,s.push(e),u())}}}(e,t,r,i,(function(e){a.loadingTime=e,n()})),l=u.stop,c=u.setLoadEvent;return Am("layout-shift")?(a.cumulativeLayoutShift=0,o=function(e,t){var n=0,r=function(){var e,t,n=0;return{update:function(r){void 0===e||r.startTime-t>=Sp||r.startTime-e>=5e3?(e=t=r.startTime,n=r.value):(n+=r.value,t=r.startTime)},value:function(){return n}}}(),i=e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var i=0,o=e;i<o.length;i++){var a=o[i];"layout-shift"!==a.entryType||a.hadRecentInput||(r.update(a),r.value()>n&&(n=r.value(),t(Np(n,4))))}})).unsubscribe;return{stop:i}}(e,(function(e){a.cumulativeLayoutShift=e,n()})).stop):o=Pp,{stop:function(){s(),l(),o()},setLoadEvent:c,viewMetrics:a}}function mg(e,t,n,r,i,o){var a,s=function(r){var i=vg(t,n,e,tm.INITIAL_LOAD,Rh(),r),o=pg(t,(function(e){i.updateTimings(e),i.scheduleUpdate()})).stop;return{initialView:i,stop:o}}(o),u=s.stop,l=s.initialView,c=function(){t.subscribe(um.SESSION_RENEWED,(function(){l.end(),l=d(void 0,l.name)})),t.subscribe(um.BEFORE_UNLOAD,(function(){l.end(),l.triggerUpdate()}));var e=window.setInterval(bh((function(){l.triggerUpdate()})),3e5);return{stop:function(){clearInterval(e)}}}().stop;function d(r,i){return vg(t,n,e,tm.ROUTE_CHANGE,r,i)}return i&&(a=function(e){return e.subscribe((function(e){var t,n,r,i,o=e.oldLocation,a=e.newLocation;if(n=a,(t=o).pathname!==n.pathname||(r=n.hash,i=r.substr(1),!document.getElementById(i)&&gg(n.hash)!==gg(t.hash)))return l.end(),l.triggerUpdate(),void(l=d())}))}(r)),{addTiming:function(e,t){void 0===t&&(t=Ih()),l.addTiming(e,t),l.scheduleUpdate()},startView:function(e,t){l.end(t),l.triggerUpdate(),l=d(t,e)},stop:function(){null==a||a.unsubscribe(),u(),c(),l.end()}}}function vg(e,t,n,r,i,o){void 0===i&&(i=Mh());var a,s=Ap(),u={},l={},c=0,d=(0,pp.__assign)({},n);e.notify(um.VIEW_CREATED,{id:s,name:o,startClocks:i});var f=Cp(bh(b),3e3,{leading:!1}),p=f.throttled,h=f.cancel,m=hg(e,t,p,r,i),v=m.setLoadEvent,g=m.stop,y=m.viewMetrics;function b(){c+=1;var t=void 0===a?Ih():a.timeStamp;e.notify(um.VIEW_UPDATED,(0,pp.__assign)((0,pp.__assign)({},y),{customTimings:l,documentVersion:c,id:s,name:o,loadingType:r,location:d,startClocks:i,timings:u,duration:Dh(i.timeStamp,t),isActive:void 0===a}))}return b(),{name:o,scheduleUpdate:p,end:function(t){void 0===t&&(t=Mh()),a=t,g(),e.notify(um.VIEW_ENDED,{endClocks:a})},triggerUpdate:function(){h(),b()},updateTimings:function(e){u=e,void 0!==e.loadEvent&&v(e.loadEvent)},addTiming:function(e,t){var n=function(e){return e<31536e6}(t)?t:Dh(i.timeStamp,t);l[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&hp.warn("Invalid timing name: "+e+", sanitized to: "+t);return t}(e)]=n}}}function gg(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function yg(e,t,n,r,i,o,a,s){return e.subscribe(um.VIEW_UPDATED,(function(t){return e.notify(um.RAW_RUM_EVENT_COLLECTED,function(e,t,n){var r=n.getReplayStats(e.id),i={_dd:{document_version:e.documentVersion,replay_stats:r},date:e.startClocks.timeStamp,type:em.VIEW,view:{action:{count:e.eventCounts.userActionCount},cumulative_layout_shift:e.cumulativeLayoutShift,dom_complete:Ph(e.timings.domComplete),dom_content_loaded:Ph(e.timings.domContentLoaded),dom_interactive:Ph(e.timings.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Ph(e.timings.firstContentfulPaint),first_input_delay:Ph(e.timings.firstInputDelay),first_input_time:Ph(e.timings.firstInputTime),is_active:e.isActive,name:e.name,largest_contentful_paint:Ph(e.timings.largestContentfulPaint),load_event:Ph(e.timings.loadEvent),loading_time:bg(Ph(e.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Ph(e.duration),in_foreground_periods:t.selectInForegroundPeriodsFor(e.startClocks.relative,e.duration)},session:{has_replay:!!r||void 0}};Up(e.customTimings)||(i.view.custom_timings=function(e,t){for(var n={},r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];n[o]=t(e[o])}return n}(e.customTimings,Ph));return{rawRumEvent:i,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(t,o,a))})),mg(n,e,r,i,!t.trackViewsManually,s)}function bg(e){return qp(e)&&e<0?void 0:e}function _g(e,t){var n=function(e,t){var n,r=o(e.rumEndpointBuilder,(function(){return t.notify(um.BEFORE_UNLOAD)})),i=e.replica;void 0!==i&&(n=o(i.rumEndpointBuilder));function o(t,n){return new dh(new ph(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout,n)}function a(e){return Zp(e,{application:{id:i.applicationId}})}var s=!1;return{add:function(e){s||(r.add(e),n&&n.add(a(e)))},stop:function(){s=!0},upsert:function(e,t){s||(r.upsert(e,t),n&&n.upsert(a(e),t))}}}(e,t);return t.subscribe(um.RUM_EVENT_COLLECTED,(function(e){e.type===em.VIEW?n.upsert(e,e.view.id):n.add(e)})),{stop:function(){return n.stop()}}}function wg(e){var t=(0,pp.__assign)({},e),n=new lm((function(){var e,t,n,i,o,a=(e=r,t=gv(history,"pushState",{after:e}).stop,n=gv(history,"replaceState",{after:e}).stop,i=Wp(window,"popstate",e).stop,{stop:function(){t(),n(),i()}}).stop,s=(o=r,Wp(window,"hashchange",o)).stop;return function(){a(),s()}}));function r(){if(t.href!==e.href){var r=(0,pp.__assign)({},e);n.notify({newLocation:r,oldLocation:t}),t=r}}return n}var kg=2,Eg=3,xg=4,Sg=6,Tg=7,Cg=8,Ag=(0,pp.__assign)((0,pp.__assign)({},rm),{IGNORE:"ignore",HIDDEN:"hidden"}),Og="data-dd-privacy",Ng="hidden",Pg="***",Ig={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function Lg(e,t){var n=e.parentNode?Lg(e.parentNode,t):t;return Mg(Rg(e),n)}function Mg(e,t){switch(t){case Ag.HIDDEN:case Ag.IGNORE:return t}switch(e){case Ag.ALLOW:case Ag.MASK:case Ag.MASK_USER_INPUT:case Ag.HIDDEN:case Ag.IGNORE:return e;default:return t}}function Rg(e){if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)){var t=e.getAttribute(Og);if("BASE"===e.tagName)return Ag.ALLOW;if("INPUT"===e.tagName){var n=e;if("password"===n.type||"email"===n.type||"tel"===n.type)return Ag.MASK;if("hidden"===n.type)return Ag.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return Ag.MASK}return t===Ng||e.classList.contains("dd-privacy-hidden")?Ag.HIDDEN:"mask"===t||e.classList.contains("dd-privacy-mask")?Ag.MASK:"mask-user-input"===t||e.classList.contains("dd-privacy-mask-user-input")?Ag.MASK_USER_INPUT:"allow"===t||e.classList.contains("dd-privacy-allow")?Ag.ALLOW:function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){return"preload"===(n=i("rel"))&&"script"===i("as")||"shortcut icon"===n||"icon"===n}if("META"===e.nodeName){var t=i("name"),n=i("rel"),r=i("property");return/^msapplication-tile(image|color)$/.test(t)||"application-name"===t||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===t||"description"===t||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(t)||"pinterest"===t||"robots"===t||"googlebot"===t||"bingbot"===t||e.hasAttribute("http-equiv")||"author"===t||"generator"===t||"framework"===t||"publisher"===t||"progid"===t||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===t||"yandex-verification"===t||"csrf-token"===t||"p:domain_verify"===t||"verify-v1"===t||"verification"===t||"shopify-checkout-api-token"===t}function i(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e)?Ag.IGNORE:void 0}}function Dg(e,t){switch(t){case Ag.MASK:case Ag.HIDDEN:case Ag.IGNORE:return!0;case Ag.MASK_USER_INPUT:return function(e){return e.nodeType===e.TEXT_NODE}(e)?qg(e.parentNode):qg(e);default:return!1}}function qg(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;var t=e;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!Ig[t.tagName]}var jg;function Fg(e,t,n){var r,i=null===(r=e.parentElement)||void 0===r?void 0:r.tagName,o=e.textContent||"";if(!t||o.trim()){var a=n,s="STYLE"===i||void 0;if("SCRIPT"===i)o=Pg;else if(a===Ag.HIDDEN)o=Pg;else if(Dg(e,a)&&!s)if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?Pg:o.replace(/\S/g,"x");return o}}!function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule"}(jg||(jg={}));var Bg,Ug=0,zg=1,Hg=2,Vg=3,Wg=4,Yg=5,Gg=6,Kg=7,Xg=9,$g=0,Zg=1;!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(Bg||(Bg={}));var Qg=new WeakMap;function Jg(e){return Qg.has(e)}function ey(e){return Qg.get(e)}function ty(e,t){var n=e.tagName,r=e.value;if(Dg(e,t)){var i=e.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return Pg}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}function ny(e){return Boolean(e.changedTouches)}function ry(e,t){Array.prototype.forEach.call(e,t)}function iy(e,t){return oy(e,{document:e,parentNodePrivacyLevel:t})}function oy(e,t){var n=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function(e,t){return{type:Bg.Document,childNodes:ay(e,t)}}(e,t);case e.DOCUMENT_TYPE_NODE:return n=e,{type:Bg.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case e.ELEMENT_NODE:return function(e,t){var n,r=cy(e.tagName),i=(a=e,"svg"===a.tagName||a instanceof SVGElement||void 0),o=Mg(Rg(e),t.parentNodePrivacyLevel);var a;if(o===Ag.HIDDEN){var s=e.getBoundingClientRect(),u=s.width,l=s.height;return{type:Bg.Element,tagName:r,attributes:(n={rr_width:u+"px",rr_height:l+"px"},n[Og]=Ng,n),childNodes:[],isSVG:i}}if(o===Ag.IGNORE)return;var c=function(e,t){if(t===Ag.HIDDEN)return{};for(var n={},r=cy(e.tagName),i=e.ownerDocument,o=0;o<e.attributes.length;o+=1){var a=e.attributes.item(o).name,s=sy(e,t,a);null!==s&&(n[a]=s)}if(e.value&&("textarea"===r||"select"===r||"option"===r||"input"===r)){var u=ty(e,t);void 0!==u&&(n.value=u)}if("option"===r&&t===Ag.ALLOW){var l=e;l.selected&&(n.selected=l.selected)}if("link"===r){var c=Array.from(i.styleSheets).find((function(t){return t.href===e.href}));(d=dy(c))&&c&&(delete n.rel,delete n.href,n._cssText=d)}if("style"===r&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var d;(d=dy(e.sheet))&&(n._cssText=d)}var f=e;"input"!==r||"radio"!==f.type&&"checkbox"!==f.type||(t===Ag.ALLOW?n.checked=!!f.checked:Dg(f,t)&&(n.checked=Pg));if("audio"===r||"video"===r){var p=e;n.rr_mediaState=p.paused?"paused":"played"}e.scrollLeft&&(n.rr_scrollLeft=Math.round(e.scrollLeft));e.scrollTop&&(n.rr_scrollTop=Math.round(e.scrollTop));return n}(e,o),d=[];if(e.childNodes.length){d=ay(e,t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===r)?t:(0,pp.__assign)((0,pp.__assign)({},t),{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))}return{type:Bg.Element,tagName:r,attributes:c,childNodes:d,isSVG:i}}(e,t);case e.TEXT_NODE:return function(e,t){var n,r=null===(n=e.parentElement)||void 0===n?void 0:n.tagName,i=Fg(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(!i)return;return{type:Bg.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(e,t);case e.CDATA_SECTION_NODE:return{type:Bg.CDATA,textContent:""}}var n}(e,t);if(!n)return null;var r=ey(e)||uy++,i=n;return i.id=r,function(e,t){Qg.set(e,t)}(e,r),t.serializedNodeIds&&t.serializedNodeIds.add(r),i}function ay(e,t){var n=[];return ry(e.childNodes,(function(e){var r=oy(e,t);r&&n.push(r)})),n}function sy(e,t,n){if(t===Ag.HIDDEN)return null;var r=e.getAttribute(n);if(t===Ag.MASK){var i=e.tagName;switch(n){case"title":case"alt":return Pg}if(!("IMG"!==i&&"SOURCE"!==i||"src"!==n&&"srcset"!==n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===i&&"href"===n)return Pg;if(r&&0===n.indexOf("data-")&&n!==Og)return Pg}return r&&"string"==typeof r&&r.length>1e5&&"data:"===r.slice(0,5)?"data:truncated":r}var uy=1;var ly=/[^a-z1-6-_]/;function cy(e){var t=e.toLowerCase().trim();return ly.test(t)?"div":t}function dy(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(fy).join(""):null}catch(e){return null}}function fy(e){return function(e){return"styleSheet"in e}(e)?dy(e.styleSheet)||"":e.cssText}function py(e){var t=Pp,n=[];function r(){t(),e(n),n=[]}return{addMutations:function(e){0===n.length&&(t=function(e){var t=window;if(t.requestIdleCallback){var n=t.requestIdleCallback(bh(e),{timeout:100});return function(){return t.cancelIdleCallback(n)}}var r=t.requestAnimationFrame(bh(e));return function(){return t.cancelAnimationFrame(r)}}(r)),n.push.apply(n,e)},flush:r,stop:function(){t()}}}function hy(e,t,n){var r=dm();if(!r)return{stop:Pp};var i=py((function(e){!function(e,t,n){var r=e.filter((function(e){return document.contains(e.target)&&function(e){for(var t=e;t;){if(!Jg(t))return!1;t=t.parentNode}return!0}(e.target)&&Lg(e.target,n)!==Ag.HIDDEN})),i=function(e,t){for(var n=new Set,r=new Map,i=function(e){ry(e.addedNodes,(function(e){n.add(e)})),ry(e.removedNodes,(function(t){n.has(t)||r.set(t,e.target),n.delete(t)}))},o=0,a=e;o<a.length;o++){i(a[o])}var s=Array.from(n);u=s,u.sort((function(e,t){var n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}));var u;for(var l=new Set,c=[],d=0,f=s;d<f.length;d++){var p=f[d];if(!g(p)){var h=Lg(p.parentNode,t);if(h!==Ag.HIDDEN&&h!==Ag.IGNORE){var m=oy(p,{document:document,serializedNodeIds:l,parentNodePrivacyLevel:h});m&&c.push({nextId:y(p),parentId:ey(p.parentNode),node:m})}}}var v=[];return r.forEach((function(e,t){Jg(t)&&v.push({parentId:ey(e),id:ey(t)})})),{adds:c,removes:v,hasBeenSerialized:g};function g(e){return Jg(e)&&l.has(ey(e))}function y(e){for(var t=e.nextSibling;t;){if(Jg(t))return ey(t);t=t.nextSibling}return null}}(r.filter((function(e){return"childList"===e.type})),n),o=i.adds,a=i.removes,s=i.hasBeenSerialized,u=function(e,t){for(var n,r=[],i=new Set,o=e.filter((function(e){return!i.has(e.target)&&(i.add(e.target),!0)})),a=0,s=o;a<s.length;a++){var u=s[a];if(u.target.textContent!==u.oldValue){var l=Lg(u.target.parentNode,t);l!==Ag.HIDDEN&&l!==Ag.IGNORE&&r.push({id:ey(u.target),value:null!==(n=Fg(u.target,!1,l))&&void 0!==n?n:null})}}return r}(r.filter((function(e){return"characterData"===e.type&&!s(e.target)})),n),l=function(e,t){for(var n=[],r=new Map,i=e.filter((function(e){var t=r.get(e.target);return!(null==t?void 0:t.has(e.attributeName))&&(t?t.add(e.attributeName):r.set(e.target,new Set([e.attributeName])),!0)})),o=new Map,a=0,s=i;a<s.length;a++){var u=s[a];if(u.target.getAttribute(u.attributeName)!==u.oldValue){var l=Lg(u.target,t),c=sy(u.target,l,u.attributeName),d=void 0;if("value"===u.attributeName){var f=ty(u.target,l);if(void 0===f)continue;d=f}else d=c&&"string"==typeof c?c:null;var p=o.get(u.target);p||(p={id:ey(u.target),attributes:{}},n.push(p),o.set(u.target,p)),p.attributes[u.attributeName]=d}}return n}(r.filter((function(e){return"attributes"===e.type&&!s(e.target)})),n);if(!(u.length||l.length||a.length||o.length))return;t({adds:o,removes:a,texts:u,attributes:l})}(e.concat(o.takeRecords()),t,n)})),o=new r(bh(i.addMutations));return o.observe(document,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e.onFlush(i.flush),{stop:function(){o.disconnect(),i.stop()}}}var my=function(){function e(){}return e.prototype.flush=function(){var e;null===(e=this.flushListener)||void 0===e||e.call(this)},e.prototype.onFlush=function(e){this.flushListener=e},e}();var vy,gy=function(e,t){var n=window.visualViewport,r={layoutViewportX:e,layoutViewportY:t,visualViewportX:e,visualViewportY:t};return n?(!function(){var e=window.visualViewport;return Math.abs(e.pageTop-e.offsetTop-window.scrollY)>25||Math.abs(e.pageLeft-e.offsetLeft-window.scrollX)>25}()?(r.visualViewportX=Math.round(e-n.offsetLeft),r.visualViewportY=Math.round(t-n.offsetTop)):(r.layoutViewportX=Math.round(e+n.offsetLeft),r.layoutViewportY=Math.round(t+n.offsetTop)),r):r},yy=function(){var e=window.visualViewport;return{scale:e.scale,offsetLeft:e.offsetLeft,offsetTop:e.offsetTop,pageLeft:e.pageLeft,pageTop:e.pageTop,height:e.height,width:e.width}};function by(){var e=window.visualViewport;return e?e.width*e.scale:window.innerWidth||0}function _y(){var e=window.visualViewport;return e?e.height*e.scale:window.innerHeight||0}function wy(){var e=window.visualViewport;return e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0}function ky(){var e=window.visualViewport;return e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0}function Ey(e){var t,n,r,i,o=(t=e.mutationController,n=e.mutationCb,r=e.defaultPrivacyLevel,hy(t,n,r).stop),a=function(e){var t=Cp(bh((function(t){var n=t.target;if(Jg(n)){var r=ny(t)?t.changedTouches[0]:t,i=r.clientX,o=r.clientY,a={id:ey(n),timeOffset:0,x:i,y:o};if(window.visualViewport){var s=gy(i,o),u=s.visualViewportX,l=s.visualViewportY;a.x=u,a.y=l}e([a],ny(t)?jg.TouchMove:jg.MouseMove)}})),50,{trailing:!1}).throttled;return Yp(document,["mousemove","touchmove"],t,{capture:!0,passive:!0}).stop}(e.mousemoveCb),s=function(e,t){var n=function(n){var r=n.target;if(Lg(r,t)!==Ag.HIDDEN&&Jg(r)){var i=ny(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,s={id:ey(r),type:xy[n.type],x:o,y:a};if(window.visualViewport){var u=gy(o,a),l=u.visualViewportX,c=u.visualViewportY;s.x=l,s.y=c}e(s)}};return Yp(document,Object.keys(xy),n,{capture:!0,passive:!0}).stop}(e.mouseInteractionCb,e.defaultPrivacyLevel),u=function(e,t){var n=Cp(bh((function(n){var r=n.target;if(r&&Lg(r,t)!==Ag.HIDDEN&&Jg(r)){var i=ey(r);r===document?e({id:i,x:wy(),y:ky()}):e({id:i,x:r.scrollLeft,y:r.scrollTop})}})),100).throttled;return Wp(document,"scroll",n,{capture:!0,passive:!0}).stop}(e.scrollCb,e.defaultPrivacyLevel),l=function(e){var t=Cp(bh((function(){var t=_y(),n=by();e({height:Number(t),width:Number(n)})})),200).throttled;return Wp(window,"resize",t,{capture:!0,passive:!0}).stop}(e.viewportResizeCb),c=function(e,t){function n(e){var n=e.target,i=Lg(n,t);if(n&&n.tagName&&Mp(Sy,n.tagName)&&i!==Ag.HIDDEN){var o,a=n.type;if("radio"===a||"checkbox"===a){if(Dg(n,i))return;o={isChecked:n.checked}}else{var s=ty(n,i);if(void 0===s)return;o={text:s}}r(n,o);var u=n.name;"radio"===a&&u&&n.checked&&ry(document.querySelectorAll('input[type="radio"][name="'+u+'"]'),(function(e){e!==n&&r(e,{isChecked:!1})}))}}function r(t,n){if(Jg(t)){var r=Ty.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(Ty.set(t,n),e((0,pp.__assign)((0,pp.__assign)({},n),{id:ey(t)})))}}var i=Yp(document,["input","change"],n,{capture:!0,passive:!0}).stop,o=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),a=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"]],s=[];o&&o.set&&s.push.apply(s,a.map((function(e){return function(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);return Object.defineProperty(e,t,{set:function(e){var t=this;setTimeout((function(){n.set.call(t,e)}),0),r&&r.set&&r.set.call(this,e)}}),function(){Object.defineProperty(e,t,r||{})}}(e[0],e[1],{set:bh((function(){n({target:this})}))})})));return function(){s.forEach((function(e){return e()})),i()}}(e.inputCb,e.defaultPrivacyLevel),d=function(e,t){return Yp(document,["play","pause"],(function(n){var r=n.target;r&&Lg(r,t)!==Ag.HIDDEN&&Jg(r)&&e({id:ey(r),type:"play"===n.type?$g:Zg})}),{capture:!0,passive:!0}).stop}(e.mediaInteractionCb,e.defaultPrivacyLevel),f=function(e){var t=CSSStyleSheet.prototype.insertRule;CSSStyleSheet.prototype.insertRule=function(n,r){var i=this;return _h((function(){Jg(i.ownerNode)&&e({id:ey(i.ownerNode),adds:[{rule:n,index:r}]})})),t.call(this,n,r)};var n=CSSStyleSheet.prototype.deleteRule;return CSSStyleSheet.prototype.deleteRule=function(t){var r=this;return _h((function(){Jg(r.ownerNode)&&e({id:ey(r.ownerNode),removes:[{index:t}]})})),n.call(this,t)},function(){CSSStyleSheet.prototype.insertRule=t,CSSStyleSheet.prototype.deleteRule=n}}(e.styleSheetRuleCb),p=(i=e.focusCb,Yp(window,["focus","blur"],(function(){i({has_focus:document.hasFocus()})})).stop),h=function(e){if(!window.visualViewport)return Pp;var t=Cp(bh((function(){e(yy())})),200,{trailing:!1}),n=t.throttled,r=t.cancel,i=Yp(window.visualViewport,["resize","scroll"],n,{capture:!0,passive:!0}).stop;return function(){i(),r()}}(e.visualViewportResizeCb);return function(){o(),a(),s(),u(),l(),c(),d(),f(),p(),h()}}var xy=((vy={}).mouseup=Ug,vy.mousedown=zg,vy.click=Hg,vy.contextmenu=Vg,vy.dblclick=Wg,vy.focus=Yg,vy.blur=Gg,vy.touchstart=Kg,vy.touchend=Xg,vy);var Sy=["INPUT","TEXTAREA","SELECT"],Ty=new WeakMap;function Cy(e,t,n,r,i){var o=new FormData;o.append("segment",new Blob([t],{type:"application/octet-stream"}),n.session.id+"-"+n.start),Ay(n,(function(e,t){return o.append(e,t)})),o.append("raw_segment_size",r.toString()),new ph(e,6e4).send(o,t.byteLength,i)}function Ay(e,t,n){void 0===n&&(n=""),Bp(e).forEach((function(e){var r=e[0],i=e[1];"object"==typeof i&&null!==i?Ay(i,t,""+n+r+"."):t(""+n+r,String(i))}))}var Oy;function Ny(e){return Ly(e).segments_count}function Py(e){Ly(e).records_count+=1}function Iy(e){return null==Oy?void 0:Oy.get(e)}function Ly(e){var t;return Oy||(Oy=new Map),Oy.has(e)?t=Oy.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},Oy.set(e,t),Oy.size>10&&function(){if(!Oy)return;if(Oy.keys)Oy.delete(Oy.keys().next().value);else{var e=!0;Oy.forEach((function(t,n){e&&(Oy.delete(n),e=!1)}))}}()),t}var My,Ry=0,Dy=function(){function e(e,t,n,r,i,o){var a=this;this.worker=e,this.isFlushed=!1,this.id=Ry++;var s=t.view.id;this.metadata=(0,pp.__assign)({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:r.type===kg,index_in_view:Ny(s)},t),function(e){Ly(e).segments_count+=1}(s),Py(s);var u=bh((function(t){var n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===a.id?(!function(e,t){Ly(e).segments_total_raw_size+=t}(s,n.additionalRawSize),"flushed"===n.type?(o(n.result,n.rawSize),e.removeEventListener("message",u)):i(n.compressedSize)):n.id>a.id&&(e.removeEventListener("message",u),wh("Segment did not receive a 'flush' response before being replaced.")))}));e.addEventListener("message",u),this.worker.postMessage({data:'{"records":['+JSON.stringify(r),id:this.id,action:"write"})}return e.prototype.addRecord=function(e){var t;this.metadata.end=e.timestamp,this.metadata.records_count+=1,Py(this.metadata.view.id),(t=this.metadata).has_full_snapshot||(t.has_full_snapshot=e.type===kg),this.worker.postMessage({data:","+JSON.stringify(e),id:this.id,action:"write"})},e.prototype.flush=function(e){this.worker.postMessage({data:"],"+JSON.stringify(this.metadata).slice(1)+"\n",id:this.id,action:"flush"}),this.isFlushed=!0,this.flushReason=e},e}(),qy=6e4;function jy(e,t,n,r,i,o){return function(e,t,n,r,i){void 0===i&&(i=window);var o={status:0,nextSegmentCreationReason:"init"},a=e.subscribe(um.VIEW_CREATED,(function(){l("view_change")})).unsubscribe,s=e.subscribe(um.BEFORE_UNLOAD,(function(){l("before_unload")})).unsubscribe,u=Wp(i,"visibilitychange",(function(){"hidden"===document.visibilityState&&l("visibility_hidden")}),{capture:!0}).stop;function l(e){1===o.status&&(o.segment.flush(e||"sdk_stopped"),clearTimeout(o.expirationTimeoutId)),o=e?{status:0,nextSegmentCreationReason:e}:{status:2}}function c(e,i){var a=t();if(a){var s=new Dy(r,a,e,i,(function(e){!s.isFlushed&&e>qy&&l("max_size")}),(function(e,t){n(e,s.metadata,t,s.flushReason)}));o={status:1,segment:s,expirationTimeoutId:setTimeout(bh((function(){l("max_duration")})),3e4)}}}return{addRecord:function(e){switch(o.status){case 0:c(o.nextSegmentCreationReason,e);break;case 1:o.segment.addRecord(e)}},stop:function(){l(),a(),s(),u()}}}(e,(function(){return function(e,t,n){var r=t.findTrackedSession(),i=n.findView();if(!r||!i)return;return{application:{id:e},session:{id:r.id},view:{id:i.view.id}}}(t,n,r)}),i,o)}function Fy(){return My||(My=URL.createObjectURL(new Blob(["("+By+")(self)"]))),new Worker(My)}function By(){function e(e){return function(){try{return e.apply(this,arguments)}catch(e){try{self.postMessage({type:"errored",error:e})}catch(t){self.postMessage({type:"errored",error:""+e})}}}}e((function(){var t=function(){var e=4,t=0,n=1,r=2;function i(e){for(var t=e.length;--t>=0;)e[t]=0}var o=0,a=1,s=2,u=3,l=258,c=29,d=256,f=d+1+c,p=30,h=19,m=2*f+1,v=15,g=16,y=7,b=256,_=16,w=17,k=18,E=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),x=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),S=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),T=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),C=512,A=new Array(2*(f+2));i(A);var O=new Array(2*p);i(O);var N=new Array(C);i(N);var P=new Array(l-u+1);i(P);var I=new Array(c);i(I);var L,M,R,D=new Array(p);function q(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function j(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}i(D);var F=function(e){return e<256?N[e]:N[256+(e>>>7)]},B=function(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255},U=function(e,t,n){e.bi_valid>g-n?(e.bi_buf|=t<<e.bi_valid&65535,B(e,e.bi_buf),e.bi_buf=t>>g-e.bi_valid,e.bi_valid+=n-g):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},z=function(e,t,n){U(e,n[2*t],n[2*t+1])},H=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},V=function(e){16===e.bi_valid?(B(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)},W=function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,d=t.stat_desc.has_stree,f=t.stat_desc.extra_bits,p=t.stat_desc.extra_base,h=t.stat_desc.max_length,g=0;for(o=0;o<=v;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<m;n++)(o=u[2*u[2*(r=e.heap[n])+1]+1]+1)>h&&(o=h,g++),u[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=p&&(a=f[r-p]),s=u[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==g){do{for(o=h-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[h]--,g-=2}while(g>0);for(o=h;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}},Y=function(e,t,n){var r,i,o=new Array(v+1),a=0;for(r=1;r<=v;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=H(o[s]++,s))}},G=function(){var e,t,n,r,i,o=new Array(v+1);for(n=0,r=0;r<c-1;r++)for(I[r]=n,e=0;e<1<<E[r];e++)P[n++]=r;for(P[n-1]=r,i=0,r=0;r<16;r++)for(D[r]=i,e=0;e<1<<x[r];e++)N[i++]=r;for(i>>=7;r<p;r++)for(D[r]=i<<7,e=0;e<1<<x[r]-7;e++)N[256+i++]=r;for(t=0;t<=v;t++)o[t]=0;for(e=0;e<=143;)A[2*e+1]=8,e++,o[8]++;for(;e<=255;)A[2*e+1]=9,e++,o[9]++;for(;e<=279;)A[2*e+1]=7,e++,o[7]++;for(;e<=287;)A[2*e+1]=8,e++,o[8]++;for(Y(A,f+1,o),e=0;e<p;e++)O[2*e+1]=5,O[2*e]=H(e,5);L=new q(A,E,d+1,f,v),M=new q(O,x,0,p,v),R=new q(new Array(0),S,0,h,y)},K=function(e){var t;for(t=0;t<f;t++)e.dyn_ltree[2*t]=0;for(t=0;t<p;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0},X=function(e){e.bi_valid>8?B(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},$=function(e,t,n,r){X(e),r&&(B(e,n),B(e,~n)),e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Z=function(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]},Q=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&Z(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!Z(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},J=function(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?z(e,i,t):(o=P[i],z(e,o+d+1,t),0!==(a=E[o])&&(i-=I[o],U(e,i,a)),r--,o=F(r),z(e,o,n),0!==(a=x[o])&&(r-=D[o],U(e,r,a)))}while(s<e.last_lit);z(e,b,t)},ee=function(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=m,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)Q(e,o,n);i=u;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Q(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],W(e,t),Y(o,l,e.bl_count)},te=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*_]++):s<=10?e.bl_tree[2*w]++:e.bl_tree[2*k]++,s=0,o=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4))},ne=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<l)do{z(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(z(e,i,e.bl_tree),s--),z(e,_,e.bl_tree),U(e,s-3,2)):s<=10?(z(e,w,e.bl_tree),U(e,s-3,3)):(z(e,k,e.bl_tree),U(e,s-11,7));s=0,o=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4)}},re=function(e){var t;for(te(e,e.dyn_ltree,e.l_desc.max_code),te(e,e.dyn_dtree,e.d_desc.max_code),ee(e,e.bl_desc),t=h-1;t>=3&&0===e.bl_tree[2*T[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t},ie=function(e,t,n,r){var i;for(U(e,t-257,5),U(e,n-1,5),U(e,r-4,4),i=0;i<r;i++)U(e,e.bl_tree[2*T[i]+1],3);ne(e,e.dyn_ltree,t-1),ne(e,e.dyn_dtree,n-1)},oe=function(e){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*r])return t;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return n;for(r=32;r<d;r++)if(0!==e.dyn_ltree[2*r])return n;return t},ae=!1,se=function(e,t,n,r){U(e,(o<<1)+(r?1:0),3),$(e,t,n,!0)},ue=function(t,n,i,o){var u,l,c=0;t.level>0?(t.strm.data_type===r&&(t.strm.data_type=oe(t)),ee(t,t.l_desc),ee(t,t.d_desc),c=re(t),u=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=u&&(u=l)):u=l=i+5,i+4<=u&&-1!==n?se(t,n,i,o):t.strategy===e||l===u?(U(t,(a<<1)+(o?1:0),3),J(t,A,O)):(U(t,(s<<1)+(o?1:0),3),ie(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),J(t,t.dyn_ltree,t.dyn_dtree)),K(t),o&&X(t)},le=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(P[n]+d+1)]++,e.dyn_dtree[2*F(t)]++),e.last_lit===e.lit_bufsize-1},ce={_tr_init:function(e){ae||(G(),ae=!0),e.l_desc=new j(e.dyn_ltree,L),e.d_desc=new j(e.dyn_dtree,M),e.bl_desc=new j(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,K(e)},_tr_stored_block:se,_tr_flush_block:ue,_tr_tally:le,_tr_align:function(e){U(e,a<<1,3),z(e,b,A),V(e)}},de=function(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},fe=new Uint32Array(function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}()),pe=function(e,t,n,r){var i=fe,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},he=pe,me={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},ve={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},ge=ce._tr_init,ye=ce._tr_stored_block,be=ce._tr_flush_block,_e=ce._tr_tally,we=ce._tr_align,ke=ve.Z_NO_FLUSH,Ee=ve.Z_PARTIAL_FLUSH,xe=ve.Z_FULL_FLUSH,Se=ve.Z_FINISH,Te=ve.Z_BLOCK,Ce=ve.Z_OK,Ae=ve.Z_STREAM_END,Oe=ve.Z_STREAM_ERROR,Ne=ve.Z_DATA_ERROR,Pe=ve.Z_BUF_ERROR,Ie=ve.Z_DEFAULT_COMPRESSION,Le=ve.Z_FILTERED,Me=ve.Z_HUFFMAN_ONLY,Re=ve.Z_RLE,De=ve.Z_FIXED,qe=ve.Z_DEFAULT_STRATEGY,je=ve.Z_UNKNOWN,Fe=ve.Z_DEFLATED,Be=9,Ue=15,ze=8,He=286,Ve=30,We=19,Ye=2*He+1,Ge=15,Ke=3,Xe=258,$e=Xe+Ke+1,Ze=32,Qe=42,Je=69,et=73,tt=91,nt=103,rt=113,it=666,ot=1,at=2,st=3,ut=4,lt=3,ct=function(e,t){return e.msg=me[t],t},dt=function(e){return(e<<1)-(e>4?9:0)},ft=function(e){for(var t=e.length;--t>=0;)e[t]=0},pt=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},ht=function(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))},mt=function(e,t){be(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ht(e.strm)},vt=function(e,t){e.pending_buf[e.pending++]=t},gt=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},yt=function(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),1===e.state.wrap?e.adler=de(e.adler,t,i,n):2===e.state.wrap&&(e.adler=he(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},bt=function(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-$e?e.strstart-(e.w_size-$e):0,l=e.window,c=e.w_mask,d=e.prev,f=e.strstart+Xe,p=l[o+a-1],h=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(n=t)+a]===h&&l[n+a-1]===p&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<f);if(r=Xe-(f-o),o=f-Xe,r>a){if(e.match_start=t,a=r,r>=s)break;p=l[o+a-1],h=l[o+a]}}}while((t=d[t&c])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead},_t=function(e){var t,n,r,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-$e)){e.window.set(e.window.subarray(a,a+a),0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);t=n=a;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);i+=a}if(0===e.strm.avail_in)break;if(n=yt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=Ke)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=pt(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=pt(e,e.ins_h,e.window[o+Ke-1]),e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<Ke)););}while(e.lookahead<$e&&0!==e.strm.avail_in)},wt=function(e,t){for(var n,r;;){if(e.lookahead<$e){if(_t(e),e.lookahead<$e&&t===ke)return ot;if(0===e.lookahead)break}if(n=0,e.lookahead>=Ke&&(e.ins_h=pt(e,e.ins_h,e.window[e.strstart+Ke-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-$e&&(e.match_length=bt(e,n)),e.match_length>=Ke)if(r=_e(e,e.strstart-e.match_start,e.match_length-Ke),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ke){e.match_length--;do{e.strstart++,e.ins_h=pt(e,e.ins_h,e.window[e.strstart+Ke-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=pt(e,e.ins_h,e.window[e.strstart+1]);else r=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(mt(e,!1),0===e.strm.avail_out))return ot}return e.insert=e.strstart<Ke-1?e.strstart:Ke-1,t===Se?(mt(e,!0),0===e.strm.avail_out?st:ut):e.last_lit&&(mt(e,!1),0===e.strm.avail_out)?ot:at},kt=function(e,t){for(var n,r,i;;){if(e.lookahead<$e){if(_t(e),e.lookahead<$e&&t===ke)return ot;if(0===e.lookahead)break}if(n=0,e.lookahead>=Ke&&(e.ins_h=pt(e,e.ins_h,e.window[e.strstart+Ke-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Ke-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-$e&&(e.match_length=bt(e,n),e.match_length<=5&&(e.strategy===Le||e.match_length===Ke&&e.strstart-e.match_start>4096)&&(e.match_length=Ke-1)),e.prev_length>=Ke&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-Ke,r=_e(e,e.strstart-1-e.prev_match,e.prev_length-Ke),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=pt(e,e.ins_h,e.window[e.strstart+Ke-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=Ke-1,e.strstart++,r&&(mt(e,!1),0===e.strm.avail_out))return ot}else if(e.match_available){if((r=_e(e,0,e.window[e.strstart-1]))&&mt(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return ot}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=_e(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ke-1?e.strstart:Ke-1,t===Se?(mt(e,!0),0===e.strm.avail_out?st:ut):e.last_lit&&(mt(e,!1),0===e.strm.avail_out)?ot:at},Et=function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=Xe){if(_t(e),e.lookahead<=Xe&&t===ke)return ot;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=Ke&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+Xe;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=Xe-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ke?(n=_e(e,1,e.match_length-Ke),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(mt(e,!1),0===e.strm.avail_out))return ot}return e.insert=0,t===Se?(mt(e,!0),0===e.strm.avail_out?st:ut):e.last_lit&&(mt(e,!1),0===e.strm.avail_out)?ot:at},xt=function(e,t){for(var n;;){if(0===e.lookahead&&(_t(e),0===e.lookahead)){if(t===ke)return ot;break}if(e.match_length=0,n=_e(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(mt(e,!1),0===e.strm.avail_out))return ot}return e.insert=0,t===Se?(mt(e,!0),0===e.strm.avail_out?st:ut):e.last_lit&&(mt(e,!1),0===e.strm.avail_out)?ot:at};function St(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var Tt=[new St(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(_t(e),0===e.lookahead&&t===ke)return ot;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,mt(e,!1),0===e.strm.avail_out))return ot;if(e.strstart-e.block_start>=e.w_size-$e&&(mt(e,!1),0===e.strm.avail_out))return ot}return e.insert=0,t===Se?(mt(e,!0),0===e.strm.avail_out?st:ut):(e.strstart>e.block_start&&(mt(e,!1),e.strm.avail_out),ot)})),new St(4,4,8,4,wt),new St(4,5,16,8,wt),new St(4,6,32,32,wt),new St(4,4,16,16,kt),new St(8,16,32,32,kt),new St(8,16,128,128,kt),new St(8,32,128,256,kt),new St(32,128,258,1024,kt),new St(32,258,258,4096,kt)],Ct=function(e){e.window_size=2*e.w_size,ft(e.head),e.max_lazy_match=Tt[e.level].max_lazy,e.good_match=Tt[e.level].good_length,e.nice_match=Tt[e.level].nice_length,e.max_chain_length=Tt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ke-1,e.match_available=0,e.ins_h=0};function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Fe,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(2*Ye),this.dyn_dtree=new Uint16Array(2*(2*Ve+1)),this.bl_tree=new Uint16Array(2*(2*We+1)),ft(this.dyn_ltree),ft(this.dyn_dtree),ft(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Ge+1),this.heap=new Uint16Array(2*He+1),ft(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*He+1),ft(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}var Ot=function(e){if(!e||!e.state)return ct(e,Oe);e.total_in=e.total_out=0,e.data_type=je;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?Qe:rt,e.adler=2===t.wrap?0:1,t.last_flush=ke,ge(t),Ce},Nt=function(e){var t=Ot(e);return t===Ce&&Ct(e.state),t},Pt=function(e,t){return e&&e.state?2!==e.state.wrap?Oe:(e.state.gzhead=t,Ce):Oe},It=function(e,t,n,r,i,o){if(!e)return Oe;var a=1;if(t===Ie&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>Be||n!==Fe||r<8||r>15||t<0||t>9||o<0||o>De)return ct(e,Oe);8===r&&(r=9);var s=new At;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+Ke-1)/Ke),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,Nt(e)},Lt=function(e,t){var n=t.length;if(!e||!e.state)return Oe;var r=e.state,i=r.wrap;if(2===i||1===i&&r.status!==Qe||r.lookahead)return Oe;if(1===i&&(e.adler=de(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(ft(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(t.subarray(n-r.w_size,n),0),t=o,n=r.w_size}var a=e.avail_in,s=e.next_in,u=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,_t(r);r.lookahead>=Ke;){var l=r.strstart,c=r.lookahead-(Ke-1);do{r.ins_h=pt(r,r.ins_h,r.window[l+Ke-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++}while(--c);r.strstart=l,r.lookahead=Ke-1,_t(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=Ke-1,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=a,r.wrap=i,Ce},Mt={deflateInit:function(e,t){return It(e,t,Fe,Ue,ze,qe)},deflateInit2:It,deflateReset:Nt,deflateResetKeep:Ot,deflateSetHeader:Pt,deflate:function(e,t){var n,r;if(!e||!e.state||t>Te||t<0)return e?ct(e,Oe):Oe;var i=e.state;if(!e.output||!e.input&&0!==e.avail_in||i.status===it&&t!==Se)return ct(e,0===e.avail_out?Pe:Oe);i.strm=e;var o=i.last_flush;if(i.last_flush=t,i.status===Qe)if(2===i.wrap)e.adler=0,vt(i,31),vt(i,139),vt(i,8),i.gzhead?(vt(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),vt(i,255&i.gzhead.time),vt(i,i.gzhead.time>>8&255),vt(i,i.gzhead.time>>16&255),vt(i,i.gzhead.time>>24&255),vt(i,9===i.level?2:i.strategy>=Me||i.level<2?4:0),vt(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(vt(i,255&i.gzhead.extra.length),vt(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=he(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Je):(vt(i,0),vt(i,0),vt(i,0),vt(i,0),vt(i,0),vt(i,9===i.level?2:i.strategy>=Me||i.level<2?4:0),vt(i,lt),i.status=rt);else{var a=Fe+(i.w_bits-8<<4)<<8;a|=(i.strategy>=Me||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=Ze),a+=31-a%31,i.status=rt,gt(i,a),0!==i.strstart&&(gt(i,e.adler>>>16),gt(i,65535&e.adler)),e.adler=1}if(i.status===Je)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(e.adler=he(e.adler,i.pending_buf,i.pending-n,n)),ht(e),n=i.pending,i.pending!==i.pending_buf_size));)vt(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=he(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=et)}else i.status=et;if(i.status===et)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=he(e.adler,i.pending_buf,i.pending-n,n)),ht(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,vt(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=he(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=tt)}else i.status=tt;if(i.status===tt)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=he(e.adler,i.pending_buf,i.pending-n,n)),ht(e),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,vt(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=he(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=nt)}else i.status=nt;if(i.status===nt&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ht(e),i.pending+2<=i.pending_buf_size&&(vt(i,255&e.adler),vt(i,e.adler>>8&255),e.adler=0,i.status=rt)):i.status=rt),0!==i.pending){if(ht(e),0===e.avail_out)return i.last_flush=-1,Ce}else if(0===e.avail_in&&dt(t)<=dt(o)&&t!==Se)return ct(e,Pe);if(i.status===it&&0!==e.avail_in)return ct(e,Pe);if(0!==e.avail_in||0!==i.lookahead||t!==ke&&i.status!==it){var s=i.strategy===Me?xt(i,t):i.strategy===Re?Et(i,t):Tt[i.level].func(i,t);if(s!==st&&s!==ut||(i.status=it),s===ot||s===st)return 0===e.avail_out&&(i.last_flush=-1),Ce;if(s===at&&(t===Ee?we(i):t!==Te&&(ye(i,0,0,!1),t===xe&&(ft(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),ht(e),0===e.avail_out))return i.last_flush=-1,Ce}return t!==Se?Ce:i.wrap<=0?Ae:(2===i.wrap?(vt(i,255&e.adler),vt(i,e.adler>>8&255),vt(i,e.adler>>16&255),vt(i,e.adler>>24&255),vt(i,255&e.total_in),vt(i,e.total_in>>8&255),vt(i,e.total_in>>16&255),vt(i,e.total_in>>24&255)):(gt(i,e.adler>>>16),gt(i,65535&e.adler)),ht(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?Ce:Ae)},deflateEnd:function(e){if(!e||!e.state)return Oe;var t=e.state.status;return t!==Qe&&t!==Je&&t!==et&&t!==tt&&t!==nt&&t!==rt&&t!==it?ct(e,Oe):(e.state=null,t===rt?ct(e,Ne):Ce)},deflateSetDictionary:Lt,deflateInfo:"pako deflate (from Nodeca project)"};function Rt(e){return Rt="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},Rt(e)}var Dt=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},qt=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==Rt(n))throw new TypeError(n+"must be non-object");for(var r in n)Dt(n,r)&&(e[r]=n[r])}}return e},jt={assign:qt,flattenChunks:function(e){for(var t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;for(var i=new Uint8Array(t),o=0,a=0,s=e.length;o<s;o++){var u=e[o];i.set(u,a),a+=u.length}return i}};try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){!1}for(var Ft=new Uint8Array(256),Bt=0;Bt<256;Bt++)Ft[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;function Ut(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Ft[254]=Ft[254]=1;var zt=Ut,Ht=Object.prototype.toString,Vt=ve.Z_NO_FLUSH,Wt=ve.Z_SYNC_FLUSH,Yt=ve.Z_FULL_FLUSH,Gt=ve.Z_FINISH,Kt=ve.Z_OK,Xt=ve.Z_STREAM_END,$t=ve.Z_DEFAULT_COMPRESSION,Zt=ve.Z_DEFAULT_STRATEGY,Qt=ve.Z_DEFLATED;function Jt(e){this.options=jt.assign({level:$t,method:Qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Zt},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new zt,this.strm.avail_out=0;var n=Mt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Kt)throw new Error(me[n]);if(t.header&&Mt.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=Mt.deflateSetDictionary(this.strm,r))!==Kt)throw new Error(me[n]);this._dict_set=!0}}function en(e){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(e);var t,n,r,i,o,a=e.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}return Jt.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=t===~~t?t:!0===t?Gt:Vt,"[object ArrayBuffer]"===Ht.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===Wt||r===Yt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=Mt.deflate(i,r))===Xt)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=Mt.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Kt;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Jt.prototype.onData=function(e){this.chunks.push(e)},Jt.prototype.onEnd=function(e){e===Kt&&(this.result=jt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},{Deflate:Jt,constants:ve,string2buf:en}}(),n=t.Deflate,r=t.constants,i=t.string2buf,o=new n,a=0;function s(e){var t=i(e);return o.push(t,r.Z_SYNC_FLUSH),a+=t.length,t.length}self.addEventListener("message",e((function(e){var t=e.data;switch(t.action){case"init":self.postMessage({type:"initialized"});break;case"write":var i=s(t.data);self.postMessage({type:"wrote",id:t.id,compressedSize:o.chunks.reduce((function(e,t){return e+t.length}),0),additionalRawSize:i});break;case"flush":i=t.data?s(t.data):0;o.push("",r.Z_FINISH),self.postMessage({type:"flushed",id:t.id,result:o.result,additionalRawSize:i,rawSize:a}),o=new n,a=0}})))}))()}var Uy={status:0};function zy(e,t){switch(void 0===t&&(t=Fy),Uy.status){case 0:Uy={status:1,callbacks:[e]},function(e){void 0===e&&(e=Fy);try{var t=e();t.addEventListener("error",bh(Hy)),t.addEventListener("message",bh((function(e){var n,r=e.data;"errored"===r.type?Hy(r.error):"initialized"===r.type&&(n=t,1===Uy.status&&(Uy.callbacks.forEach((function(e){return e(n)})),Uy={status:3,worker:n}))}))),t.postMessage({action:"init"})}catch(e){Hy(e)}}(t);break;case 1:Uy.callbacks.push(e);break;case 2:e();break;case 3:e(Uy.worker)}}function Hy(e){1===Uy.status?(hp.error("Session Replay recording failed to start: an error occurred while creating the Worker:",e),e instanceof Event||e instanceof Error&&Mp(e.message,"Content Security Policy")?hp.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):kh(e),Uy.callbacks.forEach((function(e){return e()})),Uy={status:2}):kh(e)}var Vy=function(e,t){if(void 0===t&&(t=zy),uh())return{start:Pp,stop:Pp,getReplayStats:function(){},onRumStart:Pp,isRecording:function(){return!1}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getReplayStats:Iy,onRumStart:function(o,a,s,u){o.subscribe(um.SESSION_EXPIRED,(function(){2!==n.status&&3!==n.status||(i(),n={status:1})})),o.subscribe(um.SESSION_RENEWED,(function(){1===n.status&&r()})),r=function(){var r=s.findTrackedSession();r&&r.hasReplayPlan?2!==n.status&&3!==n.status&&(n={status:2},Gp("interactive",(function(){2===n.status&&t((function(t){if(2===n.status)if(t){var r=e(o,a,s,u,t).stop;n={status:3,stopRecording:r}}else n={status:0}}))}))):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===n.status}}}((function(e,t,n,r,i){var o=jy(e,t.applicationId,n,r,(function(e,n,r,i){return Cy(t.sessionReplayEndpointBuilder,e,n,r,i)}),i),a=o.addRecord,s=o.stop;function u(e){a((0,pp.__assign)((0,pp.__assign)({},e),{timestamp:Date.now()}))}var l=function(e){var t=e.emit;if(!t)throw new Error("emit function is required");var n=new my,r=function(){n.flush(),t({data:{height:_y(),href:window.location.href,width:by()},type:xg}),t({data:{has_focus:document.hasFocus()},type:Sg}),t({data:{node:iy(document,e.defaultPrivacyLevel),initialOffset:{left:wy(),top:ky()}},type:kg}),window.visualViewport&&t({data:yy(),type:Cg})};r();var i=Ey({mutationController:n,defaultPrivacyLevel:e.defaultPrivacyLevel,inputCb:function(e){return t({data:(0,pp.__assign)({source:jg.Input},e),type:Eg})},mediaInteractionCb:function(e){return t({data:(0,pp.__assign)({source:jg.MediaInteraction},e),type:Eg})},mouseInteractionCb:function(e){return t({data:(0,pp.__assign)({source:jg.MouseInteraction},e),type:Eg})},mousemoveCb:function(e,n){return t({data:{positions:e,source:n},type:Eg})},mutationCb:function(e){return t({data:(0,pp.__assign)({source:jg.Mutation},e),type:Eg})},scrollCb:function(e){return t({data:(0,pp.__assign)({source:jg.Scroll},e),type:Eg})},styleSheetRuleCb:function(e){return t({data:(0,pp.__assign)({source:jg.StyleSheetRule},e),type:Eg})},viewportResizeCb:function(e){return t({data:(0,pp.__assign)({source:jg.ViewportResize},e),type:Eg})},focusCb:function(e){return t({type:Sg,data:e})},visualViewportResizeCb:function(e){t({data:e,type:Cg})}});return{stop:i,takeFullSnapshot:r,flushMutations:function(){return n.flush()}}}({emit:u,defaultPrivacyLevel:t.defaultPrivacyLevel}),c=l.stop,d=l.takeFullSnapshot,f=l.flushMutations,p=e.subscribe(um.VIEW_ENDED,(function(){f(),u({type:Tg})})).unsubscribe,h=e.subscribe(um.VIEW_CREATED,d).unsubscribe;return{stop:function(){p(),h(),c(),s()}}})),Wy=function(e,t,n){var r=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,i=void 0===r||r,o=!1,a=function(){var e={};return{get:function(){return e},add:function(t,n){e[t]=n},remove:function(t){delete e[t]},set:function(t){e=t}}}(),s={},u=function(){},l=function(){},c=new Ah,d=function(e,t){void 0===t&&(t=Ih()),c.add((function(){return d(e,t)}))},f=function(e,t){void 0===t&&(t=Mh()),c.add((function(){return f(e,t)}))},p=function(e,t){void 0===t&&(t=m()),c.add((function(){return p(e,t)}))},h=function(e,t){void 0===t&&(t=m()),c.add((function(){return h(e,t)}))};function m(){return $p({context:a.get(),user:s})}function v(n,r,i){var o=e(n,r,(function(){return{user:s,context:a.get(),hasReplay:!!t.isRecording()||void 0}}),t,i);f=o.startView,p=o.addAction,h=o.addError,d=o.addTiming,u=o.getInternalContext,c.drain(),t.onRumStart(o.lifeCycle,n,o.session,o.parentContexts)}var g=function(e,t){var n=(0,pp.__assign)((0,pp.__assign)({},t),{version:e.sdkVersion,onReady:function(e){e()}});return Object.defineProperty(n,"_setDebug",{get:function(){return xh},enumerable:!1}),n}(sm,{init:bh((function(e){if(!i||!am()){if(uh())e=function(e){return(0,pp.__assign)((0,pp.__assign)({},e),{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sampleRate:100})}(e);else if(!function(e){if(!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_"+Ap(),n="test";Uh(t,n,Sp,e);var r=zh(t)===n;return Hh(t,e),r}catch(e){return hp.error(e),!1}}(om(e)))return hp.warn("Cookies are not authorized, we will not send any data."),!1;if("file:"===window.location.protocol)return hp.error("Execution is not allowed in the current context."),!1;return!0}(e))return;if(function(e){if(o)return e.silentMultipleInit||hp.error("DD_RUM is already initialized."),!1;return!0}(e)){var t=function(e){var t,n;if(e.applicationId)if(void 0===e.replaySampleRate||Dp(e.replaySampleRate)){if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void hp.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void hp.error("Service need to be configured when tracing is enabled")}var r=im(e,sm);if(r)return(0,pp.__assign)((0,pp.__assign)({},r),{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,replaySampleRate:null!==(t=e.replaySampleRate)&&void 0!==t?t:100,allowedTracingOrigins:null!==(n=e.allowedTracingOrigins)&&void 0!==n?n:[],trackInteractions:!!e.trackInteractions,trackViewsManually:!!e.trackViewsManually,defaultPrivacyLevel:Fp(rm,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:rm.MASK_USER_INPUT})}else hp.error("Replay Sample Rate should be a number between 0 and 100");else hp.error("Application ID is not configured, no RUM data will be collected.")}(e);if(t){var n=yh(t);if(t.trackViewsManually){var r=c;c=new Ah,f=function(e){v(t,n,e)},r.drain()}else v(t,n);l=function(){return $p(e)},o=!0}}}})),addRumGlobalContext:bh(a.add),removeRumGlobalContext:bh(a.remove),getRumGlobalContext:bh(a.get),setRumGlobalContext:bh(a.set),getInternalContext:bh((function(e){return u(e)})),getInitConfiguration:bh((function(){return l()})),addAction:bh((function(e,t){p({name:e,context:$p(t),startClocks:Mh(),type:nm.CUSTOM})})),addError:function(e,t){var n=ah();_h((function(){h({error:e,handlingStack:n,context:$p(t),startClocks:Mh()})}))},addTiming:bh((function(e,t){d(e,t)})),setUser:bh((function(e){var t=function(e){if("object"!=typeof e||!e)return;var t=$p(e);"id"in t&&(t.id=String(t.id));"name"in t&&(t.name=String(t.name));"email"in t&&(t.email=String(t.email));return t}(e);t?s=t:hp.error("Unsupported user:",e)})),removeUser:bh((function(){s={}})),startView:bh((function(e){f(e)})),startSessionReplayRecording:bh(t.start),stopSessionReplayRecording:bh(t.stop)});return g}((function(e,t,n,r,i){var o=new fm,a=uh()?function(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",hasReplayPlan:!0,hasLitePlan:!1};return{findTrackedSession:function(){return e}}}():iv(e,o),s=function(){var e=dm(),t=new lm((function(){if(e){var n=new e(bh((function(){return t.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return t}(),u=wg(location);t.setExternalContextProvider((function(){var t;return Zp({application_id:e.applicationId,session:{id:null===(t=a.findTrackedSession())||void 0===t?void 0:t.id}},c.findView(),{view:{name:null}})}));var l=function(e,t,n,r,i,o){var a,s=function(e){var t=new Dm(144e5),n=new Dm(3e5);function r(e){return{view:{id:e.id,name:e.name}}}return e.subscribe(um.VIEW_CREATED,(function(e){t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(um.VIEW_UPDATED,(function(e){var n=t.getCurrent();n&&n.view.id===e.id&&t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(um.VIEW_ENDED,(function(e){var n=e.endClocks;t.closeCurrent(n.relative)})),e.subscribe(um.AUTO_ACTION_CREATED,(function(e){n.setCurrent(function(e){return{action:{id:e.id}}}(e),e.startClocks.relative)})),e.subscribe(um.AUTO_ACTION_COMPLETED,(function(e){if(n.getCurrent()){var t=e.startClocks.relative+e.duration;n.closeCurrent(t)}})),e.subscribe(um.AUTO_ACTION_DISCARDED,(function(){n.clearCurrent()})),e.subscribe(um.SESSION_RENEWED,(function(){t.reset(),n.reset()})),{findAction:function(e){return n.find(e)},findView:function(e){return t.find(e)},stop:function(){t.stop(),n.stop()}}}(e),u=function(e,t,n){var r,i=new Dm(144e5);e.subscribe(um.VIEW_ENDED,(function(e){var t=e.endClocks;i.closeCurrent(t.relative)})),e.subscribe(um.VIEW_CREATED,(function(e){var t=e.startClocks,o=n.href;i.setCurrent(a({url:o,referrer:r||document.referrer}),t.relative),r=o}));var o=t.subscribe((function(e){var t=e.newLocation,n=i.getCurrent();if(n){var r=Lh();i.closeCurrent(r),i.setCurrent(a({url:t.href,referrer:n.view.referrer}),r)}}));function a(e){return{view:{url:e.url,referrer:e.referrer}}}return{findUrl:function(e){return i.find(e)},stop:function(){o.unsubscribe(),i.stop()}}}(e,i,n),l=cv();uh()?function(e){var t=sh();e.subscribe(um.RUM_EVENT_COLLECTED,(function(e){t.send("rum",e)}))}(e):a=_g(t,e).stop;return uv(t,e,r,s,u,o),{parentContexts:s,foregroundContexts:l,urlContexts:u,stop:function(){null==a||a(),s.stop(),l.stop()}}}(o,e,location,a,u,n),c=l.parentContexts,d=l.foregroundContexts,f=l.urlContexts;!function(e,t){e.subscribe(um.PERFORMANCE_ENTRIES_COLLECTED,(function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if("longtask"!==o.entryType)break;var a=t.findTrackedSession(o.startTime);if(!a||a.hasLitePlan)break;var s=Oh(o.startTime),u={date:s.timeStamp,long_task:{id:Ap(),duration:Ph(o.duration)},type:em.LONG_TASK};e.notify(um.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}}))}(o,a),sg(o);var p=yg(o,e,location,s,u,d,r,i),h=p.addTiming,m=p.startView,v=ig(o,d).addError,g=function(e,t,n,r){return e.subscribe(um.AUTO_ACTION_COMPLETED,(function(t){return e.notify(um.RAW_RUM_EVENT_COLLECTED,Kv(t,r))})),n.trackInteractions&&Yv(e,t,n),{addAction:function(t,n){e.notify(um.RAW_RUM_EVENT_COLLECTED,(0,pp.__assign)({savedCommonContext:n},Kv(t,r)))}}}(o,s,e,d).addAction;Iv(o,e,a),Om(o,e);var y=function(e,t,n,r){return{get:function(i){var o=n.findView(i),a=r.findUrl(i),s=t.findTrackedSession(i);if(s&&o&&a){var u=n.findAction(i);return{application_id:e,session_id:s.id,user_action:u?{id:u.action.id}:void 0,view:(0,pp.__assign)((0,pp.__assign)({},o.view),a.view)}}}}}(e.applicationId,a,c,f);return{addAction:g,addError:v,addTiming:h,startView:m,lifeCycle:o,parentContexts:c,session:a,getInternalContext:y.get}}),Vy);!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return Th(e,"onReady callback threw an error:")()}))}(zp(),"DD_RUM",Wy);var Yy=Xn("SESSION_COOKIE_DOMAIN"),Gy=function(){try{var e="__pay_no_attention_to_that_man_behind_the_curtain__",t=window.localStorage;return t.setItem(e,e),t.removeItem(e),!0}catch(e){return!1}}(),Ky=function(e){return Gy?window.localStorage.getItem(e):null};Nl()((function(e,t){return function(e,t){if(!Gy)return null;window.localStorage.setItem(e,t)}(e,t),qn().save(e,t,{domain:Yy}),t}));function Xy(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(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?Xy(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Xy(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var Zy="datadoghq.com",Qy=Xn("SERVICE_ENV"),Jy=Xn("RISE_FRONTEND_MANIFEST_SHA"),eb=[/https:\/\/(rise(\.dev)?|360)\.articulate\.(com|zone).*/];rr()||(Wy.init({applicationId:"0bee3e39-361c-4a5d-8329-f815a0449459",clientToken:"pubf65cd823927d3be4c9fa1d9575b98520",site:Zy,service:Xn("SERVICE_PRODUCT"),version:Jy,env:Qy,sampleRate:100,trackInteractions:!0,allowedTracingOrigins:eb,beforeSend:function(e){e.context=$y($y({},e.context),{},{managePrefs:{display:Ky("displayPreference")||"BLOCKS",sort:Ky("displaySortPreference")||"RECENT",transferredSort:Ky("displaySortTransferredPreference")||"FOLDER"}})}}),fp.init({clientToken:"pub10f6eefe0a6673ea57fd1872cfbeed7d",site:Zy,service:"rise-frontend",version:Jy,env:Qy,forwardErrorsToLogs:!1,sampleRate:100,beforeSend:function(e){if(e.http&&0===e.http.status_code)return!1}}),fp.addLoggerGlobalContext("product",Xn("SERVICE_PRODUCT")));var tb=["baseURL"];function nb(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function rb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nb(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):nb(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var ib={"Content-Type":"application/json"},ob=[function(e,t){return t.Authorization="Bearer ".concat(cE()),oo()(e)}],ab=ti()(Jo(),Jr(),ba()(["data","status","statusText"])),sb=wa()(ba()(["name","message","response"]),pi()({response:ab})),ub=Xr().fromPromise((function(e){var t=e.data,n=e.method,r=e.url;return fetch(r,{body:oo()(t),headers:rb(rb({},ib),{},{Authorization:"Bearer ".concat(cE())}),keepalive:!0,method:n}).then((function(e){return e.json()})).then(pa()("data"))})),lb=function(e){var t=new Error("Nil token detected");return Wy.addError(t,e),Xr().Rejected(t)},cb=function(){return Jo()(cE())},db=function(e){return function(t,n){return mc()(t,function(e){return function(t){var n,r,i=t.method,o=t.url;return St()(n=St()(r="".concat(i,":")).call(r,e)).call(n,o)}}(n),fb(dE,e))}},fb=function(e,t){return function(n){return zl(n,function(e){return function(t){return e.preRequest?e.preRequest(t):t}}(t),function(e){var t=e.baseURL,n=Ji(e,tb);return pe()(To()({headers:ib,transformRequest:ob}),To()(n),pi()({url:Fo()(t)}))}(t),ti()(cb,lb,e),gc()(sb,Gn()("data")),function(e){return function(t){return e.postRequest?e.postRequest(t):t}}(t))}},pb=function(e){return{debounce:db(e),send:fb(dE,e),sendWithKeepAlive:fb(ub,e)}},hb=function(){return"visible"===document.visibilityState},mb=function(e){document.addEventListener("visibilitychange",function(e){return La()(hb,(function(){return e()}))}(e)),window.addEventListener("focus",(function(){return e()}))},vb=__webpack_require__(97877),gb=__webpack_require__.n(vb),yb=__webpack_require__(53007),bb=__webpack_require__.n(yb),_b=function(e){return xo({method:"POST",url:"".concat(Xn("RISE_RUNTIME_URI"),"/analytics"),json:!0,data:e})},wb=Xn("SUBSCRIPTIONS_ENDPOINT"),kb=Xn("THREESIXTY_FRONTEND_URI"),Eb=Ws()(["error","status"],404),xb=pe()(pa()("error"),Gn()("response")),Sb=function(){return window.location.href=kb},Tb=[function(e,t){return t.Authorization="Bearer ".concat(cE()),e}],Cb=function(){var e=oc(sc().mark((function e(t){var n,r,i,o;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(wb,"/users/authorized_status"),e.next=3,dE({transformRequest:Tb,url:n}).toPromise().catch(xb);case 3:return r=e.sent,i=pe()(t,Oa()((function(e){return _b({event:"Unexpected Logout",payload:{category:"auth",data:e,detail:"Subscription Error"}})}))),o=Dl()([[Eb,Sb],[gb()("error"),i],[bb(),Gn()("data")]]),e.abrupt("return",o(r));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ab=Cb,Ob=__webpack_require__(57735),Nb=__webpack_require__.n(Ob),Pb=__webpack_require__(13192),Ib=__webpack_require__.n(Pb),Lb=/^<iframe(.*)?\ssrc="(?:(?:(?:https?):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?"(.*)?><\/iframe>$/,Mb=/^(?:(?:(?:https?):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/,Rb="Article",Db="Interaction",qb="Quiz",jb="Video",Fb="onePage",Bb=Ib()({COMOVERVIEW:null,COMPACT:null,COVER:null,OVERLAY:null,SIDEBAR:null}),Ub=(to()({DESKTOP:"desktop",TABLET_PORTRAIT:"tablet-portrait",TABLET_LANDSCAPE:"tablet-landscape",MOBILE_PORTRAIT:"mobile-portrait",MOBILE_LANDSCAPE:"mobile-landscape"}),Ci()("status","active"),Ci()("status","inactive")),zb=(Ci()("plan","individual"),Ws()(["features","enable_review"],!0),Ws()(["features","enable_rise"],!0)),Hb=(Ci()("plan","trial"),Nb()([Ci()("plan","trial"),Ci()("status","inactive"),Ci()("is_retrial_eligible",!1)])),Vb=(Xo()(Ci()("plan","team"),Ci()("plan","individual")),Nb()([Ci()("plan","team"),Ci()("is_team_admin",!0)]),Nb()([Ci()("plan","trial"),Ci()("is_team_admin",!0)]),__webpack_require__(9669)),Wb=__webpack_require__.n(Vb),Yb=__webpack_require__(37365),Gb=__webpack_require__.n(Yb),Kb=Gb()(String,(function(e){return Wb().create({baseURL:e,withCredentials:!0})}));function Xb(){return Xb=oc(sc().mark((function e(t,n,r){var i,o,a,s,u,l;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.googleIdToken,a=r.password,s=r.tenantId,e.prev=1,u=o?{tenantId:s,token:o}:{password:a,tenantId:s,username:i},l=o?"google/signin":"signin",e.next=6,Kb(t.HEYOKRA_AUTH_SERVICE_URI).post(l,u);case 6:e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(1),kt()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),Xb.apply(this,arguments)}var $b=Ho()(3,(function(e,t,n){return Xb.apply(this,arguments)}));function Zb(){return Zb=oc(sc().mark((function e(t,n,r){var i,o,a,s,u,l,c;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,o=r.login,a=r.oktaNamespace,s=r.password,e.prev=1,e.next=4,Kb(t.AUTH_SERVICE_URI).post("/api/v1/authn",{password:s,username:o||St()(u="".concat(a,"/")).call(u,i),options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 4:if(l=e.sent,!Ws()(["data","status"],"LOCKED_OUT",l)){e.next=9;break}throw(c=new Error("User Locked Out")).response={data:{errorCode:"USER_LOCKED_OUT"}},c;case 9:return e.abrupt("return",Wn()(["data","sessionToken"],l));case 12:throw e.prev=12,e.t0=e.catch(1),kt()(new Error,e.t0.response.data);case 15:case"end":return e.stop()}}),e,null,[[1,12]])}))),Zb.apply(this,arguments)}var Qb=Ho()(3,(function(e,t,n){return Zb.apply(this,arguments)}));function Jb(){return Jb=oc(sc().mark((function e(t,n,r){return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("heyokra"!==r.idp){e.next=7;break}return e.next=4,$b(t,n,r);case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,Qb(t,n,r);case 9:e.t0=e.sent;case 10:return e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e)}))),Jb.apply(this,arguments)}var e_=Ho()(3,(function(e,t,n){return Jb.apply(this,arguments)})),t_=__webpack_require__(10339),n_=__webpack_require__.n(t_);function r_(){return window.tenant&&"heyokra"===window.tenant.idp}function i_(){return i_=oc(sc().mark((function e(t,n,r,i){var o;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),o=r_()?r.HEYOKRA_AUTH_SERVICE_URI:r.AUTH_SERVICE_URI,e.next=4,Kb(o).delete("/api/v1/sessions/me").then(Oa()((function(){return n.emit&&t.emit("session:closed")}))).catch(Pa()(Ws()(["response","status"],404),n_()));case 4:case"end":return e.stop()}}),e)}))),i_.apply(this,arguments)}var o_=Ho()(4,(function(e,t,n,r){return i_.apply(this,arguments)})),a_=__webpack_require__(81290),s_=__webpack_require__.n(a_),u_=__webpack_require__(63266),l_=__webpack_require__.n(u_),c_=__webpack_require__(93007),d_=__webpack_require__.n(c_)()(9),f_=l_()(Jo());function p_(e){var t=e.client_id,n=e.issuer,r=e.idp,i=e.nonce,o=e.prompt,a=void 0===o?"none":o,s=e.redirect_uri,u=void 0===s?window.location.origin:s,l=e.response_mode,c=e.scope,d=e.sessionToken,f=e.state,h=new(p())(f_({client_id:t,idp:r,nonce:i||d_(),prompt:a,redirect_uri:u,response_mode:l,response_type:"id_token token",scope:c,sessionToken:d,state:f}));return kt()(new(s_())("".concat(n,"/v1/authorize"),window.location.origin),{search:h.toString()}).toString()}var h_=__webpack_require__(25926);function m_(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_t(e)););return e}function v_(){var e;"undefined"!=typeof Reflect&&h_?v_=mt(e=h_).call(e):v_=function(e,t,n){var r=m_(e,t);if(r){var i=wr(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}};return v_.apply(this,arguments)}var g_=__webpack_require__(26729),y_=__webpack_require__.n(g_);function b_(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var __=function(e){gt(n,e);var t=b_(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,St()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind(ft(r))),r}return dt(n,[{key:"emit",value:function(){for(var e,t,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=v_(_t(n.prototype),"emit",this)).call.apply(e,St()(t=[this]).call(t,i)),navigator.serviceWorker&&navigator.serviceWorker.ready.then((function(e){e.active.postMessage({jsonrpc:"2.0",method:"emit",params:i})}))}},{key:"_handleMessage",value:function(e){var t,r;e.data&&"2.0"===e.data.jsonrpc&&"emit"===e.data.method&&(t=v_(_t(n.prototype),"emit",this)).call.apply(t,St()(r=[this]).call(r,Ml(e.data.params)))}}]),n}(y_()),w_=__webpack_require__(91829),k_=__webpack_require__.n(w_),E_=__webpack_require__(14886),x_=__webpack_require__.n(E_),S_=__webpack_require__(98766),T_=__webpack_require__.n(S_),C_=__webpack_require__(97411),A_=__webpack_require__.n(C_),O_=__webpack_require__(32573),N_=__webpack_require__.n(O_),P_=__webpack_require__(33784),I_=__webpack_require__.n(P_),L_=__webpack_require__(13594),M_=__webpack_require__.n(L_),R_=__webpack_require__(67430),D_=__webpack_require__.n(R_),q_=__webpack_require__(16722),j_=__webpack_require__.n(q_),F_=__webpack_require__(1465),B_=__webpack_require__.n(F_),U_=__webpack_require__(54847),z_=__webpack_require__.n(U_);function H_(){if("undefined"==typeof Reflect||!et)return!1;if(et.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(et(Boolean,[],(function(){}))),!0}catch(e){return!1}}function V_(e,t,n){var r;H_()?V_=mt(r=et).call(r):V_=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(mt(Function).apply(e,r));return n&&vt(i,n.prototype),i};return V_.apply(null,arguments)}function W_(e){var t="function"==typeof U_?new U_:void 0;return W_=function(e){if(null===e||!function(e){var t;return-1!==Qi(t=Function.toString.call(e)).call(t,"[native code]")}(e))return e;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,n)}function n(){return V_(e,arguments,_t(this).constructor)}return n.prototype=pt(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),vt(n,e)},W_(e)}var Y_=__webpack_require__(89221),G_=__webpack_require__.n(Y_);function K_(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var X_=Ho()(2,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.base,r=void 0===n?700:n,i=e.tries,o=void 0===i?10:i,a=e.when,s=void 0===a?bb():a;function u(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var a=0;function u(){return x_().resolveAfter(K_(r,a)).chain(c)}function l(e){return++a<o?u():x_().Rejected(e)}function c(){return t.apply(void 0,n).bichain(ti()(s,l,x_().Rejected),x_().of)}return c()}return u}));function $_(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Z_=function(e,t){var n;void 0===t&&(t=$_);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}},Q_=Z_(Fn());function J_(e,t){var n=void 0!==ot()&&Ar()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return ew(e,t);var r=Nr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Ir()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ew(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function ew(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 tw(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var nw=ot()("TimeoutError"),rw=function(e){gt(n,e);var t=tw(n);function n(){return nt(this,n),t.call(this,"Authorization timed out")}return n}(W_(Error));rw.prototype[nw]=!0;var iw=X_({tries:2,when:function(e){return e[nw]}}),ow={},aw=0,sw=Gb()(Gn()("AUTH_SERVICE_URI"),(function(e){window.addEventListener("message",(function(t){var n=new(s_())(e.AUTH_SERVICE_URI,window.location.origin).origin;if(t.origin===n){var r=t.data,i=(r=void 0===r?{}:r).access_token,o=r.error,a=r.error_description,s=r.id_token,u=r.state,l=ow[u];l&&(o?l.reject(new Error([o,a].join(", "))):l.resolve({access_token:i,id_token:s}))}}))}));var uw=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var lw,cw,dw=Ho()(3,(lw=iw((function(e,t,n){return new(x_())((function(r,i){var o=Oa()((function(){delete ow[a],document.body.removeChild(u)}));sw(e);var a=aw++,s=d_(),u=document.createElement("iframe");return u.style.display="none",document.body.appendChild(u),x_()((function(t,r){var i=r_(),o={resolve:r,reject:t};ow[a]=o,u.addEventListener("error",pe()(t,Gn()("error"))),u.src=p_({client_id:e.OKTA_CLIENT_ID,issuer:i?e.HEYOKRA_OIDC_ISSUER_URI:e.OIDC_ISSUER_URI,nonce:s,redirect_uri:e.REDIRECT_URI,response_mode:i?"post_message":"okta_post_message",scope:e.OIDC_SCOPE,sessionToken:n,state:a})})).race(x_().rejectAfter(5e3,new rw)).chain((function(e){var n,r=e.id_token,i=e.access_token,o=r?Q_(r):null;return s!==o.nonce?x_().Reject(new Error(St()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),x_().of(t.get()))})).bimap(o,o).fork(r,i,o)}))})),cw={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x_()((function(e,n){var r={resolve:n,reject:e},i=uw.apply(void 0,t),o=ot()();null==cw[i]&&(cw[i]={listeners:new(z_())});var a=cw[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=J_(G_()(n=a.listeners).call(n));try{for(s.s();!(r=s.n()).done;){var u=r.value;try{u[e](t)}catch(e){o.push(e)}}}catch(e){s.e(e)}finally{s.f()}if(delete cw[i],o.length>0)throw o[0]}};a.cancel=lw.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}}))})),fw=Gr().reject.bind(Gr()),pw=function(e){return e instanceof Response},hw=function(e){return D_()(e,"status")},mw=Al()(pw,hw(M_()(500))),vw=os()(pw),gw=I_()(Pa()(Gn()("ok"),fw),(function(e){return window.fetch(e.clone())})),yw=N_()({when:Xo()(mw,vw),tries:3},gw),bw=B_()(2,(function(e){return Al()(Zr()(gb()("OKTA_CLIENT_ID",e)),hw(T_()(bi()(Ua(),[401,403]))))})),_w=Il()([],["roles"]),ww=Il()("",["subscription","status"]),kw=ss()((function(e,t,n){var r,i,o=Dr(n,2)[1],a=Dr(Ra()(r=[t,o]).call(r,_w),2),s=a[0],u=a[1],l=Dr(Ra()(i=[t,o]).call(i,ww),2),c=l[0],d=l[1];j_()(s,u).length>0&&e.emit("change:roles",o,t),c!==d&&e.emit("change:status",o,t)})),Ew=ss()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return k_()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&k_()(r=n.message).call(r,"redirect_uri")?A_()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),x_().Rejected(n)})).toPromise():(n instanceof DOMException&&"AbortError"===n.name||e.emit("unauthorized",n),Gr().reject(n))})),xw=ss()((function(e,t,n,r){if(null!=n&&n.sub!==r[1].sub)throw e.emit("unauthorized",t),t;return r})),Sw=ss()((function(e,t,n,r,i){var o,a,s=Dr(n.get(),2)[1];return(o=dw(t,n,void 0),a=r.signal,new(Gr())((function(e,t){if(a instanceof AbortSignal){var n=function(){return t(new DOMException("Aborted","AbortError"))};if(a.aborted)n();else{var r=Function.prototype,i=function(){return r()};a.addEventListener("abort",i);var s=function(e){return function(t){a.removeEventListener("abort",i),e(t)}};r=o.fork(s(t),s(e),s(n))}}else o.fork(t,e)}))).then(xw(e,i,s),Ew(e,t)).then(Oa()(kw(e,s))).then((function(){return yw(r)}))})),Tw=B_()(5,(function(e,t,n,r){return ti()(bw(t),Sw(e,t,n,r),fw)})),Cw=Pa()(pw,fw),Aw=function(e){return function(t,n,r,i){var o=new Request(r,i);return yw(o).catch(Tw(e,t,n,o)).catch(Cw)}},Ow=__webpack_require__(51829),Nw=__webpack_require__.n(Ow),Pw=__webpack_require__(77897),Iw=__webpack_require__(88541),Lw=Ho()(3,(function(){return dw.apply(void 0,arguments).toPromise()})),Mw=new(p())(window.location.hash.substr(1)),Rw=Mw.get("id_token"),Dw=Mw.get("access_token");function qw(e,t){return jw.apply(this,arguments)}function jw(){return jw=oc(sc().mark((function e(t,n){return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Rw){e.next=5;break}n.set(Rw,Dw),Rw=Dw=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,Lw(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}}),e)}))),jw.apply(this,arguments)}function Fw(e,t){return Bw.apply(this,arguments)}function Bw(){return Bw=oc(sc().mark((function e(t,n){return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,qw(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),Bw.apply(this,arguments)}function Uw(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}function zw(e,t){var n=void 0!==ot()&&Ar()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Hw(e,t);var r=Nr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Ir()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hw(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function Hw(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}Rw&&(Mw.delete("id_token"),window.history.replaceState(null,null,"#".concat(Mw.toString()))),Dw&&(Mw.delete("access_token"),Mw.delete("expires_in"),Mw.delete("scope"),Mw.delete("token_type"),window.history.replaceState(null,null,"#".concat(Mw.toString())));var Vw=function(){function e(t,n){nt(this,e),this._emitErrorDelegate=this._emitError.bind(this),this._initDelegate=this._init.bind(this),this._onErrorDelegate=this._onError.bind(this),this._resetRetryTimesDelegate=this._resetRetryTimes.bind(this),this._onerror=this._onmessage=this._onopen=Function.prototype,this._env=t,this._state=n,this._errorEmitter=new(y_()),this._closed=!1;for(var r=arguments.length,i=new Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];this._params=i,this._listeners={},this._resetRetryTimes(),this._init()}return dt(e,[{key:"_emitError",value:function(e){this._errorEmitter.emit("error",new ErrorEvent("error",{colno:e.colno,error:e,filename:e.filename,lineno:e.lineno,message:e.message}))}},{key:"_init",value:function(){if(!this._closed)for(var e in this._source=V_(Iw.EventSourcePolyfill,Ml(this._params)),this._source.addEventListener("error",this._onErrorDelegate),this._source.addEventListener("open",this._resetRetryTimesDelegate),this._source.onerror=this._onerror,this._source.onmessage=this._onmessage,this._source.onopen=this._onopen,this._listeners){var t,n=zw(this._listeners[e]);try{for(n.s();!(t=n.n()).done;){var r=t.value;this._source.addEventListener(e,r)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_onError",value:function(e){e.status>=500&&this._retryAttempts>0?(this._retryTimeout=setTimeout(this._initDelegate,this._retryIn),this._retryAttempts--,this._retryIn=250*Math.pow(2,2-this._retryAttempts+1)):401!==e.status&&403!==e.status||!this._retryAuthz?this._errorEmitter.emit("error",e):(Fw(this._env,this._state).then(this._initDelegate).catch(this._emitErrorDelegate),this._retryAuthz=!1)}},{key:"_resetRetryTimes",value:function(){this._retryAttempts=2,this._retryAuthz=!0,this._retryIn=250}},{key:"addEventListener",value:function(e,t){"error"===e?this._errorEmitter.on("error",t):(this._listeners[e]=this._listeners[e]||[],this._listeners[e].push(t),this._source.addEventListener(e,t))}},{key:"close",value:function(){return this._closed=!0,clearTimeout(this._retryTimeout),this._source.close()}},{key:"dispatchEvent",value:function(){var e;return(e=this._source).dispatchEvent.apply(e,arguments)}},{key:"removeEventListener",value:function(e,t){"error"===e?this._errorEmitter.off("error",t):(Nw()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function Ww(e,t){return function(n){gt(i,n);var r=Uw(i);function i(){var n;nt(this,i);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return r.call.apply(r,St()(n=[this,e,t]).call(n,a))}return i}(Vw)}["onerror","onmessage","onopen"].forEach((function(e){Object.defineProperty(Vw.prototype,e,{get:function(){return this["_".concat(e)]},set:function(t){this["_".concat(e)]=this._source[e]=t}})})),["readyState","url","withCredentials"].forEach((function(e){Object.defineProperty(Vw.prototype,e,{get:function(){return this._source[e]}})})),kt()(Vw.prototype,(0,Pw.pick)(["CONNECTING","OPEN","CLOSED"],Iw.EventSourcePolyfill.prototype));var Yw=__webpack_require__(4991),Gw=__webpack_require__.n(Yw);var Kw=Ho()(2,(function(e,t){return e?x_()((function(n,r){var i=!1,o=function(e){return function(t){i=!0,clearTimeout(s),e(t)}},a=t.fork(o(n),o(r),o(Function.prototype)),s=setTimeout((function(){i||(a(),n(new Error("Timeout after ".concat(e,"ms"))))}),e);return a})):t})),Xw=function(e){return Gw()(e,["response","status"])},$w=ss()((function(e){return Al()(Zr()(gb()("OKTA_CLIENT_ID",e)),Xw(T_()(bi()(Ua(),[401,403]))))})),Zw=Xw(M_()(500)),Qw=os()(Xw(Boolean)),Jw=function(e){var t={base:e.backoffBase,when:Xo()(Zw,Qw),tries:5};return X_(t,A_())(e)},ek=Il()([],["roles"]),tk=Il()("",["subscription","status"]),nk=ss()((function(e,t,n){var r,i,o=Dr(n,2)[1],a=Dr(Ra()(r=[t,o]).call(r,ek),2),s=a[0],u=a[1],l=Dr(Ra()(i=[t,o]).call(i,tk),2),c=l[0],d=l[1];j_()(s,u).length>0&&e.emit("change:roles",o,t),c!==d&&e.emit("change:status",o,t)})),rk=ss()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return k_()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&k_()(r=n.message).call(r,"redirect_uri")?A_()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),x_().Rejected(n)})):(e.emit("unauthorized",n),x_().Rejected(n))})),ik=ss()((function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),x_().Rejected(t)):x_().of(r)})),ok=ss()((function(e,t,n,r,i){var o,a=Dr(n.get(),2)[1];return Ra()(o=dw(t,n,void 0).bichain(rk(e,t),ik(e,i,a))).call(o,Oa()(nk(e,a))).chain((function(){return Jw(r)}))})),ak=B_()(4,(function(e,t,n,r){return ti()($w(t),ok(e,t,n,r),x_().Rejected)})),sk=ss()((function(e,t,n,r){return Jw(r).bichain(ak(e,t,n,r),x_().of)})),uk=ss()((function(e,t,n,r){return Kw(r.timeout,sk(e,t,n,Wo()("timeout",r)))})),lk=uk,ck=function(e){return Wn()([1,"sub"],e.get())};function dk(){return dk=oc(sc().mark((function e(t,n,r,i){var o,a,s,u;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=ck(r),e.next=3,o_(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,e_(n,r,i);case 6:return a=e.sent,e.next=9,Lw(n,r,a);case 9:return s=e.sent,u=ck(r),o&&o!==u&&t.emit("session:closed"),e.abrupt("return",s);case 15:throw e.prev=15,e.t0=e.catch(3),o&&t.emit("session:closed"),e.t0;case 19:case"end":return e.stop()}}),e,null,[[3,15]])}))),dk.apply(this,arguments)}var fk=Ho()(4,(function(e,t,n,r){return dk.apply(this,arguments)})),pk=__webpack_require__(88257);function hk(e){return pk.parse(document.cookie)[e]}var mk=Ho()(2,(function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=pk.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})}));var vk=Ho()(3,(function(e,t,n){var r=Dr(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=pk.serialize(t,r,{domain:i,path:"/",secure:!0})}}));function gk(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function yk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gk(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):gk(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var bk=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],_k=ss()((function(e,t,n){return ga()(n,[e,t])}));var wk=function(e){var t,n=new __,r=function(e){return{clear:function(){mk(e,e.SESSION_COOKIE_NAME),mk(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=hk(e.SESSION_COOKIE_NAME),n=hk(e.ACCESS_COOKIE_NAME);return[t,t?Q_(t):null,n,n?Q_(n):null]},set:function(t,n){var r=t?Q_(t):null,i=n?Q_(n):null;vk(e,e.SESSION_COOKIE_NAME,[t,r]),vk(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(e);return yk(yk({getAuthorizationUrl:p_,EventSource:Ww(e,r)},(t=n,bk.reduce((function(e,n){return e[n]=t[n].bind(t),e}),{}))),bi()(_k(e,r),{authenticate:e_,closeSession:o_(n,{emit:!0}),fetch:Aw(n),request:lk(n),resetSession:Fw,resumeSession:qw,startSession:fk(n)}))}(To()(window.env,{ACCESS_COOKIE_NAME:"_articulate_rise_",REDIRECT_URI:window.location.origin+"/auth-callback"})),kk=wk.closeSession,Ek=wk.on,xk=wk.request,Sk=wk.resetSession,Tk=(wk.resumeSession,wk.startSession,wk.getAuthorizationUrl),Ck=__webpack_require__(22673),Ak=__webpack_require__.n(Ck),Ok=function(e,t){var n,r;return St()(n=St()(r="".concat(Xn("ID_MAPPER_URI"),"/v1/avatars/")).call(r,encodeURIComponent(e),"?size=")).call(n,t)},Nk=function(e){return{large:Ok(e,"large"),medium:Ok(e,"medium"),micro:Ok(e,"micro"),mini:Ok(e,"mini"),small:Ok(e,"small")}},Pk=Ak()({features:Ru()({},"features"),subscription:Wa()(["features"])}),Ik=T_()([Hb,Ub,os()(zb)]),Lk="/auth-error",Mk=function(){return new(Gr())((function(e){if(!window.Osano)return e();if(window.Osano.cm.dialogOpen){var t=setTimeout((function(){e()}),1e4);window.Osano.cm.addEventListener("osano-cm-ui-changed",(function(n,r){"dialog"===n&&"hide"===r&&(e(),clearTimeout(t))}))}else e()}))};function Rk(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rk(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Rk(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var qk="/auth-callback",jk=Lk,Fk=lr,Bk=function(){return window.location.pathname===qk},Uk=!1,zk=!1,Hk=function(){var e=new(p())(window.location.search);return function(e){var t;if(!Uk){var n=pc()();Uk=!0,window.localStorage.setItem(n,e);var r=Tk({client_id:Xn("OKTA_CLIENT_ID"),issuer:Xn("OIDC_ISSUER_URI"),redirect_uri:St()(t="".concat(window.location.origin)).call(t,qk),response_mode:"fragment",scope:Xn("OIDC_SCOPE"),state:n,prompt:null});Mk().then((function(){window.location.href=r}))}}(e.has("redirect_url")?e.get("redirect_url"):window.location.href)},Vk=function(){if(!zk){var e=ur(),t=cr();Jo()(e)?(_b({event:"Unexpected Logout",payload:{category:"auth",userId:t,detail:"id from cookie was null"}}),Wy.addError(new Error("Unexpected Logout"),{type:"User Meta",idFromToken:t,idFromCookie:e,detail:"id from cookie was null"}),zk=!0,Gk({onLogout:function(){return window.location.reload(!0)},reason:"Unexpected logout: user id/session cookie missing"})):e!==t&&(_b({event:"Unexpected Logout",payload:{category:"auth",userId:e,idFromToken:t,detail:"Session/Token ID Mismatch"}}),Wy.addError(new Error("Unexpected Logout"),{type:"User Meta",idFromToken:t,idFromCookie:e,detail:"Session/Token ID Mismatch"}),zk=!0,Sk().then((function(){return window.location.reload(!0)})))}},Wk=function(){var e=oc(sc().mark((function e(t){var n,r,i,o,a,s,u,l,c,d,f,p,h,m,v;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Sk();case 3:if(n=e.sent,r=Dr(n,4),i=r[1],o=r[2],a=r[3],s=a.aid,_b({event:"Setting Session Cookie",payload:{category:"auth",userId:s,detail:"Resuming existing session"}}),g=s,document.cookie=sr(ar,g),!Bk()){e.next=14;break}return t(),e.abrupt("return");case 14:return u=i.first_name,l=i.last_name,c=i.launchdarkly,d=i.staff,f=Nk(s),p={author:s,profile:{avatars:f,first_name:u,user_id:s,last_name:l,staff:d}},h=function(){return Gk({onLogout:Zr()(null)})},m=function(e){return t(Dk(Dk(Dk({},p),Pk(e)),{},{launchdarkly:c,token:o}))},e.next=22,Ab(h).then(Oa()(m)).catch((function(){return t(Dk(Dk({},p),{},{token:o}))}));case 22:if(v=e.sent,!Ik(v)){e.next=28;break}return _b({event:"Unexpected Logout",payload:{category:"auth",userId:ur(),subscription:v,detail:"Invalid Subscription"}}),Wy.addError(new Error("Unexpected Logout"),{type:"User Meta",userId:ur(),detail:"Invalid Subscription"}),Gk({onLogout:function(){return window.location="".concat(Xn("THREESIXTY_FRONTEND_URI"),"/rise")}}),e.abrupt("return");case 28:mb(Vk),e.next=36;break;case 31:e.prev=31,e.t0=e.catch(0),_b({event:"Unexpected Logout",payload:{category:"auth",userId:ur(),error:e.t0,detail:"Error Resuming Session"}}),Wy.addError(e.t0,{type:"User Meta",userId:ur(),detail:"Error Resuming Session"}),Gk({onLogout:function(){return window.location.reload(!0)}});case 36:case"end":return e.stop()}var g}),e,null,[[0,31]])})));return function(t){return e.apply(this,arguments)}}(),Yk=function(e){var t=e.onFetchTokens;if(Bk())Wk(t);else{var n=ur(),r=cr();Jo()(n)||n!==r?Mk().then(Hk):Wk(t)}},Gk=function(e){var t=e.onLogout,n=e.reason;n&&_b({event:"Logout",payload:{category:"auth",userId:ur(),detail:n}});var r=Xn("RISE_AUTHORING_URI"),i=function(){document.cookie="".concat(sr(ar,""),"; Max-Age=-99999999"),document.cookie="".concat(sr("_rise_authoring_api_session",""),"; Max-Age=-99999999"),kk().then(t)};pb({baseURL:r}).send({method:"DELETE",url:"/logout"}).fork((function(e){console.error("Failed to log out of rise-authoring-api",e),i()}),i)},Kk=pe()(dc().parse,lc()(1,1/0)),Xk=function(e){var t=e.location;return function(){var e,n,r=t.hash,i=t.pathname,o=Kk(r),a=o.state,s=o.error,u=o.error_description;s?(Wy.addError(s,{type:"Logout Error",reason:"Error encountered when parsing auth callback.",error_description:u}),Gk({onLogout:(n=u,function(){var e;return window.location.href=St()(e="".concat(Lk,"?description=")).call(e,n)}),reason:St()(e="Error encountered when parsing auth callback. Error: ".concat(s,"; description: ")).call(e,u)})):Yk({onFetchTokens:function(){return e=i,t=a,void Mk().then((function(){var n=window.localStorage.getItem(t)||"/",r=n===e?"/":n;window.localStorage.removeItem(t),window.location.href=r}));var e,t}})}},$k=oe((function(e){return(0,v.useEffect)(Xk(e),[]),null})),Zk=__webpack_require__(64691),Qk=__webpack_require__.n(Zk),Jk=function(){var e=oc(sc().mark((function e(){var t,n,r,i,o;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Mk();case 2:n=bi()(encodeURIComponent,Qk()(["hash","pathname"],window.location)),r=Dr(n,2),i=r[0],o=r[1],window.location.href=St()(t="/login#c=".concat(o)).call(t,i);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),eE=function(){window.location.href="/"},tE=null,nE=null,rE=lr,iE=Jk,oE=kk,aE=wa()(Ru()([],"roles"),Pa()(Un()("author"),eE)),sE=wa()(Il()("",["subscription","status"]),Pa()(Un()(Xa(),["active","in_trial","non_renewing"]),eE)),uE=function(){return window.location.reload()},lE=function(){var e=oc(sc().mark((function e(t){var n,r,i,o,a,s,u,l,c,d,f;return sc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.onFetchTokens,e.prev=1,e.next=4,Sk();case 4:return r=e.sent,i=Dr(r,2),o=i[0],a=i[1],s=a.launchdarkly,u=a.riseId,l=a.sub,c=a.staff,d=a.subscription,f={staff:c,user_id:u||l},sE(a),n({author:f.user_id,launchdarkly:s,profile:f,subscription:d,token:o}),Ek("change:roles",aE),Ek("change:status",sE),Ek("change:subdomain",uE),Ek("unauthorized",Jk),Ek("session:closed",Jk),e.abrupt("return",o);case 20:e.prev=20,e.t0=e.catch(1),Jk();case 23:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(t){return e.apply(this,arguments)}}(),cE=e.getToken,dE=e.request;function fE(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function pE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fE(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):fE(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var hE,mE,vE=Xn("RBC_URI"),gE="".concat(vE,"/api/partner_content"),yE=("".concat(gE,"/types"),Fo()("".concat(gE,"/")),[function(e,t){return t.Authorization="Bearer ".concat(cE()),e}]),bE={transformRequest:yE,headers:{"Content-Type":"application/json"}},_E=__webpack_require__(5683),wE=__webpack_require__.n(_E),kE="prod"===Xn("SERVICE_ENV")?"com":"zone",EE=wa()(oo(),wE()(new RegExp("https://images.riseusercontent.".concat(kE,"/"),"g"),"".concat(Xn("IMAGES_URI"),"/")),wE()(new RegExp("https://riseusercontent.".concat(kE,"/"),"g"),"".concat(Xn("CDN_USER_CONTENT_URI"),"/")),wE()(new RegExp("https://video.rise.".concat(kE,"/"),"g"),"https://video.riseusercontent.".concat(kE,"/")),JSON.parse),xE=__webpack_require__(46408),SE=__webpack_require__.n(xE),TE=__webpack_require__(51493),CE=__webpack_require__.n(TE),AE=function(e){return!!e},OE=(qr(hE={},"a",["activeIndex",Jr()]),qr(hE,No,["audioVideoPlayhead",Number]),qr(hE,Ao,["isComplete",AE]),qr(hE,Co,["correctlyAnswered",Jr()]),qr(hE,Oo,["percentComplete",Jr()]),qr(hE,"r",["retryAttempts",Jr()]),qr(hE,"s",["score",Jr()]),qr(hE,"t",["currentTime",Jr()]),qr(hE,"v",["percentViewed",Jr()]),qr(hE,"rr",["reportResults",Jr()]),qr(hE,"pq",["passed",Jr()]),qr(hE,"ps",["passingScore",Jr()]),qr(hE,"qd",["questionsDrawn",Jr()]),qr(hE,"ql",["questionList",bi()(bi()(Jr()))]),hE),NE=function(e){return function(t,n){var r=Bl()(ME[n])(t);return n===Po&&(r=r(Gn()("items",e))),qr({},SE()(ME[n]),r)}},PE=function(e){return bi()(function(e){return function(t){var n=e[t.index];return Pa()((function(){return Jo()(n)}),(function(){return pe()(To()(t),CE(),Oi(),wi()(NE(t)))(n)}))(t)}}(e))},IE=pe()(CE(),Oi(),wi()(NE(null))),LE=function(e){return function(t){var n=Gn()(Po,e),r=Gn()("items",t);return pe()(La()((function(){return Nb()([gb()("ql"),Ci()("qd",!0)])(e)}),(function(e){var t=bi()(IE,n);return Ro()("originalItemProgress",t,e)})),To()(t),Pa()((function(){return Ha()(n)}),Sa()(la()("items"),PE(n)(r))),CE(),Oi(),wi()(function(e){return function(t,n){return Ro()([SE()(OE[n])],Bl()(OE[n])(t),e)}}(t)))(ba()(ra()(OE),e))}};var ME=(qr(mE={},No,["audioVideoPlayhead",Number]),qr(mE,Co,["correctlyAnswered",Jr()]),qr(mE,Ao,["isComplete",AE]),qr(mE,"k",["isCorrect",AE]),qr(mE,"v",["isViewed",AE]),qr(mE,Po,["items",PE]),qr(mE,"pv",["percentViewed",Jr()]),qr(mE,"m",["matches",Jr()]),qr(mE,"s",["selectedIndex",Jr()]),qr(mE,"x",["selectedIndices",Jr()]),qr(mE,"t",["text",Jr()]),mE),RE={activeIndex:["a",Jr()],audioVideoPlayhead:[No,Number],correctlyAnswered:[Co,Jr()],currentTime:["t",Jr()],isComplete:[Ao,Number],passingScore:["ps",Jr()],percentComplete:[Oo,Jr()],percentViewed:["v",Jr()],retryAttempts:["r",Jr()],score:["s",Jr()],questionsDrawn:["qd",Jr()],questionList:["ql",bi()(bi()(Jr()))],reportResults:["rr",Jr()],passed:["pq",Jr()]},DE=function(e,t){return qr({},SE()(BE[t]),Bl()(BE[t])(e))},qE=pe()(CE(),Oi(),bi()((function(e){return pe()(Pa()(Ha(),pa()(Gn()("index",e))),CE(),Oi(),wi()(DE))(l_()(Ha(),ba()(ra()(BE),e)))}))),jE=function(e,t){return qr({},SE()(RE[t]),Bl()(RE[t])(e))};var FE=pe()(pa()(Oo),Ru()(0,"percentComplete")),BE={audioVideoPlayhead:[No,Number],correctlyAnswered:[Co,Jr()],isComplete:[Ao,Number],isCorrect:["k",Number],isViewed:["v",Number],items:[Po,qE],matches:["m",Jr()],percentViewed:["pv",Jr()],selectedIndex:["s",Jr()],selectedIndices:["x",bi()(Number)],text:["t",Jr()]},UE=["id","type"],zE=["id","type"];function HE(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function VE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HE(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):HE(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var WE=function(e){return(window.env||{})[e]},YE=function(){return!!window.contentId},GE=YE()?EE:Jr(),KE={fetch:function(){if(ZE.isExport||window.courseData||window.course)return rc(nc,{});return xo({method:"GET",url:function(){var e,t,n;return window.shareId?St()(e="".concat(WE("RISE_RUNTIME_URI"),"/boot/share/")).call(e,window.shareId):YE()?St()(t="".concat(WE("RISE_RUNTIME_URI"),"/boot/businessContent/")).call(t,window.contentId):St()(n="".concat(WE("RISE_RUNTIME_URI"),"/boot/")).call(n,window.courseId)}(),json:!0,withCredentials:!0}).then(Gn()("body")).then(nc).then(GE)},fetchPartnerContent:function(e){return ZE.isExport||window.partnerContent?Xr().of(window.partnerContent.content):function(e){var t;return Ra()(t=dE(pE({method:"POST",url:gE,data:oo()({ids:e})},bE))).call(t,Wn()(["data","content"]))}(e)},getEnv:WE,isPasswordProtected:function(){return!!window.shareId&&!!window.hasPassword},isShare:function(){return!!window.shareId},resolvePath:function(e){var t;return St()(t="".concat(WE("CDN_USER_CONTENT_URI"),"/")).call(t,e)},verifySharePassword:function(e){return xo({method:"POST",url:"".concat(WE("RISE_RUNTIME_URI"),"/password"),data:{shareId:window.shareId,password:e},json:!0}).then(Gn()("body"))}},XE=function(e,t){return e+((t||{}).c||0)},$E=function(e,t){return function(n,r){var i=r.id,o=r.type,a=Ji(r,zE);return t.lessons[i]?To()(n,e(function(e,t){var n=t.id,r=t.type,i=Ji(t,UE);return"quiz"===r?ec(e,VE({id:n},i)):il(e,{id:n,type:r})}(t,VE({id:i,type:o},a)).lessons[i])):n}};window.Rise=kt()(window.Rise||{},{completeLessons:function(e,t,n){var r=t.reduce($E(e,n),{}),i=vr()(n.lessons||{}).length,o=to()(r).reduce(XE,0);return{lessons:r,p:Math.round(o/i*100)}},decodeCourseProgress:function(e,t){var n=Gn()("lessons",t);return Pa()((function(){return Ha()(n)}),pe()(Ro()("percentComplete",Ru()(0,Oo,t)),pi()({lessons:bi()((function(e){var t=Gn()(e.index,n);return Pa()((function(){return Jo()(t)}),LE(t))(e)}))})))(e)},encodeCourseProgress:FE,encodeLessonProgress:function(e){var t=Gn()("items",e),n=Gn()("index",e);return pe()(pa()(n),Pa()((function(){return Ha()(t)}),Sa()(la()(Po),qE(t))),CE(),Oi(),wi()(jE))(ba()(ra()(RE),e))}});var ZE=To()(KE,window.Runtime||{}),QE=ZE,JE=Hn()(Gn())(window.env||{}),ex=function(e){return QE&&QE[e]};function tx(e){if(ex("bookmark"))return QE.bookmark(e)}function nx(e){return ex("setLessonComplete")?QE.setLessonComplete(e):e}function rx(e){return ex("setLessonProgress")?QE.setLessonProgress(e):e}function ix(e,t){return ex("setCourseProgress")?QE.setCourseProgress(e,t):e}function ox(e){if(ex("finish"))return QE.finish(e)}function ax(e,t,n,r){ex("finishStoryline")&&QE.finishStoryline(e,t,n,r)}function sx(){return ex("isComplete")?QE.isComplete():null}function ux(){if(ex("isExport")){var e=Wn()(["partnerContent","content"],window);return QE.isExport()&&e}return!1}function lx(e){var t=e||"";return ex("resolvePath")?de()(t).call(t,"http")||de()(t).call(t,"data:")||de()(t).call(t,"//")?t:QE.resolvePath(t):de()(t).call(t,"data:")||de()(t).call(t,"http")||de()(t).call(t,"//")?t:"/".concat(t)}function cx(e){if(ex("reportAnswer")){var t=e.id,n=e.isCorrect,r=e.item,i=e.itemProgress,o=e.duration,a=e.retryAttempts,s=e.title,u=r.id,l=r.title,c=r.type;return QE.reportAnswer({id:t,type:c,isCorrect:n,itemId:u,questionTitle:li(l),quizTitle:li(s),retryAttempts:a,answers:Li(r),correctResponse:Mi(r),response:Ri({item:r,itemProgress:i}),latency:Ii(o)})}return!1}function dx(e){if(ex("startLesson"))return QE.startLesson(e)}function fx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function px(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 hx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?px(Object(n),!0).forEach((function(t){fx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):px(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mx(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var vx="function"==typeof Symbol&&Symbol.observable||"@@observable",gx=function(){return Math.random().toString(36).substring(7).split("").join(".")},yx={INIT:"@@redux/INIT"+gx(),REPLACE:"@@redux/REPLACE"+gx(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+gx()}};function bx(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function _x(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var wx=__webpack_require__(89524),kx=__webpack_require__.n(wx),Ex=__webpack_require__(43372),xx=__webpack_require__(97196),Sx=__webpack_require__.n(xx),Tx=__webpack_require__(59681),Cx=__webpack_require__(37990),Ax=__webpack_require__.n(Cx),Ox=__webpack_require__(51380),Nx=__webpack_require__.n(Ox),Px=window.RiseDotCom,Ix=function(e){return Px&&Px[e]},Lx=function(){Ix("exit")&&Px.exit()},Mx=function(){Ix("on")&&Px.on.apply(Px,arguments)},Rx=function(){Ix("off")&&Px.off.apply(Px,arguments)},Dx=Fo()("rise/rise-com/"),qx=Dx("FAVORITE_ADDED"),jx=Dx("FAVORITE_REMOVED"),Fx=Fo()("rise/partnerContent/")("SET_ALL_PARTNER_CONTENT"),Bx=__webpack_require__(46376),Ux=__webpack_require__.n(Bx),zx=__webpack_require__(73495),Hx=__webpack_require__.n(zx),Vx=Xn("CDN_USER_CONTENT_URI"),Wx=Xn("CDN_URI"),Yx=gb()("useCrushedKey"),Gx=Xn("IMAGES_URI"),Kx=Hx()(/-stock[-_]image.jpg/),Xx=Xn("RBC_IMAGES_URI"),$x=Xn("ASSETS_URI"),Zx=Hx()(new RegExp("^".concat(Vx,"/review"))),Qx=function(e){var t=e.crushedKey,n=e.key,r=e.useCrushedKey,i=e.src;return Yx(e)?er(r&&t?t:n):er(i)},Jx=function(e){var t,n;if(!e||!e.key)return"";var r=e.crushedKey,i=e.key,o=e.useCrushedKey;return Gx?Yx(e)&&o&&r?St()(t="".concat(Gx,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(t,r):St()(n="".concat(Gx,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(n,i):Qx(e)},eS=function(e){var t;if(!e||!e.key)return"";var n,r,i,o=e.crushedKey,a=e.key,s=e.useCrushedKey;return Gx?Kx(a)?St()(n="".concat(Gx,"/f:jpg,a:retain,b:fff,w:1680,q:65/")).call(n,a):Yx(e)?s&&o?St()(r="".concat(Vx,"/")).call(r,o):St()(i="".concat(Vx,"/")).call(i,a):Zx(e.src)?e.src:St()(t="".concat(Gx,"/f:jpg|png,a:retain,b:fff/")).call(t,a):Qx(e)},tS=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",i=e.key,o=e.src,a=e.thumbnail,s=e.thumbnailKey,u=Vx?St()(t="".concat(Vx,"/")).call(t,i):Qx({key:i,src:o}),l=Vx?St()(n="".concat(Vx,"/")).call(n,s):Qx({key:s,src:a});return"src"===r?u:l},nS=function(e){var t=e.height,n=e.imageKey,r=e.width;if(Xx){var i,o,a,s=encodeURIComponent(n);return St()(i=St()(o=St()(a="".concat(Xx,"/b:fff,f:jpg,s:cover,w:")).call(a,r,",h:")).call(o,t,"/")).call(i,s)}return er("partnerContent/".concat(n))},rS=function(e){void 0===e&&(e="");var t=e.replace(/^#/,""),n=t.length;return 3===n||4===n?function(e){return e.split("").map((function(e){return e+e})).join("")}(t):t},iS=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1},oS=function(e){var t=rS(e),n=t.slice(0,6),r=t.slice(6),i=parseInt(n,16);return[i>>16&255,i>>8&255,i>>0&255,iS(r)]},aS=function(e){var t=void 0===e?[]:e,n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2],s=void 0===a?0:a,u=t[3];return"rgba("+r+","+o+","+s+","+(void 0===u?1:u)+")"},sS=function(e,t){var n=oS(e),r=n[0],i=n[1],o=n[2],a=n[3];return aS([r,i,o,null!=t?t:a])},uS=function(e){var t,n,r=e.alpha,i=e.color,o=e.url,a=sS(i,r);return{backgroundImage:St()(t=St()(n="linear-gradient(0deg,".concat(a,",")).call(n,a,'), url("')).call(t,o,'")')}},lS="classic",cS="organic",dS="imaginative",fS="#000",pS=600,hS=Ib()({ACCENT:null,BLACK:null,COLOR:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),mS=Ib()({LARGE:null,MEDIUM:null,SMALL:null}),vS=Ib()({STEPPED:null,CONTINOUS:null}),gS=Ib()({NUMBERS:null,DOTS:null,NONE:null}),yS=Ib()({COMPACT:null,OVERLAY:null,SIDEBAR:null}),bS=Ib()({DARK:null,DARK_IMAGE:null,LIGHT:null,LIGHT_IMAGE:null}),_S=Ib()({DARK:null,DARK_ACCENT:null,DARK_IMAGE:null,LIGHT:null,LIGHT_ACCENT:null,LIGHT_IMAGE:null}),wS="free",kS="restricted",ES=Ib()({ACCENT:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),xS=Ib()({ACCENT:null,DARK:null,LIGHT:null,TINT:null}),SS=Ib()({FULL:null,FLOATING:null,FLOATING_FULL:null}),TS=Ib()({ACCENT:null,CENTERED:null,CENTERED_ACCENT_TINT:null,CENTERED_OVERLAY:null,CENTERED_IMAGE:null,IMAGE:null,LEFT:null,LEFT_OVERLAY:null,SPLIT_LEFT:null,SPLIT_LEFT_IMAGE:null,SPLIT_RIGHT:null,SPLIT_RIGHT_IMAGE:null,TWO_THIRDS_LEFT_IMAGE:null,TWO_THIRDS_RIGHT_IMAGE:null,WHITE:null}),CS=(TS.CENTERED,TS.CENTERED_OVERLAY,TS.LEFT,TS.LEFT_OVERLAY,TS.SPLIT_LEFT_IMAGE,TS.SPLIT_RIGHT_IMAGE,TS.TWO_THIRDS_LEFT_IMAGE,TS.TWO_THIRDS_RIGHT_IMAGE,TS.CENTERED,TS.CENTERED_OVERLAY,TS.LEFT,TS.LEFT_OVERLAY,TS.SPLIT_LEFT_IMAGE,TS.SPLIT_RIGHT_IMAGE,TS.TWO_THIRDS_LEFT_IMAGE,TS.TWO_THIRDS_RIGHT_IMAGE,TS.CENTERED,TS.CENTERED_OVERLAY,TS.LEFT,TS.LEFT_OVERLAY,TS.SPLIT_LEFT,TS.SPLIT_RIGHT,TS.SPLIT_LEFT_IMAGE,TS.SPLIT_RIGHT_IMAGE,TS.CENTERED,TS.CENTERED_OVERLAY,TS.CENTERED_IMAGE,TS.CENTERED_ACCENT_TINT,TS.SPLIT_LEFT_IMAGE,TS.SPLIT_RIGHT_IMAGE,TS.TWO_THIRDS_LEFT_IMAGE,TS.TWO_THIRDS_RIGHT_IMAGE,TS.IMAGE,TS.ACCENT,TS.WHITE,"closed"),AS="hidden",OS="open",NS=Ib()({AUTO:null,BLACK:null,LIGHT:null,DARK:null}),PS=Ib()({ROUNDED:null,SQUARED:null}),IS=Ib()({ROUNDED:null,SQUARED:null}),LS=Ib()({FLOATING:null,FULL:null}),MS=Ib()({ACCENT:null,DARK:null,LIGHT:null}),RS=Ib()({ACCENT:null,DARK:null,LIGHT:null}),DS=["BLACK","DARK","GRAY","IMAGE","LIGHT","TINT"],qS=["BLACK","DARK","IMAGE"],jS=["GRAY","LIGHT","TINT"],FS=__webpack_require__(35293),BS=__webpack_require__.n(FS),US=__webpack_require__(7488),zS=__webpack_require__.n(US),HS=__webpack_require__(86981),VS=__webpack_require__.n(HS);function WS(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function YS(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,WS(e,t,"get"))}function GS(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,WS(e,t,"set"),n),n}var KS=__webpack_require__(86526),XS=__webpack_require__(23513),$S=__webpack_require__(39290),ZS=__webpack_require__(44923),QS=__webpack_require__(98186),JS=__webpack_require__.n(QS);function eT(e){return"string"===tT(e)}function tT(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function nT(e,t,n){return function(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}(t[0],t[1],function(e,t,n){return(n-e)/(t-e)}(e[0],e[1],n))}var rT=function(){function e(){nt(this,e)}return dt(e,[{key:"add",value:function(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),e}(),iT=new rT;function oT(e,t){var n=void 0!==it&&Cr(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return aT(e,t);var r=Or(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Pr(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aT(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function aT(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 sT(e,t){var n,r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=Ma(t).call(t,(function(e){return[e]})));var i=t[0].length,o=Ma(n=t[0]).call(n,(function(e,n){return Ma(t).call(t,(function(e){return e[n]}))})),a=Ma(e).call(e,(function(e){return Ma(o).call(o,(function(t){var n=0;if(!Array.isArray(e)){var r,i=oT(t);try{for(i.s();!(r=i.n()).done;){var o=r.value;n+=e*o}}catch(e){i.e(e)}finally{i.f()}return n}for(var a=0;a<e.length;a++)n+=e[a]*(t[a]||0);return n}))}));return 1===r&&(a=a[0]),1===i?Ma(a).call(a,(function(e){return e[0]})):a}var uT={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function lT(e){return Array.isArray(e)?e:uT[e]}function cT(e,t,n){var r,i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=lT(e),t=lT(t),!e||!t)throw new TypeError(xt(r=xt(i="Missing white point to convert ".concat(e?"":"from")).call(i,e||t?"":"/")).call(r,t?"":"to"));if(e===t)return n;var a={W1:e,W2:t,XYZ:n,options:o};if(iT.run("chromatic-adaptation-start",a),a.M||(a.W1===uT.D65&&a.W2===uT.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===uT.D50&&a.W2===uT.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),iT.run("chromatic-adaptation-end",a),a.M)return sT(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}function dT(e,t){var n=mr(e);if(gr){var r=gr(e);t&&(r=br(r).call(r,(function(t){return wr(e,t).enumerable}))),n.push.apply(n,r)}return n}function fT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dT(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):Er?Object.defineProperties(e,Er(n)):dT(Object(n)).forEach((function(t){Object.defineProperty(e,t,wr(n,t))}))}return e}function pT(e,t){var n=void 0!==it&&Cr(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return hT(e,t);var r=Or(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Pr(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hT(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function hT(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 mT(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}var vT=75e-6,gT=new ZS,yT=new QS,bT=new ZS,_T=function(){function e(t){var n,r,i,o,a,s,u,l;nt(this,e),bT.add(this),gT.add(this),yT.set(this,{writable:!0,value:void 0}),this.id=t.id,this.name=t.name,this.base=t.base?e.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var c=null!==(n=t.coords)&&void 0!==n?n:this.base.coords;this.coords=c;var d=null!==(r=null!==(i=t.white)&&void 0!==i?i:this.base.white)&&void 0!==r?r:"D65";for(var f in this.white=lT(d),this.formats=null!==(o=t.formats)&&void 0!==o?o:{},this.formats){var p=this.formats[f];p.type||(p.type="function"),p.name||(p.name=f)}!t.cssId||null!==(a=this.formats.functions)&&void 0!==a&&a.color?null===(s=this.formats)||void 0===s||!s.color||null!==(u=this.formats)&&void 0!==u&&u.color.id||(this.formats.color.id=this.id):(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})),this.referred=t.referred,GS(this,yT,KS(l=mT(this,bT,kT).call(this)).call(l)),iT.run("colorspace-init-end",this)}return dt(e,[{key:"inGamut",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.epsilon,r=void 0===n?vT:n;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var i=eo(this.coords);return e.every((function(e,t){var n=i[t];if("angle"!==n.type&&n.range){if(FS(e))return!0;var o=Dr(n.range,2),a=o[0],s=o[1];return(void 0===a||e>=a-r)&&(void 0===s||e<=s+r)}return!0}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats.functions)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(e){return"object"===st(e)?e=mT(this,gT,wT).call(this,e):(t="default"===e?eo(this.formats)[0]:this.formats[e])?t=mT(this,gT,wT).call(this,t):null;var t}},{key:"to",value:function(t,n){if(1===arguments.length){var r=[t.space,t.coords];t=r[0],n=r[1]}if(this===(t=e.get(t)))return n;n=Ma(n).call(n,(function(e){return FS(e)?0:e}));for(var i,o,a,s=YS(this,yT),u=YS(t,yT),l=0;l<s.length&&s[l]===u[l];l++)i=s[l],o=l;if(!i)throw new Error(xt(a="Cannot convert between color spaces ".concat(this," and ")).call(a,t,": no connection space was found"));for(var c=s.length-1;c>o;c--)n=s[c].toBase(n);for(var d=o+1;d<u.length;d++)n=u[d].fromBase(n);return n}},{key:"from",value:function(t,n){if(1===arguments.length){var r=[t.space,t.coords];t=r[0],n=r[1]}return(t=e.get(t)).to(this,n)}},{key:"toString",value:function(){var e;return xt(e="".concat(this.name," (")).call(e,this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var n,r=this.coords[t],i=r.range||r.refRange;e.push(null!==(n=null==i?void 0:i.min)&&void 0!==n?n:0)}return e}}],[{key:"all",get:function(){return Ml(new XS(eo(e.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=pT(t.aliases);try{for(r.s();!(n=r.n()).done;){var i=n.value;this.register(i,t)}}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(t){if(!t||t instanceof e)return t;var n=tT(t);if("string"===n){var r=e.registry[t.toLowerCase()];if(!r)throw new TypeError('No color space found with id = "'.concat(t,'"'));return r}for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(o.length)return e.get.apply(e,o);throw new TypeError("".concat(t," is not a valid color space"))}},{key:"resolveCoord",value:function(t,n){var r,i,o,a,s=tT(t);if("string"===s)if(w_(t).call(t,".")){var u=Dr(t.split("."),2);o=u[0],a=u[1]}else o=void 0,a=t;else if(Array.isArray(t)){var l=Dr(t,2);o=l[0],a=l[1]}else o=t.space,a=t.coordId;if((o=e.get(o))||(o=n),!o)throw new TypeError("Cannot resolve coordinate reference ".concat(t,": No color space specified and relative references are not allowed here"));if("number"===(s=tT(a))||"string"===s&&a>=0){var c=$S(o.coords)[a];if(c)return fT({space:o,id:c[0],index:a},c[1])}o=e.get(o);var d=a.toLowerCase(),f=0;for(var p in o.coords){var h,m=o.coords[p];if(p.toLowerCase()===d||(null===(h=m.name)||void 0===h?void 0:h.toLowerCase())===d)return fT({space:o,id:p,index:f},m);f++}throw new TypeError(xt(r=xt(i='No "'.concat(a,'" coordinate found in ')).call(i,o.name,". Its coordinates are: ")).call(r,mr(o.coords).join(", ")))}}]),e}();function wT(e){if(e.coords&&!e.coordGrammar){var t;e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=(r=e.coords,Ma(r).call(r,(function(e){var t;return Ma(t=e.split("|")).call(t,(function(e){var t=(e=no(e).call(e)).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var n=new String(t[1]);return n.range=[+t[2],+t[3]],n}return e}))})));var n=Ma(t=$S(this.coords)).call(t,(function(t,n){var r=Dr(t,2),i=(r[0],r[1]),o=e.coordGrammar[n][0],a=i.range||i.refRange,s=o.range,u="";return"<percentage>"==o?(s=[0,100],u="%"):"<angle>"==o&&(u="deg"),{fromRange:a,toRange:s,suffix:u}}));e.serializeCoords=function(e,t){return Ma(e).call(e,(function(e,r){var i=n[r],o=i.fromRange,a=i.toRange,s=i.suffix;return o&&a&&(e=nT(o,a,e)),e=function(e,t){e=+e,t=+t;var n=(Math.floor(e)+"").length;if(t>n)return+e.toFixed(t-n);var r=Math.pow(10,n-t);return Math.round(e/r)*r}(e,t),s&&(e+=s),e}))}}var r;return e}function kT(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}qr(_T,"registry",{}),qr(_T,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ET=__webpack_require__(18033),xT=__webpack_require__.n(ET),ST=new _T({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]});function TT(e){var t=function(){if("undefined"==typeof Reflect||!et)return!1;if(et.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(et(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=et(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var CT,AT=function(e){gt(n,e);var t=TT(n);function n(e){var r,i,o,a;(nt(this,n),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=ST),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var n=sT(e.toXYZ_M,t);return i.white!==i.base.white&&(n=cT(i.white,i.base.white,n)),n}),null!==(a=e.fromBase)&&void 0!==a||(e.fromBase=function(t){return t=cT(i.base.white,i.white,t),sT(e.fromXYZ_M,t)}));return null!==(r=e.referred)&&void 0!==r||(e.referred="display"),i=t.call(this,e)}return n}(_T),OT=new AT({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),NT={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},PT=ET(CT=Array(3)).call(CT,"<percentage> | <number>[0, 255]"),IT=new AT({id:"srgb",name:"sRGB",base:OT,fromBase:function(e){return Ma(e).call(e,(function(e){var t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e}))},toBase:function(e){return Ma(e).call(e,(function(e){var t=e<0?-1:1,n=e*t;return n<.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}))},formats:{rgb:{coords:PT},color:{},rgba:{coords:PT,commas:!0,lastAlpha:!0},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:Or(t).call(t,0,3),alpha:Or(t).call(t,3)[0]}},serialize:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.collapse,i=void 0===r||r;t<1&&e.push(t),e=Ma(e).call(e,(function(e){return Math.round(255*e)}));var o=i&&e.every((function(e){return e%17==0})),a=Ma(e).call(e,(function(e){var t;return o?(e/17).toString(16):US(t=e.toString(16)).call(t,2,"0")})).join("");return"#"+a}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=NT.black,t.alpha=0):t.coords=NT[e],t.coords)return t}}}}),LT=new _T({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:IT,fromBase:function(e){var t=Math.max.apply(Math,Ml(e)),n=Math.min.apply(Math,Ml(e)),r=Dr(e,3),i=r[0],o=r[1],a=r[2],s=NaN,u=0,l=(n+t)/2,c=t-n;if(0!==c){switch(u=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case i:s=(o-a)/c+(o<a?6:0);break;case o:s=(a-i)/c+2;break;case a:s=(i-o)/c+4}s*=60}return[s,100*u,100*l]},toBase:function(e){var t=Dr(e,3),n=t[0],r=t[1],i=t[2];function o(e){var t=(e+n/30)%12,o=r*Math.min(i,1-i);return i-o*Math.max(-1,Math.min(t-3,9-t,1))}return(n%=360)<0&&(n+=360),r/=100,i/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}});function MT(e,t){var n=void 0!==it&&Cr(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return RT(e,t);var r=Or(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Pr(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return RT(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function RT(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 DT(e){var t,n={str:null===(t=String(e))||void 0===t?void 0:no(t).call(t)};if(iT.run("parse-start",n),n.color)return n.color;if(n.parsed=function(e){if(e){e=no(e).call(e);var t=/^-?[\d.]+$/,n=e.match(/^([a-z]+)\((.+?)\)$/i);if(n){var r=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,n){/%$/.test(n)?(n=new Number(Or(n).call(n,0,-1)/100)).type="<percentage>":/deg$/.test(n)?((n=new Number(+Or(n).call(n,0,-3))).type="<angle>",n.unit="deg"):t.test(n)&&((n=new Number(n)).type="<number>"),ce(e).call(e,"/")&&((n=n instanceof Number?n:new Number(n)).alpha=!0),r.push(n)})),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:r}}}}(n.str),n.parsed){var r=function(){var e=n.parsed.name;if("color"===e){var t,r=n.parsed.args.shift(),i=n.parsed.rawArgs.indexOf("/")>0?n.parsed.args.pop():1,o=MT(_T.all);try{for(o.s();!(t=o.n()).done;){var a,s=t.value,u=s.getFormat("color");if(u)if(r===u.id||null!==(a=u.ids)&&void 0!==a&&w_(a).call(a,r)){var l=function(){var e,t=mr(s.coords).length,r=ET(e=Array(t)).call(e,0);return r.forEach((function(e,t){return r[t]=n.parsed.args[t]||0})),{v:{v:{spaceId:s.id,coords:r,alpha:i}}}}();if("object"===st(l))return l.v}}}catch(e){o.e(e)}finally{o.f()}var c="";if(r in _T.registry){var d,f,p,h=null===(d=_T.registry[r].formats)||void 0===d||null===(f=d.functions)||void 0===f||null===(p=f.color)||void 0===p?void 0:p.id;h&&(c="Did you mean color(".concat(h,")?"))}throw new TypeError("Cannot parse color(".concat(r,"). ")+(c||"Missing a plugin?"))}var m,v=MT(_T.all);try{var g=function(){var t,r=m.value,i=r.getFormat(e);if(i&&"function"===i.type){var o=1;(i.lastAlpha||(t=n.parsed.args,t[t.length-1]).alpha)&&(o=n.parsed.args.pop());var a=n.parsed.args;return i.coordGrammar&&$S(r.coords).forEach((function(t,n){var r,o=Dr(t,2),s=o[0],u=o[1],l=i.coordGrammar[n],c=null===(r=a[n])||void 0===r?void 0:r.type;if(!(l=HS(l).call(l,(function(e){return e==c})))){var d,f,p=u.name||s;throw new TypeError(xt(d=xt(f="".concat(c," not allowed for ")).call(f,p," in ")).call(d,e,"()"))}var h=l.range;"<percentage>"===c&&(h||(h=[0,1]));var m=u.range||u.refRange;h&&m&&(a[n]=nT(h,m,a[n]))})),{v:{v:{spaceId:r.id,coords:a,alpha:o}}}}};for(v.s();!(m=v.n()).done;){var y=g();if("object"===st(y))return y.v}}catch(e){v.e(e)}finally{v.f()}}();if("object"===st(r))return r.v}else{var i,o=MT(_T.all);try{for(o.s();!(i=o.n()).done;){var a=i.value;for(var s in a.formats){var u=a.formats[s];if("custom"===u.type&&(!u.test||u.test(n.str))){var l,c=u.parse(n.str);if(c)return null!==(l=c.alpha)&&void 0!==l||(c.alpha=1),c}}}}catch(e){o.e(e)}finally{o.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function qT(e){if(!e)throw new TypeError("Empty color reference");eT(e)&&(e=DT(e));var t=e.space||e.spaceId;return t instanceof _T||(e.space=_T.get(t)),void 0===e.alpha&&(e.alpha=1),e}var jT="lch.c",FT=__webpack_require__(59898),BT=new _T({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ST,fromBase:function(e){return cT(ST.white,"D50",e)},toBase:function(e){return cT("D50",ST.white,e)},formats:{color:{}}}),UT=24/116,zT=24389/27,HT=uT.D50,VT=new _T({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:HT,base:BT,fromBase:function(e){var t=Ma(e).call(e,(function(e,t){return e/HT[t]})),n=Ma(t).call(t,(function(e){return e>.008856451679035631?FT(e):(zT*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200;var n=[t[0]>UT?Math.pow(t[0],3):(116*t[0]-16)/zT,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/zT,t[2]>UT?Math.pow(t[2],3):(116*t[2]-16)/zT];return Ma(n).call(n,(function(e,t){return e*HT[t]}))},formats:{lab:{coords:["<percentage> | <number>","<number>","<number>"]}}});function WT(e){return(e%360+360)%360}var YT=new _T({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:VT,fromBase:function(e){var t,n=Dr(e,3),r=n[0],i=n[1],o=n[2];return t=Math.abs(i)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,i)/Math.PI,[r,Math.sqrt(Math.pow(i,2)+Math.pow(o,2)),WT(t)]},toBase:function(e){var t=Dr(e,3),n=t[0],r=t[1],i=t[2];return r<0&&(r=0),isNaN(i)&&(i=0),[n,r*Math.cos(i*Math.PI/180),r*Math.sin(i*Math.PI/180)]},formats:{lch:{coords:["<percentage> | <number>","<number>","<number> | <angle>"]}}}),GT=Math.pow(25,7),KT=Math.PI,XT=180/KT,$T=KT/180;function ZT(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.kL,i=void 0===r?1:r,o=n.kC,a=void 0===o?1:o,s=n.kH,u=void 0===s?1:s,l=VT.from(e),c=Dr(l,3),d=c[0],f=c[1],p=c[2],h=YT.from(VT,[d,f,p])[1],m=VT.from(t),v=Dr(m,3),g=v[0],y=v[1],b=v[2],_=YT.from(VT,[g,y,b])[1];h<0&&(h=0),_<0&&(_=0);var w=(h+_)/2,k=Math.pow(w,7),E=.5*(1-Math.sqrt(k/(k+GT))),x=(1+E)*f,S=(1+E)*y,T=Math.sqrt(Math.pow(x,2)+Math.pow(p,2)),C=Math.sqrt(Math.pow(S,2)+Math.pow(b,2)),A=0===x&&0===p?0:Math.atan2(p,x),O=0===S&&0===b?0:Math.atan2(b,S);A<0&&(A+=2*KT),O<0&&(O+=2*KT);var N,P=g-d,I=C-T,L=(O*=XT)-(A*=XT),M=A+O,R=Math.abs(L);T*C==0?N=0:R<=180?N=L:L>180?N=L-360:L<-180?N=L+360:console.log("the unthinkable has happened");var D,q=2*Math.sqrt(C*T)*Math.sin(N*$T/2),j=(d+g)/2,F=(T+C)/2,B=Math.pow(F,7);D=T*C==0?M:R<=180?M/2:M<360?(M+360)/2:(M-360)/2;var U=Math.pow(j-50,2),z=1+.015*U/Math.sqrt(20+U),H=1+.045*F,V=1;V-=.17*Math.cos((D-30)*$T),V+=.24*Math.cos(2*D*$T),V+=.32*Math.cos((3*D+6)*$T);var W=1+.015*F*(V-=.2*Math.cos((4*D-63)*$T)),Y=30*Math.exp(-1*Math.pow((D-275)/25,2)),G=2*Math.sqrt(B/(B+GT)),K=-1*Math.sin(2*Y*$T)*G,X=Math.pow(P/(i*z),2);return X+=Math.pow(I/(a*H),2),X+=Math.pow(q/(u*W),2),X+=K*(I/(a*H))*(q/(u*W)),Math.sqrt(X)}var QT=75e-6;function JT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.epsilon,i=void 0===r?QT:r;e=qT(e),t=_T.get(t);var o=e.coords;return t!==e.space&&(o=t.from(e)),t.inGamut(o,{epsilon:i})}function eC(e,t){return(t=_T.get(t)).from(e)}function tC(e,t){var n=_T.resolveCoord(t,e.space),r=n.space,i=n.index;return eC(e,r)[i]}function nC(e,t,n){return t=_T.get(t),e.coords=t.to(e.space,n),e}function rC(e,t,n){if(e=qT(e),2===arguments.length&&"object"===tT(arguments[1])){var r=arguments[1];for(var i in r)rC(e,i,r[i])}else{"function"==typeof n&&(n=n(tC(e,t)));var o=_T.resolveCoord(t,e.space),a=o.space,s=o.index,u=eC(e,a);u[s]=n,nC(e,a,u)}return e}function iC(e){var t;return{space:e.space,coords:Or(t=e.coords).call(t),alpha:e.alpha}}function oC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method,r=void 0===n?jT:n,i=t.space,o=void 0===i?e.space:i;if(eT(arguments[1])&&(o=arguments[1]),JT(e,o=_T.get(o),{epsilon:0}))return e;var a=aC(e,o);if("clip"!==r&&!JT(e,o)){var s=oC(iC(a),{method:"clip",space:o});if(ZT(e,s)>2){for(var u=_T.resolveCoord(r),l=u.space,c=u.id,d=aC(a,l),f=u.range||u.refRange,p=f[0],h=.01,m=p,v=tC(d,c);v-m>h;){var g=iC(d),y=ZT(d,g=oC(g,{space:o,method:"clip"}));y-2<h?m=tC(d,c):v=tC(d,c),rC(d,c,(m+v)/2)}a=aC(d,o)}else a=s}if("clip"===r||!JT(a,o,{epsilon:0})){var b,_,w=Ma(b=eo(o.coords)).call(b,(function(e){return e.range||[]}));a.coords=Ma(_=a.coords).call(_,(function(e,t){var n=Dr(w[t],2),r=n[0],i=n[1];return void 0!==r&&(e=Math.max(r,e)),void 0!==i&&(e=Math.min(e,i)),e}))}return o!==e.space&&(a=aC(a,e.space)),e.coords=a.coords,e}function aC(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.inGamut;e=qT(e);var i=(t=_T.get(t)).from(e),o={space:t,coords:i,alpha:e.alpha};return r&&(o=oC(o)),o}function sC(e){return tC(e,[ST,"y"])}function uC(e,t){e=qT(e),t=qT(t);var n=Math.max(sC(e),0),r=Math.max(sC(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}return(n+.05)/(r+.05)}oC.returns="color",aC.returns="color";function lC(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function cC(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}function dC(e,t){var n,r,i,o;t=qT(t),e=qT(e);var a=Dr((t=aC(t,"srgb")).coords,3);r=a[0],i=a[1],o=a[2];var s=.2126729*cC(r)+.7151522*cC(i)+.072175*cC(o),u=Dr((e=aC(e,"srgb")).coords,3);r=u[0],i=u[1],o=u[2];var l=.2126729*cC(r)+.7151522*cC(i)+.072175*cC(o),c=lC(s),d=lC(l),f=d>c;return n=Math.abs(d-c)<5e-4?0:f?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)}function fC(e,t){e=qT(e),t=qT(t);var n=Math.max(sC(e),0),r=Math.max(sC(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}var o=n+r;return 0===o?0:(n-r)/o}function pC(e,t){e=qT(e),t=qT(t);var n=Math.max(sC(e),0),r=Math.max(sC(t),0);if(r>n){var i=[r,n];n=i[0],r=i[1]}return 0===r?0:(n-r)/r}function hC(e,t){e=qT(e),t=qT(t);var n=tC(e,[VT,"l"]),r=tC(t,[VT,"l"]);return Math.abs(n-r)}var mC=["algorithm"];var vC=__webpack_require__(9443),gC=__webpack_require__.n(vC);_T.register(IT),_T.register(LT);function yC(e){if(null==e)return null;try{return aC(DT(e),"srgb")}catch(e){return null}}var bC=Ib()({NEAR_BLACK:null,DARK:null,MED:null,LIGHT:null}),_C=[[32,bC.NEAR_BLACK],[64,bC.DARK],[128,bC.MED],[256,bC.LIGHT]],wC=function(e){var t,n=yC(e);if(null==n)return 0;var r=Dr(Ra()(t=n.coords).call(t,(function(e){return 255*e})),3);return.2126*r[0]+.7152*r[1]+.0722*r[2]},kC=function(e){return!!e&&1-wC(e)/255>.4},EC=function(e){return!!e&&1-wC(e)/255>.25},xC=function(e,t){var n=function(e){var t,n;if(!e)return null;var r=parseInt(e.substr(1),16);return BS()(r)?null:zS()(t=zS()(n=r.toString(16)).call(n,6,"0")).call(t,7,"#")}(t);return n&&7===n.length?n:e},SC=ss()((function(e,t){var n,r=Nr()(n=oS(t)).call(n,0,3),i=e>=0?Ra()(r).call(r,(function(t){return(1-e)*t+255*e})):Ra()(r).call(r,(function(t){return(1+e)*t}));return TC(i)}));var TC=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"#"+Ra()(e=Nr()(t).call(t,0,3)).call(e,(function(e){var t;return zS()(t=Math.min(255,Math.max(0,Math.round(e))).toString(16)).call(t,2,"0")})).join("")},CC=SC(.9),AC=(SC(-.5),SC(-.2)),OC=function(e){var t,n=wC(e);return null===(t=VS()(_C).call(_C,(function(e){return Dr(e,1)[0]>n})))||void 0===t?void 0:t[1]},NC=La()(gC()(Number),pe()(_o(),(function(e){var t,n;return zS()(t=zS()(n=e.toString(16)).call(n,6,"0")).call(t,7,"#")})));pe()(NC,vo()("#ff631e"));function PC(e,t){var r=function(e,t){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};eT(r)&&(r={algorithm:r});var i=r,o=i.algorithm,a=Ji(i,mC);if(!o){var s,u=Ma(s=mr(n)).call(s,(function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(u))}for(var l in e=qT(e),t=qT(t),n)if("contrast"+o.toLowerCase()===l.toLowerCase())return n[l](e,t,a);throw new TypeError("Unknown contrast algorithm: ".concat(o))}(yC(e),yC(t),"WCAG21")}(e,t),i="".concat(r.toFixed(2),":1"),o=!1,a=!1,s=!1,u=!1,l=!1;return r>=7?(o=!0,a=!0,s=!0,u=!0,l=!0):r>=4.5?(o=!0,s=!0,l=!0):r>=3&&(s=!0,l=!0),{ratio:i,bodyTextAA:o,bodyTextAAA:a,largeTextAA:s,largeTextAAA:u,graphicalUiComponentsAA:l}}var IC=function(e){return PC("#fff",e).bodyTextAA?NS.LIGHT:NS.DARK},LC=function(e,t){return e===NS.DARK||e===NS.AUTO&&IC(t)===NS.DARK},MC=function(e){return"#000000"===function(e){var t=wC(e)>=128?["#313537","#000000"]:["#000000","#313537"],n=VS()(t).call(t,(function(t){return PC(t,e).bodyTextAA}));return null!=n?n:"#000000"}(e)},RC=(os()(Ci()("sidebarMode","hidden")),Ci()("sidebarMode","open"),function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson}),DC=function(e){var t=e.alpha,n=e.color,r=void 0===n?fS:n,i=e.hasOverlay,o=void 0===i||i,a=e.media,s=(void 0===a?{}:a).image,u=void 0===s?{}:s,l=u.key,c=u.src,d=l?eS(u):c;return d?o?uS({alpha:t/100,color:r,url:d}):{backgroundImage:'url("'.concat(d,'")')}:null},qC=function(e){var t;return k_()(t=[_S.DARK,_S.DARK_ACCENT,_S.DARK_IMAGE,ES.DARK,bS.DARK,bS.DARK_IMAGE]).call(t,e)},jC=wa()(Gn()("lessons"),SE()),FC=Ci()("navigationMode",kS),BC=(Ci()("sidebarMode",OS),os()(Ci()("sidebarMode",AS))),UC=Ci()("navigationType",yS.SIDEBAR),zC=(Ci()("navigationType",yS.OVERLAY),Ci()("navigationType",yS.COMPACT)),HC=ti()(D_()(Jo(),"navigation"),BC,Ci()("navigation",!0)),VC=function(e){var t;return k_()(t=[_S.DARK_IMAGE,_S.LIGHT_IMAGE,ES.DARK_IMAGE,ES.IMAGE,bS.DARK_IMAGE,bS.LIGHT_IMAGE]).call(t,e)},WC=CC,YC=function(e,t){if(e===lS||e===dS)switch(t){case TS.SPLIT_LEFT_IMAGE:case TS.SPLIT_RIGHT_IMAGE:case TS.TWO_THIRDS_LEFT_IMAGE:case TS.TWO_THIRDS_RIGHT_IMAGE:return!0;default:return!1}else if(e===cS)switch(t){case TS.SPLIT_LEFT_IMAGE:case TS.SPLIT_RIGHT_IMAGE:return!0;default:return!1}return!1},GC=function(e,t){switch(e){case lS:case cS:case dS:return t===TS.CENTERED_OVERLAY||t===TS.LEFT_OVERLAY||t===TS.IMAGE;default:return!1}},KC=Xo()(Jo(),Ha()),XC=Xo()(Jo(),Ua()(!1)),$C=D_()(XC,"isComplete"),ZC=Xo()(D_()(Ua()(!1),"passed"),D_()(XC,"isComplete")),QC=B_()(2,(function(e){return Ux()(ti()(pe()(Ua()(e),SE()),pe()(ZC,Bl()),pe()($C,Bl())))})),JC=B_()(2,(function(e){return wa()(Es(),QC(e),vo()([]),SE())})),eA=Hn()(B_()(2,(function(e){return ti()(KC,Zr()(e),JC(e))}))),tA=__webpack_require__(23385),nA=__webpack_require__.n(tA),rA=__webpack_require__(47392),iA=__webpack_require__.n(rA),oA=__webpack_require__(88576),aA=__webpack_require__.n(oA),sA=__webpack_require__(62023),uA=__webpack_require__.n(sA),lA=pe()(Un()(".svg"),Ru()("","originalUrl")),cA=ti()(lA,Zr()({width:"500rem"}),Zr()({})),dA=function(e){var t=e.alt,n=e.caption,r=e.fileName,i=e.key;if('""'===t)return"";if(t)return t;if(n){var o=li(n);if(o)return o}if(r)return r;if(i){var a,s=Nr()(a=i.split("/")).call(a,-1)[0];if(s)return s}},fA=function(e){return e&&'""'!==e?e:void 0},pA=function(e){return e?"img":void 0},hA=function(e){return wa()(Ru()("","originalUrl"),yo()("."),Bl(),Ua()(e))},mA=(hA("svg"),hA("gif"),function(e){var t;return iA()(e)?de()(e).call(e,"http")?Nr()(t=new(s_())(e).pathname).call(t,1):e:""}),vA=function(e,t){var n=aA()(e,t);return n.media.image.key===t.media.image.key&&kt()(n.media.image,{crushedKey:t.media.image.key,useCrushedKey:!0}),n},gA=nA()(To(),(function(e){var t=e.src;return{media:{image:{key:mA(t),src:t}}}}),(function(e){return{alpha:e.alpha}})),yA=D_()(Boolean,"theme"),bA=function(e,t){return nA()(vA,function(e){return Wn()([e])}(t),function(e){return pe()(gA,e,Il()({},["theme"]))}(e))},_A=pe()(uA()({coverImageAlpha:"alpha",coverImage:"src"}),ba()(["coverImageAlpha","coverImage"])),wA=pe()(uA()({lessonHeaderImageAlpha:"alpha",lessonHeaderImage:"src"}),ba()(["lessonHeaderImageAlpha","lessonHeaderImage"])),kA=function(e,t){return ti()(yA,bA(e,t),Wn()([t]))},EA=kA(_A,"coverImage"),xA=kA(wA,"lessonHeaderImage"),SA=__webpack_require__(57046),TA=__webpack_require__.n(SA),CA=["bodyTypeface","coverImage","headingTypeface","lessonHeaderImage","media","theme","uiTypeface"],AA=nA()(vo(),Wn()(["color"]),Wn()(["theme","colorAccent"])),OA=nA()(vo(),Wn()(["showLessonCount"]),Wn()(["theme","showLessonCount"])),NA=ti()(Wn()(["coverImage","media","image"]),Zr()(bS.LIGHT_IMAGE),Zr()(bS.LIGHT)),PA=ti()(Wn()(["coverImage","media","image"]),Zr()(TS.LEFT_OVERLAY),Zr()(TS.LEFT)),IA={allowSearch:!0,animateBlockEntrance:!0,compactShowLessonCount:!0,enableVideoPlaybackSpeed:!0,markLessonsComplete:!1,navigation:!0,navigationRestricted:!1,showAuthor:!0,showLessonCount:!0,showNavigationButtons:!0,sidebarStartsOpen:!0},LA=function(e){return Ru()(IA[e],e)},MA={blockCorners:PS.ROUNDED,blockPaddingBottom:30,blockPaddingTop:30,buttonInlineStyle:IS.ROUNDED,buttonNavigationStyle:LS.FULL,buttonScheme:xS.LIGHT,colorAccent:"#ff631e",coverImageAlpha:50,coverPageType:TS.SPLIT_LEFT_IMAGE,lessonHeaderColor:null,lessonHeaderImage:null,lessonHeaderImageAlpha:.6,lessonHeaderImageColor:MS.DARK,lessonHeaderSize:mS.MEDIUM,lessonHeaderStyle:hS.LIGHT,navigationOverlayImage:null,navigationOverlayImageAlpha:.6,navigationOverlayImageColor:RS.DARK,navigationStyle:bS.LIGHT,navigationType:yS.SIDEBAR,themeId:lS},RA=Ca()(To(),pe()(Ro()("isLegacyCourse",!0),pa()("theme"),TA()(MA),Ak()({allowSearch:LA("allowSearch"),animateBlockEntrance:LA("animateBlockEntrance"),bodyTypefaceId:Gn()("bodyTypefaceId"),colorAccent:pe()(_o(),Ru()("","color")),compactShowLessonCount:LA("compactShowLessonCount"),coverImageDefault:null,coverPageType:PA,enableVideoPlaybackSpeed:LA("enableVideoPlaybackSpeed"),headingTypefaceId:Gn()("headingTypefaceId"),markLessonsComplete:LA("markComplete"),navigation:function(e){return e.sidebarMode!==AS},navigationRestricted:function(e){return e.navigationMode===kS},navigationStyle:NA,showAuthor:LA("showAuthor"),showLessonCount:LA("showLessonCount"),showNavigationButtons:LA("showNavigationButtons"),sidebarStartsOpen:function(e){return e.sidebarMode===OS},uiTypefaceId:Gn()("uiTypefaceId")}))),DA=Pa()(D_()(Jo(),"theme"),Ca()(To(),Ak()({allowSearch:Wn()(["theme","allowSearch"]),animateBlockEntrance:Il()(!0,["theme","animateBlockEntrance"]),buttonNavigationStyle:Wn()(["theme","buttonNavigationStyle"]),buttonScheme:Wn()(["theme","buttonScheme"]),color:AA,colorAccentTint:pe()(WC,AA),coverImage:EA,coverPageType:Wn()(["theme","coverPageType"]),enableVideoPlaybackSpeed:Il()(!0,["theme","enableVideoPlaybackSpeed"]),lessonHeaderImage:xA,lessonHeaderSize:Wn()(["theme","lessonHeaderSize"]),lessonHeaderStyle:Wn()(["theme","lessonHeaderStyle"]),markComplete:Il()(!1,["theme","markLessonsComplete"]),navigation:Il()(!0,["theme","navigation"]),navigationMode:function(e){return e.theme.navigationRestricted?kS:wS},navigationRestricted:Il()(!1,["theme","navigationRestricted"]),navigationStyle:Wn()(["theme","navigationStyle"]),navigationType:Il()(yS.SIDEBAR,["theme","navigationType"]),themeId:Il()("classic",["theme","themeId"]),showAuthor:Il()(!0,["theme","showAuthor"]),showLessonCount:OA,sidebarMode:function(e){var t=e.theme.sidebarStartsOpen;return!!Jo()(t)||t?OS:CS},sidebarStartsOpen:Il()(!0,["theme","sidebarMode"]),showNavigationButtons:Il()(!0,["theme","showNavigationButtons"])}))),qA=Nl()((function(e){return pe()(DA,To()(e),ba()(CA))})),jA=__webpack_require__(85745),FA=__webpack_require__.n(jA),BA=__webpack_require__(90086),UA=__webpack_require__.n(BA),zA=Il()([],["items"]),HA=pe()(FA()((function(e){var t=e.partnerContentId;return t&&[t]||[]})),zA),VA=pe()(FA()(HA),zA);function WA(e){return v.createElement("svg",Et({"aria-hidden":"true",fill:"currentColor",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},e))}__webpack_require__(67294);var YA=__webpack_require__(94184),GA=__webpack_require__.n(YA);__webpack_require__(67294);function KA(e){return v.createElement(WA,Et({viewBox:"0 0 16 12"},e),v.createElement("path",{d:"M8.4148147,12 L1.05185184,12 C0.471229623,12 0,11.552 0,11 C0,10.448 0.471229623,10 1.05185184,10 L8.4148147,10 C8.99543692,10 9.46666654,10.448 9.46666654,11 C9.46666654,11.552 8.99543692,12 8.4148147,12"}),v.createElement("path",{d:"M12.2500002,2 L0.816666683,2 C0.365866674,2 0,1.552 0,1 C0,0.448 0.365866674,0 0.816666683,0 L12.2500002,0 C12.7008002,0 13.0666669,0.448 13.0666669,1 C13.0666669,1.552 12.7008002,2 12.2500002,2"}),v.createElement("path",{d:"M15,7 L1,7 C0.448,7 0,6.552 0,6 C0,5.448 0.448,5 1,5 L15,5 C15.552,5 16,5.448 16,6 C16,6.552 15.552,7 15,7"}))}__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var XA=__webpack_require__(67294),$A=function(e){var t=e.className,n=e.width,r=void 0===n?"20":n,i=e.height,o=void 0===i?"20":i,a=e.focusable,s=void 0===a?"false":a;return XA.createElement("svg",{className:t,width:r,height:o,viewBox:"0 0 20 20",fill:"none",focusable:s,xmlns:"http://www.w3.org/2000/svg"},XA.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0002 3.33334C10.4604 3.33334 10.8335 3.70644 10.8335 4.16668V15.8333C10.8335 16.2936 10.4604 16.6667 10.0002 16.6667C9.53992 16.6667 9.16683 16.2936 9.16683 15.8333V4.16668C9.16683 3.70644 9.53992 3.33334 10.0002 3.33334Z",fill:"currentColor"}),XA.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.57757 9.41075C3.90301 9.08532 4.43065 9.08532 4.75609 9.41075L10.0002 14.6548L15.2442 9.41075C15.5697 9.08532 16.0973 9.08532 16.4228 9.41075C16.7482 9.73619 16.7482 10.2638 16.4228 10.5893L10.5894 16.4226C10.264 16.748 9.73634 16.748 9.41091 16.4226L3.57757 10.5893C3.25214 10.2638 3.25214 9.73619 3.57757 9.41075Z",fill:"currentColor"}))},ZA=(__webpack_require__(67294),__webpack_require__(67294));function QA(e){return ZA.createElement(WA,Et({viewBox:"0 0 384 512"},e),ZA.createElement("path",{fill:"currentColor",d:"M377.4 296.6l-168 176C204.8 477.3 198.6 480 192 480s-12.84-2.688-17.38-7.438l-168-176C-2.5 286.1-2.156 271.8 7.438 262.6c9.5-9.156 24.75-8.812 33.94 .8125L168 396.1V56.02c0-13.25 10.75-24.01 23.1-24.01S216 42.77 216 56.02v340.1l126.6-132.7c9.156-9.625 24.41-9.969 33.94-.8125C386.2 271.8 386.5 286.1 377.4 296.6z"}))}function JA(e){return v.createElement(WA,Et({viewBox:"0 0 22 22"},e),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0002 0.332031C11.7365 0.332031 12.3335 0.928985 12.3335 1.66536L12.3335 20.332C12.3335 21.0684 11.7365 21.6654 11.0002 21.6654C10.2638 21.6654 9.66683 21.0684 9.66683 20.332L9.66683 1.66536C9.66683 0.928985 10.2638 0.332031 11.0002 0.332031Z",fill:"currentColor"}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.72402 10.0559C1.24472 9.53519 2.08894 9.53519 2.60964 10.0559L11.0002 18.4464L19.3907 10.0559C19.9114 9.53519 20.7556 9.53519 21.2763 10.0559C21.797 10.5766 21.797 11.4208 21.2763 11.9415L11.943 21.2748C11.4223 21.7955 10.5781 21.7955 10.0574 21.2748L0.72402 11.9415C0.203321 11.4208 0.203321 10.5766 0.72402 10.0559Z",fill:"currentColor"}))}var eO=__webpack_require__(67294),tO=function(e){var t=e.title,n=void 0===t?"Export":t,r=e.desc,i=void 0===r?"An arrow pointing right":r,o=e.width,a=void 0===o?"16":o,s=e.height,u=void 0===s?"8":s,l=e.className,c=e.focusable,d=void 0===c?"false":c,f=e.decorative;return eO.createElement("svg",{viewBox:"0 0 16 8",width:a,height:u,className:GA()("i",l),focusable:d,"aria-hidden":f?"true":"false"},eO.createElement("title",null,n),eO.createElement("desc",null,i),eO.createElement("path",{fill:"#444",fillRule:"evenodd",d:"M1 5h11.6l-1.3 1.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4l-3-3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4L12.6 3H1c-.6 0-1 .4-1 1s.4 1 1 1"}))},nO=__webpack_require__(67294);function rO(e){return nO.createElement(WA,Et({viewBox:"0 0 384 512"},e),nO.createElement("path",{fill:"currentColor",d:"M6.625 215.5l168-176C179.2 34.7 185.4 32.02 192 32.02s12.84 2.688 17.38 7.438l168 176c9.125 9.594 8.781 24.78-.8125 33.94c-9.5 9.156-24.75 8.812-33.94-.8125L216 115.9V456c0 13.25-10.75 23.1-23.1 23.1S168 469.3 168 456V115.9l-126.6 132.7C32.22 258.2 16.97 258.5 7.438 249.4C-2.156 240.2-2.5 225 6.625 215.5z"}))}function iO(e){return v.createElement(WA,Et({viewBox:"0 0 22 22"},e),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.0007 0.332031C11.737 0.332031 12.334 0.928985 12.334 1.66536L12.334 20.332C12.334 21.0684 11.737 21.6654 11.0007 21.6654C10.2643 21.6654 9.66732 21.0684 9.66732 20.332L9.66732 1.66536C9.66732 0.928985 10.2643 0.332031 11.0007 0.332031Z",fill:"currentColor"}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.0578 0.722556C10.5785 0.201856 11.4228 0.201856 11.9435 0.722556L21.2768 10.0559C21.7975 10.5766 21.7975 11.4208 21.2768 11.9415C20.7561 12.4622 19.9119 12.4622 19.3912 11.9415L11.0007 3.55098L2.61013 11.9415C2.08943 12.4622 1.24521 12.4622 0.724509 11.9415C0.20381 11.4208 0.20381 10.5766 0.724509 10.0559L10.0578 0.722556Z",fill:"currentColor"}))}var oO=function(e){return v.createElement(WA,Et({viewBox:"0 0 10 12"},e),v.createElement("path",{d:"M7.09677 6.92617C8.14516 6.28188 8.79032 5.07383 8.79032 3.78523C8.79032 1.69128 7.09677 0 5 0C2.90323 0 1.20968 1.69128 1.20968 3.78523C1.20968 5.07383 1.85484 6.20134 2.90323 6.92617C1.20968 7.73154 0 9.42282 0 11.4362C0 11.7584 0.241936 12 0.564516 12C0.887097 12 1.12903 11.7584 1.12903 11.4362C1.12903 9.34228 2.90323 7.57047 5 7.57047C7.09677 7.57047 8.87097 9.34228 8.87097 11.4362C8.87097 11.7584 9.1129 12 9.43548 12C9.75806 12 10 11.7584 10 11.4362C9.91935 9.42282 8.79032 7.73154 7.09677 6.92617ZM5 1.12752C6.45161 1.12752 7.66129 2.33557 7.66129 3.78523C7.66129 5.2349 6.45161 6.44295 5 6.44295C3.54839 6.44295 2.33871 5.2349 2.33871 3.78523C2.33871 2.33557 3.46774 1.12752 5 1.12752Z"}))};__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var aO=__webpack_require__(67294),sO=function(e){var t=e.width,n=void 0===t?"17":t,r=e.height,i=void 0===r?"15":r,o=e.title,a=void 0===o?"Book":o,s=e.desc,u=void 0===s?"Book":s,l=e.focusable,c=void 0===l?"false":l,d=e.className;return aO.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 17 15",focusable:c,className:d},aO.createElement("title",null,a),aO.createElement("desc",null,u),aO.createElement("path",{fill:"#FFF",fillRule:"nonzero",d:"M8.407 14.529a.68.68 0 0 1-.374 0L.506 12.553A.679.679 0 0 1 0 11.897V.679C0 .234.42-.09.851.023L8.22 1.957 15.589.023a.679.679 0 0 1 .851.656v11.218a.679.679 0 0 1-.506.656L8.407 14.53zM7.541 3.182L1.357 1.56v9.814l6.184 1.623V3.182zm1.358 0v9.814l6.184-1.623V1.56L8.899 3.182z"}))};__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);function uO(e){return v.createElement(WA,Et({viewBox:"0 0 11 8"},e),v.createElement("path",{d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))}var lO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=void 0===o?"21":o,s=e.role,u=void 0===s?"img":s,l=e.title,c=e.width,d=void 0===c?"21":c;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:GA()("i i-checkMarkFilled",r),focusable:"false",height:a,role:u,viewBox:"0 0 21 21",width:d,xmlns:"http://www.w3.org/2000/svg"},l&&v.createElement("title",null,l),i&&v.createElement("desc",null,i),v.createElement("path",{d:"M10.074 20.959c-5.523 0-10-4.477-10-10s4.477-10 10-10 10 4.477 10 10-4.477 10-10 10zM7.077 10.523a.65.65 0 1 0-.919.919l2.546 2.545a.65.65 0 0 0 .919 0l4.454-4.454a.65.65 0 1 0-.919-.92L9.163 12.61l-2.086-2.086z"}))};function cO(e){return v.createElement(WA,Et({viewBox:"0 0 7 5"},e),v.createElement("path",{d:"M3.104 3.896a.5.5 0 0 0 .707 0l2.543-2.542a.5.5 0 0 0-.708-.708L3.473 2.851 1.353.73a.5.5 0 1 0-.707.707l2.458 2.458Z"}))}__webpack_require__(67294);var dO=__webpack_require__(67294),fO=function(e){var t=e.width,n=void 0===t?"16":t,r=e.height,i=void 0===r?"16":r,o=e.className,a=e.focusable,s=void 0===a?"false":a;return dO.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",width:n,height:i,className:GA()("i i-chevronLeft",o),focusable:s},dO.createElement("polygon",{points:"11.1,15.7 3.4,8 11.1,0.3 12.6,1.7 6.3,8 12.6,14.3 "}))},pO=function(e){return v.createElement(WA,Et({viewBox:"0 0 6 10"},e),v.createElement("path",{fillRule:"nonzero",d:"M5.707 1.707A1 1 0 0 0 4.293.293l-4 4a1 1 0 0 0 0 1.414l4 4a1 1 0 0 0 1.414-1.414L2.414 5l3.293-3.293z"}))},hO=function(e){var t=e.className;return v.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},v.createElement("circle",{cx:"5",cy:"5",r:"5"}))},mO=(__webpack_require__(67294),function(e){var t=e.className;return v.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",foocusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M9.78572 9.78572C9.5 10.0714 9.07143 10.0714 8.78571 9.78572L5 6.00001L1.21429 9.78572C0.928571 10.0714 0.500001 10.0714 0.214285 9.78572C-0.0714284 9.49999 -0.0714284 9.07144 0.214285 8.78571L4 5L0.214285 1.21429C-0.0714284 0.928564 -0.0714284 0.500007 0.214285 0.214279C0.357143 0.0714143 0.500001 0 0.714286 0C0.928571 0 1.07143 0.0714143 1.21429 0.214279L5 3.99999L8.78571 0.214279C8.92857 0.0714143 9.14286 0 9.28572 0C9.42857 0 9.64286 0.0714143 9.78572 0.214279C10.0714 0.500007 10.0714 0.928564 9.78572 1.21429L6 5L9.78572 8.78571C10.0714 9.07144 10.0714 9.49999 9.78572 9.78572Z"}))});__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var vO=__webpack_require__(67294),gO=function(e){var t=e.title,n=void 0===t?"DestinationArrow":t,r=e.desc,i=void 0===r?"DestinationArrow":r,o=e.width,a=void 0===o?"13":o,s=e.height,u=void 0===s?"10":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return vO.createElement("svg",{viewBox:"0 0 13 10",width:a,height:u,className:GA()("i i-destinationArrow",l),focusable:d},vO.createElement("title",null,n),vO.createElement("desc",null,i),vO.createElement("path",{d:"M0 5c0 .345.264.625.59.625h10.393L7.855 8.933a.65.65 0 0 0 0 .884.573.573 0 0 0 .418.183.573.573 0 0 0 .418-.183l4.136-4.374a.66.66 0 0 0 0-.885L8.691.183a.568.568 0 0 0-.836 0 .65.65 0 0 0 0 .884l3.128 3.308H.591C.264 4.375 0 4.655 0 5"}))};__webpack_require__(67294),__webpack_require__(67294);function yO(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}v.Component,__webpack_require__(67294),__webpack_require__(67294);var bO=__webpack_require__(67294),_O=function(e,t){var n=e.title,r=void 0===n?"Download":n,i=e.desc,o=void 0===i?"Arrow down with horizontal line beneath it":i,a=e.width,s=void 0===a?"16":a,u=e.height,l=void 0===u?"19":u,c=e.className,d=e.focusable,f=void 0===d?"false":d;return bO.createElement("svg",{viewBox:"0 0 16 19",width:s,height:l,className:GA()("i i-download",c),focusable:f,ref:t},bO.createElement("title",null,r),bO.createElement("desc",null,o),bO.createElement("rect",{y:"17",width:"16",height:"2",rx:"1"}),bO.createElement("path",{d:"M4.464 8.293A1 1 0 1 0 3.05 9.707l4.24 4.24c.4.4 1.028.392 1.42 0l4.24-4.24a1 1 0 1 0-1.414-1.414L8 4.757 4.464 8.293zm0 0L8 4.757l3.536 3.536L8 11.828 4.464 8.293z"}),bO.createElement("path",{d:"M7 0h2v12H7z"}))},wO=(0,v.forwardRef)(_O);__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var kO=__webpack_require__(67294),EO=function(e){var t=e.title,n=void 0===t?"Draggable":t,r=e.desc,i=void 0===r?"Three dots stacked on top of one another":r,o=e.width,a=void 0===o?"4":o,s=e.height,u=void 0===s?"14":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return kO.createElement("svg",{viewBox:"0 0 4 14",width:a,height:u,className:GA()("i i-ellipsis--vert",l),focusable:d},kO.createElement("title",null,n),kO.createElement("desc",null,i),kO.createElement("g",{transform:"translate(.158 .445)"},kO.createElement("circle",{cx:"1.5",cy:"11.5",r:"1.5"}),kO.createElement("circle",{cx:"1.5",cy:"6.5",r:"1.5"}),kO.createElement("circle",{cx:"1.5",cy:"1.5",r:"1.5"})))};__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294);var xO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=void 0===n?"X mark":n,i=e.className,o=e.desc,a=e.height,s=void 0===a?"10":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=e.width,f=void 0===d?"10":d;return v.createElement("svg",{"aria-hidden":t,"aria-label":r,className:GA()("i i-exMark",i),focusable:"false",height:s,role:l,viewBox:"0 0 10 10",width:f,xmlns:"http://www.w3.org/2000/svg"},c&&v.createElement("title",null,c),o&&v.createElement("desc",null,o),v.createElement("path",{d:"M5,4.17,9.17,0,10,.83,5.83,5,10,9.17,9.17,10,5,5.83.83,10,0,9.17,4.17,5,0,.83.83,0Z"}))},SO=(__webpack_require__(67294),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fillRule:"evenodd",fill:"#DFE1E2"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#C7CACC"}),v.createElement("path",{d:"M13.534 22.9863V24.4163H10.245V26.4458H12.984V27.8813H10.245V30.9998H8.375V22.9863H13.534Z",fill:"#414448"}),v.createElement("path",{d:"M17.533 30.9998H15.663V22.9863H17.533V30.9998Z",fill:"#414448"}),v.createElement("path",{d:"M21.8805 29.5148H24.8505V30.9998H20.0215V22.9863H21.8805V29.5148Z",fill:"#414448"}),v.createElement("path",{d:"M31.8846 22.9863V24.4163H28.5956V26.2863H31.1146V27.6613H28.5956V29.5698H31.8846V30.9998H26.7256V22.9863H31.8846Z",fill:"#414448"}))}),TO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fillRule:"evenodd",fill:"#C3CEED"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#96A9E0",fillRule:"evenodd"}),v.createElement("path",{d:"M14.8355 26.9904C14.8355 27.5698 14.7346 28.1051 14.533 28.5964C14.335 29.0841 14.0545 29.5076 13.6915 29.8669C13.3285 30.2226 12.8903 30.5013 12.377 30.7029C11.8673 30.9009 11.3008 30.9999 10.6775 30.9999H7.56445V22.9864H10.6775C11.3008 22.9864 11.8673 23.0873 12.377 23.2889C12.8903 23.4906 13.3285 23.7693 13.6915 24.1249C14.0545 24.4806 14.335 24.9041 14.533 25.3954C14.7346 25.8831 14.8355 26.4148 14.8355 26.9904ZM12.9325 26.9904C12.9325 26.5944 12.8811 26.2369 12.7785 25.9179C12.6758 25.5989 12.5273 25.3294 12.333 25.1094C12.1423 24.8858 11.9076 24.7153 11.629 24.5979C11.3503 24.4769 11.0331 24.4164 10.6775 24.4164H9.43445V29.5699H10.6775C11.0331 29.5699 11.3503 29.5113 11.629 29.3939C11.9076 29.2729 12.1423 29.1024 12.333 28.8824C12.5273 28.6588 12.6758 28.3874 12.7785 28.0684C12.8811 27.7494 12.9325 27.3901 12.9325 26.9904Z",fill:"#0C3092"}),v.createElement("path",{d:"M24.6375 26.9904C24.6375 27.5698 24.5367 28.1088 24.335 28.6074C24.137 29.1061 23.8565 29.5406 23.4935 29.9109C23.1305 30.2776 22.6923 30.5654 22.179 30.7744C21.6693 30.9834 21.1028 31.0879 20.4795 31.0879C19.8562 31.0879 19.2878 30.9834 18.7745 30.7744C18.2612 30.5654 17.8212 30.2776 17.4545 29.9109C17.0915 29.5406 16.8092 29.1061 16.6075 28.6074C16.4095 28.1088 16.3105 27.5698 16.3105 26.9904C16.3105 26.4111 16.4095 25.8721 16.6075 25.3734C16.8092 24.8748 17.0915 24.4421 17.4545 24.0754C17.8212 23.7088 18.2612 23.4209 18.7745 23.2119C19.2878 23.0029 19.8562 22.8984 20.4795 22.8984C21.1028 22.8984 21.6693 23.0048 22.179 23.2174C22.6923 23.4264 23.1305 23.7143 23.4935 24.0809C23.8565 24.4476 24.137 24.8803 24.335 25.3789C24.5367 25.8776 24.6375 26.4148 24.6375 26.9904ZM22.7345 26.9904C22.7345 26.5944 22.6832 26.2388 22.5805 25.9234C22.4779 25.6044 22.3293 25.3349 22.135 25.1149C21.9443 24.8949 21.7097 24.7263 21.431 24.6089C21.1523 24.4916 20.8352 24.4329 20.4795 24.4329C20.1202 24.4329 19.7993 24.4916 19.517 24.6089C19.2383 24.7263 19.0018 24.8949 18.8075 25.1149C18.6168 25.3349 18.4702 25.6044 18.3675 25.9234C18.2648 26.2388 18.2135 26.5944 18.2135 26.9904C18.2135 27.3901 18.2648 27.7494 18.3675 28.0684C18.4702 28.3838 18.6168 28.6514 18.8075 28.8714C19.0018 29.0914 19.2383 29.2601 19.517 29.3774C19.7993 29.4911 20.1202 29.5479 20.4795 29.5479C20.8352 29.5479 21.1523 29.4911 21.431 29.3774C21.7097 29.2601 21.9443 29.0914 22.135 28.8714C22.3293 28.6514 22.4779 28.3838 22.5805 28.0684C22.6832 27.7494 22.7345 27.3901 22.7345 26.9904Z",fill:"#0C3092"}),v.createElement("path",{d:"M31.9109 28.9264C31.9549 28.9264 31.9989 28.9356 32.0429 28.9539C32.0869 28.9686 32.129 28.9961 32.1694 29.0364L32.9064 29.8119C32.5837 30.2336 32.1785 30.5526 31.6909 30.7689C31.2069 30.9816 30.633 31.0879 29.9694 31.0879C29.3607 31.0879 28.8144 30.9853 28.3304 30.7799C27.85 30.5709 27.4412 30.2849 27.1039 29.9219C26.7702 29.5553 26.5135 29.1226 26.3339 28.6239C26.1542 28.1216 26.0644 27.5771 26.0644 26.9904C26.0644 26.3928 26.167 25.8446 26.3724 25.3459C26.5777 24.8436 26.8637 24.4109 27.2304 24.0479C27.6007 23.6849 28.0425 23.4026 28.5559 23.2009C29.0692 22.9993 29.6357 22.8984 30.2554 22.8984C30.556 22.8984 30.8384 22.9259 31.1024 22.9809C31.37 23.0323 31.6194 23.1056 31.8504 23.2009C32.0814 23.2926 32.294 23.4044 32.4884 23.5364C32.6827 23.6648 32.855 23.8078 33.0054 23.9654L32.3784 24.8069C32.338 24.8583 32.2904 24.9059 32.2354 24.9499C32.1804 24.9903 32.1034 25.0104 32.0044 25.0104C31.9384 25.0104 31.876 24.9958 31.8174 24.9664C31.7587 24.9371 31.6964 24.9023 31.6304 24.8619C31.5644 24.8179 31.491 24.7721 31.4104 24.7244C31.3334 24.6731 31.2399 24.6273 31.1299 24.5869C31.0235 24.5429 30.897 24.5063 30.7504 24.4769C30.6074 24.4476 30.4387 24.4329 30.2444 24.4329C29.907 24.4329 29.599 24.4934 29.3204 24.6144C29.0417 24.7318 28.8015 24.9023 28.5999 25.1259C28.4019 25.3459 28.246 25.6136 28.1324 25.9289C28.0224 26.2443 27.9674 26.5981 27.9674 26.9904C27.9674 27.4011 28.0224 27.7659 28.1324 28.0849C28.246 28.4039 28.3982 28.6734 28.5889 28.8934C28.7832 29.1098 29.0087 29.2748 29.2654 29.3884C29.522 29.5021 29.797 29.5589 30.0904 29.5589C30.259 29.5589 30.413 29.5516 30.5524 29.5369C30.6917 29.5186 30.82 29.4893 30.9374 29.4489C31.0584 29.4086 31.172 29.3573 31.2784 29.2949C31.3884 29.2289 31.4984 29.1483 31.6084 29.0529C31.6524 29.0163 31.7 28.9869 31.7514 28.9649C31.8027 28.9393 31.8559 28.9264 31.9109 28.9264Z",fill:"#0C3092"}))},CO=(__webpack_require__(67294),function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#F5D0CE",fillRule:"evenodd"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#EDADA9",fillRule:"evenodd"}),v.createElement("path",{d:"M10.8678 28.3213V30.9998H9.00879V22.9863H11.8358C12.4005 22.9863 12.8845 23.0542 13.2878 23.1898C13.6948 23.3218 14.0285 23.5052 14.2888 23.7398C14.5528 23.9745 14.7471 24.2513 14.8718 24.5703C14.9965 24.8893 15.0588 25.234 15.0588 25.6043C15.0588 26.004 14.9946 26.3707 14.8663 26.7043C14.738 27.038 14.5418 27.324 14.2778 27.5623C14.0138 27.8007 13.6783 27.9877 13.2713 28.1233C12.868 28.2553 12.3895 28.3213 11.8358 28.3213H10.8678ZM10.8678 26.9188H11.8358C12.3198 26.9188 12.6681 26.8033 12.8808 26.5723C13.0935 26.3413 13.1998 26.0187 13.1998 25.6043C13.1998 25.421 13.1723 25.2542 13.1173 25.1038C13.0623 24.9535 12.978 24.8252 12.8643 24.7188C12.7543 24.6088 12.6131 24.5245 12.4408 24.4658C12.2721 24.4072 12.0705 24.3778 11.8358 24.3778H10.8678V26.9188Z",fill:"#771D18"}),v.createElement("path",{d:"M24.2944 26.9903C24.2944 27.5697 24.1936 28.105 23.9919 28.5963C23.7939 29.084 23.5134 29.5075 23.1504 29.8668C22.7874 30.2225 22.3493 30.5012 21.8359 30.7028C21.3263 30.9008 20.7598 30.9998 20.1364 30.9998H17.0234V22.9863H20.1364C20.7598 22.9863 21.3263 23.0872 21.8359 23.2888C22.3493 23.4905 22.7874 23.7692 23.1504 24.1248C23.5134 24.4805 23.7939 24.904 23.9919 25.3953C24.1936 25.883 24.2944 26.4147 24.2944 26.9903ZM22.3914 26.9903C22.3914 26.5943 22.3401 26.2368 22.2374 25.9178C22.1348 25.5988 21.9863 25.3293 21.7919 25.1093C21.6013 24.8857 21.3666 24.7152 21.0879 24.5978C20.8093 24.4768 20.4921 24.4163 20.1364 24.4163H18.8934V29.5698H20.1364C20.4921 29.5698 20.8093 29.5112 21.0879 29.3938C21.3666 29.2728 21.6013 29.1023 21.7919 28.8823C21.9863 28.6587 22.1348 28.3873 22.2374 28.0683C22.3401 27.7493 22.3914 27.39 22.3914 26.9903Z",fill:"#771D18"}),v.createElement("path",{d:"M31.3465 22.9863V24.4163H28.0575V26.4458H30.7965V27.8813H28.0575V30.9998H26.1875V22.9863H31.3465Z",fill:"#771D18"}))}),AO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#FBDACC",fillRule:"evenodd"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#F8BFA6",fillRule:"evenodd"}),v.createElement("path",{d:"M11.2115 28.3213V30.9998H9.35254V22.9863H12.1795C12.7442 22.9863 13.2282 23.0542 13.6315 23.1898C14.0385 23.3218 14.3722 23.5052 14.6325 23.7398C14.8965 23.9745 15.0909 24.2513 15.2155 24.5703C15.3402 24.8893 15.4025 25.234 15.4025 25.6043C15.4025 26.004 15.3384 26.3707 15.21 26.7043C15.0817 27.038 14.8855 27.324 14.6215 27.5623C14.3575 27.8007 14.022 27.9877 13.615 28.1233C13.2117 28.2553 12.7332 28.3213 12.1795 28.3213H11.2115ZM11.2115 26.9188H12.1795C12.6635 26.9188 13.0119 26.8033 13.2245 26.5723C13.4372 26.3413 13.5435 26.0187 13.5435 25.6043C13.5435 25.421 13.516 25.2542 13.461 25.1038C13.406 24.9535 13.3217 24.8252 13.208 24.7188C13.098 24.6088 12.9569 24.5245 12.7845 24.4658C12.6159 24.4072 12.4142 24.3778 12.1795 24.3778H11.2115V26.9188Z",fill:"#7C2B0E"}),v.createElement("path",{d:"M19.2262 28.3213V30.9998H17.3672V22.9863H20.1942C20.7589 22.9863 21.2429 23.0542 21.6462 23.1898C22.0532 23.3218 22.3869 23.5052 22.6472 23.7398C22.9112 23.9745 23.1055 24.2513 23.2302 24.5703C23.3549 24.8893 23.4172 25.234 23.4172 25.6043C23.4172 26.004 23.353 26.3707 23.2247 26.7043C23.0964 27.038 22.9002 27.324 22.6362 27.5623C22.3722 27.8007 22.0367 27.9877 21.6297 28.1233C21.2264 28.2553 20.7479 28.3213 20.1942 28.3213H19.2262ZM19.2262 26.9188H20.1942C20.6782 26.9188 21.0265 26.8033 21.2392 26.5723C21.4519 26.3413 21.5582 26.0187 21.5582 25.6043C21.5582 25.421 21.5307 25.2542 21.4757 25.1038C21.4207 24.9535 21.3364 24.8252 21.2227 24.7188C21.1127 24.6088 20.9715 24.5245 20.7992 24.4658C20.6305 24.4072 20.4289 24.3778 20.1942 24.3778H19.2262V26.9188Z",fill:"#7C2B0E"}),v.createElement("path",{d:"M31.2008 22.9863V24.4603H28.9458V30.9998H27.0868V24.4603H24.8318V22.9863H31.2008Z",fill:"#7C2B0E"}))},OO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#CFEAF8",fillRule:"evenodd"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#ABDBF3",fillRule:"evenodd"}),v.createElement("path",{d:"M11.6738 28.0355V31H9.81476V22.9865H12.4218C13.0011 22.9865 13.4943 23.047 13.9013 23.168C14.3119 23.2853 14.6456 23.4503 14.9023 23.663C15.1626 23.8757 15.3514 24.1268 15.4688 24.4165C15.5861 24.7062 15.6448 25.0215 15.6448 25.3625C15.6448 25.6228 15.6099 25.8685 15.5403 26.0995C15.4706 26.3305 15.3661 26.545 15.2268 26.743C15.0911 26.9373 14.9224 27.1115 14.7208 27.2655C14.5228 27.4195 14.2936 27.546 14.0333 27.645C14.1579 27.7073 14.2734 27.7843 14.3798 27.876C14.4898 27.9677 14.5851 28.0795 14.6658 28.2115L16.3708 31H14.6878C14.3761 31 14.1524 30.8827 14.0168 30.648L12.6858 28.3215C12.6271 28.2188 12.5574 28.1455 12.4768 28.1015C12.3998 28.0575 12.2898 28.0355 12.1468 28.0355H11.6738ZM11.6738 26.754H12.4218C12.6748 26.754 12.8893 26.7228 13.0653 26.6605C13.2449 26.5945 13.3916 26.5047 13.5053 26.391C13.6189 26.2773 13.7014 26.1453 13.7528 25.995C13.8041 25.841 13.8298 25.676 13.8298 25.5C13.8298 25.148 13.7143 24.873 13.4833 24.675C13.2559 24.477 12.9021 24.378 12.4218 24.378H11.6738V26.754Z",fill:"#144E6C"}),v.createElement("path",{d:"M23.6162 22.9865V24.4605H21.3612V31H19.5022V24.4605H17.2472V22.9865H23.6162Z",fill:"#144E6C"}),v.createElement("path",{d:"M30.5411 22.9865V24.4165H27.2521V26.446H29.9911V27.8815H27.2521V31H25.3821V22.9865H30.5411Z",fill:"#144E6C"}))},NO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fill:"#D1E5D1",fillRule:"evenodd"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#AFD1AE",fillRule:"evenodd"}),v.createElement("path",{d:"M11.8861 26.8804L9.40564 22.9864H11.2646C11.3856 22.9864 11.4736 23.0029 11.5286 23.0359C11.5873 23.0653 11.6386 23.1166 11.6826 23.1899L13.2776 25.8904C13.296 25.8428 13.3161 25.7969 13.3381 25.7529C13.3638 25.7089 13.3913 25.6631 13.4206 25.6154L14.8176 23.2174C14.9093 23.0634 15.034 22.9864 15.1916 22.9864H16.9736L14.4601 26.7979L17.0286 30.9999H15.1696C15.0486 30.9999 14.9496 30.9706 14.8726 30.9119C14.7993 30.8533 14.7406 30.7836 14.6966 30.7029L13.0906 27.8979C13.0613 27.9786 13.0283 28.0483 12.9916 28.1069L11.4956 30.7029C11.4516 30.7799 11.393 30.8496 11.3196 30.9119C11.2463 30.9706 11.1546 30.9999 11.0446 30.9999H9.30664L11.8861 26.8804Z",fill:"#265026"}),v.createElement("path",{d:"M20.6017 29.5149H23.5717V30.9999H18.7427V22.9864H20.6017V29.5149Z",fill:"#265026"}),v.createElement("path",{d:"M29.9128 24.6144C29.8578 24.7024 29.7991 24.7684 29.7368 24.8124C29.6781 24.8564 29.6011 24.8784 29.5058 24.8784C29.4215 24.8784 29.3298 24.8528 29.2308 24.8014C29.1355 24.7464 29.0255 24.6859 28.9008 24.6199C28.7798 24.5539 28.6405 24.4953 28.4828 24.4439C28.3251 24.3889 28.1455 24.3614 27.9438 24.3614C27.5955 24.3614 27.3351 24.4366 27.1628 24.5869C26.9941 24.7336 26.9098 24.9334 26.9098 25.1864C26.9098 25.3478 26.9611 25.4816 27.0638 25.5879C27.1665 25.6943 27.3003 25.7859 27.4653 25.8629C27.634 25.9399 27.8246 26.0114 28.0373 26.0774C28.2536 26.1398 28.4736 26.2113 28.6973 26.2919C28.921 26.3689 29.1391 26.4606 29.3518 26.5669C29.5681 26.6733 29.7588 26.8089 29.9238 26.9739C30.0925 27.1389 30.2281 27.3406 30.3308 27.5789C30.4335 27.8136 30.4848 28.0978 30.4848 28.4314C30.4848 28.8018 30.4206 29.1483 30.2923 29.4709C30.164 29.7936 29.977 30.0759 29.7313 30.3179C29.4893 30.5563 29.1886 30.7451 28.8293 30.8844C28.4736 31.0201 28.0685 31.0879 27.6138 31.0879C27.3645 31.0879 27.1096 31.0623 26.8493 31.0109C26.5926 30.9596 26.3433 30.8881 26.1013 30.7964C25.8593 30.7011 25.632 30.5893 25.4193 30.4609C25.2066 30.3326 25.0215 30.1896 24.8638 30.0319L25.4138 29.1629C25.4541 29.0969 25.511 29.0438 25.5843 29.0034C25.6576 28.9631 25.7365 28.9429 25.8208 28.9429C25.9308 28.9429 26.0408 28.9778 26.1508 29.0474C26.2645 29.1171 26.391 29.1941 26.5303 29.2784C26.6733 29.3628 26.8365 29.4398 27.0198 29.5094C27.2031 29.5791 27.4195 29.6139 27.6688 29.6139C28.0061 29.6139 28.2683 29.5406 28.4553 29.3939C28.6423 29.2436 28.7358 29.0071 28.7358 28.6844C28.7358 28.4974 28.6845 28.3453 28.5818 28.2279C28.4791 28.1106 28.3435 28.0134 28.1748 27.9364C28.0098 27.8594 27.821 27.7916 27.6083 27.7329C27.3956 27.6743 27.1775 27.6101 26.9538 27.5404C26.7301 27.4671 26.512 27.3791 26.2993 27.2764C26.0866 27.1701 25.896 27.0326 25.7273 26.8639C25.5623 26.6916 25.4285 26.4789 25.3258 26.2259C25.2231 25.9693 25.1718 25.6539 25.1718 25.2799C25.1718 24.9793 25.2323 24.6859 25.3533 24.3999C25.4743 24.1139 25.6521 23.8591 25.8868 23.6354C26.1215 23.4118 26.4093 23.2339 26.7503 23.1019C27.0913 22.9663 27.4818 22.8984 27.9218 22.8984C28.1675 22.8984 28.4058 22.9186 28.6368 22.9589C28.8715 22.9956 29.0933 23.0524 29.3023 23.1294C29.5113 23.2028 29.7056 23.2926 29.8853 23.3989C30.0686 23.5016 30.2318 23.6189 30.3748 23.7509L29.9128 24.6144Z",fill:"#265026"}))},PO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"50":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"40":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:s,role:l,viewBox:"0 0 40 50",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{clipRule:"evenodd",d:"M2 0C0.89543 0 0 0.89543 0 2V48C0 49.1046 0.895431 50 2 50H38C39.1046 50 40 49.1046 40 48V14L26 0H2Z",fillRule:"evenodd",fill:"#CFEAF8"}),v.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#ABDBF3"}),v.createElement("path",{d:"M16.8968 22.9863V23.6573C16.8968 23.7527 16.8802 23.8462 16.8472 23.9378C16.8179 24.0295 16.7757 24.1157 16.7207 24.1963L12.9587 29.5698H16.7758V30.9998H10.5938V30.2848C10.5938 30.2005 10.6084 30.118 10.6377 30.0373C10.6671 29.953 10.7074 29.876 10.7587 29.8063L14.5317 24.4163H10.9017V22.9863H16.8968Z",fill:"#124F6E"}),v.createElement("path",{d:"M20.7826 30.9998H18.9126V22.9863H20.7826V30.9998Z",fill:"#124F6E"}),v.createElement("path",{d:"M25.1301 28.3213V30.9998H23.2711V22.9863H26.0981C26.6627 22.9863 27.1467 23.0542 27.5501 23.1898C27.9571 23.3218 28.2907 23.5052 28.5511 23.7398C28.8151 23.9745 29.0094 24.2513 29.1341 24.5703C29.2587 24.8893 29.3211 25.234 29.3211 25.6043C29.3211 26.004 29.2569 26.3707 29.1286 26.7043C29.0002 27.038 28.8041 27.324 28.5401 27.5623C28.2761 27.8007 27.9406 27.9877 27.5336 28.1233C27.1302 28.2553 26.6517 28.3213 26.0981 28.3213H25.1301ZM25.1301 26.9188H26.0981C26.5821 26.9188 26.9304 26.8033 27.1431 26.5723C27.3557 26.3413 27.4621 26.0187 27.4621 25.6043C27.4621 25.421 27.4346 25.2542 27.3796 25.1038C27.3246 24.9535 27.2402 24.8252 27.1266 24.7188C27.0166 24.6088 26.8754 24.5245 26.7031 24.4658C26.5344 24.4072 26.3327 24.3778 26.0981 24.3778H25.1301V26.9188Z",fill:"#124F6E"}))},IO=(__webpack_require__(67294),__webpack_require__(67294)),LO=function(e){var t=e.title,n=void 0===t?"Fill in the Blank":t,r=e.desc,i=void 0===r?"Pencil writing on a surface":r,o=e.width,a=void 0===o?"15":o,s=e.height,u=void 0===s?"15":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return IO.createElement("svg",{viewBox:"0 0 15 15",width:a,height:u,className:GA()("i i-fillInTheBlank",l),focusable:d},IO.createElement("title",null,n),IO.createElement("desc",null,i),IO.createElement("path",{d:"M2.488 8.246l5.25-5.25 1.4 1.4-5.25 5.25h-1.4v-1.4zm-.875 3.15h2.625a.794.794 0 0 0 .613-.262l6.125-6.125a.846.846 0 0 0 0-1.225L8.35 1.159a.846.846 0 0 0-1.225 0L1 7.284a.794.794 0 0 0-.263.612v2.625c0 .525.35.875.875.875zM.739 13.146h14v1.75h-14z"}))},MO=(__webpack_require__(67294),__webpack_require__(67294),function(e){return v.createElement(WA,Et({viewBox:"0 0 15 15"},e),v.createElement("path",{d:"M13.32 2.84H7.543L5.182.477a.794.794 0 0 0-.613-.262h-3.5c-.525 0-.875.35-.875.875v12.25c0 .525.35.875.875.875h12.25c.525 0 .875-.35.875-.875V3.715c0-.525-.35-.875-.875-.875"}))});__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);function RO(e){return v.createElement(WA,Et({viewBox:"0 0 20 14"},e),v.createElement("path",{d:"M0 0H20V2H0V0Z M0 6H20V8H0V6Z M20 12H0V14H20V12Z"}))}var DO=__webpack_require__(67294),qO=function(e){var t=e.className,n=e.decorative,r=void 0===n||n,i=e.desc,o=void 0===i?"Heart":i,a=e.focusable,s=void 0===a?"false":a,u=e.height,l=void 0===u?"16":u,c=e.isFilled,d=void 0===c||c,f=e.title,p=void 0===f?"Heart":f,h=e.width,m=void 0===h?"16":h;return DO.createElement("svg",{"aria-hidden":r,viewBox:"0 0 16 16",width:m,height:l,className:GA()("i i-heart".concat(d?"Filled":"Outline"),t),focusable:s},DO.createElement("title",null,p),DO.createElement("desc",null,o),DO.createElement("path",{d:"M11.15 1C9.838 1 8.7 1.7 8 2.75 7.3 1.7 6.162 1 4.85 1 2.75 1 1 2.75 1 4.85c0 3.85 7 9.538 7 9.538S15 8.7 15 4.85C15 2.75 13.25 1 11.15 1"}))};__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var jO=__webpack_require__(67294),FO=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=e.role,s=void 0===a?"img":a,u=e.title,l=e.width;return jO.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,fill:"none",focusable:"false",height:o,role:s,viewBox:"0 0 40 40",width:l,xmlns:"http://www.w3.org/2000/svg"},u&&jO.createElement("title",null,u),i&&jO.createElement("desc",null,i),jO.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 23C24 24.5064 23.1673 25.8183 21.9371 26.5005C21.9782 26.6602 22 26.8275 22 27V30C22 31.1046 21.1046 32 20 32C18.8954 32 18 31.1046 18 30V27C18 26.8275 18.0218 26.6602 18.0629 26.5005C16.8327 25.8183 16 24.5064 16 23C16 20.7909 17.7909 19 20 19C22.2091 19 24 20.7909 24 23ZM20 25C21.1046 25 22 24.1046 22 23C22 21.8954 21.1046 21 20 21C18.8954 21 18 21.8954 18 23C18 24.1046 18.8954 25 20 25Z",fill:"#313537"}),jO.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 10V13C8.68629 13 6 15.6863 6 19V32C6 35.3137 8.68629 38 12 38H28C31.3137 38 34 35.3137 34 32V19C34 15.6863 31.3137 13 28 13V10C28 5.58172 24.4183 2 20 2C15.5817 2 12 5.58172 12 10ZM20 4C16.6863 4 14 6.68629 14 10V13H26V10C26 6.68629 23.3137 4 20 4ZM8 19C8 16.7909 9.79086 15 12 15H28C30.2091 15 32 16.7909 32 19V32C32 34.2091 30.2091 36 28 36H12C9.79086 36 8 34.2091 8 32V19Z",fill:"#313537"}))};function BO(e){return v.createElement(WA,Et({viewBox:"0 0 20 22"},e),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 9V6C4 4.4087 4.63214 2.88258 5.75736 1.75736C6.88258 0.632141 8.4087 0 10 0C11.5913 0 13.1174 0.632141 14.2426 1.75736C15.3679 2.88258 16 4.4087 16 6V9H17C18.6569 9 20 10.3431 20 12V19C20 20.6569 18.6569 22 17 22H3C1.34315 22 0 20.6569 0 19V12C0 10.3431 1.34315 9 3 9H4ZM7.17157 3.17157C7.92172 2.42143 8.93913 2 10 2C11.0609 2 12.0783 2.42143 12.8284 3.17157C13.5786 3.92172 14 4.93913 14 6V9H6V6C6 4.93913 6.42143 3.92172 7.17157 3.17157Z"}))}__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var UO=__webpack_require__(67294),zO=function(e){var t=e.title,n=void 0===t?"Not Allowed":t,r=e.desc,i=void 0===r?"A circle with a slanted line through it":r,o=e.width,a=void 0===o?"12":o,s=e.height,u=void 0===s?"12":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return UO.createElement("svg",{viewBox:"0 0 12 12",width:a,height:u,className:GA()("i i-notAllowed",l),focusable:d},UO.createElement("title",null,n),UO.createElement("desc",null,i),UO.createElement("path",{fill:"#FFF",fillRule:"evenodd",d:"M6 10.5c-.975 0-1.875-.3-2.625-.825l6.3-6.3c.525.75.825 1.65.825 2.625 0 2.475-2.025 4.5-4.5 4.5m0-9c.975 0 1.875.3 2.625.825l-6.3 6.3A4.546 4.546 0 0 1 1.5 6c0-2.475 2.025-4.5 4.5-4.5M6 0C2.7 0 0 2.7 0 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6"}))},HO=(__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(73955)),VO=__webpack_require__.n(HO);function WO(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var YO=function(e){gt(n,e);var t=WO(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).maskId="person-unknown-mask-".concat(VO()()),r.pathId="person-unknown-path-".concat(VO()()),r}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=void 0===t?"Person Unknown":t,r=e.desc,i=e.width,o=void 0===i?"38":i,a=e.height,s=void 0===a?"38":a,u=e.className,l=e.decorative,c=e.focusable,d=void 0===c?"false":c;return v.createElement("svg",{"aria-hidden":l,viewBox:"0 0 38 38",width:o,height:s,className:GA()("i i-person-unknown",u),focusable:d},n&&v.createElement("title",null,n),r&&v.createElement("desc",null,r),v.createElement("defs",null,v.createElement("circle",{id:this.pathId,cx:"19",cy:"19",r:"19"})),v.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},v.createElement("mask",{id:this.maskId,fill:"#fff"},v.createElement("use",{href:"#".concat(this.pathId)})),v.createElement("use",{fill:"#D8D8D8",href:"#".concat(this.pathId)}),v.createElement("path",{d:"M15.1239928,24 C12.6645753,22.6352711 11,20.0120267 11,17 C11,12.581722 14.581722,9 19,9 C23.418278,9 27,12.581722 27,17 C27,20.0120267 25.3354247,22.6352711 22.8760072,24 L23,24 C27.4182847,24 31,27.5817153 31,32 L31,43 C31,43.5522847 30.5522847,44 30,44 L8,44 C7.44771525,44 7,43.5522847 7,43 L7,32 C7,27.5817153 10.5817153,24 15,24 L15.1239928,24 Z",fill:"#ADAEAF",fillRule:"nonzero",mask:"url(#".concat(this.maskId,")")})))}}]),n}(v.Component),GO=__webpack_require__(67294),KO=function(e){var t=e.title,n=void 0===t?"Pick One":t,r=e.desc,i=void 0===r?"Pick One":r,o=e.width,a=void 0===o?"16":o,s=e.height,u=void 0===s?"14":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return GO.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:u,viewBox:"0 0 16 14",className:GA()("i i-pickOne",l),focusable:d},GO.createElement("title",null,n),GO.createElement("desc",null,i),GO.createElement("g",{fillRule:"evenodd"},GO.createElement("path",{fillRule:"nonzero",d:"M5.039 10.865A1.284 1.284 0 1 1 3.754 9.58v-1.6a2.884 2.884 0 1 0-.001 5.768 2.884 2.884 0 0 0 0-5.768v1.6c.71 0 1.286.575 1.286 1.285zM5.039 3.851a1.284 1.284 0 1 1-1.285-1.285v-1.6a2.884 2.884 0 1 0-.001 5.769 2.884 2.884 0 0 0 0-5.769v1.6c.71 0 1.286.575 1.286 1.285z"}),GO.createElement("path",{d:"M8.862 1.324h7v2h-7zM8.862 4.324h7v2h-7zM8.862 8.324h7v2h-7zM8.862 11.324h7v2h-7z"})))};__webpack_require__(67294),__webpack_require__(67294);function XO(e){return v.createElement(WA,Et({viewBox:"0 0 16 16"},e),v.createElement("path",{d:"M14,14 L2,14 L2,2 L14,2 L14,14 Z M15,0 L1,0 C0.4,0 0,0.4 0,1 L0,15 C0,15.6 0.4,16 1,16 L15,16 C15.6,16 16,15.6 16,15 L16,1 C16,0.4 15.6,0 15,0 L15,0 Z"}),v.createElement("path",{d:"M7.9997,11 C8.5517,11 8.9997,11.448 8.9997,12 C8.9997,12.552 8.5517,13 7.9997,13 C7.4477,13 6.9997,12.552 6.9997,12 C6.9997,11.448 7.4477,11 7.9997,11"}),v.createElement("path",{d:"M7.0997,5.5 C7.2997,5.2 7.5997,5 7.9997,5 C8.5997,5 8.9997,5.4 8.9997,6 C8.9997,6.3 8.8997,6.4 8.3997,6.7 C7.7997,7.1 6.9997,7.7 6.9997,9 L6.9997,10 L8.9997,10 L8.9997,9 C8.9997,8.8 8.9997,8.7 9.4997,8.4 C10.0997,8 10.9997,7.4 10.9997,6 C10.9997,4.3 9.6997,3 7.9997,3 C6.8997,3 5.8997,3.6 5.3997,4.5 L4.8997,5.4 L6.5997,6.4 L7.0997,5.5 Z"}))}__webpack_require__(67294);function $O(e){return v.createElement(WA,Et({viewBox:"0 0 15 14"},e),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.666669 1.00005C1.03486 1.00005 1.33334 1.29853 1.33334 1.66672V5.00005H4.66667C5.03486 5.00005 5.33334 5.29853 5.33334 5.66672C5.33334 6.0349 5.03486 6.33338 4.66667 6.33338H0.666669C0.298479 6.33338 2.01494e-06 6.0349 2.01494e-06 5.66672V1.66672C2.01494e-06 1.29853 0.298479 1.00005 0.666669 1.00005Z"}),v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.07024 0.404628C8.50152 0.203255 9.95947 0.472493 11.2244 1.17177C12.4894 1.87106 13.4928 2.9625 14.0835 4.28165C14.6742 5.60081 14.8202 7.07621 14.4995 8.48555C14.1788 9.89489 13.4088 11.1618 12.3054 12.0955C11.202 13.0291 9.82511 13.5789 8.38212 13.6619C6.93913 13.745 5.50824 13.3568 4.30504 12.5559C3.10184 11.755 2.19151 10.5848 1.71122 9.22158C1.58887 8.87431 1.7712 8.49361 2.11847 8.37127C2.46574 8.24892 2.84644 8.43125 2.96879 8.77852C3.35302 9.86911 4.08128 10.8053 5.04384 11.446C6.0064 12.0867 7.15112 12.3972 8.30551 12.3308C9.4599 12.2644 10.5614 11.8245 11.4441 11.0776C12.3268 10.3307 12.9429 9.31717 13.1994 8.18969C13.456 7.06222 13.3392 5.8819 12.8666 4.82658C12.3941 3.77125 11.5913 2.8981 10.5794 2.33867C9.56739 1.77925 8.40102 1.56386 7.256 1.72496C6.11098 1.88606 5.04933 2.41492 4.23101 3.23185C4.22625 3.2366 4.22142 3.24128 4.21652 3.24588L1.12319 6.15255C0.854867 6.40468 0.432961 6.39155 0.180833 6.12323C-0.0712944 5.85491 -0.0581685 5.43301 0.210151 5.18088L3.29633 2.28094C4.31823 1.26392 5.64238 0.60552 7.07024 0.404628Z"}))}function ZO(e){return v.createElement(WA,Et({viewBox:"0 0 28 28"},e),v.createElement("path",{d:"M0.602462 14.9446C-0.0244077 15.1759 -0.0720487 15.7437 0.0596979 16.4712C1.24525 23.0177 7.00549 28 13.9288 28C22.0136 28 28.5288 21.1924 27.9661 13.0292C27.4922 6.10378 21.8359 0.475002 14.8765 0.0329519C10.0788 -0.291229 5.72563 1.80126 2.97148 5.21978L1.63888 4.12944C1.07616 3.68748 0.217442 4.07044 0.217442 4.8072V9.84668C0.217442 10.4067 0.720862 10.8192 1.25405 10.7012L1.49079 10.6422L2.61619 10.4064L3.09007 10.318L6.22894 9.64027C6.93974 9.49288 7.17671 8.57935 6.58425 8.10777L4.98518 6.84067C7.32461 3.95266 11.0858 2.21377 15.2022 2.65593C20.4735 3.21591 24.738 7.45959 25.3303 12.7052C26.0709 19.5717 20.681 25.4068 13.9287 25.4068C8.30488 25.4068 3.62815 21.3639 2.64243 16.0542C2.51095 15.346 2.19718 14.5886 1.49075 14.7383L0.602462 14.9446Z",fill:"currentColor"}))}__webpack_require__(67294);function QO(e){return v.createElement(WA,Et({viewBox:"0 0 23 17"},e),v.createElement("path",{d:"M19.347 8.275l1.88 1.714a.727.727 0 0 0 .98-1.074l-3.225-2.941a.727.727 0 0 0-1.027.047l-2.94 3.224a.727.727 0 0 0 1.075.98l1.802-1.976a6.545 6.545 0 0 1-11.56 4.288.727.727 0 1 0-1.114.935 8 8 0 0 0 14.129-5.197zm-16.039.162l-1.79-1.633a.727.727 0 1 0-.98 1.074l3.223 2.94c.297.272.757.25 1.028-.046l2.94-3.224a.727.727 0 0 0-1.075-.98L4.768 8.636a6.545 6.545 0 0 1 11.555-4.482.727.727 0 1 0 1.114-.936A8 8 0 0 0 3.308 8.437z",fillRule:"nonzero"}))}__webpack_require__(67294),__webpack_require__(67294);var JO=function(e){return v.createElement(WA,Et({viewBox:"0 0 16 16"},e),v.createElement("path",{d:"M14.1259 3.625C14.65 3.625 15 3.975 15 4.5V14.125C15 14.65 14.65 15 14.1249 15H1.87506C1.35003 15 1 14.65 1 14.125V1.875C1 1.35 1.35003 1 1.87506 1H5.37531C5.63833 1 5.81334 1.087 5.98836 1.262L8.35052 3.625H14.1259ZM7.9785 6.093C7.10444 6.093 6.38938 6.808 6.38938 7.683V8.079C6.38938 8.953 7.10444 9.668 7.9785 9.668C8.85256 9.668 9.56761 8.953 9.56761 8.079V7.682C9.56761 6.808 8.85256 6.093 7.9775 6.093H7.9785ZM9.56761 9.827C9.35786 10.0329 9.10928 10.1951 8.8363 10.3041C8.56332 10.4131 8.2714 10.4668 7.9775 10.462C7.68393 10.4665 7.39239 10.4127 7.11977 10.3037C6.84716 10.1947 6.5989 10.0327 6.38938 9.827C5.67433 10.065 5.1983 10.581 5.1983 11.257V12.448H10.7587V11.257C10.7587 10.581 10.2817 10.065 9.56761 9.827Z"}))},eN=__webpack_require__(67294),tN=function(e){var t=e.title,n=void 0===t?"Sortable":t,r=e.desc,i=void 0===r?"Three horizontal lines stacked on top of each other":r,o=e.width,a=void 0===o?"22":o,s=e.height,u=void 0===s?"7":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return eN.createElement("svg",{viewBox:"0 0 22 7",width:a,height:u,className:GA()("i i-sortable",l),focusable:d},eN.createElement("title",null,n),eN.createElement("desc",null,i),eN.createElement("rect",{x:"0",y:"0",width:"100%",height:"1",strokeWidth:"1"}),eN.createElement("rect",{x:"0",y:"3",width:"100%",height:"1",strokeWidth:"1"}),eN.createElement("rect",{x:"0",y:"6",width:"100%",height:"1",strokeWidth:"1"}))};__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);function nN(e){return v.createElement(WA,Et({viewBox:"0 0 15 16"},e),v.createElement("path",{d:"M8.69169169,1.65459164 C7.42998802,0.732912554 5.79691384,0.425404591 4.21164279,0.810071145 C2.01180284,1.34426767 0.429519485,3.32166778 0.449238273,5.51223961 C0.454317355,6.09008425 0.560978072,6.64511922 0.766531499,7.16185651 C0.884545458,7.45866364 1.19914976,7.66620336 1.53138146,7.66620336 C1.60756769,7.66620336 1.72289272,7.66620336 1.80027403,7.62903206 C2.21496611,7.48682371 2.41812939,7.05879065 2.26276924,6.65638325 C2.09725092,6.18836289 2.02345485,5.8315748 2.02345485,5.49928598 C2.02345485,4.55873965 2.44860388,3.66071502 3.19044858,3.03527987 C3.94334777,2.40027029 4.91763516,2.10993997 5.93524413,2.21694824 C6.90415367,2.31888769 7.79388929,2.81901053 8.37648985,3.58890684 C8.96058425,4.36077436 9.17300938,5.31962473 8.9590904,6.21962057 C8.94235931,6.29002074 8.92204298,6.35957612 8.89754388,6.42913149 C8.84436291,6.5969655 8.8709534,6.79042518 8.97074242,6.9599488 C9.07979329,7.14524206 9.26204269,7.2823816 9.47088259,7.33616734 C9.67285078,7.38770027 9.89573284,7.36517221 10.0812687,7.27308878 C10.2742738,7.17762614 10.4108115,7.01936655 10.4654863,6.83041248 C10.6062067,6.40012662 10.6773139,5.94111748 10.6773139,5.4666203 C10.6773139,3.96597018 9.95369412,2.57655233 8.69169169,1.65459164"}),v.createElement("path",{d:"M12.4033641,9.43002363 L7.46962051,8.60458861 L7.42312479,5.65704834 C7.42257778,4.87028142 6.91659487,4.17992696 6.16391111,3.93838024 C5.57177436,3.74839098 4.94490256,3.83320301 4.44493675,4.1709044 C3.94633846,4.50757465 3.64849231,5.04841246 3.64849231,5.61734909 L3.64849231,12.0692503 L3.27543248,11.4577787 C3.01177436,11.0154157 2.60233846,10.7096799 2.12288547,10.5967691 C1.65355214,10.4859205 1.14620171,10.5673813 0.72637265,10.8220752 C0.0398769231,11.2721719 -0.184396581,12.1996907 0.158577778,13.1957809 C0.165415385,13.210217 0.18237265,13.2532675 0.209176068,13.3208077 C0.319671795,13.5979291 0.578406838,14.2475532 0.952013675,15.0616455 L0.999603419,15.1523867 C1.20227009,15.608928 1.48534701,15.7290569 1.72739829,15.7290569 C1.84445812,15.7290569 1.95139829,15.7009581 2.03563761,15.6692503 C2.21204786,15.6022256 2.33922735,15.4880258 2.40322735,15.3387669 C2.47816752,15.1637293 2.46285128,14.9407433 2.36356923,14.7319356 C2.32992821,14.653826 1.5422359,12.8165757 1.50968889,12.7477465 C1.36828718,12.295072 1.41396239,11.9890784 1.49437265,11.9455124 C1.58845812,11.9011729 1.69403077,11.8869946 1.7730735,11.9009151 C1.9133812,11.9449968 1.98832137,12.0042879 2.05697094,12.1321504 L3.53963761,14.292666 C3.71905641,14.5633426 4.15146667,14.7654479 4.59946667,14.6061353 C4.93888547,14.4857487 5.12568889,14.2596692 5.12568889,13.9699162 L5.12568889,5.69416971 C5.12568889,5.5072739 5.23317607,5.33739205 5.39317607,5.27114071 C5.54469744,5.20927175 5.70797949,5.21984103 5.84117607,5.3018174 C5.97546667,5.38456713 6.05560342,5.52196778 6.05560342,5.66916434 L6.05560342,9.09129108 C6.05560342,9.4367261 6.34715897,9.7540623 6.69232137,9.78396563 L6.6942359,9.78396563 L12.1632274,10.6988528 C12.7868171,10.8042879 13.2397402,11.3141912 13.2397402,11.9112266 L13.2397402,15.0784017 C13.2397402,15.434406 13.5457915,15.72287 13.9235009,15.72287 C14.3009368,15.72287 14.6072615,15.434406 14.6072615,15.0784017 L14.6072615,11.9112266 C14.6072615,10.6893147 13.6809026,9.64579162 12.4033641,9.43002363"}))}__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);function rN(e){return v.createElement(WA,Et({viewBox:"0 0 16 12"},e),v.createElement("g",{transform:"translate(-1 -2)"},v.createElement("path",{d:"M11,14 L2,14 C1.4,14 1,13.6 1,13 L1,3 C1,2.4 1.4,2 2,2 L11,2 C11.6,2 12,2.4 12,3 L12,4.5 L15.6,3 C16.3,2.8 17,3.3 17,4 L17,12 C17,12.7 16.3,13.2 15.6,12.9 L12,11.5 L12,13 C12,13.6 11.6,14 11,14 L11,14 L11,14 Z M3,12 L10,12 L10,10 C10,9.3 10.7,8.8 11.4,9.1 L15,10.6 L15,5.6 L11.4,7.1 C10.7,7.2 10,6.7 10,6 L10,4 L3,4 L3,12 L3,12 L3,12 Z"})))}__webpack_require__(67294),__webpack_require__(67294);var iN,oN,aN,sN,uN,lN,cN,dN=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=void 0===i?"":i,a=e.height,s=void 0===a?"20":a,u=e.role,l=void 0===u?"img":u,c=e.title,d=void 0===c?"":c,f=e.width,p=void 0===f?"20":f;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:GA()("i i-xMarkFilled",r),focusable:"false",height:s,role:l,viewBox:"0 0 20 20",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&v.createElement("title",null,d),o&&v.createElement("desc",null,o),v.createElement("path",{d:"M10 9.08L6.904 5.986a.65.65 0 1 0-.92.92L9.082 10l-3.096 3.096a.65.65 0 0 0 .92.92L10 10.918l3.096 3.096a.65.65 0 0 0 .92-.92L10.918 10l3.096-3.096a.65.65 0 1 0-.92-.92L10 9.082zM10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10z"}))},fN={DRAW_FROM_QUESTION_BANK:"DRAW_FROM_QUESTION_BANK",FILL_IN_THE_BLANK:"FILL_IN_THE_BLANK",MATCHING:"MATCHING",MULTIPLE_CHOICE:"MULTIPLE_CHOICE",MULTIPLE_RESPONSE:"MULTIPLE_RESPONSE"},pN="all",hN="none",mN="incorrect",vN=Dl()([[T_()([Ua()(!0),Ua()(pN)]),Zr()(pN)],[T_()([Ua()(!1),Ua()(hN)]),Zr()(hN)],[Ua()(mN),Zr()(mN)],[bb(),Zr()(pN)]]),gN=fN,yN=Fo()("rise/status/")("SET_LOADED"),bN=Fa({connection:"connected",courseLoaded:!1,fontsLoaded:!1,notFound:!1,partnerContentLoaded:!1},qr({},yN,(function(e,t){return To()(e,t)}))),_N=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return ja(yN,{courseLoaded:e})},wN=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return ja(yN,{partnerContentLoaded:e})},kN=Fo()("rise/course/"),EN=kN("LOAD_COURSE"),xN=kN("UPDATE_COMPLETED_AT"),SN=kN("UPDATE_COURSE_PREVIEW"),TN=Pa()(pe()(Jo(),Wn()(["settings","revealAnswers"])),ma()(sa()(["settings","revealAnswers"]),vN)),CN=ma()(la()("lessons"),bi()(TN)),AN=function(e){return pe()(To()(e),pa()("lessonsOnly"),l_()(Ci()("type","section")))(e.lessons)},ON=D_()(Jo(),"theme"),NN=pe()(DA,RA),PN=ti()(ON,NN,DA),IN=Nx()(Ro()("favoritedAt",new Date)),LN=Nx()(Ro()("favoritedAt",null)),MN=Nx()(Ax()("completedAt",(function(){return(new Date).toISOString()}))),RN=Fa({},(qr(iN={},qx,IN),qr(iN,jx,LN),qr(iN,EN,(function(e,t){var n=t.completedAt,r=t.course,i=t.favoritedAt,o=t.riseComCurrentUser,a=t.riseComCourseId,s=t.riseComEnrollmentType,u=t.riseComLearningPathId;return wa()(CN,AN,To()(Xa(),{completedAt:n,favoritedAt:i,riseComCourseId:a,riseComEnrollmentType:s,riseComCurrentUser:o,riseComLearningPathId:u}),PN)(r)})),qr(iN,xN,MN),qr(iN,SN,(function(e,t){return t.course})),iN)),DN=function(e){return function(t){404===t.statusCode&&e(function(){return ja(yN,{notFound:arguments.length>0&&void 0!==arguments[0]&&arguments[0]})}(!0))}},qN=function(e){return function(t){return t([ja(Fx,e),wN(!0)])}},jN=function(e){return Ha()(e)?wN(!0):Ra()(t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ex("fetchPartnerContent")?QE.fetchPartnerContent(e):Xr().of({content:[]})}(e)).call(t,qN);var t},FN=function(e){return function(t){var n=t.course,r=function(e){var t=e.course,n=e.lessons,r=FA()(VA,n),i=Ru()(null,"partnerContentId",t),o=i?[i]:[];return zl(r,Fo()(o),UA())}({course:n,lessons:n.lessons});e([ja(EN,t),_N(!0),jN(r)])}},BN=function(){return function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ex("fetch")?Gr().resolve(QE.fetch()):Gr().resolve(e)}().then(FN(e)).catch(DN(e))}},UN=ja(SN),zN=(ja(xN),Fa({},qr({},EN,(function(e,t){var n=t.labelSet;return To()(e,n)})))),HN=__webpack_require__(96249),VN="rise/features/SET_FEATURE_FLAGS",WN=(0,HN.handle)({},qr({},VN,(function(e,t){return t}))),YN=(0,HN.action)(VN),GN=__webpack_require__(18231),KN=__webpack_require__.n(GN),XN=__webpack_require__(37347),$N=__webpack_require__.n(XN),ZN=(__webpack_require__(75933),bi()(Hn()(Fo())(":".concat("n3,n4,i4,n7,n9"))),pe()(KN()(","),ra()),function(e,t){var n=new FontFace(t.name,e,{family:t.name,style:t.style,weight:t.weight});return n.load().then((function(){return document.fonts.add(n)}))}),QN=function(e,t){var n,r,i,o=document.createElement("style");return o.innerText=St()(n=St()(r=St()(i="@font-face { font-family: '".concat(t.name,"'; src: ")).call(i,e,"; font-weight: ")).call(r,t.weight,"; font-style: ")).call(n,t.style,"; }"),document.head.appendChild(o),new($N())(t.name,{style:t.style,weight:t.weight}).load()},JN=function(e){var t="url(".concat(function(e){var t;if(Zn("resolveFontPath"))return Kn.resolveFontPath(e);var n=e.default?Xn("CDN_URI"):Xn("CDN_USER_CONTENT_URI");return St()(t="".concat(n,"/")).call(t,e.key)}(e),") format('woff')");return("fonts"in document?ZN:QN)(t,e)},eP=function(e,t){var n,r=Gr().all(Ra()(e).call(e,JN)),i=new(Gr())((function(e){n=setTimeout(e,5e3)}));return Gr().race([r,i]).finally((function(){clearTimeout(n),t()}))},tP=(Fo()("rise/fonts/")("LOAD_FONTS"),To()({})),nP=Fa({},(qr(oN={},EN,(function(e,t){var n=t.fonts;return To()(e,Oa()(rP)(n))})),qr(oN,SN,(function(e,t){var n=t.fonts;return tP(n)})),oN)),rP=function(e){return eP(e,(function(){return lI(function(){return ja(yN,{fontsLoaded:arguments.length>0&&void 0!==arguments[0]&&arguments[0]})}(!0))}))},iP={isPreview:"preview"===window.viewType,externalLinksModalVisible:!1},oP=Fo()("rise/globals/")("SHOW_EXTERNAL_LINKS_MODAL"),aP=Fa(iP,qr({},oP,(function(e,t){return To()(e,{externalLinksModalVisible:t})}))),sP=ja(oP),uP=__webpack_require__(55389),lP=__webpack_require__.n(uP),cP=B_()(2,(function(e){return gc()((0,HN.error)(e),(0,HN.action)(e))})),dP=Fo()("rise/learningPathUpNext/"),fP=dP("FETCH_LP_UP_NEXT"),pP=dP("FETCH_LP_UP_NEXT_PENDING"),hP=os()(gb()("id")),mP=Hn()(Ak()({nextCourse:La()(hP,Zr()({})),learningPathComplete:hP,lpHasFailedQuiz:Gn()("lpHasFailedQuiz"),isPending:!1,isSuccess:!0})),vP=Ro()("isPending",!0),gP=((0,HN.handle)({nextCourse:{},learningPathComplete:!1,isPending:!1,isSuccess:!1},(qr(aN={},fP,(0,HN.onSuccess)(mP)),qr(aN,pP,vP),aN)),lP()([(0,HN.action)(pP),wa()(Xr().fromPromise((function(){if(Ix("fetchLpUpNext"))return Px.fetchLpUpNext.apply(Px,arguments)})),cP(fP))])),yP=__webpack_require__(89576),bP=__webpack_require__.n(yP),_P=__webpack_require__(67964),wP=__webpack_require__.n(_P),kP=function(e,t){var n=ls()(Ci()("id",t.id),e.content),r=-1===n?bP()(t):wP()(n,t);return pi()({content:r},e)},EP=qr({},Fx,(function(e,t){return Ea()(kP,e,t)})),xP=(0,HN.handle)({content:[]},EP),SP=Fo()("rise/search/"),TP=SP("RESET_SEARCH"),CP=SP("SET_SEARCH_ACTIVE"),AP=SP("SET_SEARCH_ACTIVE_LESSONS"),OP=SP("SET_SEARCH_LESSONS"),NP=SP("SET_SEARCH_TERM"),PP={active:!1,activeLessons:[],lessons:[],term:null},IP=Fa(PP,(qr(sN={},TP,(function(e,t){return t?Ro()("active",e.active,PP):e})),qr(sN,CP,(function(e,t){return Ro()("active",t,e)})),qr(sN,AP,(function(e,t){return Ro()("activeLessons",t,e)})),qr(sN,OP,(function(e,t){return Ro()("lessons",t,e)})),qr(sN,NP,(function(e,t){return Ro()("term",t,e)})),sN)),LP=ja(TP),MP=ja(CP),RP=ja(AP),DP=ja(OP),qP=ja(NP),jP=Fo()("rise/sessionPreferences/"),FP=jP("LOAD_SESSION_PREFERENCES"),BP=jP("SET_PREFERS_KEYBOARD_NAVIGATION"),UP=jP("SET_STARTING_COURSE_LESSON_SELECTED"),zP=Fa({prefersKeyboardNavigation:!1,startedCourseWithLessonSelected:!1},(qr(uN={},FP,To()),qr(uN,BP,(function(e,t){return To()(e,{prefersKeyboardNavigation:t})})),qr(uN,UP,(function(e,t){return To()(e,{startedCourseWithLessonSelected:t})})),uN)),HP=Zr()(ja(FP,null)),VP=ja(BP),WP=(ja(UP),"up"),YP="down",GP="rise/slidesUI/SET_SLIDE_DIRECTION",KP="rise/slidesUI/SET_EXITING_SLIDE_OFFSET",XP={slideDirection:WP,exitingSlideOffset:0},$P=(0,HN.handle)(XP,(qr(lN={},GP,Hn()(Ro()("slideDirection"))),qr(lN,KP,Hn()(Ro()("exitingSlideOffset"))),lN)),ZP=(0,HN.action)(GP),QP=(0,HN.action)(KP),JP=Fo()("rise/ui/"),eI=JP("SET_LESSON_NAV_NEXT_BUTTON_UI"),tI=JP("SET_SKIP_TO_NAV_BUTTON_UI"),nI=(0,HN.handle)({lessonNavNextButton:null,skipToNavButton:null},(qr(cN={},eI,Hn()(Ro()("lessonNavNextButton"))),qr(cN,tI,Hn()(Ro()("skipToNavButton"))),cN)),rI=(0,HN.action)(eI),iI=(0,HN.action)(tI);function oI(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var aI=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oI(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):oI(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({course:RN,courseLabels:zN,courseProgress:al,features:WN,fonts:nP,global:aP,partnerContent:xP,search:IP,sessionPreferences:zP,slidesUI:$P,status:bN,ui:nI},{}),sI=(__webpack_require__.g.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,pe()),uI=function e(t,n,r){var i;if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(mx(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw new Error(mx(1));return r(e)(t,n)}if("function"!=typeof t)throw new Error(mx(2));var o=t,a=n,s=[],u=s,l=!1;function c(){u===s&&(u=s.slice())}function d(){if(l)throw new Error(mx(3));return a}function f(e){if("function"!=typeof e)throw new Error(mx(4));if(l)throw new Error(mx(5));var t=!0;return c(),u.push(e),function(){if(t){if(l)throw new Error(mx(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),s=null}}}function p(e){if(!bx(e))throw new Error(mx(7));if(void 0===e.type)throw new Error(mx(8));if(l)throw new Error(mx(9));try{l=!0,a=o(a,e)}finally{l=!1}for(var t=s=u,n=0;n<t.length;n++){(0,t[n])()}return e}function h(e){if("function"!=typeof e)throw new Error(mx(10));o=e,p({type:yx.REPLACE})}function m(){var e,t=f;return e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(mx(11));function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}},e[vx]=function(){return this},e}return p({type:yx.INIT}),(i={dispatch:p,subscribe:f,getState:d,replaceReducer:h})[vx]=m,i}(function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];0,"function"==typeof e[i]&&(n[i]=e[i])}var o,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:yx.INIT}))throw new Error(mx(12));if(void 0===n(void 0,{type:yx.PROBE_UNKNOWN_ACTION()}))throw new Error(mx(13))}))}(n)}catch(e){o=e}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,i={},s=0;s<a.length;s++){var u=a[s],l=n[u],c=e[u],d=l(c,t);if(void 0===d){t&&t.type;throw new Error(mx(14))}i[u]=d,r=r||d!==c}return(r=r||a.length!==Object.keys(e).length)?i:e}}(aI),sI(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(mx(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return r=_x.apply(void 0,o)(n.dispatch),hx(hx({},n),{},{dispatch:r})}}}(Tx.Z,Sx(),(0,Ex.Z)("run"),kx(),(function(e){var t=e.dispatch;return function(e){return function(n){"function"!=typeof Ra()(n)?e(n):Ra()(n).call(n,t)}}})))),lI=uI.dispatch;function cI(e,t){return e===t}function dI(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}function fI(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}var pI=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var o=0,a=r.pop(),s=fI(r),u=e.apply(void 0,[function(){return o++,a.apply(null,arguments)}].concat(n)),l=e((function(){for(var e=[],t=s.length,n=0;n<t;n++)e.push(s[n].apply(null,arguments));return u.apply(null,e)}));return l.resultFunc=a,l.dependencies=s,l.recomputations=function(){return o},l.resetRecomputations=function(){return o=0},l}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:cI,n=null,r=null;return function(){return dI(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}));function hI(e){return null==e?void 0:e.course}function mI(){return rn((function(e){return hI(e)}))}function vI(e){return hI(e).trackingQuizId}function gI(e){return hI(e).coverImage}var yI=pI(gI,(function(e){return DC(e)}));function bI(){return rn((function(e){return function(e){var t=hI(e);return null==t?void 0:t.type}(e)}))}function _I(e){var t=hI(e);return(null==t?void 0:t.type)===Fb}var wI=__webpack_require__(13464),kI=__webpack_require__.n(wI),EI=__webpack_require__(17919),xI=__webpack_require__.n(EI),SI=__webpack_require__(54228),TI=__webpack_require__.n(SI),CI=__webpack_require__(15598),AI=__webpack_require__.n(CI),OI=__webpack_require__(72038),NI=__webpack_require__.n(OI),PI=Gn()("lessons"),II=Gw()((function(e){return!!e}),["settings","passToContinue"]),LI=function(e){var t,n=e.course,r=e.courseProgress;return pe()(SE(),mi()((t=PI(r),pe()(yu(),(function(e){return Wn()([e,"passed"],t)}),Gn()("id")))),mi()(II),PI)(n)||{}},MI=pe()(yu(),Ha()),RI=pe()(mi()(RC),Gn()("lessonsOnly")),DI=function(e){return function(t){return yu()(Wn()(["lessons",t.id,"isComplete"],e))}},qI=function(e){var t=e.course,n=e.lesson;return Ci()("id",n.id,SE()(Gn()("lessonsOnly",t)))},jI=pe()(yu(),Ci()("type","section")),FI=function(e){var t=e.course,n=e.courseProgress,r=e.lesson,i=function(e){var t=e.courseProgress,n=e.lesson,r=e.restrictingQuiz,i=function(e){return Wn()([e,"index"],PI(t))},o=i(Gn()("id",n));return pe()(NI()(o),i,Gn()("id"))(r)?r:{}}({courseProgress:n,lesson:r,restrictingQuiz:e.restrictingQuiz}),o=FC(t),a=o||MI(i),s=function(e){var t=e.course,n=e.courseProgress;return Ux()(DI(n))(t.lessonsOnly)}({course:t,courseProgress:n}),u=jI(r)&&yu()(function(e){var t=e.lesson,n=e.courseProgress;return Il()(!1,["lessons",t.id,"isComplete"],n)}({lesson:r,courseProgress:n})),l=a&&u&&yu()(function(e){var t=e.lesson,n=e.currentLesson;return t&&Ci()("id",t.id,n)}({lesson:r,currentLesson:s}));return{isRestricted:l,restrictingQuiz:i,isRestrictedCourse:o,currentLesson:s}},BI=function(e){var t=e.labels,n=e.restrictions,r=t.lessonRestricted,i=t.quizRequirePassingScore,o=n.isRestrictedCourse,a=n.restrictingQuiz,s=n.currentLesson,u=s&&TI()("id",a,s);return!o||o&&u?a.title?i.replace("quiz",'"'.concat(a.title,'"')):i:r},UI=Nl()((function(e){return ls()(AI()(ba()(["id"],e||{})))})),zI=function(e){var t=e.course,n=e.lesson;return pe()(Hs(),UI(n),RI)(t)},HI=function(e){var t=e.course,n=e.lesson;return!function(e){var t=e.course,n=e.lesson;return Ci()("id",n.id,Bl()(Gn()("lessonsOnly",t)))}({course:t,lesson:n})&&t.lessonsOnly[Hs()(UI(n,t.lessonsOnly))]},VI=pe()(oa(),RI),WI=Xo()(Jo(),Ha()),YI=Xo()(Jo(),Ua()(!1)),GI=D_()(YI,"isComplete"),KI=Xo()(D_()(Ua()(!1),"passed"),D_()(YI,"isComplete")),XI=B_()(2,(function(e){return Ux()(ti()(pe()(Ua()(e),SE()),pe()(KI,Bl()),pe()(GI,Bl())))})),$I=B_()(2,(function(e){return wa()(Es(),XI(e),vo()([]),SE())})),ZI=Hn()(B_()(2,(function(e){return ti()(WI,Zr()(e),$I(e))}))),QI=function(e,t,n){if(!n)return{outOfAttempts:!1,quizPassed:!0};var r=Wn()(["lessons",n],e),i=Il()(-1,["settings","retryCount"],t),o=Il()(0,["retryAttempts"],r),a=Wn()(["passed"],r);return{outOfAttempts:Wn()(["isComplete"],r)&&i>-1&&Ua()(Number(o),Number(i)),quizPassed:a}};function JI(e){return e.courseProgress}function eL(e){var t=JI(e);return null==t?void 0:t.currentLesson}function tL(e){var t=JI(e);return null==t?void 0:t.percentComplete}function nL(){return rn((function(e){return tL(e)}))}var rL=pI(vI,hI,(function(e,t){var n=t.lessons;return Array.isArray(n)?VS()(n).call(n,(function(t){var n=t.id;return"quiz"===t.type&&n===e})):null}));var iL=pI(JI,rL,(function(e,t){return t?QI(e,t,t.id):null}));function oL(){return rn((function(e){return iL(e)}))}function aL(e){var t=JI(e);return ux()?100===t.percentComplete:sx()}function sL(e){var t=JI(e);return null==t?void 0:t.lessons}function uL(e,t){var n=sL(t);return null==n?void 0:n[e]}function lL(e){return rn((function(t){return uL(e,t)}))}var cL="quiz",dL="section",fL=Ib()({ORDER:null,QUIZ:null}),pL=function(e){return"/lessons/".concat(encodeURIComponent(e))},hL=Ci()("type"),mL=hL(dL),vL=hL(cL),gL=Ws()(["settings","passToContinue"],!0);function yL(){return pI((function(e){return e}),(function(e,t){return AL(t)}),(function(e,t){return Gn()(e,t)}))}function bL(e){var t=(0,v.useMemo)((function(){return yL()}),[]);return rn((function(n){return t(e,n)}))}function _L(){var e=yL();return pI(e,(function(e){return mL(e)}))}function wL(){var e=EL();return pI((function(e){return e}),(function(t,n){return e(n)}),(function(e,t){return function(e){return hI(e).navigationMode}(t)}),(function(e,t){return DL(t)}),(function(e,t){return sL(t)}),(function(e,t,n,r,i){var o=i[e],a=i[t];if(e!==t&&(null==o||!o.isComplete)&&(null==o?void 0:o.index)>(null==a?void 0:a.index)){var s,u,l,c=null!==(s=null===(u=i[null==r?void 0:r.id])||void 0===u?void 0:u.index)&&void 0!==s?s:1/0,d="restricted"===n&&null!==(l=null==a?void 0:a.index)&&void 0!==l?l:1/0;if((null==o?void 0:o.index)>Math.min(c,d))return d<c?{type:fL.ORDER}:{type:fL.QUIZ,data:r.title}}return null}))}function kL(e){var t=(0,v.useMemo)((function(){return wL()}),[]);return rn((function(n){return t(e,n)}))}function EL(){return pI(vI,sL,(function(e,t){return ZI(t,e)}))}function xL(){var e=EL();return pI(e,AL,Gn())}function SL(e){var t=(0,v.useMemo)((function(){return e=yL(),pI(e,uL,(function(e,t){var n,r,i,o=null!==(n=null==t?void 0:t.percentComplete)&&void 0!==n?n:0,a=null!==(r=null==t?void 0:t.isComplete)&&void 0!==r&&r,s=null!==(i=null==t?void 0:t.passed)&&void 0!==i&&i;return 100===o&&(!a||vL(e)&&!s)}));var e}),[]);return rn((function(n){return t(e,n)}))}function TL(e){var t=(0,v.useMemo)((function(){return e=yL(),pI(e,uL,(function(e,t){var n,r,i,o=null!==(n=null==t?void 0:t.percentComplete)&&void 0!==n?n:0,a=null!==(r=null==t?void 0:t.isComplete)&&void 0!==r&&r,s=null!==(i=null==t?void 0:t.passed)&&void 0!==i&&i;return 100===o&&a&&(!vL(e)||s)}));var e}),[]);return rn((function(n){return t(e,n)}))}var CL=pI(hI,(function(e){return Ru()([],"lessons",e)})),AL=pI(CL,(function(e){return e.reduce((function(e,t){return null!=t&&t.id&&(e[t.id]=t),e}),{})})),OL=pI(hI,(function(e){return Ru()([],"lessonsOnly",e)})),NL=pI(OL,(function(e){return e.reduce((function(e,t,n){return e[t.id]=n+1,e}),{})})),PL=pI(OL,(function(e){return Si()("id",e)})),IL=pI(OL,(function(e){return SE()(e)})),LL=pI(OL,mi()((function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson}))),ML=pI(LL,oa()),RL=pI(CL,(function(e){return e.reduce((function(e,t){var n=e[e.length-1];return mL(t)||null==n?e.push([t.id]):n.push(t.id),e}),[])})),DL=pI(OL,sL,(function(e,t){return VS()(e).call(e,(function(e){var n;return vL(e)&&gL(e)&&!(null!==(n=t[e.id])&&void 0!==n&&n.isComplete)}))}));function qL(e){var t=(0,v.useMemo)(_L,[]);return rn((function(n){return t(e[0],n)}))}function jL(e){var t=(0,v.useMemo)((function(){return yL()}),[]),n=(0,v.useMemo)((function(){return wL()}),[]);return rn((function(r){var i=hI(r),o=t(e,r),a=(uL(e,r),n(e,r)),s=null!=(null==a?void 0:a.type);return(null==i?void 0:i.navigationMode)!==kS&&(null==i?void 0:i.markComplete)&&!s&&(null==o?void 0:o.type)!==cL&&!0}))}var FL=function(e,t){return kI()(t).call(t,(function(t){return t.id===e}))};function BL(){return pI((function(e){return e}),(function(e,t){return OL(t)}),(function(e,t){if("progress-summary"===e)return Bl()(t);var n=FL(e,t);return t[xI()(n)]}))}function UL(){return pI((function(e){return e}),(function(e,t){return OL(t)}),(function(e,t){var n=FL(e,t);return t[Hs()(n)]}))}function zL(e){return pI(e,(function(e,t){return LL(t)}),(function(e,t){return FL(null==e?void 0:e.id,t)+1}))}function HL(){return rn((function(e){return RL(e)}))}function VL(){var e=(0,v.useMemo)((function(){return e=EL(),pI(aL,e,vI,(function(e,t,n){return e||!t&&!(null!=n)}));var e}),[]);return rn((function(t){return e(t)}))}var WL=function(e,t){var n=Ra()(e),r=e.dividerNumber,i=t.id,o=t.family,a=t.variant;return"divider"===o&&"numbered divider"===a&&(r++,n[i]=r),{map:n,dividerNumber:r}},YL=function(){var e,t=(e=yL(),pI(e,(function(e){var t,n;return null==e||null===(t=e.items)||void 0===t||null===(n=t.reduce(WL,{map:{},dividerNumber:0}))||void 0===n?void 0:Ra()(n)})));return pI((function(e,t){return t}),(function(e,n,r){return t(e,r)}),(function(e,t){return Gn()(e,t)}))};function GL(e){return e.global}function KL(e){var t;return null===(t=GL(e))||void 0===t?void 0:t.externalLinksModalVisible}function XL(e){var t;return null==e||null===(t=e.courseLabels)||void 0===t?void 0:t.labels}function $L(){return rn((function(e){return XL(e)}))}var ZL=__webpack_require__(67294),QL=["Default","className"];function JL(e){return function(t){var n,r=t.Default,i=t.className,o=Ji(t,QL),a="brand--".concat(e),s=i?St()(n="".concat(i," ")).call(n,a):a;return ZL.createElement(r,Et({},o,{className:s}))}}JL("background"),JL("head");var eM=JL("ui"),tM=__webpack_require__(67294),nM=["offset"],rM=["targetColor"],iM=kt()((0,v.createContext)(null),{displayName:"CourseContext"});function oM(e){var t=e.children,n=e.course,r=e.courseProgress,i=e.labels,o=e.partnerContent,a=e.search,s=(0,v.useMemo)((function(){return{course:n,courseProgress:r,labels:i,partnerContent:o,search:a}}),[n,i,r,o,a]);return tM.createElement(iM.Provider,{value:s},t)}iM.Consumer;var aM=v.useContext.bind(null,iM);function sM(){var e;return null===(e=aM())||void 0===e?void 0:e.course}function uM(){var e,t=sM();return"none"===t.selectedAuthorId?null:null===(e=t.authors)||void 0===e?void 0:VS()(e).call(e,(function(e){return e.id===t.selectedAuthorId||e.id===t.author}))}function lM(){return aM().labels}var cM=function(e){var t=e.isCourseComplete,n=e.percentCourseComplete,r=lM(),i=r.courseDetails,o=r.courseResume,a=r.courseStart,s=r.processStartAgain;return{courseCTALabel:t?s:n>0?o:a,courseDetailsLabel:i}};function dM(){return aM().courseProgress}function fM(){var e=dM();return null==e?void 0:e.percentComplete}function pM(){var e;return null===(e=sM().lessons)||void 0===e?void 0:e[0]}function hM(){var e,t=null==(e=dM())?void 0:e.lessons,n=sM().trackingQuizId;return eA(t,n)}function mM(){var e=aM(),t=e.course,n=e.partnerContent;return Ux()(Ci()("id",t.selectedAuthorId),n.content)}function vM(){var e=sM().lessons;return(0,v.useMemo)((function(){return Array.isArray(e)?_r()(e).call(e,(function(e){return"section"!==e.type})).length:0}),[e])}function gM(e){var t,n=sM(),r=null===(t=n.theme)||void 0===t?void 0:t.lessonHeaderTextColor;return"string"!=typeof r?NS.LIGHT:r===NS.AUTO?function(e){var t=e.colorAccent,n=e.lessonHeaderColor;switch(e.lessonHeaderStyle){default:case hS.DARK:case hS.BLACK:case hS.IMAGE:return NS.LIGHT;case hS.LIGHT:case hS.GRAY:return NS.DARK;case hS.TINT:return IC(WC(t));case hS.ACCENT:return IC(t);case hS.COLOR:return IC(null!=n?n:t)}}(n.theme):r}var yM=(0,__webpack_require__(22175).setup)({el:"__",mod:"--",modValue:"-"});__webpack_require__(67294),yM("cover");var bM=__webpack_require__(30381),_M=__webpack_require__.n(bM);__webpack_require__(67294),yM("cover");__webpack_require__(67294),yM("cover");function wM(){return null}var kM=__webpack_require__(67294),EM=yM("cover");function xM(e){var t=e.format,n=void 0===t?"[Published] MMMM D, YYYY":t,r=sM().publishedAt;if(!r)return null;var i=_M()(r);return i.isValid()?kM.createElement("div",{className:EM("details-content-published-at")},i.format(n)):null}var SM=__webpack_require__(38439),TM=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Nr()(e=t.split(".")).call(e,-2).join(".")},CM=pe()(TM,Xn),AM=function(e){if(!e||OM(e))return!1;"//"===Nr()(e).call(e,0,2)&&(e="https:".concat(e));try{var t=new(s_())(e).hostname,n=TM(t);return n!==CM("ARTICULATE_DOMAIN")&&n!==CM("RISE_DOMAIN")}catch(e){return!1}},OM=function(e){return!!e&&"mailto:"===Nr()(e).call(e,0,7)},NM=__webpack_require__(67031),PM=__webpack_require__.n(NM),IM=__webpack_require__(67294),LM=["background","backgroundRule","contrastRequirement","disabled","rule","style","tag"];function MM(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function RM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MM(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):MM(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function DM(e,t,n){de()(t).call(t,"--")?null==n?e.removeProperty(t):e.setProperty(t,n):e[t]=null!=n?n:""}function qM(e,t){var n;return de()(t).call(t,"--")?ro()(n=e.getPropertyValue(t)).call(n):e[t]}function jM(e,t,n,r){var i,o;if(PC(t,n)[e])return null;var a=_r()(i=Ra()(o=r.getPropertyValue("--auto-contrast-fallback").split(",")).call(o,PM())).call(i,Boolean),s=wC(t)>=128?["#ffffff","#313537","#000000"]:["#000000","#313537","#ffffff"],u=St()(a).call(a,s);return VS()(u).call(u,(function(t){return PC(t,n)[e]}))}function FM(e,t){var n=e.background,r=void 0!==n&&n,i=e.backgroundRule,o=void 0===i?"backgroundColor":i,a=e.contrastRequirement,s=void 0===a?"bodyTextAA":a,u=e.disabled,l=void 0!==u&&u,c=e.rule,d=void 0===c?"color":c,f=e.style,p=e.tag,h=void 0===p?"div":p,m=Ji(e,LM),y=null==f?void 0:f[o],b=null==f?void 0:f[d],_=(0,v.useRef)(),w=Dr((0,v.useState)(),2),k=w[0],E=w[1],x=(0,v.useCallback)((function(e,t,n,r,i,o){var a,s,u=(0,g.findDOMNode)(_.current);if(l)return E(),void(null!=u&&(DM(u.style,t,null==f?void 0:f[t]),DM(u.style,n,null==f?void 0:f[n])));var c=null!==(a=function(e,t,n,r,i,o,a){if(null!=a){var s=o,u=o,l=i,c=a.cloneNode();try{c.ariaHidden=!0,c.style.opacity=0,c.style[t]=null!=i?i:"",c.style[n]=null!=o?o:"",a.parentNode.insertBefore(c,a);var d,f,p=getComputedStyle(c);if(null==s||e&&null==u||null==l)s||(s=ro()(f=p.getPropertyValue("--background-color")).call(f)),u||(u=qM(p,n)),l||(l=qM(p,t));if(!s||!l)return;return e&&u&&(s=(d=jM(r,u,s,p))||u),[jM(r,l,s,p),d]}finally{c.remove()}}}(e,t,n,r,i,o,u))&&void 0!==a?a:[],d=Dr(c,2),p=d[0],h=d[1];E((qr(s={},t,p),qr(s,n,h),s)),null!=u&&(DM(u.style,t,null!=p?p:null==f?void 0:f[t]),DM(u.style,n,null!=h?h:null==f?void 0:f[n]))}),[l,f]);return(0,v.useImperativeHandle)(t,(function(){return{el:_.current,forceUpdate:x.bind(null,r,d,o,s,b,y)}}),[y,o,s,b,d,r,x]),(0,v.useLayoutEffect)((function(){x(r,d,o,s,b,y)}),[y,o,s,b,d,r,x]),IM.createElement(h,Et({ref:_,style:RM(RM({},f),k)},m))}var BM=(0,v.forwardRef)(FM);function UM(e,t){var n=void 0!==ot()&&Ar()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return zM(e,t);var r=Nr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Ir()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zM(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function zM(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 HM=function(e){var t=e.allowTabNavigation,n=e.autoContrastDisabled,r=void 0===n||n,i=e.className,o=void 0===i?"":i,a=e.externalLinksDisabled,s=e.forwardedRef,u=e.id,l=e.showExternalLinksModal,c=e.tagName,d=e.style,f=e.value,p=(0,v.useCallback)((function(e){var t=e.target.closest(".fr-view a");t&&t.hasAttribute("data-external")&&l()}),[l]),h=(0,v.useMemo)((function(){var e,n=di(f);return function(e,t){var n=document.createElement("div");n.innerHTML=t;var r,i=UM(e);try{for(i.s();!(r=i.n()).done;){(0,r.value)(n)}}catch(e){i.e(e)}finally{i.f()}return n.innerHTML}(St()(e=Array.prototype).call(e,VM,a?WM:[],t?GM:YM,KM),n)}),[t,a,f]),m=(0,v.useRef)();return v.createElement("div",{"aria-hidden":!t||void 0,className:"".concat(o," brand--linkColor"),onClickCapture:a?p:void 0,id:u,ref:s},v.createElement(BM,{className:"fr-view",dangerouslySetInnerHTML:{__html:h},disabled:r,ref:m,tag:c,style:d}))};function VM(e){var t,n=UM(e.querySelectorAll("table"));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=document.createElement("div");i.className="rise-table-wrap",r.parentNode.replaceChild(i,r),i.appendChild(r)}}catch(e){n.e(e)}finally{n.f()}}function WM(e){var t,n=UM(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;AM(r.href)&&(r.removeAttribute("href"),r.removeAttribute("rel"),r.removeAttribute("target"),r.setAttribute("data-external",""),r.setAttribute("role","button"))}}catch(e){n.e(e)}finally{n.f()}}function YM(e){var t,n=UM(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex","-1")}}catch(e){n.e(e)}finally{n.f()}}function GM(e){var t,n=UM(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;r.removeAttribute("aria-hidden"),r.hasAttribute("data-external")?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}}catch(e){n.e(e)}finally{n.f()}}function KM(e){var t,n=UM(e.querySelectorAll('a[target="_blank"]'));try{for(n.s();!(t=n.n()).done;){var r=t.value,i=document.createElement("span");i.className="visually-hidden-always",i.textContent="(opens in a new tab)",r.appendChild(i)}}catch(e){n.e(e)}finally{n.f()}}HM.defaultProps={allowTabNavigation:!0,tagName:"div"};var XM=Ak()({externalLinksDisabled:Wn()(["course","externalLinksDisabled"])}),$M=pe()(SM.default,nn(XM,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}}))(HM),ZM=function(e){return"<p><br></p>"===e?"":e},QM=__webpack_require__(67294);function JM(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function eR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?JM(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):JM(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function tR(e,t){var n=(0,v.useMemo)((function(){var n;return matchMedia(St()(n="(".concat(e,": ")).call(n,.0625*t,"em)"))}),[e,t]),r=Dr((0,v.useState)(n.matches),2),i=r[0],o=r[1];return(0,v.useEffect)((function(){var e,t,r=null!==(e=n.addEventListener)&&void 0!==e?e:n.addListener,i=null!==(t=n.removeEventListener)&&void 0!==t?t:n.removeListener;return r.call(n,"change",a),function(){return i.call(n,"change",a)};function a(){o(n.matches)}}),[n]),i}function nR(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"matches",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"withPxToEmMedia";return function(i){var o;function a(r){var o=tR(e,t);return QM.createElement(i,eR(eR({},r),{},qr({},n,o)))}return a.displayName=St()(o="".concat(r,"(")).call(o,i.displayName||i.name,")"),a}}function rR(e){return tR("max-width",e-1)}function iR(e,t,n){return nR("max-width",e-1,t,n)}var oR=rR.bind(null,1200),aR=(rR.bind(null,992),rR.bind(null,768)),sR=rR.bind(null,480),uR=yM("cover"),lR=function(){var e=sM(),t=oR(),n=e.description;return n?v.createElement("div",null,v.createElement("section",{className:uR("details-content-section")},t?v.createElement(wM,null):v.createElement(xM,null),v.createElement($M,{className:uR("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:ZM(n)}))):null},cR=function(e){if(!e)return"";var t=_M()(e),n=_M()(),r=_M()(n).add(24,"hours");return t.isBefore(n)?"Overdue":t.isBefore(r)?"Due in ".concat(n.to(t,!0)):"Due ".concat(t.format("MMM D"))},dR=function(e){return _M()(e).isSameOrBefore(_M()().add(3,"d"),"days")},fR=__webpack_require__(67294),pR=["Default"];function hR(e){var t=e.Default,n=Ji(e,pR),r=n.dueAt,i=r&&dR(r)?"brand--background":"brand--color";return fR.createElement(t,Et({},n,{className:i}))}var mR=__webpack_require__(67294),vR=["children"],gR={},yR=kt()((0,v.createContext)(gR),{displayName:"BundleContext"});function bR(e){var t=e.children,n=Ji(e,vR);return mR.createElement(yR.Provider,{value:n},t)}function _R(){return null}function wR(e){function t(t,n){var r,i=null!==(r=(0,v.useContext)(yR)[e])&&void 0!==r?r:_R;return mR.createElement(i,Et({ref:n},t))}return t.displayName="BundleComponent(".concat(e,")"),(0,v.forwardRef)(t)}var kR=wR("CoverAction");function ER(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function xR(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ER(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):ER(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var SR={"rise-course-navigation":!0},TR=(0,v.createContext)(SR);TR.displayName="FeatureFlagsContext";var CR=TR.Provider;TR.Consumer;function AR(){return xR(xR({},(0,v.useContext)(TR)),SR)}function OR(e){return AR()[e]}function NR(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return function(n){var r=v.forwardRef((function(r,i){var o=OR(e),a=xR(xR({},r),{},qr({},t,o));return v.createElement(n,Et({ref:i},a))}));return r.displayName="withFeatureFlag(".concat(n.displayName||n.name,")"),r}}var PR=function e(t){var n=t.children,r=t.featureFlags,i=AR(),o=(0,v.useMemo)((function(){var e,t=St()(e=[]).call(e,null!=r?r:[]);return t.length&&t.every((function(e){return i[e]}))}),[r,i]),a=(0,v.useMemo)((function(){var t={};return v.Children.forEach(n,(function(r){switch(r.type.displayName){case e.On.displayName:t.on=r;break;case e.Off.displayName:t.off=r;break;default:t.on=n}})),t}),[n]),s=a.on,u=void 0===s?null:s,l=a.off;return o?u:void 0===l?null:l};(PR.On=function(e){return e.children}).displayName="On",(PR.Off=function(e){return e.children}).displayName="Off";var IR=__webpack_require__(67294);function LR(e,t){var n,r=(0,v.useRef)(),i=OR("rise-auto-calc-contrast"),o=null!==(n=sM())&&void 0!==n?n:{},a=o.color,s=o.theme,u=null==s?void 0:s.coverTextColor,l=e.disabled;return(0,v.useImperativeHandle)(t,(function(){var e;return null===(e=r.current)||void 0===e?void 0:e.el})),(0,v.useEffect)((function(){var e;null===(e=r.current)||void 0===e||e.forceUpdate()}),[a,u]),IR.createElement(BM,Et({},e,{disabled:l||!i||u!==NS.AUTO,ref:r}))}var MR=(0,v.forwardRef)(LR),RR=Fo()("partner-content-course-author__"),DR=function(e){var t,n=e.partnerContentAuthors,r=e.color,i=e.coverTextColor,o=e.darkText,a=e.isImage,s=e.learn,u=e.lesson,l=e.isOnePage,c=e.selectedContentId,d=(0,v.useRef)(),f=(0,v.useRef)(),p=OR("rise-auto-calc-contrast"),h=i===NS.AUTO,m=Ux()(Ci()("id",c),n),g=Wn()(["data","authors"],m),y=u?g:n,b=_r()(y).call(y,(function(e){return e.name})),_=(0,v.useMemo)((function(){return p?i===NS.DARK&&!a:!EC(r)&&!a}),[p,r,i,a]),w=GA()(RR("author-container"),qr({},RR("author-container-padding-top"),o)),k=GA()((qr(t={},RR("gray-text"),!s&&!l),qr(t,RR("author--accent-light"),_),qr(t,RR("author--text-light"),!_&&!h),t)),E=GA()(RR("author-image"),qr({},RR("author-image--dark-border"),_&&!a)),x=function(e){return"url(".concat(nS({width:"76",height:"76",imageKey:e.image}),")")};return v.createElement("section",null,v.createElement("h2",{className:"visually-hidden"},"Authors"),v.createElement("ol",{className:w,role:"list"},Ra()(b).call(b,(function(e){return v.createElement("li",{key:e.name,className:RR("author"),role:"listitem"},v.createElement(MR,{"aria-hidden":"true",className:E,disabled:a,ref:f,rule:"borderColor",style:{backgroundImage:x(e)},tag:"div"}),v.createElement(MR,{className:k,disabled:l||a,ref:d,tag:"span"},e.name))}))))},qR=yM("cover"),jR=function(e){var t=e.avatar,n=e.isDarkBorder,r=e.isImage,i=(0,v.useRef)(),o=qR("header-content-authors-avatar",{"dark-border":n&&!r,"light-border":!n&&!r}),a=qR("header-content-authors-avatar-fallback",{"dark-border":n&&!r,"light-border":!n&&!r});return t?v.createElement(MR,{className:o,disabled:r,ref:i,rule:"borderColor",style:{backgroundImage:"url(".concat(er(t),")")},tag:"div"}):v.createElement(MR,{className:a,disabled:r,ref:i,rule:"borderColor",tag:"div"},v.createElement(YO,{decorative:!0}))},FR=Xz("CoverAuthors",(function(e){var t,n,r,i,o=e.className,a=e.onePage,s=void 0!==a&&a,u=(0,v.useRef)(),l=OR("rise-auto-calc-contrast"),c=w===NS.AUTO,d=sM(),f=d.color,p=d.isLegacyCourse,h=d.partnerContentId,m=d.selectedAuthorId,g=d.theme,y=d.themeId,b=null!=g?g:{},_=b.coverPageType,w=b.coverTextColor,k=null!==(t=uM())&&void 0!==t?t:{},E=k.authorName,x=k.avatar,S=lM(),T=(i=mM(),null!==(n=null==i||null===(r=i.data)||void 0===r?void 0:r.authors)&&void 0!==n?n:null),C=Boolean(h)&&!Jo()(T),A=rR(768)&&YC(y,_),O=_===TS.LEFT_OVERLAY||_===TS.CENTERED_OVERLAY||A,N=(0,v.useMemo)((function(){return l&&!Jo()(w)?w===NS.DARK&&!O:!EC(f)&&!O}),[l,f,w,O]);if("none"===m)return null;var P=E||"Unknown User",I=qR("header-content-authors").mix(o),L=qR("header-content-authors-name",{"text-dark":N&&!p,"text-light":!N&&!c});return C?v.createElement("div",{className:I},v.createElement(DR,{color:f,coverTextColor:w,isImage:O,learn:!0,partnerContentAuthors:T})):v.createElement("div",{className:I},v.createElement(jR,{avatar:x,isDarkBorder:N&&!p,isImage:O}),v.createElement(MR,{className:L,disabled:s||O,ref:u},v.createElement("span",{"aria-hidden":"true"},P),v.createElement("span",{className:"visually-hidden"},null==S?void 0:S.a11yAuthorPrefix," ",P)))})),BR=Xz("CoverContentNoImage",(function(e){var t=e.className,n=e.children,r=GA()(t,"cover__header-content");return v.createElement("div",{className:r},n)})),UR=__webpack_require__(67294),zR=function(e){var t=e.children,n=sM().coverImage;return UR.createElement("div",{className:"cover__header-content",style:DC(n)},t)},HR=yM("cover"),VR=function(e){var t=e.hasOverlay,n=void 0!==t&&t,r=sM().coverImage,i=r.alpha,o=r.media,a=DC({alpha:i,media:o,hasOverlay:n});return v.createElement("div",{className:HR("header-graphic",{"dot-com":!1}),style:a})},WR=__webpack_require__(67294),YR=yM("cover"),GR=function(e){var t=e.children,n=!!mM(),r=YR("header-content-info",{rbc:n,riseCom:$n});return WR.createElement("div",{className:r},t)},KR=wR("CoverProgress"),XR=yM("cover"),$R=Xz("CoverTitle",(function(e){var t=e.className,n=e.onePage,r=void 0!==n&&n,i=(0,v.useRef)(),o=sM(),a=o.color,s=o.isLegacyCourse,u=o.title,l=o.theme,c=o.themeId,d=null!=l?l:{},f=d.coverPageType,p=d.coverTextColor,h=OR("rise-auto-calc-contrast"),m=rR(768)&&YC(c,f),g=f===TS.LEFT_OVERLAY||f===TS.CENTERED_OVERLAY||m,y=(0,v.useMemo)((function(){return h&&!Jo()(p)?p===NS.DARK&&!g:!EC(a)&&!g}),[h,a,p,g]),b=XR("header-content-title",{"text-dark":y&&!s,"text-light":!y}).mix(t);return v.createElement(MR,{className:b,disabled:r||g,ref:i,tag:"h1"},u)})),ZR={SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_LEFT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_RIGHT_IMAGE:"LEFT_OVERLAY"};function QR(){var e,t=sM().coverPageType;return aR()&&null!==(e=ZR[t])&&void 0!==e?e:t}var JR=function(){return v.createElement(v.Fragment,null,v.createElement(zR,null,v.createElement(GR,null,v.createElement(FR,null),v.createElement($R,null),v.createElement(KR,null),v.createElement(kR,null))))},eD=function(){return v.createElement(v.Fragment,null,v.createElement(BR,null,v.createElement(GR,null,v.createElement(FR,null),v.createElement($R,null),v.createElement(KR,null),v.createElement(kR,null))))},tD=function(){return v.createElement(v.Fragment,null,v.createElement(VR,null),v.createElement(BR,null,v.createElement(GR,null,v.createElement(FR,null),v.createElement($R,null),v.createElement(KR,null),v.createElement(kR,null))))},nD=function(){return v.createElement(v.Fragment,null,v.createElement(BR,null,v.createElement(GR,null,v.createElement(FR,null),v.createElement($R,null),v.createElement(KR,null),v.createElement(kR,null))),v.createElement(VR,null))};function rD(e){switch(QR()){default:case TS.LEFT_OVERLAY:case TS.CENTERED_OVERLAY:return v.createElement(JR,e);case TS.LEFT:case TS.CENTERED:return v.createElement(eD,e);case TS.SPLIT_LEFT_IMAGE:case TS.TWO_THIRDS_LEFT_IMAGE:return v.createElement(nD,e);case TS.SPLIT_RIGHT_IMAGE:case TS.TWO_THIRDS_RIGHT_IMAGE:return v.createElement(tD,e)}}function iD(e){return v.createElement("header",{className:"cover__header"},v.createElement(rD,e))}var oD=__webpack_require__(21804),aD=__webpack_require__.n(oD),sD=__webpack_require__(67294),uD=yM("cover");function lD(e){var t=e.children,n=QR(),r=(0,v.useMemo)((function(){return aD()(n)}),[n]),i=uD(null,{layout:r});return sD.createElement("div",{id:"cover",className:i},t)}var cD=__webpack_require__(95425),dD=__webpack_require__.n(cD),fD=__webpack_require__(67294);function pD(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var hD=function(e){gt(n,e);var t=pD(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isSticky:!1},setTimeout((function(){var e,t=document.getElementsByClassName("page-wrap")[0];null==t||null===(e=t.addEventListener)||void 0===e||e.call(t,"scroll",r.onScrollRef=r.onScroll.bind(ft(r)))}),10),r}return dt(n,[{key:"componentWillUnmount",value:function(){var e,t=document.getElementsByClassName("page-wrap")[0];null==t||null===(e=t.removeEventListener)||void 0===e||e.call(t,"scroll",this.onScrollRef)}},{key:"onScroll",value:function(){var e=document.getElementsByClassName("page-wrap")[0],t=e.scrollTop,n=e.scrollTop,r=t>this.progresswrap.getBoundingClientRect().top+n;this.state.isSticky!==r&&this.setState({isSticky:r})}},{key:"isLessonPreview",value:function(){return!!document.querySelector(".lesson--preview")}},{key:"timelineProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=Ru()(-1,"activeIndex",n),i=oa()(t);return-1===r?0:Hs()(r)===i?100:wE()("%","",Wn()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=Ru()(0,"activeIndex",n),i=oa()(t);return r>i?100:Math.round(r/i*100)}},{key:"progressValue",value:function(){var e=this.props,t=e.lessonProgress;switch(e.type){case"process":return this.processProgressValue();case"sorting":return Ru()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return Ru()(0,"percentComplete",t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.items,i=this.state.isSticky,o=GA()("progress-wrap",{}),a=GA()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":i}),s=GA()("progress",{"progress--timeline":"timeline"===n,"progress--video":"video"===n}),u=this.progressValue(),l="timeline"===n&&r&&Ra()(r).call(r,(function(e){var t,n=GA()("progress__marker",{"progress__marker--active brand--background":parseInt(u)>=parseInt(Nr()(t=e.linePosition).call(t,0,-1))});return fD.createElement("div",{className:n,style:{left:e.linePosition},key:e.id})})),c=fD.createElement("div",{className:o},fD.createElement("div",{className:s},fD.createElement("div",{className:"progress__container"},fD.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(u,"%,0px,0px)")}}),l)));return fD.createElement("div",{ref:function(t){return e.progresswrap=t}},c,fD.createElement(dD(),null,fD.createElement("div",{className:a},c)))}}]),n}(fD.Component),mD=__webpack_require__(67294);function vD(e,t){var n=(0,v.useRef)(),r=OR("rise-auto-calc-contrast"),i=sM(),o=i.color,a=i.lessonHeaderStyle,s=i.theme,u=null==s?void 0:s.lessonHeaderTextColor,l=e.disabled,c=k_()(DS).call(DS,a);return(0,v.useImperativeHandle)(t,(function(){var e;return null===(e=n.current)||void 0===e?void 0:e.el})),(0,v.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.forceUpdate()}),[o,u]),mD.createElement(BM,Et({},e,{disabled:l||!r||u!==NS.AUTO||c,ref:n}))}var gD=(0,v.forwardRef)(vD);function yD(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var bD=yM("lesson-header"),_D=Xz("LessonHeaderAuthor",(function(e){var t=e.avatar,n=e.authorName,r=e.className,i=void 0===r?"":r,o=(0,v.useRef)(),a=sM(),s=a.lessonHeaderStyle,u=a.theme,l=(null!=u?u:{}).lessonHeaderColor,c=s===hS.COLOR,d=lM();return v.createElement("div",{className:"lesson-header__author ".concat(i)},v.createElement("img",{className:"lesson-header__author-img",src:er(t),alt:""}),v.createElement("span",{className:"visually-hidden"},null==d?void 0:d.a11yAuthorPrefix," ",n),v.createElement(gD,{"aria-hidden":"true",className:"lesson-header__author-name",ref:o,style:c?{backgroundColor:l}:null,tag:"span"},n))})),wD=function(e){var t=e.showPartnerContent,n=void 0!==t&&t;return v.createElement("div",{className:bD("author",{"partner-content":n})})},kD=function(){return v.createElement("div",{className:"lesson-header__counter"})},ED=function(e){var t,n,r,i=e.lessonName,o=e.lessonPreposition,a=e.totalLessons,s=e.lessonNumber,u=e.showPartnerContent,l=(0,v.useRef)(),c=sM(),d=c.lessonHeaderStyle,f=c.theme,p=(null!=f?f:{}).lessonHeaderColor,h=d===hS.COLOR;return v.createElement("div",{className:bD("counter",{"partner-content":u})},v.createElement(gD,{className:"lesson-header__count",ref:l,style:h?{backgroundColor:p}:null},St()(t=St()(n=St()(r="".concat(i," ")).call(r,s," ")).call(n,o," ")).call(t,a)))},xD=function(e){var t=e.description;return v.createElement($M,{className:"lesson-header__description",value:t})},SD=function(e){var t=e.children;return v.createElement("div",{className:"lesson-header__grouped-row"},t)},TD=function(e){var t=e.children,n=e.sectionStyles,r=e.topWrapClassName,i=e.topWrapStyles,o=(0,v.useRef)(),a=sM(),s=a.lessonHeaderStyle,u=a.theme,l=(null!=u?u:{}).lessonHeaderColor,c=s===hS.COLOR;return v.createElement("section",{className:"page__header",style:n},v.createElement("div",{className:"page__header-limit"},v.createElement("div",{className:"page__header-container"},v.createElement("div",{className:"lesson-header__row"},v.createElement("div",{className:"lesson-header__main"},v.createElement("div",{className:"lesson-header"},v.createElement(gD,{className:r,ref:o,style:c?{backgroundColor:l}:i},t)))))))},CD=function(e){var t=e.title,n=sM(),r=n.color,i=n.theme,o=null!=i?i:{},a=o.lessonHeaderColor,s=o.lessonHeaderStyle,u=o.lessonHeaderTextColor!==NS.AUTO||k_()(DS).call(DS,s),l=s===hS.COLOR?a:r;return v.createElement($M,{autoContrastDisabled:u,className:"lesson-header__title",tagName:"h1",style:u?null:{backgroundColor:l},value:t})},AD=function(e){var t=e.authorName,n=e.avatar,r=e.color,i=e.description,o=e.labels,a=e.lessonHeaderStyle,s=e.lessonNumber,u=e.partnerContentAuthors,l=e.showAuthor,c=e.showLessonCount,d=e.title,f=e.totalLessons,p=o.lessonName,h=o.lessonPreposition,m=function(e){return"url(".concat(nS({width:"76",height:"76",imageKey:e.image}),")")},g=a===hS.TINT?{color:r}:null,y=n&&t&&l&&!u;return v.createElement("div",{className:"lesson-header"},v.createElement("div",{className:"lesson-header__top-wrap",style:g},v.createElement(CD,{title:d}),u&&v.createElement("div",{className:"lesson-header__partner-content"},Ra()(u).call(u,(function(e){return v.createElement("div",{key:e.name,className:"lesson-header__partner-content-author"},v.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:m(e)}}),v.createElement("div",null,v.createElement("span",{className:"visually-hidden"},null==o?void 0:o.a11yAuthorPrefix," ",e.name),v.createElement("span",{"aria-hidden":"true"},e.name)))}))),v.createElement("div",{className:"lesson-header__author-count-wrap"},y?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(wD,null),c?v.createElement(ED,{lessonName:p,lessonNumber:s,lessonPreposition:h,totalLessons:f}):v.createElement(kD,null))),i&&v.createElement(xD,{description:i}))},OD=(v.Component,yM("lesson-header")),ND=function(e){return"url(".concat(nS({width:"76",height:"76",imageKey:null==e?void 0:e.image}),")")},PD=function(e){var t=e.partnerContentAuthors,n=(0,v.useRef)(),r=sM(),i=r.lessonHeaderStyle,o=r.theme,a=(null!=o?o:{}).lessonHeaderColor,s=i===hS.COLOR,u=Ra()(t).call(t,(function(e){return e.name})).join(", "),l=1===t.length;return v.createElement("div",{className:OD("partner-content",{mobile:!0})},v.createElement("div",{className:OD("partner-content-author",{single:l})},Ra()(t).call(t,(function(e){return v.createElement("div",{key:e.name,className:OD("partner-content-author-img",{single:l}),style:{backgroundImage:ND(e)}})}))),v.createElement(gD,{"aria-hidden":"true",className:OD("author-name"),ref:n,style:s?{backgroundColor:a}:null,tag:"span"},u))},ID=function(e){var t=e.partnerContentAuthors,n=(0,v.useRef)(),r=lM(),i=sM(),o=i.lessonHeaderStyle,a=i.theme,s=(null!=a?a:{}).lessonHeaderColor,u=o===hS.COLOR;return v.createElement("div",{className:OD("partner-content")},Ra()(t).call(t,(function(e){return v.createElement("div",{key:e.name,className:OD("partner-content-author")},v.createElement("div",{className:OD("partner-content-author-img"),style:{backgroundImage:ND(e)}}),v.createElement("div",null,v.createElement("span",{className:"visually-hidden"},null==r?void 0:r.a11yAuthorPrefix," ",e.name),v.createElement(gD,{"aria-hidden":"true",className:OD("author-name"),ref:n,style:u?{backgroundColor:s}:null,tag:"span"},e.name)))})))},LD=yM("lesson-header"),MD=function(e){var t=e.authorName,n=e.avatar,r=e.color,i=e.description,o=e.lessonHeaderColor,a=e.lessonHeaderStyle,s=e.lessonHeaderTextColor,u=e.lessonName,l=e.lessonNumber,c=e.lessonPreposition,d=e.partnerContentAuthors,f=e.showAuthor,p=e.showLessonCount,h=e.title,m=e.totalLessons,g=(0,v.useRef)(),y=OR("rise-auto-calc-contrast"),b=!Jo()(d)&&f,_=n&&t&&f&&!b,w=_||b||p,k=p&&_,E=a===hS.ACCENT&&!EC(r),x=a===hS.COLOR&&!EC(o),S=a===hS.COLOR,T=E||x,C=k_()(qS).call(qS,a),A=(0,v.useMemo)((function(){return y?s===NS.DARK:T}),[y,T,s]),O=LD("info-row--divider",{"text-dark":A&&!C});return v.createElement("div",{className:LD("content")},w&&v.createElement("div",{className:LD("info-row")},_?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(wD,null),b&&v.createElement(ID,{partnerContentAuthors:d}),k&&v.createElement(gD,{"aria-hidden":"true",className:O,ref:g,style:S?{backgroundColor:o}:null,tag:"span"},"|"),p?v.createElement(ED,{lessonName:u,lessonNumber:l,lessonPreposition:c,totalLessons:m}):v.createElement(kD,null)),v.createElement("div",{className:LD("title-wrapper",{"no-info":!w})},v.createElement(CD,{title:h}),i&&v.createElement(xD,{description:i})))},RD=function(e){var t=e.authorName,n=e.avatar,r=e.description,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.partnerContentAuthors,u=e.showAuthor,l=e.showLessonCount,c=e.title,d=e.totalLessons,f=(0,v.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Jo()(s);return v.createElement("div",{className:LD("content")},l?v.createElement(ED,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):v.createElement(kD,null),f&&v.createElement(_D,{avatar:n,authorName:t}),u&&p&&v.createElement(PD,{partnerContentAuthors:s}),v.createElement(CD,{title:c}),r&&v.createElement(xD,{description:r}))},DD=function(e){var t=e.authorName,n=e.avatar,r=e.description,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.partnerContentAuthors,u=e.showAuthor,l=e.showLessonCount,c=e.title,d=e.totalLessons,f=(0,v.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Jo()(s);return v.createElement("div",{className:LD("content")},l?v.createElement(ED,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):v.createElement(kD,null),v.createElement(CD,{title:c}),f?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(wD,{showPartnerContent:p}),u&&p&&v.createElement(ID,{partnerContentAuthors:s}),r&&v.createElement(xD,{description:r}))},qD=function(e){var t=sR();return e.lessonHeaderSize!==mS.SMALL||t?t?v.createElement(RD,e):v.createElement(DD,e):v.createElement(MD,e)},jD=__webpack_require__(67294);function FD(e,t){var n=(0,v.useRef)(),r=OR("rise-auto-calc-contrast"),i=sM(),o=i.buttonScheme,a=i.color,s=i.theme,u=null==s?void 0:s.buttonTextColor,l=null==s?void 0:s.buttonNavigationStyle,c=e.disabled;return(0,v.useImperativeHandle)(t,(function(){var e;return null===(e=n.current)||void 0===e?void 0:e.el})),(0,v.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.forceUpdate()}),[l,o,u,a,c]),jD.createElement(BM,Et({ref:n},e,{disabled:!r||c}))}var BD=(0,v.forwardRef)(FD),UD=wR("LessonNav"),zD=function(e){return e===SS.FLOATING||e===SS.FLOATING_FULL};function HD(){var e=rn((function(e){return e.course.buttonNavigationStyle}));return rR(480)&&e===SS.FLOATING?SS.FLOATING_FULL:e}var VD=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 15",height:"15",width:"16",ref:t,xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M2.34315 7.34315L8 13L13.6569 7.34315",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),v.createElement("rect",{x:"7",y:"1",width:"2",height:"12",rx:"0.999999",fill:"currentColor"}))},WD=(0,v.forwardRef)(VD),YD=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",ref:t,viewBox:"0 0 15 16",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M2 8L7.65685 13.6569L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},GD=(0,v.forwardRef)(YD),KD=yM("lesson-nav");function XD(e,t){var n=e.allowTooltip,r=e.buttonScheme,i=e.buttonTextColor,o=e.color,a=e.courseFinishLabel,s=e.onFocus,u=e.nextLesson,l=e.restrictionData,c=e.restrictionType,d=(0,v.useRef)(),f=(0,v.useRef)(),p=null==u?void 0:u.id,h=HD(),m=zD(h),g=r===xS.ACCENT,y=r===xS.TINT,b=y?AC(o):o,_=m?WD:GD,w=sR(),k=i!==NS.AUTO,E=!g||g&&k,x={color:m&&y&&w?o:null,backgroundColor:y&&!m?o:null},S={backgroundColor:m&&(y||g)?o:null,borderColor:m&&y?o:null,color:y?b:null};return v.createElement(BD,{allowTooltip:n,direction:"next",disabled:E,finish:!0,isFloating:m,linkStyles:S,navLessonId:p,onFocus:s,ref:t,restrictionData:l,restrictionType:c,wrapStyles:x,tag:UD},v.createElement(BD,{className:KD("link-text").mix("brand--ui"),disabled:E,ref:d,tag:"span"},a),v.createElement(BD,{className:KD("link-icon"),disabled:E,ref:f,tag:_}))}var $D=(0,v.forwardRef)(XD),ZD=yM("lesson-nav");function QD(e,t){var n,r,i,o=e.allowTooltip,a=e.buttonScheme,s=e.buttonTextColor,u=e.color,l=e.lessonNameLabel,c=e.nextLesson,d=e.nextLessonNumber,f=e.onFocus,p=e.restrictionData,h=e.restrictionType,m=(0,v.useRef)(),g=(0,v.useRef)(),y=null==c?void 0:c.id,b=HD(),_=zD(b),w=RC(c)&&y,k=(null==c?void 0:c.title)||"",E=a===xS.ACCENT,x=a===xS.TINT,S=x?AC(u):u,T=_?WD:GD,C=s!==NS.AUTO,A=!E||E&&C,O=w?St()(n="".concat(l," ")).call(n,d," - "):"",N=_&&w?St()(r="".concat(l," ")).call(r,d):St()(i="".concat(O)).call(i,k),P={color:x?S:null,backgroundColor:x&&!_?u:null},I={backgroundColor:_&&(x||E)?u:null,borderColor:_&&x?u:null,color:x?S:null};return v.createElement(BD,{allowTooltip:o,direction:"next",disabled:A,isFloating:_,linkStyles:I,navLessonId:y,onFocus:f,ref:t,restrictionData:p,restrictionType:h,tag:UD,wrapStyles:P},v.createElement(BD,{className:ZD("link-text").mix("brand--ui"),disabled:A,ref:m,tag:"span"},N),v.createElement(BD,{className:ZD("link-icon"),disabled:A,ref:g,tag:T}))}var JD=(0,v.forwardRef)(QD),eq=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",height:"15",role:"img",ref:t,viewBox:"0 0 16 15",width:"16",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M13.6569 7.65685L8 2L2.34315 7.65686",rule:"stroke",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),v.createElement("rect",{fill:"currentColor",x:"9",y:"14",width:"2",height:"12",rx:"0.999999",transform:"rotate(180 9 14)"}))},tq=(0,v.forwardRef)(eq),nq=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",ref:t,viewBox:"0 0 15 16",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M2 8L7.65685 2.34315L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},rq=(0,v.forwardRef)(nq),iq=yM("lesson-nav"),oq=function(e,t){var n,r,i,o=e.allowTooltip,a=e.buttonScheme,s=e.buttonTextColor,u=e.className,l=e.color,c=e.courseHomeLabel,d=e.lessonNameLabel,f=e.onFocus,p=e.previousLesson,h=e.previousLessonNumber,m=(0,v.useRef)(),g=(0,v.useRef)(),y=null==p?void 0:p.id,b=HD(),_=zD(b),w=RC(p)&&y,k=(null==p?void 0:p.title)||c,E=_?tq:rq,x=a===xS.ACCENT,S=a===xS.TINT,T=S?AC(l):l,C=sR(),A=s!==NS.AUTO,O=!x||x&&A,N=w?St()(n=St()(r="".concat(d," ")).call(r,h," - ")).call(n,k):k,P=w&&_?St()(i="".concat(d," ")).call(i,h):N,I={color:_&&S&&C?l:null,backgroundColor:S&&!_?l:null},L={backgroundColor:_&&(S||x)?l:null,borderColor:_&&S?l:null,color:S?T:null};return v.createElement(BD,{allowTooltip:o,className:u,direction:"previous",disabled:O,isFloating:_,linkStyles:L,navLessonId:y,onFocus:f,wrapStyles:I,ref:t,tag:UD},_?v.createElement(v.Fragment,null,v.createElement(BD,{className:iq("link-text").mix("brand--ui"),disabled:O,ref:m,tag:"span"},P),v.createElement(BD,{className:iq("link-icon"),disabled:O,ref:g,tag:E})):v.createElement(v.Fragment,null,v.createElement(BD,{className:iq("link-icon"),disabled:O,ref:g,tag:E}),v.createElement(BD,{className:iq("link-text").mix("brand--ui"),disabled:O,ref:m,tag:"span"},P)))},aq=v.forwardRef(oq),sq=function(e){var t=(0,v.useRef)();return(0,v.useEffect)((function(){t.current=e})),t.current},uq="object"==typeof window,lq=(__webpack_require__(38252),uq?window:null),cq=function(e){return!!e.addEventListener},dq=function(e){return!!e.on},fq=function(e,t,n,r){void 0===n&&(n=lq),(0,v.useEffect)((function(){if(t&&n)return cq(n)?n.addEventListener(e,t,r):dq(n)&&n.on(e,t,r),function(){cq(n)?n.removeEventListener(e,t,r):dq(n)&&n.off(e,t,r)}}),[e,t,n,JSON.stringify(r)])};function pq(e){var t=e.className,n=e.cx,r=e.cy,i=e.diameter,o=e.onTransitionEnd,a=void 0===o?Function.prototype:o,s=e.r,u=e.strokeLinecap,l=e.strokeWidth,c=e.transform,d=e.value,f=void 0===d?0:d,p=(0,v.useRef)(),h=Math.PI*(Number(i)-Number(l)),m=h*(100-f)/100;return fq("transitionend",a,p.current),v.createElement("circle",{className:t,cx:n,cy:r,fill:"transparent",r:s,ref:p,strokeDasharray:h,strokeDashoffset:m,strokeLinecap:u,strokeWidth:l,transform:c})}var hq=__webpack_require__(67294);function mq(e,t){var n=(0,v.useRef)(),r=OR("rise-auto-calc-contrast"),i=sM(),o=i.color,a=i.theme,s=null==a?void 0:a.navigationTextColor,u=null==a?void 0:a.navigationStyle,l=e.disabled;return(0,v.useImperativeHandle)(t,(function(){var e;return null===(e=n.current)||void 0===e?void 0:e.el})),(0,v.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.forceUpdate()}),[o,u,s]),hq.createElement(BM,Et({},e,{disabled:l||!r||s!==NS.AUTO,ref:n}))}var vq=(0,v.forwardRef)(mq),gq=Bb.COMPACT,yq=Bb.COVER,bq=Bb.SIDEBAR,_q=yM("progress-circle");function wq(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.isCurrent,i=e.isFailed,o=e.isPassed,a=e.scope,s=e.value,u=Dr((0,v.useState)(100===s),2),l=u[0],c=u[1],d=sq(s),f=sM(),p=f.color,h=f.theme.coverTextColor===NS.AUTO,m=_q({compact:a===gq,cover:a===yq,current:r,sidebar:a===bq}),g=_q("track"),y=_q("runner",{done:l,failed:i,passed:o,unstarted:0===s}),b=_q("pass",{done:l,visible:o}),_=_q("fail",{done:l,visible:i});(0,v.useEffect)((function(){if(100!==s&&100===d)c(!1);else if(100===s&&!l){var e=setTimeout((function(){return c(!0)}),300);return clearTimeout.bind(null,e)}}),[l,d,s]);var w=(0,v.useRef)();return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:m,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 16",xmlns:"https://www.w3.org/2000/svg"},v.createElement("circle",{className:g,cx:"8",cy:"8",fill:"transparent",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)"}),v.createElement(pq,{className:y,cx:"8",cy:"8",diameter:"16",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)",value:s}),a===yq?v.createElement(MR,{className:b,d:"M11.3227 6.65905C11.6133 6.37599 11.6347 5.89413 11.3705 5.58277C11.1063 5.27141 10.6566 5.24847 10.366 5.53152L6.93323 8.87512L5.6338 7.60944C5.3432 7.32639 4.89345 7.34933 4.62927 7.66069C4.36509 7.97205 4.38651 8.45391 4.67711 8.73697L6.45488 10.4686C6.72611 10.7328 7.14034 10.7328 7.41157 10.4686L11.3227 6.65905Z",ref:w,rule:"fill",style:h&&{backgroundColor:p},tag:"path"}):v.createElement(vq,{className:b,d:"M11.3227 6.65905C11.6133 6.37599 11.6347 5.89413 11.3705 5.58277C11.1063 5.27141 10.6566 5.24847 10.366 5.53152L6.93323 8.87512L5.6338 7.60944C5.3432 7.32639 4.89345 7.34933 4.62927 7.66069C4.36509 7.97205 4.38651 8.45391 4.67711 8.73697L6.45488 10.4686C6.72611 10.7328 7.14034 10.7328 7.41157 10.4686L11.3227 6.65905Z",ref:w,rule:"fill",tag:"path"}),v.createElement("path",{className:_,clipRule:"evenodd",d:"M9.46967 10.5303C9.76256 10.8232 10.2374 10.8232 10.5303 10.5303C10.8232 10.2374 10.8232 9.76256 10.5303 9.46967L9.06066 8L10.5303 6.53033C10.8232 6.23744 10.8232 5.76256 10.5303 5.46967C10.2374 5.17678 9.76256 5.17678 9.46967 5.46967L8 6.93934L6.53033 5.46967C6.23744 5.17678 5.76256 5.17678 5.46967 5.46967C5.17678 5.76256 5.17678 6.23744 5.46967 6.53033L6.93934 8L5.46967 9.46967C5.17678 9.76256 5.17678 10.2374 5.46967 10.5303C5.76256 10.8232 6.23744 10.8232 6.53033 10.5303L8 9.06066L9.46967 10.5303Z",fillRule:"evenodd"}))}var kq=__webpack_require__(67294);function Eq(){return rR(960)}iR(960,"isMobile","Mobile");function xq(){return function(e){var t=e.course,n=e.search,r=e.isMobile;return t.type!==Fb&&((UC(t)||zC(t)&&!!r)&&HC(t)||n.active)}({course:sM(),isMobile:Eq(),search:aM().search})}function Sq(){return function(e){var t=e.course,n=e.isMobile;return zC(t)&&HC(t)&&!n}({course:sM(),isMobile:Eq()})}var Tq=__webpack_require__(67294),Cq=kt()((0,v.createContext)(null),{displayName:"CourseNavContext"});function Aq(e){var t=e.children,n=e.isCourseNavOpen;return Tq.createElement(Cq.Provider,{value:{isCourseNavOpen:n}},t)}Cq.Consumer;var Oq=v.useContext.bind(null,Cq);function Nq(e){return kt()((function(t){var n=Oq();return Tq.createElement(e,Et({},t,n))}),{displayName:"withCourseNavContext(".concat(e.displayName||e.name,")")})}var Pq=__webpack_require__(67294);function Iq(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Lq=function(e){gt(n,e);var t=Iq(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isSticky:!1},setTimeout((function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",r.onScrollRef=r.onScroll.bind(ft(r)))}),10),r}return dt(n,[{key:"componentWillUnmount",value:function(){document.getElementsByClassName("page-wrap")[0].removeEventListener("scroll",this.onScrollRef)}},{key:"onScroll",value:function(){var e=document.getElementsByClassName("page-wrap")[0],t=e.scrollTop,n=e.scrollTop,r=t>this.progresswrap.getBoundingClientRect().top+n&&t>0;this.state.isSticky!==r&&this.setState({isSticky:r})}},{key:"isLessonPreview",value:function(){return!!document.querySelector(".lesson--preview")}},{key:"timelineProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=Ru()(-1,"activeIndex",n),i=oa()(t);return-1===r?0:Hs()(r)===i?100:wE()("%","",Wn()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=Ru()(0,"activeIndex",n),i=oa()(t);return r>i?100:Math.round(r/i*100)}},{key:"progressValue",value:function(){var e=this.props,t=e.lessonProgress;switch(e.type){case"process":return this.processProgressValue();case"sorting":return Ru()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return Ru()(0,"percentComplete",t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.items,i=t.sidebarAvailable,o=this.state.isSticky,a=GA()("progress-wrap",{}),s=this.props.isCourseNavOpen,u=this.props.isCourseNavOpen&&this.props.isMobile,l=GA()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":o&&!u,"lesson--open":s&&i&&!this.isLessonPreview(),"lesson--open-mobile":i&&u&&!this.isLessonPreview()}),c=GA()("progress",{"progress--timeline":"timeline"===n,"progress--video":"video"===n}),d=this.progressValue(),f="timeline"===n&&r&&Ra()(r).call(r,(function(e){var t,n=GA()("progress__marker",{"progress__marker--active brand--background":parseInt(d)>=parseInt(Nr()(t=e.linePosition).call(t,0,-1))});return Pq.createElement("div",{className:n,style:{left:e.linePosition},key:e.id})})),p=Pq.createElement("div",{className:a},Pq.createElement("div",{className:c},Pq.createElement("div",{className:"progress__container"},Pq.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(d,"%,0px,0px)")}}),f)));return Pq.createElement("div",{ref:function(t){return e.progresswrap=t}},p,Pq.createElement(dD(),null,Pq.createElement("div",{className:l},p)))}}]),n}(Pq.Component),Mq=pe()((function(e){function t(t){var n=xq();return kq.createElement(e,Et({},t,{sidebarAvailable:n}))}return t.displayName="withNavSidebarAvailable(".concat(e.displayName||e.name,")"),t}),Nq,iR(480,"isMobile")),Rq=Mq(Lq),Dq=eM,qq=eM,jq=eM,Fq=eM,Bq=eM,Uq=eM,zq=__webpack_require__(67294);function Hq(e){var t=e.children,n=e.className,r=e.height,i=e.width,o=e.viewBox;return zq.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",height:r,viewBox:o,width:i,xmlns:"http://www.w3.org/2000/svg"},t)}var Vq=__webpack_require__(67294);function Wq(e){return Vq.createElement(Hq,Et({viewBox:"0 0 24 24"},e),Vq.createElement("path",{d:"M1 10.9609L10 19.9609",stroke:"currentColor",strokeWidth:"1.5"}),Vq.createElement("path",{d:"M1 11.9609L10 2.96094",stroke:"currentColor",strokeWidth:"1.5"}),Vq.createElement("path",{d:"M2 11.5H23",stroke:"currentColor",strokeWidth:"1.5"}))}var Yq=function(e){var t=e.className;return v.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 8",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"8"},v.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1 5h11.6l-1.3 1.3c-.4.4-.4 1 0 1.4.2.2.4.3.7.3.3 0 .5-.1.7-.3l3-3c.4-.4.4-1 0-1.4l-3-3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4L12.6 3H1c-.6 0-1 .4-1 1s.4 1 1 1"}))},Gq=__webpack_require__(67294);function Kq(e){return Gq.createElement(Hq,Et({height:"12",width:"18",viewBox:"0 0 18 12"},e),Gq.createElement("path",{clipRule:"evenodd",d:"M0.666992 1.00002C0.666992 0.539783 1.04009 0.166687 1.50033 0.166687H14.0003C14.4606 0.166687 14.8337 0.539783 14.8337 1.00002C14.8337 1.46026 14.4606 1.83335 14.0003 1.83335H1.50033C1.04009 1.83335 0.666992 1.46026 0.666992 1.00002ZM0.666992 6.00002C0.666992 5.53978 1.04009 5.16669 1.50033 5.16669H16.5003C16.9606 5.16669 17.3337 5.53978 17.3337 6.00002C17.3337 6.46026 16.9606 6.83335 16.5003 6.83335H1.50033C1.04009 6.83335 0.666992 6.46026 0.666992 6.00002ZM0.666992 11C0.666992 10.5398 1.04009 10.1667 1.50033 10.1667H10.667C11.1272 10.1667 11.5003 10.5398 11.5003 11C11.5003 11.4603 11.1272 11.8334 10.667 11.8334H1.50033C1.04009 11.8334 0.666992 11.4603 0.666992 11Z",fill:"currentColor",fillRule:"evenodd"}))}var Xq=__webpack_require__(67294);function $q(e){return Xq.createElement(Hq,Et({height:"6",width:"10",viewBox:"0 0 10 6"},e),Xq.createElement("path",{d:"M9 1L5 5L1 1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}var Zq=__webpack_require__(67294);function Qq(e){return Zq.createElement(Hq,Et({height:"6",width:"10",viewBox:"0 0 10 6"},e),Zq.createElement("path",{d:"M1 5L5 1L9 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}var Jq=__webpack_require__(67294);function ej(e){return Jq.createElement(Hq,Et({height:"21",width:"20",viewBox:"0 0 20 21"},e),Jq.createElement("path",{d:"M9.94535 6.125C9.1938 6.125 8.52385 6.6729 8.30039 7.48015C8.17194 7.9442 7.70954 8.21104 7.26759 8.07617C6.82564 7.94129 6.5715 7.45577 6.69996 6.99172C7.11282 5.50025 8.3916 4.375 9.94535 4.375C11.8499 4.375 13.3335 6.05606 13.3335 8.05C13.3335 9.7417 12.2656 11.2082 10.7787 11.6139V12.25C10.7787 12.7332 10.4056 13.125 9.94535 13.125C9.48511 13.125 9.11201 12.7332 9.11201 12.25V10.85C9.11201 10.3668 9.48511 9.975 9.94535 9.975C10.8628 9.975 11.6668 9.14886 11.6668 8.05C11.6668 6.95114 10.8628 6.125 9.94535 6.125Z",fill:"currentColor"}),Jq.createElement("path",{d:"M10.0002 14C9.53992 14 9.16683 14.3918 9.16683 14.875C9.16683 15.3582 9.53992 15.75 10.0002 15.75H10.0085C10.4687 15.75 10.8418 15.3582 10.8418 14.875C10.8418 14.3918 10.4687 14 10.0085 14H10.0002Z",fill:"currentColor"}),Jq.createElement("path",{clipRule:"evenodd",d:"M0.833496 3.55556C0.833496 2.01519 2.09493 0.875 3.51868 0.875H16.4816C17.9054 0.875 19.1668 2.01519 19.1668 3.55556V17.4444C19.1668 18.9848 17.9054 20.125 16.4816 20.125H3.51868C2.09493 20.125 0.833496 18.9848 0.833496 17.4444V3.55556ZM3.51868 2.625C2.89693 2.625 2.50016 3.10156 2.50016 3.55556V17.4444C2.50016 17.8984 2.89693 18.375 3.51868 18.375H16.4816C17.1034 18.375 17.5002 17.8984 17.5002 17.4444V3.55556C17.5002 3.10156 17.1034 2.625 16.4816 2.625H3.51868Z",fill:"currentColor",fillRule:"evenodd"}))}var tj=__webpack_require__(67294);function nj(e){return tj.createElement(WA,Et({},Wa()(["Default"],e),{fill:"none",viewBox:"1 1 18 18"}),tj.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.99998 0.833336C4.93737 0.833336 0.833313 4.93739 0.833313 10C0.833313 15.0626 4.93737 19.1667 9.99998 19.1667C15.0626 19.1667 19.1666 15.0626 19.1666 10C19.1666 4.93739 15.0626 0.833336 9.99998 0.833336ZM13.0892 6.91075C13.4147 7.23618 13.4147 7.76382 13.0892 8.08926L11.1785 10L13.0892 11.9107C13.4147 12.2362 13.4147 12.7638 13.0892 13.0893C12.7638 13.4147 12.2362 13.4147 11.9107 13.0893L9.99998 11.1785L8.08923 13.0893C7.7638 13.4147 7.23616 13.4147 6.91072 13.0893C6.58529 12.7638 6.58529 12.2362 6.91072 11.9107L8.82147 10L6.91072 8.08926C6.58529 7.76382 6.58529 7.23618 6.91072 6.91075C7.23616 6.58531 7.7638 6.58531 8.08923 6.91075L9.99998 8.82149L11.9107 6.91075C12.2362 6.58531 12.7638 6.58531 13.0892 6.91075Z",fill:"black"}))}var rj=__webpack_require__(67294);function ij(e){return rj.createElement(WA,Et({},Wa()(["Default"],e),{fill:"none",viewBox:"0 0 18 18"}),rj.createElement("circle",{cx:"9",cy:"9",r:"9",fill:"#74BF44"}),rj.createElement("path",{d:"M6.43994 9.12061L8.43994 11.1206L11.9399 7.62061",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}var oj=__webpack_require__(67294);function aj(e){return oj.createElement(Hq,Et({height:"12",width:"12",viewBox:"0 0 12 12"},e),oj.createElement("path",{clipRule:"evenodd",d:"M5.325 9.01843C3.225 9.01843 1.5 7.37868 1.5 5.29172C1.5 3.20476 3.225 1.49048 5.325 1.49048C7.425 1.49048 9.15 3.20476 9.15 5.29172C9.15 7.37868 7.425 9.01843 5.325 9.01843ZM9.525 8.42236C10.2 7.52795 10.575 6.48447 10.575 5.29193C10.575 2.38509 8.25 0 5.325 0C2.4 0 0 2.38509 0 5.29193C0 8.19876 2.4 10.5839 5.325 10.5839C6.525 10.5839 7.65 10.2112 8.475 9.54037L10.725 11.7764C10.875 11.9255 11.1 12 11.25 12C11.4 12 11.625 11.9255 11.775 11.7764C12.075 11.4783 12.075 11.0311 11.775 10.7329L9.525 8.42236Z",fill:"currentColor",fillRule:"evenodd"}))}var sj=__webpack_require__(67294);function uj(e){return sj.createElement(Hq,Et({height:"5",width:"10",viewBox:"0 0 10 5"},e),sj.createElement("path",{d:"M5.56569 4.75592L8.76601 1.42259C9.27003 0.897618 8.91306 0 8.20027 0L1.79963 0C1.08683 0 0.729863 0.897618 1.23389 1.42259L4.43421 4.75592C4.74666 5.08136 5.25324 5.08136 5.56569 4.75592Z",fill:"currentColor"}))}var lj=__webpack_require__(67294);function cj(e){return lj.createElement(Hq,Et({height:"18",width:"18",viewBox:"0 0 18 18"},e),lj.createElement("path",{d:"M3.1665 6.08335C3.1665 4.01229 4.84544 2.33335 6.9165 2.33335C8.98757 2.33335 10.6665 4.01229 10.6665 6.08335C10.6665 6.37941 10.6324 6.66643 10.5681 6.9411C10.4634 7.38925 10.7417 7.83748 11.1899 7.94225C11.6381 8.04702 12.0863 7.76865 12.1911 7.3205C12.2841 6.92235 12.3332 6.50805 12.3332 6.08335C12.3332 3.09181 9.90805 0.666687 6.9165 0.666687C3.92496 0.666687 1.49984 3.09181 1.49984 6.08335C1.49984 6.46923 1.54032 6.84657 1.61756 7.21105C1.679 7.50095 1.76362 7.78236 1.86938 8.05316C1.97511 8.32389 2.10191 8.5839 2.24772 8.83119C2.48148 9.22764 2.99237 9.35953 3.38882 9.12577C3.78527 8.89201 3.91716 8.38112 3.6834 7.98467C3.58248 7.81352 3.49485 7.63379 3.42186 7.44688C3.34886 7.25994 3.29045 7.0657 3.24802 6.86551C3.1947 6.61395 3.1665 6.3524 3.1665 6.08335Z",fill:"currentColor"}),lj.createElement("path",{d:"M9.18922 9.34412L14.8186 10.2697C16.2762 10.5117 17.3332 11.6819 17.3332 13.0521V16.6037C17.3332 17.0029 16.9837 17.3264 16.553 17.3264C16.122 17.3264 15.7728 17.0029 15.7728 16.6037V13.0521C15.7728 12.3826 15.2561 11.8108 14.5446 11.6926L8.30452 10.6667H8.30233C7.90851 10.6331 7.57585 10.2773 7.57585 9.8899V6.0524C7.57585 5.88733 7.48441 5.73325 7.33119 5.64046C7.17921 5.54853 6.99291 5.53668 6.82002 5.60606C6.63747 5.68035 6.51483 5.87085 6.51483 6.08044V15.3607C6.51483 15.6856 6.30169 15.9391 5.91441 16.0741C5.40325 16.2528 4.90988 16.0261 4.70516 15.7226L3.01346 13.2999C2.93513 13.1565 2.84963 13.09 2.68954 13.0406C2.59935 13.0249 2.47889 13.0408 2.37154 13.0906C2.2798 13.1394 2.22768 13.4826 2.38902 13.9902C2.41984 14.0542 3.0442 15.4844 3.27756 16.0189C3.32536 16.1284 3.35676 16.2003 3.36328 16.2152C3.47656 16.4494 3.49404 16.6994 3.40853 16.8957C3.33551 17.0631 3.1904 17.1911 2.98912 17.2663C2.893 17.3018 2.77099 17.3334 2.63742 17.3334C2.36124 17.3334 2.03826 17.1986 1.80702 16.6867L1.75272 16.5849C1.3289 15.6773 1.03464 14.952 0.90735 14.6382L0.905151 14.6328L0.896561 14.6115C0.87092 14.548 0.854463 14.5072 0.847419 14.4926C0.45609 13.3756 0.711983 12.3355 1.49527 11.8308C1.97428 11.5452 2.55316 11.4538 3.08867 11.5781C3.63572 11.7047 4.10288 12.0476 4.40371 12.5436L4.82936 13.2293V5.99429C4.82936 5.3563 5.1692 4.74981 5.7381 4.37228C6.30855 3.99359 7.0238 3.89848 7.69942 4.11153C8.55823 4.3824 9.13554 5.15654 9.13617 6.03881L9.18922 9.34412Z",fill:"currentColor"}))}var dj=__webpack_require__(67294);function fj(e){return dj.createElement(Hq,Et({height:"14",width:"20",viewBox:"0 0 20 14"},e),dj.createElement("path",{clipRule:"evenodd",d:"M19.548 2.09234C19.8255 2.23518 20 2.52116 20 2.83331V11.1666C20 11.4788 19.8255 11.7648 19.548 11.9076C19.2704 12.0505 18.9363 12.0262 18.6823 11.8448L12.849 7.67809C12.63 7.52166 12.5 7.2691 12.5 6.99998C12.5 6.73085 12.63 6.47829 12.849 6.32187L18.6823 2.1552C18.9363 1.97376 19.2704 1.9495 19.548 2.09234ZM14.7671 6.99998L18.3333 9.54732V4.45264L14.7671 6.99998Z",fill:"currentColor",fillRule:"evenodd"}),dj.createElement("path",{clipRule:"evenodd",d:"M2.5 1.99998C2.03976 1.99998 1.66667 2.37308 1.66667 2.83331V11.1666C1.66667 11.6269 2.03976 12 2.5 12H11.6667C12.1269 12 12.5 11.6269 12.5 11.1666V2.83331C12.5 2.37308 12.1269 1.99998 11.6667 1.99998H2.5ZM0 2.83331C0 1.4526 1.11929 0.333313 2.5 0.333313H11.6667C13.0474 0.333313 14.1667 1.4526 14.1667 2.83331V11.1666C14.1667 12.5474 13.0474 13.6666 11.6667 13.6666H2.5C1.11929 13.6666 0 12.5474 0 11.1666V2.83331Z",fill:"currentColor",fillRule:"evenodd"}))}var pj=__webpack_require__(67294);function hj(e){return pj.createElement(Hq,Et({height:"10",width:"10",viewBox:"0 0 10 10"},e),pj.createElement("path",{clipRule:"evenodd",d:"M9.78572 9.78572C9.5 10.0714 9.07143 10.0714 8.78571 9.78572L5 6.00001L1.21429 9.78572C0.928571 10.0714 0.500001 10.0714 0.214285 9.78572C-0.0714284 9.49999 -0.0714284 9.07144 0.214285 8.78571L4 5L0.214285 1.21429C-0.0714284 0.928564 -0.0714284 0.500007 0.214285 0.214279C0.357143 0.0714143 0.500001 0 0.714286 0C0.928571 0 1.07143 0.0714143 1.21429 0.214279L5 3.99999L8.78571 0.214279C8.92857 0.0714143 9.14286 0 9.28572 0C9.42857 0 9.64286 0.0714143 9.78572 0.214279C10.0714 0.500007 10.0714 0.928564 9.78572 1.21429L6 5L9.78572 8.78571C10.0714 9.07144 10.0714 9.49999 9.78572 9.78572Z",fill:"currentColor",fillRule:"evenodd"}))}function mj(e){return"/"===e.charAt(0)}function vj(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}var gj=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&mj(e),a=t&&mj(t),s=o||a;if(e&&mj(e)?i=r:r.length&&(i.pop(),i=i.concat(r)),!i.length)return"/";if(i.length){var u=i[i.length-1];n="."===u||".."===u||""===u}else n=!1;for(var l=0,c=i.length;c>=0;c--){var d=i[c];"."===d?vj(i,c):".."===d?(vj(i,c),l++):l&&(vj(i,c),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&mj(i[0])||i.unshift("");var f=i.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function yj(e){return"/"===e.charAt(0)?e:"/"+e}function bj(e){return"/"===e.charAt(0)?e.substr(1):e}function _j(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 wj(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function kj(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 Ej(e,t,n,r){var i;"string"==typeof e?(i=function(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}}(e),i.state=t):(void 0===(i=k({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=gj(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function xj(){var e=null;var 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 Sj=!("undefined"==typeof window||!window.document||!window.document.createElement);function Tj(e,t){t(window.confirm(e))}var Cj="popstate",Aj="hashchange";function Oj(){try{return window.history.state||{}}catch(e){return{}}}function Nj(e){void 0===e&&(e={}),Sj||q(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,a=o.forceRefresh,s=void 0!==a&&a,u=o.getUserConfirmation,l=void 0===u?Tj:u,c=o.keyLength,d=void 0===c?6:c,f=e.basename?wj(yj(e.basename)):"";function p(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return f&&(o=_j(o,f)),Ej(o,r,n)}function h(){return Math.random().toString(36).substr(2,d)}var m=xj();function v(e){k(O,e),O.length=n.length,m.notifyListeners(O.location,O.action)}function g(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||_(p(e.state))}function y(){_(p(Oj()))}var b=!1;function _(e){if(b)b=!1,v();else{m.confirmTransitionTo(e,"POP",l,(function(t){t?v({action:"POP",location:e}):function(e){var t=O.location,n=E.indexOf(t.key);-1===n&&(n=0);var r=E.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(b=!0,S(i))}(e)}))}}var w=p(Oj()),E=[w.key];function x(e){return f+kj(e)}function S(e){n.go(e)}var T=0;function C(e){1===(T+=e)&&1===e?(window.addEventListener(Cj,g),i&&window.addEventListener(Aj,y)):0===T&&(window.removeEventListener(Cj,g),i&&window.removeEventListener(Aj,y))}var A=!1;var O={length:n.length,action:"POP",location:w,createHref:x,push:function(e,t){var i="PUSH",o=Ej(e,t,h(),O.location);m.confirmTransitionTo(o,i,l,(function(e){if(e){var t=x(o),a=o.key,u=o.state;if(r)if(n.pushState({key:a,state:u},null,t),s)window.location.href=t;else{var l=E.indexOf(O.location.key),c=E.slice(0,l+1);c.push(o.key),E=c,v({action:i,location:o})}else window.location.href=t}}))},replace:function(e,t){var i="REPLACE",o=Ej(e,t,h(),O.location);m.confirmTransitionTo(o,i,l,(function(e){if(e){var t=x(o),a=o.key,u=o.state;if(r)if(n.replaceState({key:a,state:u},null,t),s)window.location.replace(t);else{var l=E.indexOf(O.location.key);-1!==l&&(E[l]=o.key),v({action:i,location:o})}else window.location.replace(t)}}))},go:S,goBack:function(){S(-1)},goForward:function(){S(1)},block:function(e){void 0===e&&(e=!1);var t=m.setPrompt(e);return A||(C(1),A=!0),function(){return A&&(A=!1,C(-1)),t()}},listen:function(e){var t=m.appendListener(e);return C(1),function(){C(-1),t()}}};return O}var Pj="hashchange",Ij={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+bj(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:bj,decodePath:yj},slash:{encodePath:yj,decodePath:yj}};function Lj(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function Mj(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function Rj(e){window.location.replace(Lj(window.location.href)+"#"+e)}function Dj(e){void 0===e&&(e={}),Sj||q(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?Tj:r,o=n.hashType,a=void 0===o?"slash":o,s=e.basename?wj(yj(e.basename)):"",u=Ij[a],l=u.encodePath,c=u.decodePath;function d(){var e=c(Mj());return s&&(e=_j(e,s)),Ej(e)}var f=xj();function p(e){k(T,e),T.length=t.length,f.notifyListeners(T.location,T.action)}var h=!1,m=null;function v(){var e=Mj(),t=l(e);if(e!==t)Rj(t);else{var n=d(),r=T.location;if(!h&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(r,n))return;if(m===kj(n))return;m=null,function(e){if(h)h=!1,p();else{var t="POP";f.confirmTransitionTo(e,t,i,(function(n){n?p({action:t,location:e}):function(e){var t=T.location,n=_.lastIndexOf(kj(t));-1===n&&(n=0);var r=_.lastIndexOf(kj(e));-1===r&&(r=0);var i=n-r;i&&(h=!0,w(i))}(e)}))}}(n)}}var g=Mj(),y=l(g);g!==y&&Rj(y);var b=d(),_=[kj(b)];function w(e){t.go(e)}var E=0;function x(e){1===(E+=e)&&1===e?window.addEventListener(Pj,v):0===E&&window.removeEventListener(Pj,v)}var S=!1;var T={length:t.length,action:"POP",location:b,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=Lj(window.location.href)),n+"#"+l(s+kj(e))},push:function(e,t){var n="PUSH",r=Ej(e,void 0,void 0,T.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=kj(r),i=l(s+t);if(Mj()!==i){m=t,function(e){window.location.hash=e}(i);var o=_.lastIndexOf(kj(T.location)),a=_.slice(0,o+1);a.push(t),_=a,p({action:n,location:r})}else p()}}))},replace:function(e,t){var n="REPLACE",r=Ej(e,void 0,void 0,T.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=kj(r),i=l(s+t);Mj()!==i&&(m=t,Rj(i));var o=_.indexOf(kj(T.location));-1!==o&&(_[o]=t),p({action:n,location:r})}}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},block:function(e){void 0===e&&(e=!1);var t=f.setPrompt(e);return S||(x(1),S=!0),function(){return S&&(S=!1,x(-1)),t()}},listen:function(e){var t=f.appendListener(e);return x(1),function(){x(-1),t()}}};return T}v.Component;v.Component;var qj=function(e,t){return"function"==typeof e?e(t):e},jj=function(e,t){return"string"==typeof e?Ej(e,null,null,t):e},Fj=function(e){return e},Bj=v.forwardRef;void 0===Bj&&(Bj=Fj);var Uj=Bj((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=U(e,["innerRef","navigate","onClick"]),a=o.target,s=k({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||a&&"_self"!==a||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return s.ref=Fj!==Bj&&t||n,v.createElement("a",s)}));var zj=Bj((function(e,t){var n=e.component,r=void 0===n?Uj:n,i=e.replace,o=e.to,a=e.innerRef,s=U(e,["component","replace","to","innerRef"]);return v.createElement(G.Consumer,null,(function(e){e||q(!1);var n=e.history,u=jj(qj(o,e.location),e.location),l=u?n.createHref(u):"",c=k({},s,{href:l,navigate:function(){var t=qj(o,e.location);(i?n.replace:n.push)(t)}});return Fj!==Bj?c.ref=t||a:c.innerRef=a,v.createElement(r,c)}))})),Hj=function(e){return e},Vj=v.forwardRef;void 0===Vj&&(Vj=Hj);var Wj=Vj((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,i=e.activeClassName,o=void 0===i?"active":i,a=e.activeStyle,s=e.className,u=e.exact,l=e.isActive,c=e.location,d=e.sensitive,f=e.strict,p=e.style,h=e.to,m=e.innerRef,g=U(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return v.createElement(G.Consumer,null,(function(e){e||q(!1);var n=c||e.location,i=jj(qj(h,n),n),y=i.pathname,b=y&&y.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=b?Z(n.pathname,{path:b,exact:u,sensitive:d,strict:f}):null,w=!!(l?l(_,n):_),E=w?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(" ")}(s,o):s,x=w?k({},p,{},a):p,S=k({"aria-current":w&&r||null,className:E,style:x,to:i},g);return Hj!==Vj?S.ref=t||m:S.innerRef=m,v.createElement(zj,S)}))})),Yj=__webpack_require__(67294),Gj=["children","disabled","onClick","to"],Kj=function(e,t){var n=e.children,r=e.disabled,i=e.onClick,o=e.to,a=Ji(e,Gj);return r?Yj.createElement("a",Et({"aria-disabled":"true",ref:t,role:"link"},a),n):Yj.createElement(zj,Et({onClick:i,ref:t,to:o},a),n)},Xj=(0,v.forwardRef)(Kj),$j={course:{container:"learn.course",overview:{container:"learn.course.overview",startButton:"learn.course.overview.startButton",favoriteButton:"learn.course.overview.favoritebutton",actionButton:"learn.course.overview.actionButton"},lesson:{container:"learn.course.lesson",nextLessonLink:"learn.course.lesson.nextLessonLink"}}},Zj={checkboxSelect:"common.checkboxSelect",continueBtn:"common.continueBtn",dropdownClose:"common.dropdownClose",dropDownMenu:{item:"common.dropDownMenu.item",trigger:"common.dropDownMenu.trigger",duplicate:"common.dropDownMenu.duplicate",delete:"common.dropDownMenu.delete"},fileSelect:{btn:"common.fileSelect.btn"},folderTree:{rootFolder:"common.folderTree.rootFolder",caret:"common.folderTree.caret",icon:"common.folderTree.icon",item:"common.folderTree.item"},froala:{froalaInput:"common.froala.froalaInput"},modal:{container:"common.modal.container",confirmButton:"common.modal.confirmButton"}},Qj={container:"lessonEdit.container",blockCreateBtn:"lessonEdit.blockCreateBtn",allBlocksBtn:"lessonEdit.allBlocksBtn",block:"lessonEdit.block",blocksSidebar:{container:"lessonEdit.blocksSidebar",blockName:"lessonEdit.blocksSidebar.blockName",closeBtn:"lessonEdit.blocksSidebar.closeBtn",blockThumbnails:{container:"lessonEdit.blocksSidebar.blockThumbnails",thumbnail:"lessonEdit.blocksSidebar.blockThumbnails.thumbnail"}},blockSelectionHeader:{container:"lessonEdit.blockSelectionHeader.container",saveBtn:"lessonEdit.blockSelectionHeader.saveBtn"},blockTemplateDialog:{container:"lessonEdit.blockTemplateDialog",input:"lessonEdit.blockTemplateDialog.input",saveBtn:"lessonEdit.blockTemplateDialog.saveBtn"}},Jj={container:"lessonPreview.container",previewIframe:"lessonPreview.previewIframe"},eF={container:"quizPreview.container",startQuiz:"quizPreview.quizPreviewQuestions.startQuiz",quizPreviewQuestions:{container:"quizPreview.quizPreviewQuestions.container",acceptableAnswers:"quizPreview.quizPreviewQuestions.acceptableAnswers",answerEvaluation:"quizPreview.quizPreviewQuestions.answerEvaluation",fillInTheBlankAnswer:"quizPreview.quizPreviewQuestions.fillInTheBlankAnswer",mediaArea:"quizPreview.quizPreviewQuestions.mediaArea",questionTextArea:"quizPreview.quizPreviewQuestions.questionTextArea",submitButton:"quizPreview.quizPreviewQuestions.submitButton",answerArea:{answerAreaContainer:"quizPreview.quizPreviewQuestions.answerArea.answerAreaContainer",checkboxSelect:"quizPreview.quizPreviewQuestions.answerArea.checkboxSelect"}}},tF={blockOverlayBtn:"blocks.blockOverlayBtn",blockText:"blocks.blockText",blockImpact:"blocks.blockImpact",blockQuote:"blocks.blockQuote",blockKnowledge:"blocks.blockKnowledge",blockChart:"blocks.blockChart",blockList:"blocks.blockList",blockImage:"blocks.blockImage",blockGallery:"blocks.blockGallery",blockAudio:"blocks.blockAudio",blockVideo:"blocks.blockVideo",blockEmbed:"blocks.blockEmbed",blockAttachment:"blocks.blockAttachment",blockAccordion:"blocks.blockAccordion",blockTabs:"blocks.blockTabs",blockLabeledGraphic:"blocks.blockLabeledGraphic",blockProcess:"blocks.blockProcess",blockScenario:"blocks.blockScenario",blockSortingActivity:"blocks.blockSortingActivity",blockTimeline:"blocks.blockTimeline",blockFlashcards:"blocks.blockFlashcards",blockButton:"blocks.blockButton",blockDivider:"blocks.blockDivider",blockTemplates:{container:"blocks.blockTemplates.container",newBlockTemplateBtn:"blocks.blockTemplates.newBlockTemplateBtn",blockTemplateItem:"blocks.blockTemplates.blockTemplateItem",blockTemplateDialog:"blocks.blockTemplates.blockTemplateDialog",blockTemplateThumbnail:"blocks.blockTemplates.blockTemplateThumbnail"}},nF=__webpack_require__(67294),rF=$j.course.overview,iF=function(e){var t=e.className,n=void 0===t?"":t,r=OR("rise-auto-calc-contrast"),i=sM(),o=i.theme,a=i.themeId,s=(i.trackingQuizId,o.colorAccent),u=o.coverPageType,l=o.coverTextColor,c=l===NS.AUTO,d="preview"===window.viewType,f=pM(),p=hM(),h=fM(),m=null==f?void 0:f.id,g=rR(768),y=u===TS.CENTERED_IMAGE,b=u===TS.CENTERED_ACCENT_TINT,_=!g&&u!==TS.CENTERED||y||b,w=g&&YC(a,u),k=GC(a,u)||w,E=ir()?100===h:nr(),x=null!=p,S=x?p:m,T=!d&&$n,C=l===NS.DARK&&!k,A=(0,v.useMemo)((function(){return r?T?LC(l,s)&&!k:C:!EC(s)}),[r,s,l,k,C,T]),O=cM({isCourseComplete:E,percentCourseComplete:h}).courseCTALabel,N=GA()(n,"cover__header-content-action-link","overview__button-enrolled",{"cover__header-content-action-link--dark":C&&!_,"cover__header-content-action-link--light":!A&&!_,"overview__start-again":T,"overview__start-again--btn-dark":T&&A&&!_,"overview__start-again--btn-light":T&&!A&&!_||T&&k,"overview__button-enrolled--text-dark":A&&_,"overview__button-enrolled--btn-dark":C&&!_,"overview__button-enrolled--btn-light":!A&&!_}),P=GA()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--text-light":!A&&!c,"cover__header-content-action-link-text--text-dark":A}),I=(0,v.useMemo)((function(){return(0,v.forwardRef)((function(e,t){return nF.createElement(Xj,Et({ref:t},e))}))}),[]);return O?nF.createElement("div",{className:"cover__header-content-action-wrapper"},nF.createElement(MR,{background:!_,className:N,disabled:k||T,"data-ba":rF.actionButton,style:!_||k||T?void 0:{backgroundColor:s},tag:I,to:pL(S)},nF.createElement("span",{className:P,"data-ba":rF.startButton},O))):null},oF=yM("cover"),aF=Xz("CoverDetailsSection",(function(e){var t=e.children,n=e.type;return v.createElement("section",{className:oF("details-content-section",{type:n})},t)})),sF=__webpack_require__(71066),uF=__webpack_require__.n(sF),lF=function(){function e(){nt(this,e)}return dt(e,null,[{key:"isChrome",get:function(){return!(!window||!window.navigator)&&(/Chrome/.test(window.navigator.userAgent)&&/Google Inc/.test(window.navigator.vendor))}},{key:"isSafari",get:function(){return!(!window||!window.navigator)&&(/Safari/.test(window.navigator.userAgent)&&/Apple Computer/.test(window.navigator.vendor)&&!/CriOS/.test(window.navigator.userAgent))}},{key:"isIphoneSafari",get:function(){if(!window||!window.navigator)return!1;var e=/iPhone|iPod/.test(window.navigator.userAgent)&&!window.MSStream,t=/Safari/.test(window.navigator.userAgent)&&/Apple Computer/.test(window.navigator.vendor),n=/CriOS/.test(window.navigator.userAgent);return e&&t&&!n}},{key:"isSafari9",get:function(){if(!window||!window.navigator)return!1;var e=/Safari/.test(window.navigator.userAgent)&&/Apple Computer/.test(window.navigator.vendor),t=/version\/9./i.test(window.navigator.userAgent);return e&&t}},{key:"isSafariVersion13OrLower",get:function(){var t=e.isSafari,n=t?window.navigator.userAgent.match(/(?=version\/)(.+?)(?=\.)/i)[0].replace(/version\//i,""):0;return t&&n<14}},{key:"isIe11",get:function(){return!(!window||!Object.hasOwnProperty.call(window,"ActiveXObject")||window.ActiveXObject)}},{key:"isEdge",get:function(){return!(!window||!window.navigator)&&/Edge/.test(window.navigator.userAgent)}},{key:"isMobile",get:function(){return!(!window||!window.navigator)&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}},{key:"isLocalFilesystem",get:function(){return!(!window||!window.navigator)&&/file:/.test(window.location.protocol)}},{key:"isFirefox",get:function(){var e,t,n,r;return null!==(e=null===(t=window)||void 0===t||null===(n=t.navigator)||void 0===n?void 0:k_()(r=n.userAgent).call(r,"Firefox"))&&void 0!==e&&e}}]),e}();function cF(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function dF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cF(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):cF(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var fF=Hn()(Fo()),pF=function(e){return function(t){var n;return St()(n="".concat(e,"/")).call(n,t.id)}},hF=function(e){return function(t,n){return mc()(t,pF(n),bF(e,n))}},mF=function(){return Jo()(cE())},vF=function(e){var t=new Error("Nil token detected");return Wy.addError(t,e),Xr().Rejected(t)},gF=function(e){return function(t){return function(n){return function(r){return zl(r,function(e,t){return Ak()(dF({data:(0,HN.action)(t),method:"POST",url:Ul(fF("/".concat(t)),Gn()("url"),e)},ba()(["headers","withCredentials"],e)))}(t,n),ti()(mF,vF,e),gc()(function(e){return wa()(Il()({},["response","data"]),Pa()(Gn()("type"),(0,HN.error)(e)))}(n),La()(gb()("data"),Gn()("data"))),FA()(ti()(Gn()("error"),Xr().Rejected,Xr().of)),function(e,t){return function(n){return e.postRequest?e.postRequest(t,n):n}}(t,{type:n,payload:r}))}}}},yF=Xr().fromPromise((function(e){var t=e.url,n=e.method,r=e.data;if(lF.isFirefox){var i=new Blob([oo()(r)],{type:"application/json"}),o=window.navigator.sendBeacon(t,i);return Gr().resolve({type:r.type,payload:dF(dF({},r.payload),{},{queued:o})})}return fetch(t,{method:n,credentials:"include",headers:{"Content-Type":"application/json"},body:oo()(r),keepalive:!0}).then((function(e){return e.json()})).then(pa()("data"))})),bF=B_()(3,gF(dE)),_F=B_()(3,gF(yF)),wF=function(e){return function(t,n){return uF()(t,pF(n),bF(e,n))}},kF=function(e){return{debounce:hF(e),send:bF(e),fetchWithKeepAlive:_F(e),throttle:wF(e)}},EF=kF({headers:function(){return{"x-rise-authoring-client":"2f28a46eee3509d84914b12bc52084cb3580afaa"}},postRequest:function(e,t){return t},url:"".concat(Xn("RISE_RUNTIME_URI"),"/ducks"),withCredentials:!0}),xF=TA()({context:{app:{name:"rise-frontend"}},payload:{articulate_user:!!lr()&&Fn()(lr()).staff,userRole:lr()?Fn()(lr()).roles:[],subId:lr()?Fn()(lr()).tenantId:"",subPlan:dr().plan_id||"",subStatus:dr().status||""}}),SF=Fo()("rise/track/")("TRACK"),TF=wa()(Pa()(gb()("userId"),Ro()("userId",cr())),La()(Zr()($n),xF),EF.send(SF)),CF=Fo()("partner-content-book-info__"),AF=nn(null,{track:TF})((function(e){var t=e.authors,n=e.backgroundColor,r=e.bookImage,i=e.bookTitle,o=e.buyLink,a=e.block,s=e.publishedAt,u=e.track,l=e.trackingInfo,c=_r()(t).call(t,(function(e){return!Ha()(e.name)})),d=bi()((function(e){return e.name}),c),f=d.length>1?KN()(" & ",d):d[0],p="s"===Nr()(f).call(f,-1)?"":"s",h=kC(n),m=GA()(qr({},CF("book-image-block"),a&&!h),qr({},CF("book-image-block")&&CF("dark-theme-book-image"),a&&h),qr({},CF("book-image-course"),!a)),g=CF(a?"flex-block":"flex-course"),y=CF(a?"image-container-block":"image-container-course"),b=GA()(CF("small-text"),qr({},CF("dark-theme"),h)),_=GA()(CF("black-text"),qr({},CF("dark-theme"),h)),w=GA()(CF("button"),qr({},CF("dark-theme-button"),h)),k=nS({height:"210",width:"140",imageKey:r}),E=(0,v.useCallback)((function(){$n}),[s,u,l]);return v.createElement("section",{className:g},v.createElement("h2",{className:"visually-hidden"},"Book Info"),v.createElement("div",{"aria-hidden":"true",className:y},r?v.createElement("img",{src:k,alt:"",className:m}):v.createElement("div",{className:m})),v.createElement("div",{className:CF("text-container")},v.createElement("p",{className:b},"From ",f,"'",p),v.createElement("p",{className:_},i),v.createElement("a",{className:w,href:o,onClick:E,target:"_blank",rel:"noopener noreferrer"},"Buy the book")))})),OF=Fo()("partner-content-partner-info__"),NF=nn(null,{track:TF})((function(e){var t=e.backgroundColor,n=e.block,r=e.link,i=e.publishedAt,o=e.track,a=e.trackingInfo,s=n?function(){var e,t=$x||Gx,n="NBIC_logo_light_bulb.png";return t?St()(e="".concat(t,"/f:png,a:retain,s:cover,w:276,h:160/assets/rise/assets/partner-content/")).call(e,n):er("partnerContent/".concat(n))}():function(){var e,t="NBIC_logo_blue.svg";return Wx?St()(e="".concat(Wx,"/assets/rise/assets/partner-content/")).call(e,t):er("partnerContent/".concat(t))}(),u=OF(n?"nbic-logo-light-bulb":"nbic-logo"),l=OF(n?"block-logo-container":"logo-container"),c=kC(t),d=GA()(OF("small-text"),qr({},OF("dark-theme"),c)),f=GA()(OF("black-text"),qr({},OF("dark-theme"),c)),p=GA()(OF("button"),qr({},OF("dark-theme-button"),c)),h=(0,v.useCallback)((function(){$n}),[i,o,a]);return v.createElement("section",{className:OF("flex")},v.createElement("h2",{className:"visually-hidden"},"Partner Info"),v.createElement("div",{"aria-hidden":"true",className:l},v.createElement("img",{src:s,alt:"",className:u})),v.createElement("div",{className:OF("text-container")},v.createElement("p",{className:d},"In partnership with"),v.createElement("p",{className:f},"Next Big Idea Club"),v.createElement("a",{className:p,href:r,onClick:h,rel:"noopener noreferrer",target:"_blank"},"Learn more")))})),PF=Fo()("partner-content-author-card__"),IF=function(e){var t=e.courseId,n=e.partnerContent,r=e.publishedAt,i=e.tenantId,o=n.data,a=n.type,s=o.authors,u=o.bookImage,l=o.bookTitle,c=o.buyLink,d=o.internalId,f=o.nbicLink,p=_r()(s).call(s,(function(e){return e.name})),h={courseId:t,partnerContentId:n.id,partnerContentInternalId:d,tenantId:i,contentSubtype:a},m=GA()(PF("flex"),PF("author-container")),g=function(e){return nS({width:"122",height:"122",imageKey:e})};return v.createElement("ol",{className:"partner-content-author-card",role:"list"},v.createElement("li",{role:"listitem"},v.createElement("section",null,v.createElement("h2",{className:"visually-hidden"},"Authors"),Ra()(p).call(p,(function(e){return v.createElement("li",{key:e.name,className:m},(t=e.image,n=e.name,v.createElement("div",{"aria-hidden":"true",className:PF("image-container")},t?v.createElement("img",{src:g(t),alt:n,className:PF("author-image")}):v.createElement("div",{className:PF("author-image")}))),v.createElement("p",{className:PF("author-name-text")},e.name));var t,n})))),v.createElement("li",{role:"listitem"},v.createElement(AF,{authors:s,bookImage:u,bookTitle:l,buyLink:c,publishedAt:r,trackingInfo:h})),v.createElement("li",{role:"listitem"},v.createElement(NF,{link:f,publishedAt:r,trackingInfo:h})))},LF=__webpack_require__(67294),MF=yM("cover"),RF=function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasLogo,i=e.hasPartnerContent,o=e.publishedAt,a=e.tenantId;if(!i)return null;var s=MF("details-content-aside",{logo:r});return LF.createElement("div",{className:s},LF.createElement(aF,{type:"partner-content"},LF.createElement(IF,{courseId:t,partnerContent:n,publishedAt:o,tenantId:a})))},DF=yM("cover"),qF=function(e){var t,n=e.className,r=void 0===n?DF("details-logo"):n,i=e.imageClassName,o=void 0===i?DF("details-logo-image"):i,a=null!==(t=sM())&&void 0!==t?t:{},s=Il()({},["media","image"],a),u=s.height,l=s.key,c=s.width;if(!l)return null;var d=eS(s);return v.createElement("div",{className:r},v.createElement("img",{className:o,src:d,width:c,height:u,alt:""}))},jF=yM("cover"),FF=function(){var e=sM(),t=e.description,n=e.navigation,r=e.partnerContentId,i=e.publishedAt,o=Boolean(r),a=n?o?"description-has-partner-content":"description":"description-no-outline",s=jF("details-row-logo",{"has-partner-content":o}),u=_M()(i),l=i&&u.isValid();return v.createElement("div",{className:jF("details-content-description-container",{published:l})},n&&v.createElement(qF,{className:s,imageClassName:jF("details-row-logo-image")}),v.createElement(aF,{type:a},v.createElement(xM,{format:"[Published — ] MMMM D, YYYY"}),v.createElement($M,{className:jF("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:ZM(t)})))},BF=["className","type"],UF=yM("cover"),zF=Xz("CoverDetailsContentHeading",(function(e){var t=e.className,n=void 0===t?"":t,r=e.type,i=Ji(e,BF),o=Wa()(["Default"],i);return v.createElement("header",Et({},o,{className:UF("details-content-heading",{type:r}).mix(n)}))})),HF=yM("cover"),VF=function(e){var t=e.children,n=e.title,r=e.type,i=sM(),o=i.description,a=i.media,s=i.partnerContentId,u=Boolean(s),l=Il()(void 0,["image","key"],a),c=!Jo()(l),d="outline"===r?o?c||u?u&&!c?"outline-has-partner-content":u&&c?"outline-has-pc-and-logo":"outline":"outline-no-logo":"outline-no-description":r;return v.createElement("section",{className:HF("details-content-section",{type:d})},v.createElement(zF,{type:r},v.createElement("h2",null,n)),t)},WF=yM("cover"),YF=function(){var e=(0,v.useRef)(),t=OR("rise-auto-calc-contrast"),n=sM(),r=n.color,i=n.coverPageType,o=n.theme,a=(null!=o?o:{}).coverTextColor,s=a===NS.AUTO,u=i===TS.CENTERED_OVERLAY,l=i!==TS.CENTERED,c=(0,v.useMemo)((function(){return t?a===NS.DARK&&!u:!EC(r)}),[t,r,a,u]),d=WF("header-star",{"dark-icon":c,"light-icon":!c&&!s});return v.createElement(MR,{"aria-hidden":"true",className:d,disabled:l,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",ref:e,rule:"stroke",tag:"svg",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M9 0V18",strokeWidth:"0.75",strokeMiterlimit:"10"}),v.createElement("path",{d:"M18 9H0",strokeWidth:"0.75",strokeMiterlimit:"10"}),v.createElement("path",{d:"M15.3 15.3002L2.69995 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}),v.createElement("path",{d:"M2.69995 15.3002L15.3 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}))},GF=rR.bind(null,480),KF=rR.bind(null,768),XF=(rR.bind(null,992),{SPLIT_LEFT_IMAGE:"CENTERED_OVERLAY",SPLIT_RIGHT_IMAGE:"CENTERED_OVERLAY",TWO_THIRDS_LEFT_IMAGE:"CENTERED_OVERLAY",TWO_THIRDS_RIGHT_IMAGE:"CENTERED_OVERLAY"});function $F(){var e,t=sM().coverPageType;return KF()&&null!==(e=XF[t])&&void 0!==e?e:t}var ZF=__webpack_require__(67294),QF=yM("cover"),JF=function(){return null},eB=function(){return ZF.createElement(ZF.Fragment,null,ZF.createElement(zR,null,ZF.createElement(GR,null,ZF.createElement(KR,null),ZF.createElement(YF,null),ZF.createElement(FR,null),ZF.createElement($R,null),ZF.createElement(kR,null))))},tB=function(){return ZF.createElement(ZF.Fragment,null,ZF.createElement(BR,null,ZF.createElement(GR,null,ZF.createElement(KR,null),ZF.createElement(YF,null),ZF.createElement(FR,null),ZF.createElement($R,null),ZF.createElement(kR,null))))},nB=function(){return ZF.createElement(ZF.Fragment,null,ZF.createElement(VR,null),ZF.createElement(BR,null,ZF.createElement(GR,null,ZF.createElement(KR,null),ZF.createElement(YF,null),ZF.createElement(FR,null),ZF.createElement($R,null),ZF.createElement(kR,null))))},rB=function(){return ZF.createElement(ZF.Fragment,null,ZF.createElement(BR,null,ZF.createElement(GR,null,ZF.createElement(KR,null),ZF.createElement(YF,null),ZF.createElement(FR,null),ZF.createElement($R,null),ZF.createElement(kR,null))),ZF.createElement(VR,null))},iB=function(){return ZF.createElement(ZF.Fragment,null,ZF.createElement(BR,null,ZF.createElement(GR,null,ZF.createElement(KR,null),ZF.createElement(YF,null),ZF.createElement(FR,null),ZF.createElement($R,null),ZF.createElement(kR,null))),ZF.createElement("div",{className:"cover__header-graphic-wrap"},ZF.createElement(VR,null)))};function oB(){switch($F()){default:case"CENTERED_IMAGE":return ZF.createElement(iB,null);case"CENTERED":case"CENTERED_ACCENT_TINT":return ZF.createElement(tB,null);case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return ZF.createElement(rB,null);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return ZF.createElement(nB,null);case"CENTERED_OVERLAY":return ZF.createElement(eB,null)}}function aB(){return ZF.createElement("header",{className:QF("header",{meta:false})},ZF.createElement(oB,{hasMetaData:false}),ZF.createElement(JF,null))}var sB=__webpack_require__(67294),uB=yM("cover");function lB(e){var t=e.children,n=$F(),r=(0,v.useMemo)((function(){return aD()(n)}),[n]),i=uB(null,{layout:r});return sB.createElement("div",{id:"cover",className:i},t)}var cB=yM("lesson-header"),dB=function(e){var t=e.authorName,n=e.avatar,r=e.color,i=e.lessonHeaderColor,o=e.lessonHeaderStyle,a=e.lessonHeaderTextColor,s=e.lessonName,u=e.lessonNumber,l=e.lessonPreposition,c=e.partnerContentAuthors,d=e.showAuthor,f=e.showLessonCount,p=e.title,h=e.totalLessons,m=(0,v.useRef)(),g=OR("rise-auto-calc-contrast"),y=!Jo()(c)&&d,b=n&&t&&d&&!y,_=b||y||f,w=f&&b,k=o===hS.ACCENT&&EC(r),E=o===hS.COLOR&&EC(i),x=o===hS.COLOR,S=k||E,T=k_()(jS).call(jS,o),C=(0,v.useMemo)((function(){return g?a===NS.LIGHT:S}),[g,S,a]),A=cB("info-row--divider",{"text-light":C&&!T});return v.createElement("div",{className:"lesson-header__content"},_&&v.createElement("div",{className:"lesson-header__info-row"},b?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(wD,null),y&&v.createElement(ID,{partnerContentAuthors:c}),w&&v.createElement(gD,{"aria-hidden":"true",className:A,ref:m,style:x?{backgroundColor:i}:null,tag:"span"},"|"),f?v.createElement(ED,{lessonName:s,lessonNumber:u,lessonPreposition:l,totalLessons:h}):v.createElement(kD,null)),v.createElement("div",null,v.createElement(CD,{title:p})))},fB=function(e){var t=e.authorName,n=e.avatar,r=e.lessonName,i=e.lessonNumber,o=e.lessonPreposition,a=e.partnerContentAuthors,s=e.showAuthor,u=e.showLessonCount,l=e.title,c=e.totalLessons,d=(0,v.useMemo)((function(){return n&&t&&s&&!f}),[n,t,s,f]),f=!Jo()(a);return v.createElement(v.Fragment,null,u?v.createElement(ED,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:c}):v.createElement(kD,null),d&&v.createElement(_D,{avatar:n,authorName:t}),s&&f&&v.createElement(PD,{partnerContentAuthors:a}),v.createElement(CD,{title:l}))},pB=function(e){var t=e.authorName,n=e.avatar,r=e.lessonName,i=e.lessonNumber,o=e.lessonPreposition,a=e.partnerContentAuthors,s=e.showAuthor,u=e.showLessonCount,l=e.title,c=e.totalLessons,d=(0,v.useMemo)((function(){return n&&t&&s&&!f}),[n,t,s,f]),f=!Jo()(a);return v.createElement(v.Fragment,null,d?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(wD,null),s&&f&&v.createElement(ID,{partnerContentAuthors:a}),v.createElement(CD,{title:l}),u?v.createElement(ED,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:c}):v.createElement(kD,null))},hB=function(e){var t=GF();return e.lessonHeaderSize!==mS.SMALL||t?t?v.createElement(fB,e):v.createElement(pB,e):v.createElement(dB,e)},mB=Bb.COMPACT,vB=Bb.COVER,gB=Bb.SIDEBAR,yB=yM("progress-circle");function bB(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.isFailed,i=e.isPassed,o=e.scope,a=yB({compact:o===mB,cover:o===vB,failed:r,passed:i,sidebar:o===gB});return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:a,focusable:"false",viewBox:"0 0 7 7",xmlns:"http://www.w3.org/2000/svg"},v.createElement("circle",{cx:"3.5",cy:"3.5",r:"2.5"}))}var _B=__webpack_require__(67294),wB=["Default"];function kB(e){var t=e.Default,n=Ji(e,wB);return _B.createElement(t,Et({},n,{hasOverlay:!1}))}var EB=__webpack_require__(73672),xB=__webpack_require__.n(EB);function SB(e){var t;return k_()(t=["auto","hidden","scroll"]).call(t,e)}function TB(e,t){(0,v.useLayoutEffect)((function(){for(var n=e.current;n&&(n=n.parentElement);){var r=window.getComputedStyle(n);if(SB(r.overflowX)||SB(r.overflowY))return n.addEventListener("scroll",t),function(){return n.removeEventListener("scroll",t)}}}),[t,e])}var CB=yM("lesson-progress"),AB=Bb.COMOVERVIEW,OB=Bb.COMPACT,NB=Bb.COVER,PB=Bb.OVERLAY,IB=Bb.SIDEBAR;function LB(e){var t=e.canComplete,n=e.color,r=e.hasRestriction,i=e.isComplete,o=e.isCurrentLesson,a=e.isDark,s=e.isEnabled,u=e.isFailed,l=e.isLegacy,c=e.isPassed,d=e.isTooltipVisible,f=e.navigationStyle,p=e.onHideTooltip,h=e.onMarkComplete,m=e.onMarkReset,g=e.onShowTooltip,y=e.percentComplete,b=e.progressGraphic,_=e.scope,w=e.labels,k=(0,v.useRef)(),E=(0,v.useRef)(),x=(0,v.useRef)(),S=CB({compact:_===OB,cover:_===NB&&!l,"legacy-comoverview":_===AB,"legacy-cover":_===NB&&l,inactive:r,overlay:_===PB,sidebar:_===IB&&!l,"legacy-sidebar":_===IB&&l}),T=CB("graphic",{compact:_===OB,cover:_===NB&&!l,"legacy-comoverview":_===AB,"legacy-cover":_===NB&&l,overlay:_===PB,sidebar:_===IB&&!l,"legacy-sidebar":_===IB&&l}),C=CB("tooltip",{legacy:l}).toString(),A=(0,v.useCallback)((function(){i?null==m||m():null==h||h()}),[i,h,m]),O=(0,v.useCallback)((function(){r||(E.current=setTimeout((function(){null==g||g()}),600))}),[r,g]),N=(0,v.useCallback)((function(){clearTimeout(E.current),null==p||p()}),[p]),P=(0,v.useCallback)((function(){setTimeout((function(){if(d){var e,t=k.current.getBoundingClientRect(),n=x.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;kt()(x.current.style,{transform:St()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}}),0)}),[d]);if((0,v.useLayoutEffect)((function(){return P()}),[P]),fq("resize",P,window),TB(k,N),t){var I=function(e){var t,n=e.labels,r=e.canReset,i=e.percentComplete,o=100===i,a=n.progressPieCompleted,s=n.progressPieUnstarted,u=n.progressPieClickToComplete,l=n.progressPieClickToReset;return o&&r?St()(t="".concat(a,". ")).call(t,l):100!==i||r?0===i?St()(c="".concat(s,". ")).call(c,u):St()(d=St()(f="".concat(i,"% ")).call(f,a,". ")).call(d,u):a;var c,d,f}({labels:w,percentComplete:y,canReset:!0}),L=!s||false,M=CB("action",{disabled:L});return v.createElement("span",{className:S},v.createElement("button",{"aria-label":I,className:M,disabled:L,onBlur:p,onClick:A,onFocus:g,type:"button"},v.createElement("span",{className:T,onMouseEnter:O,onMouseLeave:N,ref:k},v.createElement(b,{"aria-hidden":"true",color:n,isDark:a,isCurrent:o,isFailed:u,isPassed:c,navigationStyle:f,scope:_,value:y}),s&&!r&&v.createElement(MB,{className:C,dark:a,ref:x,scope:_,visible:d},I))))}var R=function(e){var t=e.labels,n=e.isFailed,r=e.percentComplete,i=100===r,o=t.progressPieCompleted,a=t.progressPieUnstarted,s=t.progressPieFailed;return n?s:i?o:0===r?a:St()(u="".concat(r,"% ")).call(u,o);var u}({labels:w,isFailed:u,percentComplete:y});return v.createElement("span",{className:S},v.createElement("span",{className:T,onMouseEnter:O,onMouseLeave:N,ref:k},v.createElement(b,{"aria-label":R,color:n,isDark:a,isCurrent:o,isFailed:u,isPassed:c,navigationStyle:f,scope:_,value:y}),s&&!r&&v.createElement(MB,{className:C,dark:a,ref:x,scope:_,visible:d},R)))}var MB=(0,v.forwardRef)((function(e,t){var n=e.children,r=e.className,i=e.dark,o=e.scope,a=e.visible,s=(0,v.useMemo)((function(){return yM(r)}),[r]),u=s({compact:o===OB,cover:o===NB,overlay:o===PB,sidebar:o===IB,visible:a}),l=s("inner",{dark:i,light:!i}),c=v.createElement("div",{"aria-hidden":"true",ref:t,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:xB()}},v.createElement("div",{style:{pointerEvents:"all"}},v.createElement("div",{className:u},v.createElement("div",{className:l},n))));return(0,g.createPortal)(c,document.getElementById("portal"))}));function RB(e){var t=e.color,n=e.hasRestriction,r=e.isComplete,i=e.isCurrentLesson,o=e.isFailed,a=e.isPassed,s=e.isTooltipVisible,u=e.lessonTitle,l=e.navigationStyle,c=e.onHideTooltip,d=e.onShowTooltip,f=e.percentComplete,p=e.progressGraphic,h=e.scope,m=e.labels;return v.createElement(v.Fragment,null,v.createElement("span",{className:"overview-list-item__progress"},v.createElement(LB,{canComplete:!1,color:t,hasRestriction:n,isComplete:r,isCurrentLesson:i,isDark:!1,isEnabled:!0,isFailed:o,isPassed:a,isTooltipVisible:s,navigationStyle:l,onHideTooltip:c,onShowTooltip:d,percentComplete:f,progressGraphic:p,scope:h,labels:m})),v.createElement("span",{className:"overview-list-item__title"},u))}var DB=function(){return null},qB=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"currentColor",focusable:"false",ref:t,viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{d:"M3.33177 4.1487L6.48034 1.00013M9.6289 4.14869L6.48034 1.00013M6.48034 1.00013L6.47966 11.9601"}))},jB=(0,v.forwardRef)(qB),FB=__webpack_require__(67294);function BB(e){return FB.createElement(WA,Et({},Wa()(["Default"],e),{viewBox:"0 3 16 10",fill:"none"}),FB.createElement("path",{d:"M1.51472 7.99993H14.4853",stroke:"currentColor",strokeWidth:"0.75",strokeMiterlimit:"10"}),FB.createElement("path",{d:"M9.50008 12.4994L14.5004 7.99932L9.50008 3.99973",stroke:"currentColor",strokeWidth:"0.75",strokeMiterlimit:"10"}))}var UB=__webpack_require__(67294);function zB(e){return UB.createElement(WA,Et({viewBox:"0 0 25 16"},Wa()(["Default"],e)),UB.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.10699 7.7986L0.778547 7.50301L1.1236 7.22701L10.013 0.116623L10.4815 0.702312L2.42567 7.14593H24.4443V7.89593H2.3363L10.4981 15.2413L9.9964 15.7988L1.10699 7.7986Z",fill:"currentColor"}))}var HB=__webpack_require__(67294);function VB(e){return HB.createElement(Hq,Et({width:"14",height:"8",viewBox:"0 0 14 8"},e),HB.createElement("path",{clipRule:"evenodd",d:"M13 1L7 7L1 1",stroke:"currentColor"}))}var WB=__webpack_require__(67294);function YB(e){return WB.createElement(WA,Et({},Wa()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),WB.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"white"}),WB.createElement("path",{d:"M5 7.71429L7.54545 10L11.5 5.5",stroke:"white"}))}var GB=__webpack_require__(67294);function KB(e){return GB.createElement(WA,Et({},Wa()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),GB.createElement("path",{d:"M8.00085 5.20305L5.14081 8.06339C5.14079 8.06341 5.14077 8.06343 5.14075 8.06345C5.00146 8.20273 4.92319 8.39163 4.92314 8.58861V8.5887V9.93926C4.92314 10.1851 5.12244 10.3844 5.36829 10.3844H6.71884H6.71894C6.91593 10.3844 7.10484 10.3061 7.24413 10.1668C7.24414 10.1668 7.24415 10.1667 7.24416 10.1667L10.104 7.30664C10.104 7.30657 10.1041 7.3065 10.1042 7.30643L10.1042 7.30638C10.1043 7.30631 10.1044 7.30622 10.1044 7.30615L10.9465 6.46442C11.03 6.38095 11.0769 6.26773 11.0769 6.14966C11.0769 6.0316 11.03 5.91836 10.9466 5.83487L9.47304 4.36105C9.29924 4.18722 9.01746 4.18716 8.84359 4.36091L8.00111 5.20279C8.0011 5.2028 8.0011 5.2028 8.0011 5.2028L8.00085 5.20305Z",stroke:"white",strokeWidth:"0.890284",strokeLinecap:"round",strokeLinejoin:"round"}),GB.createElement("circle",{cx:"8",cy:"7.5293",r:"7",stroke:"white"}))}var XB=__webpack_require__(67294);function $B(e){var t=e.className;return XB.createElement("svg",{className:t,fill:"none",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},XB.createElement("circle",{cx:"6",cy:"6",r:"5"}),XB.createElement("path",{d:"M9.5 9.5L14 14"}))}var ZB=__webpack_require__(67294);function QB(e){return ZB.createElement(WA,Et({},Wa()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),ZB.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"white"}),ZB.createElement("path",{d:"M10 6L6 10",stroke:"white"}),ZB.createElement("path",{d:"M6 6L10 10",stroke:"white"}))}var JB=__webpack_require__(67294);function eU(e){var t=e.className;return JB.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 10 7",xmlns:"http://www.w3.org/2000/svg"},JB.createElement("path",{d:"M1 1.40002L5 5.40002L9 1.40002",strokeWidth:"1.6"}))}var tU=__webpack_require__(67294);function nU(e){return tU.createElement(WA,Et({viewBox:"0 0 12 12"},Wa()(["Default"],e)),tU.createElement("path",{d:"M10.7425 0.742189L11.4496 1.4493L1.55012 11.3488L0.843012 10.6417L10.7425 0.742189Z",fill:"currentColor"}),tU.createElement("path",{d:"M11.1571 10.6417L10.45 11.3488L0.550537 1.44929L1.25764 0.742188L11.1571 10.6417Z",fill:"currentColor"}))}var rU=__webpack_require__(67294),iU=$j.course.overview,oU=function(e){var t=e.className,n=void 0===t?"":t,r=OR("rise-auto-calc-contrast"),i=sM(),o=i.theme,a=i.themeId,s=(i.trackingQuizId,o.colorAccent),u=o.coverPageType,l=o.coverTextColor,c="preview"===window.viewType,d=pM(),f=hM(),p=fM(),h=null==d?void 0:d.id,m=rR(768),g=!m&&u!==TS.CENTERED&&u!==TS.LEFT,y=m&&YC(a,u),b=GC(a,u)||y,_=ir()?100===p:nr(),w=null!=f,k=w?f:h,E=!c&&$n,x=l===NS.DARK&&!b,S=(0,v.useMemo)((function(){return r?E?LC(l,s)&&!b:x:!EC(s)}),[r,s,l,b,x,E]),T=cM({isCourseComplete:_,percentCourseComplete:p}).courseCTALabel,C=GA()(n,"cover__header-content-action-link","overview__button-enrolled",{"cover__header-content-action-link--dark":x&&!g,"cover__header-content-action-link--light":!S&&!g,"overview__start-again":E,"overview__start-again--btn-dark":E&&S&&!g,"overview__start-again--btn-light":E&&!S&&!g,"overview__button-enrolled--text-dark":S&&g,"overview__button-enrolled--btn-dark":x&&!g,"overview__button-enrolled--btn-light":!S&&!g}),A=GA()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--text-light":!S,"cover__header-content-action-link-text--text-dark":S}),O=(0,v.useMemo)((function(){return(0,v.forwardRef)((function(e,t){return rU.createElement(Xj,Et({ref:t},e))}))}),[]);return T?rU.createElement("div",{className:"cover__header-content-action-wrapper"},rU.createElement(MR,{background:!g,className:C,disabled:b||E,"data-ba":iU.actionButton,style:g&&!b?{backgroundColor:s}:void 0,tag:O,to:pL(k)},rU.createElement("span",{className:A,"data-ba":iU.startButton},T))):null},aU=rR.bind(null,1200),sU=rR.bind(null,768),uU=rR.bind(null,480),lU=yM("cover"),cU=function(){var e=sM(),t=aU(),n=e.description;return n?v.createElement("div",null,v.createElement("section",{className:lU("details-content-section")},t&&v.createElement(wM,null),v.createElement($M,{className:lU("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:ZM(n)}))):null},dU={SPLIT_LEFT:"LEFT",SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT:"LEFT",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY"};function fU(){var e,t=sM().coverPageType;return sU()&&null!==(e=dU[t])&&void 0!==e?e:t}var pU=__webpack_require__(67294),hU=["Default"];function mU(e){var t,n=e.Default,r=Ji(e,hU),i=fU(),o=k_()(t=["SPLIT_RIGHT","SPLIT_RIGHT_IMAGE"]).call(t,i);return pU.createElement(n,Et({},r,{reverseColumns:o}))}var vU=function(e){var t=e.accentColor,n=e.hasOverlay,r=void 0!==n&&n,i=e.isShape,o=void 0!==i&&i,a=sM().coverImage,s=a.alpha,u=a.media,l=o?{backgroundColor:t}:DC({alpha:s,media:u,hasOverlay:r});return v.createElement("div",{className:"cover__header-graphic-container"},v.createElement("div",{className:"cover__header-graphic",style:l}))},gU=function(e){return v.createElement(kU,e,v.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},v.createElement("path",{d:"M0.319,0.998 L1,0.899 V0 H0 V0.899 L0.192,0.98 C0.234,0.998,0.277,1,0.319,0.998"})))},yU=function(e){return v.createElement(kU,e,v.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},v.createElement("path",{d:"M0.661,0.963 L1,0.804 V0 H0 V0.804 L0.339,0.963 C0.445,1,0.555,1,0.661,0.963"})))},bU=function(e){return v.createElement(kU,e,v.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},v.createElement("path",{d:"M0.481,0.991 L0.908,0.825 C0.99,0.793,1,0.694,0.982,0.616 L0.68,0.075 C0.636,-0.003,0.534,-0.023,0.465,0.033 L0.055,0.364 C-0.007,0.414,-0.017,0.505,0.031,0.568 L0.316,0.944 C0.355,0.995,0.422,1,0.481,0.991"})))},_U=function(e){return v.createElement(kU,e,v.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},v.createElement("path",{d:"M0.519,0.991 L0.093,0.825 C0.01,0.793,-0.025,0.694,0.019,0.616 L0.321,0.075 C0.364,-0.003,0.466,-0.023,0.536,0.033 L0.946,0.364 C1,0.414,1,0.505,0.97,0.568 L0.685,0.944 C0.646,0.995,0.579,1,0.519,0.991"})))},wU={LEFT_OVERLAY:gU,LEFT:gU,CENTERED:yU,CENTERED_OVERLAY:yU,SPLIT_LEFT:bU,SPLIT_LEFT_IMAGE:bU,SPLIT_RIGHT:_U,SPLIT_RIGHT_IMAGE:_U},kU=function(e){var t=e.children,n=e.className,r=void 0===n?"svgPath":n,i=e.height,o=e.width,a=e.viewBox;return v.createElement("svg",{"aria-hidden":"true",className:r,fill:"none",focusable:"false",height:i,viewBox:a,width:o,xmlns:"http://www.w3.org/2000/svg"},t)},EU=function(e){var t=e.className,n=e.coverPageType;return Ru()(Zr()(null),n,wU)({className:t})};function xU(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function SU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xU(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):xU(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var TU=yM("cover"),CU=function(){return v.createElement("div",{className:TU("author-published-wrap")},v.createElement(FR,null),v.createElement(xM,null))},AU=function(e){var t=e.coverPageType,n=uU();return v.createElement(zR,null,v.createElement(EU,{coverPageType:t}),v.createElement(GR,null,!n&&v.createElement(KR,null),v.createElement(CU,null),v.createElement($R,null),n&&v.createElement(KR,null),v.createElement(kR,null)))},OU=function(e){var t=e.coverPageType,n=uU();return v.createElement(BR,null,v.createElement(EU,{coverPageType:t}),v.createElement(GR,null,!n&&v.createElement(KR,null),v.createElement(CU,null),v.createElement($R,null),n&&v.createElement(KR,null),v.createElement(kR,null)))},NU=function(e){var t=e.coverPageType;return v.createElement(v.Fragment,null,v.createElement(EU,{coverPageType:t}),v.createElement(vU,null),v.createElement(BR,null,v.createElement(GR,null,v.createElement(KR,null),v.createElement(CU,null),v.createElement($R,null),v.createElement(kR,null))))},PU=function(e){var t=e.accentColor,n=e.coverPageType;return v.createElement(v.Fragment,null,v.createElement(BR,null,v.createElement(GR,null,v.createElement(KR,null),v.createElement(CU,null),v.createElement($R,null),v.createElement(kR,null))),v.createElement(EU,{coverPageType:n}),v.createElement(vU,{accentColor:t,isShape:!0}))},IU=function(e){var t=e.coverPageType;return v.createElement(v.Fragment,null,v.createElement(BR,null,v.createElement(GR,null,v.createElement(KR,null),v.createElement(CU,null),v.createElement($R,null),v.createElement(kR,null))),v.createElement(EU,{coverPageType:t}),v.createElement(vU,null))},LU=function(e){var t=e.accentColor,n=e.coverPageType;return v.createElement(v.Fragment,null,v.createElement(EU,{coverPageType:n}),v.createElement(vU,{accentColor:t,isShape:!0}),v.createElement(BR,null,v.createElement(GR,null,v.createElement(KR,null),v.createElement(CU,null),v.createElement($R,null),v.createElement(kR,null))))};function MU(e){var t=fU(),n=SU(SU({},e),{},{coverPageType:t});switch(t){default:case TS.LEFT_OVERLAY:case TS.CENTERED_OVERLAY:return v.createElement(AU,n);case TS.LEFT:case TS.CENTERED:return v.createElement(OU,n);case TS.SPLIT_LEFT:return v.createElement(PU,n);case TS.SPLIT_LEFT_IMAGE:return v.createElement(IU,n);case TS.SPLIT_RIGHT:return v.createElement(LU,n);case TS.SPLIT_RIGHT_IMAGE:return v.createElement(NU,n)}}var RU=function(e){var t=sM().partnerContentId,n=mM(),r=!!(Boolean(t)&&n);return v.createElement("header",{className:TU("header",{"with-info":r})},v.createElement(MU,e))},DU=yM("cover"),qU=function(e){var t=e.children,n=fU(),r=(0,v.useMemo)((function(){return aD()(n)}),[n]),i=DU(null,{layout:r});return v.createElement("div",{id:"cover",className:i},t)},jU=$z("AlignLeft"),FU=$z("ArrowDown"),BU=($z("ArrowLeft"),$z("ArrowRight"),$z("ArrowUp")),UU=($z("Category"),$z("ChevronDown")),zU=$z("ChevronUp"),HU=($z("Favorite"),$z("LessonsComplete")),VU=$z("LessonsRequirement"),WU=$z("QuestionBox"),YU=$z("QuizFailed"),GU=$z("QuizPassed"),KU=$z("QuizRequirement"),XU=$z("Search"),$U=$z("ToggleDown"),ZU=$z("Touch"),QU=$z("VideoCamera"),JU=$z("X");yM("cover");function ez(e){e.nextLesson,e.percentComplete,uU(),(0,v.useRef)();var t,n=sM(),r=n.color,i=n.theme,o=null!=i?i:{},a=o.coverPageType,s=o.coverTextColor,u=OR("rise-auto-calc-contrast"),l=k_()(t=fU()).call(t,"OVERLAY"),c=a===TS.LEFT_OVERLAY||a===TS.CENTERED_OVERLAY||l;(0,v.useMemo)((function(){return u?LC(s,r)&&!c:!EC(r)&&!c}),[u,r,s,c]);return null}var tz=yM("lesson-header"),nz=function(){return v.createElement("div",{className:"lesson-header__author--hidden"})},rz=function(e){var t=e.authorName,n=e.avatar,r=e.color,i=e.description,o=e.lessonHeaderColor,a=e.lessonHeaderStyle,s=e.lessonHeaderTextColor,u=e.lessonName,l=e.lessonNumber,c=e.lessonPreposition,d=e.partnerContentAuthors,f=e.showAuthor,p=e.showLessonCount,h=e.title,m=e.totalLessons,g=(0,v.useRef)(),y=OR("rise-auto-calc-contrast"),b=!Jo()(d)&&f,_=n&&t&&f&&!b,w=_||b||p,k=p&&_,E=a===hS.ACCENT&&EC(r),x=a===hS.COLOR&&EC(o),S=a===hS.COLOR,T=E||x,C=k_()(jS).call(jS,a),A=(0,v.useMemo)((function(){return y?s===NS.LIGHT:T}),[y,T,s]),O=tz("info-row--divider",{"text-light":A&&!C});return v.createElement("div",{className:tz("content")},w&&v.createElement("div",{className:tz("info-row")},_?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(nz,null),b&&v.createElement(ID,{partnerContentAuthors:d}),k&&v.createElement(gD,{"aria-hidden":"true",className:O,ref:g,style:S?{backgroundColor:o}:null,tag:"span"},"|"),p?v.createElement(ED,{lessonName:u,lessonNumber:l,lessonPreposition:c,totalLessons:m}):v.createElement(kD,null)),v.createElement("div",null,v.createElement(CD,{title:h}),i&&v.createElement(xD,{description:i})))},iz=function(e){var t=e.authorName,n=e.avatar,r=e.description,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.partnerContentAuthors,u=e.showAuthor,l=e.showLessonCount,c=e.title,d=e.totalLessons,f=(0,v.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Jo()(s);return v.createElement(v.Fragment,null,v.createElement(CD,{title:c}),v.createElement(SD,null,f?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(nz,{showPartnerContent:p}),u&&p&&v.createElement(ID,{partnerContentAuthors:s}),l?v.createElement(ED,{lessonName:i,lessonNumber:o,lessonPreposition:a,showPartnerContent:p,totalLessons:d}):v.createElement(kD,null)),r&&v.createElement(xD,{description:r}))},oz=function(e){var t=e.authorName,n=e.avatar,r=e.description,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.partnerContentAuthors,u=e.showAuthor,l=e.showLessonCount,c=e.title,d=e.totalLessons,f=(0,v.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Jo()(s);return v.createElement(v.Fragment,null,l?v.createElement(ED,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):v.createElement(kD,null),f?v.createElement(_D,{avatar:n,authorName:t}):v.createElement(nz,null),u&&p&&v.createElement(PD,{partnerContentAuthors:s}),v.createElement(CD,{title:c}),r&&v.createElement(xD,{description:r}))},az=function(e){var t=sR();return e.lessonHeaderSize!==mS.SMALL||t?t?v.createElement(oz,e):v.createElement(iz,e):v.createElement(rz,e)},sz=Bb.COMPACT,uz=Bb.COVER,lz=Bb.SIDEBAR,cz=yM("progress-circle");function dz(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.isFailed,i=e.isPassed,o=e.scope,a=e.value,s=Dr((0,v.useState)(100===a),2),u=s[0],l=s[1],c=sq(a),d=cz({compact:o===sz,cover:o===uz,sidebar:o===lz}),f=cz("track"),p=cz("runner",{done:u,failed:r,passed:i,unstarted:0===a}),h=cz("pass",{done:u,visible:i}),m=cz("fail",{done:u,visible:r});(0,v.useEffect)((function(){100!==a&&100===c&&l(!1)}),[c,a]);var g=(0,v.useCallback)((function(){100===a&&l(!0)}),[a]),y=(0,v.useRef)();return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:d,fill:"none",focusable:"false",role:"img",viewBox:"0 0 15 15",xmlns:"https://www.w3.org/2000/svg"},v.createElement("circle",{className:f,cx:"7.5",cy:"7.5",fill:"transparent",r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)"}),v.createElement(pq,{className:p,cx:"7.5",cy:"7.5",diameter:"15",onTransitionEnd:g,r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)",value:a}),o===uz?v.createElement(MR,{className:h,d:"M11.3227 6.65905C11.6133 6.37599 11.6347 5.89413 11.3705 5.58277C11.1063 5.27141 10.6566 5.24847 10.366 5.53152L6.93323 8.87512L5.6338 7.60944C5.3432 7.32639 4.89345 7.34933 4.62927 7.66069C4.36509 7.97205 4.38651 8.45391 4.67711 8.73697L6.45488 10.4686C6.72611 10.7328 7.14034 10.7328 7.41157 10.4686L11.3227 6.65905Z",ref:y,tag:"path"}):v.createElement(vq,{className:h,d:"M11.3227 6.65905C11.6133 6.37599 11.6347 5.89413 11.3705 5.58277C11.1063 5.27141 10.6566 5.24847 10.366 5.53152L6.93323 8.87512L5.6338 7.60944C5.3432 7.32639 4.89345 7.34933 4.62927 7.66069C4.36509 7.97205 4.38651 8.45391 4.67711 8.73697L6.45488 10.4686C6.72611 10.7328 7.14034 10.7328 7.41157 10.4686L11.3227 6.65905Z",ref:y,rule:"fill",tag:"path"}),v.createElement("path",{className:m,clipRule:"evenodd",d:"M7.5 8.56157L8.84426 9.90564L9.90503 8.84473L8.56078 7.50066L9.90543 6.15582L8.84452 5.09504L7.49986 6.43988L6.15452 5.09473L5.09375 6.15564L6.43909 7.5008L5.09452 8.84555L6.15543 9.90632L7.5 8.56157Z",fillRule:"evenodd"}))}var fz=function(e,t){var n=e["aria-hidden"],r=e["aria-label"],i=e.progress,o=void 0===i?0:i,a=e.runnerClass,s=e.trackClass;return v.createElement("div",{"aria-hidden":n,"aria-label":r,className:s,role:"img"},v.createElement(vq,{background:!0,className:a,ref:t,style:{width:"".concat(o,"%")}}))},pz=(0,v.forwardRef)(fz),hz=yM("nav-sidebar-header"),mz=function(e){var t=e.classProgressRunner,n=e.classProgressText,r=e.classProgressTrack,i=e.color,o=e.percentComplete,a=e.percentCompleteText,s=(0,v.useRef)();return v.createElement("div",{className:hz("progress")},v.createElement(vq,{className:n,ref:s},a),v.createElement(pz,{"aria-hidden":"true",color:i,progress:o,runnerClass:t,trackClass:r}))},vz=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"currentColor",focusable:"false",role:"img",ref:t,viewBox:"0 0 17 17",height:"17",width:"17",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.029 16.2343L8.7361 16.9414L9.44321 16.2343L16.707 8.97048L15.2928 7.55627L9.73903 13.11L9.73903 1.99985L7.73903 1.99985L7.73904 13.1159L2.17939 7.55627L0.765176 8.97048L8.029 16.2343Z"}))},gz=(0,v.forwardRef)(vz),yz=__webpack_require__(67294);function bz(e){return yz.createElement(WA,Et({},e,{viewBox:"0 0 16 8"}),yz.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15,3H3.4l1.3-1.3c0.4-0.4,0.4-1,0-1.4C4.5,0.1,4.3,0,4,0S3.5,0.1,3.3,0.3l-3,3c-0.4,0.4-0.4,1,0,1.4l3,3c0.4,0.4,1,0.4,1.4,0c0.4-0.4,0.4-1,0-1.4L3.4,5H15c0.6,0,1-0.4,1-1S15.6,3,15,3",fill:"currentColor"}))}var _z=__webpack_require__(67294);function wz(e){return _z.createElement(WA,Et({},Wa()(["Default"],e),{viewBox:"0 0 16 8"}),_z.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5H12.6L11.3 6.3C10.9 6.7 10.9 7.3 11.3 7.7C11.5 7.9 11.7 8 12 8C12.3 8 12.5 7.9 12.7 7.7L15.7 4.7C16.1 4.3 16.1 3.7 15.7 3.3L12.7 0.3C12.3 -0.1 11.7 -0.1 11.3 0.3C10.9 0.7 10.9 1.3 11.3 1.7L12.6 3H1C0.4 3 0 3.4 0 4C0 4.6 0.4 5 1 5",fill:"currentColor"}))}var kz=function(e,t){var n=e.className;return v.createElement("svg",{"aria-hidden":"true",className:n,fill:"currentColor",focusable:"false",ref:t,version:"1.1",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg"},v.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.971 0.7657L8.2639 0.0585938L7.55679 0.765701L0.292969 8.02952L1.70718 9.44374L7.26096 3.88995L7.26097 15.0002H9.26097L9.26096 3.88409L14.8206 9.44373L16.2348 8.02952L8.971 0.7657Z"}))},Ez=(0,v.forwardRef)(kz),xz=__webpack_require__(67294);function Sz(e){return xz.createElement(Hq,Et({height:"12",width:"16",viewBox:"0 0 16 12"},e),xz.createElement("path",{clipRule:"evenodd",d:"M9.6665 2H0.666504V0H9.6665V2ZM12.6665 6H0.666504V4H12.6665V6ZM0.666504 10H7.6665V8H0.666504V10Z",fill:"currentColor",fillRule:"evenodd"}))}var Tz=__webpack_require__(67294);function Cz(e){return Tz.createElement(Hq,Et({height:"8",width:"12",viewBox:"0 0 12 8"},e),Tz.createElement("path",{clipRule:"evenodd",d:"M6.00008 7.91406L11.7072 2.20696L10.293 0.792742L6.00007 5.08564L1.70718 0.792742L0.292969 2.20696L6.00008 7.91406Z",fill:"currentColor",fillRule:"evenodd"}))}var Az=__webpack_require__(67294);function Oz(e){return Az.createElement(Hq,Et({height:"8",width:"12",viewBox:"0 0 12 8"},e),Az.createElement("path",{clipRule:"evenodd",d:"M5.99992 0.0859375L0.292818 5.79304L1.70703 7.20726L5.99993 2.91436L10.2928 7.20726L11.707 5.79304L5.99992 0.0859375Z",fill:"currentColor",fillRule:"evenodd"}))}var Nz=__webpack_require__(67294);function Pz(e){return Nz.createElement(Hq,Et({height:"21",width:"20",viewBox:"0 0 20 21"},e),Nz.createElement("path",{d:"M9.94535 6.125C9.1938 6.125 8.52385 6.6729 8.30039 7.48015C8.17194 7.9442 7.70954 8.21104 7.26759 8.07617C6.82564 7.94129 6.5715 7.45577 6.69996 6.99172C7.11282 5.50025 8.3916 4.375 9.94535 4.375C11.8499 4.375 13.3335 6.05606 13.3335 8.05C13.3335 9.7417 12.2656 11.2082 10.7787 11.6139V12.25C10.7787 12.7332 10.4056 13.125 9.94535 13.125C9.48511 13.125 9.11201 12.7332 9.11201 12.25V10.85C9.11201 10.3668 9.48511 9.975 9.94535 9.975C10.8628 9.975 11.6668 9.14886 11.6668 8.05C11.6668 6.95114 10.8628 6.125 9.94535 6.125Z",fill:"currentColor"}),Nz.createElement("path",{d:"M10.0002 14C9.53992 14 9.16683 14.3918 9.16683 14.875C9.16683 15.3582 9.53992 15.75 10.0002 15.75H10.0085C10.4687 15.75 10.8418 15.3582 10.8418 14.875C10.8418 14.3918 10.4687 14 10.0085 14H10.0002Z",fill:"currentColor"}),Nz.createElement("path",{clipRule:"evenodd",d:"M0.833496 3.55556C0.833496 2.01519 2.09493 0.875 3.51868 0.875H16.4816C17.9054 0.875 19.1668 2.01519 19.1668 3.55556V17.4444C19.1668 18.9848 17.9054 20.125 16.4816 20.125H3.51868C2.09493 20.125 0.833496 18.9848 0.833496 17.4444V3.55556ZM3.51868 2.625C2.89693 2.625 2.50016 3.10156 2.50016 3.55556V17.4444C2.50016 17.8984 2.89693 18.375 3.51868 18.375H16.4816C17.1034 18.375 17.5002 17.8984 17.5002 17.4444V3.55556C17.5002 3.10156 17.1034 2.625 16.4816 2.625H3.51868Z",fill:"currentColor",fillRule:"evenodd"}))}var Iz=__webpack_require__(67294);function Lz(e){return Iz.createElement(Hq,Et({height:"15",width:"16",viewBox:"0 0 16 15"},e),Iz.createElement("path",{clipRule:"evenodd",d:"M2 6.51982C2 4.02359 4.02359 2 6.51982 2C9.01605 2 11.0396 4.02359 11.0396 6.51982C11.0396 9.01605 9.01605 11.0396 6.51982 11.0396C4.02359 11.0396 2 9.01605 2 6.51982ZM6.51982 0C2.91902 0 0 2.91902 0 6.51982C0 10.1206 2.91902 13.0396 6.51982 13.0396C8.06462 13.0396 9.48394 12.5024 10.6011 11.6045L13.9964 14.9998L15.4106 13.5856L11.9518 10.1268C12.6391 9.09384 13.0396 7.8536 13.0396 6.51982C13.0396 2.91902 10.1206 0 6.51982 0Z",fill:"currentColor",fillRule:"evenodd"}))}var Mz=__webpack_require__(67294);function Rz(e){return Mz.createElement(Hq,Et({height:"18",width:"18",viewBox:"0 0 18 18"},e),Mz.createElement("path",{d:"M3.1665 6.08335C3.1665 4.01229 4.84544 2.33335 6.9165 2.33335C8.98757 2.33335 10.6665 4.01229 10.6665 6.08335C10.6665 6.37941 10.6324 6.66643 10.5681 6.9411C10.4634 7.38925 10.7417 7.83748 11.1899 7.94225C11.6381 8.04702 12.0863 7.76865 12.1911 7.3205C12.2841 6.92235 12.3332 6.50805 12.3332 6.08335C12.3332 3.09181 9.90805 0.666687 6.9165 0.666687C3.92496 0.666687 1.49984 3.09181 1.49984 6.08335C1.49984 6.46923 1.54032 6.84657 1.61756 7.21105C1.679 7.50095 1.76362 7.78236 1.86938 8.05316C1.97511 8.32389 2.10191 8.5839 2.24772 8.83119C2.48148 9.22764 2.99237 9.35953 3.38882 9.12577C3.78527 8.89201 3.91716 8.38112 3.6834 7.98467C3.58248 7.81352 3.49485 7.63379 3.42186 7.44688C3.34886 7.25994 3.29045 7.0657 3.24802 6.86551C3.1947 6.61395 3.1665 6.3524 3.1665 6.08335Z",fill:"currentColor"}),Mz.createElement("path",{d:"M9.18922 9.34412L14.8186 10.2697C16.2762 10.5117 17.3332 11.6819 17.3332 13.0521V16.6037C17.3332 17.0029 16.9837 17.3264 16.553 17.3264C16.122 17.3264 15.7728 17.0029 15.7728 16.6037V13.0521C15.7728 12.3826 15.2561 11.8108 14.5446 11.6926L8.30452 10.6667H8.30233C7.90851 10.6331 7.57585 10.2773 7.57585 9.8899V6.0524C7.57585 5.88733 7.48441 5.73325 7.33119 5.64046C7.17921 5.54853 6.99291 5.53668 6.82002 5.60606C6.63747 5.68035 6.51483 5.87085 6.51483 6.08044V15.3607C6.51483 15.6856 6.30169 15.9391 5.91441 16.0741C5.40325 16.2528 4.90988 16.0261 4.70516 15.7226L3.01346 13.2999C2.93513 13.1565 2.84963 13.09 2.68954 13.0406C2.59935 13.0249 2.47889 13.0408 2.37154 13.0906C2.2798 13.1394 2.22768 13.4826 2.38902 13.9902C2.41984 14.0542 3.0442 15.4844 3.27756 16.0189C3.32536 16.1284 3.35676 16.2003 3.36328 16.2152C3.47656 16.4494 3.49404 16.6994 3.40853 16.8957C3.33551 17.0631 3.1904 17.1911 2.98912 17.2663C2.893 17.3018 2.77099 17.3334 2.63742 17.3334C2.36124 17.3334 2.03826 17.1986 1.80702 16.6867L1.75272 16.5849C1.3289 15.6773 1.03464 14.952 0.90735 14.6382L0.905151 14.6328L0.896561 14.6115C0.87092 14.548 0.854463 14.5072 0.847419 14.4926C0.45609 13.3756 0.711983 12.3355 1.49527 11.8308C1.97428 11.5452 2.55316 11.4538 3.08867 11.5781C3.63572 11.7047 4.10288 12.0476 4.40371 12.5436L4.82936 13.2293V5.99429C4.82936 5.3563 5.1692 4.74981 5.7381 4.37228C6.30855 3.99359 7.0238 3.89848 7.69942 4.11153C8.55823 4.3824 9.13554 5.15654 9.13617 6.03881L9.18922 9.34412Z",fill:"currentColor"}))}var Dz=__webpack_require__(67294);function qz(e){return Dz.createElement(Hq,Et({height:"14",width:"20",viewBox:"0 0 20 14"},e),Dz.createElement("path",{clipRule:"evenodd",d:"M19.548 2.09234C19.8255 2.23518 20 2.52116 20 2.83331V11.1666C20 11.4788 19.8255 11.7648 19.548 11.9076C19.2704 12.0505 18.9363 12.0262 18.6823 11.8448L12.849 7.67809C12.63 7.52166 12.5 7.2691 12.5 6.99998C12.5 6.73085 12.63 6.47829 12.849 6.32187L18.6823 2.1552C18.9363 1.97376 19.2704 1.9495 19.548 2.09234ZM14.7671 6.99998L18.3333 9.54732V4.45264L14.7671 6.99998Z",fill:"currentColor",fillRule:"evenodd"}),Dz.createElement("path",{clipRule:"evenodd",d:"M2.5 1.99998C2.03976 1.99998 1.66667 2.37308 1.66667 2.83331V11.1666C1.66667 11.6269 2.03976 12 2.5 12H11.6667C12.1269 12 12.5 11.6269 12.5 11.1666V2.83331C12.5 2.37308 12.1269 1.99998 11.6667 1.99998H2.5ZM0 2.83331C0 1.4526 1.11929 0.333313 2.5 0.333313H11.6667C13.0474 0.333313 14.1667 1.4526 14.1667 2.83331V11.1666C14.1667 12.5474 13.0474 13.6666 11.6667 13.6666H2.5C1.11929 13.6666 0 12.5474 0 11.1666V2.83331Z",fill:"currentColor",fillRule:"evenodd"}))}var jz=__webpack_require__(67294);function Fz(e){return jz.createElement(Hq,Et({height:"14",width:"14",viewBox:"0 0 14 14"},e),jz.createElement("path",{clipRule:"evenodd",d:"M13.4646 2.46462L11.8484 0.848376L7.00023 5.69652L2.15186 0.848143L0.535612 2.46439L5.38399 7.31276L0.534668 12.1621L2.15091 13.7783L7.00023 8.92901L11.8493 13.7781L13.4656 12.1619L8.61648 7.31276L13.4646 2.46462Z",fill:"currentColor",fillRule:"evenodd"}))}var Bz=__webpack_require__(67294),Uz=["themeId"],zz=o,Hz={classic:o,default:o,imaginative:u,organic:d},Vz=kt()((0,v.createContext)(zz),{displayName:"ThemeContext"});function Wz(e){var t,n=e.themeId,r=Ji(e,Uz);return Bz.createElement(Vz.Provider,Et({},r,{value:null!==(t=Hz[n])&&void 0!==t?t:zz}))}function Yz(e){return Bz.createElement(Bz.Fragment,null,e.children)}function Gz(){return null}function Kz(e,t,n){function r(r,i){var o,a,s=(0,v.useContext)(Vz),u=null!==(o=null==s||null===(a=s[e])||void 0===a?void 0:a[t])&&void 0!==o?o:n;return Bz.createElement(u,Et({ref:i},r,{Default:n}))}return r.displayName="ThemeComponent(".concat(t,")"),(0,v.forwardRef)(r)}function Xz(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Yz;return Kz("components",e,t)}function $z(e){return Kz("icons",e,Gz)}var Zz=__webpack_require__(67294),Qz=["children","disabled","onClick","to"],Jz=function(e,t){var n=e.children,r=e.disabled,i=e.onClick,o=e.to,a=Ji(e,Qz);return r?Zz.createElement("a",Et({"aria-disabled":"true",ref:t,role:"link"},a),n):Zz.createElement(zj,Et({onClick:i,ref:t,to:o},a),n)},eH=(0,v.forwardRef)(Jz),tH=__webpack_require__(67294),nH=$j.course.overview,rH=Xz("CoverAction",(function(e){var t=e.className,n=void 0===t?"":t,r=e.colorAccent,i=e.coverPageType,o=e.coverTextColor,a=e.firstLessonId,s=e.isPreview,u=e.nextLessonId,l=e.percentComplete,c=(e.trackingQuizId,e.themeId),d=OR("rise-auto-calc-contrast"),f=rR(768)&&YC(c,i),p=GC(c,i)||f,h=ux()?100===l:sx(),m=null!=u,g=m?u:a,y=!s&&$n,b=o===NS.DARK&&!p,_=(0,v.useMemo)((function(){return d?y?LC(o,r)&&!p:b:!EC(r)}),[d,r,o,p,b,y]),w=function(e){var t=e.isCourseComplete,n=e.percentCourseComplete,r=$L(),i=r.courseDetails,o=r.courseResume,a=r.courseStart,s=r.processStartAgain;return{courseCTALabel:t?s:n>0?o:a,courseDetailsLabel:i}}({isCourseComplete:h,percentCourseComplete:l}),k=w.courseCTALabel,E=GA()(n,"cover__header-content-action-link","overview__button-enrolled",{"cover__header-content-action-link--dark":b,"cover__header-content-action-link--light":!_,"overview__start-again":y,"overview__start-again--btn-dark":y&&_,"overview__start-again--btn-light":y&&!_,"overview__button-enrolled--text-dark":_,"overview__button-enrolled--btn-dark":b,"overview__button-enrolled--btn-light":!_}),x=GA()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--text-light":!_,"cover__header-content-action-link-text--text-dark":_}),S=(0,v.useMemo)((function(){return(0,v.forwardRef)((function(e,t){return tH.createElement(eH,Et({ref:t},e))}))}),[]);return k?tH.createElement("div",{className:"cover__header-content-action-wrapper"},tH.createElement(MR,{background:!0,className:E,disabled:p||y,"data-ba":nH.actionButton,tag:S,to:pL(g)},tH.createElement("span",{className:x,"data-ba":nH.startButton},k))):null}));var iH=nn((function(){var e=EL();return function(t){var n,r,i=hI(t),o=Wn()(["theme","colorAccent"],i),a=IL(t),s=GL(t),u=tL(t),l=gI(t)||{},c=Wn()(["media","image","key"],l),d=e(t);return{colorAccent:o,coverImageKey:c,coverTextColor:null===(n=i.theme)||void 0===n?void 0:n.coverTextColor,coverPageType:null===(r=i.theme)||void 0===r?void 0:r.coverPageType,favoritedAt:i.favoritedAt,firstLessonId:null==a?void 0:a.id,isOnePage:i.type===Fb,isPreview:null==s?void 0:s.isPreview,navigation:i.navigation,nextLessonId:d,percentComplete:u,themeId:i.themeId}}}))(rH),oH=__webpack_require__(68434),aH="".concat(Xn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/certificate-icon.svg"),sH="".concat(Xn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/error_x.svg"),uH="".concat(Xn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/loading_spinner.svg"),lH="downloading",cH="error",dH="ok",fH="contained",pH=function(e){var t=e.type,n=Dr((0,v.useState)((function(){return VO()("certdownload-")})),1)[0],r=Dr((0,v.useState)(dH),2),i=r[0],o=r[1],a=(0,oH.Z)(i),s=(0,v.useRef)(),u="".concat(n,"-live"),l=GA()("certificateDownload",{certificateDownloadContained:t===fH}),c=(0,v.useCallback)((function(){o(lH)}),[]);return(0,v.useEffect)((function(){return i===lH&&a!==lH&&function(){if(Ix("downloadCertificate"))return Px.downloadCertificate.apply(Px,arguments)}().then((function(){o(dH)})).catch((function(e){(0,Vb.isCancel)(e)?o(dH):o(cH)})),function(){!function(){if(Ix("downloadCertificateCancel"))Px.downloadCertificateCancel.apply(Px,arguments)}()}}),[a,i]),(0,v.useEffect)((function(){s.current&&(i===cH&&a!==cH||i===dH&&(a===cH||a===lH))&&s.current.focus()}),[a,i]),v.createElement("div",{className:l},v.createElement("div",{"aria-live":"polite",id:u,role:"status"},i===lH&&v.createElement("span",{className:"certificateDownload__downloading"},v.createElement("img",{alt:"",className:"animation-loading certificateDownload__downloadingImg",height:"15",src:uH,width:"15"}),"Downloading..."),i===cH&&v.createElement("span",{className:"certificateDownload__error"},v.createElement("img",{alt:"Error",className:"certificateDownload__errorImg",height:"15",src:sH,width:"15"}),v.createElement("span",{className:"visually-hidden"},"Failed to download certificate"))),(i===dH||i===cH)&&v.createElement("button",{"aria-controls":u,className:"certificateDownload__btn",onClick:c,ref:s,type:"button"},i===dH&&t===fH&&v.createElement("img",{alt:"",className:"certificateDownload__okImg",height:"15",src:aH,width:"15"}),i===dH?"Download certificate":"Retry download"))},hH=function(){return v.createElement(pH,{type:fH})},mH=(0,v.memo)(pH),vH=wa()(vo()({}),Qk()(["first_name","last_name"]),KN()(" "),PM()),gH=["className","decorative","size"],yH=function(e){var t=e.className,n=e.decorative,r=e.size,i=Ji(e,gH),o=Wn()(["avatars","medium"],i),a=n?"":vH(i)||"Unknown User";return o?v.createElement("img",{alt:a,className:t||"user-avatar",src:o,style:{height:r,width:r}}):v.createElement(YO,{decorative:n,height:r,title:a,width:r})},bH=__webpack_require__(67294),_H="".concat(JE("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),wH=yM("cover");var kH=yM("cover");var EH=Xz("CoverDueDate",(function(e){var t=e.className,n=void 0===t?"":t,r=e.dueAt,i=(0,v.useRef)(),o=OR("rise-auto-calc-contrast"),a=sM(),s=a.color,u=a.isLegacyCourse,l=a.theme,c=(null!=l?l:{}).coverTextColor,d=rn((function(e){return aL(e)})),f=oL(),p=null==f||f.quizPassed||f.outOfAttempts,h=(0,v.useMemo)((function(){return o?c===NS.DARK:!EC(s)&&!u}),[o,s,c,u]),m=dR(r),g=kH("due-date",{"urgent-text-dark":m&&h,urgent:m&&!h}).mix(n);return!r||d&&p?null:v.createElement(MR,{className:g,ref:i,style:m&&o?{backgroundColor:s}:null,tag:"div"},cR(r))}));var xH=nn((function(e){return{dueAt:hI(e).dueAt}})),SH=xH(EH),TH=(yM("cover"),Xz("CoverProgress",(function(e){e.nextLesson,e.percentComplete,(0,v.useRef)();var t=sM(),n=t.color,r=t.isLegacyCourse,i=t.theme,o=t.themeId,a=null!=i?i:{},s=a.coverPageType,u=a.coverTextColor,l=OR("rise-auto-calc-contrast"),c=rR(768)&&YC(o,s),d=GC(o,s)||c;(0,v.useMemo)((function(){return l?LC(u,n)&&!d:!EC(n)&&!r&&!d}),[l,n,u,d,r]);return null}))),CH=nn((function(){var e=xL();return function(t){return{nextLesson:e(t),percentComplete:tL(t)}}})),AH=CH(TH),OH=__webpack_require__(67294),NH=yM("cover");function PH(){var e,t=sM().trackingCompletionPercentage,n=vM(),r=nL(),i=Math.ceil(t/100*n);if(null==t||null==i)return null;var o=r>=t,a=o?HU:VU;return OH.createElement("li",{className:NH("lesson-requirement"),role:"listitem"},OH.createElement(a,{className:NH("lesson-requirement-icon",{complete:o}).toString()}),OH.createElement("span",{className:NH("lesson-requirement-text")},"Complete",i===n?" all ":St()(e=" ".concat(i," of ")).call(e,n," "),"lessons in this course"))}var IH={passed:GU,failed:YU,requirement:KU};function LH(){var e,t=rn((function(e){return rL(e)})),n=oL(),r=null==t?void 0:t.title,i=null==t||null===(e=t.settings)||void 0===e?void 0:e.passingScore;if(!r||!n)return null;var o=n.outOfAttempts,a=n.quizPassed,s=!a&&o,u="requirement";a?u="passed":s&&(u="failed");var l=IH[u];return OH.createElement("li",{className:NH("quiz-requirement"),role:"listitem"},OH.createElement(l,{className:NH("quiz-requirement-icon",{type:u}).toString()}),OH.createElement("span",{className:NH("quiz-requirement-text")},r,null!=i&&OH.createElement(OH.Fragment,null,OH.createElement("span",{"aria-hidden":"true",className:NH("quiz-requirement-seperator")}," | "),"Score of ",i,"% or higher"),s&&OH.createElement("div",{className:NH("quiz-requirement-no-attempts")},"No attempts remaining")))}var MH=function(e){return e.displayName||e.name||"Component"},RH=__webpack_require__(3522),DH=__webpack_require__.n(RH),qH=__webpack_require__(53735),jH=__webpack_require__.n(qH),FH=function(e,t){return v.createElement("mark",{key:t},e)},BH=ss()((function(e,t){return jH()(new RegExp(DH()(t),"igm"),FH,e)})),UH=(Nl()((function(e,t){return t.reduce((function(t,n){return t+n[e]}),0)})),__webpack_require__(56169)),zH=__webpack_require__.n(UH),HH=__webpack_require__(46164),VH=__webpack_require__.n(HH),WH=__webpack_require__(53485),YH=__webpack_require__.n(WH),GH=__webpack_require__(99062),KH=__webpack_require__.n(GH),XH=__webpack_require__(27632),$H=__webpack_require__.n(XH),ZH=__webpack_require__(99325),QH=__webpack_require__.n(ZH),JH=__webpack_require__(72956),eV=__webpack_require__.n(JH),tV=QH()(KH()),nV=La()(KH(),(function(){return{}})),rV=QH()(YH()),iV=VH()(zH()(rV),zH()($H())),oV=(eV()(iV),ss()((function(e,t,n){return n>=e&&n<t})),function(e){return e<10?"0".concat(e):String(e)}),aV=function(e){return Intl.NumberFormat(void 0,{style:"percent",maximumFractionDigits:2}).format(e)},sV="focus-lesson-content",uV="preview-show-nav-prev",lV="preview-show-nav-next",cV="preview-nav-open",dV="preview-nav-close",fV="event-lesson-transition-start",pV="event-lesson-transition-end",hV="event-lesson-nav-prev-visible",mV="event-lesson-nav-prev-hidden",vV="event-lesson-nav-next-visible",gV="event-lesson-nav-next-hidden",yV=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}()}(),bV="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,_V=void 0!==__webpack_require__.g&&__webpack_require__.g.Math===Math?__webpack_require__.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),wV="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(_V):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var kV=["top","right","bottom","left","width","height","size","weight"],EV="undefined"!=typeof MutationObserver,xV=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&&s()}function a(){wV(o)}function s(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);i=e}return s}(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(){bV&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),EV?(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(){bV&&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,r=kV.some((function(e){return!!~n.indexOf(e)}));r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),SV=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},TV=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||_V},CV=LV(0,0,0,0);function AV(e){return parseFloat(e)||0}function OV(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+AV(e["border-"+n+"-width"])}),0)}function NV(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return CV;var r=TV(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]=AV(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=AV(r.width),u=AV(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=OV(r,"left","right")+o),Math.round(u+a)!==n&&(u-=OV(r,"top","bottom")+a)),!function(e){return e===TV(e).document.documentElement}(e)){var l=Math.round(s+o)-t,c=Math.round(u+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(c)&&(u-=c)}return LV(i.left,i.top,s,u)}var PV="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof TV(e).SVGGraphicsElement}:function(e){return e instanceof TV(e).SVGElement&&"function"==typeof e.getBBox};function IV(e){return bV?PV(e)?function(e){var t=e.getBBox();return LV(0,0,t.width,t.height)}(e):NV(e):CV}function LV(e,t,n,r){return{x:e,y:t,width:n,height:r}}var MV=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=LV(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=IV(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}(),RV=function(e,t){var n=function(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 SV(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);SV(this,{target:e,contentRect:n})},DV=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new yV,"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 TV(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new MV(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 TV(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 RV(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}(),qV="undefined"!=typeof WeakMap?new WeakMap:new yV,jV=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=xV.getInstance(),r=new DV(t,n,this);qV.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){jV.prototype[e]=function(){var t;return(t=qV.get(this))[e].apply(t,arguments)}}));var FV=void 0!==_V.ResizeObserver?_V.ResizeObserver:jV;function BV(e,t){var n=void 0!==ot()&&Ar()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return UV(e,t);var r=Nr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Ir()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return UV(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function UV(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 zV=new(JS()),HV=new FV((function(e){var t,n=BV(e);try{for(n.s();!(t=n.n()).done;){var r,i=t.value;null===(r=zV.get(i.target))||void 0===r||r(i)}}catch(e){n.e(e)}finally{n.f()}}));function VV(e,t){(0,v.useEffect)((function(){if(e)return zV.set(e,t),function(){return zV.delete(e)}}),[e,t]),(0,v.useEffect)((function(){if(e)return HV.observe(e),function(){return HV.unobserve(e)}}),[e])}var WV=__webpack_require__(67294);function YV(){var e=Xe(),t=Dr((0,v.useState)(null),2),n=t[0],r=t[1],i=$L(),o=(0,v.useCallback)((function(t){e(iI({offsetHeight:t.target.offsetHeight}))}),[e]);return(0,v.useLayoutEffect)((function(){if(n)return e(iI({offsetHeight:n.offsetHeight})),function(){return e(iI(null))}}),[e,n]),VV(n,o),WV.createElement("button",{className:"visually-hidden btn-skip-to-lesson brand--ui",onClick:GV,ref:r,type:"button"},WV.createElement("span",{className:"btn-skip-to-lesson__wrap"},null==i?void 0:i.courseSkipToLesson,WV.createElement("span",{"aria-hidden":"true"},WV.createElement($A,{className:"btn-skip-to-lesson__icon"}))))}function GV(){document.dispatchEvent(new CustomEvent(sV))}var KV=__webpack_require__(29898),XV=__webpack_require__.n(KV),$V=__webpack_require__(54366),ZV=__webpack_require__.n($V),QV={keys:["End"],keyCode:ZV().KEY_END},JV={keys:["Enter"],keyCode:ZV().KEY_RETURN},eW={keys:["Home"],keyCode:ZV().KEY_HOME},tW={keys:["Tab"],keyCode:ZV().KEY_TAB},nW={keys:[" "],keyCode:ZV().KEY_SPACE},rW={keys:["Escape","Esc"],keyCode:ZV().KEY_ESCAPE},iW={keys:["ArrowUp"],keyCode:ZV().KEY_UP},oW={keys:["ArrowDown"],keyCode:ZV().KEY_DOWN},aW={keys:["ArrowLeft"],keyCode:ZV().KEY_LEFT},sW={keys:["ArrowRight"],keyCode:ZV().KEY_RIGHT},uW=function(e){var t=e.keyCode,n=XV()(e);return function(e){return e.keyCode?e.keyCode===t:Un()(e.key,n)}},lW=function(e){return e.altKey||e.ctrlKey||e.metaKey},cW=uW(QV),dW=uW(JV),fW=uW(eW),pW=uW(tW),hW=uW(nW),mW=uW(rW),vW=uW(iW),gW=uW(oW),yW=uW(aW),bW=uW(sW),_W=Xo()(gW,bW),wW=Xo()(hW,dW),kW=(Xo()(pW,dW),Xo()(bW,vW)),EW=Xo()(yW,gW),xW=Xo()(vW,gW),SW=Xo()(vW,yW),TW=La()(wW),CW=ss()((function(e,t){0!==e.scrollTop&&(t.preventDefault(),e.scrollTop-=25)})),AW=ss()((function(e,t,n){t&&(n.preventDefault(),e.scrollTop+=25)})),OW=__webpack_require__(67294),NW=(0,v.createContext)(!1);function PW(e){var t=e.children,n=e.inert,r=IW();return OW.createElement(NW.Provider,{value:r||n},t)}NW.Consumer;function IW(){return(0,v.useContext)(NW)}var LW=__webpack_require__(67294),MW=$j.course.lesson,RW=(0,v.forwardRef)((function(e,t){var n=e.children,r=e.className,i=e.dark,o=e.visible,a=(0,v.useMemo)((function(){return yM(r)}),[r]),s=LW.createElement("div",{"aria-hidden":"true",ref:t,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:xB()}},LW.createElement("div",{style:{pointerEvents:"all"}},LW.createElement("div",{className:a({visible:o})},LW.createElement("div",{className:a("inner",{dark:i,light:!i})},n))));return(0,g.createPortal)(s,document.getElementById("portal"))}));function DW(e){var t,n,r=e.children,i=e.className,o=e.dark,a=e.restriction,s=e.tooltipClassName,u=e.style,l=(0,v.useRef)(),c=(0,v.useRef)(),d=$L(),f=IW(),p=Dr((0,v.useState)(!1),2),h=p[0],m=p[1],g=(0,v.useCallback)((function(){return m(!0)}),[]),y=(0,v.useCallback)((function(){return m(!1)}),[]),b=(0,v.useCallback)((function(){setTimeout(g,0)}),[g]),_=(0,v.useCallback)((function(e){mW(e)&&h&&(e.stopPropagation(),y())}),[y,h]),w=(0,v.useCallback)((function(){document.activeElement===l.current&&g()}),[g]),k=(0,v.useCallback)((function(){if(h){var e,t=l.current.getBoundingClientRect(),n=c.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;kt()(c.current.style,{transform:St()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}}),[h]);((0,v.useEffect)((function(){f&&m(!1)}),[f]),(0,v.useLayoutEffect)((function(){return k()}),[k]),fq("resize",k,window),TB(l,y),a.type===fL.QUIZ)?t=St()(n="".concat(d.quizRequirePassingScore,': "')).call(n,a.data,'"'):a.type===fL.ORDER&&(t=d.lessonRestricted);return LW.createElement(LW.Fragment,null,LW.createElement("div",{"aria-disabled":!0,className:i,onBlur:y,onFocus:b,onKeyDown:_,onMouseEnter:w,onMouseLeave:y,ref:l,role:"link",tabIndex:f?-1:0,style:u},r,LW.createElement("div",{className:"visually-hidden-always"},null==d?void 0:d.a11yRestrictedNav),LW.createElement("div",{className:"visually-hidden-always"},t)),LW.createElement(RW,{className:s,dark:o,ref:c,visible:h},t))}function qW(e){var t=e.b,n=e.children,r=e["data-direction"],i=e.isCurrentLesson,o=e.isTooltipEnabled,a=e.lessonId,s=e.onClick,u=e.onFocus,l=e.onHideProgressTooltip,c=e.onNavigate,d=e.onShowProgressTooltip,f=e.restriction,p=e.showProgressDelay,h=e.style,m=IW(),g=(0,v.useCallback)((function(e){s(e),i?(e.preventDefault(),GV()):c(a)}),[a,i,s,c]),y=Dr((0,v.useState)(!1),2),b=y[0],_=y[1],w=(0,v.useCallback)((function(e){!b&&o&&(null!=p?setTimeout(d,p):d()),null==u||u(e)}),[b,u,p,d,o]),k=(0,v.useCallback)((function(e){o&&mW(e)&&l()}),[l,o]),E=(0,v.useCallback)((function(){o&&_(!0)}),[o]),x=(0,v.useCallback)((function(){o&&_(!1)}),[o]),S=null!=(null==f?void 0:f.type),T=t("link",{active:i,restricted:S}).toString();return S?LW.createElement(DW,Et({},e,{className:T,style:h})):LW.createElement(Wj,{"aria-current":"page",className:T.toString(),"data-link":"lesson-link-item",onBlur:o?l:void 0,onClick:g,"data-ba":MW.nextLessonLink,"data-direction":r,onFocus:w,onKeyDown:k,onMouseDown:E,onMouseUp:x,style:h,tabIndex:m?-1:void 0,to:pL(a)},n)}function jW(e){var t,n=e.className,r=e.isCurrentLesson,i=e.last,o=e.lessonId,a=e.style,s=(0,v.useMemo)((function(){return yM(n)}),[n]),u=kL(o),l=null!=(null==u?void 0:u.type),c=(null!==(t=lL(o))&&void 0!==t?t:{}).isComplete,d=s({active:r,complete:void 0!==c&&c,last:i,restricted:l});return LW.createElement("div",{className:d},LW.createElement(qW,Et({},e,{b:s,isCurrentLesson:r,restriction:u,style:a})))}RW.defaultProps={className:"lesson-link-item-tooltip"},qW.defaultProps={onClick:Function.prototype,onNavigate:Function.prototype},jW.defaultProps={className:"lesson-link-item"};var FW=__webpack_require__(67294),BW=yM("lesson-nav"),UW=function(e){var t=e.buttonTextColor,n=e.children,r=e.finish,i=e.isFullAccentBtn,o=e.lessonId,a=e.onFocus,s=e.style,u=(0,v.useRef)(),l=(0,v.useRef)(),c=rR(480),d=t===NS.AUTO,f=d&&c&&i,p=!i||i&&!d;if(o)return FW.createElement(jW,Et({className:"lesson-nav-link",onFocus:a,tooltipClassName:"lesson-nav-link-tooltip",style:s},e));var h=r?"/lessons/progress-summary":"/";return FW.createElement(BD,{className:"lesson-nav-link",disabled:!f,ref:l,rule:"borderColor",tag:"span"},FW.createElement(BD,{className:"lesson-nav-link__link","data-direction":e["data-direction"],disabled:p,onFocus:a,ref:u,style:s,tag:zj,to:h},n))};var zW=pe()(nn((function(e){var t,n=hI(e),r=XL(e);return{buttonScheme:n.buttonScheme,buttonTextColor:null===(t=n.theme)||void 0===t?void 0:t.buttonTextColor,color:n.color,isLegacyCourse:n.isLegacyCourse,labelLessonRestricted:r.lessonRestricted,labelQuizRequirePassingScore:r.quizRequirePassingScore}}),null,null,{forwardRef:!0}),v.forwardRef),HW=zW((function(e,t){var n,r,i=e.buttonScheme,o=e.buttonTextColor,a=e.children,s=e.className,u=e.color,l=e.direction,c=e.finish,d=e.isLegacyCourse,f=e.linkStyles,p=e.navLessonId,h=e.onFocus,m=e.restrictionType,g=e.wrapStyles,y=OR("rise-auto-calc-contrast"),b=null!=m,_=HD(),w=i===xS.ACCENT,k=(0,v.useMemo)((function(){return y?o===NS.DARK||null==o&&!EC(u):w&&!EC(u)&&!d}),[y,o,u,w,d]),E=(0,v.useMemo)((function(){return y?o===NS.LIGHT||null==o&&EC(u):w&&EC(u)}),[y,o,u,w]),x=BW(null,(n={},qr(n,l,!0),qr(n,"accent",i===xS.ACCENT),qr(n,"dark",i===xS.DARK),qr(n,"text-dark",w&&k),qr(n,"text-light",w&&E),qr(n,"floating",_===SS.FLOATING),qr(n,"floating-full",_===SS.FLOATING_FULL),qr(n,"finish",c),qr(n,"full",_===SS.FULL),qr(n,"light",i===xS.LIGHT),qr(n,"restricted",b),qr(n,"tint",i===xS.TINT),n)).mix(s),S=(qr(r={className:x},"data-".concat(l,"-lesson"),!0),qr(r,"style",g),r);return FW.createElement("div",Et({ref:t},S),FW.createElement(UW,{buttonTextColor:o,"data-direction":l,isFullAccentBtn:w,lessonId:p,onFocus:h,finish:c,style:f},a))})),VW=__webpack_require__(67294),WW={CoverAction:iH,CoverCompletedInformation:function(){var e,t=mI(),n=t.certificateDownload,r=t.riseComCurrentUser,i=VL(),o=oL(),a=null===(e=null==o?void 0:o.quizPassed)||void 0===e||e;return i&&a&&!ux()&&"preview"!==window.viewType?bH.createElement("div",{className:wH("completed-info")},bH.createElement("div",{className:wH("completed-info-avatar")},bH.createElement(yH,Et({},r,{decorative:!0})),bH.createElement("img",{className:wH("completed-info-trophy"),src:_H,alt:""})),bH.createElement("div",{className:wH("completed-info-label")},bH.createElement("span",{"aria-hidden":"true"},"Completed"),bH.createElement("span",{className:"visually-hidden"},"Course Completed")),n&&bH.createElement(mH,null)):null},CoverDueDate:SH,CoverProgress:AH,CoverRequirements:function(){var e=sM(),t=e.trackingCompletionPercentage,n=e.trackingQuizId;return null==t&&!n?null:OH.createElement("section",{className:NH("requirements-section")},OH.createElement("h2",{className:NH("requirements-title")},"Course Requirements"),OH.createElement("ul",{className:NH("requirements-list")},OH.createElement(PH,null),OH.createElement(LH,null)))},LessonNav:HW};function YW(e){var t=e.children;return VW.createElement(bR,WW,t)}var GW=__webpack_require__(99376),KW=function(e,t,n){var r=(0,v.useRef)(void 0);r.current&&n(t,r.current)||(r.current=t),(0,v.useEffect)(e,r.current)},XW=function(e,t){return e.every((function(e,n){return(0,GW.D)(e,t[n])}))},$W=function(e,t){KW(e,t,XW)},ZW=__webpack_require__(67294),QW={};function JW(e){var t=e.children,n=Xe(),r=AR();return $W((function(){n(YN(r))}),[r]),t}function eY(e){var t,n=e.children,r=mI(),i=null!==(t=null==r?void 0:r.features)&&void 0!==t?t:QW;return ZW.createElement(CR,{value:i},ZW.createElement(JW,null,n))}var tY=__webpack_require__(57209),nY=__webpack_require__(71570),rY=__webpack_require__(49611),iY=__webpack_require__.n(rY),oY=__webpack_require__(31425),aY=__webpack_require__.n(oY);function sY(e){return null!=e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function uY(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function lY(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return uY(n.overflowY,t)||uY(n.overflowX,t)}return!1}function cY(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<e&&s<n||a>t&&s>n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}var dY=function(e,t){var n=t.scrollMode,r=t.block,i=t.inline,o=t.boundary,a=t.skipOverflowHiddenElements,s="function"==typeof o?o:function(e){return e!==o};if(!sY(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,l=[],c=e;sY(c)&&s(c);){if((c=c.parentNode||c.host)===u){l.push(c);break}c===document.body&&lY(c)&&!lY(document.documentElement)||lY(c,a)&&l.push(c)}for(var d=window.visualViewport?visualViewport.width:innerWidth,f=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,h=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),v=m.height,g=m.width,y=m.top,b=m.right,_=m.bottom,w=m.left,k="start"===r||"nearest"===r?y:"end"===r?_:y+v/2,E="center"===i?w+g/2:"end"===i?b:w,x=[],S=0;S<l.length;S++){var T=l[S],C=T.getBoundingClientRect(),A=C.height,O=C.width,N=C.top,P=C.right,I=C.bottom,L=C.left;if("if-needed"===n&&y>=0&&w>=0&&_<=f&&b<=d&&y>=N&&_<=I&&w>=L&&b<=P)return x;var M=getComputedStyle(T),R=parseInt(M.borderLeftWidth,10),D=parseInt(M.borderTopWidth,10),q=parseInt(M.borderRightWidth,10),j=parseInt(M.borderBottomWidth,10),F=0,B=0,U="offsetWidth"in T?T.offsetWidth-T.clientWidth-R-q:0,z="offsetHeight"in T?T.offsetHeight-T.clientHeight-D-j:0;if(u===T)F="start"===r?k:"end"===r?k-f:"nearest"===r?cY(h,h+f,f,D,j,h+k,h+k+v,v):k-f/2,B="start"===i?E:"center"===i?E-d/2:"end"===i?E-d:cY(p,p+d,d,R,q,p+E,p+E+g,g),F=Math.max(0,F+h),B=Math.max(0,B+p);else{F="start"===r?k-N-D:"end"===r?k-I+j+z:"nearest"===r?cY(N,I,A,D,j+z,k,k+v,v):k-(N+A/2)+z/2,B="start"===i?E-L-R:"center"===i?E-(L+O/2)+U/2:"end"===i?E-P+q+U:cY(L,P,O,R,q+U,E,E+g,g);var H=T.scrollLeft,V=T.scrollTop;k+=V-(F=Math.max(0,Math.min(V+F,T.scrollHeight-A+z))),E+=H-(B=Math.max(0,Math.min(H+B,T.scrollWidth-O+U)))}x.push({el:T,top:F,left:B})}return x};function fY(e){return e===Object(e)&&0!==Object.keys(e).length}var pY=function(e,t){if(fY(t)&&"function"==typeof t.behavior)return t.behavior(dY(e,t));var n=function(e){return!1===e?{block:"end",inline:"nearest"}:fY(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,i=e.top,o=e.left;r.scroll&&n?r.scroll({top:i,left:o,behavior:t}):(r.scrollTop=i,r.scrollLeft=o)}))}(dY(e,n),n.behavior)},hY=__webpack_require__(14935),mY=__webpack_require__.n(hY),vY=Pa()(Hx()(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i),Zr()("#FFF")),gY=pi()({color:vY}),yY=pe()((function(e){var t,n=e.bodyTypeface,r=e.color,i=e.headingTypeface,o=e.uiTypeface;return v.createElement("div",{dangerouslySetInnerHTML:{__html:mY()({bodyTypeface:n,color:r,colorTransparent:r+"1A",colorTint:CC(r),colorRGB:null===(t=oS(r))||void 0===t?void 0:Nr()(t).call(t,0,3),headingTypeface:i,uiTypeface:o})}})}),gY);yY.displayName="Branding",yY.propTypes={bodyTypeface:w().string,color:w().string.isRequired,headingTypeface:w().string,uiTypeface:w().string};var bY=(0,v.memo)(yY),_Y=__webpack_require__(67294);function wY(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var kY="riseUnsupportedBrowser",EY={authoring:/Android|webOS|iPhone|iPad|iPod|BlackBerry|MSIE|Trident/,runtime:/MSIE/},xY=function(e){gt(n,e);var t=wY(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){return function(e){return new RegExp(EY[e],"i").test(window.navigator.userAgent)}(this.props.env)&&!window.sessionStorage.getItem(kY)?this.renderUnsupported():this.props.children}},{key:"renderUnsupported",value:function(){return _Y.createElement("div",null,this.props.children,_Y.createElement("div",{className:"browser-support"},_Y.createElement("div",{className:"browser-support__inner"},_Y.createElement("p",{className:"browser-support__text browser-support__text--full"},"You’re using an unsupported browser. For better results, use a modern browser. "),_Y.createElement("p",{className:"browser-support__text browser-support__text--mobile"},"Unsupported browser"),_Y.createElement("a",{href:"https://articulate.com/support/article/System-Requirements-for-Rise",rel:"noopener noreferrer",target:"_blank",className:"browser-support__link"},_Y.createElement("span",null,"Learn more"),_Y.createElement("i",{className:"icon icon-chevron-right"})),_Y.createElement("div",{className:"browser-support__dismiss",onClick:this.handleDismiss.bind(this)},_Y.createElement("span",{className:"browser-support__dismiss-icon"},"×")))))}},{key:"handleDismiss",value:function(){window.sessionStorage.setItem(kY,"true"),this.forceUpdate()}}]),n}(_Y.Component),SY=__webpack_require__(67294);var TY=__webpack_require__(67294);function CY(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var AY=function(e){gt(n,e);var t=CY(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={failAttempt:!1,shouldShake:!1},r}return dt(n,[{key:"componentDidMount",value:function(){this.dialog.addEventListener("animationend",this.handleRemoveAnimationEnd.bind(this))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.failAttempt,n=this.state.shouldShake;this.setState({failAttempt:t&&n})}},{key:"componentWillUnmount",value:function(){this.dialog.removeEventListener("animationend",this.handleRemoveAnimationEnd.bind(this))}},{key:"handleRemoveAnimationEnd",value:function(){this.setState({failAttempt:!1,shouldShake:!1})}},{key:"onSubmitPassword",value:function(e){var t=this;e.preventDefault();var n=this.props.onSubmit;this.setState({shouldShake:!0},(function(){n(t.refs.password)}))}},{key:"render",value:function(){var e=this,t=this.props.isOnePage,n=this.state.failAttempt,r=GA()("brand--border","share-password-dialog",{"fail-password":n}),i=t?"You need a password to view this microlearning. If you don’t know it, ask the person who shared this with you.":"You need a password to view this course. If you don’t know it, ask the person who shared this with you.";return TY.createElement("div",{className:r,ref:function(t){e.dialog=t}},TY.createElement("h1",{className:"heading"},"Enter Password"),TY.createElement("p",{className:"instructions"},i),TY.createElement("form",{onSubmit:this.onSubmitPassword.bind(this)},TY.createElement("label",{htmlFor:"share-password",className:"label"},"password"),TY.createElement("input",{id:"share-password",ref:"password",type:"password",className:"input"}),TY.createElement("div",{className:"dialog__toolbar"},TY.createElement("input",{type:"submit",className:"button brand--background",value:"View"}))))}}]),n}(TY.Component),OY=nn((function(e){return{isOnePage:_I(e)}}))(AY),NY=function(e){return function(){return document.querySelector(e)}},PY=function(e){return Nr()(Array.prototype).call(e)},IY="group",LY=function(e){var t=e.caption,n=e.editable,r=e.id,i=!e.isOverlayType&&!n&&t;return{figcaptionId:i?"figcaption-".concat(r):void 0,isFigure:i,role:i?"figure":void 0,tagName:i?"figure":"div"}},MY=":focus{outline: none}",RY=":focus:not(:focus-visible){outline: none}",DY="focus-ring-style",qY=function(){return document.getElementById(DY)||jY()},jY=function(){var e=document.createElement("style");return e.id=DY,document.head.appendChild(e),e},FY=-1,BY=function(e){var t=e.target,n=qY();(pW(e)||wW(e)&&!t.classList.contains("ignore-prefers"))&&(n.innerHTML="",lI(VP(!0)))},UY=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.focusVisible;return qY().innerHTML=t?RY:MY},zY=function(e){return e?0:FY},HY=function(e,t){var n=0!==t;(e||{}).tabIndex=t,function(e){var t=e.element,n=e.isHidden;t&&t.setAttribute("aria-hidden",n)}({element:e,isHidden:n})},VY=function(e){var t=e.element,n=e.selector,r=e.tabIndex;PY(t.querySelectorAll(n)).forEach((function(e){HY(e,r)}))},WY=function(e){PY(e.getElementsByTagName("*")).forEach((function(e){HY(e,FY)}))},YY=function(e){return function(t){var n,r,i=t.querySelectorAll('[tabindex = "0"]');return!!i.length&&(n=Zr()(e),r=i,ti()(n,SE(),Bl())(r).focus(),!0)}},GY=YY(!0),KY=(YY(!1),function(e){var t=e.list,n=e.index;n>=0&&n<oa()(t)&&t[n].focus()}),XY=function(e){var t=e.list,n=e.currentIndex,r=Hs()(n||0),i=r<oa()(t)?r:0;return KY({list:t,index:i}),i},$Y=function(e){var t=e.list,n=e.currentIndex,r=xI()(n||oa()(t));return KY({list:t,index:r}),r},ZY=function(e){return rr()?e:function(e){var t;return e?St()(t="".concat(e," | ")).call(t,Qn):Qn}(e)},QY=__webpack_require__(67294),JY=kt()((0,v.createContext)(),{displayName:"BlockContext"});function eG(e){var t=e.block,n=e.children,r=Dr((0,v.useState)(t),2),i=r[0],o=r[1];return(0,v.useEffect)((function(){return o((function(e){return t||e}))}),[t]),QY.createElement(JY.Provider,{value:i},QY.createElement(wG,null==i?void 0:i.settings,n))}JY.Consumer;function tG(){return(0,v.useContext)(JY)}var nG=(0,Pw.curryN)(1,(0,Pw.either)(Pw.isNil,Pw.isEmpty));function rG(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function iG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rG(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):rG(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var oG=Ib()({WHITE:null,TRANSPARENT:null}),aG={accentColor:null,backgroundColor:"",backgroundType:hS.LIGHT,cardMode:oG.WHITE,entranceAnimation:!0,paddingBottom:3,paddingTop:3};var sG={360:{storyline:"#fafafa"},impact:{c:"#ececec",d:"#f5f5f5"},"interactive-fullscreen":{timeline:"#f5f5f5"},quote:{d:"#f5f5f5"}};function uG(e,t){var n,r=null===(n=sG[e])||void 0===n?void 0:n[t];return null==r?{}:{backgroundColor:r,backgroundType:hS.COLOR}}var lG={multimedia:{embed:function(e){return{cardMode:!1===e.showBorder?oG.TRANSPARENT:oG.WHITE}}}};function cG(e,t,n,r){return e?function(e,t,n){var r,i,o=uG(e,t);if(null==n.v||n.v<2){var a;"#ffffff"===(null===(a=(n=dG(n)).backgroundColor)||void 0===a?void 0:a.toLowerCase())&&0===vr()(o).length&&(n=Wo()("backgroundColor",n))}var s=null===(r=lG[e])||void 0===r||null===(i=r[t])||void 0===i?void 0:i.call(r,n),u=n.backgroundColor&&null==n.backgroundType?{backgroundType:hS.COLOR}:{};return[aG,o,s,n,u,{v:2}].reduce((function(e,t){return null==t?e:iG(iG({},e),l_()(nG,t))}))}(t,n,r):function(e,t,n){var r=dG(n);r.backgroundColor||(r=Ro()("backgroundColor",uG(e,t).backgroundColor,r));return r}(t,n,r)}function dG(e){return iG(iG({},e),{},{backgroundType:null,cardMode:null,v:1})}var fG=__webpack_require__(67294),pG=["children"];function hG(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function mG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hG(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):hG(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var vG=kt()((0,v.createContext)({}),{displayName:"BlockSettingsContext"});function gG(){return(0,v.useContext)(vG)}function yG(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"settings";return function(t){function n(n,r){var i=gG(),o=mG(mG({},n),{},qr({},e,i));return fG.createElement(t,Et({ref:r},o))}return n.displayName="withBlockSettings(".concat(t.displayName||t.name,")"),(0,v.forwardRef)(n)}}function bG(){var e=OR("rise-auto-calc-contrast"),t=gG();return null==t?null:e?function(e){switch(e.backgroundType){case hS.COLOR:return e.backgroundColor;case hS.ACCENT:return e.courseColor;case hS.TINT:return CC(e.courseColor);case hS.LIGHT:return"#ffffff";case hS.GRAY:return"#fafafa";case hS.DARK:return"#303030";case hS.BLACK:return"#000000"}}(t):t.backgroundColor}function _G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"backgroundColor";return function(t){function n(n,r){var i=bG(),o=mG(mG({},n),{},qr({},e,i));return fG.createElement(t,Et({ref:r},o))}return n.displayName="withBackgroundColor(".concat(t.displayName||t.name,")"),(0,v.forwardRef)(n)}}function wG(e){var t=e.children,n=Ji(e,pG),r=OR("rise-auto-calc-contrast"),i=tG(),o=gG(),a=function(){var e,t,n=sM();return null!==(e=null==n||null===(t=n.theme)||void 0===t?void 0:t.colorAccent)&&void 0!==e?e:null==n?void 0:n.color}(),s=null==i?n:cG(r,i.family,i.variant,n),u=mG(mG({courseColor:a},o),s);return fG.createElement(vG.Provider,{value:u},t)}vG.Consumer;var kG=__webpack_require__(67294);function EG(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var xG=function(e){gt(n,e);var t=EG(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"componentWillEnter",value:function(e){this.child&&this.child.componentWillEnter?this.child.componentWillEnter(e):e()}},{key:"componentDidEnter",value:function(){this.child&&this.child.componentDidEnter&&this.child.componentDidEnter()}},{key:"componentWillExit",value:function(e){this.child&&this.child.componentWillExit?this.child.componentWillExit(e):e()}},{key:"componentDidExit",value:function(){this.child&&this.child.componentDidExit&&this.child.componentDidExit()}},{key:"render",value:function(){var e=this,t=this.props,n=t.childProps,r=t.component,i=Wo()("component",this.props);return kG.createElement(Q,Et({},i,{render:function(t){var i=t.match,o=To()(n,{match:i,ref:function(t){return e.child=t}});return kG.createElement(r,o)}}))}}]),n}(kG.Component),SG=xG,TG=__webpack_require__(67294);function CG(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var AG=function(e){gt(n,e);var t=CG(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"componentWillEnter",value:function(e){this.child&&this.child.componentWillEnter?this.child.componentWillEnter(e):e()}},{key:"componentDidEnter",value:function(){this.child&&this.child.componentDidEnter&&this.child.componentDidEnter()}},{key:"componentWillExit",value:function(e){this.child&&this.child.componentWillExit?this.child.componentWillExit(e):e()}},{key:"componentDidExit",value:function(){this.child&&this.child.componentDidExit&&this.child.componentDidExit()}},{key:"render",value:function(){var e,t=this,n=this.props.children,r=Wo()("children",this.props);return TG.createElement(ie,r,n&&Ra()(e=TG.Children).call(e,n,(function(e){return null!==e&&TG.cloneElement(e,{ref:function(e){return t.child=e}})})))}}]),n}(TG.Component),OG=AG,NG=__webpack_require__(67294);function PG(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var IG=function(e){gt(n,e);var t=PG(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).handleTransition=r.handleTransition.bind(ft(r)),r.onEnter=r.onEnter.bind(ft(r)),r.onEntered=r.onEntered.bind(ft(r)),r.onExit=r.onExit.bind(ft(r)),r.onExited=r.onExited.bind(ft(r)),r}return dt(n,[{key:"handleTransition",value:function(e,t){var n=this.transitionState;"entering"===n?this.onEnter(t):"exiting"===n&&this.onExit(t)}},{key:"onEnter",value:function(e){var t=this.child;t&&t.componentWillEnter?t.componentWillEnter(e):e()}},{key:"onEntered",value:function(){var e=this.child;e&&e.componentDidEnter&&e.componentDidEnter()}},{key:"onExit",value:function(e){var t=this.child;t&&t.componentWillExit?t.componentWillExit(e):e()}},{key:"onExited",value:function(){var e=this.child;e&&e.componentDidExit&&e.componentDidExit()}},{key:"render",value:function(){var e=this,t=this.props.children;return NG.createElement(Jt,Et({addEndListener:this.handleTransition,onEntered:this.onEntered,onExited:this.onExited,unmountOnExit:!0},this.props),(function(n){return e.transitionState=n,t&&NG.cloneElement(NG.Children.only(t),{ref:function(t){return e.child=t}})}))}}]),n}(NG.Component);__webpack_require__(67294),yM("cover");wR("CoverCompletedInformation"),wR("CoverDueDate"),wR("CoverRequirements");var LG=__webpack_require__(67294),MG=yM("cover"),RG=function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasPartnerContent,i=e.publishedAt,o=e.tenantId;return r?LG.createElement(aF,{type:"partner-content"},LG.createElement(IF,{courseId:t,partnerContent:n,publishedAt:i,tenantId:o})):null},DG=Xz("CoverCourseInfo",(function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasLogo,i=e.hasPartnerContent,o=e.publishedAt,a=e.tenantId,s=MG("details-content-aside",{logo:r});return LG.createElement("div",{className:s},$n,LG.createElement(RG,{courseId:t,coursePartnerContent:n,hasPartnerContent:i,publishedAt:o,tenantId:a}),$n,$n)})),qG=DG,jG=yM("cover"),FG=Xz("CoverDescription",(function(){var e=sM(),t=e.description,n=e.navigation?"description":"description-no-outline";return t?v.createElement("div",null,v.createElement(aF,{type:n},v.createElement($M,{className:jG("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:ZM(t)}))):null}));function BG(e){return Tr(e)||Ll(e)||Mr(e)||Rr()}var UG=["icon"];function zG(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}v.Component;function HG(e){var t=e.icon,n=Ji(e,UG);switch(t){case Rb:return v.createElement(KA,n);case Db:return v.createElement(nN,n);case qb:return v.createElement(XO,n);case jb:return v.createElement(rN,n);default:return v.createElement("i",{className:"icon icon-Master-02"})}}var VG=__webpack_require__(66261);function WG(){var e,t=le("/lessons/:currentLessonId");return null==t||null===(e=t.params)||void 0===e?void 0:e.currentLessonId}var YG=Xz("LessonProgressGraphic");function GG(e){var t,n,r=e.canComplete,i=e.id,o=e.isDark,a=e.isEnabled,s=e.isTooltipVisible,u=e.onHideTooltip,l=e.onShowTooltip,c=e.scope,d=mI(),f=d.color,p=d.navigationStyle,h=(null!==(t=bL(i))&&void 0!==t?t:{}).type,m=lL(i),g=WG(),y=SL(i),b=TL(i),_=kL(i),w=$L(),k=null!=(null==_?void 0:_.type),E=null==m?void 0:m.isComplete,x=i===g,S=null!==(n=null==m?void 0:m.percentComplete)&&void 0!==n?n:0,T=(0,v.useCallback)((function(){lI(sl({id:i,type:h}))}),[i,h]),C=(0,v.useCallback)((function(){lI(ul({id:i,type:h}))}),[i,h]);return v.createElement(LB,{canComplete:r,color:f,hasRestriction:k,isComplete:E,isCurrentLesson:x,isDark:o,isEnabled:a,isFailed:y,isPassed:b,isTooltipVisible:s,navigationStyle:p,onHideTooltip:u,onMarkComplete:T,onMarkReset:C,onShowTooltip:l,percentComplete:S,progressGraphic:YG,scope:c,labels:w})}var KG=yM("overview-list-item");function XG(e){var t,n,r=e.className,i=e.id,o=e.last,a=se(),s=WG(),u=mI(),l=u.color,c=u.isLegacyCourse,d=u.navigationStyle,f=u.theme.coverTextColor,p=null!==(t=bL(i))&&void 0!==t?t:{},h=p.icon,m=p.title,g=lL(i),y=SL(i),b=TL(i),_=kL(i),w=$L(),k=null==g?void 0:g.isComplete,E=null!==(n=null==g?void 0:g.percentComplete)&&void 0!==n?n:0,x=null!=(null==_?void 0:_.type),S=Dr((0,v.useState)(!1),2),T=S[0],C=S[1],A=(0,v.useCallback)((function(){return C(!0)}),[]),O=(0,v.useCallback)((function(){return C(!1)}),[]),N=GA()("overview-list__li",{"overview-list__li--last":o}),P=GA()(r,"overview-list-item"),I=(0,v.useCallback)((function(e){var t=e.currentTarget.hash;e.preventDefault(),VG.ZP.Events.scrollEvent.register("end",(function(){a.push(Nr()(t).call(t,1)),VG.ZP.Events.scrollEvent.remove("end")})),VG.ZP.animateScroll.scrollTo(0,{containerId:"overview"})}),[a]);return v.createElement("li",{className:N,role:"listitem"},v.createElement(jW,{className:P,isTooltipEnabled:!0,lessonId:i,onBlur:O,onClick:I,onHideProgressTooltip:O,onShowProgressTooltip:A,tooltipClassName:"overview-list-item-tooltip",showProgressDelay:25},v.createElement(ZG,{color:l,coverTextColor:f,hasRestriction:x,isComplete:k,isCurrentLesson:i===s,isFailed:y,isLegacyCourse:c,isPassed:b,isTooltipVisible:T,lessonId:i,lessonIcon:h,lessonTitle:m,navigationStyle:d,onHideTooltip:O,onShowTooltip:A,percentComplete:E,progressGraphic:$G,scope:Bb.COVER,labels:w})))}var $G=Xz("LessonProgressGraphic");var ZG=Xz("OverviewListItemLinkContent",(function(e){var t=e.color,n=e.coverTextColor,r=e.isLegacyCourse,i=e.isTooltipVisible,o=e.lessonIcon,a=e.lessonId,s=e.lessonTitle,u=e.onHideTooltip,l=e.onShowTooltip,c=e.scope,d=OR("rise-auto-calc-contrast"),f=!EC(t),p=IC(t),h=n===NS.AUTO&&p===NS.DARK,m=(0,v.useMemo)((function(){return d&&n?n===NS.DARK||h:f}),[d,h,f,n]),g=KG("progress-circle",{"text-dark":m,"text-light":!m||r});return v.createElement("div",{className:g},v.createElement("span",{"aria-hidden":"true",className:"overview-list-item__icon"},v.createElement(HG,{icon:o})),v.createElement("span",{className:"overview-list-item__title"},s),v.createElement(GG,{canComplete:!1,id:a,isDark:!1,isEnabled:!0,isTooltipVisible:i,onHideTooltip:u,onShowTooltip:l,scope:c}))})),QG=["className"],JG=yM("overview-list"),eK=Xz("OverviewListSectionTitle",(function(e){var t=e.className,n=void 0===t?"":t,r=Ji(e,QG),i=Wa()(["Default"],r);return v.createElement("h2",Et({},i,{className:"".concat(n," overview-list__section-title")}))}));var tK=(0,v.memo)(nn((function(e){var t=hI(e),n=JI(e);return{course:t,courseProgress:n,lessons:CL(e),restrictingQuiz:LI({course:t,courseProgress:n})}}))((function(e){var t=e.courseProgress,n=e.lessons,r=$L(),i=function(e){return e.reduce((function(e,t){return"section"===t.type?e.push([t]):e[e.length-1]?e[e.length-1].push(t):e.push([t]),e}),[])}(n);return v.createElement("nav",{"aria-label":null==r?void 0:r.a11yRegionNavOverview,className:"overview-list"},Ra()(i).call(i,(function(e,n){var r=BG(e),i=r[0],o=void 0===i?{}:i,a=Nr()(r).call(r,1),s=o.title,u="section"===o.type,l=u?a:e,c=JG("list",{sectionless:!u});return v.createElement("section",{key:n},u&&s&&v.createElement(eK,null,s),v.createElement("ol",{className:c,role:"list"},Ra()(l).call(l,(function(e,n){var r=function(e,t){var n=Wn()(["lessons",t],e),r=Il()(0,["percentComplete"],n),i=Wn()(["passed"],n);return{isComplete:Wn()(["isComplete"],n),percentComplete:r,passedQuiz:i}}(t,e.id),i=r.passedQuiz;return v.createElement(XG,{key:e.id,id:e.id,last:l.length>1&&n===l.length-1,passedQuiz:i})}))))})))})));function nK(){return rn((function(e){return function(e){var t,n;return null!==(t=null==e||null===(n=e.partnerContent)||void 0===n?void 0:n.content)&&void 0!==t?t:{}}(e)}))}var rK=yM("cover"),iK=Xz("CoverDetails",(function(e){var t=e.reverseColumns,n=rR(1200),r=mI(),i=r.description,o=r.id,a=r.media,s=r.navigation,u=r.partnerContentId,l=r.publishedAt,c=r.selectedAuthorId,d=r.tenantId,f=nK(),p=Ux()(Ci()("id",c),f),h=Boolean(u)&&p,m=Il()(void 0,["image","key"],a),g=!Jo()(m),y=!i||!s,b=!i&&!s,_=!!h,w=rK("details",{"rise-com":$n,"rise-com-authoring":$n}),k=rK("details-content-wrap",{columns:_,logo:g}),E=rK("details-content",{"no-description-or-outline":y}),x=rK("details-logo",{centered:b,"no-description-or-outline":y,"has-partner-content":Boolean(u)}),S=_&&v.createElement(qG,{courseId:o,coursePartnerContent:p,hasLogo:g,hasPartnerContent:h,publishedAt:l,tenantId:d});return v.createElement("section",{className:w},v.createElement("div",{className:k},!n&&t&&S,v.createElement("div",{className:E},v.createElement(qF,{className:x}),i&&v.createElement(FG,null),n&&S,s&&v.createElement(aF,{type:"outline"},v.createElement(tK,null))),!n&&!t&&S))}));var oK=Xz("CoverHeader"),aK=nn((function(e){var t=hI(e);return{accentColor:t.color,themeId:t.themeId,coverPageType:t.coverPageType}}))(oK),sK=Xz("CoverLayout");function uK(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var lK=$j.course.overview,cK=yM("cover-container"),dK=function(e){gt(n,e);var t=uK(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isEntering:!1,isExiting:!1},r.refMain=(0,v.createRef)(),r}return dt(n,[{key:"componentDidEnter",value:function(){var e,t;(this.setState({isEntering:!1}),this.props.didNavigate)&&(null===(e=this.refMain.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e,{preventScroll:!0}))}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({isEntering:!0},(function(){t.willEnterTimeout=setTimeout(e,pS)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},(function(){t.willExitTimeout=setTimeout(e,pS)}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout)}},{key:"render",value:function(){var e,t=this.props,n=t.course,r=t.labels,i=this.state,o=i.isEntering,a=i.isExiting,s=n.title,u=r.overviewPageTitleSuffix,l=ZY(St()(e="".concat(s," - ")).call(e,u));return v.createElement(iY(),{title:l},v.createElement("main",{"aria-label":null==r?void 0:r.a11yRegionMainOverview,ref:this.refMain,tabIndex:"-1"},v.createElement("div",{className:cK({entering:o,exiting:a}),"data-ba":lK.container},v.createElement(sK,null,v.createElement(aK,null),v.createElement(iK,null)))))}}]),n}(v.Component),fK=dK,pK=__webpack_require__(19755),hK=__webpack_require__.n(pK),mK=function(e){var t="";return Ea()((function(e,n){if("section"===n.type)return t=n.id,n.children=[],Fo()(e,[n]);if(t){n.sectionId=t;var r=ls()(Ci()("id",t))(e);return e[r].children=Fo()(e[r].children,[n]),e}return Fo()(e,[n])}),[],e)},vK=Al()(Ci()("family","continue"),Ci()("variant","continue")),gK=pe()(ts()(vK),Ru()([],"items")),yK=(0,Pw.equals)(null),bK=(0,Pw.complement)(yK),_K=new RegExp(/^#([a-f0-9]{6}|[a-f0-9]{3})$/,"i"),wK=function(e,t){return _K.test(t)?t:e},kK=__webpack_require__(67294);function EK(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var xK=function(e){gt(n,e);var t=EK(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.allowTabNavigation,n=e.className,r=e.id,i=e.tagName,o=e.value;return o?kK.createElement($M,{className:n,value:o,allowTabNavigation:t,tagName:i,id:r}):null}}],[{key:"defaultProps",get:function(){return{allowBold:!0,placeholder:"",editable:!1,allowTabNavigation:!0,hasQuickInsert:!0}}}]),n}(kK.Component),SK=__webpack_require__(67294);function TK(e,t){var n=(0,v.useRef)(),r=OR("rise-auto-calc-contrast");(0,v.useImperativeHandle)(t,(function(){var e;return null===(e=n.current)||void 0===e?void 0:e.el}));var i=gG(),o=i.accentColor,a=i.backgroundColor,s=i.backgroundImage,u=i.backgroundType,l=i.cardMode,c=i.styleMode;return(0,v.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.forceUpdate()}),[o,a,s,u,l,c]),SK.createElement(BM,Et({ref:n},e,{disabled:!r}))}var CK=(0,v.forwardRef)(TK),AK=__webpack_require__(67294),OK=["className","tag","style"];function NK(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function PK(e,t){var n=e.className,r=void 0===n?"":n,i=e.tag,o=void 0===i?"div":i,a=e.style,s=Ji(e,OK),u=OR("rise-auto-calc-contrast"),l=gG().accentColor,c=r,d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?NK(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):NK(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({},a);return u&&(c="block-brand ".concat(r),null!=l&&kt()(d,{"--background-color-accent":l,"--background-color-accent-transparent":l+"1A","--border-color-accent":l,"--color-accent":l,"--color-accent-transparent":l+"1A"})),AK.createElement(o,Et({},s,{className:c,ref:t,style:d}))}var IK=(0,v.forwardRef)(PK),LK=__webpack_require__(67294),MK=["children","className","style","defaultBackgroundColor","tag","type"];function RK(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function DK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RK(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):RK(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var qK=Wa()(["settings"]),jK=yM("block-wrapper"),FK=yM("bg");function BK(){var e,t=OR("rise-auto-calc-contrast"),n=tG();if(!t)return null;var r=n.background,i=n.settings.backgroundType,o=null==r||null===(e=r.media)||void 0===e?void 0:e.image;return i===hS.IMAGE?o:null}var UK=function(e,t){var n,r,i=OR("rise-auto-calc-contrast"),o=gG(),a=e.children,s=e.className,u=e.style,l=e.defaultBackgroundColor,c=void 0===l?"":l,d=e.tag,f=e.type,p=Ji(e,MK),h=o.backgroundType,m=o.paddingTop,g=o.paddingBottom,y=(0,v.useCallback)((function(e){return i?"".concat(e,"rem"):"".concat(10*e,"px")}),[i]),b=function(){var e,t=BK();if(!t)return null;var n=t.alpha,r=eS(t);return[St()(e="linear-gradient(rgba(0,0,0,".concat(n,"), rgba(0,0,0,")).call(e,n,"))"),"url('".concat(r,"')")].join(", ")}(),_=(r=BK(),fA(null==r?void 0:r.alt)),w=wK(c,bG()),k=DK(DK({},u),{},{"--background-color":w,backgroundImage:b,paddingBottom:y(g),paddingTop:y(m)});i||kt()(k,{backgroundColor:w});var E=w?OC(w):bC.LIGHT,x=GA()(s,qr({},"block-".concat(f),!!f)),S=i?jK({}).mix(FK({type:h.toLowerCase(),range:aD()(E.toLowerCase())})):"",T=(0,v.useMemo)((function(){return(0,v.forwardRef)((function(e,t){return LK.createElement(CK,Et({ref:t,tag:d},e))}))}),[d]);return LK.createElement(IK,Et({},qK(p),{className:St()(n="".concat(x," ")).call(n,S),ref:t,style:k,tag:T}),LK.createElement("span",{"aria-label":_,role:pA(_)}),a)},zK=(0,v.forwardRef)(UK),HK=__webpack_require__(94310),VK=__webpack_require__.n(HK),WK=__webpack_require__(67294),YK=function(e){var t=e.afterAnimatedIn,n=e.animateBlockEntrance,r=e.animateIn,i=e.animateOnce,o=e.children,a=e.className,s=e.duration,u=e.keepStructure,l=e.initiallyVisible,c=e.isLearner,d=e.offset,f=e.siblingDelay;return c&&n?WK.createElement(VK(),{afterAnimatedIn:t,animateIn:r,animateOnce:i,className:a,duration:s,initiallyVisible:l,keepStructure:u,offset:d,scrollableParentSelector:"#page-wrap",siblingDelay:f},o):Array.isArray(o)?WK.createElement("div",null,o):o};YK.defaultProps={animateOnce:!0,duration:.75,offset:200,siblingDelay:0};var GK=function(e){function t(t,n){var r,i=sM(),o=t.offset,a=Ji(t,nM),s=(null==i?void 0:i.type)===Fb&&(null==i||null===(r=i.theme)||void 0===r?void 0:r.blockNavigationType)===vS.STEPPED;return tM.createElement(e,Et({},a,{offset:s?0:o,ref:n}))}return kt()((0,v.forwardRef)(t),{displayName:"withEntranceAnimationOffset(".concat(e.displayName||e.name,")")})}(YK),KK=__webpack_require__(67294);function XK(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var $K=tF,ZK=function(e){gt(n,e);var t=XK(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(ft(r)),r.renderHeadingDelegate=r.renderHeading.bind(ft(r)),r}return dt(n,[{key:"renderHeading",value:function(e){var t=e.heading,n=t||null;return KK.createElement($M,{value:n})}},{key:"renderText",value:function(e){var t=e.paragraph;return KK.createElement(xK,{className:"block-text__col brand--body",value:t||""})}},{key:"render",value:function(){var e,t,n=this.props,r=n.defaultBackgroundColor,i=n.items,o=n.type,a=n.heading,s=n.columns,u=n.settings,l=n.renderHeading,c=void 0===l?this.renderHeadingDelegate:l,d=n.renderText,f=void 0===d?this.renderTextDelegate:d,p=u.entranceAnimation,h=GA()("block-text block-text--".concat(o),{"block-text--no-animation":!p}),m=a?"heading"===a?"h2":"h3":"span";return KK.createElement(zK,{className:h,defaultBackgroundColor:r},KK.createElement("div",{className:"block-text__container","data-ba":$K.blockText},KK.createElement("div",{className:"block-text__row"},""!==a?Ra()(e=Nr()(i).call(i,0,1)).call(e,(function(e){return KK.createElement("div",{className:"block-text__col brand--head",key:e.id},KK.createElement(m,null,c(e)))})):null),KK.createElement("div",{className:"block-text__row"},"heading"!==o?Ra()(t=Nr()(i).call(i,0,s)).call(t,(function(e){return KK.createElement(v.Fragment,{key:e.id},f(e))})):null)))}}],[{key:"defaultProps",get:function(){return{type:"onecol",heading:"",columns:1,items:[]}}}]),n}(KK.Component),QK=function(e){return KK.createElement(ZK,Et({type:"twocol",columns:2},e))},JK=function(e){return KK.createElement(ZK,Et({type:"threecol",columns:3},e))},eX=function(e){return KK.createElement(ZK,Et({type:"heading",heading:"heading"},e))},tX=function(e){return KK.createElement(ZK,Et({type:"heading",heading:"subheading"},e))},nX=function(e){return KK.createElement(ZK,Et({heading:"heading"},e))},rX=function(e){return KK.createElement(ZK,Et({heading:"subheading"},e))},iX=function(e){gt(n,e);var t=XK(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(ft(r)),r}return dt(n,[{key:"renderCaption",value:function(e){var t=e.caption;return KK.createElement(xK,{className:"block-text__code-caption brand--body brand--linkColor",value:t||""})}},{key:"render",value:function(){var e,t=this.props,n=t.animateBlockEntrance,r=t.defaultBackgroundColor,i=void 0===r?"":r,o=t.isLearner,a=t.items,s=t.labels,u=t.settings,l=t.renderCaption,c=void 0===l?this.renderCaptionDelegate:l,d=u.paddingTop,f=u.paddingBottom,p=u.entranceAnimation,h=u.snippetBackgroundColor,m=GA()("block-text block-text--code",{"block-text--padding-top":2===Number(d),"block-text--padding-bottom":2===Number(f),"block-text--no-animation":!p});return KK.createElement(zK,{className:m,"data-ba":$K.blockText,defaultBackgroundColor:i},KK.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o},KK.createElement("div",{className:"block-text__container"},Ra()(e=Nr()(a).call(a,0,1)).call(e,(function(e){var t=LY(e);return KK.createElement("div",{className:"block-text__row",key:e.id},KK.createElement("div",{"aria-label":null==s?void 0:s.a11yBlockCode,className:"block-text__col",role:IY},KK.createElement("figure",{"aria-labelledby":t.figcaptionId,className:"block-text__figure",role:"figure"},KK.createElement("pre",{className:"block-text__code","data-ba":$K.blockText,style:{backgroundColor:wK(i,h)},dangerouslySetInnerHTML:{__html:di(e.code)}}),e.caption&&KK.createElement("figcaption",{id:t.figcaptionId},c(e)))))})))))}}]),n}(KK.Component),oX=__webpack_require__(67294);function aX(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var sX,uX=yM("block-impact"),lX=tF,cX=function(e){gt(n,e);var t=aX(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(ft(r)),r}return dt(n,[{key:"getEntranceAnimationType",value:function(){switch(this.props.type){case"a":return"fadeIn";case"b":case"d":return"fadeInUp";case"c":return"fadeInRight";case"note":return"fadeInGrow"}}},{key:"getEntranceAnimationDuration",value:function(){switch(this.props.type){case"a":return 1;case"b":case"c":case"d":return.75;case"note":return.5}}},{key:"renderText",value:function(e,t){var n=e.type,r=t.paragraph,i="note"===n,o=GA()("block-impact__quote brand--linkColor",{"brand--body":"a"===n,"brand--head brand--beforeBackground":"b"===n,"brand--head":"c"===n,"brand--body brand--beforeBackground":"d"===n}),a=i?gX:oX.Fragment;return oX.createElement(a,null,oX.createElement(xK,{className:o,value:r}))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.animateBlockEntrance,i=n.fusion,o=n.isLearner,a=n.items,s=n.type,u=n.settings,l=n.renderText,c=void 0===l?this.renderTextDelegate:l,d=u.entranceAnimation,f=GA()("block-impact block-impact--".concat(s),{"block-impact--legacy":!i,"block-impact--no-animation":!d});return oX.createElement(zK,{className:f,"data-ba":lX.blockImpact},oX.createElement("div",{className:"block-impact__wrap"},oX.createElement("div",{className:"block-impact__container"},oX.createElement("div",{className:"block-impact__row"},Ra()(e=Nr()(a).call(a,0,1)).call(e,(function(e){return oX.createElement(GK,{animateBlockEntrance:r,animateIn:t.getEntranceAnimationType(),duration:t.getEntranceAnimationDuration(),isLearner:o,key:e.id},oX.createElement("div",{className:"block-impact__col"},c(t.props,e)))}))))))}}],[{key:"defaultProps",get:function(){return{items:[],type:"a"}}}]),n}(oX.Component),dX=NR("rise-auto-calc-contrast","fusion")(cX),fX=dX,pX=function(e){return oX.createElement(dX,Et({type:"b"},e))},hX=function(e){return oX.createElement(dX,Et({type:"c"},e))},mX=function(e){return oX.createElement(dX,Et({type:"d"},e))},vX=function(e){return oX.createElement(dX,Et({type:"note"},e))},gX=function(e){var t=e.children,n=OR("rise-auto-calc-contrast"),r=gG(),i=r.accentColor,o=r.backgroundType,a=r.courseColor,s=bG(),u=(0,v.useMemo)((function(){if(n){if(null==s)return"#000000b3";switch(o){case hS.IMAGE:return"#000000b3";case hS.LIGHT:case hS.GRAY:return SC(.9,null!=i?i:a);case hS.DARK:return"#494949";case hS.BLACK:return"#333333";default:switch(OC(s)){case bC.LIGHT:return SC(.3,s);case bC.MED:return SC(-.2,s);case bC.DARK:case bC.NEAR_BLACK:return SC(-.4,s)}}}}),[i,o,s,a,n]),l=uX("note-card",{legacy:!n}),c={"--background-color":u};return oX.createElement(CK,{className:l,style:c},oX.createElement("div",{className:"block-impact__note-icon"},oX.createElement("i",{className:"icon icon-info"})),t)},yX=__webpack_require__(27361),bX=__webpack_require__.n(yX),_X=__webpack_require__(46066),wX=__webpack_require__(67294),kX=["className","children","disabled","tag"],EX=(qr(sX={},bC.NEAR_BLACK,SC(.1)),qr(sX,bC.DARK,SC(-.4)),qr(sX,bC.MED,SC(-.2)),qr(sX,bC.LIGHT,SC(.3)),sX);function xX(e,t){var n,r=OR("rise-auto-calc-contrast"),i=gG(),o=e.className,a=void 0===o?"":o,s=e.children,u=e.disabled,l=void 0!==u&&u,c=e.tag,d=Ji(e,kX),f=i.backgroundType,p=i.cardMode,h=null!==(n=bG())&&void 0!==n?n:"#ffffff",m=p===oG.WHITE,v=[a,"block-card","bg"],g={};if(r)if(m)v.push("bg--range-light","block-card--white"),g["--background-color"]="#ffffff";else if(l)v.push("block-card--disabled");else switch(v.push("block-card--transparent"),f){case hS.IMAGE:v.push("block-card--bg-image","bg--range-dark");break;case hS.LIGHT:case hS.GRAY:v.push("bg--range-light"),g["--background-color"]="#ffffff";break;case hS.DARK:v.push("bg--range-dark"),g["--background-color"]="#494949";break;case hS.BLACK:v.push("bg--range-dark"),g["--background-color"]="#262626";break;default:var y=OC(h),b=EX[y](h),_=OC(b);v.push("bg--range-".concat(aD()(_.toLowerCase()))),g["--background-color"]=b}else v.push("bg--range-light","block-card--legacy");return wX.createElement(CK,Et({},d,{className:v.join(" "),ref:t,style:g,tag:c}),s)}var SX=(0,v.forwardRef)(xX);(0,_.shape)({a11yAnswerLive:_.string,a11yAuthorPrefix:_.string,a11yBlockChartBar:_.string,a11yBlockChartLine:_.string,a11yBlockChartPie:_.string,a11yBlockCode:_.string,a11yBlockEmbed:_.string,a11yBlockFlashcardBack:_.string,a11yBlockFlashcardFront:_.string,a11yBlockFlashcardGrid:_.string,a11yBlockFlashcardStack:_.string,a11yBlockKnowledgeCheck:_.string,a11yBlockKnowledgeCheckFIB:_.string,a11yBlockKnowledgeCheckM:_.string,a11yBlockKnowledgeCheckMC:_.string,a11yBlockKnowledgeCheckMR:_.string,a11yBlockQuoteCarousel:_.string,a11yBlockStoryline:_.string,a11yBlockTimeline:_.string,a11yCarouselNext:_.string,a11yCarouselPrevious:_.string,a11yCorrectLive:_.string,a11yExcelIcon:_.string,a11yFileIcon:_.string,a11yGroupAudioPlayer:_.string,a11yGroupVideoPlayer:_.string,a11yLabeledGraphicBlock:_.string,a11yLabeledGraphicButtonMarker:_.string,a11yLabeledGraphicIconPlus:_.string,a11yLabeledGraphicIconDot:_.string,a11yLabeledGraphicIconInformation:_.string,a11yLabeledGraphicIconQuestion:_.string,a11yLabeledGraphicIconCheck:_.string,a11yLabeledGraphicIconX:_.string,a11yLabeledGraphicIconHeart:_.string,a11yLabeledGraphicIconPin:_.string,a11yLabeledGraphicIconArrowLeft:_.string,a11yLabeledGraphicIconArrowRight:_.string,a11yLabeledGraphicIconArrowUp:_.string,a11yLabeledGraphicIconArrowDown:_.string,a11yLabeledGraphicIconArrowUpLeft:_.string,a11yLabeledGraphicIconArrowUpRight:_.string,a11yLabeledGraphicIconArrowDownLeft:_.string,a11yLabeledGraphicIconArrowDownRight:_.string,a11yLabeledGraphicUnviewed:_.string,a11yLabeledGraphicViewed:_.string,a11yMediaPause:_.string,a11yMediaPlay:_.string,a11yMediaSeek:_.string,a11yNavigationMenuClose:_.string,a11yNavigationMenuOpen:_.string,a11yPageMarker:_.string,a11yPDFIcon:_.string,a11yPPTIcon:_.string,a11yQuizFailed:_.string,a11yQuizFeedback:_.string,a11yQuizPassed:_.string,a11yQuizReviewCorrectlyChecked:_.string,a11yQuizReviewCorrectlySelected:_.string,a11yQuizReviewCorrectlyUnchecked:_.string,a11yQuizReviewCorrectlyUnselected:_.string,a11yQuizReviewIncorrectlyChecked:_.string,a11yQuizReviewIncorrectlySelected:_.string,a11yQuizReviewIncorrectlyUnchecked:_.string,a11yQuizReviewIncorrectlyUnselected:_.string,a11yRegionMainLesson:_.string,a11yRegionMainOverview:_.string,a11yRegionNavLesson:_.string,a11yRegionNavOverview:_.string,a11yRestrictedNav:_.string,a11yRTFIcon:_.string,a11ySearchClose:_.string,a11ySearchInput:_.string,a11ySearchOpen:_.string,a11yStatusAdditionalContent:_.string,a11yStatusContinued:_.string,a11yUnzoomImage:_.string,a11yWordIcon:_.string,a11yZipIcon:_.string,a11yZoomImage:_.string,courseStart:_.string,courseResume:_.string,courseDetails:_.string,courseExit:_.string,courseHome:_.string,courseSkipToLesson:_.string,lessonName:_.string,lessonPreposition:_.string,lessonComplete:_.string,lessonRestricted:_.string,quizStart:_.string,quizQuestion:_.string,quizSubmit:_.string,quizNext:_.string,quizIncorrect:_.string,quizCorrect:_.string,quizResults:_.string,quizScore:_.string,quizPassing:_.string,quizTakeAgain:_.string,quizAcceptableResponses:_.string,quizAnswerPlaceholder:_.string,quizRequirePassingScore:_.string,quizContinue:_.string,processStepName:_.string,processStepPreposition:_.string,processNextStep:_.string,processLessonName:_.string,processComplete:_.string,processStart:_.string,processStartAgain:_.string,processSwipe:_.string,sortingCardsCorrect:_.string,sortingReplay:_.string,embedViewOn:_.string,embedReadMore:_.string,blocksClickToFlip:_.string,blocksPreposition:_.string,salutation:_.string,exitMessage:_.string,overviewPageTitleSuffix:_.string,lessonSidebarLandmark:_.string,hamburgerButtonLabel:_.string,timelineLandmark:_.string,timelineCardGroupPrefix:_.string,labeledGraphicMarkerLabel:_.string,labeledGraphicBubbleLabel:_.string,labeledGraphicPreviousMarkerLabel:_.string,labeledGraphicNextMarkerLabel:_.string,audioPlayerGroup:_.string,seekSliderLabel:_.string,playButtonLabel:_.string,pauseButtonLabel:_.string,videoPlayerGroup:_.string,embedPlayerGroup:_.string,embedPhotoGroup:_.string,embedLinkGroup:_.string,noteGroup:_.string,statementGroup:_.string,numberedListGroup:_.string,checkboxListGroup:_.string,bulletedListGroup:_.string,quoteGroup:_.string,lessonContentLandmark:_.string,imageGalleryGroup:_.string,imageAndTextGroup:_.string,textOnImageGroup:_.string,embedVideoGroup:_.string,codeGroup:_.string,attachmentGroup:_.string,numberedDividerGroup:_.string,accordionGroup:_.string,tabGroup:_.string,flashcardStackGroup:_.string,flashcardGridGroup:_.string,buttonGroup:_.string,buttonStackGroup:_.string,knowledgeCheckGroup:_.string,storylineGroup:_.string,processLandmark:_.string,labeledGraphicLandmark:_.string,sortingLandmark:_.string,urlEmbedLandmark:_.string,flashcardFrontLabel:_.string,flashcardBackLabel:_.string,previousFlashCardLabel:_.string,nextFlashCardLabel:_.string,feedbackGroup:_.string,search:_.string,result:_.string,results:_.string,noResults:_.string,scenarioTryAgain:_.string,scenarioContinue:_.string,scenarioComplete:_.string,scenarioStartOver:_.string,progressPieUnstarted:_.string,progressPieCompleted:_.string,progressPieClickToComplete:_.string,progressPieClickToReset:_.string,progressPieQuizFailed:_.string});function TX(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var CX=tF,AX=NR("rise-auto-calc-contrast","fusion"),OX=function(e){var t=e.avatar,n=e.alt,r=('""'===n?"":n)||"";return v.createElement("div",{"aria-hidden":!r,"aria-label":r,className:"block-quote__avatar",role:"img",style:{backgroundImage:"url('".concat(t||"","')")}})},NX=function(e){var t=e.type,n=e.animateBlockEntrance,r=e.avatar,i=e.children,o=e.alt,a=e.isLearner,s=GA()("block-quote__col",{"block-quote__col--no-avatar":!r}),u=GA()("block-quote__figure",{"brand--beforeColor":"b"===t}),l=r?v.createElement("div",{className:"block-quote__image"},v.createElement("div",{className:"block-quote__avatar-wrap"},"c"===t?v.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeInLeftSmall",isLearner:a},v.createElement(OX,{avatar:r,alt:o,title:o})):v.createElement(OX,{avatar:r,alt:o,title:o}))):null;return v.createElement("div",{className:"block-quote__container"},v.createElement("div",{className:"block-quote__row"},v.createElement("div",{className:s},v.createElement("div",{className:u},l,i))))},PX=function(e){var t=e.avatar,n=e.children,r=e.alt;return v.createElement("div",{className:"block-quote__figure"},v.createElement("div",{className:"block-quote__container"},v.createElement("div",{className:"block-quote__row"},v.createElement("div",{className:"block-quote__col"},t?v.createElement(OX,{avatar:t,alt:r}):null),v.createElement("div",{className:"block-quote__col"},n))))},IX=function(e){var t=e.background,n=e.avatar,r=e.children,i=e.alt;return v.createElement("div",{className:"block-quote__background",style:{backgroundImage:t?"url(".concat(t,")"):""}},v.createElement("div",{className:"block-quote__container"},v.createElement("div",{className:"block-quote__row"},v.createElement("div",{className:"block-quote__col"},v.createElement("div",{className:"block-quote__figure"},n?v.createElement(OX,{avatar:n,alt:i}):null,r)))))},LX=function(e){gt(n,e);var t=TX(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(ft(r)),r.renderCaptionDelegate=r.renderCaption.bind(ft(r)),r}return dt(n,[{key:"getQuoteEntranceAnimationType",value:function(){switch(this.props.type){case"a":case"b":case"background":return"fadeInUp";case"d":case"c":return"fadeInRight"}}},{key:"renderText",value:function(e,t){var n=e.type,r=t.paragraph||"",i=GA()("block-quote__text brand--linkColor",{"brand--head":"b"===n,"brand--body":"b"!==n,"block-quote__text--blank":""===r});return v.createElement(CK,{className:i,tag:xK,value:r})}},{key:"renderCaption",value:function(e,t){var n=e.type,r=t.name,i=GA()("block-quote__caption brand--linkColor",{"brand--head":"b"!==n,"brand--body":"b"===n,"block-quote__caption--blank":""===r});return v.createElement(CK,{className:i,value:r,tag:xK})}},{key:"render",value:function(){var e,t=this.props,n=t.animateBlockEntrance,r=t.fusion,i=t.isLearner,o=t.items,a=t.settings,s=t.type,u=t.renderText,l=void 0===u?this.renderTextDelegate:u,c=t.renderCaption,d=void 0===c?this.renderCaptionDelegate:c,f=a.entranceAnimation,p=Dr(o,1)[0],h=p.avatar,m=p.background,g=bX()(h,"media.image"),y=Jx(g),b=bX()(h,"media.image.alt"),_=eS(bX()(m,"media.image")),w=GA()("block-quote block-quote--".concat(s),{"block-quote--legacy":!r,"block-quote--no-animation":!f}),k=v.createElement("div",{className:"block-quote__wrap"},v.createElement(GK,{animateBlockEntrance:n,animateIn:this.getQuoteEntranceAnimationType(),isLearner:i,siblingDelay:.15},v.createElement("figure",null,v.createElement("blockquote",null,l(this.props,p)),v.createElement("figcaption",null,d(this.props,p)))));switch(s){case"d":e=v.createElement(PX,{type:s,avatar:y,alt:b},k);break;case"background":e=v.createElement(IX,{type:s,avatar:y,alt:b,background:_},k);break;default:e=v.createElement(NX,{type:s,animateBlockEntrance:n,avatar:y,alt:b,isLearner:i},k)}return v.createElement(zK,{className:w,"data-ba":CX.blockQuote},e)}}],[{key:"defaultProps",get:function(){return{editable:!1,items:[],type:"a"}}}]),n}(v.Component),MX=AX(LX),RX=MX,DX=function(e){return v.createElement(MX,Et({type:"b"},e))},qX=function(e){return v.createElement(MX,Et({type:"c"},e))},jX=function(e){return v.createElement(MX,Et({type:"d"},e))},FX=function(e){return v.createElement(MX,Et({type:"background"},e))},BX=function(e){var t,n=null!==(t=bG())&&void 0!==t?t:"#000";return v.createElement("button",Et({type:"button",style:{"--background-color":n}},e),v.createElement(CK,{className:"block-quote__arrow-icon",rule:"borderColor",tag:"span"}))},UX=function(e){var t=e.onClick,n=e.a11yCarouselNext;return v.createElement(BX,{"aria-label":n,className:"block-quote__arrow block-quote__arrow--next",onClick:t})},zX=function(e){var t=e.onClick,n=e.a11yCarouselPrevious;return v.createElement(BX,{"aria-label":n,className:"block-quote__arrow block-quote__arrow--prev",onClick:t})},HX=function(e){gt(n,e);var t=TX(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind(ft(r)),r.renderCaptionDelegate=r.renderCaption.bind(ft(r)),r.state={currentIndex:0,isDotKeyboardFocusDisabled:!1},r}return dt(n,[{key:"disableFocusForClonedSlides",value:function(){var e=this.state.currentIndex;PY(this.carousel.querySelectorAll(".slick-active.block-quote__slide")).forEach((function(t){parseInt(t.getAttribute("data-index"))!==e&&WY(t)}))}},{key:"disableCarouselDotsIfNecessary",value:function(){var e=this.sliderContainer.querySelector(".block-quote__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(WY(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"componentDidUpdate",value:function(){this.disableCarouselDotsIfNecessary(),this.disableFocusForClonedSlides()}},{key:"onKeyDown",value:function(e){var t=this.slider;Dl()([[bW,t.slickNext.bind(t)],[yW,t.slickPrev.bind(t)]])(e)}},{key:"renderText",value:function(e,t,n){var r=t.paragraph,i=n.allowTabNavigation,o=r||"",a=GA()("block-quote__text brand--body brand--linkColor",{"block-quote__text--blank":""===r});return v.createElement(CK,{className:a,value:o,allowTabNavigation:i,tag:xK})}},{key:"renderCaption",value:function(e,t,n){var r=t.name,i=n.allowTabNavigation,o=GA()("block-quote__caption brand--head brand--linkColor",{"block-quote__caption--blank":""===r});return v.createElement(CK,{className:o,value:r,allowTabNavigation:i,tag:xK})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.editable,i=t.fusion,o=t.isLearner,a=t.items,s=t.labels,u=t.settings,l=t.renderText,c=void 0===l?this.renderTextDelegate:l,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,p=t.type,h=u.entranceAnimation,m=u.showBorder,g=void 0===m||m,y=GA()("block-quote block-quote--".concat(p),{"block-quote--no-animation":!h,"block-quote--editable":r,"block-quote--show-border":g,"block-quote--legacy":!i}),b=this.state.currentIndex,_=Ra()(a).call(a,(function(t,r){var i=r===b,a=bX()(t.avatar,"media.image.alt"),s=bX()(t.avatar,"media.image"),u=Jx(s),l={allowTabNavigation:i};return v.createElement("div",{className:"block-quote__slide",key:t.id},v.createElement("figure",{className:"block-quote__figure"},u?v.createElement(OX,{avatar:u,alt:a}):null,v.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeInUp",siblingDelay:.25,isLearner:o},v.createElement("blockquote",null,c(e.props,t,l)),v.createElement("figcaption",null,f(e.props,t,l)))))})),w={slidesToShow:1,slidesToScroll:1,arrows:_.length>1,nextArrow:v.createElement(UX,{a11yCarouselNext:null==s?void 0:s.a11yCarouselNext}),prevArrow:v.createElement(zX,{a11yCarouselPrevious:null==s?void 0:s.a11yCarouselPrevious}),dots:_.length>1,dotsClass:"block-quote__dots-list brand--background-all brand--shadow-all",accessibility:!1,draggable:!r,beforeChange:function(t,n){var r=e.props,i=r.items;(0,r.onStep)(i[n]),e.setState({currentIndex:n})}};return v.createElement("div",{"aria-label":null==s?void 0:s.a11yBlockQuoteCarousel,className:"block-quote__slider-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.carousel=t},role:IY,tabIndex:0},v.createElement(zK,{className:y,"data-ba":CX.blockQuote},v.createElement("div",{className:"block-quote__wrap"},v.createElement("div",{className:"block-quote__container"},v.createElement("div",{className:"block-quote__row"},v.createElement("div",{className:"block-quote__col"},v.createElement(SX,{className:"block-quote__box",ref:function(t){e.sliderContainer=t}},v.createElement(_X.Z,Et({className:"block-quote__wrapper",ref:function(t){e.slider=t}},w),_))))))))}}],[{key:"defaultProps",get:function(){return{type:"carousel",items:[],onStep:Function.prototype}}}]),n}(v.Component),VX=AX(HX),WX=__webpack_require__(9449),YX=__webpack_require__.n(WX),GX=__webpack_require__(67294);function KX(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function XX(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var $X=tF,ZX=NR("rise-auto-calc-contrast","fusion"),QX=function(e){gt(n,e);var t=XX(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderItemDelegate=r.renderItem.bind(ft(r)),r}return dt(n,[{key:"nextNumber",value:function(e){var t,n=this.props.items,r=n.length>0?n[e].number:null;return isNaN(r)||""===r||(t=parseInt(r,10)+1),(t<1||t>99)&&(t=null),t}},{key:"renderItem",value:function(e){return GX.createElement(n$,e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.blockId,i=t.defaultBackgroundColor,o=t.editable,a=t.fusion,s=t.isLearner,u=t.items,l=t.lessonId,c=t.onStep,d=t.renderItem,f=void 0===d?this.renderItemDelegate:d,p=t.settings,h=t.type,m=p.entranceAnimation,v=GA()("block-list block-list--".concat(h),{"block-list--no-animation":!m,"block-list--legacy":!a});return GX.createElement(zK,{className:v,"data-ba":$X.blockList,defaultBackgroundColor:i},GX.createElement("div",{className:"block-list__container"},GX.createElement("div",{className:"block-list__row"},GX.createElement("div",{className:"block-list__col"},GX.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeInRight",className:"block-list__animated-item",isLearner:s,keepStructure:!0,siblingDelay:.25},GX.createElement("ul",{className:"block-list__list",role:"list"},Ra()(u).call(u,(function(t,n){return f(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?KX(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):KX(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({key:t.id,index:n,lessonId:l,blockId:r,isDone:t.isDone,type:h,editable:o,nextNumber:e.nextNumber.bind(e),onStep:c},t))}))))))))}}],[{key:"defaultProps",get:function(){return{editable:!1,items:[],onStep:Function.prototype,type:"numbered"}}}]),n}(GX.Component),JX=ZX(QX),e$=JX,t$=function(e){gt(n,e);var t=XX(n);function n(e){var r;nt(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind(ft(r));var i="checkboxes"===e.type?YX()():null;return r.state={labelId:i,isChecked:!1},r}return dt(n,[{key:"checkBox",value:function(e){e.preventDefault(),this.setState({isChecked:!this.state.isChecked}),this.props.onStep(this.props)}},{key:"renderText",value:function(e){return GX.createElement(xK,e)}},{key:"renderItemText",value:function(e){var t=e.paragraphProps,n=this.props.renderText,r=void 0===n?this.renderTextDelegate:n,i=this.state.labelId;return i?GX.createElement("div",{id:i},r(t)):r(t)}},{key:"renderIdentifier",value:function(e){return"checkboxes"===this.props.type?null:GX.createElement("div",{className:"visually-hidden"},e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.fusion,r=t.type,i=t.index,o=t.number,a=t.paragraph,s=t.editable,u=t.className,l=t.style,c=this.state,d=c.isChecked,f=c.labelId,p={allowTabNavigation:!0,className:"block-list__content brand--body brand--linkColor",editable:s,value:a},h=o||i+1,m="numbered"===r?h:"bullet",v=Fo()("hidden "),g=pi()({allowTabNavigation:Zr()(!1),className:v},p),y=GA()("block-list__number",{"brand--background":!n}),b=GX.createElement(CK,{"aria-hidden":!0,className:y},h),_=GX.createElement(hO,{className:"block-list__bullet brand--color"}),w=GA()("block-list__checkbox",{"block-list__checkbox--checked":d,"block-list__checkbox--legacy":!n,"brand--background":!n&&d,"brand--border":!n}),k=GX.createElement("div",{className:w},GX.createElement(CK,{className:"block-list__checkbox__icon icon icon-checkmark-valid",contrastRequirement:"graphicalUiComponentsAA",tag:"i"}),GX.createElement("div",{"aria-checked":d,"aria-labelledby":f,className:"block-list__checkbox__hitarea",onClick:this.checkBox.bind(this),onKeyDown:TW(this.checkBox.bind(this)),role:"checkbox",tabIndex:0})),E=Dl()([[Ua()("numbered"),Zr()(b)],[Ua()("bulleted"),Zr()(_)],[Ua()("checkboxes"),Zr()(k)],[bb(),Zr()(b)]]);return GX.createElement("li",{role:"listitem",ref:function(t){return e.animateRef=t},className:"block-list__item ".concat(u),style:l},GX.createElement("div",{className:"block-list__content__left"},E(r),this.renderText(g)),this.renderIdentifier(m),this.renderItemText({paragraphProps:p}))}}],[{key:"defaultProps",get:function(){return{className:""}}}]),n}(GX.Component),n$=ZX(t$),r$=function(e){return GX.createElement(JX,Et({type:"checkboxes"},e))},i$=function(e){return GX.createElement(JX,Et({type:"bulleted"},e))},o$=function(){return window.innerWidth},a$=function(){return window.innerHeight},s$=function(e,t,n){return n.setAttribute(e,t)},u$=function(e,t){for(var n,r=(null===(n=t.parentNode)||void 0===n?void 0:n.children)||[],i=0;i<r.length;i++){var o=r[i];o&&o!==t&&e(o)}},l$=function(e,t){t.removeAttribute(e)},c$=function(e,t,n,r){r.style.setProperty(t,n,e)},d$=function(e){return document.createElement(e)},f$=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)},p$=function(e,t){return t.appendChild(e)},h$=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)},m$=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)},v$=function(e,t,n){var r=o$()/(e+n),i=a$()/(t+n);return Math.min(r,i)},g$=function(e){var t,n,r,i,o,a,s,u,l,c,d=kt()({closeText:"Unzoom image",modalText:"Zoomed item",overlayBgColor:"#fff",overlayOpacity:1,transitionDuration:300,zoomMargin:0,zoomZindex:2147483647},e),f=[],p="UNLOADED",h=d.transitionDuration,m=function(e){var t,n,r=e?0:h,o=(t=i)?t.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},s=o.height,u=o.left,l=o.top,c=o.width,f=i,m=f.naturalHeight,v=f.naturalWidth,g=function(e,t){return function(e){return e.style}(t)[e]}("transform",i),y=_$.test(i.currentSrc);if("LOADED"!==p)n="scale(1) translate(0,0)"+(g?" ".concat(g):"");else{var b,_,w=y$(c,v,s,m,y,d.zoomMargin),k=(o$()/2-(u+c/2))/w,E=(a$()/2-(l+s/2))/w;n=St()(b=St()(_="scale(".concat(w,") translate(")).call(_,k,"px,")).call(b,E,"px)")+(g?" ".concat(g):"")}s$("style","position:absolute;"+"width:".concat(c,"px;")+"height:".concat(s,"px;")+"left:".concat(u,"px;")+"top:".concat(l,"px;")+"transition:transform ".concat(r,"ms ease;")+"-webkit-transform:".concat(n,";")+"-ms-transform:".concat(n,";")+"transform:".concat(n,";"),a)},v=function(){c$("","visibility","",i),p="UNLOADED",m(!0),S(),k$(l),l=void 0},g=function(){k$(r)},y=function(e){b$(e)&&(e.stopPropagation(),C())},b=function(){"LOADED"===p?C():"UNLOADING"===p&&m(!1)},_=function(){m(!0)},w=function(){k$(r)},k=function(){C()},E=function(){C()},x=function(){s=function(){var e=d$("div");s$("data-iz-overlay","",e),s$("style","position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;"+"z-index:".concat(d.zoomZindex,";"),e),f$("click",E,e),c=d$("div");var i=d$("div");return s$("aria-label",d.modalText,i),s$("aria-modal","true",i),s$("role","dialog",i),t=d$("div"),s$("tabindex","0",t),f$("focus",w,t),n=d$("div"),s$("tabindex","0",n),f$("focus",w,n),r=d$("button"),s$("aria-label",d.closeText,r),s$("style","position:absolute;touch-action:manipulation;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;margin:0;padding: 0;top:0;right:0;bottom:0;left:0;height:100%;width:100%;cursor:pointer;cursor:-webkit-zoom-out;cursor:zoom-out;z-index:1;",r),s$("type","button",r),f$("click",k,r),p$(r,i),a=d$("div"),p$(o,a),p$(a,i),p$(c,e),p$(t,e),p$(i,e),p$(n,e),e}(),p$(s,document.body),f$("keydown",y,document),f$("scroll",b,window),f$("resize",_,window),c$("","visibility","hidden",i),f$("transitionend",g,a),p="LOADED",m(!1),s&&u$((function(e){if(!w$(e)){var t=function(e,t){return t.getAttribute(e)}("aria-hidden",e);t&&f.push([e,t]),s$("aria-hidden","true",e)}}),s),s$("style","position:absolute;top:0;right:0;bottom:0;left:0;"+"background-color:".concat(d.overlayBgColor,";")+"transition:opacity ".concat(h,"ms ease;")+"opacity:0;",c),c$("","opacity",d.overlayOpacity,c)},S=function(){var e,l;h$("resize",_,window),h$("scroll",b,window),h$("keydown",y,document),o&&h$("load",x,o),a&&(h$("transitionend",v,a),h$("transitionend",g,a)),r&&h$("click",k,r),t&&h$("focus",w,t),n&&h$("focus",w,n),s&&(h$("click",E,s),e=s,(l=document.body).contains(e)&&l.removeChild(e)),u&&u.removeListener(T),f=[],t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,u=void 0,c=void 0,p="UNLOADED"},T=function(){h=0},C=function(){var e;"LOADED"===p?(null==(e=r)||e.blur(),s&&u$((function(e){w$(e)||l$("aria-hidden",e)}),s),f.forEach((function(e){var t=Dr(e,2),n=t[0],r=t[1];n&&s$("aria-hidden",r,n)})),f=[],f$("transitionend",v,a),p="UNLOADING",m(!1),c$("","opacity","0",c)):m(!1)};return(u=window.matchMedia("(prefers-reduced-motion:reduce)")).addListener(T),{cleanup:function(){S()},zoom:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("UNLOADED"===p){for(var r in i=e,l=t,n)d[r]=n[r];o=m$(!0,e),l$("id",o),s$("data-iz-zoomed","",o),c$("","max-width","100%",o),c$("","max-height","100%",o),c$("","width","100%",o),c$("","height","auto",o),f$("load",x,o)}}}},y$=function(e,t,n,r,i,o){return!i&&r&&t?function(e,t,n,r,i){var o=v$(t,r,i),a=t>r?t/e:r/n;return o>1?a:o*a}(e,t,n,r,o):v$(e,n,o)},b$=function(e){return"Escape"===e.key||27===e.keyCode},_$=/\.svg$/i,w$=function(e){var t=e.tagName;return"SCRIPT"===t||"NOSCRIPT"===t||"STYLE"===t},k$=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)}.bind(null,{preventScroll:!0}),E$=function(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.className,i=e.desc,o=e.height,a=e.role,s=void 0===a?"img":a,u=e.title,l=e.width;return v.createElement("svg",{"aria-hidden":t,"aria-label":n,className:r,focusable:"false",height:o,role:s,viewBox:"0 0 493 493",width:l,xmlns:"http://www.w3.org/2000/svg"},u&&v.createElement("title",null,u),i&&v.createElement("desc",null,i),v.createElement("path",{d:"M72.1125 306.317L102.113 306.318L102.112 369.127L369.124 102.115L306.316 102.115L306.315 72.1142L420.31 72.1149L420.311 186.11L390.311 186.109L390.311 123.355L123.352 390.313L186.107 390.312L186.108 420.313L72.1125 420.313V306.317Z"}))},x$=function(e){var t=e.align,n=e.alt,r=e.allowTabNavigation,i=void 0===r||r,o=e.asyncCn,a=void 0!==o&&o,s=e.caption,u=e.disableZoom,l=e.imageKey,c=e.fileName,d=e.labels,f=e.onLoad,p=e.shouldFillWidth,h=e.src,m=(0,v.useRef)(),g=(0,v.useRef)(),y=(0,v.useRef)(),b=dA({alt:n,caption:s,fileName:c,key:l}),_=i&&!u,w=GA()("img-img",{"img-img--left":"left"===t,"img-img--right":"right"===t,"img-img--center":!t||"center"===t,"img-img--fill":p,"img--zoom":_});y.current=w;var k=Dr((0,v.useState)(w),2),E=k[0],x=k[1],S=(0,v.useCallback)((function(e){g.current.zoom(m.current,e.currentTarget,{})}),[]),T=(0,v.useCallback)((function(){x(y.current),null==f||f()}),[x,f]),C=(0,v.useCallback)((function(){var e=g$({closeText:null==d?void 0:d.a11yUnzoomImage,modalText:null==d?void 0:d.a11yZoomImage});return g.current=e,function(){e.cleanup()}}),[d]),A=(0,v.useCallback)((function(){p||x(y.current)}),[x,p]);(0,v.useEffect)(C,[]),(0,v.useEffect)(A,[t]);var O=_?S:void 0;return v.createElement("div",{className:"img"},v.createElement("img",{alt:b,className:a?E:y.current,onClick:O,onLoad:f||T,ref:m,role:"img",src:h}),_&&v.createElement("button",{"aria-label":null==d?void 0:d.a11yZoomImage,className:"img__btn visually-hidden",onClick:S,type:"button"},v.createElement(E$,{"aria-hidden":"true",className:"img__btn-symbol"})))},S$=(0,v.memo)(x$),T$=__webpack_require__(67294);function C$(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var A$=tF,O$=NR("rise-auto-calc-contrast","fusion"),N$=function(e){gt(n,e);var t=C$(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(ft(r)),r}return dt(n,[{key:"renderCaption",value:function(e,t){return T$.createElement(xK,{className:"block-image__caption brand--body brand--linkColor",value:t})}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.editable,r=e.fusion,i=e.isLastBlock,o=e.isLearner,a=e.items,s=e.type,u=e.labels,l=e.settings,c=e.renderCaption,d=void 0===c?this.renderCaptionDelegate:c,f=l.backgroundColor,p=l.entranceAnimation,h=l.zoomOnClick,m=GA()("block-image block-image--".concat(s),{"block-image--no-animation":!p,"block-image--dark":kC(f),"block-image--legacy":!r}),v=a[0],g=v.id,y=v.caption,b=bX()(v,"media.image.alt"),_=bX()(v,"media.image.key"),w=eS(bX()(v,"media.image")),k=LY({caption:y,editable:n,id:g}),E=bX()(v,"media.image.originalUrl"),x=i?50:300;return T$.createElement(zK,{className:m,"data-ba":A$.blockImage},T$.createElement("div",{className:"block-image__container"},T$.createElement("div",{className:"block-image__row"},T$.createElement("div",{className:"block-image__col"},T$.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:o,offset:x},T$.createElement(k.tagName,{"aria-labelledby":k.figcaptionId,className:"block-image__figure",role:k.role},T$.createElement("div",{className:"block-image__image"},T$.createElement(S$,{alt:b,caption:y,disableZoom:!h,fileName:E,imageKey:_,labels:u,src:w})),(n||y)&&T$.createElement("figcaption",{id:k.figcaptionId},d(g,y))))))))}}],[{key:"defaultProps",get:function(){return{type:"hero",editable:!1,lessonId:"",blockId:"",items:[]}}}]),n}(T$.Component),P$=O$(N$),I$=function(e){gt(n,e);var t=C$(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderParagraphDelegate=r.renderParagraph.bind(ft(r)),r.renderCaptionDelegate=r.renderCaption.bind(ft(r)),r}return dt(n,[{key:"renderParagraph",value:function(e,t){return T$.createElement(xK,{className:"block-image__text brand--body brand--linkColor",value:t})}},{key:"renderCaption",value:function(e,t){return T$.createElement(xK,{className:"block-image__caption brand--body brand--linkColor",value:t})}},{key:"renderImage",value:function(e,t,n,r){var i=this.props,o=i.editable,a=i.renderCaption,s=void 0===a?this.renderCaptionDelegate:a,u=bX()(n,"media.image.alt"),l=bX()(n,"media.image.key"),c=eS(bX()(n,"media.image")),d=LY({caption:t,editable:o,id:e}),f=bX()(n,"media.image.originalUrl"),p=this.props,h=p.animateBlockEntrance,m=p.isLearner,v=p.labels,g=p.settings.zoomOnClick;return T$.createElement(GK,{animateBlockEntrance:h,animateIn:"right"===r?"fadeInRight":"fadeInLeft",isLearner:m},T$.createElement(d.tagName,{"aria-labelledby":d.figcaptionId,className:"block-image__figure",role:d.role},T$.createElement("div",{className:"block-image__image"},T$.createElement(S$,{alt:u,caption:t,disableZoom:!g,fileName:f,imageKey:l,labels:v,src:c})),(o||t)&&T$.createElement("figcaption",{id:d.figcaptionId},s(e,t))))}},{key:"render",value:function(){var e=this.props,t=e.items,n=e.fusion,r=e.settings,i=e.type,o=e.renderParagraph,a=void 0===o?this.renderParagraphDelegate:o,s=r.backgroundColor,u=r.entranceAnimation,l=r.imagePosition,c=r.imageSize,d="right"===l,f=GA()("block-image block-image--".concat(i),{"block-image--small":"small"===c,"block-image--large":"large"===c,"block-image--reverse":d,"block-image--no-animation":!u,"block-image--legacy":!n,"block-image--dark":kC(s)}),p=t[0],h=p.id,m=p.caption,v=p.paragraph;return T$.createElement(zK,{className:f,"data-ba":A$.blockImage},T$.createElement("div",{className:"block-image__container"},T$.createElement("div",{className:"block-image__row"},T$.createElement("div",{className:"block-image__col"},d?a(h,v):this.renderImage(h,m,p,"left")),T$.createElement("div",{className:"block-image__col"},d?this.renderImage(h,m,p,"right"):a(h,v)))))}}],[{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"text-aside"}}}]),n}(T$.Component),L$=O$(I$),M$=function(e){gt(n,e);var t=C$(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(ft(r)),r.renderOverlayDelegate=r.renderOverlay.bind(ft(r)),r}return dt(n,[{key:"renderCaption",value:function(e,t){return T$.createElement(xK,{className:"block-image__caption brand--head brand--linkColor",value:t})}},{key:"renderOverlay",value:function(e,t){return T$.createElement(xK,{className:"block-image__paragraph brand--head brand--linkColor",value:t})}},{key:"renderOverlayCaption",value:function(e,t){var n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.renderOverlay,a=void 0===o?this.renderOverlayDelegate:o;return T$.createElement("div",{className:"block-image__container"},T$.createElement("div",{className:"block-image__row"},T$.createElement("div",{className:"block-image__col"},T$.createElement(GK,{animateBlockEntrance:r,animateIn:"fadeInUp",isLearner:i,duration:1},a(e,t)))))}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.editable,r=e.fusion,i=e.isLearner,o=e.items,a=e.settings,s=e.type,u=e.renderCaption,l=void 0===u?this.renderCaptionDelegate:u,c=a.backgroundColor,d=a.entranceAnimation,f=a.opacity,p=a.opacityColor,h=GA()("block-image block-image--".concat(s),{"block-image--no-animation":!d,"block-image--legacy":!r,"block-image--dark":kC(c)}),m={opacity:f||.6,backgroundColor:p||"transparent"},v=o[0],g=v.id,y=v.caption,b=bX()(v,"media.image.key"),_=eS(bX()(v,"media.image")),w=bX()(v,"media.image.alt"),k=bX()(v,"media.image.originalUrl"),E=dA({alt:w,caption:y,fileName:k,key:b}),x="overlay"===s,S=LY({caption:y,editable:n,id:g,isOverlayType:x});return T$.createElement(zK,{tag:S.tagName,"aria-labelledby":S.figcaptionId,className:h,"data-ba":A$.blockImage,role:S.role},function(e,t,n,r){return t?r:T$.createElement(GK,{animateBlockEntrance:e,animateIn:"fadeIn",isLearner:n,duration:1},r)}(t,x,i,T$.createElement("div",{className:"block-image__figure"},b&&T$.createElement("div",{className:"block-image__image",style:{backgroundImage:"url('".concat(_,"')")}},T$.createElement("img",{src:_,alt:E,role:"img"}),T$.createElement("div",{className:"block-image__overlay",style:m})),x?this.renderOverlayCaption(g,y,s):null)),!x&&(n||y)&&T$.createElement("figcaption",{className:"block-image__container brand--body",id:S.figcaptionId},l(g,y)))}}],[{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"full"}}}]),n}(T$.Component),R$=O$(M$),D$=function(e){return T$.createElement(R$,Et({type:"overlay"},e))};function q$(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var j$=tF;var F$=pe()(NR("rise-auto-calc-contrast","fusion"),(function(e){var t=function(t){gt(r,t);var n=q$(r);function r(){var e,t;nt(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(t=n.call.apply(n,St()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind(ft(t)),t}return dt(r,[{key:"renderCaption",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return v.createElement(xK,{className:"block-gallery__caption brand--body brand--linkColor",value:t,allowTabNavigation:n})}},{key:"render",value:function(){var t=this.props.renderCaption,n=void 0===t?this.renderCaptionDelegate:t;return v.createElement(e,Et({},this.props,{renderCaption:n}))}}]),r}(v.Component);return t.displayName="withCaption(".concat(e.displayName||e.name,")"),t})),B$=function(e){gt(n,e);var t=q$(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isDotKeyboardFocusDisabled:!1},r}return dt(n,[{key:"componentDidUpdate",value:function(){var e=this.sliderContainer.querySelector(".block-gallery__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(WY(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"onKeyDown",value:function(e){var t=this.slider;Dl()([[bW,t.slickNext.bind(t)],[yW,t.slickPrev.bind(t)]])(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,i=t.beforeChange,o=t.menuOpen,a=t.a11yCarouselNext,s=t.a11yCarouselPrevious,u={adaptiveHeight:!0,slidesToShow:1,slidesToScroll:1,arrows:n.length>1,nextArrow:v.createElement(U$,{a11yCarouselNext:a,menuOpen:o}),prevArrow:v.createElement(U$,{a11yCarouselPrevious:s,menuOpen:o,previous:!0}),dots:n.length>1,dotsClass:"block-gallery__dots-list brand--background-all brand--shadow-all",beforeChange:i};return v.createElement("div",{className:"block-gallery__slider-container",tabIndex:0,onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.sliderContainer=t}},v.createElement(_X.Z,Et({className:r,ref:function(t){e.slider=t}},u),n))}}]),n}(v.Component),U$=function(e){gt(n,e);var t=q$(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.onClick,n=e.previous,r=e.a11yCarouselNext,i=e.a11yCarouselPrevious,o=GA()("block-gallery__arrow",{"block-gallery__arrow--next":!n,"block-gallery__arrow--prev":n}),a=n?i:r;return v.createElement("div",{className:"block-gallery__controls"},v.createElement("button",{className:o,onClick:t,type:"button","aria-label":a},v.createElement(CK,{className:"block-gallery__arrow-icon",contrastRequirement:"graphicalUiComponentsAA",rule:"borderColor",tag:"span"})))}}],[{key:"defaultProps",get:function(){return{previous:!1}}}]),n}(v.Component),z$=function(e){gt(n,e);var t=q$(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"slickGoTo",value:function(e){this.slider.slickGoTo(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className;return v.createElement(_X.Z,Et({ref:function(t){e.slider=t},className:r},{adaptiveHeight:!0,slidesToShow:1,slidesToScroll:1,arrows:!1,fade:!0,draggable:!1,swipe:!1,accessibility:!1}),n)}}]),n}(v.Component),H$=function(e){var t=e.children;return v.createElement("div",{className:"block-gallery__container"},v.createElement("div",{className:"block-gallery__row--slide-row"},v.createElement("div",{className:"block-gallery__col"},t)))},V$=function(e){gt(n,e);var t=q$(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={currentIndex:0},r}return dt(n,[{key:"componentDidUpdate",value:function(){var e=PY(this.carousel.querySelectorAll(".slick-slide.slick-active button")),t=PY(this.carousel.querySelectorAll(".slick-slide:not(.slick-active) button"));e.forEach((function(e){var t=e.getAttribute("data-tabindex");t&&(e.tabIndex=t)})),t.forEach((function(e){e.setAttribute("data-tabindex",e.tabIndex),e.tabIndex=FY}))}},{key:"handleSlideChangeBefore",value:function(e,t){this.captions.slickGoTo(t),this.props.onStep(this.props.items[t]),this.setState({currentIndex:t})}},{key:"renderImages",value:function(e,t){var n=this,r=this.state.currentIndex;return Ra()(e).call(e,(function(e,i){var o=e.id,a=e.caption,s=i===r,u=bX()(e,"media.image.alt"),l=bX()(e,"media.image.originalUrl"),c=bX()(e,"media.image.key"),d=eS(bX()(e,"media.image"));return v.createElement("div",{key:o,className:"block-gallery__slide"},v.createElement(H$,null,v.createElement("div",{className:"block-gallery__figure"},v.createElement("div",{className:"block-gallery__image"},v.createElement(S$,{allowTabNavigation:s,alt:u,caption:a,disableZoom:!t,fileName:l,imageKey:c,labels:n.props.labels,src:d})))))}))}},{key:"renderCaptions",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.editable,i=n.renderCaption;return Ra()(e).call(e,(function(e,n){var o=e.id,a=e.caption,s=n===t;return v.createElement("div",{key:o,className:"block-gallery__slide"},a||r?v.createElement(H$,null,i(o,a,s)):null)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.fusion,i=t.isLearner,o=t.items,a=t.labels,s=t.type,u=t.settings,l=u.entranceAnimation,c=u.zoomOnClick,d=GA()("block-gallery block-gallery--".concat(s),{"block-gallery--no-animation":!l,"block-gallery--legacy":!r});return v.createElement(zK,null,v.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",offset:200,isLearner:i},v.createElement("div",{className:d,"data-ba":j$.blockGallery,ref:function(t){e.carousel=t}},v.createElement(B$,{className:"block-gallery__images",a11yCarouselNext:null==a?void 0:a.a11yCarouselNext,a11yCarouselPrevious:null==a?void 0:a.a11yCarouselPrevious,beforeChange:this.handleSlideChangeBefore.bind(this)},this.renderImages(o,c)),v.createElement(z$,{className:"block-gallery__captions",ref:function(t){e.captions=t}},this.renderCaptions(o)))))}}],[{key:"defaultProps",get:function(){return{type:"carousel",lessonId:"",blockId:"",items:[],onStep:Function.prototype}}}]),n}(v.Component),W$=F$(V$),Y$=function(e){gt(n,e);var t=q$(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.editable,r=e.isLearner,i=e.items,o=e.labels,a=e.settings,s=e.width,u=e.renderCaption,l=a.entranceAnimation,c=a.zoomOnClick,d=GA()("block-gallery block-gallery--".concat(function(e){switch(e){case 3:return"threecol";case 4:return"fourcol";default:return"twocol"}}(s)),{"block-gallery--no-animation":!l});return v.createElement(zK,{className:d,"data-ba":j$.blockGallery},v.createElement("div",{className:"block-gallery__container"},v.createElement("div",{className:"block-gallery__row"},v.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-gallery__col",isLearner:r,siblingDelay:.25},Ra()(i).call(i,(function(e){var r=e.id,i=e.caption,a=bX()(e,"media.image.alt"),s=bX()(e,"media.image.key"),l=eS(bX()(e,"media.image")),d=LY({caption:i,editable:n,id:r}),f=bX()(e,"media.image.originalUrl");return v.createElement("div",{key:r,className:t?"":"block-gallery__col"},v.createElement(d.tagName,{"aria-labelledby":d.figcaptionId,className:"block-gallery__figure",role:d.role},s&&v.createElement(K$,{alt:a,caption:i,disableZoom:!c,fileName:f,imageKey:s,labels:o,src:l}),(n||i)&&v.createElement("figcaption",{id:d.figcaptionId},u(r,i))))}))))))}}],[{key:"defaultProps",get:function(){return{blockId:"",items:[],lessonId:"",width:2}}}]),n}(v.Component),G$=F$(Y$),K$=function(e){var t=e.alt,n=e.caption,r=e.disableZoom,i=e.fileName,o=e.imageKey,a=e.labels,s=e.src,u=(0,v.useRef)(),l=(0,v.useRef)(),c=dA({alt:t,caption:n,fileName:i,key:o}),d=s?{backgroundImage:"url('".concat(s,"')")}:void 0,f=(0,v.useCallback)((function(e){l.current.zoom(u.current,e.currentTarget,{})}),[]);(0,v.useEffect)((function(){var e=g$({closeText:null==a?void 0:a.a11yUnzoomImage,modalText:null==a?void 0:a.a11yZoomImage});return l.current=e,function(){e.cleanup()}}),[a]);var p=GA()("block-gallery__image",{"img--zoom":!r}),h=r?void 0:f;return v.createElement("div",{className:p,style:d},v.createElement("div",{className:"img"},v.createElement("img",{alt:c,onClick:h,ref:u,role:"img",src:s})),!r&&v.createElement("button",{"aria-label":null==a?void 0:a.a11yZoomImage,className:"img__btn visually-hidden",onClick:f,type:"button"},v.createElement(E$,{"aria-hidden":"true",className:"img__btn-symbol"})))},X$=__webpack_require__(67294);function $$(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Z$=tF,Q$=function(e){gt(n,e);var t=$$(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.defaultBackgroundColor,n=void 0===t?"":t,r=e.labels.numberedDividerGroup,i=e.number,o=e.settings,a=e.type,s=o.paddingTop,u=o.paddingBottom,l=o.backgroundColor,c=o.entranceAnimation,d=GA()("block-divider block-divider--".concat(a," brand--afterHead"),{"block-divider--no-animation":!c}),f="numbered"===a,p=GA()("block-divider__wrap",{"brand--beforeBorder brand--afterBackground":f}),h={backgroundColor:wK(n,l),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*u,"px")},m=f?X$.createElement("span",{className:"visually-hidden"},r," ",i):null;return X$.createElement("div",{className:d,"data-ba":Z$.blockDivider,style:h},X$.createElement("div",{"aria-hidden":"true",className:p,"data-number":i}),m)}}],[{key:"defaultProps",get:function(){return{type:"divider"}}}]),n}(X$.Component),J$=function(e){return X$.createElement(Q$,Et({type:"numbered"},e))},eZ=function(e){return X$.createElement(Q$,Et({type:"spacing"},e))},tZ=__webpack_require__(61539),nZ=__webpack_require__.n(tZ),rZ=__webpack_require__(6087),iZ=__webpack_require__.n(rZ),oZ=__webpack_require__(79605),aZ=__webpack_require__.n(oZ),sZ=__webpack_require__(29454),uZ=__webpack_require__.n(sZ),lZ=__webpack_require__(17187);function cZ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var dZ,fZ,pZ="change",hZ=function(e){gt(n,e);var t=cZ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"isPlaying",get:function(){return this._isPlaying},set:function(e){this._isPlaying=e,this.emit("change")}},{key:"playerId",get:function(){return this._playerId},set:function(e){this._playerId=e}},{key:"pause",value:function(){this.isPlaying=!1}},{key:"isMuted",get:function(){return this._isMuted},set:function(e){this._isMuted=e,this.emit("change")}},{key:"mute",value:function(){this.isMuted=!1}},{key:"addChangeListener",value:function(e){this.on(pZ,e)}},{key:"removeChangeListener",value:function(e){this.removeListener(pZ,e)}}]),n}(lZ.EventEmitter),mZ=new hZ,vZ=(Oa()((function(e){return e.preventDefault()})),function(e){return function(t){return e(t),t.preventDefault()}}),gZ=function(e){return function(t){e(t),t.preventDefault(),function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}(t)}},yZ=[{title:"Course Overview",labels:St()(dZ=[{name:"courseStart",text:"START COURSE"},{name:"courseResume",text:"RESUME COURSE"}]).call(dZ,[{name:"courseDetails",text:"DETAILS"}])},{title:"Global",labels:St()(fZ=[{name:"courseHome",text:"Home"},{name:"lessonComplete",text:"80% COMPLETE"},{name:"lessonName",text:"Lesson 4 of 7"},{name:"lessonRestricted",text:"Lessons must be completed in order"},{name:"courseSkipToLesson",text:"SKIP TO LESSON"},{name:"search",text:"search"},{name:"results",text:"20 results"},{name:"result",text:"1 result"},{name:"noResults",text:'No results for "abc"'}]).call(fZ,[])},{title:"Quiz & Knowledge Check",labels:[{name:"quizStart",text:"START QUIZ"},{name:"quizAcceptableResponses",text:"Acceptable responses"},{name:"quizQuestion",text:"Question"},{name:"quizAnswerPlaceholder",text:"Type your answer here"},{name:"quizSubmit",text:"SUBMIT"},{name:"quizNext",text:"NEXT"},{name:"quizRestart",text:"RESTART"},{name:"quizIncorrect",text:"Incorrect"},{name:"quizCorrect",text:"Correct"},{name:"quizResults",text:"Quiz Results"},{name:"quizScore",text:"Your score 90%"},{name:"quizPassing",text:"PASSING 80%"},{name:"quizTakeAgain",text:"TAKE AGAIN"},{name:"quizRequirePassingScore",text:"Must pass quiz before continuing"},{name:"quizContinue",text:"Continue"}]},{title:"Process",labels:[{name:"processStepName",text:"Step 3 of 6"},{name:"processNextStep",text:"NEXT STEP"},{name:"processLessonName",text:"Lesson 5 Complete"},{name:"processStart",text:"START"},{name:"processStartAgain",text:"START AGAIN"},{name:"processSwipe",text:"Swipe to continue"}]},{title:"Sorting",labels:[{name:"sortingCardsCorrect",text:"6/8 Cards Correct"},{name:"sortingReplay",text:"REPLAY"}]},{title:"Embeds",labels:[{name:"embedViewOn",text:"VIEW ON YOUTUBE"},{name:"embedReadMore",text:"Read more"}]},{title:"Flashcards",labels:[{name:"blocksClickToFlip",text:"Click cards to flip"},{name:"blocksPreposition",text:"1 of 3"}]},{title:"Scenario",labels:[{name:"scenarioTryAgain",text:"TRY AGAIN"},{name:"scenarioContinue",text:"CONTINUE"},{name:"scenarioComplete",text:"Scenario Complete"},{name:"scenarioStartOver",text:"START OVER"}]},{title:"Exit Course (LMS)",labels:[{name:"courseExit",text:"EXIT COURSE"},{name:"salutation",text:"👋 Bye!"},{name:"exitMessage",text:"You may now leave this page."}]}],bZ=wa()(bi()(Gn()("labels")),gi(),bi()((function(e){var t={};return t[e.name]=e.text,t})),CE())(yZ);function _Z(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var wZ=function(e){var t=e.currentTime,n=e.duration;return Math.round(t/n*100)||0},kZ=function(e){gt(n,e);var t=_Z(n);function n(){var e;return nt(this,n),(e=t.call(this)).state={shouldLoadPlayheadPosition:!0,playheadPositionSaveThrottle:0},e.handleChange=e.handleChange.bind(ft(e)),e.onPlayClick=e.onPlayClick.bind(ft(e)),e}return dt(n,[{key:"mouseSeek",value:function(e){var t=e.currentTarget,r=e.nativeEvent,i=e.pageX,o=this.audio,a=(r.touches?r.touches[0].pageX:i)-n.getElementOffset(t).left,s=t.offsetWidth,u=o.duration;a>s?a=s:a<1&&(a=1),isNaN(a/s*u)||0===s||(o.currentTime=a/s*u,this.props.onSeek(n.timeMs(o.currentTime)))}},{key:"keySeek",value:function(e){var t=this;this.setState({isSeeking:!0},(function(){var r=t.audio,i=r.duration;r.currentTime=e<0?Math.max(r.currentTime+e,0):Math.min(r.currentTime+e,i),t.props.onSeek(n.timeMs(r.currentTime)),t.onSeekEnd()}))}},{key:"componentDidMount",value:function(){mZ.addChangeListener(this.handleChange)}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&mZ.isPlaying&&(this.audio.pause(),mZ.pause())}},{key:"componentWillUnmount",value:function(){var e=this.props.recordMediaPlayheadPosition;mZ.pause(),mZ.removeChangeListener(this.handleChange),e&&e(wZ(this.audio))}},{key:"handleChange",value:function(){mZ.playerId===this.props.id&&(mZ.isPlaying?this.audio.play():this.audio&&this.audio.pause(),this.audio&&(this.audio.muted=mZ.isMuted),this.forceUpdate())}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.id,i=t.labels,o=t.mediaSrc,a=mZ.isPlaying&&mZ.playerId===r,s=GA()("audio-player__play",{"audio-player__play--pause":a}),u=Il()(null,["audio","currentTime"],this),l=Il()(null,["audio","duration"],this),c=zY(n),d=i.a11yGroupAudioPlayer,f=i.a11yMediaPlay,p=i.a11yMediaPause,h=i.a11yMediaSeek;return v.createElement("div",{key:"player-"+r,className:"audio-player"},v.createElement("div",{"aria-hidden":!n,"aria-label":d,className:"audio-player__housing",onKeyDown:this.onKeyDown.bind(this),role:IY,tabIndex:c},v.createElement(CK,{"aria-label":a?p:f,className:s,onClick:this.onPlayClick,role:"button",tabIndex:c}),v.createElement(CK,{className:"audio-player__tracker",onMouseDown:this.onMouseSeekStart.bind(this),onTouchStart:this.onMouseSeekStart.bind(this),onMouseUp:this.onSeekEnd.bind(this),onTouchEnd:this.onSeekEnd.bind(this),onMouseMove:this.onSeek.bind(this),onTouchMove:this.onSeek.bind(this)},v.createElement("div",{ref:function(t){return e.trackerbar=t},className:"audio-player__tracker-bar"}),v.createElement(CK,{className:"audio-player__tracker-handle","aria-label":h,"aria-live":"polite","aria-valuemax":l,"aria-valuemin":"0","aria-valuenow":u,ref:function(t){return e.trackerhandle=t},role:"slider",tabIndex:c})),v.createElement("div",{className:"audio-player__timer"},this.state.currentTime)),v.createElement("audio",{ref:function(t){return e.audio=t},className:"audio-player__audio-element",onTimeUpdate:this.onTimeUpdate.bind(this),onLoadedMetadata:this.onLoadedMetadata.bind(this),onEnded:this.onEnded.bind(this),src:er("".concat(o)),key:"audio-"+r}))}},{key:"onKeyDown",value:function(e){var t=this,n=gZ(this.onPlayClick),r=gZ((function(){return t.keySeek(5)})),i=gZ((function(){return t.keySeek(-5)}));Dl()([[wW,n],[kW,r],[EW,i]])(e)}},{key:"onPlayClick",value:function(e){e.preventDefault();var t=this.props,r=t.audioVideoPlayhead,i=t.id,o=t.onPause,a=t.onPlay,s=t.recordMediaPlayheadPosition,u=this.audio,l=u.currentTime,c=u.duration;mZ.isPlaying&&mZ.playerId!==i&&(mZ.isPlaying=!1),mZ.playerId=i,mZ.isPlaying=!mZ.isPlaying,mZ.isPlaying?(a(n.timeMs(l)),r&&this.state.shouldLoadPlayheadPosition&&(this.audio.currentTime=c*r/100||0)):(o(n.timeMs(l)),s&&s(wZ(this.audio))),this.setState({shouldLoadPlayheadPosition:!1})}},{key:"onMouseSeekStart",value:function(e){this.setState({isSeeking:!0}),this.mouseSeek(e)}},{key:"onSeekEnd",value:function(){var e=this.props,t=e.id,r=e.onPlay,i=e.recordMediaPlayheadPosition,o=this.audio.currentTime;this.setState({isSeeking:!1}),mZ.isPlaying&&mZ.playerId!==t&&(mZ.isPlaying=!1),mZ.playerId=t,mZ.isPlaying=!0,r(n.timeMs(o)),i&&i(wZ(this.audio))}},{key:"onSeek",value:function(e){this.state.isSeeking&&this.mouseSeek(e)}},{key:"onLoadedMetadata",value:function(e){this.setState({currentTime:n.calcTime(e.target.duration,e.target.currentTime)}),(0,this.props.onLoad)()}},{key:"onEnded",value:function(e){this.audio.currentTime=0,this.setState({currentTime:n.calcTime(e.target.duration,e.target.currentTime)}),mZ.isPlaying=!1,this.props.onEnd(n.timeMs(e.target.currentTime)),this.forceUpdate()}},{key:"onTimeUpdate",value:function(e){var t=this.props.recordMediaPlayheadPosition,r=e.target,i=r.currentTime,o=r.duration,a=Math.floor(i);or();var s=i/o*100;this.trackerbar.style.width=s+"%",this.trackerhandle.style.left=s+"%",this.setState({currentTime:n.calcTime(o,i)}),a%5==0&&this.state.playheadPositionSaveThrottle!==a&&t&&(t(wZ(e.target)),this.setState({playheadPositionSaveThrottle:a}))}},{key:"currentTime",value:function(){return n.timeMs(this.audio.currentTime)}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{pauseButtonLabel:bZ.pauseButtonLabel,playButtonLabel:bZ.playButtonLabel,seekSliderLabel:bZ.seekSliderLabel},mediaSrc:null,onEnd:function(){},onLoad:function(){},onPause:function(){},onPlay:function(){},onSeek:function(){},shouldPause:!1}}},{key:"calcTime",value:function(e,t){var n=Math.round(e-t),r=Math.floor(n/60),i=n-60*r;function o(e,t,n){var r;return Nr()(r=new Array(n+1).join(t)+e).call(r,-n)}return o(r,"0",2)+":"+o(i,"0",2)}},{key:"getElementOffset",value:function(e){var t=document.documentElement,n=e.getBoundingClientRect();return{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}}},{key:"timeMs",value:function(e){return Math.round(1e3*e)}}]),n}(v.Component),EZ=playerjs,xZ=__webpack_require__.n(EZ),SZ=__webpack_require__(8575),TZ=__webpack_require__(65605),CZ=__webpack_require__(3362),AZ=__webpack_require__.n(CZ),OZ=__webpack_require__(98038),NZ=__webpack_require__.n(OZ),PZ=__webpack_require__(33796),IZ=__webpack_require__.n(PZ),LZ=__webpack_require__(54547),MZ=__webpack_require__.n(LZ),RZ=__webpack_require__(79963),DZ=__webpack_require__.n(RZ),qZ=__webpack_require__(60830),jZ=__webpack_require__.n(qZ),FZ=IZ()(Ua(),["http","https"]),BZ=lo()(SE(),yo()(":")),UZ=lo()(Zo()(MZ()(AZ()),FZ),NZ()),zZ=lo()(DZ()(jZ()("//"),UZ),BZ),HZ=Nl()((function(e){return lo()(function(e){return Pa()(function(e,t){return function(n){return!e(n)||t(n)}}(e,zZ),Zr()(""))}(e),TZ.htmlDecode,li)})),VZ=HZ(bb()),WZ=__webpack_require__(8727),YZ=__webpack_require__.n(WZ),GZ=Lb,KZ=Mb,XZ=(Ro()("type","embed"),YZ()("type","embedType"),wE()(/http:/i,"https:"),wa()(Il()({},[0]),Xo()(Wn()(["media","embed","embedType"]),Wn()(["media","embed","type"])))),$Z=Xo()(Gn()("embedType"),Gn()("type")),ZZ=(Xo()(pe()(Hx()(GZ),ui),Hx()(KZ)),__webpack_require__(67294));function QZ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var JZ=function(e){var t,n=Xn("CDN_USER_CONTENT_URI"),r=new RegExp(Xn("CDN_URI"),"g");return rr()?e:r.test(e)?St()(t="".concat(n)).call(t,SZ.parse(e).path):e},eQ=/^\/\/cdn.embedly.+src=.*\.typeform\.com%2F/,tQ=pe()(La()((function(e){return eQ.test(e)}),(function(e){var t=new(s_())("https:"+e);return t.searchParams.set("src",t.searchParams.get("src")+"&disable-auto-focus=true"),t.toString().replace("https:","")})),La()(Jr(),er),VZ),nQ=function(e){gt(n,e);var t=QZ(n);function n(e){var r;nt(this,n);var i=(r=t.call(this,e)).props.data,o=null==i?void 0:i.useRelativePath;return r.state={isReady:!1,duration:0,useRelativePath:o},r}return dt(n,[{key:"componentDidMount",value:function(){var e=this.props.allowTabNavigation;this.iFrameContainer&&!e&&this.updateIframeFocusability({allowFocus:!1})}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&mZ.isPlaying&&(this.player.pause(),mZ.isPlaying=!1)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.data,n=e.data,r=t.originalUrl!==n.originalUrl,i=this.props.allowTabNavigation,o=e.allowTabNavigation,a=i!==o;r&&"video"===$Z(t)&&this.teardownPlayer(),void 0===t.useRelativePath&&n.useRelativePath&&this.setState({useRelativePath:n.useRelativePath}),this.iFrameContainer&&a&&this.updateIframeFocusability({allowFocus:o})}},{key:"componentWillUnmount",value:function(){"video"===$Z(this.props.data)&&this.teardownPlayer()}},{key:"setupPlayer",value:function(){var e=this;this.player=new(xZ().Player)(this.media),this.props.progressChanged&&this.player.on("ready",this.videoReady=function(){e.player.on("timeupdate",e.videoUpdate=function(t){e.props.progressChanged({done:t.seconds/t.duration*100})}),e.setState({isReady:!0})}),this.player.on("play",this.videoPlay=function(){var t=e.props.id;mZ.isPlaying&&mZ.playerId!==t&&(mZ.isPlaying=!1),mZ.playerId=t,mZ.isPlaying=!0}),mZ.addChangeListener(this.onChange=function(){var t=e.props.id;mZ.playerId===t&&(mZ.isPlaying?e.player.play():e.player.pause())})}},{key:"teardownPlayer",value:function(){mZ.isPlaying=!1,this.onChange&&mZ.removeChangeListener(this.onChange),this.player&&(this.player.off("play",this.videoPlay),this.player.off("ready",this.videoReady),this.player.off("timeupdate",this.videoUpdate))}},{key:"updateIframeFocusability",value:function(e){var t=e.allowFocus;VY({element:this.iFrameContainer,selector:"iframe",tabIndex:zY(t)})}},{key:"playerSupportsMethods",value:function(e){var t=this;return Ja()((function(e){return t.player.supports("method",e)}))(e)}},{key:"togglePlay",value:function(){var e=this;this.playerSupportsMethods(["play","pause"])&&this.player.on("ready",(function(){e.player.getPaused((function(t){t?e.player.play():e.player.pause()}))}))}},{key:"keySeek",value:function(e){var t=this;this.playerSupportsMethods(["getCurrentTime","setCurrentTime"])&&this.player.on("ready",(function(){t.player.getCurrentTime((function(n){t.player.setCurrentTime(n+e)}))}))}},{key:"changeVolume",value:function(e){var t=this;this.playerSupportsMethods(["getVolume","setVolume"])&&this.player.getVolume((function(n){t.player.setVolume(n+e)}))}},{key:"onKeyDown",value:function(e){var t=this,n=gZ(this.togglePlay.bind(this)),r=gZ((function(){return t.keySeek(5)})),i=gZ((function(){return t.keySeek(-5)})),o=gZ((function(){return t.changeVolume(10)})),a=gZ((function(){return t.changeVolume(-10)}));Dl()([[hW,n],[bW,r],[yW,i],[vW,o],[gW,a]])(e)}},{key:"renderProvider",value:function(){var e=this.props,t=e.allowTabNavigation,n=e.externalLinksDisabled,r=e.showExternalLinksModal,i=e.showMetaData,o=e.data,a=o.providerUrl,s=o.provider,u=o.favicon;if(!i||!a)return null;var l=VZ(a),c=n&&AM(l),d=c?"":void 0,f=c?r:void 0,p=c?void 0:l,h=c?void 0:"noopener noreferrer",m=c?"button":void 0,v=c?void 0:"_blank";return ZZ.createElement("h2",{className:"embed__provider"},ZZ.createElement("a",{className:"brand--hoverColor","data-external":d,href:p,onClick:f,rel:h,role:m,tabIndex:zY(t),target:v},ZZ.createElement("img",{className:"embed__providerIcon",src:u,alt:u?s:null}),ZZ.createElement("span",{className:"embed__providerName"},s)))}},{key:"renderMetaData",value:function(){var e,t,n=this.props,r=n.allowTabNavigation,i=n.data,o=n.externalLinksDisabled,a=n.labels,s=n.showExternalLinksModal,u=n.showMetaData,l=i.src,c=i.title,d=i.description,f=i.provider,p=a.embedReadMore,h=a.embedViewOn,m=$Z(i);if(!u&&"link"!==m)return null;var v=VZ(l),g=o&&AM(v),y={"data-external":g?"":void 0,href:g?void 0:v,onClick:g?s:void 0,rel:g?void 0:"noopener noreferrer",role:g?"button":void 0,tabIndex:zY(r),target:g?void 0:"_blank"};return ZZ.createElement("div",{className:"embed__meta__content"},ZZ.createElement(CK,{className:"embed__title brand--head",tag:"h2"},ZZ.createElement("a",Et({className:"brand--hoverColor"},y),ZZ.createElement($M,{value:c}))),ZZ.createElement(CK,{className:"embed__description brand--body brand--linkColor",tag:$M,value:d}),ZZ.createElement("a",Et({className:"embed__readMore brand--hoverColor"},y),"link"===m?St()(e="".concat(p," ")).call(e,f):St()(t="".concat(h," ")).call(t,f),ZZ.createElement("i",{className:"icon icon-chevron-right"})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.data,i=t.externalLinksDisabled,o=t.isLesson,a=t.labels,s=t.showExternalLinksModal,u=t.showMetaData,l=this.state.useRelativePath,c=r.description,d=r.src,f=r.thumbnail,p=r.title,h=a.embedLinkGroup,m=a.embedPlayerGroup,v=a.embedReadMore,g=$Z(r);if("iframe"!==g||l){if(o){var y,b=l?d:VZ(d),_=i&&AM(b),w=_?"":void 0,k=_?s:void 0,E=_?void 0:b,x=_?void 0:"noopener noreferrer",S=_?"button":void 0,T=_?void 0:"_blank";if(l){var C,A={"data-external":_?"":void 0,href:b,onClick:_?s:void 0,rel:_?void 0:"noopener noreferrer",role:_?"button":void 0,tabIndex:zY(n),target:_?void 0:"_blank"};return ZZ.createElement("div",{"aria-hidden":!n,"aria-label":null==a?void 0:a.a11yBlockEmbed,className:"embed embed--link embed--rich",role:IY},ZZ.createElement(CK,{className:"embed__title brand--head",tag:"h2"},ZZ.createElement("a",Et({className:"brand--hoverColor"},A),ZZ.createElement($M,{value:p}))),k_()(C=["link","photo"]).call(C,g)?ZZ.createElement("a",{className:"embed__relativeUrl--url","data-external":w,href:E,onClick:k,rel:x,role:S,tabIndex:zY(n),target:T},b,"photo"===g?ZZ.createElement("div",{className:"embed__relativeUrl--image"},ZZ.createElement("img",{alt:f?p:null,className:"embed__img",src:b})):null):this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:d,thumbnail:f,title:p,type:g}))}return ZZ.createElement("div",{"aria-hidden":!n,"aria-label":null==a?void 0:a.a11yBlockEmbed,className:"embed embed--link embed--rich",role:IY},this.renderProvider(),k_()(y=["link","photo"]).call(y,g)?ZZ.createElement("a",{"data-external":w,href:E,onClick:k,rel:x,role:S,tabIndex:zY(n),target:T},ZZ.createElement("img",{alt:f?p:null,className:"embed__img",src:JZ(f)})):this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:d,thumbnail:f,title:p,type:g}),this.renderMetaData())}if("link"===g){var O=l?d:VZ(d),N=l||i&&AM(O),P=N?"":void 0,I=N?s:void 0,L=N?void 0:O,M=N?void 0:"noopener noreferrer",R=N?"button":void 0,D=N?void 0:"_blank";return ZZ.createElement("div",{"aria-hidden":!n,"aria-label":h,className:"embed embed--link brand--head brand--linkColor",role:IY},ZZ.createElement($M,{className:"embed__title brand--head",value:p}),ZZ.createElement($M,{className:"embed__description",value:c}),ZZ.createElement("a",{className:"embed__readMore brand--hoverColor",dataExternal:P,href:L,onClick:I,rel:M,role:R,target:D},v))}return ZZ.createElement("div",{className:"embed embed--media brand--head"},u?ZZ.createElement($M,{"aria-hidden":!n,className:"embed__title brand--head",value:p}):null,this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:d,thumbnail:f,title:p,type:g}))}var q=document.createElement("div");q.innerHTML=ui(d);var j=q.firstChild,F=j&&j.tagName&&"iframe"===j.tagName.toLowerCase(),B=100,U=32,z=d;if(F){var H=j.width.match(/%/),V=parseInt(j.width);j.src=VZ(j.src),z=q.innerHTML,B=H?V/100*700:V||16,U=parseInt(j.height)}var W=F?"".concat(100*(U/B),"%"):"3rem",Y=F&&!l?z:"<div>Error: Invalid iframe tag. Please check the iframe source.</div>";return ZZ.createElement("div",{"aria-hidden":!n,"aria-label":m,className:"embed",role:IY},l&&ZZ.createElement("div",{className:"embed__title embed--iframe__title"},p),ZZ.createElement("div",{className:"embed--iframe",dangerouslySetInnerHTML:{__html:Y},style:{paddingBottom:W},ref:function(t){e.iFrameContainer=t}}))}},{key:"renderEmbedIframe",value:function(e){var t=this,n=e.allowTabNavigation,r=e.labels,i=e.src,o=e.thumbnail,a=e.title,s=e.type,u=this.state.useRelativePath;if("photo"===s)return ZZ.createElement("figure",{className:"embed__media-wrap embed__media-wrap--photo"},ZZ.createElement(S$,{src:JZ(o),title:a,labels:r,allowTabNavigation:n}));var l,c=lF.isIe11||lF.isEdge,d=GA()("embed__media-wrap",{"embed__media-wrap--ms_browser":c});return ZZ.createElement("figure",{"aria-hidden":!n,"aria-label":null==r?void 0:r.embedPlayerGroup,className:d,onKeyDown:this.onKeyDown.bind(this),ref:function(e){t.iFrameContainer=e},tabIndex:zY(n)},ZZ.createElement("iframe",{ref:function(e){t.media=e},className:"embed__media",src:u?St()(l="".concat(window.location.origin)).call(l,i):tQ(i),alt:a,frameBorder:"0",scrolling:u?"yes":"no",onLoad:this.setupPlayer.bind(this),allowFullScreen:!0,title:a}))}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{embedReadMore:bZ.embedReadMore,embedViewOn:"View on"},shouldPause:!1,showMetaData:!0}}}]),n}(ZZ.Component),rQ=nn(Ak()({externalLinksDisabled:Wn()(["course","externalLinksDisabled"])}),{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(nQ),iQ=__webpack_require__(78821),oQ=__webpack_require__.n(iQ),aQ=__webpack_require__(33072),sQ=__webpack_require__(27543);function uQ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var lQ=function(e){gt(n,e);var t=uQ(n);function n(e){var r;return nt(this,n),qr(ft(r=t.call(this,e,[])),"seekDisabled",!1),qr(ft(r),"maxTime",0),r}return dt(n,[{key:"disableSeek",value:function(){this.seekDisabled=!0}},{key:"setMaxTime",value:function(e){this.maxTime=e}},{key:"handleMouseMove",value:function(e){if(!this.seekDisabled)return v_(_t(n.prototype),"handleMouseMove",this).call(this,e);var t=this.player(),r=this.calculateDistance(e)*t.duration();r>this.maxTime?(this.trigger("showRestrictSeekTooltip",!0),r=this.maxTime):this.trigger("showRestrictSeekTooltip",!1),r===t.duration()&&(r-=.1),t.currentTime(r)}}]),n}(sQ.default.getComponent("SeekBar"));sQ.default.registerComponent("SeekBar",lQ);var cQ={ar:JSON.parse('{"Play":"تشغيل","Pause":"إيقاف","Current Time":"الوقت الحالي","Duration":"مدة","Remaining Time":"الوقت المتبقي","Stream Type":"نوع التيار","LIVE":"مباشر","Loaded":"تم التحميل","Progress":"التقدم","Fullscreen":"ملء الشاشة","Non-Fullscreen":"تعطيل ملء الشاشة","Mute":"صامت","Unmute":"غير الصامت","Playback Rate":"معدل التشغيل","Subtitles":"الترجمة","subtitles off":"إيقاف الترجمة","Captions":"التعليقات","captions off":"إيقاف التعليقات","Chapters":"فصول","You aborted the media playback":"لقد ألغيت تشغيل الفيديو","A network error caused the media download to fail part-way.":"تسبب خطأ في الشبكة بفشل تحميل الفيديو بالكامل.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"لا يمكن تحميل الفيديو بسبب فشل في الخادوم أو الشبكة ، أو فشل بسبب عدم إمكانية قراءة تنسيق الفيديو.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"تم إيقاف تشغيل الفيديو بسبب مشكلة فساد أو لأن الفيديو المستخدم يستخدم ميزات غير مدعومة من متصفحك.","No compatible source was found for this media.":"فشل العثور على أي مصدر متوافق مع هذا الفيديو.","Play Video":"تشغيل الفيديو","Close":"أغلق","Modal Window":"نافذة مشروطة","This is a modal window":"هذه نافذة مشروطة","This modal can be closed by pressing the Escape key or activating the close button.":"يمكن غلق هذه النافذة المشروطة عن طريق الضغط على زر الخروج أو تفعيل زر الإغلاق",", opens captions settings dialog":", تفتح نافذة  خيارات التعليقات",", opens subtitles settings dialog":", تفتح نافذة  خيارات الترجمة",", selected":", مختار","Audio Player":"مشغل الصوت","Video Player":"مشغل الفيديو","Replay":"إعادة التشغيل","Seek to live, currently behind live":"ذهاب إلى نقطة البث المباشر، متأخر عن البث المباشر حاليًا","Seek to live, currently playing live":"ذهاب إلى نقطة البث المباشر، البث المباشر قيد التشغيل حاليًا","Progress Bar":"شريط التقدم","Descriptions":"الأوصاف","descriptions off":"إخفاء الأوصاف","Audio Track":"المسار الصوتي","Volume Level":"مستوى الصوت","The media is encrypted and we do not have the keys to decrypt it.":"الوسائط مشفرة وليس لدينا الرموز اللازمة لفك شفرتها.","Close Modal Dialog":"إغلاق مربع الحوار المشروط",", opens descriptions settings dialog":"، يفتح مربع حوار إعدادات الأوصاف","captions settings":"إعدادات التعليقات التوضيحية","subtitles settings":"إعدادات الترجمات","descriptions settings":"إعدادات الأوصاف","Text":"النص","White":"أبيض","Black":"أسود","Red":"أحمر","Green":"أخضر","Blue":"أزرق","Yellow":"أصفر","Magenta":"أرجواني","Cyan":"أزرق سماوي","Background":"الخلفية","Window":"نافذة","Transparent":"شفاف","Semi-Transparent":"نصف شفاف","Opaque":"معتم","Font Size":"حجم الخط","Text Edge Style":"نمط حواف النص","None":"لا شيء","Raised":"بارز","Depressed":"منخفض","Uniform":"منتظم","Dropshadow":"ظل خلفي","Font Family":"عائلة الخطوط","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"إعادة الضبط","restore all settings to the default values":"استعادة كل الإعدادات إلى القيم الافتراضية","Done":"تم","Caption Settings Dialog":"مربع حوار إعدادات التعليقات التوضيحية","Beginning of dialog window. Escape will cancel and close the window.":"بداية نافذة مربع حوار. الضغط على زر \\"Escape\\" سيؤدي إلى الإلغاء وإغلاق النافذة.","End of dialog window.":"نهاية نافذة مربع حوار.","{1} is loading.":"{1} قيد التحميل."}'),cs:JSON.parse('{"Audio Player":"Audio Přehravač","Video Player":"Video Přehravač","Play":"Přehrát","Pause":"Pauza","Replay":"Spustit znovu","Current Time":"Aktuální čas","Duration":"Doba trvání","Remaining Time":"Zbývající čas","Stream Type":"Typ streamu","LIVE":"ŽIVĚ","Loaded":"Načteno","Progress":"Stav","Progress Bar":"Ukazatel průběhu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Celá obrazovka","Non-Fullscreen":"Běžné zobrazení","Mute":"Ztlumit zvuk","Unmute":"Zapnout zvuk","Playback Rate":"Rychlost přehrávání","Subtitles":"Titulky","subtitles off":"Bez titulků","Captions":"Popisky","captions off":"Popisky vypnuty","Chapters":"Kapitoly","Descriptions":"Popisy","descriptions off":"Bez popisů","Audio Track":"Zvuková stopa","Volume Level":"Hlasitost","You aborted the media playback":"Přehrávání videa bylo přerušeno.","A network error caused the media download to fail part-way.":"Video nemohlo být načteno kvůli chybě v síti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Video nemohlo být načteno, buď kvůli chybě serveru, sítě nebo proto, že daný formát není podporován.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Váš prohlížeč nepodporuje tento formát videa.","No compatible source was found for this media.":"Nevalidní zadaný zdroj videa.","The media is encrypted and we do not have the keys to decrypt it.":"Chyba při dešifrování videa.","Play Video":"Přehrát video","Close":"Zavřit","Close Modal Dialog":"Zavřít okno","Modal Window":"Modální okno","This is a modal window":"Toto je modální okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto okno se dá zavřít křížkem nebo klávesou Esc.",", opens captions settings dialog":", otevřít okno pro nastavení popisků",", opens subtitles settings dialog":", otevřít okno pro nastavení titulků",", opens descriptions settings dialog":", otevře okno pro nastavení popisků pro nevidomé",", selected":", vybráno","captions settings":"nastavení popisků","subtitles settings":"nastavení titulků","descriptions settings":"nastavení popisků pro nevidomé","Text":"Titulky","White":"Bílé","Black":"Černé","Red":"Červené","Green":"Zelené","Blue":"Modré","Yellow":"Žluté","Magenta":"Fialové","Cyan":"Azurové","Background":"Pozadí titulků","Window":"Okno","Transparent":"Průhledné","Semi-Transparent":"Poloprůhledné","Opaque":"Neprůhledné","Font Size":"Velikost písma","Text Edge Style":"Okraje písma","None":"Bez okraje","Raised":"Zvýšený","Depressed":"Propadlý","Uniform":"Rovnoměrný","Dropshadow":"Stínovaný","Font Family":"Rodina písma","Proportional Sans-Serif":"Proporcionální bezpatkové","Monospace Sans-Serif":"Monospace bezpatkové","Proportional Serif":"Proporcionální patkové","Monospace Serif":"Monospace patkové","Casual":"Hravé","Script":"Ručně psané","Small Caps":"Malé kapitálky","Reset":"Obnovit","restore all settings to the default values":"Vrátit nastavení do výchozího stavu","Done":"Hotovo","Caption Settings Dialog":"Okno s nastavením titulků","Beginning of dialog window. Escape will cancel and close the window.":"Začátek dialogového okna. Klávesa Esc okno zavře.","End of dialog window.":"Konec dialogového okna.","{1} is loading.":"{1} se načítá."}'),de:JSON.parse('{"Play":"Wiedergabe","Pause":"Pause","Replay":"Erneut abspielen","Current Time":"Aktueller Zeitpunkt","Duration":"Dauer","Remaining Time":"Verbleibende Zeit","Stream Type":"Streamtyp","LIVE":"LIVE","Loaded":"Geladen","Progress":"Status","Fullscreen":"Vollbild","Non-Fullscreen":"Vollbildmodus beenden","Mute":"Ton aus","Unmute":"Ton ein","Playback Rate":"Wiedergabegeschwindigkeit","Subtitles":"Untertitel","subtitles off":"Untertitel aus","Captions":"Untertitel","captions off":"Untertitel aus","Chapters":"Kapitel","You aborted the media playback":"Sie haben die Videowiedergabe abgebrochen.","A network error caused the media download to fail part-way.":"Der Videodownload ist aufgrund eines Netzwerkfehlers fehlgeschlagen.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Das Video konnte nicht geladen werden, da entweder ein Server- oder Netzwerkfehler auftrat oder das Format nicht unterstützt wird.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Die Videowiedergabe wurde entweder wegen eines Problems mit einem beschädigten Video oder wegen verwendeten Funktionen, die vom Browser nicht unterstützt werden, abgebrochen.","No compatible source was found for this media.":"Für dieses Video wurde keine kompatible Quelle gefunden.","Play Video":"Video abspielen","Close":"Schließen","Modal Window":"Modales Fenster","This is a modal window":"Dies ist ein modales Fenster","This modal can be closed by pressing the Escape key or activating the close button.":"Durch Drücken der Esc-Taste bzw. Betätigung der Schaltfläche \\"Schließen\\" wird dieses modale Fenster geschlossen.",", opens captions settings dialog":", öffnet Einstellungen für Untertitel",", opens subtitles settings dialog":", öffnet Einstellungen für Untertitel",", selected":", ausgewählt","captions settings":"Untertiteleinstellungen","subtitles settings":"Untertiteleinstellungen","descriptions settings":"Einstellungen für Beschreibungen","Close Modal Dialog":"Modales Fenster schließen","Descriptions":"Beschreibungen","descriptions off":"Beschreibungen aus","The media is encrypted and we do not have the keys to decrypt it.":"Die Entschlüsselungsschlüssel für den verschlüsselten Medieninhalt sind nicht verfügbar.",", opens descriptions settings dialog":", öffnet Einstellungen für Beschreibungen","Audio Track":"Tonspur","Text":"Schrift","White":"Weiß","Black":"Schwarz","Red":"Rot","Green":"Grün","Blue":"Blau","Yellow":"Gelb","Magenta":"Magenta","Cyan":"Türkis","Background":"Hintergrund","Window":"Fenster","Transparent":"Durchsichtig","Semi-Transparent":"Halbdurchsichtig","Opaque":"Undurchsichtig","Font Size":"Schriftgröße","Text Edge Style":"Textkantenstil","None":"Kein","Raised":"Erhoben","Depressed":"Gedrückt","Uniform":"Uniform","Dropshadow":"Schlagschatten","Font Family":"Schriftfamilie","Proportional Sans-Serif":"Proportionale Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportionale Serif","Monospace Serif":"Monospace Serif","Casual":"Zwanglos","Script":"Schreibschrift","Small Caps":"Small-Caps","Reset":"Zurücksetzen","restore all settings to the default values":"Alle Einstellungen auf die Standardwerte zurücksetzen","Done":"Fertig","Caption Settings Dialog":"Einstellungsdialog für Untertitel","Beginning of dialog window. Escape will cancel and close the window.":"Anfang des Dialogfensters. Esc bricht ab und schließt das Fenster.","End of dialog window.":"Ende des Dialogfensters.","Audio Player":"Audio-Player","Video Player":"Video-Player","Progress Bar":"Fortschrittsbalken","progress bar timing: currentTime={1} duration={2}":"{1} von {2}","Volume Level":"Lautstärke","{1} is loading.":"{1} wird geladen.","Seek to live, currently behind live":"Zur Live-Übertragung wechseln. Aktuell wird es nicht live abgespielt.","Seek to live, currently playing live":"Zur Live-Übertragung wechseln. Es wird aktuell live abgespielt.","Exit Picture-in-Picture":"Bild-im-Bild-Modus beenden","Picture-in-Picture":"Bild-im-Bild-Modus"}'),en:JSON.parse('{"Audio Player":"Audio Player","Video Player":"Video Player","Play":"Play","Pause":"Pause","Replay":"Replay","Current Time":"Current Time","Duration":"Duration","Remaining Time":"Remaining Time","Stream Type":"Stream Type","LIVE":"LIVE","Seek to live, currently behind live":"Seek to live, currently behind live","Seek to live, currently playing live":"Seek to live, currently playing live","Loaded":"Loaded","Progress":"Progress","Progress Bar":"Progress Bar","progress bar timing: currentTime={1} duration={2}":"{1} of {2}","Fullscreen":"Fullscreen","Non-Fullscreen":"Exit Fullscreen","Mute":"Mute","Unmute":"Unmute","Playback Rate":"Playback Rate","Subtitles":"Subtitles","subtitles off":"subtitles off","Captions":"Captions","captions off":"captions off","Chapters":"Chapters","Descriptions":"Descriptions","descriptions off":"descriptions off","Audio Track":"Audio Track","Volume Level":"Volume Level","You aborted the media playback":"You aborted the media playback","A network error caused the media download to fail part-way.":"A network error caused the media download to fail part-way.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"The media could not be loaded, either because the server or network failed or because the format is not supported.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.","No compatible source was found for this media.":"No compatible source was found for this media.","The media is encrypted and we do not have the keys to decrypt it.":"The media is encrypted and we do not have the keys to decrypt it.","Play Video":"Play Video","Close":"Close","Close Modal Dialog":"Close Modal Dialog","Modal Window":"Modal Window","This is a modal window":"This is a modal window","This modal can be closed by pressing the Escape key or activating the close button.":"This modal can be closed by pressing the Escape key or activating the close button.",", opens captions settings dialog":", opens captions settings dialog",", opens subtitles settings dialog":", opens subtitles settings dialog",", opens descriptions settings dialog":", opens descriptions settings dialog",", selected":", selected","captions settings":"captions settings","subtitles settings":"subtitles settings","descriptions settings":"descriptions settings","Text":"Text","White":"White","Black":"Black","Red":"Red","Green":"Green","Blue":"Blue","Yellow":"Yellow","Magenta":"Magenta","Cyan":"Cyan","Background":"Background","Window":"Window","Transparent":"Transparent","Semi-Transparent":"Semi-Transparent","Opaque":"Opaque","Font Size":"Font Size","Text Edge Style":"Text Edge Style","None":"None","Raised":"Raised","Depressed":"Depressed","Uniform":"Uniform","Dropshadow":"Dropshadow","Font Family":"Font Family","Proportional Sans-Serif":"Proportional Sans-Serif","Monospace Sans-Serif":"Monospace Sans-Serif","Proportional Serif":"Proportional Serif","Monospace Serif":"Monospace Serif","Casual":"Casual","Script":"Script","Small Caps":"Small Caps","Reset":"Reset","restore all settings to the default values":"restore all settings to the default values","Done":"Done","Caption Settings Dialog":"Caption Settings Dialog","Beginning of dialog window. Escape will cancel and close the window.":"Beginning of dialog window. Escape will cancel and close the window.","End of dialog window.":"End of dialog window.","{1} is loading.":"{1} is loading.","Exit Picture-in-Picture":"Exit Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture","No content":"No content"}'),es:JSON.parse('{"Play":"Reproducir","Play Video":"Reproducir Vídeo","Pause":"Pausa","Current Time":"Tiempo reproducido","Duration":"Duración total","Remaining Time":"Tiempo restante","Stream Type":"Tipo de secuencia","LIVE":"DIRECTO","Loaded":"Cargado","Progress":"Progreso","Fullscreen":"Pantalla completa","Non-Fullscreen":"Pantalla no completa","Mute":"Silenciar","Unmute":"No silenciado","Playback Rate":"Velocidad de reproducción","Subtitles":"Subtítulos","subtitles off":"Subtítulos desactivados","Captions":"Subtítulos especiales","captions off":"Subtítulos especiales desactivados","Chapters":"Capítulos","You aborted the media playback":"Ha interrumpido la reproducción del vídeo.","A network error caused the media download to fail part-way.":"Un error de red ha interrumpido la descarga del vídeo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"No se ha podido cargar el vídeo debido a un fallo de red o del servidor o porque el formato es incompatible.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La reproducción de vídeo se ha interrumpido por un problema de corrupción de datos o porque el vídeo precisa funciones que su navegador no ofrece.","No compatible source was found for this media.":"No se ha encontrado ninguna fuente compatible con este vídeo.","Audio Player":"Reproductor de audio","Video Player":"Reproductor de video","Replay":"Volver a reproducir","Seek to live, currently behind live":"Buscar en vivo, actualmente demorado con respecto a la transmisión en vivo","Seek to live, currently playing live":"Buscar en vivo, actualmente reproduciendo en vivo","Progress Bar":"Barra de progreso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Descriptions":"Descripciones","descriptions off":"descripciones desactivadas","Audio Track":"Pista de audio","Volume Level":"Nivel de volumen","The media is encrypted and we do not have the keys to decrypt it.":"El material audiovisual está cifrado y no tenemos las claves para descifrarlo.","Close":"Cerrar","Modal Window":"Ventana modal","This is a modal window":"Esta es una ventana modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta ventana modal puede cerrarse presionando la tecla Escape o activando el botón de cierre.",", opens captions settings dialog":", abre el diálogo de configuración de leyendas",", opens subtitles settings dialog":", abre el diálogo de configuración de subtítulos",", selected":", seleccionado","Close Modal Dialog":"Cierra cuadro de diálogo modal",", opens descriptions settings dialog":", abre el diálogo de configuración de las descripciones","captions settings":"configuración de leyendas","subtitles settings":"configuración de subtítulos","descriptions settings":"configuración de descripciones","Text":"Texto","White":"Blanco","Black":"Negro","Red":"Rojo","Green":"Verde","Blue":"Azul","Yellow":"Amarillo","Magenta":"Magenta","Cyan":"Cian","Background":"Fondo","Window":"Ventana","Transparent":"Transparente","Semi-Transparent":"Semitransparente","Opaque":"Opaca","Font Size":"Tamaño de fuente","Text Edge Style":"Estilo de borde del texto","None":"Ninguno","Raised":"En relieve","Depressed":"Hundido","Uniform":"Uniforme","Dropshadow":"Sombra paralela","Font Family":"Familia de fuente","Proportional Sans-Serif":"Sans-Serif proporcional","Monospace Sans-Serif":"Sans-Serif monoespacio","Proportional Serif":"Serif proporcional","Monospace Serif":"Serif monoespacio","Casual":"Informal","Script":"Cursiva","Small Caps":"Minúsculas","Reset":"Restablecer","restore all settings to the default values":"restablece todas las configuraciones a los valores predeterminados","Done":"Listo","Caption Settings Dialog":"Diálogo de configuración de leyendas","Beginning of dialog window. Escape will cancel and close the window.":"Comienzo de la ventana de diálogo. La tecla Escape cancelará la operación y cerrará la ventana.","End of dialog window.":"Final de la ventana de diálogo.","{1} is loading.":"{1} se está cargando.","Exit Picture-in-Picture":"Salir de imagen sobre imagen","Picture-in-Picture":"Imagen sobre imagen"}'),fr:JSON.parse('{"Audio Player":"Lecteur audio","Video Player":"Lecteur vidéo","Play":"Lecture","Pause":"Pause","Replay":"Revoir","Current Time":"Temps actuel","Duration":"Durée","Remaining Time":"Temps restant","Stream Type":"Type de flux","LIVE":"EN DIRECT","Loaded":"Chargé","Progress":"Progression","Progress Bar":"Barre de progression","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Plein écran","Non-Fullscreen":"Fenêtré","Mute":"Sourdine","Unmute":"Son activé","Playback Rate":"Vitesse de lecture","Subtitles":"Sous-titres","subtitles off":"Sous-titres désactivés","Captions":"Sous-titres transcrits","captions off":"Sous-titres transcrits désactivés","Chapters":"Chapitres","Descriptions":"Descriptions","descriptions off":"descriptions désactivées","Audio Track":"Piste audio","Volume Level":"Niveau de volume","You aborted the media playback":"Vous avez interrompu la lecture de la vidéo.","A network error caused the media download to fail part-way.":"Une erreur de réseau a interrompu le téléchargement de la vidéo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Cette vidéo n\'a pas pu être chargée, soit parce que le serveur ou le réseau a échoué ou parce que le format n\'est pas reconnu.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La lecture de la vidéo a été interrompue à cause d\'un problème de corruption ou parce que la vidéo utilise des fonctionnalités non prises en charge par votre navigateur.","No compatible source was found for this media.":"Aucune source compatible n\'a été trouvée pour cette vidéo.","The media is encrypted and we do not have the keys to decrypt it.":"Le média est chiffré et nous n\'avons pas les clés pour le déchiffrer.","Play Video":"Lire la vidéo","Close":"Fermer","Close Modal Dialog":"Fermer la boîte de dialogue modale","Modal Window":"Fenêtre modale","This is a modal window":"Ceci est une fenêtre modale","This modal can be closed by pressing the Escape key or activating the close button.":"Ce modal peut être fermé en appuyant sur la touche Échap ou activer le bouton de fermeture.",", opens captions settings dialog":", ouvrir les paramètres des sous-titres transcrits",", opens subtitles settings dialog":", ouvrir les paramètres des sous-titres",", opens descriptions settings dialog":", ouvrir les paramètres des descriptions",", selected":", sélectionné","captions settings":"Paramètres des sous-titres transcrits","subtitles settings":"Paramètres des sous-titres","descriptions settings":"Paramètres des descriptions","Text":"Texte","White":"Blanc","Black":"Noir","Red":"Rouge","Green":"Vert","Blue":"Bleu","Yellow":"Jaune","Magenta":"Magenta","Cyan":"Cyan","Background":"Arrière-plan","Window":"Fenêtre","Transparent":"Transparent","Semi-Transparent":"Semi-transparent","Opaque":"Opaque","Font Size":"Taille des caractères","Text Edge Style":"Style des contours du texte","None":"Aucun","Raised":"Élevé","Depressed":"Enfoncé","Uniform":"Uniforme","Dropshadow":"Ombre portée","Font Family":"Famille de polices","Proportional Sans-Serif":"Polices à chasse variable sans empattement (Proportional Sans-Serif)","Monospace Sans-Serif":"Polices à chasse fixe sans empattement (Monospace Sans-Serif)","Proportional Serif":"Polices à chasse variable avec empattement (Proportional Serif)","Monospace Serif":"Polices à chasse fixe avec empattement (Monospace Serif)","Casual":"Manuscrite","Script":"Scripte","Small Caps":"Petites capitales","Reset":"Réinitialiser","restore all settings to the default values":"Restaurer tous les paramètres aux valeurs par défaut","Done":"Terminé","Caption Settings Dialog":"Boîte de dialogue des paramètres des sous-titres transcrits","Beginning of dialog window. Escape will cancel and close the window.":"Début de la fenêtre de dialogue. La touche d\'échappement annulera et fermera la fenêtre.","End of dialog window.":"Fin de la fenêtre de dialogue.","Exit Picture-in-Picture":"Quitter le mode image dans l\'image","Picture-in-Picture":"Image dans l\'image","{1} is loading.":"{1} en cours de chargement."}'),it:JSON.parse('{"Audio Player":"Lettore audio","Video Player":"Lettore video","Play":"Play","Pause":"Pausa","Replay":"Replay","Current Time":"Orario attuale","Duration":"Durata","Remaining Time":"Tempo rimanente","Stream Type":"Tipo del Streaming","LIVE":"LIVE","Loaded":"Caricato","Progress":"Stato","Progress Bar":"Barra di avanzamento","progress bar timing: currentTime={1} duration={2}":"{1} di {2}","Fullscreen":"Schermo intero","Non-Fullscreen":"Chiudi Schermo intero","Mute":"Muto","Unmute":"Audio","Playback Rate":"Tasso di riproduzione","Subtitles":"Sottotitoli","subtitles off":"Senza sottotitoli","Captions":"Sottotitoli non udenti","captions off":"Senza sottotitoli non udenti","Chapters":"Capitolo","Descriptions":"Descrizioni","descriptions off":"Descrizioni disattivate","Audio Track":"Traccia audio","Volume Level":"Livello del volume","You aborted the media playback":"La riproduzione del filmato è stata interrotta.","A network error caused the media download to fail part-way.":"Il download del filmato è stato interrotto a causa di un problema rete.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Il filmato non può essere caricato a causa di un errore nel server o nella rete o perché il formato non viene supportato.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"La riproduzione del filmato è stata interrotta a causa di un file danneggiato o per l’utilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo filmato.","The media is encrypted and we do not have the keys to decrypt it.":"Il contenuto multimediale è criptato e non disponiamo delle chiavi per decifrarlo.","Play Video":"Riprodurre il video","Close":"Chiudere","Close Modal Dialog":"Chiudere la finestra di dialogo","Modal Window":"Finestra di dialogo","This is a modal window":"Questa è una finestra di dialogo","This modal can be closed by pressing the Escape key or activating the close button.":"Questa finestra di dialogo può essere chiusa premendo sul tasto Esc o attivando il pulsante di chiusura.",", opens captions settings dialog":", aprire i parametri della trascrizione dei sottotitoli",", opens subtitles settings dialog":", aprire i parametri dei sottotitoli",", opens descriptions settings dialog":", aprire i parametri delle descrizioni",", selected":", selezionato","captions settings":"Parametri della trascrizione dei sottotitoli","subtitles settings":"Parametri dei sottotitoli","descriptions settings":"Parametri delle descrizioni","Text":"Testo","White":"Bianco","Black":"Nero","Red":"Rosso","Green":"Verde","Blue":"Blu","Yellow":"Giallo","Magenta":"Magenta","Cyan":"Ciano","Background":"Sfondo","Window":"Finestra","Transparent":"Trasparente","Semi-Transparent":"Semi-Trasparente","Opaque":"Opaco","Font Size":"Dimensione dei caratteri","Text Edge Style":"Stile dei bordi del testo","None":"Nessuno","Uniform":"Uniforme","Dropshadow":"Ombreggiatura","Font Family":"Famiglia di caratteri","Proportional Sans-Serif":"Carattere a spaziatura variabile senza grazie (Proportional Sans-Serif)","Monospace Sans-Serif":"Carattere a spaziatura fissa senza grazie (Monospace Sans-Serif)","Proportional Serif":"Carattere a spaziatura variabile con grazie (Proportional Serif)","Monospace Serif":"Carattere a spaziatura fissa con grazie (Monospace Serif)","Small Caps":"Maiuscoletto","Reset":"Reinizializzare","restore all settings to the default values":"Ripristinare i valori predefiniti per tutti i parametri","Done":"Operazione completata","Caption Settings Dialog":"Finestra di dialogo dei parametri della trascrizione dei sottotitoli","Beginning of dialog window. Escape will cancel and close the window.":"Inizio della finestra di dialogo. Il tasto Esc annullerà l’operazione e chiuderà la finestra.","End of dialog window.":"Fine della finestra di dialogo.","{1} is loading.":"{1} in fase di caricamento.","Exit Picture-in-Picture":"Uscire dalla modalità Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture"}'),ja:JSON.parse('{"Audio Player":"オーディオプレイヤー","Video Player":"ビデオプレイヤー","Play":"再生","Pause":"一時停止","Replay":"もう一度見る","Current Time":"現在の時間","Duration":"長さ","Remaining Time":"残りの時間","Stream Type":"ストリームの種類","LIVE":"ライブ","Loaded":"ロード済み","Progress":"進行状況","Progress Bar":"シークバー","progress bar timing: currentTime={1} duration={2}":"{2}の{1}","Fullscreen":"フルスクリーン","Non-Fullscreen":"フルスクリーン以外","Mute":"ミュート","Unmute":"ミュート解除","Playback Rate":"再生レート","Subtitles":"サブタイトル","subtitles off":"サブタイトル オフ","Captions":"キャプション","captions off":"キャプション オフ","Chapters":"チャプター","Descriptions":"ディスクリプション","descriptions off":"ディスクリプションオフ","Audio Track":"音声トラック","Volume Level":"ボリュームレベル","You aborted the media playback":"動画再生を中止しました","A network error caused the media download to fail part-way.":"ネットワーク エラーにより動画のダウンロードが途中で失敗しました","The media could not be loaded, either because the server or network failed or because the format is not supported.":"サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました","No compatible source was found for this media.":"この動画に対して互換性のあるソースが見つかりませんでした","The media is encrypted and we do not have the keys to decrypt it.":"メディアは暗号化されており、解読するためのキーがありません。","Play Video":"ビデオを再生する","Close":"閉じる","Close Modal Dialog":"ダイアログボックスを閉じる","Modal Window":"ダイアログボックス","This is a modal window":"これはダイアログボックスです","This modal can be closed by pressing the Escape key or activating the close button.":"このダイアログボックスは、Escキーを押すか、閉じるボタンを押して閉じることができま",", opens captions settings dialog":", 書き起こし字幕の設定を開く",", opens subtitles settings dialog":", 字幕の設定を開く",", opens descriptions settings dialog":", ディスクリプションの設定を開く",", selected":", 選択済み","captions settings":"書き起こし字幕の設定","subtitles settings":"字幕の設定","descriptions settings":"ディスクリプションの設定","Text":"テキスト","White":"白","Black":"黒","Red":"赤","Green":"緑","Blue":"青","Yellow":"黄","Magenta":"赤紫","Cyan":"シアン","Background":"背景","Window":"ウィンドウ","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"文字サイズ","Text Edge Style":"テキストのアウトラインのスタイル","None":"なし","Uniform":"均一","Dropshadow":"影付き","Font Family":"フォントの種類","Proportional Sans-Serif":"セリフなし可変幅フォント","Monospace Sans-Serif":"セリフなし等幅フォント","Proportional Serif":"セリフあり可変幅フォント","Monospace Serif":"セリフあり等幅フォント","Small Caps":"スモールキャピタル","Reset":"リセット","restore all settings to the default values":"すべての設定をデフォルト値に戻す","Done":"終了","Caption Settings Dialog":"書き起こし字幕設定ダイアログ","Beginning of dialog window. Escape will cancel and close the window.":"ダイアログボックスの開始。Escキーでキャンセルしてウィンドウを閉じます。","End of dialog window.":"ダイアログボックスの終了","{1} is loading.":"{1}は読み込み中です。","Exit Picture-in-Picture":"ピクチャーインピクチャー機能の終了","Picture-in-Picture":"ピクチャーインピクチャー"}'),nl:JSON.parse('{"Audio Player":"Audiospeler","Video Player":"Videospeler","Play":"Afspelen","Pause":"Pauzeren","Replay":"Opnieuw afspelen","Current Time":"Huidige tijd","Duration":"Tijdsduur","Remaining Time":"Resterende tijd","Stream Type":"Streamtype","LIVE":"LIVE","Loaded":"Geladen","Progress":"Voortgang","Progress Bar":"Voortgangsbalk","progress bar timing: currentTime={1} duration={2}":"{1} van {2}","Fullscreen":"Volledig scherm","Non-Fullscreen":"Geen volledig scherm","Mute":"Dempen","Unmute":"Niet dempen","Playback Rate":"Afspeelsnelheid","Subtitles":"Ondertiteling","subtitles off":"ondertiteling uit","Captions":"Bijschriften","captions off":"bijschriften uit","Chapters":"Hoofdstukken","Descriptions":"Beschrijvingen","descriptions off":"beschrijvingen uit","Audio Track":"Audiospoor","Volume Level":"Geluidsniveau","You aborted the media playback":"U heeft het afspelen van de media afgebroken","A network error caused the media download to fail part-way.":"Een netwerkfout heeft ervoor gezorgd dat het downloaden van de media halverwege is mislukt.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"De media kon niet worden geladen, dit komt doordat of de server of het netwerk mislukt of doordat het formaat niet wordt ondersteund.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Het afspelen van de media is afgebroken door een probleem met beschadeigde gegevens of doordat de media functies gebruikt die uw browser niet ondersteund.","No compatible source was found for this media.":"Er is geen geschikte bron voor deze media gevonden.","The media is encrypted and we do not have the keys to decrypt it.":"De media is versleuteld en we hebben de sleutels niet om deze te ontsleutelen.","Play Video":"Video afspelen","Close":"Sluiten","Close Modal Dialog":"Extra venster sluiten","Modal Window":"Extra venster","This is a modal window":"Dit is een extra venster","This modal can be closed by pressing the Escape key or activating the close button.":"Dit venster kan worden gesloten door op de Escape-toets te drukken of door de sluiten-knop te activeren.",", opens captions settings dialog":", opent instellingen-venster voor bijschriften",", opens subtitles settings dialog":", opent instellingen-venster voor ondertitelingen",", opens descriptions settings dialog":", opent instellingen-venster voor beschrijvingen",", selected":", geselecteerd","captions settings":"bijschriften-instellingen","subtitles settings":"ondertiteling-instellingen","descriptions settings":"beschrijvingen-instellingen","Text":"Tekst","White":"Wit","Black":"Zwart","Red":"Rood","Green":"Groen","Blue":"Blauw","Yellow":"Geel","Magenta":"Magenta","Cyan":"Cyaan","Background":"Achtergrond","Window":"Venster","Transparent":"Transparant","Semi-Transparent":"Semi-transparant","Opaque":"Ondoorzichtig","Font Size":"Lettergrootte","Text Edge Style":"Stijl tekstrand","None":"Geen","Raised":"Verhoogd","Depressed":"Ingedrukt","Uniform":"Uniform","Dropshadow":"Schaduw","Font Family":"Lettertype","Proportional Sans-Serif":"Proportioneel sans-serif","Monospace Sans-Serif":"Monospace sans-serif","Proportional Serif":"Proportioneel serif","Monospace Serif":"Monospace serif","Casual":"Luchtig","Script":"Script","Small Caps":"Kleine hoofdletters","Reset":"Herstellen","restore all settings to the default values":"alle instellingen naar de standaardwaarden herstellen","Done":"Klaar","Caption Settings Dialog":"Venster voor bijschriften-instellingen","Beginning of dialog window. Escape will cancel and close the window.":"Begin van dialoogvenster. Escape zal annuleren en het venster sluiten.","End of dialog window.":"Einde van dialoogvenster."}'),pl:JSON.parse('{"Audio Player":"Odtwarzacz audio","Video Player":"Odtwarzacz wideo","Play":"Odtwórz","Pause":"Wstrzymaj","Replay":"Odtwórz ponownie","Current Time":"Aktualny czas","Duration":"Czas trwania","Remaining Time":"Pozostały czas","Stream Type":"Typ strumienia","LIVE":"NA ŻYWO","Seek to live, currently behind live":"Przejdź do transmisji na żywo, obecnie trwa odtwarzanie z archiwum","Seek to live, currently playing live":"Przejdż do transmisji na żywo, obecnie trwa odtwarzanie na żywo","Loaded":"Załadowany","Progress":"Status","Progress Bar":"Pasek postępu","progress bar timing: currentTime={1} duration={2}":"{1} z {2}","Fullscreen":"Pełny ekran","Non-Fullscreen":"Pełny ekran niedostępny","Mute":"Wycisz","Unmute":"Wyłącz wyciszenie","Playback Rate":"Prędkość odtwarzania","Subtitles":"Napisy","subtitles off":"Napisy wyłączone","Captions":"Transkrypcja","captions off":"Transkrypcja wyłączona","Chapters":"Rozdziały","Descriptions":"Opisy","descriptions off":"Opisy wyłączone","Audio Track":"Ścieżka audio","Volume Level":"Poziom głośności","You aborted the media playback":"Odtwarzanie zostało przerwane","A network error caused the media download to fail part-way.":"Błąd sieci spowodował częściowe niepowodzenie pobierania materiału wideo.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Materiał wideo nie może zostać załadowany, ponieważ wystąpił problem z serwerem lub siecią albo format materiału wideo nie jest obsługiwany","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Odtwarzanie materiału wideo zostało przerwane z powodu uszkodzonego pliku wideo lub z powodu użycia funkcji multimediów nieobsługiwanych przez Twoją przeglądarkę.","No compatible source was found for this media.":"Nie znaleziono kompatybilnego źródła dla tego typu materiału wideo.","The media is encrypted and we do not have the keys to decrypt it.":"Materiał jest zaszyfrowany, a nie mamy kluczy do jego odszyfrowania.","Play Video":"Odtwórz wideo","Close":"Zamknij","Close Modal Dialog":"Zamknij okno modalne","Modal Window":"Okno modalne","This is a modal window":"To jest okno modalne","This modal can be closed by pressing the Escape key or activating the close button.":"To okno modalne możesz zamknąć, naciskając klawisz Escape albo wybierając przycisk Zamknij.",", opens captions settings dialog":", otwiera okno dialogowe ustawień transkrypcji",", opens subtitles settings dialog":", otwiera okno dialogowe napisów",", opens descriptions settings dialog":", otwiera okno dialogowe opisów",", selected":", zaznaczone","captions settings":"ustawienia transkrypcji","subtitles settings":"ustawienia napisów","descriptions settings":"ustawienia opisów","Text":"Tekst","White":"Biały","Black":"Czarny","Red":"Czerwony","Green":"Zielony","Blue":"Niebieski","Yellow":"Żółty","Magenta":"Karmazynowy","Cyan":"Cyjanowy","Background":"Tło","Window":"Okno","Transparent":"Przezroczysty","Semi-Transparent":"Półprzezroczysty","Opaque":"Nieprzezroczysty","Font Size":"Rozmiar czcionki","Text Edge Style":"Styl krawędzi tekstu","None":"Brak","Raised":"Podniesiony","Depressed":"Obniżony","Uniform":"Równomierny","Dropshadow":"Cień","Font Family":"Krój czcionki","Proportional Sans-Serif":"Bezszeryfowa, proporcjonalna","Monospace Sans-Serif":"Bezszeryfowa, stała odległość znaków","Proportional Serif":"Szeryfowa, proporcjonalna","Monospace Serif":"Szeryfowa, stała odległość znaków","Casual":"Casual","Script":"Script","Small Caps":"Kapitaliki","Reset":"Ustawienia domyślne","restore all settings to the default values":"zresetuj wszystkie ustawienia do domyślnych wartości","Done":"Gotowe","Caption Settings Dialog":"Okno dialogowe ustawień transkrypcji","Beginning of dialog window. Escape will cancel and close the window.":"Początek okna dialogowego. Klawisz Escape anuluje i zamyka okno.","End of dialog window.":"Koniec okna dialogowego.","{1} is loading.":"Wczytywanie pliku {1}.","Exit Picture-in-Picture":"Wyjdź z trybu obraz w obrazie","Picture-in-Picture":"Obraz w obrazie","No content":"Brak zawartości"}'),sk:JSON.parse('{"Audio Player":"Zvukový prehrávač","Video Player":"Video prehrávač","Play":"Prehrať","Pause":"Pozastaviť","Replay":"Prehrať znova","Current Time":"Aktuálny čas","Duration":"Čas trvania","Remaining Time":"Zostávajúci čas","Stream Type":"Typ stopy","LIVE":"NAŽIVO","Loaded":"Načítané","Progress":"Priebeh","Progress Bar":"Ukazovateľ priebehu","progress bar timing: currentTime={1} duration={2}":"časovanie ukazovateľa priebehu: currentTime={1} duration={2}","Fullscreen":"Režim celej obrazovky","Non-Fullscreen":"Režim normálnej obrazovky","Mute":"Stlmiť","Unmute":"Zrušiť stlmenie","Playback Rate":"Rýchlosť prehrávania","Subtitles":"Titulky","subtitles off":"titulky vypnuté","Captions":"Popisky","captions off":"popisky vypnuté","Chapters":"Kapitoly","Descriptions":"Opisy","descriptions off":"opisy vypnuté","Audio Track":"Zvuková stopa","Volume Level":"Úroveň hlasitosti","You aborted the media playback":"Prerušili ste prehrávanie","A network error caused the media download to fail part-way.":"Sťahovanie súboru bolo zrušené pre chybu na sieti.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Súbor sa nepodarilo načítať pre chybu servera, sieťového pripojenia, alebo je formát súboru nepodporovaný.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Prehrávanie súboru bolo prerušené pre poškodené dáta, alebo súbor používa vlastnosti, ktoré váš prehliadač nepodporuje.","No compatible source was found for this media.":"Nebol nájdený žiaden kompatibilný zdroj pre tento súbor.","The media is encrypted and we do not have the keys to decrypt it.":"Súbor je zašifrovaný a nie je k dispozícii kľúč na rozšifrovanie.","Play Video":"Prehrať video","Close":"Zatvoriť","Close Modal Dialog":"Zatvoriť modálne okno","Modal Window":"Modálne okno","This is a modal window":"Toto je modálne okno","This modal can be closed by pressing the Escape key or activating the close button.":"Toto modálne okno je možné zatvoriť stlačením klávesy Escape, alebo aktivovaním tlačidla na zatvorenie.",", opens captions settings dialog":", otvorí okno nastavení popiskov",", opens subtitles settings dialog":", otvorí okno nastavení titulkov",", opens descriptions settings dialog":", otvorí okno nastavení opisov",", selected":", označené","captions settings":"nastavenia popiskov","subtitles settings":"nastavenia titulkov","descriptions settings":"nastavenia opisov","Text":"Text","White":"Biela","Black":"Čierna","Red":"Červená","Green":"Zelená","Blue":"Modrá","Yellow":"Žltá","Magenta":"Ružová","Cyan":"Tyrkysová","Background":"Pozadie","Window":"Okno","Transparent":"Priesvitné","Semi-Transparent":"Polopriesvitné","Opaque":"Plné","Font Size":"Veľkosť písma","Text Edge Style":"Typ okrajov písma","None":"Žiadne","Raised":"Zvýšené","Depressed":"Znížené","Uniform":"Pravidelné","Dropshadow":"S tieňom","Font Family":"Typ písma","Proportional Sans-Serif":"Proporčné bezpätkové","Monospace Sans-Serif":"Pravidelné, bezpätkové","Proportional Serif":"Proporčné pätkové","Monospace Serif":"Pravidelné pätkové","Casual":"Bežné","Script":"Písané","Small Caps":"Malé kapitálky","Reset":"Resetovať","restore all settings to the default values":"všetky nastavenia na základné hodnoty","Done":"Hotovo","Caption Settings Dialog":"Okno nastavení popiskov","Beginning of dialog window. Escape will cancel and close the window.":"Začiatok okna. Klávesa Escape zruší a zavrie okno.","End of dialog window.":"Koniec okna.","{1} is loading.":"{1} sa načíta."}'),tr:JSON.parse('{"Play":"Oynat","Pause":"Duraklat","Replay":"Yeniden Oynat","Current Time":"Süre","Duration":"Toplam Süre","Remaining Time":"Kalan Süre","Stream Type":"Yayın Tipi","LIVE":"CANLI","Loaded":"Yüklendi","Progress":"Yükleniyor","Fullscreen":"Tam Ekran","Non-Fullscreen":"Küçük Ekran","Mute":"Ses Kapa","Unmute":"Ses Aç","Playback Rate":"Oynatma Hızı","Subtitles":"Altyazı","subtitles off":"Altyazı Kapalı","Captions":"Altyazı","captions off":"Altyazı Kapalı","Chapters":"Bölümler","Close Modal Dialog":"Dialogu Kapat","Descriptions":"Açıklamalar","descriptions off":"Açıklamalar kapalı","Audio Track":"Ses Dosyası","You aborted the media playback":"Video oynatmayı iptal ettiniz","A network error caused the media download to fail part-way.":"Video indirilirken bağlantı sorunu oluştu.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"Video oynatılamadı, ağ ya da sunucu hatası veya belirtilen format desteklenmiyor.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"Tarayıcınız desteklemediği için videoda hata oluştu.","No compatible source was found for this media.":"Video için kaynak bulunamadı.","The media is encrypted and we do not have the keys to decrypt it.":"Video, şifrelenmiş bir kaynaktan geliyor ve oynatmak için gerekli anahtar bulunamadı.","Play Video":"Videoyu Oynat","Close":"Kapat","Modal Window":"Modal Penceresi","This is a modal window":"Bu bir modal penceresidir","This modal can be closed by pressing the Escape key or activating the close button.":"Bu modal ESC tuşuna basarak ya da kapata tıklanarak kapatılabilir.",", opens captions settings dialog":", altyazı ayarları menüsünü açar",", opens subtitles settings dialog":", altyazı ayarları menüsünü açar",", opens descriptions settings dialog":", açıklama ayarları menüsünü açar",", selected":", seçildi","captions settings":"altyazı ayarları","subtitles settings":"altyazı ayarları","descriptions settings":"açıklama ayarları","Text":"Yazı","White":"Beyaz","Black":"Siyah","Red":"Kırmızı","Green":"Yeşil","Blue":"Mavi","Yellow":"Sarı","Magenta":"Macenta","Cyan":"Açık Mavi (Camgöbeği)","Background":"Arka plan","Window":"Pencere","Transparent":"Saydam","Semi-Transparent":"Yarı-Saydam","Opaque":"Mat","Font Size":"Yazı Boyutu","Text Edge Style":"Yazı Kenarlıkları","None":"Hiçbiri","Raised":"Kabartılmış","Depressed":"Yassı","Uniform":"Düz","Dropshadow":"Gölgeli","Font Family":"Yazı Tipi","Proportional Sans-Serif":"Orantılı Sans-Serif","Monospace Sans-Serif":"Eşaralıklı Sans-Serif","Proportional Serif":"Orantılı Serif","Monospace Serif":"Eşaralıklı Serif","Casual":"Gündelik","Script":"El Yazısı","Small Caps":"Küçük Boyutlu Büyük Harfli","Done":"Tamam","Caption Settings Dialog":"Altyazı Ayarları Menüsü","Beginning of dialog window. Escape will cancel and close the window.":"Diyalog penceresinin başlangıcı. ESC tuşu işlemi iptal edip pencereyi kapatacaktır."}'),"pt-BR":JSON.parse('{"Audio Player":"Reprodutor de áudio","Video Player":"Reprodutor de vídeo","Play":"Tocar","Pause":"Pausar","Replay":"Tocar novamente","Current Time":"Tempo","Duration":"Duração","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"AO VIVO","Loaded":"Carregado","Progress":"Progresso","Progress Bar":"Barra de progresso","progress bar timing: currentTime={1} duration={2}":"{1} de {2}","Fullscreen":"Tela Cheia","Non-Fullscreen":"Tela Normal","Mute":"Mudo","Unmute":"Habilitar Som","Playback Rate":"Velocidade","Subtitles":"Legendas","subtitles off":"Sem Legendas","Captions":"Anotações","captions off":"Sem Anotações","Chapters":"Capítulos","Descriptions":"Descrições","descriptions off":"sem descrições","Audio Track":"Faixa de áudio","Volume Level":"Nível de volume","You aborted the media playback":"Você parou a execução do vídeo.","A network error caused the media download to fail part-way.":"Um erro na rede causou falha durante o download da mídia.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"A mídia não pode ser carregada, por uma falha de rede ou servidor ou o formato não é suportado.","No compatible source was found for this media.":"Nenhuma fonte foi encontrada para esta mídia.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodução foi interrompida devido à um problema de mídia corrompida ou porque a mídia utiliza funções que seu navegador não suporta.","The media is encrypted and we do not have the keys to decrypt it.":"A mídia está criptografada e não temos as chaves para descriptografar.","Play Video":"Tocar Vídeo","Close":"Fechar","Close Modal Dialog":"Fechar Diálogo Modal","Modal Window":"Janela Modal","This is a modal window":"Isso é uma janela-modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta janela pode ser fechada pressionando a tecla de Escape.",", opens captions settings dialog":", abre as configurações de legendas de comentários",", opens subtitles settings dialog":", abre as configurações de legendas",", opens descriptions settings dialog":", abre as configurações",", selected":", selecionada","captions settings":"configurações de legendas de comentários","subtitles settings":"configurações de legendas","descriptions settings":"configurações das descrições","Text":"Texto","White":"Branco","Black":"Preto","Red":"Vermelho","Green":"Verde","Blue":"Azul","Yellow":"Amarelo","Magenta":"Magenta","Cyan":"Ciano","Background":"Plano-de-Fundo","Window":"Janela","Transparent":"Transparente","Semi-Transparent":"Semi-Transparente","Opaque":"Opaco","Font Size":"Tamanho da Fonte","Text Edge Style":"Estilo da Borda","None":"Nenhum","Raised":"Elevado","Depressed":"Acachapado","Uniform":"Uniforme","Dropshadow":"Sombra de projeção","Font Family":"Família da Fonte","Proportional Sans-Serif":"Sans-Serif(Sem serifa) Proporcional","Monospace Sans-Serif":"Sans-Serif(Sem serifa) Monoespaçada","Proportional Serif":"Serifa Proporcional","Monospace Serif":"Serifa Monoespaçada","Casual":"Casual","Script":"Script","Small Caps":"Maiúsculas Pequenas","Reset":"Redefinir","restore all settings to the default values":"restaurar todas as configurações aos valores padrão","Done":"Salvar","Caption Settings Dialog":"Caíxa-de-Diálogo das configurações de Legendas","Beginning of dialog window. Escape will cancel and close the window.":"Iniciando a Janela-de-Diálogo. Pressionar Escape irá cancelar e fechar a janela.","End of dialog window.":"Fim da Janela-de-Diálogo","{1} is loading.":"{1} está carregando.","Exit Picture-in-Picture":"Sair de Picture-in-Picture","Picture-in-Picture":"Picture-in-Picture"}'),"pt-PT":JSON.parse('{"Play":"Reproduzir","Pause":"Parar","Replay":"Reiniciar","Current Time":"Tempo Atual","Duration":"Duração","Remaining Time":"Tempo Restante","Stream Type":"Tipo de Stream","LIVE":"EM DIRETO","Loaded":"Carregado","Progress":"Progresso","Fullscreen":"Ecrã inteiro","Non-Fullscreen":"Ecrã normal","Mute":"Desativar som","Unmute":"Ativar som","Playback Rate":"Velocidade de reprodução","Subtitles":"Legendas","subtitles off":"desativar legendas","Captions":"Anotações","captions off":"desativar anotações","Chapters":"Capítulos","Close Modal Dialog":"Fechar Janela Modal","Descriptions":"Descrições","descriptions off":"desativar descrições","Audio Track":"Faixa Áudio","You aborted the media playback":"Parou a reprodução do vídeo.","A network error caused the media download to fail part-way.":"Um erro na rede fez o vídeo falhar parcialmente.","The media could not be loaded, either because the server or network failed or because the format is not supported.":"O vídeo não pode ser carregado, ou porque houve um problema na rede ou no servidor, ou porque formato do vídeo não é compatível.","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"A reprodução foi interrompida por um problema com o vídeo ou porque o formato não é compatível com o seu navegador.","No compatible source was found for this media.":"Não foi encontrada uma fonte de vídeo compatível.","The media is encrypted and we do not have the keys to decrypt it.":"O vídeo está encriptado e não há uma chave para o desencriptar.","Play Video":"Reproduzir Vídeo","Close":"Fechar","Modal Window":"Janela Modal","This is a modal window":"Isto é uma janela modal","This modal can be closed by pressing the Escape key or activating the close button.":"Esta modal pode ser fechada pressionando a tecla ESC ou ativando o botão de fechar.",", opens captions settings dialog":", abre janela com definições de legendas",", opens subtitles settings dialog":", abre janela com definições de legendas",", opens descriptions settings dialog":", abre janela com definições de descrições",", selected":", seleccionado"}'),"zh-CN":JSON.parse('{"Play":"播放","Pause":"暂停","Current Time":"当前时间","Duration":"时长","Remaining Time":"剩余时间","Stream Type":"媒体流类型","LIVE":"直播","Loaded":"加载完成","Progress":"进度","Fullscreen":"全屏","Non-Fullscreen":"退出全屏","Picture-in-Picture":"画中画","Exit Picture-in-Picture":"退出画中画","Mute":"静音","Unmute":"取消静音","Playback Rate":"播放速度","Subtitles":"字幕","subtitles off":"关闭字幕","Captions":"内嵌字幕","captions off":"关闭内嵌字幕","Chapters":"节目段落","Close Modal Dialog":"关闭弹窗","Descriptions":"描述","descriptions off":"关闭描述","Audio Track":"音轨","You aborted the media playback":"视频播放被终止","A network error caused the media download to fail part-way.":"网络错误导致视频下载中途失败。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"视频因格式不支持或者服务器或网络的问题无法加载。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由于视频文件损坏或是该视频使用了你的浏览器不支持的功能，播放终止。","No compatible source was found for this media.":"无法找到此视频兼容的源。","The media is encrypted and we do not have the keys to decrypt it.":"视频已加密，无法解密。","Play Video":"播放视频","Close":"关闭","Modal Window":"弹窗","This is a modal window":"这是一个弹窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按键或启用关闭按钮来关闭此弹窗。",", opens captions settings dialog":", 开启标题设置弹窗",", opens subtitles settings dialog":", 开启字幕设置弹窗",", opens descriptions settings dialog":", 开启描述设置弹窗",", selected":", 选择","captions settings":"字幕设定","Audio Player":"音频播放器","Video Player":"视频播放器","Replay":"重新播放","Progress Bar":"进度条","Volume Level":"音量","subtitles settings":"字幕设定","descriptions settings":"描述设定","Text":"文字","White":"白","Black":"黑","Red":"红","Green":"绿","Blue":"蓝","Yellow":"黄","Magenta":"紫红","Cyan":"青","Background":"背景","Window":"窗口","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字体尺寸","Text Edge Style":"字体边缘样式","None":"无","Raised":"浮雕","Depressed":"压低","Uniform":"均匀","Dropshadow":"下阴影","Font Family":"字体库","Proportional Sans-Serif":"比例无细体","Monospace Sans-Serif":"单间隔无细体","Proportional Serif":"比例细体","Monospace Serif":"单间隔细体","Casual":"舒适","Script":"手写体","Small Caps":"小型大写字体","Reset":"重置","restore all settings to the default values":"恢复全部设定至预设值","Done":"完成","Caption Settings Dialog":"字幕设定窗口","Beginning of dialog window. Escape will cancel and close the window.":"打开对话窗口。Escape键将取消并关闭对话窗口","End of dialog window.":"结束对话窗口","Seek to live, currently behind live":"尝试直播，当前为延时播放","Seek to live, currently playing live":"尝试直播，当前为实时播放","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"正在加载 {1}。"}'),"zh-TW":JSON.parse('{"Play":"播放","Pause":"暫停","Current Time":"目前時間","Duration":"總共時間","Remaining Time":"剩餘時間","Stream Type":"串流類型","LIVE":"直播","Loaded":"載入完畢","Progress":"進度","Fullscreen":"全螢幕","Non-Fullscreen":"退出全螢幕","Mute":"靜音","Unmute":"取消靜音","Playback Rate":" 播放速率","Subtitles":"字幕","subtitles off":"關閉字幕","Captions":"內嵌字幕","captions off":"關閉內嵌字幕","Chapters":"章節","Close Modal Dialog":"關閉對話框","Descriptions":"描述","descriptions off":"關閉描述","Audio Track":"音軌","You aborted the media playback":"影片播放已終止","A network error caused the media download to fail part-way.":"網路錯誤導致影片下載失敗。","The media could not be loaded, either because the server or network failed or because the format is not supported.":"因格式不支援、伺服器或網路的問題無法載入媒體。","The media playback was aborted due to a corruption problem or because the media used features your browser did not support.":"由於影片檔案損毀或是該影片使用了您的瀏覽器不支援的功能，已終止播放媒體。","No compatible source was found for this media.":"無法找到相容此媒體的來源。","The media is encrypted and we do not have the keys to decrypt it.":"媒體已加密，無法解密。","Play Video":"播放影片","Close":"關閉","Modal Window":"強制回應視窗","This is a modal window":"此為強制回應視窗","This modal can be closed by pressing the Escape key or activating the close button.":"可以按ESC按鍵或關閉按鈕來關閉此視窗。",", opens captions settings dialog":", 開啟標題設定對話框",", opens subtitles settings dialog":", 開啟字幕設定對話框",", opens descriptions settings dialog":", 開啟描述設定對話框",", selected":", 選擇","captions settings":"字幕設定","Audio Player":"音訊播放器","Video Player":"視訊播放器","Replay":"重播","Progress Bar":"進度列","Volume Level":"音量","subtitles settings":"字幕設定","descriptions settings":"描述設定","Text":"文字","White":"白","Black":"黑","Red":"紅","Green":"綠","Blue":"藍","Yellow":"黃","Magenta":"紫紅","Cyan":"青","Background":"背景","Window":"視窗","Transparent":"透明","Semi-Transparent":"半透明","Opaque":"不透明","Font Size":"字型尺寸","Text Edge Style":"字型邊緣樣式","None":"無","Raised":"浮雕","Depressed":"壓低","Uniform":"均勻","Dropshadow":"下陰影","Font Family":"字型系列","Proportional Sans-Serif":"調和間距無襯線字型","Monospace Sans-Serif":"等寬無襯線字型","Proportional Serif":"調和間距襯線字型","Monospace Serif":"等寬襯線字型","Casual":"輕便的","Script":"手寫體","Small Caps":"小型大寫字體","Reset":"重置","restore all settings to the default values":"恢復全部設定至預設值","Done":"完成","Caption Settings Dialog":"字幕設定對話框","Beginning of dialog window. Escape will cancel and close the window.":"開始對話視窗。離開會取消並關閉視窗","End of dialog window.":"結束對話視窗","Seek to live, currently behind live":"快轉至直播，目前為稍早畫面","Seek to live, currently playing live":"快轉至直播，目前為現場畫面","progress bar timing: currentTime={1} duration={2}":"{1}/{2}","{1} is loading.":"{1} 正在載入。"}')},dQ=__webpack_require__(67294);function fQ(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function pQ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var hQ="seek-tooltip--hidden",mQ=function(e){return Math.round(e.currentTime()/e.duration()*100)||0},vQ=function(e){gt(n,e);var t=pQ(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isReady:!1,shouldLoadPlayheadPosition:!1,playbackStarted:!1,playheadPositionSaveThrottle:0,showRestrictSeekTooltip:!1},r.showRestrictSeekTooltip=r.showRestrictSeekTooltip.bind(ft(r)),r.updateSeekTooltip=r.updateSeekTooltip.bind(ft(r)),r.getMaxTime=r.getMaxTime.bind(ft(r)),r.onMediaStoreChange=r.onMediaStoreChange.bind(ft(r)),r}return dt(n,[{key:"updateContentFocusability",value:function(){var e=this.props.allowTabNavigation;PY(this.container.getElementsByTagName("button")).forEach((function(t){HY(t,zY(e))})),VY({element:this.container,selector:".vjs-progress-holder",tabIndex:zY(e)}),VY({element:this.container,selector:".vjs-volume-bar",tabIndex:zY(e)}),VY({element:this.container,selector:".vjs-volume-menu-button",tabIndex:zY(e)})}},{key:"componentDidUpdate",value:function(e){this.updateContentFocusability(),!e.shouldPause&&this.props.shouldPause&&mZ.isPlaying&&(this.video.player.pause(),mZ.isPlaying=!1)}},{key:"setMaxTime",value:function(e){this.maxTime=e,this.video.player.controlBar.progressControl.seekBar.setMaxTime(e)}},{key:"componentDidMount",value:function(){var e=this,t=this.video.player,n=this.props,r=n.audioVideoPlayhead,i=n.canRestrictSeek,o=n.currentTime,a=n.id,s=n.onFullScreenChange,u=n.onLoad,l=n.percentComplete,c=n.progressChanged,d=n.recordMediaPlayheadPosition,f=n.type;if(this.setState({shouldLoadPlayheadPosition:!0}),this.wasPaused=!1,this.seeking=!1,this.setMaxTime(o),this.updateContentFocusability(),i){var p=this.video.player.controlBar.progressControl.seekBar;p.disableSeek(),p.on("showRestrictSeekTooltip",(function(t,n){return e.showRestrictSeekTooltip(n)})),this.configureSeekDiv()}t.ready((function(){var n,a,s;null===(n=t.el_)||void 0===n||n.removeAttribute("role"),null===(a=t.el_)||void 0===a||a.removeAttribute("aria-label"),null===(s=t.getChild("BigPlayButton").controlTextEl_)||void 0===s||s.removeAttribute("aria-live"),l&&l<100&&"customVideo"!==f&&(t.play(),t.currentTime(o),t.pause()),t.on("timeupdate",e.videoUpdate=function(){or();var n=t.currentTime(),o=t.duration(),a=t.paused(),s=Math.floor(n),u=o*r/100||0;a&&!e.wasPaused&&n>e.maxTime&&e.setMaxTime(n),i&&e.updateSeekTooltip();var l=t.ended()&&!e.seeking,f=!a&&!e.seeking;if(!i||l||f){n>e.maxTime&&e.setMaxTime(n);var p=n/o*100;l&&(p=100),c&&c({currentTime:n,percentComplete:p}),s%5==0&&e.state.playheadPositionSaveThrottle!==s&&d&&(d(mQ(t)),e.setState({playheadPositionSaveThrottle:s}))}else i&&!e.restrictingSeek&&n>e.maxTime&&u<e.maxTime&&(e.restrictingSeek=!0,a||t.pause(),t.currentTime(e.maxTime));e.wasPaused=a}),e.setState({isReady:!0}),u()})),t.on("play",this.videoPlay=function(){e.seeking=!1,e.showRestrictSeekTooltip(!1)}),t.on("playing",this.videoPlaying=function(){mZ.isPlaying&&mZ.playerId!==a&&(mZ.isPlaying=!1),mZ.playerId=a,mZ.isPlaying=!0,!1===e.state.playbackStarted&&e.setState({playbackStarted:!0}),r&&e.state.shouldLoadPlayheadPosition&&t.currentTime(t.duration()*r/100||0),e.setState({shouldLoadPlayheadPosition:!1})}),t.on("pause",this.videoPaused=function(){mZ.playerId===a&&(mZ.isPlaying=!1),d&&d(mQ(t))}),t.on("seeking",this.videoSeeking=function(){e.seeking=!0}),t.on("seeked",this.videoSeeked=function(){e.restrictingSeek=!1,e.seekTimeout&&clearTimeout(e.seekTimeout),d&&d(mQ(t)),e.seekTimeout=setTimeout((function(){e.seeking=!1}),1e3)}),t.on("fullscreenchange",s),t.on("keyup",BY),t.on("contextmenu",(function(e){e.preventDefault()})),mZ.addChangeListener(this.onMediaStoreChange)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onFullScreenChange,n=e.recordMediaPlayheadPosition,r=this.video.player;n&&n(mQ(r)),mZ.isPlaying=!1,mZ.removeChangeListener(this.onMediaStoreChange),r.off("timeupdate",this.videoUpdate),r.off("play",this.videoPlay),r.off("playing",this.videoPlaying),r.off("pause",this.videoPaused),r.off("seeking",this.videoSeeking),r.off("seeked",this.videoSeeked),r.off("fullscreenchange",t),r.dispose()}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.labels.a11yGroupVideoPlayer,i=this.state,o=i.isReady,a=i.showRestrictSeekTooltip,s=i.playbackStarted,u=GA()("video-a11y video-wrapper",{"video-wrapper--visible":o,"video-wrapper--restrict-seek":a,"video-playback-started":s});return dQ.createElement("div",{"aria-hidden":!n,"aria-label":r,className:"figure-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.container=t},role:"region"},dQ.createElement("div",{className:u},this.renderPlayer()))}},{key:"renderCaptionTrack",value:function(e){var t=e.code,n=e.id,r=e.key,i=e.name,o=e.url||er(r);return dQ.createElement("track",{key:n,kind:"captions",label:i,src:o,srcLang:t})}},{key:"renderPlayer",value:function(){var e,t,n=this,r=this.props,i=r.autoplay,o=r.canAdjustPlaybackSpeed,a=r.captionUID,s=r.captions,u=r.id,l=r.subtitle,c="customVideo"===r.type,d=pe()(oQ()(1),Gn()("pathname"),SZ.parse),f=c?d(this.props.src):this.props.src,p=c?this.props.poster:er(this.props.poster),h=c?this.props.src:er(this.props.src),m=c?"application/x-mpegURL":void 0,v=o?[.25,.5,.75,1,1.25,1.5,1.75,2]:void 0,g=lF.isSafariVersion13OrLower||lF.isLocalFilesystem?{}:{crossOrigin:"anonymous"},y={autoplay:i,controlBar:{children:{playToggle:!0,progressControl:!0,remainingTimeDisplay:!0,playbackRateMenuButton:!0,captionsButton:!0,pictureInPictureToggle:!0,fullscreenToggle:!0,volumePanel:{inline:!0}}},controls:!0,languages:cQ,playbackRates:v,preload:"none",textTrackSettings:!1};document.pictureInPictureEnabled||delete y.controlBar.children.pictureInPictureToggle;var b=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fQ(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):fQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({className:"figure-video__video",key:St()(e=St()(t="".concat(u,"-")).call(t,f,"-")).call(e,a),options:y,poster:p,ref:function(e){return n.video=e}},g),_=dQ.createElement("track",{kind:"captions",label:"English",src:c?l:er(l),srcLang:"en"}),w="".concat(h,"?v=1");return dQ.createElement(aQ.Z,b,dQ.createElement("source",{src:w,type:m}),!s&&l&&_,s&&Ra()(s).call(s,this.renderCaptionTrack))}},{key:"onKeyDown",value:function(e){var t=this;if(!gQ(e)){var n=gZ(this.togglePlay.bind(this)),r=this.toggleFullScreen.bind(this),i=gZ((function(){return t.keySeek(5)})),o=gZ((function(){return t.keySeek(-5)}));Dl()([[hW,n],[dW,r],[kW,i],[EW,o]])(e)}}},{key:"togglePlay",value:function(){var e=this.video.player;e.userActive(!0),e.paused()?e.play():e.pause()}},{key:"toggleFullScreen",value:function(){if(!lF.isIe11){var e=this.video.player;e.isFullscreen()?e.exitFullscreen():e.requestFullscreen()}}},{key:"changeVolume",value:function(e){var t=this.video.player,n=t.volume();t.userActive(!0),t.volume(n+e)}},{key:"keySeek",value:function(e){var t=this.video.player,n=this.props.canRestrictSeek;t.userActive(!0);var r=t.currentTime(),i=t.duration();t.paused()&&!r&&!i&&t.play();var o=r+e;n&&(o>this.maxTime?(o=this.maxTime,this.showRestrictSeekTooltip(!0)):this.showRestrictSeekTooltip(!1));var a=e<0?Math.max(o,0):Math.min(o,i);a!==r&&t.currentTime(a)}},{key:"configureSeekDiv",value:function(){var e,t=this.video.player.controlBar,n=t.el();this.progressBarElement=t.progressControl.seekBar.playProgressBar.el(),this.seekDiv=((e=document.createElement("div")).classList.add("seek-tooltip"),e.classList.add(hQ),e),n.appendChild(this.seekDiv),g.render(dQ.createElement(zO,null),this.seekDiv)}},{key:"showRestrictSeekTooltip",value:function(e){this.props.canRestrictSeek&&this.seekDiv&&e!==this.state.showRestrictSeekTooltip&&(e?this.seekDiv.classList.remove(hQ):this.seekDiv.classList.add(hQ),this.setState({showRestrictSeekTooltip:e}))}},{key:"updateSeekTooltip",value:function(){var e=this.video.player,t=this.progressBarElement.getBoundingClientRect(),n=e.el().getBoundingClientRect(),r=this.seekDiv.getBoundingClientRect().width/2,i=t.left-n.left+t.width-r;this.seekDiv.style.left="".concat(i,"px"),this.seekDiv.style.top="".concat(-5,"px")}},{key:"getMaxTime",value:function(){return this.maxTime}},{key:"onMediaStoreChange",value:function(){if(this.video){var e=this.props.id,t=this.video.player;mZ.playerId===e&&(mZ.isPlaying?t.play():t.pause())}}}],[{key:"defaultProps",get:function(){return{autoplay:!1,allowTabNavigation:!0,currentTime:0,labels:{},onFullScreenChange:function(){},onLoad:function(){},percentComplete:0,progressChanged:Function.prototype,shouldPause:!1}}}]),n}(dQ.Component),gQ=function(e){var t=e.target.className,n=xW(e)&&k_()(t).call(t,"vjs-volume-bar");return wW(e)&&(k_()(t).call(t,"vjs-control")||k_()(t).call(t,"vjs-big-play-button"))||n},yQ=__webpack_require__(67294);function bQ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var _Q=eF.quizPreviewQuestions,wQ=function(e){return e&&(e.key||e.src)&&!e.isProcessing&&!e.error},kQ=function(e){gt(n,e);var t=bQ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"renderAudio",value:function(e){var t,n=this.props,r=n.allowTabNavigation,i=n.index,o=n.labels,a=n.lessonNumber,s=e.audio,u=St()(t="audio-".concat(a,"-")).call(t,i);if(wQ(s))return yQ.createElement(kZ,{allowTabNavigation:r,id:u,key:u,labels:o,mediaSrc:s.key,shouldPause:s.pause})}},{key:"renderImage",value:function(e){var t,n=this.props,r=n.allowTabNavigation,i=n.asyncImgCn,o=n.defaultAlign,a=n.index,s=n.labels,u=n.onLoad,l=n.opts,c=e.image,d=null!==(t=null==c?void 0:c.align)&&void 0!==t?t:o,f="image-".concat(a),p=l.disableZoom;if(wQ(c))return yQ.createElement(S$,{align:d,allowTabNavigation:r,alt:c.alt,asyncCn:i,disableZoom:p,imageKey:c.key,key:f,labels:s,onLoad:u,shouldFillWidth:c.fillWidth,src:eS(c)})}},{key:"renderVideo",value:function(e){var t,n,r=e.video,i=void 0===r?{}:r,o=this.props,a=o.allowTabNavigation,s=o.blockId,u=o.lessonNumber,l=o.index,c=o.labels,d=o.onFullScreenChange,f=o.enableVideoPlaybackSpeed,p=(n=s,La()(Zr()(n),VH()("-".concat(n))))(St()(t="video-".concat(u,"-")).call(t,l));if(wQ(i))return yQ.createElement(vQ,{allowTabNavigation:a,captionUID:i.captionUID,captions:i.captions,id:p,key:p,labels:c,onFullScreenChange:d,poster:i.poster,shouldPause:i.pause,src:i.key,canAdjustPlaybackSpeed:f})}},{key:"renderEmbed",value:function(e){var t=this.props,n=t.allowTabNavigation,r=t.opts,i=t.labels,o=r.fullEmbed,a=r.showMetaData,s=void 0===a||a,u=e.embed,l="embed-".concat(this.props.index);if(wQ(u))return yQ.createElement(rQ,{labels:i,key:l,isLesson:o,id:l,showMetaData:s,data:u,allowTabNavigation:n,shouldPause:u.pause})}},{key:"render",value:function(){var e=this.props,t=e.media,n=e.hasPadding,r=GA()({"media-group":n});return yQ.createElement("div",{className:r,"data-ba":_Q.mediaArea},this.renderAudio(t),this.renderImage(t),this.renderVideo(t),this.renderEmbed(t))}}],[{key:"defaultProps",get:function(){return{asyncImgCn:!1,defaultAlign:"left",media:{},index:"1",hasPadding:!0,opts:{},allowTabNavigation:!0,lessonNumber:1}}}]),n}(yQ.Component),EQ=__webpack_require__(74633),xQ=__webpack_require__.n(EQ);function SQ(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...",r=e?e.toString():"";return r.length>t?r.substr(0,t-1)+n:r}var TQ=pe()(KN()(""),Za()(xQ(),0)),CQ=(pe()(KN()(" "),bi()(TQ),yo()(" ")),pe()(TQ,_o()),__webpack_require__(5238)),AQ=__webpack_require__.n(CQ),OQ=__webpack_require__(23493),NQ=__webpack_require__.n(OQ),PQ=__webpack_require__(67294);function IQ(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function LQ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IQ(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):IQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function MQ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var RQ,DQ,qQ,jQ,FQ=tF,BQ=NR("rise-auto-calc-contrast","fusion"),UQ=function(e){gt(n,e);var t=MQ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.blockId,r=e.editable,i=e.isLearner,o=e.items,a=e.labels,s=e.lessonId,u=e.onStep,l=e.settings,c=e.enableVideoPlaybackSpeed,d=l.entranceAnimation,f=l.accordionBehavior,p=void 0===f?"keepOpen":f,h=GA()("blocks-accordion",{"blocks-accordion--no-animation":!d});return PQ.createElement(zK,{className:h,"data-ba":FQ.blockAccordion},PQ.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i,duration:.75},PQ.createElement("div",{className:"blocks-accordion__container"},PQ.createElement("div",{className:"blocks-accordion__row"},PQ.createElement("div",{className:"blocks-accordion__col"},PQ.createElement(WQ,{keepOpen:"keepOpen"===p,lessonId:s,blockId:n,items:o,editable:r,settings:l,onStep:u,enableVideoPlaybackSpeed:c,labels:a}))))))}}],[{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(PQ.Component),zQ={isOpen:!1,isActive:!1},HQ=function(e,t){return t.reduce(function(e){return function(t,n){var r=n.id;return kt()({},t,qr({},r,e[r]||zQ))}}(e),{})},VQ=function(e){gt(n,e);var t=MQ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=(r=t.call.apply(t,St()(e=[this]).call(e,o))).props.items;return r.state={itemStatusMap:HQ({},s)},r}return dt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.items,n=oa()(t)!==oa()(this.props.items);!e.keepOpen&&this.props.keepOpen?this.updateMapForOneAtATimePreference(t):n&&this.rebuildItemStatusMap(t)}},{key:"updateMapForOneAtATimePreference",value:function(){var e=this.state.itemStatusMap,t=this.props.items,n=aZ()((function(t){return e[t.id].isOpen}),t);if(n){var r,i=(r=n.id,function(e,t){return{isOpen:t==r,isActive:e.isActive}});this.setState({itemStatusMap:wi()(i,e)})}}},{key:"rebuildItemStatusMap",value:function(e){var t=this.state.itemStatusMap;this.setState({itemStatusMap:HQ(t,e)})}},{key:"handleItemClick",value:function(e){var t=this.props,n=t.items,r=t.keepOpen,i=t.onStep,o=this.state.itemStatusMap,a=function(e,t){return function(n,r){var i=e==r,o=i?!n.isOpen:n.isOpen,a=i&&!n.isOpen;return{isOpen:t?o:a,isActive:i}}}(n[e].id,r);this.setState({itemStatusMap:wi()(a,o)}),open&&i(n[e])}},{key:"render",value:function(){var e=this,t=this.props,n=t.items,r=t.settings,i=t.editable,o=t.fusion,a=t.labels,s=t.lessonId,u=t.blockId,l=t.enableVideoPlaybackSpeed,c=this.state.itemStatusMap,d=r.zoomOnClick,f=GA()("blocks-accordion__wrapper",{"blocks-accordion__wrapper--legacy":!o});return PQ.createElement("div",{className:f},Ra()(n).call(n,(function(t,n){return PQ.createElement(GQ,{blockId:u,disableZoom:!d,editable:i,focused:c[t.id].isActive,index:n,item:LQ(LQ({},t),{},{enableVideoPlaybackSpeed:l}),key:t.id,labels:a,lessonId:s,onClick:e.handleItemClick.bind(e,n),open:c[t.id].isOpen})})))}}],[{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",keepOpen:!1,onStep:Function.prototype}}}]),n}(PQ.Component),WQ=BQ(VQ),YQ=function(e){gt(n,e);var t=MQ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).id=YX()(),r.toggle=r.toggle.bind(ft(r)),r.renderDescription=r.renderDescription.bind(ft(r)),r.renderTitle=r.renderTitle.bind(ft(r)),r}return dt(n,[{key:"componentDidUpdate",value:function(){if(this.props.open){var e=this.content;e&&(e.offsetHeight,e.classList.add("blocks-accordion__content--visible"))}}},{key:"toggle",value:function(e){var t=this.props,n=t.blockId,r=t.index,i=mZ.playerId;open&&i&&k_()(i).call(i,n)&&nZ()(i).call(i,r)&&mZ.pause(),this.props.onClick(),e.preventDefault()}},{key:"renderTitle",value:function(e){var t=this.props.item.title;return PQ.createElement($M,{id:e,className:"blocks-accordion__title brand--head brand--linkColor",value:t})}},{key:"renderDescription",value:function(){var e=this.props.item.description,t=void 0===e?"":e;return PQ.createElement(xK,{className:"blocks-accordion__description brand--body brand--linkColor",value:t||"",component:"div"})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.blockId,i=n.editable,o=n.disableZoom,a=n.index,s=n.item,u=n.focused,l=n.fusion,c=n.labels,d=n.open,f=n.renderDescription,p=void 0===f?this.renderDescription:f,h=n.renderTitle,m=void 0===h?this.renderTitle:h,v=s.settings,g=void 0===v?{}:v,y=s.media,b=void 0===y?{}:y,_=s.enableVideoPlaybackSpeed,w=kt()({},g,{disableZoom:o,fullEmbed:!0}),k=GA()("blocks-accordion__item",{"blocks-accordion__item--closed":!d,"blocks-accordion__item--legacy":!l}),E=GA()("blocks-accordion__header",{"blocks-accordion__header--legacy":!l,"brand--border":d&&u}),x=GA()("blocks-accordion__content",{"blocks-accordion__content--will-enter":d,"blocks-accordion__content--legacy":!l,"brand--border":d&&u}),S=GA()("blocks-accordion__media","blocks-accordion__".concat(KQ(b))),T="title-".concat(this.id),C="panel-".concat(this.id);return PQ.createElement(SX,{className:k,tag:"section"},PQ.createElement("div",{role:"heading","aria-level":"2"},PQ.createElement(CK,{"aria-controls":C,"aria-expanded":d,className:E,onClick:this.toggle,onKeyDown:!i&&TW(this.toggle)||null,tag:"button",type:"button"},m(T),PQ.createElement(CK,{"aria-hidden":"true",className:"blocks-accordion__toggler",tag:"span"},d?"–":"+"))),PQ.createElement("section",{"aria-labelledby":T,className:x,id:C,ref:function(e){t.content=e}},p(),PQ.createElement("div",{className:S},PQ.createElement(kQ,{asyncImgCn:!0,className:"blocks-accordion__img",enableVideoPlaybackSpeed:_,index:St()(e="".concat(r,"-")).call(e,a),labels:c,media:b,opts:w}))))}}],[{key:"defaultProps",get:function(){return{editable:!1,onClick:function(){},lessonId:"",blockId:"",open:null}}}]),n}(PQ.Component),GQ=BQ(YQ),KQ=function(e){var t=e.image,n=e.embed,r=e.video,i=e.audio;return t?"image":n?"embed":r?"video":i?"audio":"image"},XQ=function(e){gt(n,e);var t=MQ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderDescription=r.renderDescription.bind(ft(r));var s=r.props.activeIndex;return r.state={activeIndex:s,activeTouch:!1,activeMouse:!1},r.tabs=[],r.id=YX()(),r}return dt(n,[{key:"componentDidMount",value:function(){this.setContentActive(),this.handleControls(),this.sweetScroll=new(AQ())({duration:600,verticalScroll:!1,horizontalScroll:!0},this.tabsHeaderEl),this.tabsHeaderEl.addEventListener("scroll",this.tabScroll=NQ()(this.handleControls.bind(this),50)),window.addEventListener("resize",this.tabResize=NQ()(this.handleControls.bind(this),100))}},{key:"componentDidUpdate",value:function(){this.setContentActive(),this.handleControls()}},{key:"componentWillUnmount",value:function(){this.sweetScroll&&this.sweetScroll.destroy(),this.tabsHeaderEl.removeEventListener("scroll",this.tabScroll),window.removeEventListener("resize",this.tabResize)}},{key:"setContentActive",value:function(){var e=this.container.querySelector(".blocks-tabs__content-item--will-enter");e&&(e.offsetHeight,e.classList.add("blocks-tabs__content-item--active"))}},{key:"setActive",value:function(e,t){t.preventDefault(),this.setState({activeIndex:e});var n=this.props.blockId,r=mZ.playerId;this.state.activeIndex!=e&&r&&k_()(r).call(r,n)&&mZ.pause(),this.props.onStep(this.props.items[e])}},{key:"handleControls",value:function(){this.tabsHeaderEl.offsetWidth===this.tabsHeaderEl.scrollWidth?(this.arrowPrevEl.classList.add("hidden"),this.arrowNextEl.classList.add("hidden"),this.tabControls.classList.add("start"),this.tabControls.classList.add("end")):(0===this.tabsHeaderEl.scrollLeft?(this.arrowPrevEl.classList.add("hidden"),this.tabControls.classList.add("start")):(this.arrowPrevEl.classList.remove("hidden"),this.tabControls.classList.remove("start")),this.tabsHeaderEl.scrollLeft===this.tabsHeaderEl.scrollWidth-this.tabsHeaderEl.offsetWidth?(this.arrowNextEl.classList.add("hidden"),this.tabControls.classList.add("end")):(this.arrowNextEl.classList.remove("hidden"),this.tabControls.classList.remove("end")))}},{key:"handleMouseEnter",value:function(){this.state.activeTouch||this.setState({activeMouse:!0})}},{key:"handleMouseLeave",value:function(){this.setState({activeMouse:!1})}},{key:"handleTouchStart",value:function(){this.setState({activeTouch:!0})}},{key:"scrollTabs",value:function(e){var t=this.tabsHeaderEl.offsetWidth,n=this.tabsHeaderEl.scrollLeft,r=("next"===e?Tl():uZ())(n,.8*t);this.sweetScroll.toLeft(r)}},{key:"arrowPrevInset",value:function(e){var t=this.arrowPrevEl.getBoundingClientRect();return t.right-e+(t.left-e)}},{key:"focusTab",value:function(e){var t=e.target,n=document.querySelector(".blocks-tabs__header"),r=n.getBoundingClientRect(),i=r.left,o=r.right,a=t.getBoundingClientRect(),s=a.left;if(a.right>o||s<i){var u=this.arrowPrevInset(i);n.scrollLeft=s+n.scrollLeft-i-u}}},{key:"handleTabKeyDown",value:function(e,t){var n=this,r=vZ((function(){var r=$Y({list:n.tabs,currentIndex:e});n.setActive(r,t)})),i=vZ((function(){var r=XY({list:n.tabs,currentIndex:e});n.setActive(r,t)}));Dl()([[yW,r],[bW,i]])(t)}},{key:"renderHeader",value:function(e){var t=this,n=this.state,r=n.activeIndex,i=n.activeTouch,o=n.activeMouse,a=this.tabsHeaderEl&&this.tabsHeaderEl.scrollWidth>this.tabsHeaderEl.clientWidth,s=GA()("blocks-tabs__header-wrap",{touch:i,mouse:o&&a});return PQ.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this),onTouchStart:this.handleTouchStart.bind(this)},PQ.createElement("div",{className:"blocks-tabs__header",ref:function(e){t.tabsHeaderEl=e},role:"tablist"},Ra()(e).call(e,(function(n,i){var o,a,s=n.title,u=1===e.length||i===r,l=e.length>1&&i+1===r,c=e.length>1&&i-1===r,d=GA()("blocks-tabs__header-item brand--head",{"brand--color":u,"blocks-tabs__header-item--active":u,"blocks-tabs__header-item--before-active":l,"blocks-tabs__header-item--after-active":c}),f=wa()(iZ()(/<mark>/),oa(),da()(13),Tl()(30))(s),p=wa()(ci,Hn()(ss()(SQ))(f),(function(e){return"<span>".concat(e,"</span>")}))(s),h=St()(o="tab-".concat(t.id,"-")).call(o,i),m=St()(a="tabpanel-".concat(t.id,"-")).call(a,i);return PQ.createElement("button",{"aria-controls":m,"aria-selected":u,className:d,dangerouslySetInnerHTML:{__html:p},id:h,key:h,onClick:t.setActive.bind(t,i),onKeyDown:t.handleTabKeyDown.bind(t,i),onFocus:t.focusTab.bind(t),ref:function(e){t.tabs[i]=e},role:"tab",tabIndex:u?void 0:-1,type:"button"})}))),PQ.createElement("div",{className:"blocks-tabs__controls",ref:function(e){t.tabControls=e}},PQ.createElement("div",{"aria-hidden":"true",className:"blocks-tabs__arrow blocks-tabs__arrow--prev brand--background",ref:function(e){t.arrowPrevEl=e},onClick:this.scrollTabs.bind(this,"previous")},PQ.createElement(fO,{className:"blocks-tabs__arrow-icon"})),PQ.createElement("div",{"aria-hidden":"true",className:"blocks-tabs__arrow blocks-tabs__arrow--next brand--background",ref:function(e){t.arrowNextEl=e},onClick:this.scrollTabs.bind(this,"next")},PQ.createElement(fO,{className:"blocks-tabs__arrow-icon blocks-tabs__arrow-icon--next"}))))}},{key:"renderDescription",value:function(e){var t=e.description;return PQ.createElement(xK,{className:"blocks-tabs__description brand--body brand--linkColor",value:t,component:"div"})}},{key:"renderItem",value:function(e,t,n){var r,i,o,a=this.props,s=a.blockId,u=a.labels,l=a.renderDescription,c=void 0===l?this.renderDescription:l,d=this.state.activeIndex===t,f=e.media,p=void 0===f?{}:f,h=e.settings,m=void 0===h?{}:h,v=e.enableVideoPlaybackSpeed,g=GA()("blocks-tabs__content-item",{"blocks-tabs__content-item--will-enter":d}),y=kt()({},m,{disableZoom:n,fullEmbed:!0}),b=St()(r="tabpanel-".concat(this.id,"-")).call(r,t),_=St()(i="tab-".concat(this.id,"-")).call(i,t);return PQ.createElement("div",{"aria-labelledby":_,className:g,id:b,key:b,role:"tabpanel",tabIndex:d?0:void 0},c(e),PQ.createElement("div",{className:"blocks-tabs__".concat(KQ(p))},PQ.createElement(kQ,{asyncImgCn:!0,className:"blocks-tabs__img",index:St()(o="".concat(s,"-")).call(o,t),media:p,opts:y,enableVideoPlaybackSpeed:v,labels:u})))}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.defaultBackgroundColor,i=void 0===r?"":r,o=t.isLearner,a=t.items,s=t.settings,u=t.enableVideoPlaybackSpeed,l=s.paddingTop,c=s.paddingBottom,d=s.backgroundColor,f=s.entranceAnimation,p=s.zoomOnClick,h=GA()("blocks-tabs",{"blocks-tabs--no-animation":!f}),m={backgroundColor:wK(i,d),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*c,"px")},v=a.length>0?Nr()(a).call(a,0,30):[],g=GA()("blocks-tabs__container",{"blocks-tabs--single":1===v.length});return PQ.createElement("div",{className:h,"data-ba":FQ.blockTabs,style:m},PQ.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:350},PQ.createElement("div",{className:g},PQ.createElement("div",{className:"blocks-tabs__row"},PQ.createElement("div",{className:"blocks-tabs__col"},PQ.createElement("div",{className:"blocks-tabs__wrapper",ref:function(t){e.container=t}},this.renderHeader(v),PQ.createElement("div",{className:"blocks-tabs__content"},Ra()(v).call(v,(function(t,n){return e.renderItem(LQ(LQ({},t),{},{enableVideoPlaybackSpeed:u}),n,!p)})))))))))}}],[{key:"defaultProps",get:function(){return{items:[],activeIndex:0,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(PQ.Component),$Q=["media","storyline"],ZQ=Il()(null,["payload","result"]),QQ=Wn()($Q),JQ=Wn()(St()(RQ=[]).call(RQ,$Q,["thumbnail"])),eJ=Wn()(St()(DQ=[]).call(DQ,$Q,["meta","version"])),tJ=Il()(null,St()(qQ=[]).call(qQ,$Q,["src"])),nJ=Wn()(["payload","result","completion"]),rJ=Wn()(St()(jQ=[]).call(jQ,$Q,["processing"])),iJ=Il()(!1,["payload","result","score"]),oJ=ss()((function(e,t){if(!t)return!1;var n=e.majorLimit,r=e.minorLimit,i=Dr(t.split("."),2),o=i[0],a=i[1],s=parseInt(o)===n&&a>=r;return o>n||s})),aJ={mobile:"?forcemobile=1&devicepreview=1&phone=1&rise=true",tablet:"?forcemobile=1&devicepreview=1&rise=true"},sJ=oJ({majorLimit:3,minorLimit:13}),uJ=function(e,t,n){var r,i=t&&function(e){var t=SE()(e.split("-"));return aJ[t]}(n);return i?St()(r="".concat(e)).call(r,i):"".concat(e,"?rise=true")},lJ=__webpack_require__(67294);function cJ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var dJ=function(e){gt(n,e);var t=cJ(n);function n(){var e;return nt(this,n),(e=t.call(this)).state={fullscreen:!1,reopenMenu:!1},e.iframe=null,e.canFullscreen=e.canFullscreen.bind(ft(e)),e.handleCourseUpdate=e.handleCourseUpdate.bind(ft(e)),e.handleFullscreenEnter=e.handleFullscreenEnter.bind(ft(e)),e.handleFullscreenExit=e.handleFullscreenExit.bind(ft(e)),e.handleMessages=e.handleMessages.bind(ft(e)),e.renderItem=e.renderItem.bind(ft(e)),e}return dt(n,[{key:"componentWillMount",value:function(){window.addEventListener("message",this.handleMessages)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessages)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.onStep,r=SE()(t),i=pe()(sJ,eJ);Pa()(i,n,r)}},{key:"canFullscreen",value:function(e){var t=this.props,n=t.blockId,r=t.hasManySlBlocks;return n===e.windowName||!r()}},{key:"handleMessages",value:function(e){var t=e.data,n=t.type,r={"fullscreen:enter":this.handleFullscreenEnter,"fullscreen:exit":this.handleFullscreenExit,"course:update":this.handleCourseUpdate}[n];r&&r(t)}},{key:"handleCourseUpdate",value:function(e){var t=this.props,n=t.items,r=t.onStep,i=t.blockId,o=SE()(n);if(i===e.windowName&&nJ(e)){var a=ZQ(e),s=a.score,u=a.success;if(iJ(e))ax(i,u,!0,100*s.scaled);else ax(i,!0,!1);r(o)}}},{key:"handleFullscreenEnter",value:function(e){var t=this.props,n=t.menuOpen,r=t.handleStorylineFullscreen;this.canFullscreen(e)&&(n&&r(!0),this.setState({fullscreen:!0,reopenMenu:n}))}},{key:"handleFullscreenExit",value:function(e){var t=this.props.handleStorylineFullscreen,n=this.state.reopenMenu;this.canFullscreen(e)&&(n&&t(!1),this.setState({fullscreen:!1,reopenMenu:!1}))}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.isLesson,r=e.isLearner,i=e.items,o=e.labels.a11yBlockStoryline,a=e.settings,s=e.takingSnapshot,u=SE()(i),l=a.mediaWidth,c=void 0===l?"0":l,d={display:n&&!tJ(u)?"none":"block"},f=GA()("blocks-storyline__wrapper",{"blocks-storyline__wrapper--small":"0"===c,"blocks-storyline__wrapper--medium":"1"===c,"blocks-storyline__wrapper--full":"2"===c,"blocks-storyline__wrapper--snapshot":s});return lJ.createElement(zK,{className:"blocks-storyline",style:d},lJ.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:r},lJ.createElement("div",{"aria-label":o,className:f,role:"group"},s?this.renderThumbnail(u):this.renderStorylineBlock(u))))}},{key:"renderStorylineBlock",value:function(e){return rJ(e)?this.renderProcessing():tJ(e)?this.renderItem(e):this.renderEmpty()}},{key:"renderThumbnail",value:function(e){var t,n=JQ(e),r=St()(t="".concat(Xn("CDN_USER_CONTENT_URI"),"/")).call(t,n);return lJ.createElement("img",{alt:"Thumbnail",src:r})}},{key:"renderEmpty",value:function(){var e=this.props.renderEmpty;return"function"==typeof e?e():null}},{key:"renderItem",value:function(e){var t=this,n=this.state.fullscreen,r=this.props,i=r.blockId,o=r.isLesson,a=r.previewType,s=QQ(e),u=s.src,l=s.meta,c=s.title,d=l.player,f=uJ(u,o,a),p=d.height/d.width,h={paddingBottom:"".concat(100*p,"%")},m=GA()("blocks-storyline__item__iframe",{"blocks-storyline__item__iframe--fullscreen":n});return lJ.createElement("div",{className:"blocks-storyline__item",style:h},lJ.createElement("iframe",{allowtransparency:"true",ref:function(e){return t.iframe=e},name:i,className:m,src:er(f),title:c}))}},{key:"renderProcessing",value:function(){var e=this.props.renderProcessing;return"function"==typeof e?e():null}}],[{key:"defaultProps",get:function(){return{isLesson:!1,onStep:Function.prototype,hasManySlBlocks:Function.prototype,previewType:""}}}]),n}(lJ.Component),fJ=__webpack_require__(67294);function pJ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var hJ=tF,mJ=function(e){gt(n,e);var t=pJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderDescriptionDelegate=r.renderDescription.bind(ft(r)),r}return dt(n,[{key:"getButtonStyles",value:function(e,t){return{backgroundColor:"inverted"!==e?t:null,color:"inverted"===e?t:null,borderColor:"inverted"===e?t:null}}},{key:"renderDescription",value:function(e,t){var n=t||"";return fJ.createElement($M,{className:"blocks-button__description brand--head  brand--linkColor",value:n})}},{key:"getButton",value:function(e,t,n,r){return fJ.createElement("span",{className:t,dangerouslySetInnerHTML:{__html:r},onClick:e,onKeyDown:TW(e),role:"button",style:n,tabIndex:0})}},{key:"renderButton",value:function(e){var t=e.editable,n=e.buttonStyle,r=e.color,i=e.courseTitle,o=e.text,a=e.type,s=e.destination,u=e.editBlock,l=this.getButtonStyles(n,r),c=GA()("blocks-button__button brand--ui",{"brand--background":void 0===r});if(t)return this.getButton(u,c,l,o);if("lesson"===a){var d=this.props,f=d.handleNavigate,p=d.match,h="/lessons/".concat(s);p&&p.params.mode&&(h+="/".concat(p.params.mode));var m=""===s?"#":h;return fJ.createElement(zj,{className:c,dangerouslySetInnerHTML:{__html:o},onClick:function(){return f(s)},role:"button",style:l,to:m})}if("exit-course"===a)return this.getButton(tr,c,l,o);var v=HZ(Zr()("email"!==a),s);if("email"===a){var g,y=lF.isIphoneSafari?"_top":"_self";return fJ.createElement("a",{className:c,dangerouslySetInnerHTML:{__html:o},href:St()(g="mailto:".concat(v,"?subject=")).call(g,i),style:l,tabIndex:0,target:y})}var b=this.props,_=b.externalLinksDisabled,w=b.showExternalLinksModal,k=_&&AM(v),E=k?void 0:v,x=""===E?"#":E,S=iA()(x)?"_blank":void 0,T="_blank"===S?"noopener noreferrer":void 0,C=k?"button":void 0,A=k?w:void 0,O="_blank"===S?o+'<span class="visually-hidden-always">(opens in a new tab)</span>':o;return fJ.createElement("a",{className:c,dangerouslySetInnerHTML:{__html:O},href:x,onClick:A,rel:T,role:C,style:l,tabIndex:0,target:S})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.courseTitle,i=t.defaultBackgroundColor,o=void 0===i?"":i,a=t.editable,s=t.editBlock,u=t.isLearner,l=t.items,c=t.settings,d=t.renderDescription,f=void 0===d?this.renderDescriptionDelegate:d,p=l.length>0?Nr()(l).call(l,0,1):[],h=c.paddingTop,m=c.paddingBottom,v=c.backgroundColor,g=c.entranceAnimation,y=c.buttonColor||this.props.color,b="rounded",_=GA()("blocks-button",{"blocks-button--no-animation":!g,"blocks-button--left":!1,"blocks-button--center":!1,"blocks-button--right":!0,"blocks-button--rounded":!0}),w={backgroundColor:wK(o,v),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*m,"px")};return fJ.createElement("div",{className:_,"data-ba":hJ.blockButton,style:w},fJ.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:u,offset:100},Ra()(p).call(p,(function(t){var n=t.id,i=t.label,o=t.type,u=t.destination,l=t.description,c=SQ(li(i),18);return fJ.createElement("section",{key:n,className:"blocks-button__container"},f(n,l),e.renderButton({editable:a,buttonStyle:b,color:y,courseTitle:r,text:c,type:o,destination:u,editBlock:s}))}))))}}],[{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(fJ.Component),vJ=nn(Ak()({externalLinksDisabled:Wn()(["course","externalLinksDisabled"])}),{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(mJ),gJ=vJ,yJ=function(e){gt(n,e);var t=pJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderButtonDelegate=r.renderButton.bind(ft(r)),r}return dt(n,[{key:"renderButton",value:function(e,t){var n=this.props,r=n.blockId,i=n.courseTitle,o=n.editable,a=n.editBlock,s=n.handleNavigate,u=n.isLearner,l=n.labels,c=n.lessonId;return fJ.createElement(vJ,{animateBlockEntrance:!1,blockId:r,courseTitle:i,editable:o,editBlock:a,isLearner:u,items:[e],labels:l,lessonId:c,settings:t,type:"right",handleNavigate:s})}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.defaultBackgroundColor,r=void 0===n?"":n,i=e.isLearner,o=e.items,a=e.settings,s=e.renderButton,u=void 0===s?this.renderButtonDelegate:s,l=a.paddingTop,c=a.paddingBottom,d=a.backgroundColor,f=a.entranceAnimation,p=GA()("blocks-buttonstack",{"blocks-buttonstack--no-animation":!f}),h={backgroundColor:wK(r,d),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*c,"px")},m={buttonColor:a.buttonColor||this.props.color,buttonStyle:a.buttonStyle};return fJ.createElement("div",{className:p,style:h},fJ.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i},Ra()(o).call(o,(function(e){return fJ.createElement(v.Fragment,{key:e.id},u(e,m))}))))}}],[{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(fJ.Component),bJ=__webpack_require__(42317),_J=__webpack_require__.n(bJ),wJ=Fo()("partner-content-block-card__"),kJ=function(e){var t=e.backgroundColor,n=e.blockId,r=e.courseId,i=e.partnerContent,o=e.publishedAt,a=e.tenantId,s=i.data,u=i.type,l=s.authors,c=s.bookImage,d=s.bookTitle,f=s.buyLink,p=s.internalId,h=s.nbicLink,m={blockId:n,courseId:r,partnerContentId:p,tenantId:a,contentSubtype:u};return v.createElement("section",null,v.createElement("h2",{className:"visually-hidden"},"More Info"),v.createElement("ol",{className:"partner-content-block-card",role:"list"},v.createElement("li",{role:"listitem"},v.createElement(AF,{authors:l,backgroundColor:t,block:!0,bookImage:c,bookTitle:d,buyLink:f,publishedAt:o,trackingInfo:m})),v.createElement("li",{role:"listitem"},v.createElement("div",{className:wJ("divider")})),v.createElement("li",{role:"listitem"},v.createElement(NF,{backgroundColor:t,block:!0,link:h,publishedAt:o,trackingInfo:m}))))},EJ=__webpack_require__(67294);function xJ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var SJ=tF,TJ=pe()(NR("rise-auto-calc-contrast","fusion"),yG(),_G()),CJ=yM("block-audio"),AJ=yM("block-video"),OJ=yM("block-embed"),NJ=yM("block-attachment"),PJ=function(e){gt(n,e);var t=xJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(ft(r)),r.onLoad=r.onLoad.bind(ft(r)),r.state={loaded:!1},r}return dt(n,[{key:"renderCaption",value:function(e){var t=e.caption,n=this.state.loaded,r=CJ("caption",{hidden:!n}).mix("brand--body brand--linkColor").toString();return EJ.createElement(CK,{className:r,tag:xK,value:t})}},{key:"onLoad",value:function(){this.setState({loaded:!0})}},{key:"renderItem",value:function(e){var t,n,r=this.props,i=r.blockId,o=r.labels,a=r.lessonId,s=r.loadMedia,u=r.progress,l=r.recordMediaPlayheadPosition,c=r.renderCaption,d=void 0===c?this.renderCaptionDelegate:c,f=e.id,p=e.media,h=void 0===p?{}:p,m=h.audio,v=h.tmp,g=((void 0===v?{}:v).audio||m).key,y=St()(t=St()(n="".concat(a,"-")).call(n,i,"-")).call(t,f),b=Il()(0,["items",i,"items",f,"audioVideoPlayhead"],u);return EJ.createElement("div",{key:f,className:CJ("item")},s?EJ.createElement(kZ,{audioVideoPlayhead:b,key:y,id:y,labels:o,mediaSrc:g,onEnd:this.handleOnEnd.bind(this,f),onLoad:this.onLoad,recordMediaPlayheadPosition:l}):null,d(e))}},{key:"handleOnEnd",value:function(e){this.props.onStep({id:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings.entranceAnimation,a=CJ({"no-animation":!o}).toString(),s=i.length>0?Nr()(i).call(i,0,1):[];return EJ.createElement(zK,{className:a,"data-ba":SJ.blockAudio},EJ.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r,offset:150},EJ.createElement("div",{className:CJ("wrapper")},Ra()(s).call(s,(function(t,n){return e.renderItem(t,n)})))))}}],[{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,blockId:"",editable:!1,items:[],lessonId:"",onStep:Function.prototype,recordMediaPlayheadPosition:Function.prototype}}}]),n}(EJ.Component),IJ=function(e){gt(n,e);var t=xJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(ft(r)),r.onVideoLoad=r.onVideoLoad.bind(ft(r)),r.state={loaded:!1},r}return dt(n,[{key:"onVideoLoad",value:function(){this.setState({loaded:!0})}},{key:"renderVideo",value:function(e){var t=this.props,n=t.blockId,r=t.editable,i=t.enableVideoPlaybackSpeed,o=t.labels,a=t.partnerContent,s=t.progress,u=t.recordMediaPlayheadPosition,l=t.settings,c=t.takingSnapshot,d=t.type,f=e.captions,p=e.captionUID,h=e.id,m=e.key,v=e.keyId,g=e.partnerContentId,y=e.poster,b=e.subtitle,_=m||e.src,w=Il()(0,["items",n,"items",h,"audioVideoPlayhead"],s),k=Ux()(Ci()("id",g),a)||{},E=EJ.createElement("div",null,EJ.createElement("img",{className:AJ("poster"),src:y,alt:"Video Poster"})),x=EJ.createElement("div",null,EJ.createElement("div",{className:AJ("placeholder")})),S=EJ.createElement("div",null,EJ.createElement(vQ,{audioVideoPlayhead:w,canAdjustPlaybackSpeed:i,canRestrictSeek:l.forwardSeekRestricted&&!r&&!(null!=s&&s.isComplete),captionUID:p,captions:f,id:v,key:v,labels:o,onLoad:this.onVideoLoad,partnerContent:k,poster:y,progressChanged:this.handleProgressChanged.bind(this,h),recordMediaPlayheadPosition:u,src:_,subtitle:b,type:m?"video":d}));return c?E:_?S:x}},{key:"renderCaption",value:function(e){var t=e.caption,n=this.state.loaded,r=AJ("caption",{visible:n}).mix("brand--body brand--linkColor").toString();return EJ.createElement(xK,{className:r,value:t})}},{key:"renderItem",value:function(e){var t,n,r=this.props,i=r.courseId,o=r.lessonId,a=r.blockId,s=r.loadMedia,u=r.partnerContent,l=r.publishedAt,c=r.settings,d=r.tenantId,f=r.renderCaption,p=void 0===f?this.renderCaptionDelegate:f,h=this.state.loaded,m=c.backgroundColor,v=c.mediaWidth,g=void 0===v?"1":v,y=e.id,b=e.media,_=e.partnerContentId,w=b.customVideo,k=void 0===w?{}:w,E=b.tmp,x=void 0===E?{}:E,S=b.video,T=void 0===S?{}:S,C=gb()("poster",T)?T:To()(T,k),A=gb()("poster",x.video||{})&&x.video,O=rr()?C:A||C,N=O.captionUID,P=O.captions,I=O.key,L=O.poster,M=O.src,R=O.subtitle,D={captionUID:N,captions:P,id:y,key:I,keyId:St()(t=St()(n="".concat(o,"-")).call(n,a,"-")).call(t,y),partnerContentId:_,poster:L,src:M,subtitle:R},q=Ux()(Ci()("id",_),u)||{},j=q&&!Ha()(q),F=AJ("item",{small:"0"===g,medium:"1"===g,full:"2"===g});return EJ.createElement("div",{key:y,className:F,"data-ba":SJ.blockVideo},EJ.createElement("figure",null,s&&this.renderVideo(D),h&&EJ.createElement("figcaption",{className:AJ("wrapper")},p(e))),j&&EJ.createElement(kJ,{backgroundColor:m,blockId:a,courseId:i,partnerContent:q,publishedAt:l,tenantId:d}))}},{key:"handleProgressChanged",value:function(e,t){t.percentComplete>=100&&this.props.onStep({id:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.settings.entranceAnimation,a=AJ({"no-animation":!o}).toString(),s=i.length>0?Nr()(i).call(i,0,1):[];return EJ.createElement(zK,{className:a},EJ.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r,offset:250},Ra()(s).call(s,(function(t,n){return e.renderItem(t,n)}))))}}],[{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype,partnerContent:[]}}}]),n}(EJ.Component),LJ=function(e){gt(n,e);var t=xJ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"renderItem",value:function(e,t){var n,r=e.id,i=e.media.embed,o=e.settings,a=void 0===o?{}:o,s=this.props,u=s.loadMedia,l=s.labels,c=s.settings,d=a.showMetaData,f=c.cardMode,p=c.showBorder,h=void 0===p||p,m=OJ("item",{border:h}).toString();return EJ.createElement(SX,{key:r,className:m,"data-ba":SJ.blockEmbed,disabled:!h&&f==oG.TRANSPARENT,tag:"section"},u&&EJ.createElement(rQ,{id:St()(n="".concat(t,"-")).call(n,r),labels:l,isLesson:!0,data:i,showMetaData:d}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.blockId,i=t.fusion,o=t.isLearner,a=t.items,s=t.settings,u=s.entranceAnimation,l=s.mediaWidth,c=void 0===l?0:l,d="link"!==XZ(a),f=OJ({legacy:!i,"no-animation":!u}).toString(),p=OJ("wrapper",{medium:d&&"1"===c,full:d&&"2"===c}),h=a.length>0?Nr()(a).call(a,0,1):[];return EJ.createElement(zK,{className:f},EJ.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:300},EJ.createElement("div",{className:p},Ra()(h).call(h,(function(t){return e.renderItem(t,r)})))))}}],[{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:""}}}]),n}(EJ.Component),MJ=TJ(LJ),RJ=function(e){gt(n,e);var t=xJ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"attachment",get:function(){return this.props.items[0].media.attachment}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.isLearner;return EJ.createElement(zK,null,EJ.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:n},EJ.createElement("div",{className:"block-text--onecol"},EJ.createElement("div",{className:"block-text__container"},EJ.createElement("div",{className:"block-text__row"},EJ.createElement("div",{className:"block-text__col"},this.renderAttachment(this.attachment)))))))}},{key:"renderAttachment",value:function(e){return e.key?this.renderDownload(e):this.renderNoFile()}},{key:"renderDownload",value:function(e){var t=e.key,n=e.mimeType,r=e.originalUrl,i=e.size,o=this.props,a=o.externalLinksDisabled,s=o.fusion,u=o.showExternalLinksModal,l=er(t),c=a?"":void 0,d=a?u:void 0,f=a?void 0:l,p=a?void 0:"noopener noreferrer",h=a?"button":void 0,m=a?void 0:"_blank",v=NJ({legacy:!s}).mix("brandHover").toString(),g=NJ("info").mix("brand--head");return EJ.createElement(SX,{className:v,"data-external":c,download:r,href:f,onClick:d,rel:p,role:h,tag:"a",target:m},EJ.createElement("div",{className:NJ("main")},EJ.createElement("div",{className:NJ("icon")},this.fileIcon(n)),EJ.createElement("div",{className:g},EJ.createElement(CK,{className:NJ("title").toString(),tag:$M,value:r}),EJ.createElement(CK,{className:NJ("size").toString()},_J()(i,{round:1})))),EJ.createElement("div",{className:NJ("rest")},EJ.createElement(CK,{className:"brandHover__target--fill",contrastRequirement:"graphicalUiComponentsAA",rule:"fill",tag:wO})))}},{key:"renderNoFile",value:function(){var e=NJ({none:!0,legacy:!this.props.fusion}).toString(),t=NJ("info").mix("brand--head");return EJ.createElement(SX,{className:e,"data-ba":SJ.blockAttachment},EJ.createElement("div",{className:NJ("main")},EJ.createElement("div",{className:NJ("icon")},EJ.createElement(SO,{"aria-label":"File"})),EJ.createElement("div",{className:t},EJ.createElement(CK,{className:NJ("title").toString()},"File Attachment Block"),EJ.createElement(CK,{className:NJ("size").toString()},"No file added"))))}},{key:"fileIcon",value:function(e){var t=this.props.labels;return/excel|spreadsheet/.test(e)?EJ.createElement(NO,{"aria-label":null==t?void 0:t.a11yExcelIcon}):/pdf/.test(e)?EJ.createElement(CO,{"aria-label":null==t?void 0:t.a11yPDFIcon}):/word/.test(e)?EJ.createElement(TO,{"aria-label":null==t?void 0:t.a11yWordIcon}):/powerpoint|presentation/.test(e)?EJ.createElement(AO,{"aria-label":null==t?void 0:t.a11yPPTIcon}):/rtf|richtext/.test(e)?EJ.createElement(OO,{"aria-label":null==t?void 0:t.a11yRTFIcon}):/zip/.test(e)?EJ.createElement(PO,{"aria-label":null==t?void 0:t.a11yZipIcon}):EJ.createElement(SO,{"aria-label":null==t?void 0:t.a11yFileIcon})}}]),n}(EJ.Component),DJ=Ak()({externalLinksDisabled:Wn()(["course","externalLinksDisabled"])}),qJ=pe()(nn(DJ,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}}),TJ)(RJ),jJ=Zj,FJ=function(e){var t=e.bgColor,n=void 0===t?"brand":t,r=e.href,i=e.onClick,o=e.text,a=GA()("continue-btn","brand--ui",{"continue-btn--gray":"gray"===n,"continue-btn--black":"black"===n,"brand--background":"brand"===n});return r?v.createElement(zj,{className:a,onClick:i,to:r},o):v.createElement("button",{className:a,"data-ba":jJ.continueBtn,onClick:i,type:"button"},o)},BJ=function(e){var t=e.bgType,n=e.text,r=e.iconType,i=void 0===r?"locked":r,o=GA()("continue-hint",{"continue-hint--bg-transparent":"transparent"===t});return v.createElement("div",{className:o},v.createElement("div",{className:"continue-hint__content"},n),"locked"===i&&v.createElement(FO,{"aria-label":"Closed padlock",className:"continue-hint__icon"}))};function UJ(e){var t=e.animateBlockEntrance,n=e.canContinue,r=void 0!==n&&n,i=e.defaultBackgroundColor,o=void 0===i?"":i,a=e.isComplete,s=e.isLearner,u=e.isOnlyBlockInStep,l=e.items,c=void 0===l?[]:l,d=e.labels,f=e.onStep,p=void 0===f?Function.prototype:f,h=e.settings,m=(0,v.useRef)(),g=sq(a),y=Vr().announcePolite,b=c[0]||{},_=b.buttonColor,w=b.completeHint,k=b.id,E=b.title,x=!b.type||r||u&&a,S=!a||u,T=(0,v.useCallback)((function(){var e=m.current;e&&(e.setAttribute("aria-live","off"),e.setAttribute("role","status"),e.setAttribute("tabindex","-1"),e.innerHTML=null==d?void 0:d.a11yStatusContinued,e.focus()),p({id:k})}),[k,d,p]);return(0,v.useEffect)((function(){!g&&a&&(null==y||y(null==d?void 0:d.a11yStatusAdditionalContent))}),[y,a,d,g]),v.createElement(v.Fragment,null,S&&v.createElement("div",{style:zJ(h,o)},v.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:s,offset:25},v.createElement("div",{className:"block-text--onecol"},v.createElement("div",{className:"block-text__container"},v.createElement("div",{className:"block-text__row"},v.createElement("div",{className:"block-text__col"},x&&v.createElement(FJ,{bgColor:_,onClick:T,text:E}),!x&&v.createElement(BJ,{text:w}))))))),v.createElement("div",{className:"abs-center-x visually-hidden-always",ref:m}))}function zJ(e,t){return{backgroundColor:wK(t,e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}var HJ=__webpack_require__(23279),VJ=__webpack_require__.n(HJ),WJ=(0,_.shape)({image:(0,_.shape)({key:_.string,originalUrl:_.string,src:_.string,thumbnail:_.string,type:_.string,useCrushedKey:_.bool})}),YJ=(0,_.oneOf)([void 0,"description","fullimage","image"]),GJ=(0,_.shape)({description:_.string,media:WJ,type:YJ});(0,_.shape)({back:GJ,front:GJ,id:_.string});function KJ(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var XJ=tF,$J=yM("flashcard"),ZJ=function(e){gt(n,e);var t=KJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return qr(ft(r=t.call.apply(t,St()(e=[this]).call(e,o))),"state",{areSidesReady:!0,flipped:!1,hasFlippedOnce:!1,isMounted:!1}),qr(ft(r),"cardRef",(0,v.createRef)()),qr(ft(r),"handleFlip",(function(e){var t,n=window.getSelection(),i=n.toString()&&(null===(t=r.cardRef.current)||void 0===t?void 0:t.contains(n.anchorNode));e.detail>1&&n.empty(),e&&e.target.closest("a")||i||r.setState({areSidesReady:!1,flipped:!r.state.flipped,hasFlippedOnce:!0})})),qr(ft(r),"handleTouchEnd",(function(e){e.stopPropagation()})),qr(ft(r),"handleSideReady",(function(){r.setState({areSidesReady:!0})})),r}return dt(n,[{key:"render",value:function(){var e=this.cardRef,t=this.handleFlip,n=this.handleSideReady,r=this.handleTouchEnd,i=this.props,o=i.allowTabNavigation,a=i.backDescription,s=i.backImgAlt,u=i.backImgUrl,l=i.backType,c=i.forceFlipped,d=i.frontDescription,f=i.frontImgAlt,p=i.frontImgUrl,h=i.frontType,m=i.labels,g=i.prefersKeyboardNavigation,y=i.settingShowHint,b=i.size,_=i.type,w=i.wrapElement,k=i.wrapRole,E=this.state,x=E.areSidesReady,S=E.flipped,T=E.isMounted,C=c||S,A=$J({large:"large"===b,small:"small"===b,flipped:C,stack:"stack"===_});return v.createElement(w,{"aria-hidden":!o,className:A,onClick:t,onTouchEnd:r,role:k,ref:e},v.createElement(SX,{allowTabNavigation:o,blockType:_,description:d,imgAlt:f,imgUrl:p,isActiveSide:!C,isAriaHidden:C&&T&&x,isFlipped:C,labels:m,onFlip:t,onReady:n,prefersKeyboardNavigation:g,settingShowHint:y,side:"front",size:b,type:h,tag:t0}),v.createElement(n0,{allowTabNavigation:o,blockType:_,description:a,imgAlt:s,imgUrl:u,isActiveSide:C,isAriaHidden:!C&&T&&x,isFlipped:C,labels:m,onFlip:t,onReady:n,prefersKeyboardNavigation:g,settingShowHint:y,side:"back",size:b,type:l}))}},{key:"componentDidMount",value:function(){this.setState({isMounted:!0})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.allowTabNavigation,i=n.id,o=n.onStep,a=this.state.hasFlippedOnce;!t.hasFlippedOnce&&a&&o({id:i}),e.allowTabNavigation&&!r&&this.setState({flipped:!1})}}]),n}(v.PureComponent);qr(ZJ,"defaultProps",{allowTabNavigation:!0,backType:"description",forceFlipped:!1,frontType:"description",onStep:Function.prototype,settingShowHint:!0});var QJ=yM("flashcard-side"),JJ=yM("flashcard-side-flip"),e0=function(e){gt(n,e);var t=KJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return qr(ft(r=t.call.apply(t,St()(e=[this]).call(e,o))),"state",n.initialState),qr(ft(r),"longBottomObserver",void 0),qr(ft(r),"readyTimeout",void 0),qr(ft(r),"refDescription",(0,v.createRef)()),qr(ft(r),"refDescriptionBottom",(0,v.createRef)()),qr(ft(r),"refSide",(0,v.createRef)()),qr(ft(r),"handleUpdatesDescription",(function(e,t){var n=ft(r),i=n.props,o=i.isFlipped,a=i.isActiveSide,s=n.state.isLongOverflow;e.isFlipped!==o&&a&&r.scrollDescriptionToTop(),r.handleUpdatesDescriptionSize(e,t),!t.isLongOverflow&&s?(r.setLongBottomObserver(),r.setScrollbarWidth()):t.isLongOverflow&&!s&&r.cleanupLongBottomObserver()})),qr(ft(r),"handleUpdatesDescriptionSize",(function(e,t){var i=n.descriptionActionTypes,o=i.INSERTING,a=i.DELETING,s=ft(r),u=s.props,l=u.description,c=u.size,d=u.type,f=s.state,p=f.descriptionAction,h=f.isLong,m=f.isLongOverflow;p!==o&&l.length>e.description.length?r.setState({descriptionAction:o}):p!==a&&l.length<e.description.length?r.setState({descriptionAction:a}):p===t.descriptionAction&&h===t.isLong&&m===t.isLongOverflow&&c===e.size&&d===e.type&&l.length===e.description.length||r.checkDescriptionSize(e)})),qr(ft(r),"checkDescriptionSize",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.descriptionActionTypes.DELETING,i=ft(r),o=i.props.size,a=i.refDescription.current,s=i.state,u=s.descriptionAction,l=s.isLong,c=s.isLongOverflow;if(a){var d=a&&a.scrollHeight>a.clientHeight;d?l&&!c?r.setState({isLongOverflow:!0}):l||c||r.setState({isLong:!0}):u!==t&&o===e.size||r.setState(n.initialState)}})),qr(ft(r),"scrollDescriptionToTop",(function(){var e=r.refDescription.current;r.state.isLong&&e&&(e.scrollTop=0)})),qr(ft(r),"setLongBottomObserver",(function(){var e=r.refDescriptionBottom.current;if(e&&null==r.longBottomObserver){r.longBottomObserver=new IntersectionObserver((function(e){var t,n,i=null!==(t=null==e||null===(n=e[0])||void 0===n?void 0:n.isIntersecting)&&void 0!==t&&t;r.setState({isAtLongOverflowBottom:!i})}),{threshold:[0,1]}),r.longBottomObserver.observe(e)}})),qr(ft(r),"cleanupLongBottomObserver",(function(){var e,t;null===(e=r.longBottomObserver)||void 0===e||null===(t=e.disconnect)||void 0===t||t.call(e),r.longBottomObserver=void 0})),qr(ft(r),"setScrollbarWidth",(function(){var e=r.refDescription.current;if(e){var t=e.offsetWidth-e.clientWidth;t>0&&r.setState({scrollbarWidthOffset:t})}})),r}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.allowTabNavigation,n=e.className,r=e.description,i=e.fusion,o=e.imgAlt,a=e.imgUrl,s=e.isActiveSide,u=e.isAriaHidden,l=e.isFlipped,c=e.labels,d=e.onFlip,f=e.prefersKeyboardNavigation,p=e.settingShowHint,h=e.side,m=e.size,g=e.style,y=e.type,b=this.refDescription,_=this.refDescriptionBottom,w=this.refSide,k=this.state,E=k.isAtLongOverflowBottom,x=k.isLong,S=k.isLongOverflow,T=k.scrollbarWidthOffset,C="front"===h,A="back"===h,O="small"===m,N="large"===m,P="description"===y,I="fullimage"===y,L="image"===y,M=C?null==c?void 0:c.a11yBlockFlashcardFront:null==c?void 0:c.a11yBlockFlashcardBack,R=QJ({back:A,flipped:l,front:C,fullimage:I,legacy:!i}).mix(n),D=QJ("content",{small:O,large:N,front:C,fullimage:I,image:L,"long-overflow":S,"long-overflow-bottom":E}),q=JJ(),j=JJ("btn",{"visually-hidden":!p,"prefers-keyboard":f}),F=JJ("icon"),B=JJ("tooltip"),U=QJ("img",{small:O,large:N,centered:L,full:I}),z=QJ("description",{long:x&&!S,"long-overflow":S,short:!x,large:N}).mix("brand--head"),H=QJ("description-bottom"),V=null==T?void 0:{right:T};return v.createElement("div",{"aria-hidden":u,"aria-roledescription":"flip card",className:R,ref:w,tabIndex:"-1",style:g},v.createElement("span",{className:"visually-hidden-always"},M),v.createElement("div",{className:D},(I||L)&&v.createElement(r0,{alt:o,className:U,url:a}),P&&v.createElement("div",{className:z,ref:b,tabIndex:s&&S?0:void 0},v.createElement($M,{allowTabNavigation:t&&!u,value:r}),S&&v.createElement("div",{className:H,ref:_})),v.createElement("div",{className:q,style:V},v.createElement("button",{"aria-label":null==c?void 0:c.blocksClickToFlip,className:j,onClick:d,tabIndex:t&&s?0:-1,type:"button"},v.createElement(QO,{className:F})),v.createElement("div",{"aria-hidden":"true",className:B},null==c?void 0:c.blocksClickToFlip))))}},{key:"componentDidMount",value:function(){this.checkDescriptionSize(this.props),this.checkDescriptionSizeDebounced=VJ()(this.checkDescriptionSize,250),window.addEventListener("resize",this.checkDescriptionSizeDebounced)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.readyTimeout),this.cleanupLongBottomObserver(),window.removeEventListener("resize",this.checkDescriptionSizeDebounced)}},{key:"componentDidUpdate",value:function(e,t){var n,r,i,o,a=this.props,s=a.allowTabNavigation,u=a.blockType,l=a.isFlipped,c=a.isActiveSide,d=a.onReady,f=a.type;e.isFlipped!==l&&(c&&s?(null===(n=this.refSide.current)||void 0===n||null===(r=n.focus)||void 0===r||r.call(n),this.readyTimeout=setTimeout((function(){d()}),700)):clearTimeout(this.readyTimeout));("description"===f&&this.handleUpdatesDescription(e,t),"stack"===u&&c&&!e.allowTabNavigation&&s)&&(null===(i=this.refSide.current)||void 0===i||null===(o=i.focus)||void 0===o||o.call(i))}}]),n}(v.PureComponent);qr(e0,"descriptionActionTypes",{INITIAL:"INITIAL",INSERTING:"INSERTING",DELETING:"DELETING"}),qr(e0,"initialState",{descriptionAction:e0.descriptionActionTypes.INITIAL,isAtLongOverflowBottom:!1,isLong:!1,isLongOverflow:!1,scrollbarWidthOffset:void 0});var t0=pe()(NR("rise-auto-calc-contrast","fusion"),Wr)(e0),n0=function(e){var t=gG(),n=t.backgroundType,r=t.cardMode,i=bG(),o=OR("rise-auto-calc-contrast"),a=(0,v.useMemo)((function(){var e="#fafafa";if(o&&r===oG.TRANSPARENT)switch(n){case hS.DARK:e="#525252";break;case hS.BLACK:e="#1a1a1a";break;case hS.IMAGE:e="#000c";break;case hS.ACCENT:case hS.COLOR:case hS.TINT:var t=0;switch(OC(i)){case bC.LIGHT:t=.5;break;case bC.MED:t=-.35;break;case bC.DARK:t=-.65;break;case bC.NEAR_BLACK:t=.1}e=SC(t,i)}return{"--background-color":e}}),[i,n,r,o]);return v.createElement(CK,Et({},e,{style:a,tag:t0}))},r0=function(e){var t=e.alt,n=e.className,r=e.url,i=function(e){return e&&'""'!==ro()(e).call(e)?e:""}(t);return v.createElement(v.Fragment,null,v.createElement("img",{alt:i,className:n,src:r}),!i&&v.createElement("span",{className:"visually-hidden-always"},"No image alternative text"))},i0=function(e){gt(n,e);var t=KJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return qr(ft(r=t.call.apply(t,St()(e=[this]).call(e,o))),"state",{prefersKeyboardNavigation:!0}),qr(ft(r),"handleKeyDown",(function(e){r.state.prefersKeyboardNavigation||lW(e)||r.setState({prefersKeyboardNavigation:!0})})),qr(ft(r),"handleMouseDown",(function(){r.state.prefersKeyboardNavigation&&r.setState({prefersKeyboardNavigation:!0})})),r}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.isLearner,r=e.items,i=e.labels,o=e.onStep,a=e.settings,s=e.stack,u=this.state.prefersKeyboardNavigation,l=a.entranceAnimation,c=a.showHint,d=GA()("block-flashcards",{"blocks-flashcard--column":!s,"blocks-flashcard--stack":s,"block-flashcards--no-animation":!l}),f=r.length>2?"small":"large",p=s?null==i?void 0:i.a11yBlockFlashcardStack:null==i?void 0:i.a11yBlockFlashcardGrid;return v.createElement(zK,{"aria-label":p,className:d,"data-ba":XJ.blockFlashcards,role:"group"},s?v.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:n,offset:400},v.createElement(o0,{items:r,labels:i,onStep:o,showHint:c})):v.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-flashcards__animation",isLearner:n,siblingDelay:.25},v.createElement("ol",{className:"block-flashcards__wrapper",role:"list"},Ra()(r).call(r,(function(e){var t,n,r,a,s,l,d,p,h,m,g,y,b,_;return v.createElement(ZJ,{backDescription:null==e||null===(t=e.back)||void 0===t?void 0:t.description,backImgAlt:null==e||null===(n=e.back)||void 0===n||null===(r=n.media)||void 0===r||null===(a=r.image)||void 0===a?void 0:a.alt,backImgUrl:eS(null==e||null===(s=e.back)||void 0===s||null===(l=s.media)||void 0===l?void 0:l.image),backType:null==e||null===(d=e.back)||void 0===d?void 0:d.type,frontDescription:null==e||null===(p=e.front)||void 0===p?void 0:p.description,frontImgAlt:null==e||null===(h=e.front)||void 0===h||null===(m=h.media)||void 0===m||null===(g=m.image)||void 0===g?void 0:g.alt,frontImgUrl:eS(null==e||null===(y=e.front)||void 0===y||null===(b=y.media)||void 0===b?void 0:b.image),frontType:null==e||null===(_=e.front)||void 0===_?void 0:_.type,id:null==e?void 0:e.id,key:null==e?void 0:e.id,labels:i,onStep:o,prefersKeyboardNavigation:u,settingShowHint:c,size:f,type:"grid",wrapElement:"li",wrapRole:"listitem"})})))))}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("mousedown",this.handleMouseDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("mousedown",this.handleMouseDown)}}]),n}(v.Component);qr(i0,"defaultProps",{editable:!1,items:[],onStep:Function.prototype,stack:!1});var o0=function(e){gt(n,e);var t=KJ(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return qr(ft(r=t.call.apply(t,St()(e=[this]).call(e,o))),"state",{current:0,isTransitioning:!1,prefersKeyboardNavigation:!1}),qr(ft(r),"slider",null),qr(ft(r),"transitionTimeout",void 0),qr(ft(r),"handleClickPrev",(function(){r.handleClickDirection("prev")})),qr(ft(r),"handleClickNext",(function(){r.handleClickDirection("next")})),qr(ft(r),"handleClickDirection",(function(e){var t,n,i=r.state.current,o="prev"===e?Math.max(r.state.current-1,0):Math.min(r.state.current+1,r.props.items.length-1);o!==i&&(null===(t=r.slider)||void 0===t||null===(n=t.slickGoTo)||void 0===n||n.call(t,o),r.setState({current:o,isTransitioning:!0}),r.transitionTimeout=setTimeout((function(){r.setState({isTransitioning:!1})}),500))})),qr(ft(r),"handleKeyDown",(function(e){r.state.prefersKeyboardNavigation||lW(e)||r.setState({prefersKeyboardNavigation:!0})})),qr(ft(r),"handleMouseDown",(function(){r.state.prefersKeyboardNavigation&&r.setState({prefersKeyboardNavigation:!0})})),r}return dt(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.items,r=t.labels,i=t.onStep,o=t.showHint,a=this.state,s=a.current,u=a.isTransitioning,l=a.prefersKeyboardNavigation;return v.createElement("section",{className:"block-flashcards-slider block-flashcards-slider--full-carousel"},v.createElement("div",{className:"block-flashcards-slider__wrap"},v.createElement(_X.Z,Et({},{accessibility:!1,dots:!1,draggable:!1,swipe:!1,speed:500,slidesToShow:1,slidesToScroll:1,fade:!0,infinite:!1,arrows:!1},{className:"block-flashcards-slider__slides",ref:function(t){e.slider=t}}),Ra()(n).call(n,(function(e,t){var n,a,c,d,f,p,h,m,g,y,b,_,w,k;return v.createElement("div",{className:"block-flashcards-slider__slide",key:"flashcard-".concat(t)},v.createElement(ZJ,{allowTabNavigation:s===t&&!u,backDescription:null==e||null===(n=e.back)||void 0===n?void 0:n.description,backImgAlt:null==e||null===(a=e.back)||void 0===a||null===(c=a.media)||void 0===c||null===(d=c.image)||void 0===d?void 0:d.alt,backImgUrl:eS(null==e||null===(f=e.back)||void 0===f||null===(p=f.media)||void 0===p?void 0:p.image),backType:null==e||null===(h=e.back)||void 0===h?void 0:h.type,frontDescription:null==e||null===(m=e.front)||void 0===m?void 0:m.description,frontImgAlt:null==e||null===(g=e.front)||void 0===g||null===(y=g.media)||void 0===y||null===(b=y.image)||void 0===b?void 0:b.alt,frontImgUrl:eS(null==e||null===(_=e.front)||void 0===_||null===(w=_.media)||void 0===w?void 0:w.image),frontType:null==e||null===(k=e.front)||void 0===k?void 0:k.type,id:null==e?void 0:e.id,key:null==e?void 0:e.id,labels:r,onStep:i,prefersKeyboardNavigation:l,settingShowHint:o,size:"large",type:"stack",wrapElement:"div"}))}))),v.createElement(a0,{blocksPreposition:null==r?void 0:r.blocksPreposition,current:s,isTransitioning:u,itemCount:n.length,nextFlashCardLabel:null==r?void 0:r.a11yCarouselNext,onClickNext:this.handleClickNext,onClickPrev:this.handleClickPrev,previousFlashCardLabel:null==r?void 0:r.a11yCarouselPrevious})))}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("mousedown",this.handleMouseDown)}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("mousedown",this.handleMouseDown),clearTimeout(this.transitionTimeout)}}]),n}(v.Component);qr(o0,"defaultProps",{items:[],labels:{},onStep:Function.prototype});var a0=function(e){gt(n,e);var t=KJ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e,t,n=this.props,r=n.blocksPreposition,i=void 0===r?"of":r,o=n.current,a=n.isTransitioning,s=n.itemCount,u=n.nextFlashCardLabel,l=n.onClickNext,c=n.onClickPrev,d=n.previousFlashCardLabel,f=100*((o+1)/s).toFixed(2);return v.createElement("div",{className:"block-flashcards-slider__info"},v.createElement(u0,{current:o,isTransitioning:a,itemCount:s,nextFlashCardLabel:u,onClick:c,previous:!0,previousFlashCardLabel:d}),v.createElement("div",{className:"block-flashcards-slider__progress"},v.createElement("p",{className:"block-flashcards-slider__progress-text brand--body brand--linkColor"},St()(e=St()(t="".concat(o+1," ")).call(t,i," ")).call(e,s)),v.createElement("div",{className:"block-flashcards-slider__progress-line"},v.createElement("div",{className:"block-flashcards-slider__progress-runner",style:{width:"".concat(f,"%")}}))),v.createElement(u0,{current:o,isTransitioning:a,itemCount:s,nextFlashCardLabel:u,onClick:l,previous:!1,previousFlashCardLabel:d}))}}]),n}(v.Component),s0=function(e){gt(n,e);var t=KJ(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e,t=this.props,n=t.current,r=t.isTransitioning,i=t.itemCount,o=t.nextFlashCardLabel,a=t.onClick,s=t.previous,u=t.previousFlashCardLabel,l=t.settings,c=0===n,d=n===i-1,f=GA()("block-flashcards-slider__controls",{"block-flashcards-slider__controls--beginning":c,"block-flashcards-slider__controls--end":d}),p=GA()("block-flashcards-slider__arrow",{"block-flashcards-slider__arrow--next":!s,"block-flashcards-slider__arrow--prev":s}),h=GA()("block-flashcards-slider-arrow-icon",{"block-flashcards-slider-arrow-icon--next":!s,"block-flashcards-slider-arrow-icon--prev":s}),m=r||s&&c||!s&&d;return v.createElement("div",{className:f},v.createElement(CK,{"aria-disabled":m,"aria-label":s?u:o,className:p,contrastRequirement:"graphicalUiComponentsAA",onClick:m?void 0:a,tabIndex:m?-1:void 0,tag:"button",type:"button",style:{backgroundColor:null!==(e=l.accentColor)&&void 0!==e?e:l.courseColor}},v.createElement(cO,{className:h})))}}]),n}(v.Component),u0=yG()(s0),l0=__webpack_require__(69983),c0=__webpack_require__.n(l0),d0=__webpack_require__(76290),f0=__webpack_require__.n(d0),p0=eF.quizPreviewQuestions,h0=function(e){var t,n=e.canProceed,r=e.canSubmit,i=e.onNext,o=e.onSubmit,a=e.quizNext,s=e.quizSubmit,u=e.allowNext,l=void 0!==u&&u,c=!n||void 0,d=!(r&&!n)||void 0,f=(0,v.useRef)(),p=sq(n),h=null!==(t=sM())&&void 0!==t?t:{},m=h.color,g=h.theme,y=gG().accentColor,b=(null==g?void 0:g.colorAccent)||m,_=null!=y?y:b;(0,v.useEffect)((function(){l&&!p&&n&&setTimeout((function(){var e,t;null===(e=f.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),0)}),[l,n,p]);var w=GA()("quiz-card__actions",{"quiz-card__actions--proceed":n}),k=GA()("quiz-card__button",{"quiz-card__button--disabled":d}),E=GA()("quiz-card__button","quiz-card__button--next","brand_ui",{"brand--background":n,"visually-hidden-always":!n});return v.createElement("div",{className:w},v.createElement("div",{className:"quiz-card__submit brand--ui"},v.createElement(CK,{"aria-hidden":d,className:k,"data-ba":p0.submitButton,disabled:d,onClick:o,style:{backgroundColor:d?"#c0c0c0":_},tag:"button",type:"button"},s)),v.createElement("br",{role:"presentation",className:"visually-hidden-always"}),l&&v.createElement("div",{className:"quiz-card__next brand--ui"},v.createElement("button",{"aria-hidden":c,className:E,disabled:c,onClick:i,ref:f,type:"button"},a)))},m0=__webpack_require__(67294),v0=eF.quizPreviewQuestions,g0=function(e){var t=e.isActive,n=e.isComplete;return GA()("quiz-card",{"quiz-card--active":t,"quiz-card--done":n})},y0=function(e){var t=e.children,n=e.isActive,r=e.isComplete;return m0.createElement("div",{"aria-hidden":!n||void 0,className:g0({isActive:n,isComplete:r})},m0.createElement("div",{className:"quiz-card__container","data-ba":v0.container},m0.createElement("div",{className:"quiz-card__row","data-ba":v0.questionTextArea},m0.createElement("div",{className:"quiz-card__main"},t))))},b0=gN.FILL_IN_THE_BLANK,_0=gN.MATCHING,w0=gN.MULTIPLE_CHOICE,k0=gN.MULTIPLE_RESPONSE;function E0(e){var t,n=e.answers;return _r()(t=Ra()(n).call(n,(function(e){return null==e?void 0:e.title}))).call(t,Boolean).join(", ")}function x0(e){var t,n=e.answers,r=e.correct,i=null!=r?(0,Pw.propEq)("id",r):(0,Pw.propEq)("correct",!0);return null===(t=VS()(n).call(n,i))||void 0===t?void 0:t.title}function S0(e){var t,n=e.answers,r=e.selection;return null==n||null===(t=n[r])||void 0===t?void 0:t.title}function T0(e,t){return _r()(t).call(t,e).reduce((function(e,t,n){var r,i=null!==(r=null==t?void 0:t.title)&&void 0!==r?r:"";return 0===n?i:e+", "+i}),"")}function C0(e){var t=e.corrects;return T0((function(e){var n;return Array.isArray(t)?null===(n=k_()(t))||void 0===n?void 0:n.call(t,e.id):e.correct}),e.answers)}function A0(e){var t=e.answers,n=e.selection;return T0((function(e,t){return k_()(n).call(n,t)}),t)}function O0(e){var t=e.correctAnswer,n=e.selectedAnswer,r=e.correctLabel,i=e.userLabel;return t&&n?r+": "+li(t)+". "+i+": "+li(n)+".":null}function N0(e){var t,n=e.isComplete,r=e.item,i=e.selection,o=e.labels;if(!r||!n)return null;var a=null!==(t=null==r?void 0:r.answers)&&void 0!==t?t:[],s=null==r?void 0:r.correct,u=null==r?void 0:r.corrects,l=function(e){var t=e.item,n=e.labels;return t.type===b0?null==n?void 0:n.quizAcceptableResponses:null==n?void 0:n.a11yCorrectLive}({item:r,labels:o}),c=null==o?void 0:o.a11yAnswerLive;switch(r.type){case _0:return function(e){var t=e.answers,n=e.selection,r=e.correctLabel,i=e.userLabel,o=e.matchLabel,a=void 0===o?"Match Item: ":o,s=(0,Pw.invertObj)(n);return Ra()(t).call(t,(function(e,n){var o,u,l,c,d=null!==(o=null==e?void 0:e.title)&&void 0!==o?o:"",f=null!==(u=null==e?void 0:e.matchTitle)&&void 0!==u?u:"",p=null==s?void 0:s[n],h=null!==(l=null==t||null===(c=t[p])||void 0===c?void 0:c.title)&&void 0!==l?l:"";return a+f+". "+r+": "+d+". "+i+": "+h+"."})).join(" ")}({answers:a,selection:i,correctLabel:l,userLabel:c});case b0:return O0({correctAnswer:E0({answers:a}),selectedAnswer:i,correctLabel:l,userLabel:c});case w0:return O0({correctAnswer:x0({answers:a,correct:s}),selectedAnswer:S0({answers:a,selection:i}),correctLabel:l,userLabel:c});case k0:return O0({correctAnswer:C0({corrects:u,answers:a}),selectedAnswer:A0({answers:a,selection:i}),correctLabel:l,userLabel:c})}return null}var P0=eF.quizPreviewQuestions,I0=function(e){var t=e.canProceed,n=e.feedbackRef,r=e.feedbackValue,i=e.hasFeedback,o=e.isActive,a=e.isComplete,s=e.isCorrect,u=e.item,l=e.labels,c=e.quizCorrect,d=e.quizIncorrect,f=e.selection,p=Vr(),h=p.announcePolite,m=p.clearAnnouncements,g=sq(t),y=s?c:d,b=(0,v.useCallback)((function(){var e=N0({isComplete:a,item:u,selection:f,labels:l}),t=r?li(r):"";h(y+". "+e+" "+t)}),[h,r,a,u,l,y,f]);(0,v.useLayoutEffect)((function(){!g&&t&&setTimeout(b,0)}),[t,g,b]),(0,v.useEffect)((function(){return m}),[m]);var _=GA()("quiz-card__feedback",{"quiz-card__feedback--active":t,"quiz-card__feedback--frame":i}),w=GA()("quiz-card__feedback-icon",{"quiz-card__feedback-icon--correct brand--color":s});return v.createElement(v.Fragment,null,v.createElement("div",{className:_,"aria-hidden":!o||void 0,ref:n},v.createElement("div",{className:"quiz-card__main--feedback"},v.createElement(CK,{"aria-label":null==l?void 0:l.a11yQuizFeedback,className:"quiz-card__feedback-wrap",role:"group"},v.createElement("div",{className:w},v.createElement("i",{"aria-hidden":"true",className:s?"icon icon-Master-05":"icon icon-Master-06"})),v.createElement("div",{className:"quiz-card__feedback-label brand--head","data-ba":P0.answerEvaluation},y),v.createElement("div",null,v.createElement(CK,{allowTabNavigation:a&&o,className:"quiz-card__feedback-text brand--body brand--linkColor",tag:$M,value:r}))))))},L0=__webpack_require__(67294),M0=eF.quizPreviewQuestions.answerArea,R0=function(e){var t=e.hasNoBorder,n=e.type;return GA()("quiz-card__interactive",{"quiz-card__interactive--no-border":t,"quiz-card__interactive--fill":"FILL_IN_THE_BLANK"===n})},D0=function(e){var t=e.children,n=e.hasNoBorder,r=e.type;return L0.createElement("div",{className:R0({hasNoBorder:n,type:r}),"data-ba":M0.answerAreaContainer},t)},q0=__webpack_require__(69879),j0=__webpack_require__.n(q0),F0=__webpack_require__(74646),B0=__webpack_require__.n(F0),U0=__webpack_require__(52788),z0=__webpack_require__.n(U0),H0=__webpack_require__(83023),V0=__webpack_require__.n(H0),W0=Nl()((function(e,t){return lo()(z0()(null),V0()(e,t))})),Y0=W0,G0=__webpack_require__(67294),K0=eF.quizPreviewQuestions,X0=lo()(B0()(["tmp"]),Il()({},["media"])),$0=j0()(X0,iV),Z0=Y0(VH()($0,iV),(function(e){var t=e.allowTabNavigation,n=e.blockId,r=e.enableVideoPlaybackSpeed,i=e.index,o=e.labels,a=e.media,s=e.settings;return G0.createElement("div",{className:"quiz-card__media","data-ba":K0.media},G0.createElement(kQ,{allowTabNavigation:t,blockId:n,enableVideoPlaybackSpeed:r,index:i,labels:o,media:a,opts:s}))})),Q0=Z0,J0=__webpack_require__(7578),e1=__webpack_require__.n(J0),t1=function(e,t){var n=(0,oH.Z)(t);(0,v.useEffect)((function(){!n&&t&&e&&e1()(e.focus)&&e.focus()}),[t,n,e])},n1=function(e){var t,n,r,i,o=e.isActive,a=e.labels,s=e.num,u=e.quizQuestion,l=e.total,c=(0,v.useRef)();return t1(c.current,o),v.createElement("div",{className:"quiz-card__number"},v.createElement("h1",{className:"visually-hidden-always",ref:c,tabIndex:FY},St()(t=St()(n=St()(r="".concat(null==a?void 0:a.quizQuestion," ")).call(r,s," ")).call(n,null==a?void 0:a.lessonPreposition," ")).call(t,l)),v.createElement("div",{"aria-hidden":"true",className:"quiz-card__step-label brand--body"},u),v.createElement("div",{"aria-hidden":"true",className:"quiz-card__counter brand--color brand--ui"},St()(i="".concat(oV(s),"/")).call(i,oV(l))))},r1=__webpack_require__(67294),i1=function(e){var t=e.allowTabNavigation,n=e.id,r=e.value;return r1.createElement($M,{allowTabNavigation:t,className:"quiz-card__title brand--body brand--linkColor",id:n,value:r})},o1={ANY:"ANY",CORRECT_INCORRECT:"CORRECT_INCORRECT",CHOICE:"CHOICE"},a1={label:"Any Response",prop:"feedback"},s1=(Dl()([[Ua()(o1.ANY),Zr()(a1)],[Ua()(o1.CHOICE),Zr()({label:"By Choice",prop:"choice"})],[Ua()(o1.CORRECT_INCORRECT),Zr()({correctProp:"feedbackCorrect",incorrectProp:"feedbackIncorrect",label:"Correct / Incorrect",type:"CORRECT_INCORRECT"})],[bb(),Zr()(a1)]]),o1),u1=eF.quizPreviewQuestions,l1=function(e){var t,n,r=e.allowTabNavigation,i=e.isComplete,o=e.isCorrect,a=e.labels,s=e.onChange,u=e.onEnterToSubmit,l=e.options,c=e.questionHtmlId,d=e.quizAcceptableResponses,f=e.quizAnswerPlaceholder,p=e.revealAnswers,h=e.value,m=(0,v.useRef)(),g=Dr((0,v.useState)((function(){return VO()("fitb-")})),1)[0],y="".concat(g,"-feedback"),b="".concat(g,"-acceptable"),_="".concat(g,"-input"),w=i?St()(t="".concat(y," ")).call(t,b):void 0,k=i?void 0:f,E=r?0:FY,x=p===pN||p===mN,S=p===pN||o&&p===mN,T=GA()("quiz-fill__icon",{"quiz-fill__icon--visible":i}),C=GA()("quiz-fill__options",{"quiz-fill__options--visible":i}),A=(0,v.useCallback)((function(e){s(e.currentTarget.value)}),[s]),O=(0,v.useCallback)((function(e){dW(e)&&u(e)}),[u]),N=i?void 0:A,P=i?void 0:O;return v.createElement("div",{className:"quiz-fill"},v.createElement("div",{className:"quiz-fill__container"},v.createElement(CK,{"aria-labelledby":c,"aria-describedby":w,"aria-hidden":!r,"aria-readonly":i,autoComplete:"off",className:"quiz-fill__input brand--body ignore-prefers","data-ba":u1.fillInTheBlankAnswer,id:_,onChange:N,onKeyDown:P,placeholder:k,readOnly:i,ref:m,tabIndex:E,tag:"input",type:"text",value:h}),x&&v.createElement("div",{className:T,id:y},o&&v.createElement(lO,{"aria-label":null==a?void 0:a.quizCorrect,className:"brand--fill"}),!o&&v.createElement(dN,{"aria-label":null==a?void 0:a.quizIncorrect}))),S&&i&&v.createElement(CK,{className:C,id:b,"data-ba":u1.acceptableAnswers},St()(n="".concat(d,": ")).call(n,c1(l))))};l1.defaultProps={onChange:Hl,onEnterToSubmit:Hl};var c1=pe()(KN()(", "),bi()(pe()(PM(),Ru()("","title")))),d1=l1,f1=__webpack_require__(34226),p1=__webpack_require__.n(f1),h1=__webpack_require__(43083),m1=__webpack_require__.n(h1);m1().dynamicDrop(!0);var v1=m1(),g1=__webpack_require__(43931),y1=__webpack_require__.n(g1),b1=__webpack_require__(67294);function _1(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var w1=sa()(["draggableOptions","autoScroll","container"]),k1=y1()(w1),E1=La()(Jo(),(function(){return document.querySelector(".page-wrap, .block-knowledge__wrapper, .question-banks-draw-dialog")})),x1=ma()(w1,E1),S1=function(e){gt(n,e);var t=_1(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isDragging:!1,x:0,y:0,zIndex:0},r.handleEnd=r.handleEnd.bind(ft(r)),r.handleMove=r.handleMove.bind(ft(r)),r.handleStart=r.handleStart.bind(ft(r)),r}return dt(n,[{key:"componentDidMount",value:function(){this.interact=v1(this.el,this.props.interactOptions),this.props.isEnabled&&this.enableInteract()}},{key:"componentWillEnter",value:function(e){var t=this.props.prevIndex-this.props.nextIndex>0?"up":"down",n=this.el,r="movable-item__will-enter-".concat(t);this.animate({activeClass:"movable-item__will-enter-active",element:n,enterClass:r,timeout:300}).then(e)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){!this.props.isEnabled&&e.isEnabled?this.enableInteract():this.props.isEnabled&&!e.isEnabled&&this.disableInteract()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeoutRef)}},{key:"render",value:function(){var e=this;return b1.cloneElement(b1.Children.only(this.props.children),{className:this.getClassName(),ref:function(t){e.el=t,e.props.childRef(t)},style:this.getStyle()})}},{key:"animate",value:function(e){var t=this,n=e.activeClass,r=e.element,i=e.enterClass,o=e.timeout;return new(Gr())((function(e){r.classList.add(i),setTimeout((function(){r.classList.add(n)}),10),t.timeoutRef=setTimeout((function(){r.classList.remove(i,n),e()}),o)}))}},{key:"enableInteract",value:function(){var e=x1(this.props);this.interact.draggable(To()({onstart:this.handleStart,onmove:this.handleMove,onend:this.handleEnd},e.draggableOptions)),this.interactScrollHandler(e)}},{key:"interactScrollHandler",value:function(e){var t=this;this.yBefore=0,this.yAfter=0,k1(e).addEventListener("scroll",(function(e){t.yBefore=t.yAfter,t.yAfter=e.currentTarget.scrollTop,t.state.isDragging&&t.setState({y:t.state.y+(t.yAfter-t.yBefore)})}))}},{key:"disableInteract",value:function(){this.interact.draggable(!1),delete this.yBefore,delete this.yAfter}},{key:"getClassName",value:function(){var e=this.props,t=e.children,n=e.isEnabled,r=Il()("",["props","className"],t);return GA()(r,{draggable:n,"draggable--dragging":this.state.isDragging})}},{key:"getStyle",value:function(){var e=Il()({},["props","style"],this.props.children);return To()(e,function(e){var t,n=e.x,r=e.y,i=e.zIndex;return{transform:St()(t="translate(".concat(n,"px, ")).call(t,r,"px)"),zIndex:i}}(this.state))}},{key:"handleStart",value:function(e){this.props.onDragStart(e),this.props.setDrag(!0),this.setState({isDragging:!0})}},{key:"handleEnd",value:function(e){this.props.onDragEnd(e),this.props.setDrag(!1),this.setState({isDragging:!1,x:0,y:0,zIndex:0})}},{key:"handleMove",value:function(e){var t=e.dx,n=e.dy,r=this.state.x+t,i=this.state.y+n;this.setState({x:r,y:i,zIndex:1})}}],[{key:"defaultProps",get:function(){return{childRef:Function.prototype,draggableOptions:{autoScroll:{container:null}},interactOptions:{styleCursor:!1},isEnabled:!0,onDragEnd:Function.prototype,onDragStart:Function.prototype}}}]),n}(b1.Component),T1=__webpack_require__(67294);function C1(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var A1=function(e){gt(n,e);var t=C1(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isActive:!1},r.handleEnter=r.handleEnter.bind(ft(r)),r.handleLeave=r.handleLeave.bind(ft(r)),r.handleDrop=r.handleDrop.bind(ft(r)),r}return dt(n,[{key:"componentDidMount",value:function(){this.interact=v1(this.el,this.props.interactOptions),this.props.isEnabled&&this.enableInteract()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){!this.props.isEnabled&&e.isEnabled?this.enableInteract():this.props.isEnabled&&!e.isEnabled&&this.disableInteract()}},{key:"render",value:function(){var e=this;return T1.cloneElement(T1.Children.only(this.props.children),{className:this.getClassName(),ref:function(t){e.el=t,e.props.childRef(t)},style:this.getStyle()})}},{key:"enableInteract",value:function(){this.interact.dropzone(To()({ondrop:this.handleDrop,ondragenter:this.handleEnter,ondragleave:this.handleLeave},this.props.droppableOptions))}},{key:"disableInteract",value:function(){this.interact.dropzone(!1)}},{key:"getClassName",value:function(){var e=this.state.isActive,t=this.props,n=t.activeClassName,r=t.children,i=t.isEnabled,o=Il()("",["props","className"],r);return GA()(o,qr({droppable:i,"droppable--active":e},n,e))}},{key:"getStyle",value:function(){return Il()({},["props","style"],this.props.children)}},{key:"handleEnter",value:function(e){this.props.onEnter(e),this.setState({isActive:!0})}},{key:"handleLeave",value:function(e){this.props.onLeave(e),this.setState({isActive:!1})}},{key:"handleDrop",value:function(e){this.props.onDrop(e),this.setState({isActive:!1})}}],[{key:"defaultProps",get:function(){return{activeClassName:"",childRef:Function.prototype,droppableOptions:{overlap:.015},interactOptions:{},isEnabled:!0,onDrop:Function.prototype,onEnter:Function.prototype,onLeave:Function.prototype}}}]),n}(T1.Component);function O1(e){e&&(e.addEventListener("touchstart",P1,!0),e.addEventListener("touchmove",P1,!0),e.addEventListener("touchcancel",P1,!0),e.addEventListener("touchend",P1,!0))}function N1(e){e&&(e.removeEventListener("touchstart",P1,!0),e.removeEventListener("touchmove",P1,!0),e.removeEventListener("touchcancel",P1,!0),e.removeEventListener("touchend",P1,!0))}function P1(e){var t;null==e||null===(t=e.stopPropagation)||void 0===t||t.call(e)}var I1=__webpack_require__(67294);function L1(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var M1,R1=Lo()(bi()),D1=pe()(yu(),Ha()),q1=Si()("title"),j1=function(e){gt(n,e);var t=L1(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isDragging:!1},r.setDrag=r.setDrag.bind(ft(r)),r}return dt(n,[{key:"componentDidMount",value:function(){O1(this.listItem)}},{key:"componentWillUnmount",value:function(){N1(this.listItem)}},{key:"focus",value:function(){this.listItem.focus()}},{key:"setDrag",value:function(e){this.setState({isDragging:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowMovableKeySelect,r=t.allowTabNavigation,i=t.id,o=t.isEnabled,a=t.isKeySelected,s=t.isMatched,u=t.height,l=t.nextIndex,c=t.onDragEnd,d=t.onDragStart,f=t.onKeyDown,p=t.prefersKeyboardNavigation,h=t.prevIndex,m=t.text,v=t.willBeReplaced,g=r&&n,y=Y1({isMatched:s,prefersKeyboardNavigation:p,willBeReplaced:v});return I1.createElement(Zt,{className:this.state.isDragging?"".concat(y," dragging"):y,component:"li",onKeyDown:f,style:{height:u}},I1.createElement(IG,{key:i},I1.createElement(S1,{childRef:function(t){e.listItem=t},isEnabled:o,key:i,nextIndex:l,onDragEnd:c,onDragStart:d,prevIndex:h,setDrag:this.setDrag},I1.createElement("div",{className:"quiz-match__item-wrapper","aria-hidden":!g,tabIndex:zY(g)},I1.createElement(U1,{className:H1({isKeySelected:a})}),I1.createElement("div",{className:"quiz-match__item-content"},I1.createElement(tN,{className:"quiz-match__item-sortable"}),I1.createElement(EO,{className:"quiz-match__item-sortable--dots"}),I1.createElement("span",{"data-match-content":!0},m))))))}}]),n}(I1.Component),F1=function(e){gt(n,e);var t=L1(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"focus",value:function(){this.listItem.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowMovableKeySelect,r=t.allowTabNavigation,i=t.id,o=t.isEnabled,a=t.height,s=t.onDrop,u=t.onKeyDown,l=t.onKeyUp,c=t.onEnter,d=t.onLeave,f=t.prefersKeyboardNavigation,p=t.text,h=r&&!n;return I1.createElement(A1,{activeClassName:"quiz-match__item--active",childRef:function(t){e.listItem=t},isEnabled:o,key:i,onDrop:s,onEnter:c,onLeave:d},I1.createElement("li",{"aria-hidden":!h,className:G1({prefersKeyboardNavigation:f}),onKeyDown:u,onKeyUp:l,style:{height:a},tabIndex:zY(h)},I1.createElement(z1,{className:V1({isSelectable:!n})}),I1.createElement("div",{className:"quiz-match__item-content"},I1.createElement("span",{"data-match-content":!0},p))))}}]),n}(I1.Component),B1=function(e){gt(n,e);var t=L1(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={allowMovableKeySelect:!0,dragIndex:null,dropZoneIndex:null,height:null,isLoaded:!1,keySelectedSourceIndex:null,titleIndices:e.titleIndices,toDropRow:null},r.moveableItems=[],r.matchItems=[],r.handleResize=NQ()(r.handleResize.bind(ft(r)),100),r.handleCancelKeyDrop=r.handleCancelKeyDrop.bind(ft(r)),r.handleIntersect=r.handleIntersect.bind(ft(r)),r.observer=new IntersectionObserver(r.handleIntersect,{rootMargin:"10000px"}),r}return dt(n,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.handleResize),window.addEventListener("keydown",this.handleCancelKeyDrop),document.addEventListener("mousedown",this.handleCancelKeyDrop),this.observer.observe(this.el)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("keydown",this.handleCancelKeyDrop),document.removeEventListener("mousedown",this.handleCancelKeyDrop),this.observer.disconnect()}},{key:"handleIntersect",value:function(e){e.some((function(e){return e.intersectionRatio>0}))&&this.setHeights()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n=this.state.titleIndices,r=this.props,i=r.isKnowledgeCheck,o=r.isLearner,a=r.isRetake,s=r.matches,u=e.isRetake,l=e.matches,c=e.matchIndices,d=e.titleIndices,f=s!==l,p=!a&&u;if(!Ha()(l)||i)if(f){var h=(t=c,function(e,n){var r=Dr(n,2),i=r[0],o=r[1],a=ps()(Number(i),e),s=ps()(Number(o),t);return a===s?e:Os(a,s,e)}),m=Es()(l).reduce(h,n);this.setState({titleIndices:m})}else if(i){var v=$1({titleIndices:n,nextTitleIndices:d,isLearner:o,isNewRetake:p});this.setState({titleIndices:v})}}},{key:"componentDidUpdate",value:function(e){var t=this.props.answers,n=e.answers;Ua()(q1(t),q1(n))||this.setHeights();var r=this.state,i=r.dragIndex,o=r.dropZoneIndex;Ja()(tV,[i,o])&&(this.props.onMatch({dragIndex:i,dropZoneIndex:o}),this.setState({dragIndex:null,dropZoneIndex:null}))}},{key:"render",value:function(){var e=this;return I1.createElement("div",{className:this.getClassName(),ref:function(t){e.el=t}},this.buildResultsList(),this.buildMovableList(),this.buildMatchList())}},{key:"getClassName",value:function(){return GA()("quiz-match",{"quiz-match--completed":this.props.isComplete,"quiz-match--hidden":!this.state.isLoaded})}},{key:"buildResultsList",value:function(){var e=R1(this.buildResultItem.bind(this));return pe()(X1,e,Is)(this.props.matchIndices)}},{key:"buildResultItem",value:function(e){var t=this.props,n=t.isComplete,r=t.matchIndices,i=t.revealAnswers,o=this.state,a=o.height,s=o.titleIndices[e],u=s===r[e],l=i===mN,c=n&&(i===pN||l),d=GA()("quiz-match__item-feedback",{"quiz-match__item-feedback--hidden":!c});return c?u?I1.createElement("li",{className:d,key:e,style:{height:a}},I1.createElement(lO,{"aria-label":"Check mark",className:"brand--fill"})):l?I1.createElement("li",{className:d,key:e,style:{height:a}},I1.createElement(dN,{"aria-label":"Check mark"})):I1.createElement("li",{className:d,key:e,style:{height:a}},I1.createElement(CK,{background:!0,className:"quiz-match__item-feedback-bubble",tag:"span"},Hs()(ps()(s,r)))):I1.createElement("li",{className:d,key:e,style:{height:a}})}},{key:"buildMovableList",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.answers,i=t.isActive,o=t.isComplete,a=t.matches,s=t.prefersKeyboardNavigation,u=this.state,l=u.allowMovableKeySelect,c=u.dragIndex,d=u.height,f=u.keySelectedSourceIndex,p=u.titleIndices,h=u.toDropRow,m=pe()(K1,R1((function(t,n){return I1.createElement(j1,Et({key:"movable-item-".concat(n),nextIndex:n,prevIndex:h,ref:function(t){e.moveableItems[n]=t}},t))}))),v=R1((function(t,u){var m=Wn()([t],r),v=m.id,g=m.title,y=tV(c)&&u===h&&h!==ps()(c,p);return{allowMovableKeySelect:l,allowTabNavigation:n,height:d,id:v,isEnabled:i&&!o,isKeySelected:t===f,isMatched:tV(a[t]),onDragEnd:e.handleDragEnd.bind(e),onDragStart:e.handleDragStart.bind(e,t),onKeyDown:e.handleMovableKeyDown.bind(e,t,u),prefersKeyboardNavigation:s,text:g,willBeReplaced:y}}),p);return m(v)}},{key:"buildMatchList",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.answers,i=t.isActive,o=t.matchIndices,a=t.prefersKeyboardNavigation,s=this.state,u=s.allowMovableKeySelect,l=s.height,c=pe()(K1,R1((function(t,n){return I1.createElement(F1,Et({key:"match-item-".concat(n),ref:function(t){e.matchItems[n]=t}},t))})));return c(R1((function(t,o){var s=Wn()([t],r),c=s.id,d=s.matchTitle;return{allowMovableKeySelect:u,allowTabNavigation:n,height:l,id:c,isEnabled:i,onDrop:e.handleDrop.bind(e,t),onEnter:e.handleDropEnter.bind(e,o),onKeyDown:e.handleMatchKeyDown.bind(e,t,o),onKeyUp:e.handleMatchKeyUp.bind(e),onLeave:e.handleDropLeave.bind(e),prefersKeyboardNavigation:a,text:d}}),o))}},{key:"handleDragEnd",value:function(){var e=this;setTimeout((function(){e.setState({dragIndex:null})}),0)}},{key:"handleDragStart",value:function(e){this.setState({dragIndex:e})}},{key:"handleDropEnter",value:function(e){this.setState({toDropRow:e})}},{key:"handleDrop",value:function(e){this.setState({dropZoneIndex:e})}},{key:"handleDropLeave",value:function(){this.setState({toDropRow:null})}},{key:"handleResize",value:function(){this.setHeights()}},{key:"keySelectMovableAtIndex",value:function(e){this.state.dragIndex===e?this.resetKeySelection():this.setState({allowMovableKeySelect:!1,dragIndex:e,keySelectedSourceIndex:e})}},{key:"keySelectMatch",value:function(e,t){this.setState({dropZoneIndex:e,toDropRow:t})}},{key:"handleMovableKeyDown",value:function(e,t,n){var r=this,i=this.state.allowMovableKeySelect,o=vZ((function(){return r.keySelectMovableAtIndex(e)})),a=vZ((function(){return $Y({list:r.moveableItems,currentIndex:t})})),s=vZ((function(){return XY({list:r.moveableItems,currentIndex:t})})),u=vZ((function(){return!i&&KY({list:r.matchItems,index:t})}));Dl()([[hW,o],[gW,s],[vW,a],[bW,u]])(n)}},{key:"handleMatchKeyDown",value:function(e,t,n){var r=this,i=this.props,o=i.canSubmit,a=i.onEnterToSubmit;if(o&&dW(n))a(n);else{var s=vZ((function(){return r.keySelectMatch(e,t)})),u=vZ((function(){return $Y({list:r.matchItems,currentIndex:t})})),l=vZ((function(){return XY({list:r.matchItems,currentIndex:t})})),c=vZ((function(){return KY({list:r.moveableItems,index:t})}));Dl()([[wW,s],[gW,l],[vW,u],[yW,c]])(n)}}},{key:"handleMatchKeyUp",value:function(e){wW(e)&&this.resetKeySelection()}},{key:"handleCancelKeyDrop",value:function(e){("mousedown"===e.type||mW(e))&&this.setState({allowMovableKeySelect:!0,keySelectedSourceIndex:null})}},{key:"resetKeySelection",value:function(){this.setState({allowMovableKeySelect:!0,dragIndex:null,dropZoneIndex:null,keySelectedSourceIndex:null,toDropRow:null})}},{key:"setHeights",value:function(){var e=this.el.querySelectorAll("[data-match-content]"),t=Ea()((function(e,t){return Math.max(e,t.offsetHeight+32)}),0,e);this.setState({height:t,isLoaded:!0})}}]),n}(I1.Component),U1=function(e){var t=e.className;return I1.createElement("svg",{className:t,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},I1.createElement("title",null,"Draggable item"),I1.createElement("desc",null,"Rectangular shape with an arrow on the right side"),I1.createElement("polygon",{points:"0,0  298.5,0  312,27.5  298.5,54  0,54"}),I1.createElement("rect",{x:"0",y:"0",width:"5",height:"54"}))},z1=function(e){var t=e.className;return I1.createElement("svg",{className:t,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},I1.createElement("title",null,"Drop zone item"),I1.createElement("desc",null,"Rectangular shape with a fish-tail shape on the left side"),I1.createElement("polygon",{points:"0,0  314,0  314,54  0,54  13.5,27.5  0,0"}))},H1=function(e){var t=e.isKeySelected;return GA()("quiz-match__item-arrow",{"quiz-match__item-arrow--selected":t})},V1=function(e){var t=e.isSelectable;return GA()("quiz-match__item-tail",{"quiz-match__item-tail--selectable":t})},W1=lF.isIe11||lF.isEdge,Y1=function(e){var t=e.isMatched,n=e.prefersKeyboardNavigation,r=e.willBeReplaced;return GA()("quiz-match__item quiz-match__item--draggable",{"quiz-match__item--matched":t,"quiz-match__item--faded":r,"quiz-match__item--ms_browser-focus":n&&W1})},G1=function(e){var t=e.prefersKeyboardNavigation;return GA()("quiz-match__item quiz-match__item--immobile",{"quiz-match__item--ms_browser-focus":t&&W1})},K1=function(e){return I1.createElement("ul",{className:"quiz-match__list brand--body"},e)},X1=function(e){return I1.createElement("ul",{className:"quiz-match__list quiz-match__list--results"},e)},$1=function(e){var t=e.titleIndices,n=e.nextTitleIndices,r=e.isNewRetake,i=e.isLearner;if(r&&i)return n;var o=f0()(t,n),a=p1()(t,n);return D1(a)?f0()(a,t):D1(o)?gi()(bP()(o,t)):t},Z1="NEXT",Q1="PREV",J1=(qr(M1={},Z1,(function(e,t){return t===e-1?0:t+1})),qr(M1,Q1,(function(e,t){return 0===t?e-1:t-1})),M1),e2=function(e){var t=e.allowTabNavigation,n=e.color,r=e.id,i=e.index,o=e.isComplete,a=e.isCorrect,s=e.isCorrectOption,u=e.isFresh,l=e.isSelected,c=e.labels,d=e.onChange,f=e.onEnterToSubmit,p=e.onNav,h=e.prefersKeyboardNavigation,m=e.renderOptionText,g=e.revealAnswers,y=e.title,b=Dr((0,v.useState)((function(){return VO()("qmc-")})),1)[0],_=(0,v.useRef)(),w=(0,oH.Z)(l),k="".concat(b,"-label"),E=o?"true":"false",x=t&&(l||u&&0===i)?0:FY,S=g===pN,T=g==mN,C=o&&s&&(S||T&&a),A=o&&!s&&(S||T&&a||T&&!a&&l),O=C||A,N=O?"".concat(b,"-result"):void 0,P=GA()("quiz-multiple-choice-option-wrap",{"quiz-multiple-choice-option-wrap--complete":o}),I=GA()("quiz-multiple-choice-option",{"is-complete":o,"is-correct":C,"is-incorrect":A,"is-selected":l,"quiz-multiple-choice-option--keyboard":h}),L=GA()("quiz-multiple-choice-option__dot",{"quiz-multiple-choice-option__dot--active":l&&!o}),M=GA()("quiz-multiple-choice-option__check",{"quiz-multiple-choice-option__check--active":C}),R=GA()("quiz-multiple-choice-option__x",{"quiz-multiple-choice-option__x--active":A}),D=GA()("quiz-multiple-choice-option__border",{"brand--beforeBorder":o&&C&&l}),q=(0,v.useCallback)((function(e){e.target===e.currentTarget&&(dW(e)?f(e):_W(e)?(e.preventDefault(),p(Z1)):SW(e)?(e.preventDefault(),p(Q1)):hW(e)&&(e.preventDefault(),d({selectedIndex:i})))}),[i,d,f,p]),j=(0,v.useCallback)((function(e){"A"!==e.target.tagName&&d({selectedIndex:i})}),[i,d]),F=o?void 0:j,B=o?void 0:q;return(0,v.useEffect)((function(){t&&!w&&l&&_.current&&_.current.focus()}),[t,l,w]),v.createElement("div",{className:P,onClick:F},v.createElement("div",{"aria-checked":l,"aria-describedby":N,"aria-disabled":E,"aria-labelledby":k,className:I,onKeyDown:B,ref:_,role:"radio",tabIndex:x},v.createElement("div",{className:"quiz-multiple-choice-option__indicator",style:{color:n}},v.createElement(hO,{className:L}),v.createElement(uO,{className:M}),v.createElement(xO,{"aria-hidden":"true",className:R})),v.createElement("div",{className:D})),v.createElement("div",{className:"quiz-multiple-choice-option__text brand--body",id:k},m({optionId:r,title:y})),O&&v.createElement("div",{className:"visually-hidden-always",id:N},l&&s&&(null==c?void 0:c.a11yQuizReviewCorrectlySelected),l&&!s&&(null==c?void 0:c.a11yQuizReviewIncorrectlySelected),!l&&s&&(null==c?void 0:c.a11yQuizReviewIncorrectlyUnselected),!l&&!s&&(null==c?void 0:c.a11yQuizReviewCorrectlyUnselected)))},t2=function(e){var t=e.allowTabNavigation,n=e.color,r=e.correctId,i=e.isComplete,o=e.isCorrect,a=e.labels,s=e.onChange,u=e.onEnterToSubmit,l=e.options,c=void 0===l?[]:l,d=e.prefersKeyboardNavigation,f=e.questionHtmlId,p=e.renderOptionText,h=e.revealAnswers,m=e.selectedIndex,g=(0,v.useCallback)((function(e){var t=c.length;1!==t&&s({selectedIndex:J1[e](t,m||0)})}),[s,c.length,m]);return v.createElement("div",{"aria-labelledby":f,role:"radiogroup"},Ra()(c).call(c,(function(e,l,c){return v.createElement(e2,{allowTabNavigation:t,color:n,id:e.id,index:l,isComplete:i,isCorrect:o,isCorrectOption:r===e.id,isFirst:0===l,isFresh:-1===m||null==m,isLast:l===c.length-1,isSelected:m===l,labels:a,key:e.id,onChange:s,onEnterToSubmit:u,onNav:g,prefersKeyboardNavigation:d,renderOptionText:p,revealAnswers:h,title:e.title})})))},n2=eF.quizPreviewQuestions.answerArea,r2=function(e){var t=e.allowTabNavigation,n=e.id,r=e.index,i=e.isComplete,o=e.isCorrect,a=e.isCorrectOption,s=e.isSelected,u=e.labels,l=e.onChange,c=e.onEnterToSubmit,d=e.prefersKeyboardNavigation,f=e.renderOptionText,p=e.revealAnswers,h=e.title,m=Dr((0,v.useState)((function(){return VO()("qmr-")})),1)[0],g=i&&p===pN,y="".concat(m,"-label"),b=g?"".concat(m,"-result"):void 0,_=i?"true":"false",w=t?0:FY,k=p==mN,E=p===pN||k&&o||k&&!o&&s,x=GA()("quiz-multiple-response-option-wrap",{"quiz-multiple-response-option-wrap--complete":i}),S=GA()("quiz-multiple-response-option",{"quiz-multiple-response-option--complete":i,"quiz-multiple-response-option--keyboard":d,"quiz-multiple-response-option--selected":s,"quiz-multiple-response-option--correct":i&&a&&E,"quiz-multiple-response-option--incorrect":i&&!a&&E}),T=GA()("quiz-multiple-response-option__border",{"brand--beforeBorder":i&&E&&a&&s}),C=(0,v.useCallback)((function(e){dW(e)?c(e):hW(e)&&(e.preventDefault(),l({optionIndex:r}))}),[r,c,l]),A=(0,v.useCallback)((function(e){"A"!==e.target.tagName&&l({optionIndex:r})}),[r,l]),O=i?void 0:A,N=i?void 0:C;return v.createElement("li",{className:x,"data-ba":n2.checkboxSelect,"data-ba-index":r,onClick:O,role:"listitem"},v.createElement("div",{"aria-checked":s,"aria-describedby":b,"aria-disabled":_,"aria-labelledby":y,className:S,onKeyDown:N,role:"checkbox",tabIndex:w},v.createElement("div",{className:"quiz-multiple-response-option__indicator"},v.createElement(uO,{className:"quiz-multiple-response-option__check"}),v.createElement(xO,{"aria-hidden":"true",className:"quiz-multiple-response-option__x",height:"8",width:"8"})),v.createElement("div",{className:T})),v.createElement("div",{className:"quiz-multiple-response-option__text brand--body",id:y},f({optionId:n,title:h})),g&&v.createElement("div",{className:"visually-hidden-always",id:b},s&&a&&(null==u?void 0:u.a11yQuizReviewCorrectlyChecked),s&&!a&&(null==u?void 0:u.a11yQuizReviewIncorrectlyChecked),!s&&a&&(null==u?void 0:u.a11yQuizReviewIncorrectlyUnchecked),!s&&!a&&(null==u?void 0:u.a11yQuizReviewCorrectlyUnchecked)))},i2=function(e){var t=e.allowTabNavigation,n=e.correctIds,r=void 0===n?[]:n,i=e.isComplete,o=e.isCorrect,a=e.labels,s=e.onChange,u=e.onEnterToSubmit,l=e.options,c=void 0===l?[]:l,d=e.prefersKeyboardNavigation,f=e.renderOptionText,p=e.revealAnswers,h=e.selectedIndices,m=void 0===h?[]:h;return v.createElement("ul",{role:"list"},Ra()(c).call(c,(function(e,n){return v.createElement(r2,{allowTabNavigation:t,id:e.id,index:n,isComplete:i,isCorrect:o,isCorrectOption:Un()(e.id,r),isSelected:Un()(n,m),labels:a,key:e.id,onChange:s,onEnterToSubmit:u,prefersKeyboardNavigation:d,renderOptionText:f,revealAnswers:p,title:e.title})})))},o2=__webpack_require__(7772),a2=__webpack_require__.n(o2),s2=__webpack_require__(36218),u2=__webpack_require__.n(s2),l2=a2()(Jr()),c2=mi()(Ci()("correct",!0)),d2=pe()(La()(Ua()(-1),Zr()(0)),ls()(Ci()("correct",!0))),f2=function(e){return{MATCHING:Jr(),FILL_IN_THE_BLANK:m2,MULTIPLE_CHOICE:Jr(),MULTIPLE_RESPONSE:Jr()}[e]},p2=pe()(Si()("id"),c2),h2=pe()(SE(),p2),m2=mi()(Ci()("correct",!0)),v2=pe()(Gn()("id"),SE()),g2=pe()(oa(),ra()),y2=Oa()((function(e){return e.preventDefault()})),b2=Oa()((function(e){return e.stopPropagation()})),_2=pe()(b2,y2);Wn()(["target","value"]);function w2(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var k2=tF,E2=gN.FILL_IN_THE_BLANK,x2=gN.MATCHING,S2=gN.MULTIPLE_RESPONSE,T2=s1.CHOICE,C2=s1.CORRECT_INCORRECT,A2={FILL_IN_THE_BLANK:"a11yBlockKnowledgeCheckFIB",MATCHING:"a11yBlockKnowledgeCheckM",MULTIPLE_CHOICE:"a11yBlockKnowledgeCheckMC",MULTIPLE_RESPONSE:"a11yBlockKnowledgeCheckMR"},O2=Il()(null,[0,"type"]),N2=function(e){gt(n,e);var t=w2(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).state={selectedAnswer:null,selectedIndices:[],chosen:!1,answered:!1,fillInValue:"",matches:{}},r.retakeAnimationStageOne=null,r.retakeAnimationStageTwo=null,r.takeAgainRef=(0,v.createRef)(),r.getSelection=r.getSelection.bind(ft(r)),r.handleFillIn=r.handleFillIn.bind(ft(r)),r.handleChoiceSelect=r.handleChoiceSelect.bind(ft(r)),r.handleMatch=r.handleMatch.bind(ft(r)),r.handleMultipleResponseChange=r.handleMultipleResponseChange.bind(ft(r)),r.handleRetake=r.handleRetake.bind(ft(r)),r.renderQuestionTitle=r.renderQuestionTitle.bind(ft(r)),r.renderMultipleResponseOptionText=r.renderMultipleResponseOptionText.bind(ft(r)),r.renderMultipleChoiceOptionText=r.renderMultipleChoiceOptionText.bind(ft(r)),r}return dt(n,[{key:"componentDidUpdate",value:function(e,t){if(t.answered&&!this.state.answered)this.getType()!==E2&&GY(this.wrapper);else if(!t.answered&&this.state.answered){var n,r;null===(n=this.takeAgainRef.current)||void 0===n||null===(r=n.focus)||void 0===r||r.call(n)}}},{key:"componentWillUnmount",value:function(){this.retakeAnimationStageOne&&(clearTimeout(this.retakeAnimationStageOne),this.retakeAnimationStageOne=null),this.retakeAnimationStageTwo&&(clearTimeout(this.retakeAnimationStageTwo),this.retakeAnimationStageTwo=null)}},{key:"getSelection",value:function(e){switch(e.item.type){case E2:return this.state.fillInValue;case x2:return this.state.matches;case S2:return this.state.selectedIndices;default:return this.state.selectedAnswer}}},{key:"handleMatch",value:function(e){var t=e.dragIndex,n=e.dropZoneIndex,r=this.state.matches,i=pe()(Ro()(t,n),l_()(Ua()(n)),nV)(r);this.setState({matches:i})}},{key:"handleMultipleResponseChange",value:function(e){var t=e.optionIndex,n=this.state.selectedIndices,r=k_()(n).call(n,t)?f0()([t]):bP()(t);this.setState({selectedIndices:r(n)})}},{key:"handleChoiceSelect",value:function(e){var t=e.selectedIndex;this.state.answered||this.setState({selectedAnswer:t,chosen:!0})}},{key:"onSubmit",value:function(e,t,n){var r=this;t&&(null==n||n.preventDefault(),this.setState({answered:!0,retake:!1},(function(){return r.props.onStep({id:e})})))}},{key:"handleFillIn",value:function(e){this.setState({fillInValue:e})}},{key:"handleRetake",value:function(){var e=this;this.setState({retake:!0}),this.retakeAnimationStageOne=setTimeout((function(){e.setState({answered:!1,chosen:!1,matches:{}},(function(){e.retakeAnimationStageOne=null}))}),400),this.retakeAnimationStageTwo=setTimeout((function(){e.setState({fillInValue:"",selectedAnswer:null,selectedIndices:[]},(function(){e.getType()===E2&&GY(e.wrapper),e.retakeAnimationStageTwo=null}))}),950)}},{key:"renderQuestionTitle",value:function(e,t){var n=e.title;return v.createElement(xK,{className:"quiz-card__title brand--body brand--linkColor",value:n,component:"div",id:t})}},{key:"renderQuestion",value:function(e){var t=this.state,n=t.answered,r=t.retake,i=t.selectedAnswer,o=this.props,a=o.blockId,s=o.enableVideoPlaybackSpeed,u=o.labels,l=o.renderQuestionTitle,c=void 0===l?this.renderQuestionTitle:l,d=u.quizCorrect,f=u.quizIncorrect,p=u.quizSubmit,h=u.quizTakeAgain,m=e.id,g=e.media,y=e.settings,b=e.type,_=this.getIsCorrect({item:e}),w=this.getCanSubmit({item:e}),k=this.onSubmit.bind(this,m,w),E=this.getFeedback({item:e,isCorrect:_,selectedAnswer:i}),x="q-".concat(m),S=this.getSelection({item:e}),T=GA()("block-knowledge__retake-container",{"block-knowledge__retake-container--active":n}),C=GA()("block-knowledge__retake","brand--hoverColor",{"block-knowledge__retake--active":n&&!r});return v.createElement(y0,{key:m,isActive:!0},c(e,x),v.createElement(Q0,{blockId:a,enableVideoPlaybackSpeed:s,labels:u,media:g,opts:y}),v.createElement(D0,{type:b},this.renderType({isCorrect:_,item:e,onSubmit:k,canSubmit:w,questionHtmlId:x})),v.createElement(h0,{canProceed:n,canSubmit:w,onSubmit:k,quizSubmit:p}),v.createElement(I0,{canProceed:n,hasFeedback:!!E,isActive:n,isComplete:n,isCorrect:_,item:e,feedbackValue:E,labels:u,quizCorrect:d,quizIncorrect:f,selection:S}),v.createElement("div",{className:T},v.createElement(CK,{"aria-hidden":!n||void 0,className:C,onClick:this.handleRetake,tabIndex:n?void 0:-1,tag:"button",type:"button",ref:this.takeAgainRef},v.createElement("div",{className:"block-knowledge__retake-content"},v.createElement("div",{className:"block-knowledge__retake-text brand--ui"},h),v.createElement("i",{className:"block-knowledge__retake-icon icon icon-reload"})))))}},{key:"getIsCorrect",value:function(e){var t=e.item,n=this.state,r=n.fillInValue,i=n.matches,o=n.selectedAnswer,a=n.selectedIndices,s=t.answers,u=t.type,l=t.isCaseSensitive;switch(u){case E2:return function(e){var t=e.answers,n=e.fillInValue,r=e.isCaseSensitive?PM():pe()(PM(),_o());return wa()(bi()(Ru()("","title")),bi()(r),Un()(r(n)))(t)}({answers:m2(s),fillInValue:r,isCaseSensitive:l});case x2:return Ps(i);case S2:return function(e){var t=e.answers,n=e.selectedIndices;return Ua()(u2()(l2,n),pe()(u2()(l2),bi()(pe()(Hn()(ls())(t),Ci()("id"))),p2)(t))}({answers:s,selectedIndices:a});default:return o===d2(s)}}},{key:"getType",value:function(){var e=this.props.items;return O2(e)}},{key:"getCanSubmit",value:function(e){var t=e.item,n=t.answers,r=this.state,i=r.answered,o=r.fillInValue,a=r.matches,s=r.selectedAnswer,u=r.selectedIndices;switch(t.type){case E2:return yu()(Ha()(o))&&yu()(i);case x2:return g2(a)===oa()(n);case S2:return yu()(Ha()(u))&&yu()(i);default:return yu()(Jo()(s))&&yu()(i)}}},{key:"getFeedback",value:function(e){var t=e.item,n=e.isCorrect,r=e.selectedAnswer,i=t.answers,o=t.feedback,a=t.feedbackCorrect,s=t.feedbackIncorrect;switch(t.feedbackType){case T2:return Il()("",[r,"feedback"],i);case C2:return n?a:s;default:return o}}},{key:"getTypeLabel",value:function(){var e=this.props.labels,t=this.getType(),n=A2[t];return n?null==e?void 0:e[n]:null==e?void 0:e.a11yBlockKnowledgeCheck}},{key:"renderMultipleResponseOptionText",value:function(e,t){var n=t.title;return v.createElement(xK,{className:"cursorAuto",value:n,onClick:_2,component:"span"})}},{key:"renderMultipleChoiceOptionText",value:function(e,t){var n=t.title;return v.createElement(xK,{className:"quiz-multiple-choice-option__label brand--body cursorAuto",value:n,onClick:_2,component:"div"})}},{key:"renderType",value:function(e){var t=e.isCorrect,n=e.item,r=e.onSubmit,i=e.canSubmit,o=e.questionHtmlId,a=this.props,s=a.isLearner,u=a.labels,l=a.prefersKeyboardNavigation,c=a.renderMultipleResponseOptionText,d=void 0===c?this.renderMultipleResponseOptionText:c,f=a.renderMultipleChoiceOptionText,p=void 0===f?this.renderMultipleChoiceOptionText:f,h=this.state,m=h.answered,g=h.fillInValue,y=h.matches,b=h.retake,_=h.selectedAnswer,w=h.selectedIndices,k=n.answers,E=void 0===k?[]:k,x=n.type,S=u.quizAcceptableResponses,T=u.quizAnswerPlaceholder,C=Is(E),A=C,O=c0()(C);switch(x){case E2:return v.createElement(d1,{allowTabNavigation:!0,isComplete:m,isCorrect:t,labels:u,onChange:this.handleFillIn,onEnterToSubmit:r,options:m2(E),revealAnswers:pN,questionHtmlId:o,quizAcceptableResponses:S,quizAnswerPlaceholder:T,value:g});case x2:return v.createElement(B1,{allowTabNavigation:!0,answers:f2(x)(E),canSubmit:i,isActive:!0,isComplete:m,isLearner:s,matchIndices:A,matches:y,onEnterToSubmit:r,onMatch:this.handleMatch,prefersKeyboardNavigation:!0,revealAnswers:pN,titleIndices:O,isKnowledgeCheck:!0,isRetake:b});case S2:return v.createElement(i2,{allowTabNavigation:!0,correctIds:p2(E),isComplete:m,isCorrect:t,labels:u,onChange:this.handleMultipleResponseChange,onEnterToSubmit:r,options:E,prefersKeyboardNavigation:l,renderOptionText:d.bind(this,n),revealAnswers:pN,selectedIndices:w});default:return v.createElement(t2,{allowTabNavigation:!0,correctId:h2(E)||v2(E),isComplete:m,isCorrect:t,labels:u,onChange:this.handleChoiceSelect,onEnterToSubmit:r,options:E,prefersKeyboardNavigation:l,questionHtmlId:o,renderOptionText:p.bind(this,n),revealAnswers:pN,selectedIndex:_})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.isAutoCalcContrastEnabled,i=t.isLearner,o=t.items,a=t.settings,s=this.state,u=s.answered,l=s.retake,c=a.entranceAnimation,d=GA()("block-knowledge",{"block-knowledge--legacy":!r,"block-knowledge--no-animation":!c,"block-knowledge--answered":u,"block-knowledge--retake":l}),f=o.length>0?Nr()(o).call(o,0,1):[];return v.createElement(zK,{className:d,"data-ba":k2.blockKnowledge,style:this.getStyle(),ref:function(t){e.block=t}},v.createElement(GK,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:i},v.createElement("div",{className:"block-knowledge__container"},v.createElement("div",{className:"block-knowledge__row"},v.createElement("div",{className:"block-knowledge__col"},v.createElement(SX,{"aria-label":this.getTypeLabel(),className:"block-knowledge__wrapper",ref:function(t){e.wrapper=t}},Ra()(f).call(f,(function(t){return e.renderQuestion(t)}))))))))}},{key:"getStyle",value:function(){var e=this.props,t=e.backgroundColor,n=e.isAutoCalcContrastEnabled,r=e.settings;if(n&&(null==r?void 0:r.cardMode)===oG.TRANSPARENT)switch(null==r?void 0:r.backgroundType){case hS.DARK:return{"--background-color-choice-hover":"#515151","--background-color-feedback-frame":"#515151"};case hS.BLACK:return{"--background-color-choice-hover":"#313131","--background-color-feedback-frame":"#313131"};case hS.IMAGE:return{"--background-color-choice-hover":"#0006","--background-color-feedback-frame":"#0006"};case hS.ACCENT:case hS.COLOR:case hS.TINT:switch(OC(t)){case bC.LIGHT:return{"--background-color-choice-hover":SC(.5,t),"--background-color-feedback-frame":SC(.5,t)};case bC.MED:return{"--background-color-choice-hover":SC(-.3,t),"--background-color-feedback-frame":SC(-.3,t)};case bC.DARK:return{"--background-color-choice-hover":SC(-.6,t),"--background-color-feedback-frame":SC(-.6,t)};case bC.NEAR_BLACK:return{"--background-color-choice-hover":SC(.15,t),"--background-color-feedback-frame":SC(.15,t)}}}return null}}],[{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(v.Component),P2=pe()(NR("rise-auto-calc-contrast","isAutoCalcContrastEnabled"),yG(),_G())(N2),I2=__webpack_require__(55130),L2=__webpack_require__.n(I2);function M2(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var R2=function(e){gt(n,e);var t=M2(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={hasOverflow:!1},r.refWrap=(0,v.createRef)(),r.refBubbleWrap=(0,v.createRef)(),r.renderOverflowMask=r.renderOverflowMask.bind(ft(r)),r.handleScroll=r.handleScroll.bind(ft(r)),r.handleBubbleClick=r.handleBubbleClick.bind(ft(r)),r.handleKeyDown=r.handleKeyDown.bind(ft(r)),r.handleNextClick=r.handleNextClick.bind(ft(r)),r.handlePreviousClick=r.handlePreviousClick.bind(ft(r)),r}return dt(n,[{key:"componentWillUnmount",value:function(){this.contentRef.removeEventListener("scroll",this.scrollRef),this.videoContainer&&this.videoContainer.removeEventListener("click",this.handleBubbleClick)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){e.isActive&&setTimeout(this.renderOverflowMask,100)}},{key:"componentDidUpdate",value:function(e){var t,n,r=this.contentRef;!e.isActive&&this.props.isActive&&(r.scrollTop=0,null===(t=this.refBubbleWrap.current)||void 0===t||null===(n=t.focus)||void 0===n||n.call(t));this.state.hasOverflow&&e.isActive&&!this.props.isActive&&r.removeEventListener("scroll",this.scrollRef),this.stopVideoClickBubbling(e.isActive)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.accentColor,i=n.allowNav,o=n.children,a=n.description,s=n.fusion,u=n.isActive,l=n.key,c=n.labels,d=n.onClose,f=n.title,p=n.x,h=n.y,m=GA()("bubble",{"bubble--active":u}),g=q2({x:p,y:h}),y=j2({fusion:s,hasOverflow:this.state.hasOverflow,x:p,y:h}),b={borderColor:r},_=c.labeledGraphicBubbleLabel,w=v.createElement("div",{ref:this.refWrap,className:m,style:g},v.createElement("div",{"aria-hidden":!u,"aria-label":_,className:y,id:l,onClick:this.handleBubbleClick,onKeyDown:this.handleKeyDown,ref:this.refBubbleWrap,style:b,tabIndex:"-1"},v.createElement($M,{allowTabNavigation:u,className:"bubble__title brand--head",value:f}),i&&this.renderControls(),v.createElement("button",{"aria-label":"Close modal",className:"bubble__close",onClick:d,type:"button"},v.createElement(mO,{className:"bubble__close-icon"})),v.createElement("div",{className:"bubble__content",ref:function(e){t.contentRef=e}},v.createElement("div",{className:"bubble__media"},Ra()(e=v.Children).call(e,o,(function(e){return e&&u?v.createElement("div",{className:"bubble__figure"},e):null}))),v.createElement($M,{allowTabNavigation:u,className:"bubble__description brand--body brand--linkColor",value:a}))));return window.matchMedia("(max-width: 767px)").matches?v.createElement(dD(),null,v.createElement(IK,null,w)):w}},{key:"renderControls",value:function(){var e=this.props.labels;return v.createElement("div",{className:"bubble__controls"},v.createElement("button",{"aria-label":null==e?void 0:e.a11yCarouselPrevious,className:"bubble__prev brand--hoverColor",onClick:this.handlePreviousClick,type:"button"},v.createElement("i",{className:"icon icon-chevron-left"})),v.createElement("button",{"aria-label":null==e?void 0:e.a11yCarouselNext,className:"bubble__next brand--hoverColor",onClick:this.handleNextClick,type:"button"},v.createElement("i",{className:"icon icon-chevron-right"})))}},{key:"renderOverflowMask",value:function(){if(this.contentRef){var e=this.contentRef,t=e.offsetHeight;e.scrollHeight>t?(e.addEventListener("scroll",this.scrollRef=NQ()(this.handleScroll,50)),this.setState({hasOverflow:!0}),this.scrollRef()):(e.removeEventListener("scroll",this.scrollRef),this.setState({hasOverflow:!1}))}}},{key:"handleBubbleClick",value:function(e){e.stopPropagation(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation()}},{key:"handleKeyDown",value:function(e){var t,n,r=this.props,i=r.allowNav,o=r.onClose,a=r.onNextClick,s=r.onPreviousClick,u=(t=this.contentRef,n=this.state.hasOverflow,function(e){var r=AW(t,n),i=CW(t);Dl()([[gW,r],[vW,i]])(e)}),l=L2()(Zr()(i));Dl()([[l(yW),s],[l(bW),a],[mW,o],[xW,u]])(e)}},{key:"handleNextClick",value:function(e){var t=this.props.onNextClick;e.preventDefault(),t(e)}},{key:"handlePreviousClick",value:function(e){var t=this.props.onPreviousClick;e.preventDefault(),t(e)}},{key:"handleScroll",value:function(){var e=this.contentRef;e.scrollTop>=e.scrollHeight-e.offsetHeight-10?this.setState({hasOverflow:!1}):this.state.hasOverflow||this.setState({hasOverflow:!0})}},{key:"stopVideoClickBubbling",value:function(e){if(!e&&this.props.isActive&&!this.videoContainer&&window.matchMedia("(max-width: 767px)").matches){var t,n,r=null===(t=this.refWrap.current)||void 0===t||null===(n=t.querySelector)||void 0===n?void 0:n.call(t,".videoContainer");r&&(this.videoContainer=r,this.videoContainer.addEventListener("click",this.handleBubbleClick))}else e&&!this.props.isActive&&this.videoContainer&&(this.videoContainer.removeEventListener("click",this.handleBubbleClick),delete this.videoContainer)}}],[{key:"defaultProps",get:function(){return{allowNav:!0,onClose:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype}}}]),n}(v.Component),D2=NR("rise-auto-calc-contrast","fusion")(R2),q2=function(e){var t=e.x,n=e.y,r={top:"initial",bottom:"initial",left:0,right:0};return t>50?r.right=100-t+"%":r.left=t+"%",n>50?r.bottom=100-n+"%":r.top=n+"%",r},j2=function(e){var t=e.fusion,n=e.hasOverflow,r=e.x,i=e.y,o=r<50,a="top";return i>33&&(a=i>66?"bottom":"middle"),GA()("bubble__body",{"bubble__body--has-overflow":n,"bubble__body--left":o,"bubble__body--right":!o,"bubble__body--top":"top"===a,"bubble__body--middle":"middle"===a,"bubble__body--bottom":"bottom"===a,"bg--range-light":t})},F2=["children","className","contentFocused"],B2=["children","className","side"],U2=function(e){var t=e.children,n=e.className,r=e.contentFocused,i=void 0!==r&&r,o=Ji(e,F2),a=GA()("authoring-tooltip",qr({},n,n),{"content-focused":i});return v.createElement("div",Et({className:a},o),t)},z2=function(e){var t=e.children,n=e.className,r=e.side,i=Ji(e,B2),o=GA()("authoring-tooltip__content","authoring-tooltip__content--".concat(r),qr({},n,n));return v.createElement("span",Et({},i,{className:o}),t)},H2=__webpack_require__(67294);function V2(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function W2(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Y2=pe()((function(e){return e.substr(1)}),Gn()("path"),SZ.parse),G2=function(e){gt(n,e);var t=W2(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={style:{}},r}return dt(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.canvasClassNames,r=t.children,i=t.editable,o=t.imageLoaded,a=t.media,s=void 0===a?{}:a,u=t.onCreateMarker,l=t.onShowAltDialog,c=this.state.style,d=s.image,f=void 0===d?{}:d,p=f.alt,h=f.key,m=f.originalUrl,v=f.src,g=!!f.alt,y=dA({alt:p,fileName:m,key:h}),b=cA(f),_=GA()("labeled-graphic-canvas__figure",{"labeled-graphic-canvas__figure--editable":i}),w=eS(h?f:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V2(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):V2(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({key:Y2(v)},f));return H2.createElement("div",{className:n||"labeled-graphic-canvas"},H2.createElement("div",{className:"labeled-graphic-canvas__item"},H2.createElement("div",{className:"labeled-graphic-canvas__bounds"},H2.createElement("figure",{className:_},g&&i?H2.createElement(U2,{className:"item-media__tooltip"},H2.createElement("div",{onClick:l,className:"labeled-graphic-canvas__alt-tag"},"ALT"),H2.createElement(z2,{side:"top"},"Edit alt text")):[],o&&H2.createElement("img",{alt:y,className:"labeled-graphic-canvas__image",onClick:u,onLoad:function(){return e.setState({style:b})},ref:function(t){e.imageEl=t},role:"img",src:w,style:c}),H2.createElement("ol",{role:"list"},r)))))}}]),n}(H2.Component),K2={"01":"a11yLabeledGraphicIconPlus","02":"a11yLabeledGraphicIconDot","03":"a11yLabeledGraphicIconInformation","04":"a11yLabeledGraphicIconQuestion","05":"a11yLabeledGraphicIconCheck","06":"a11yLabeledGraphicIconX","07":"a11yLabeledGraphicIconHeart","08":"a11yLabeledGraphicIconPin","09":"a11yLabeledGraphicIconArrowLeft",10:"a11yLabeledGraphicIconArrowRight",11:"a11yLabeledGraphicIconArrowUp",12:"a11yLabeledGraphicIconArrowDown",13:"a11yLabeledGraphicIconArrowUpLeft",14:"a11yLabeledGraphicIconArrowUpRight",15:"a11yLabeledGraphicIconArrowDownLeft",16:"a11yLabeledGraphicIconArrowDownRight",17:"1",18:"2",19:"3",20:"4",21:"5",22:"6",23:"7",24:"8",25:"9",26:"0"},X2=__webpack_require__(67294);function $2(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Z2=function(e){gt(n,e);var t=$2(n);function n(e){var r;return nt(this,n),qr(ft(r=t.call(this,e)),"buildMarkerLabel",(function(e){var t,n,i,o,a=e.icon,s=e.label,u=e.title,l=e.viewed,c=r.props.labels;return St()(t=St()(n=St()(i=St()(o=[]).call(o,s||[])).call(i,u||[])).call(n,a||[])).call(t,l?null==c?void 0:c.a11yLabeledGraphicViewed:null==c?void 0:c.a11yLabeledGraphicUnviewed).join(", ")})),r.state={dragging:!1,hovering:!1,isComplete:!1,isDragged:!1,offsetX:0,offsetY:0,wasDragged:!1},r.onClick=r.onClick.bind(ft(r)),r}return dt(n,[{key:"parentCanvasElement",value:function(){return this.marker.parentElement.parentElement.parentElement}},{key:"componentDidMount",value:function(){var e=this,t=this.parentCanvasElement();t.addEventListener("mousemove",this.onMouseMove=function(t){e.onItemDrag(t)}),t.addEventListener("mouseleave",this.onMouseLeave=function(t){e.onItemRelease(t)})}},{key:"componentWillUnmount",value:function(){var e=this.parentCanvasElement();e.removeEventListener("mousemove",this.onMouseMove),e.removeEventListener("mouseleave",this.onMouseLeave)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.isSelected,n=e.useLocalStateForCompletion;t&&n&&!this.state.isComplete&&this.setState({isComplete:!0})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.ariaControls,i=n.icon,o=n.isActive,a=n.isComplete,s=n.isSelected,u=n.isVisible,l=n.labels,c=n.markerClassName,d=n.onFocus,f=n.styles,p=n.title,h=n.useLocalStateForCompletion,m=function(e,t){var n=K2[t];return null!=n&&de()(n).call(n,"a11y")?(null==e?void 0:e[n])||"":n||""}(l,i),v=h?this.state.isComplete:a,g=this.buildMarkerLabel({icon:m,label:l&&l.a11yLabeledGraphicButtonMarker||"",title:p,viewed:v}),y=GA()("labeled-graphic-marker",{"labeled-graphic-marker--active":s,"labeled-graphic-marker--dragged":this.state.isDragged,"labeled-graphic-marker--visible":u,"labeled-graphic-marker--complete":v}),b=GA()("labeled-graphic-marker__pin",(qr(e={},"".concat(c,"--hover"),!s&&this.state.hovering),qr(e,"".concat(c,"--normal"),!s),qr(e,"".concat(c,"--selected"),s),e));return X2.createElement("button",{"aria-expanded":o,"aria-label":g,"aria-controls":r,className:y,onClick:this.onClick,onContextMenu:this.onItemRelease.bind(this),onFocus:d,onKeyDown:TW(this.onClick),onMouseDown:this.onItemGrab.bind(this),onMouseEnter:this.onHover.bind(this),onMouseLeave:this.onLeave.bind(this),onMouseUp:this.onItemRelease.bind(this),ref:function(e){t.marker=e},style:f,type:"button"},X2.createElement("span",{className:b},X2.createElement("i",{className:"icon icon-Master-".concat(i)})))}},{key:"focus",value:function(){this.marker&&this.marker.focus&&this.marker.focus()}},{key:"onHover",value:function(){this.state.wasDragged&&this.props.onHover(),this.setState({hovering:!0})}},{key:"onLeave",value:function(){this.props.onLeave(),this.setState({hovering:!1})}},{key:"onClick",value:function(e){e.stopPropagation(),e.preventDefault(),e.nativeEvent&&e.nativeEvent.stopImmediatePropagation();var t=this.props,n=t.editable,r=t.itemId,i=t.onClick,o="labeledGraphicMarkerClick",a={detail:{itemId:r,parentId:t.parentId}},s=null;lF.isIe11?(s=document.createEvent("UIEvents")).initUIEvent(o,!1,!1,window,a):s=new CustomEvent(o,a),document.dispatchEvent(s),n||i()}},{key:"onItemGrab",value:function(e){if(this.props.editable){var t=this.marker.getBoundingClientRect(),n=t.left-e.clientX+this.marker.offsetWidth/2,r=t.top-e.clientY+this.marker.offsetHeight/2;this.setState({posX:e.clientX,posY:e.clientY,offsetX:n,offsetY:r,isDragged:!0})}}},{key:"onItemDrag",value:function(e){if(this.state.isDragged){var t,n=e.clientX-this.state.posX,r=e.clientY-this.state.posY;this.marker.style.transform=St()(t="translate3d(".concat(n,"px, ")).call(t,r,"px, 0)")}}},{key:"onItemRelease",value:function(e){var t=this.props.editable,n={isDragged:!1};this.marker.style.transform="translate3d(0, 0, 0)",this.state.isDragged&&this.state.posX===e.clientX&&this.state.posY===e.clientY?this.props.onClick():t&&e.currentTarget&&e.currentTarget.classList.contains("labeled-graphic-marker")?this.props.onSetPosition(e,this.state.offsetX,this.state.offsetY):this.state.isDragged&&(n.offsetX=0,n.offsetY=0),this.setState(n)}}]),n}(X2.Component);function Q2(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var J2=function(e){var t=e.accentColor;return{accentColor:e.fontColor,fontColor:t}},e3=Nl()(pe()(Ca()(To()),(function(e){return La()(Zr()(e),J2)}))),t3=function(e){gt(n,e);var t=Q2(n);function n(e){var r;nt(this,n),r=t.call(this,e);var i=e.isLearner;return r.afterAnimatedIn=r.afterAnimatedIn.bind(ft(r)),r.createMarker=r.createMarker.bind(ft(r)),r.onBubbleClose=r.onBubbleClose.bind(ft(r)),r.onMarkerFocus=r.onMarkerFocus.bind(ft(r)),r.markerRefs={},r.state={showMarkers:!i,uniqId:YX()()},r}return dt(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.isBlock,r=t.isLearner,i=t.isPreview,o=t.markerDelay;r&&!n&&(this.timeout=setTimeout((function(){return e.setState({showMarkers:!0})}),i?0:o))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this,t=this.props,n=t.accentColor,r=t.animateBlockEntrance,i=t.blockId,o=t.color,a=t.canvasClassNames,s=t.editable,u=t.imageLoaded,l=void 0===u||u,c=t.isBlock,d=t.isLearner,f=t.isPreview,p=t.items,h=t.labels,m=t.lesson,g=t.media,y=t.onItemClear,b=t.onItemHint,_=t.onItemSelected,w=t.onNextClick,k=t.onPreviousClick,E=t.onShowAltDialog,x=t.parentId,S=t.progress,T=t.selected,C=t.settings,A=void 0===C?{}:C,O=t.showBubbles,N=t.enableVideoPlaybackSpeed,P=A.markerColor,I=this.state,L=I.showMarkers,M=I.uniqId,R=n||o,D=Boolean(P),q=s?"#FFFFFF":P||R,j=GA()("map-item",{"map-item--animated":!s}),F=r?"fadeIn":"none",B=r?1:0,U=p.length>1,z="lg-".concat(M),H=D?function(e){return kC(e)?"#FFFFFF":"#000000"}(q):s?"#000000":"#FFFFFF",V=e3(!D&&!s,{accentClassName:z,accentColor:q,fontColor:H});return v.createElement(v.Fragment,null,this.renderMarkerStyles(V),v.createElement(GK,{afterAnimatedIn:this.afterAnimatedIn,animateBlockEntrance:!f,animateIn:F,duration:f?0:B,initiallyVisible:!r,isLearner:d,offset:300},v.createElement(G2,{canvasClassNames:a,editable:s,imageLoaded:l,lesson:m,media:g,onCreateMarker:this.createMarker,onShowAltDialog:E,ref:function(t){e.canvas=t}},Ra()(p).call(p,(function(t,n){var r,o,a=t.description,u=t.id,l=t.icon,d=t.media,f=t.title,p=t.x,m=t.y,g={top:m+"%",left:p+"%"},E=Wn()(["items",u,"isComplete"],S),C=T===u,A="bubble-".concat(u);return v.createElement("li",{className:j,key:u,role:"listitem"},v.createElement(Z2,{ariaControls:A,editable:s,icon:l,isActive:T===u,isComplete:E,isSelected:C,isVisible:L,itemId:u,key:u,labels:h,markerClassName:z,onClick:function(){_(u)},onFocus:e.onMarkerFocus(u),onHover:function(){b()},onLeave:function(){y()},onSetPosition:e.onSetPosition.bind(e,u),parentId:x,ref:function(t){e.markerRefs[u]=t},styles:g,title:f,useLocalStateForCompletion:c}),!s&&O&&v.createElement(D2,{accentColor:q,allowNav:U,description:a,hasMedia:Boolean(d),isActive:C,key:A,labels:h,onClose:e.onBubbleClose(u),onNextClick:function(){w(n)},onPreviousClick:function(){k(n)},title:f,x:p,y:m},d?v.createElement(kQ,{hasPadding:!1,index:St()(r=St()(o="".concat(i,"-")).call(o,u,"-")).call(r,n),labels:e.props.labels,media:d,enableVideoPlaybackSpeed:N}):null))})))))}},{key:"renderMarkerStyles",value:function(e){var t,n,r,i,o,a,s,u,l,c,d,f=e.accentClassName,p=e.accentColor,h=e.fontColor,m=xC("#000000",p),g=xC("#FFFFFF",h);return v.createElement("style",null,St()(t=St()(n=St()(r=St()(i=St()(o=St()(a=St()(s=St()(u=St()(l=St()(c=St()(d="\n        .".concat(f,"--normal {\n          background-color: ")).call(d,m,";\n          color: ")).call(c,g,";\n        }\n\n        .")).call(l,f,"--selected {\n          background-color: ")).call(u,g,";\n          color: ")).call(s,m,";\n        }\n\n        .")).call(a,f,"--selected:before {\n          border-color: ")).call(o,m," !important;\n        }\n\n        .")).call(i,f,"--hover {\n          background-color: ")).call(r,m,";\n        }\n\n        .")).call(n,f,"--hover:before {\n          border-color: ")).call(t,g," !important;\n        }\n      "))}},{key:"createMarker",value:function(e){var t=this.props,n=t.editable,r=t.isBlock,i=t.lesson,o=t.onCreateMarker;if(n){var a=i.id,s=i.items,u=this.findItemCoordinates({e:e}),l=u.x,c=u.y;o({index:r?s[0].items.length:s.length,lessonId:a,items:s,payload:{description:"",hasMedia:!1,icon:"01",id:YX()(),isActive:!1,title:"",x:String(l),y:String(c)}})}}},{key:"onBubbleClose",value:function(e){var t=this,n=this.props.onClose;return function(){var r=t.markerRefs[e];r&&r.focus&&r.focus(),n()}}},{key:"onMarkerFocus",value:function(e){var t=this;return function(){var n=t.props,r=n.onClose,i=n.selected;i&&i!==e&&r()}}},{key:"onSetPosition",value:function(e,t,n,r){var i=this.props,o=i.lesson,a=i.onSetMarkerPosition,s=o.id,u=o.items,l=this.findItemCoordinates({e:t,offsetX:n,offsetY:r}),c=l.x,d=l.y;a({itemId:e,lessonId:s,items:u,payload:{x:String(c),y:String(d)}})}},{key:"findItemCoordinates",value:function(e){var t=e.e,n=e.offsetX,r=void 0===n?0:n,i=e.offsetY,o=void 0===i?0:i,a=this.canvas.imageEl.getBoundingClientRect();return{x:this.findItemCoordinate({clientPos:t.clientX,clientOffset:r,rectSubtractor:a.left,rectDivisor:a.width,validOffsetAmount:20}),y:this.findItemCoordinate({clientPos:t.clientY,clientOffset:o,rectSubtractor:a.top,rectDivisor:a.height,validOffsetAmount:20})}}},{key:"findItemCoordinate",value:function(e){var t=e.clientPos,n=e.clientOffset,r=e.rectSubtractor,i=e.rectDivisor,o=e.validOffsetAmount/i*100,a=100-o,s=(t+n-r)/i*100;return s>a?s=a:s<o&&(s=o),s}},{key:"afterAnimatedIn",value:function(){this.props.isBlock&&this.setState({showMarkers:!0})}}],[{key:"defaultProps",get:function(){return{animateBlockEntrance:!1,editable:!0,markerDelay:0,onClose:Function.prototype,onCreateMarker:Function.prototype,onItemClear:Function.prototype,onItemHint:Function.prototype,onItemSelected:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype,onSetMarkerPosition:Function.prototype,showBubbles:!0}}}]),n}(v.Component),n3=t3,r3=__webpack_require__(67294);function i3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var o3="page-wrap--noscroll",a3=function(e){gt(n,e);var t=i3(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={imageLoaded:!1},r.closeOpenedBubble=r.closeOpenedBubble.bind(ft(r)),r.handleDocumentClick=r.handleDocumentClick.bind(ft(r)),r.handleMarkerClick=r.handleMarkerClick.bind(ft(r)),r.onItemSelected=r.onItemSelected.bind(ft(r)),r.onNextClick=r.onNextClick.bind(ft(r)),r.onPreviousClick=r.onPreviousClick.bind(ft(r)),r.setImageLoaded=r.setImageLoaded.bind(ft(r)),r}return dt(n,[{key:"componentDidMount",value:function(){this.loadImage(),this.props.readOnly||(document.addEventListener("click",this.handleDocumentClick),document.addEventListener("labeledGraphicMarkerClick",this.handleMarkerClick))}},{key:"componentWillUnmount",value:function(){this.props.readOnly||(document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("labeledGraphicMarkerClick",this.handleMarkerClick))}},{key:"render",value:function(){var e=this.state.imageLoaded,t=this.props,n=t.isPreview,r=t.items,i=t.labels,o=t.parentId,a=t.settings,s=(void 0===a?{}:a).mediaWidth,u=void 0===s?"2":s,l=n?r[0].id:this.state.selectedItemId,c=GA()("view-labeled-graphic",{"view-labeled-graphic--small":"0"===u,"view-labeled-graphic--medium":"1"===u,"view-labeled-graphic--full":"2"===u});return r3.createElement("div",{"aria-label":null==i?void 0:i.a11yLabeledGraphicBlock,className:c,role:"group"},r3.createElement(n3,Et({},this.props,{canvasClassNames:this.getCanvasClassNames(),editable:!1,imageLoaded:e,labels:i,markerDelay:1e3,onClose:this.closeOpenedBubble,onItemSelected:this.onItemSelected,onNextClick:this.onNextClick,onPreviousClick:this.onPreviousClick,parentId:o,selected:l})))}},{key:"setImageLoaded",value:function(){this.setState({imageLoaded:!0})}},{key:"loadImage",value:function(){var e=this,t=this.props.media.image,n=t.key,r=t.src,i=setTimeout(this.setImageLoaded,1e3),o=new Image,a=n?eS(t):r;o.src=a,o.onload=function(){clearTimeout(i),e.setImageLoaded()}}},{key:"getCanvasClassNames",value:function(){return GA()("labeled-graphic-canvas",{"labeled-graphic-canvas--visible":this.state.imageLoaded})}},{key:"onNextClick",value:function(e){var t=this.props.items,n=Gn()("id",t[Hs()(e)]||t[0]);this.onItemSelected(n)}},{key:"onPreviousClick",value:function(e){var t=this.props.items,n=Gn()("id",t[xI()(e)]||t[xI()(oa()(t))]);this.onItemSelected(n)}},{key:"onItemSelected",value:function(e){var t=this.props,n=t.editBlock,r=t.items,i=t.onItemSelected,o=t.onStep,a=this.state.selectedItemId;n&&window.matchMedia("(max-width: 768px)").matches||(a===e?this.closeOpenedBubble():(this.openBubble(e),pe()(o,Ux()((function(t){return t.id===e})))(r)),i(e))}},{key:"handleDocumentClick",value:function(){document.querySelector("[data-iz-overlay]")||this.closeOpenedBubble()}},{key:"handleMarkerClick",value:function(e){var t=e.detail,n=t.itemId,r=t.parentId,i=this.state.selectedItemId;r===this.props.parentId&&i===n||this.closeOpenedBubble()}},{key:"openBubble",value:function(e){if(window.matchMedia("(max-width: 767px)").matches){var t=document.querySelector(".page-wrap");t&&t.classList.add(o3)}this.setState({selectedItemId:e})}},{key:"closeOpenedBubble",value:function(){if(window.matchMedia("(max-width: 767px)").matches){var e=document.querySelector(".page-wrap");e&&e.classList.remove(o3)}this.setState({selectedItemId:void 0})}}],[{key:"defaultProps",get:function(){return{onItemSelected:Function.prototype,onStep:Function.prototype}}}]),n}(r3.Component),s3=__webpack_require__(67294),u3=tF,l3=function(e){var t=e.blockId,n=e.progress,r=Wn()(["items",t],n);return s3.createElement(zK,{className:"block-labeled-graphic","data-ba":u3.blockLabeledGraphic},s3.createElement(a3,Et({},e,{editable:!1,isBlock:!0,parentId:t,progress:r})))},c3=__webpack_require__(11),d3=__webpack_require__.n(c3),f3=__webpack_require__(80409),p3=__webpack_require__.n(f3);function h3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var m3=function(e){gt(n,e);var t=h3(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isMounted:!1},r.id=VO()(),r.refCard=(0,v.createRef)(),r}return dt(n,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.current,i=t.description,o=t.entered,a=t.fade,s=t.hasNavigation,u=t.htmlId,l=t.index,c=t.initiating,d=t.media,f=t.labels,p=t.number,h=t.position,m=h.next,g=h.prev,y=t.previous,b=t.settings,_=t.title,w=t.type,k=this.state.isMounted,E=!Jo()(g)&&!Jo()(m),x=Fo()("process-card__"),S=GA()("process-card",{"process-card--initiating":c,"process-card--entered":o,"process-card--intro":"intro"===w,"process-card--summary":"summary"===w,"process-card--active":r===l,"process-card--prev-active":y===l,"process-card--next":r+1===l,"process-card--prev":r-1===l,"process-card--slide-fade":a}),T=Dl()([[NI()(l),Zr()({transform:"translate3d(".concat(m,"px, 0px, 0px)")})],[gs()(l),Zr()({transform:"translate3d(-".concat(g,"px, 0px, 0px)")})],[bb(),Zr()(null)]])(r),C="card-step-".concat(this.id),A="card-title-".concat(this.id);return v.createElement("div",{"aria-labelledby":St()(e="".concat(A," ")).call(e,C),"aria-hidden":k&&r!==l,className:S,id:u,ref:this.refCard,role:"group",style:E?T:void 0,tabIndex:"-1"},v.createElement("div",{className:"process-card__inner"},v.createElement("div",null,"step"===w&&E3({htmlId:C,labels:f,number:p,settings:b},x),_&&x3({htmlId:A,title:_},x),d&&_3(this.props,x),i&&y3(this.props,x),s&&"intro"===w&&k3(this.props,x),s&&"summary"===w&&w3(this.props,x),"intro"!==w&&n)))}},{key:"shouldComponentUpdate",value:function(e){if(e.current!==this.props.current||e.fade!==this.props.fade||e.initiating!==this.props.initiating||e.position!==this.props.position||e.previous!==this.props.previous||e.settings!==this.props.settings)return!0;var t=e.current,n=e.index,r=e.entered!==this.props.entered;return t===n&&r}},{key:"componentDidMount",value:function(){this.setState({isMounted:!0})}},{key:"componentDidUpdate",value:function(e){var t,n,r=this.props,i=r.announcePolite,o=r.current,a=r.index,s=r.labels,u=r.title;e.current!==o&&o===a&&i(St()(t=St()(n="".concat(s.processStepName," ")).call(n,a,". ")).call(t,u||""))}}]),n}(v.Component),v3=Wr(m3),g3=function(e){gt(n,e);var t=h3(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isMounted:!1},r.id=VO()(),r.refCard=(0,v.createRef)(),r}return dt(n,[{key:"render",value:function(){var e,t=this.props,n=t.children,r=t.current,i=t.description,o=t.entered,a=t.hasNavigation,s=t.htmlId,u=t.labels,l=t.index,c=t.initiating,d=t.media,f=t.number,p=t.settings,h=t.showHelp,m=t.title,g=t.type,y=t.width,b=this.state.isMounted,_=r===l,w=Dl()([[NI()(l),Zr()({transform:"translate3d(".concat(y,"px, 0px, 0px)")})],[gs()(l),Zr()({transform:"translate3d(-".concat(y,"px, 0px, 0px)")})],[bb(),Zr()(null)]])(r),k=GA()("process-card-mobile",{"process-card-mobile--entered":o,"process-card-mobile--intro":"intro"===g,"process-card-mobile--summary":"summary"===g,"process-card-mobile--active":_,"process-card-mobile--initiating":c}),E=Fo()("process-card-mobile__"),x="card-step-".concat(this.id),S="card-title-".concat(this.id),T="card-help-".concat(this.id);return v.createElement("div",{"aria-labelledby":St()(e="".concat(S," ")).call(e,x),"aria-describedby":T,"aria-hidden":b&&r!==l,className:k,"data-process-card":"",id:s,ref:this.refCard,role:"group",style:w,tabIndex:"-1"},v.createElement("div",{className:"process-card-mobile__inner"},v.createElement("div",null,"step"===g&&E3({htmlId:x,labels:u,number:f,settings:p},E),m&&x3({htmlId:S,title:m},E),d&&_3(this.props,E),i&&y3(this.props,E),a&&"intro"===g&&k3(this.props,E),a&&"summary"===g&&w3(this.props,E),"intro"!==g&&n,b3({current:r,htmlId:s,index:l,labels:u,showHelp:h},E))))}},{key:"shouldComponentUpdate",value:function(e){if(e.current!==this.props.current||e.initiating!==this.props.initiating||e.width!==this.props.width)return!0;var t=e.current,n=e.index,r=e.entered!==this.props.entered||e.showHelp!==this.props.showHelp;return t===n&&r}},{key:"componentDidMount",value:function(){this.setState({isMounted:!0})}},{key:"componentDidUpdate",value:function(e){var t,n,r=this.props,i=r.current,o=r.index;e.current!==i&&i===o&&(null===(t=this.refCard.current)||void 0===t||null===(n=t.focus)||void 0===n||n.call(t,{preventScroll:!0}))}}]),n}(v.Component),y3=function(e,t){var n=e.current,r=e.description,i=e.index;return v.createElement($M,{allowTabNavigation:n===i,className:"".concat(t("description")," brand--body"),value:r})},b3=function(e,t){var n=e.current,r=e.htmlId,i=e.index,o=e.labels,a=e.showHelp,s=o.processSwipe,u=GA()(t("help"),qr({},"".concat(t("help"),"--show"),n===i&&a));return v.createElement("div",{className:u,id:r},v.createElement("span",null,s," ",v.createElement(cO,null)))},_3=function(e,t){var n,r,i=e.blockId,o=e.current,a=e.enableVideoPlaybackSpeed,s=e.id,u=e.index,l=e.labels,c=e.media,d=e.onMediaLoad,f=e.settings.zoomOnClick,p=o===u,h=wi()(Ro()("pause",!0),c);return v.createElement("div",{className:t("media")},v.createElement(kQ,{allowTabNavigation:p,defaultAlign:"center",enableVideoPlaybackSpeed:a,hasPadding:!1,index:St()(n=St()(r="".concat(i,"-")).call(r,s,"-")).call(n,u),labels:l,media:p?c:h,onLoad:p&&d?d:Zr(),opts:{disableZoom:!f}}))},w3=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.onRestartClick,a=n===r;return v.createElement("button",{className:"".concat(t("restart")," brand--color"),onClick:o,tabIndex:a?void 0:-1,type:"button"},v.createElement("span",{className:"".concat(t("restart-text")," brand--ui")},null==i?void 0:i.processStartAgain),v.createElement("i",{className:"".concat(t("restart-icon")," icon icon-reload")}))},k3=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.onNextClick,a=i.processStart,s=n===r?void 0:-1;return v.createElement("button",{className:"".concat(t("start")," brand--background"),onClick:o,tabIndex:s,type:"button"},v.createElement("span",{className:"".concat(t("start-text")," brand--ui")},a),v.createElement(cO,{className:t("start-icon")}))},E3=function(e,t){var n,r=e.htmlId,i=e.labels,o=e.number,a=e.settings,s=i.processStepName,u=a.stepLabel||s;return v.createElement("div",{className:"".concat(t("number")," brand--background brand--head"),id:r},v.createElement("p",null,St()(n="".concat(u," ")).call(n,o)))},x3=function(e,t){var n=e.htmlId,r=e.title;return v.createElement("div",{className:"".concat(t("title")," brand--head")},v.createElement("h2",{id:n},r))},S3=__webpack_require__(67294);function T3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var C3=function(e){gt(n,e);var t=T3(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.absolute,n=e.bottom,r=e.fixed,i=e.hidden,o=e.isSliding,a=e.labels,s=e.offset,u=e.onClick,l=e.scroll,c=e.sidebar,d=e.top,f=e.type,p="next"===f,h="prev"===f,m=h&&"prev"===i,v=p&&"next"===i,g="both"===i||m||v,y=o||m||v,b=l.active?r+c:t,_=l.active?r+s:t,w=h?null==a?void 0:a.a11yCarouselPrevious:null==a?void 0:a.a11yCarouselNext,k=Dl()([[Ci()("active",!0),Zr()(d)],[Ci()("end",!0),Zr()(n)],[bb(),Zr()(null)]])(l),E=GA()("process-arrow",{"process-arrow--left":h,"process-arrow--right":p,"process-arrow--disabled":y,"process-arrow--scrolling":l.active}),x={left:h?b:null,right:p?_:null,top:k};return S3.createElement("button",{"aria-hidden":g,"aria-label":w,className:E,key:"arrow",onClick:u,style:x,tabIndex:g?-1:void 0,type:"button"},S3.createElement(cO,{className:"process-arrow__icon"}))}},{key:"shouldComponentUpdate",value:function(e){var t=function(e,t){return pe()(yu(),Ci()(e,t))};return Dl()([[t("absolute",this.props.absolute),Zr()(!0)],[t("fixed",this.props.fixed),Zr()(!0)],[t("isSliding",this.props.isSliding),Zr()(!0)],[t("scroll",this.props.scroll),Zr()(!0)],[t("top",this.props.top),Zr()(!0)],[bb(),Zr()(!1)]])(e)}}]),n}(S3.Component),A3=__webpack_require__(88524),O3=__webpack_require__.n(A3),N3=__webpack_require__(67294);function P3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var I3=function(e){gt(n,e);var t=P3(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return qr(ft(r=t.call.apply(t,St()(e=[this]).call(e,o))),"renderItem",(function(e){var t=r.props,n=t.cardIndex,i=t.current,o=t.hasSummary,a=t.isFirst,s=t.length,u=o&&e===s,l=n===i,c=e===(a?i+1:i),d=lF.isMobile,f=GA()("process-counter__item",{"process-counter__item--active":c,"process-counter__item--large":e>=10&&!u,"process-counter__item--mobile":d}),p=u?N3.createElement("span",null,N3.createElement("svg",{"aria-hidden":"true",className:"process-counter__check",focusable:"false",role:"img",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},N3.createElement("path",{d:"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z",fill:"currentColor"}))):e;return N3.createElement("li",{className:f,key:e,ref:"item-".concat(e),role:"listitem"},N3.createElement("button",{"aria-current":e===i||void 0,"aria-label":u?"Last step":"Step ".concat(e),className:"process-counter__btn",onClick:r.handleSlide.bind(ft(r),e),tabIndex:l?void 0:-1,type:"button"},p))})),r}return dt(n,[{key:"getCounterPosition",value:function(){var e=this.props,t=e.current,n=e.isFirst,r=e.length,i=n?t+1:t,o=this.refs["item-".concat(i)],a=this.refs["item-".concat(r)];if(!this.counter||!o||!a)return{lastItemPosition:null,position:null,width:null};var s=this.getItemPosition(),u=a.offsetLeft+5,l=o.offsetWidth,c=this.counter.offsetWidth,d=s-c/2+l/2,f=u-c+l/2;return{lastItemPosition:u,position:Dl()([[O3()(c/2),Zr()(0)],[M_()(u-c/2),Zr()(f)],[bb(),Zr()(d)]])(s),width:c}}},{key:"getItemPosition",value:function(){var e=this.props,t=e.current,n=e.hasSummary,r=e.isFirst,i=e.length,o=r?t+1:t,a=this.refs["item-".concat(o)];return a?o>=10&&!(n&&t===i)?a.offsetLeft+4:a.offsetLeft:null}},{key:"handleSlide",value:function(e){var t=this.props,n=t.current,r=t.isFirst;(0,t.slideTo)(r?e-1:e,n,{shouldFocusContent:!0})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.hasSummary,i=n.length,o=this.getCounterPosition(),a=o.lastItemPosition,s=o.position,u=o.width,l=this.getItemPosition(),c=r?i+1:i,d=GA()("process-counter",{"process-counter--overflow-before":s>0,"process-counter--overflow-after":a>s+u}),f={transform:"translate3d(-".concat(s,"px, 0px, 0px)")},p={opacity:1,transform:"translate3d(".concat(l,"px, 0px, 0px)")},h={className:"process-counter__inner",style:!Jo()(s)&&s>0?f:{transform:"translate3d(0px, 0px, 0px)"},ref:function(e){return t.counter=e}},m={className:"process-counter__active brand--border",style:Jo()(l)?null:p};return N3.createElement("div",{className:d},N3.createElement("div",h,N3.createElement("div",m),N3.createElement("ol",{className:"process-counter__list",role:"list"},Ra()(e=bs()(1,c)).call(e,this.renderItem))))}}]),n}(N3.Component),L3=function(e){return function(t){e.setState({xTouchDown:t.touches[0].clientX,yTouchDown:t.touches[0].clientY})}},M3=function(e){return function(t){e.setState({xTouchMove:t.touches[0].clientX,yTouchMove:t.touches[0].clientY})}},R3=function(e,t,n,r){return function(){if(e.state.xTouchDown&&e.state.xTouchMove){var i=e.state.xTouchDown-e.state.xTouchMove,o=e.state.yTouchDown-e.state.yTouchMove,a=Hn()(NI()),s=Hn()(gs()),u=q3(e);if(Math.abs(i)>Math.abs(o))Dl()([[a(r),t],[s(-r),n],[bb(),Zr()()]])(i),u()}}},D3=function(e){return function(){q3(e)}},q3=function(e){return function(){e.setState({xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null})}};var j3=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={touchstart:L3(t),touchmove:M3(t),touchend:R3(t,n,r,i),touchcancel:D3(t)};return{addListeners:function(){e.addEventListener("touchstart",o.touchstart),e.addEventListener("touchmove",o.touchmove),e.addEventListener("touchend",o.touchend),e.addEventListener("touchcancel",o.touchcancel)},removeListeners:function(){e.removeEventListener("touchstart",o.touchstart),e.removeEventListener("touchmove",o.touchmove),e.removeEventListener("touchend",o.touchend),e.removeEventListener("touchcancel",o.touchcancel)}}},F3=__webpack_require__(67294);function B3(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function U3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B3(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):B3(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function z3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var H3=function(e){gt(n,e);var t=z3(n);function n(e){var r;return nt(this,n),qr(ft(r=t.call(this,e)),"clampArrowTop",(function(e){var t=Lu()(0,r.getSlideContentHeight()-20);return d3()(0,t,e)})),qr(ft(r),"getSlideContentHeight",(function(){var e=r.state.slide.current,t=(0,g.findDOMNode)(r.refs["slide-".concat(e)]);if(t){var n=t.firstChild,i=window.getComputedStyle(n);return n.clientHeight-parseFloat(i.paddingTop)-parseFloat(i.paddingBottom)}return 0})),r.state={arrow:{absolute:null,bottom:null,fixed:null,hidden:"prev",top:null},initiating:!0,scroll:{active:!1,auto:!1,end:!1},position:{next:0,prev:0},sidebar:null,slide:{active:!1,current:0,fade:!1,previous:null},style:null,width:{card:0,wrapper:0}},r.handleSlideNext=r.handleSlide.bind(ft(r),"next"),r.handleSlidePrev=r.handleSlide.bind(ft(r),"prev"),r.handleIntersect=r.handleIntersect.bind(ft(r)),r.handleRestart=r.handleRestart.bind(ft(r)),r.handleScroll=r.handleScroll.bind(ft(r)),r.renderStep=r.renderStep.bind(ft(r)),r.setArrows=r.setArrows.bind(ft(r)),r.setHeight=r.setHeight.bind(ft(r)),r.setPosition=r.setPosition.bind(ft(r)),r.setWidth=r.setWidth.bind(ft(r)),r.slideTo=r.slideTo.bind(ft(r)),r.observer=new IntersectionObserver(r.handleIntersect,{rootMargin:"10000px"}),r}return dt(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.isPreview,n=document.getElementsByClassName("page-wrap")[0];this.container=t?n:window,this.initRef=setTimeout((function(){return e.setState({initiating:!1})}),1e3),this.scrollRef=NQ()(this.handleScroll,10),window.addEventListener("resize",this.setPosition),this.container.addEventListener("scroll",this.scrollRef),setTimeout(this.setPosition,0),setTimeout(this.handleScroll,0),this.observer.observe(this.inner)}},{key:"componentDidUpdate",value:function(e){this.props.menuOpen!==e.menuOpen&&(this.resizeRef=setTimeout(this.setPosition,300))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.initRef),clearTimeout(this.resizeRef),clearTimeout(this.slideRef),clearTimeout(this.afterSlideRef),clearTimeout(this.arrowAnimRef),window.removeEventListener("resize",this.setPosition),this.container.removeEventListener("scroll",this.scrollRef),this.observer.disconnect()}},{key:"handleIntersect",value:function(e){e.some((function(e){return e.intersectionRatio>0}))&&this.setPosition()}},{key:"handleRestart",value:function(){var e=this,t=this.props,n=t.getScrollTop,r=t.steps,i=n(),o=(0,g.findDOMNode)(this.refs["slide-0"]),a=null==o?void 0:o.offsetHeight,s=null==o?void 0:o.querySelector(".process-card__start"),u=this.container===window?"body, html":this.container,l=To()(this.state.arrow,{hidden:"prev"}),c=To()(this.state.scroll),d={active:!1,auto:!1,end:!1},f=To()(this.state.slide,{fade:!0}),p={active:!1,current:0,fade:!0,previous:r.length-1},h=To()(p,{fade:!1}),m=function(){e.setState({scroll:d,slide:p}),e.afterSlideRef=setTimeout(e.setArrows,700),null==s||s.focus()};this.setState({scroll:c({auto:!0}),slide:f,style:{height:a}},(function(){hK()(u).stop(!0).animate({scrollTop:i},300,m)})),this.slideRef=setTimeout((function(){return e.setState({slide:h})}),700),this.arrowAnimRef=setTimeout((function(){return e.setState({arrow:l})}),300)}},{key:"handleScroll",value:function(){var e=this.state,t=e.arrow,n=e.scroll,r=e.slide.current,i="prev"===t.hidden?"next":"prev",o=(0,g.findDOMNode)(this.refs["slide-".concat(r)]),a=(0,g.findDOMNode)(this.refs["arrow-".concat(i)]);if(!n.auto&&o&&a){var s=o.getBoundingClientRect(),u=s.height,l=s.top,c=a.getBoundingClientRect().top,d=460-u,f=To()(n),p=To()(t);l<80&&l>d?this.setState({scroll:f({active:!0,end:!1})}):l<=d?this.setState({scroll:f({active:!1,end:!0}),arrow:p({top:this.clampArrowTop(c)})}):this.setState({scroll:f({active:!1,end:!1}),arrow:p({top:this.clampArrowTop(c)})})}}},{key:"render",value:function(){var e=this,t=this.props,n=t.menuOpen,r=t.steps,i=this.state,o=i.initiating,a=i.sidebar,s=i.slide,u=i.style,l=s.current,c=s.fade,d=r.length,f=l===d-1,p=0===l,h=Math.min(d-22,l-11),m=Math.max(24-l,l+12,23),v=p?0:Math.max(0,h),g=f?d:Math.min(d,m),y=lc()(v,g,r),b=d<23?y:p3()(r[0],y),_=GA()("process-block",{"process-block--with-sidebar":n&&a>0}),w={className:GA()("process-block__inner",{"process-block__inner--fade":c||o}),ref:function(t){return e.inner=t},style:u};return F3.createElement("div",{className:_},F3.createElement("div",w,this.renderArrow("prev"),this.renderArrow("next"),f?Ra()(b).call(b,this.renderStep):Ra()(y).call(y,this.renderStep)))}},{key:"renderArrow",value:function(e){var t=this.state,n=t.arrow,r=t.scroll,i=t.sidebar,o=t.slide,a=this.props,s=a.labels,u=a.menuOpen,l=a.steps,c=this.container&&this.container!==window,d=l.length>1?n.hidden:"both",f="next"===e?this.handleSlideNext:this.handleSlidePrev,p=U3(U3({},n),{},{hidden:d,isSliding:o.active,labels:s,offset:c?this.container.offsetWidth-this.container.clientWidth:0,onClick:f,ref:"arrow-".concat(e),scroll:r,sidebar:u?i:0,type:e});return F3.createElement(C3,p)}},{key:"renderStep",value:function(e){var t=e.description,n=e.id,r=e.index,i=e.media,o=e.title,a=e.type,s=this.props,u=s.blockId,l=s.enableVideoPlaybackSpeed,c=s.entered,d=s.labels,f=s.settings,p=s.steps,h=this.state,m=h.initiating,v=h.position,g=h.slide,y=h.width,b=g.current,_=g.fade,w=g.previous,k=y.card,E=y.wrapper,x=function(e){return!Jo()(Ux()(Ci()("type",e),p))},S=x("intro"),T=x("summary"),C=S?r:r+1,A=mi()(Ci()("type","step"),p).length+1,O={blockId:u,current:b,description:t,enableVideoPlaybackSpeed:l,entered:c,fade:_,hasNavigation:p.length>1,id:n,index:r,initiating:m,key:r,labels:d,media:i,onMediaLoad:this.setHeight,onNextClick:this.handleSlideNext,onRestartClick:this.handleRestart,number:C,position:v,previous:w,ref:"slide-".concat(r),settings:f,title:o,type:a,width:k,wrapperWidth:E},N={cardIndex:r,current:b,hasSummary:T,isFirst:!S,length:A,slideTo:this.slideTo};return F3.createElement(v3,O,F3.createElement(I3,N))}},{key:"setArrows",value:function(){var e=this.state,t=e.arrow.hidden,n=e.sidebar,r=e.slide.current,i=this.props.menuOpen,o="prev"===t?"next":"prev",a=(0,g.findDOMNode)(this.refs["slide-".concat(r)]),s=(0,g.findDOMNode)(this.refs["arrow-".concat(o)]),u=Hn()(M_()),l=i?n:0,c=window.innerWidth;if(a&&s){var d=a.getBoundingClientRect(),f=d.height,p=d.left,h=d.width,m=s.getBoundingClientRect(),v=m.top,y=(c-h-p)/2-m.width,b=Dl()([[u(1280+l),Zr()(y+20)],[u(1350+l),Zr()(y)],[bb(),Zr()(p-l-170)]])(c),_=Dl()([[u(1280+l),Zr()(y+20)],[u(1350+l),Zr()(y+40)],[bb(),Zr()(p-l-130)]])(c);this.setState({arrow:{absolute:b,bottom:f-220,fixed:_,hidden:t,top:this.clampArrowTop(v)}})}}},{key:"setHeight",value:function(e){var t=this.state.slide.current,n=(0,g.findDOMNode)(this.refs["slide-".concat(t)]),r="function"==typeof e?e:Zr();n&&this.setState({style:{height:n.offsetHeight}},r)}},{key:"setPosition",value:function(){this.setWidth(),this.setHeight(),this.setArrows()}},{key:"setWidth",value:function(){var e=this.state.slide.current,t=this.inner,n=(0,g.findDOMNode)(this.refs["slide-".concat(e)]),r=null!=this.container&&this.container!==window?this.container.getBoundingClientRect().left:0,i=n?n.offsetWidth:0,o=t?t.offsetWidth:0,a=null!=t&&null!=n,s=a?o/2:0,u=a?o/2+i:0,l={card:n?n.offsetWidth:0,wrapper:t?t.offsetWidth:0},c={prev:u,next:s};t&&n&&this.setState({position:c,sidebar:r,width:l})}},{key:"handleSlide",value:function(e){var t=this.props.steps,n=this.state.slide.current,r="next"===e?n+1:n-1;r<=-1||r>=t.length||this.slideTo(r,n)}},{key:"slideTo",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=r.shouldFocusContent,o=void 0!==i&&i;if(!this.state.slide.active){var a=this.props,s=a.getScrollTop,u=a.onStep,l=a.steps,c=s(),d=(0,g.findDOMNode)(this.refs["slide-".concat(e)]),f=d.offsetHeight,p=this.container===window?"body, html":this.container,h=To()(this.state.scroll),m={active:!1,auto:!1,end:!1},v=To()(this.state.arrow),y=To()({current:e,previous:t,fade:!1}),b=l[e],_=Dl()([[Ua()(0),Zr()({hidden:"prev"})],[Ua()(l.length-1),Zr()({hidden:"next"})],[bb(),Zr()({hidden:null})]])(e),w=function(){n.setState({scroll:m}),n.afterSlideRef=setTimeout((function(){n.setArrows(),o&&d.focus({preventScroll:!0})}),600)},k=function(){hK()(p).stop(!0).animate({scrollTop:c},300,w)};if(!o){var E=(0,g.findDOMNode)(this.refs["arrow-prev"]),x=(0,g.findDOMNode)(this.refs["arrow-next"]);e===l.length-1&&E&&document.activeElement!==E?E.focus({preventScroll:!0}):(0===e&&x&&document.activeElement!==x||document.activeElement!==E&&document.activeElement!==x)&&x.focus({preventScroll:!0})}this.setState({scroll:h({auto:!0}),slide:y({active:!0}),style:{height:f}},k),this.slideRef=setTimeout((function(){return n.setState({slide:y({active:!1})})}),600),this.arrowAnimRef=setTimeout((function(){return n.setState({arrow:v(_)})}),300),u&&u(b)}}}]),n}(F3.Component),V3=function(e){gt(n,e);var t=z3(n);function n(e){var r;return nt(this,n),qr(ft(r=t.call(this,e)),"slideTo",(function(e){var t=r.props,n=t.getScrollTop,i=t.onStep,o=t.steps,a=r.refs["slide-".concat(e)],s=n(),u=o[e],l=r.container===window?"body, html":r.container,c=a&&a.firstChild.offsetHeight||null,d=function(){r.preventScroll("end"),r.showHelp()};r.setState({current:e,height:c},(function(){r.preventScroll("start"),hK()(l).stop(!0).animate({scrollTop:s},300,d)})),i&&i(u)})),r.state={current:0,fade:!1,height:null,help:!1,helped:!1,initiating:!0,width:null,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},r.handleSlideNext=r.handleSlide.bind(ft(r),"next"),r.handleSlidePrev=r.handleSlide.bind(ft(r),"prev"),r.handleRestart=r.handleRestart.bind(ft(r)),r.preventScroll=r.preventScroll.bind(ft(r)),r.renderStep=r.renderStep.bind(ft(r)),r.setHeight=r.setHeight.bind(ft(r)),r.setPosition=r.setPosition.bind(ft(r)),r.setWidth=r.setWidth.bind(ft(r)),r}return dt(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.isPreview,n=document.getElementsByClassName("page-wrap")[0],r=this.handleSlidePrev,i=this.handleSlideNext,o=function(){return e.setState({initiating:!1})};this.container=t?n:window,this.swipeEvents=j3(this.inner,this,i,r,60),this.initRef=setTimeout((function(){return e.setPosition(o)}),500),this.swipeEvents.addListeners(),window.addEventListener("resize",this.setPosition),this.setPosition(),this.showHelp()}},{key:"componentDidUpdate",value:function(e){this.props.menuOpen!==e.menuOpen&&(this.resizeRef=setTimeout(this.setPosition,300))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.initRef),clearTimeout(this.afterSlideRef),clearTimeout(this.slideRef),clearTimeout(this.resizeRef),this.swipeEvents.removeListeners(),window.removeEventListener("resize",this.setPosition)}},{key:"handleRestart",value:function(){var e=this,t=(0,this.props.getScrollTop)(),n=this.container===window?"body, html":this.container,r=this.refs["slide-0"],i=r&&r.firstChild.offsetHeight||null,o=function(){e.preventScroll("end")};this.setState({fade:!0},(function(){e.preventScroll("start"),hK()(n).stop().animate({scrollTop:t},300,o)})),this.slideRef=setTimeout((function(){return e.setState({current:0,height:i})}),300),this.afterSlideRef=setTimeout((function(){return e.setState({fade:!1})}),700)}},{key:"handleSlide",value:function(e){var t=this.props.steps,n=this.state.current,r="next"===e?n+1:n-1;r<=-1||r>=t.length||this.slideTo(r,n)}},{key:"preventScroll",value:function(e){this.container!==window&&("start"===e&&lF.isMobile?this.container.style.overflowY="hidden":this.container.style.overflowY="")}},{key:"render",value:function(){var e=this,t=this.props.steps,n=this.state,r=n.current,i=n.fade,o=n.height,a=n.initiating,s=t.length,u=r===s-1,l=0===r,c=Math.min(s-22,r-11),d=Math.max(24-r,r+12,23),f=l?0:Math.max(0,c),p=u?s:Math.min(s,d),h=lc()(f,p,t),m=s<3?h:bP()(t[0],h),v={className:GA()("process-block-mobile__inner",{"process-block-mobile__inner--fade":i,"process-block-mobile__inner--initiating":a}),ref:function(t){return e.inner=t},style:o?{height:o}:null};return F3.createElement("div",{className:"process-block-mobile"},F3.createElement("div",v,u?Ra()(m).call(m,this.renderStep):Ra()(h).call(h,this.renderStep)))}},{key:"renderStep",value:function(e){var t=e.description,n=e.id,r=e.index,i=e.media,o=e.title,a=e.type,s=this.props,u=s.blockId,l=s.enableVideoPlaybackSpeed,c=s.entered,d=s.labels,f=s.settings,p=s.steps,h=s.visible,m=this.state,v=m.current,g=m.help,y=m.helped,b=m.initiating,_=function(e){return!Jo()(Ux()(Ci()("type",e),p))},w=_("intro"),k=_("summary"),E=w?r:r+1,x=mi()(Ci()("type","step"),p).length+1,S={blockId:u,current:v,description:t,enableVideoPlaybackSpeed:l,entered:h&&c,hasNavigation:p.length>1,id:n,index:r,initiating:b,labels:d,media:i,onMediaLoad:this.setHeight,onNextClick:this.handleSlideNext,onRestartClick:this.handleRestart,number:E,settings:f,showHelp:g&&y,title:o,type:a,width:this.inner&&this.inner.offsetWidth},T={cardIndex:r,current:v,hasSummary:k,isFirst:!w,length:x,slideTo:this.slideTo};return F3.createElement("div",{key:r,ref:"slide-".concat(r)},F3.createElement(g3,S,F3.createElement(I3,T)))}},{key:"setHeight",value:function(e){var t=this.state.current,n=this.refs["slide-".concat(t)],r=n&&n.firstChild||null,i="function"==typeof e?e:Zr();r&&this.setState({height:r.offsetHeight},i)}},{key:"setPosition",value:function(e){this.setWidth(),this.setHeight(e)}},{key:"setWidth",value:function(){this.setState({width:this.inner.offsetWidth})}},{key:"showHelp",value:function(){var e=this.props.steps,t=this.state,n=t.current,r=t.help,i=t.helped;n!==(!Jo()(Ux()(Ci()("type","intro"),e))?1:0)||r||i?this.setState({help:!1}):this.setState({help:!0,helped:!0})}},{key:"shouldComponentUpdate",value:function(e,t){return e.entered!==this.props.entered||e.visible!==this.props.visible||t.current!==this.state.current||t.fade!==this.state.fade||t.height!==this.state.height||t.help!==this.state.help||t.helped!==this.state.helped||t.initiating!==this.state.initiating||t.width!==this.state.width||t.xTouchDown!==this.state.xTouchDown||t.xTouchMove!==this.state.xTouchMove||t.yTouchDown!==this.state.yTouchDown||t.yTouchMove!==this.state.yTouchMove}}]),n}(F3.Component),W3=__webpack_require__(67294);function Y3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var G3=function(e){gt(n,e);var t=Y3(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={entered:!1,visible:!1},r.getScrollTop=r.getScrollTop.bind(ft(r)),r.handleEntranceEnd=r.handleEntranceEnd.bind(ft(r)),r.handleScroll=r.handleScroll.bind(ft(r)),r.triggerSlide=r.triggerSlide.bind(ft(r)),r.id=VO()(),r}return dt(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onStep,n=e.previewType,r=document.getElementsByClassName("page-wrap")[0];this.container=Jo()(n)?window:r,this.container.addEventListener("scroll",this.handleScroll),this.handleScroll(),t&&this.setProgress()}},{key:"componentWillUnmount",value:function(){this.container.removeEventListener("scroll",this.handleScroll)}},{key:"getScrollTop",value:function(){var e=this.props.settings.paddingTop,t=this.container,n=(0,g.findDOMNode)(this),r=hK()(n).offset().top,i=10*e;return t===window?r-i:hK()(t).scrollTop()+r-hK()(t).offset().top-i}},{key:"getSteps",value:function(){var e,t=this.props.items,n=Ux()(Ci()("type","intro"),t),r=Ux()(Ci()("type","summary"),t),i=mi()(Ci()("type","step"),t),o=St()(e=[n]).call(e,Ml(i),[r]),a=l_()(Ci()("isHidden",!0),o);return Ra()(a).call(a,(function(e,t){return Ro()("index",t,e)}))}},{key:"handleEntranceEnd",value:function(){this.setState({visible:!0})}},{key:"handleScroll",value:function(){this.state.entered||this.wrapper.getBoundingClientRect().bottom-100<=(this.container.innerHeight||this.container.offsetHeight)&&!this.state.entered&&this.setState({entered:!0})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.blockId,i=t.isLearner,o=t.labels,a=t.onStep,s=t.previewType,u=t.settings,l=t.enableVideoPlaybackSpeed,c=this.state,d=c.entered,f=c.visible,p=this.getSteps(),h=!Jo()(s),m=n?"fadeIn":"none",v=h&&n?1:0,g={afterAnimatedIn:this.handleEntranceEnd,animateBlockEntrance:h,animateIn:m,duration:v,initiallyVisible:!n,isLearner:i,offset:100},y={blockId:r,entered:d,getScrollTop:this.getScrollTop,labels:o,menuOpen:this.props.isCourseNavOpen,onStep:a,isPreview:h,settings:u,steps:p,visible:f,enableVideoPlaybackSpeed:l},b=Ro()("ref",(function(t){return e.process=t}),y),_=Ro()("ref",(function(t){return e.processMobile=t}),y),w=W3.createElement(H3,b),k=W3.createElement(V3,_);return W3.createElement(GK,g,W3.createElement("div",{"aria-label":"Step process interaction",className:"process-block-wrapper",ref:function(t){return e.wrapper=t},role:"group"},lF.isMobile?k:w))}},{key:"setProgress",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.getSteps(),i=mi()(Ci()("isHidden",!0),t),o=r[0]?bP()(r[0]):Jr();pe()(bi()(n),o)(i)}},{key:"shouldComponentUpdate",value:function(e,t){return e.isCourseNavOpen!==this.props.isCourseNavOpen||e.settings!==this.props.settings||t.entered!==this.state.entered||t.visible!==this.state.visible}},{key:"triggerSlide",value:function(e){lF.isMobile?this.processMobile.handleSlide(e):this.process.handleSlide(e)}}]),n}(W3.Component),K3=Nq(G3),X3=__webpack_require__(67294);function $3(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Z3=tF,Q3=function(e){gt(n,e);var t=$3(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props.settings,t=e.paddingBottom,n=e.paddingTop,r={className:"block-process",style:{paddingBottom:"".concat(10*t,"px"),paddingTop:"".concat(10*n,"px")}};return X3.createElement("div",Et({},r,{"data-ba":Z3.blockProcess}),X3.createElement(K3,this.props))}}]),n}(X3.Component),J3=__webpack_require__(15636),e5=__webpack_require__.n(J3),t5=__webpack_require__(709),n5=__webpack_require__.n(t5),r5=__webpack_require__(70682),i5=__webpack_require__.n(r5),o5=os()(Jo()),a5=function(e){var t=s5(e)[0],n=(t||{}).feedback,r=wa()(ba()(["action","emotion","goTo","nextSlide"]),qo()({description:n,type:"dialogue"}));return t?[t,r(t)]:[r(e)]},s5=function(e){return[e.responses[e.response]]},u5=function(e){var t=D_()(o5,"response"),n=Ci()("hasFeedback",!0),r=function(t){return pe()(p3()(e),t)};return Dl()([[n,r(a5)],[t,r(s5)],[bb(),i5()]])(e)},l5=ss()((function(e,t){if(t){var n=t.scene,r=t.slide,i=ls()(Ci()("id",n),e),o=Ru()([],"slides",e[i]);return{scene:i,slide:ls()(Ci()("id",r),o)}}})),c5=__webpack_require__(43656),d5=__webpack_require__.n(c5),f5=wa()(Gn()("filters"),mi()(Ci()("name","rise_emotion")),os()(Ha())),p5=wa()(Gn()("filters"),Ux()(Ci()("name","rise_emotion")),Gn()("value")),h5=pe()(d5(),Gn()("pathname"),SZ.parse),m5=wa()(Gn()("poses"),mi()(f5),bi()((function(e){return[p5(e),e]})),ds(),wi()((function(e){return wa()(Ro()("key",h5(e.src)),Ro()("thumbnailKey",h5(e.thumbnail)))(e)}))),v5=__webpack_require__(67294);function g5(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var y5=function(e){return ti()(Jo(),Jr(),e)},b5=os()(Ha()),_5=os()(Jo()),w5=Al()(_5,b5),k5=Lo()(Ea()),E5=function(e){gt(n,e);var t=g5(n);function n(e){var r;nt(this,n);return(r=t.call(this,e)).state=e.initialState||{activeScene:0,activeSlide:0,initiated:!1,prevScene:0,prevSlide:0,resizes:0,slides:[]},r.fetchCharacters=r.fetchCharacters.bind(ft(r)),r.fetchCharacterPose=r.fetchCharacterPose.bind(ft(r)),r.getCharacterPose=r.getCharacterPose.bind(ft(r)),r.onClick=r.onClick.bind(ft(r)),r.onFocus=r.onFocus.bind(ft(r)),r.onInit=r.onInit.bind(ft(r)),r.onResize=r.onResize.bind(ft(r)),r.onResponseClick=r.onResponseClick.bind(ft(r)),r.onTryAgainClick=r.onTryAgainClick.bind(ft(r)),r.renderBackground=r.renderBackground.bind(ft(r)),r.renderButton=r.renderButton.bind(ft(r)),r.renderDetails=r.renderDetails.bind(ft(r)),r.renderDialogues=r.renderDialogues.bind(ft(r)),r.renderEnd=r.renderEnd.bind(ft(r)),r.renderPose=r.renderPose.bind(ft(r)),r.renderResponse=r.renderResponse.bind(ft(r)),r.renderText=r.renderText.bind(ft(r)),r.resetSlide=r.resetSlide.bind(ft(r)),r.resetSlides=r.resetSlides.bind(ft(r)),r.setNextSlide=r.setNextSlide.bind(ft(r)),r}return dt(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialState,n=e.items,r=pe()(gb()("poses"),Ru()({},"character"),SE());w5(n)&&!r(n)&&this.fetchCharacters(),t||this.resetSlides(),window.addEventListener("resize",this.onResize)}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.state,i=r.activeScene,o=r.activeSlide,a=Il()([],[i,"slides"],t),s=Il()(null,[o,"goTo"],a),u=Il()(null,[o,"type"],a);n&&("end"===s&&"text"===u||!s&&!u)&&e5()(n,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.continueRef),clearTimeout(this.feedbackRef),clearTimeout(this.resetRef),window.removeEventListener("resize",this.onResize)}},{key:"fetchCharacterPose",value:function(e,t){var n,r=this.props.items[e],i=r.character,o=r.slides[t],a=St()(n="".concat(e,".")).call(n,t),s=[a,"response"],u=[a,"hasFeedback"],l=Il()(null,s,this.state.slides),c=Il()(!1,u,this.state.slides),d=Ru()("neutral","emotion",o),f=ti()(Zr()(c),Il()(d,["responses",l,"emotion"]),Zr()(d)),p=wa()(Il()(null,["poses",f(o)]),y5(tS));return{name:i.name,pose:p(i)}}},{key:"fetchCharacters",value:function(){var e=this.props,t=e.getCharacter,n=e.items,r=e.onItemUpdate,i=ba()(["id","name","poses","src"]);Ra()(n).call(n,(function(e){var n,o=e.character,a=e.id;return w5(o)&&t(o.id).then((function(e){return Ro()("poses",m5(e),e)})).then(i).then((n=a,function(e){return r({itemId:n,payload:{character:e}})}))}))}},{key:"getCharacterPose",value:function(){var e=this.props.items,t=this.state,n=t.activeScene,r=t.activeSlide,i=t.prevScene,o=t.prevSlide,a=Il()([],[n,"slides"],e),s=Il()(!0,[r,"hasCharacter"],a);return _5(i)&&yu()(s)?this.fetchCharacterPose(i,o):this.fetchCharacterPose(n,r)}},{key:"onClick",value:function(e,t){var n=this,r=this.props,i=r.items,o=r.onStep,a=this.state,s=a.activeScene,u=a.activeSlide,l=i[s].slides,c="dialogue"===Ru()(null,"type",l[u]),d=s===i.length-1,f=u===l.length-1,p={activeSlide:u+1},h={activeScene:s+1,activeSlide:0},m={activeSlide:null},v=wa()(l5(i),(function(e){return{activeScene:e.scene,activeSlide:e.slide}})),g=Dl()([[Zr()(f&&d),Zr()(m)],[Zr()(f&&!d),Zr()(h)],[bb(),Zr()(p)]]),y=ti()(Zr()(c),Zr()(m),Zr()({activeScene:0,activeSlide:0})),b=Dl()([[Ua()("slide"),ga()(v,[t])],[Ua()("next"),g],[Ua()("end"),y]]);this.resetRef=setTimeout(this.resetSlide.bind(this,s,u),500),this.setState({prevScene:s,prevSlide:u}),this.setState(b(e),(function(){return n.continueRef=setTimeout(n.setNextSlide,1300)})),"end"===e&&this.resetSlides(),"end"===e&&o&&e5()(o,i)}},{key:"onFocus",value:function(){this.refs.scenario.focus()}},{key:"onInit",value:function(){this.setState({initiated:!0})}},{key:"onResize",value:function(){this.setState({resizes:this.state.resizes+1})}},{key:"onResponseClick",value:function(e){var t,n=this,r=this.state,i=r.activeScene,o=r.activeSlide,a=r.slides,s=St()(t="".concat(i,".")).call(t,o),u=Ro()("response",e),l=Ro()("hasFeedback",!0),c=pi()(qr({},"".concat(s),u)),d=pi()(qr({},"".concat(s),l)),f=pe()(d,c);this.setState({slides:c(a)}),this.feedbackRef=setTimeout((function(){return n.setState({slides:f(a)})}),1300)}},{key:"onTryAgainClick",value:function(){var e,t=this.state,n=t.activeScene,r=t.activeSlide,i=t.slides,o=St()(e="".concat(n,".")).call(e,r),a=qo()({hasFeedback:null,response:null}),s=pi()(qr({},"".concat(o),a));this.setState({slides:s(i)})}},{key:"render",value:function(){var e,t=this.props,n=t.isPDF,r=t.items,i=this.state,o=i.activeScene,a=i.activeSlide,s=i.initiated,u=(r[o]||{}).slides,l=u&&u[a],c=pe()(b5,Ru()({},"character"),SE()),d=pe()(gb()("poses"),Ru()({},"character"),SE()),f=pe()(Oi(),Il()({},["character","poses"])),p=pe()(gi(),Oi(),bi()(f)),h={"aria-label":"Scenario",className:GA()("scenario-block",{"scenario-block--initiated":s,"scenario-block--mobile":lF.isMobile,"scenario-block--loading":c(r)&&!d(r)}),ref:"scenario",role:"group",style:window.innerWidth<480?{height:window.innerHeight}:null,tabIndex:0},m=wa()(SE(),Il()(null,["background","media","image"]),y5(eS)),v=Dl()([[Jo(),this.renderEnd],[Ci()("type","dialogue"),this.renderDialogues],[Ci()("type","text"),this.renderText],[bb(),Zr()(null)]]),g=l&&"text"===l.type&&!l.hasCharacter,y=GA()("scenario-block__character",{"scenario-block__character--hidden":g});return v5.createElement("div",null,v5.createElement("div",h,v5.createElement("div",{className:"scenario-block__spinner"}),v5.createElement("div",{className:"scenario-block__background-wrapper"},w5(r)&&Ra()(r).call(r,this.renderBackground)),v5.createElement("img",{alt:"",onLoad:this.onInit,src:m(r)}),v5.createElement("div",{className:"scenario-block__inner"},v5.createElement("div",{className:y},d(r)&&Ra()(e=p(r)).call(e,this.renderPose)),v5.createElement(Zt,null,w5(r)&&v(l)))),n&&l&&this.renderDetails(l))}},{key:"renderBackground",value:function(e,t){var n=this.state.activeScene,r=e.id,i=Il()(null,["background","media","image"],e),o={className:GA()("scenario-block__background",qr({},"scenario-block__background--active",n===t)),key:r,style:i&&{backgroundImage:"url(".concat(eS(i),")")}};return i&&v5.createElement("div",o)}},{key:"renderButton",value:function(e){var t=this.props.labels,n=t.scenarioContinue,r=t.scenarioTryAgain,i=e.action,o=e.goTo,a=e.nextSlide,s={appear:!0,classNames:"scenario-block__dialogue__button-",timeout:{enter:1e3,exit:400}},u="tryAgain"===i?v5.createElement("span",null,r," ",v5.createElement("i",{className:"icon icon-reload"})):v5.createElement("span",null,n),l={className:"scenario-block__dialogue__button",key:"button",onClick:"tryAgain"===i?pe()(this.onFocus,this.onTryAgainClick):pe()(this.onFocus,ga()(this.onClick,[o,a]))};return v5.createElement(Zt,null,v5.createElement(en,s,v5.createElement("button",Et({},l,{type:"button"}),u)))}},{key:"renderDetails",value:function(e){var t=this.props.items,n=this.state,r=n.activeScene,i=n.activeSlide,o=e.responses,a=e.type,s=function(e,t){return v5.createElement("span",{key:e},e," ",v5.createElement(gO,null)," ",t)},u=wa()(l5(t),(function(e){var t,n=e.scene,r=e.slide;return St()(t="Scene ".concat(n+1," Slide ")).call(t,r+1)})),l=function(e,t){var n=t.goTo,r=t.nextSlide;return Dl()([[Ua()("next"),ga()(s,[e,"Next Slide"])],[Ua()("end"),ga()(s,[e,"End of Scenario"])],[bb(),ga()(s,[e,u(r||{})])]])(n)},c="text"===a?l("Continue",e):Ra()(o).call(o,(function(e,t){return l(t,e)}));return v5.createElement("div",{className:"scenario-block__pdf-details"},v5.createElement("h3",null,"Scene ",r+1," Slide ",i+1),c)}},{key:"renderDialogue",value:function(e,t,n){var r,i=t.description,o=t.id,a=t.type,s=e.count,u=e.firstKey,l=e.hasFeedback,c=0===n?o:n,d=1===n?u:n-1,f=0===n&&1===s,p=n===s,h=this.refs["dialogue-".concat(c)],m=p&&this.refs["dialogue-".concat(d)],v=h&&h.offsetHeight,g=p&&m&&m.offsetHeight,y=l?30:0,b=window.innerWidth<480?20:30,_=2*b+60+g-y,w=b+60-y,k=n5()(v+y-60),E=GA()("scenario-block__dialogue",(qr(r={},"scenario-block__dialogue--response",Jo()(a)),qr(r,"scenario-block__dialogue--faded",n<s-1),r)),x=Dl()([[Zr()(f),Zr()(null)],[Ua()(s),Zr()({top:"".concat(_,"px")})],[Ua()(s-1),Zr()({top:"".concat(w,"px")})],[Ua()(s-2),Zr()({top:"".concat(k,"px")})],[bb(),Zr()({top:"-".concat(v+30,"px")})]]),S={className:E,ref:"dialogue-".concat(c),style:x(n)},T={appear:!0,classNames:"scenario-block__dialogue-",key:n,timeout:{enter:700,exit:400}},C=v5.createElement("div",{className:"scenario-block__dialogue__bubble brand--body"},v5.createElement($M,{value:i}));return v5.createElement(en,T,v5.createElement("div",null,v5.createElement("div",S,w5(i)&&C)))}},{key:"renderDialogues",value:function(e){var t,n=this.state,r=n.activeScene,i=n.activeSlide,o=n.slides,a=e.id,s=e.responses,u=o[St()(t="".concat(r,".")).call(t,i)]||{},l=pe()(gi(),u5,To()(u))(e),c=u.hasFeedback,d=u.response,f=(s[d]||{}).feedback,p=Jo()(d)&&b5(s),h=c?l.length-1:l.length,m=(1===h&&Ha()(s)||2===h&&b5(s))&&c,v={count:h,firstKey:Il()(null,[0,"id"],l),hasFeedback:c&&w5(f)},g={classNames:"scenario-block__content-",key:a,timeout:400},y=v5.createElement("div",{className:"scenario-block__dialogues__bottom"},v5.createElement("div",{className:"scenario-block__dialogues__bottom__inner"},v5.createElement("div",{className:"scenario-block__dialogues__responses"},v5.createElement(Zt,null,Ra()(s).call(s,this.renderResponse)))));return v5.createElement(en,g,v5.createElement("div",{className:"scenario-block__dialogues scenario-block__content"},v5.createElement("div",{className:"scenario-block__dialogues__inner"},v5.createElement("div",{className:"scenario-block__dialogues__top"},v5.createElement("div",{className:"scenario-block__dialogues__top__inner"},v5.createElement(Zt,null,Ra()(l).call(l,this.renderDialogue.bind(this,v))))),p&&y,m&&this.renderButton(l[h-1]))))}},{key:"renderEnd",value:function(){var e=this.props.labels,t=e.scenarioComplete,n=e.scenarioStartOver,r=pe()(this.onFocus,ga()(this.onClick,["end",null])),i=GA()(["scenario-block__text","scenario-block__text--end","scenario-block__content"]),o={classNames:"scenario-block__content-",key:"end",timeout:400},a={className:"scenario-block__text__end",onClick:r,onKeyDown:TW(r),role:"button",tabIndex:0};return v5.createElement(en,o,v5.createElement("div",{className:i,key:"end"},v5.createElement("div",{className:"scenario-block__text__inner"},v5.createElement("div",{className:"scenario-block__text__title brand--head"},v5.createElement("h2",null,t)),v5.createElement("div",a,v5.createElement("span",null,n),v5.createElement("i",{className:"icon icon-reload"})))))}},{key:"renderPose",value:function(e){var t,n=this.getCharacterPose().pose,r=e.filters,i=e.id,o=e&&tS(e),a=Al()(Ci()("name","style")),s=a(Ci()("value","left_aligned")),u=a(Ci()("value","right_aligned")),l=GA()("scenario-block__character__inner",{"scenario-block__character__inner--active":n===o,"scenario-block__character__inner--right":Ux()(u,r),"scenario-block__character__inner--left":Ux()(s,r)});return v5.createElement("div",{className:l,key:St()(t="".concat(i,"-")).call(t,Math.random())},v5.createElement("img",{alt:"",role:"img",src:o}))}},{key:"renderResponse",value:function(e,t){var n=e.description,r=this.props.isPDF?Zr()():pe()(this.onFocus,ga()(this.onResponseClick,[t])),i={className:GA()(["scenario-block__response","scenario-block__response--".concat(t),"brand--body"]),onClick:r,onKeyDown:TW(r),role:"button",tabIndex:0},o={appear:!0,classNames:"scenario-block__response-",key:t,timeout:{enter:1600,exit:400}};return v5.createElement(en,o,v5.createElement("div",i,v5.createElement("div",{className:"scenario-block__response__inner"},v5.createElement("div",{className:"scenario-block__response__number"},t+1),v5.createElement($M,{value:n}))))}},{key:"renderText",value:function(e){var t=e.description,n=e.goTo,r=e.hasCharacter,i=e.id,o=e.nextSlide,a=e.title,s=this.props.labels,u=s.scenarioContinue,l=s.scenarioStartOver,c=!t&&(a||"").length<22,d=GA()("scenario-block__text","scenario-block__content",{"scenario-block__text--no-character":!r,"scenario-block__text--short":c}),f={classNames:"scenario-block__content-",key:i,timeout:400},p=v5.createElement("div",{className:"scenario-block__text__title brand--head"},v5.createElement("h2",null,v5.createElement($M,{value:a}))),h=v5.createElement("div",{className:"scenario-block__text__description brand--body"},v5.createElement($M,{value:t})),m=pe()(this.onFocus,ga()(this.onClick,[n,o])),v={className:"scenario-block__text__continue",onClick:m,onKeyDown:TW(m),role:"button",tabIndex:0},g={className:"scenario-block__text__end",onClick:m,onKeyDown:TW(m),role:"button",tabIndex:0},y=v5.createElement(CK,Et({},v,{tag:"button",type:"button"}),v5.createElement("span",null,u)),b=v5.createElement("div",g,v5.createElement("span",null,l),v5.createElement("i",{className:"icon icon-reload"}));return v5.createElement(en,f,v5.createElement("div",{className:d,key:i},v5.createElement("div",{className:"scenario-block__text__inner"},a&&p,t&&h,"end"===n?b:y)))}},{key:"resetSlide",value:function(e,t){var n,r=this.state.slides,i=St()(n="".concat(e,".")).call(n,t);this.setState({slides:Ro()(i,{hasFeedback:!1,response:null},r)})}},{key:"resetSlides",value:function(){var e=this.props.items;this.setState({slides:k5((function(e,t,n){return wa()(Gn()("slides"),k5((r=n,function(e,t,n){var i;return Ro()(St()(i="".concat(r,".")).call(i,n),{hasFeedback:!1,response:null},e)}),{}),qo()(e))(t);var r}),{},e)})}},{key:"setNextSlide",value:function(){var e,t=this.props.items,n=this.state,r=n.activeScene,i=n.activeSlide,o=n.slides,a=t[r].slides[i]||{},s=a.responses,u=void 0===s?[]:s,l=a.type,c=St()(e="".concat(r,".")).call(e,i),d=Ro()("hasFeedback",!0),f=pi()(qr({},c,d));"dialogue"===l&&Ha()(u)&&this.setState({slides:f(o)})}},{key:"shouldComponentUpdate",value:function(e,t){return e.items!==this.props.items||t.activeScene!==this.state.activeScene||t.activeSlide!==this.state.activeSlide||t.initiated!==this.state.initiated||t.resizes!==this.state.resizes||t.slides!==this.state.slides}}],[{key:"defaultProps",get:function(){return{getCharacter:Function.prototype,onItemUpdate:Function.prototype}}}]),n}(v5.Component),x5=__webpack_require__(67294);function S5(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var T5=tF,C5=function(e){gt(n,e);var t=S5(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.isLearner,r=e.previewType,i=!Jo()(r),o={animateBlockEntrance:i,animateIn:t?"fadeIn":"none",duration:i&&t?1:0,initiallyVisible:!t,isLearner:n,offset:300};return x5.createElement(zK,{className:"block-scenario","data-ba":T5.blockScenario},x5.createElement(GK,o,x5.createElement(E5,this.props)))}}]),n}(x5.Component),A5=__webpack_require__(67294);function O5(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var N5=function(e){gt(n,e);var t=O5(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isMoving:!1,failed:!1,position:{x:0,y:0},reset:!0},r}return dt(n,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.setState({reset:!1})}),300),O1(this.card),v1(this.card).draggable({inertia:!0,autoScroll:!1,snap:{targets:[function(e,t){return{x:e,y:t}}],range:1/0,endOnly:!0,relativePoints:[{x:.5,y:.5}]}}).on("dragstart",this.onDragStartRef=this.onStartSortAttempt.bind(this)).on("dragmove",this.onDragMoveRef=this.onDragMove.bind(this)).on("dragend",this.onDragEndRef=this.onEndSortAttempt.bind(this))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.resetTimeout),N1(this.card),v1(this.card).off("dragstart",this.onDragStartRef).off("dragmove",this.onDragMoveRef).off("dragend",this.onDragEndRef)}},{key:"componentDidUpdate",value:function(e,t){var n=this;t.isMoving&&!this.state.isMoving&&(this.setState({failed:!0}),this.resetTimeout=setTimeout((function(){n.setState({position:{x:0,y:0},failed:!1}),delete n.resetTimeout}),300))}},{key:"cardStyle",value:function(){var e,t=this.state.position,n=t.x,r=t.y,i=St()(e="translate3d(".concat(n,"px, ")).call(e,r,"px, 0)");return{WebkitTransform:i,transform:i}}},{key:"render",value:function(){var e=this,t=this.state,n=t.isMoving,r=t.failed,i=t.reset,o=this.props,a=o.fusion,s=o.id,u=o.isDeckTopCard,l=o.title,c=GA()("playing-card playing-card--draggable",{"playing-card--legacy":!a,"playing-card--moving":n,"playing-card--fail":r,reset:i});return A5.createElement("div",{"aria-hidden":!u,className:c,id:s,key:"card-".concat(s),ref:function(t){return e.card=t},style:this.cardStyle(),onMouseDown:function(e){e.preventDefault()}},A5.createElement(SX,{className:"playing-card__content brand--border"},A5.createElement($M,{className:"playing-card__title brand--head",value:l}),A5.createElement("div",{className:"playing-card__handle"}),A5.createElement("div",{className:"playing-card__status brand--background"},A5.createElement("i",{className:"icon icon-check"}))))}},{key:"onStartSortAttempt",value:function(){this.setState({isMoving:!0,failed:!1})}},{key:"onDragMove",value:function(e){var t=e.dx,n=e.dy,r=this.state.position,i=r.x+t,o=r.y+n;this.setState({position:{x:i,y:o}})}},{key:"onEndSortAttempt",value:function(){this.setState({isMoving:!1})}}]),n}(A5.Component),P5=NR("rise-auto-calc-contrast","fusion")(N5),I5=__webpack_require__(67294),L5=function(e){var t=e.allowTabNavigation,n=void 0===t||t,r=e.onClick,i=e.onFocus,o=void 0===i?Hl:i,a=e.text;return I5.createElement("button",{"aria-hidden":!n,className:"restart-button button brand--hoverColor",onClick:r,onFocus:o,tabIndex:zY(n),type:"button"},I5.createElement("div",{className:"restart-button__content"},I5.createElement("span",{className:"restart-button__text brand--ui"},a),I5.createElement("i",{"aria-hidden":"true",className:"restart-button__icon icon icon-reload"})))},M5=__webpack_require__(67294);function R5(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var D5=function(e){return GA()("deck",{"deck--complete":Ci()("percentViewed",100,e)})},q5=function(e){var t=e.item,n=e.progress;return Ci()("lastIncorrectCardId",String(t.id),n)},j5=Ci()("percentViewed",100),F5=function(e){gt(n,e);var t=R5(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).cardRefs=[],r}return dt(n,[{key:"startKeyDrop",value:function(){var e=SE()(this.cardRefs);e&&e.onStartSortAttempt()}},{key:"endKeyDrop",value:function(){var e=SE()(this.cardRefs);e&&e.onEndSortAttempt()}},{key:"render",value:function(){var e=this,t=this.props,n=t.count,r=t.items,i=t.labels,o=t.id,a=t.progress,s=t.onReplay,u=j5(a);return M5.createElement("div",{className:D5(a)},M5.createElement("div",{className:"deck__spacer"}),M5.createElement("div",{"aria-hidden":!u,className:"deck__cardholder"},M5.createElement("div",{className:"deck__title brand--ui"},function(e){var t,n=e.progress,r=e.count;return St()(t="".concat(Ru()(0,"correctlyAnswered",n),"/")).call(t,r)}({progress:a,count:n})," ",i.sortingCardsCorrect),M5.createElement(L5,{allowTabNavigation:u,onClick:ga()(s,[o]),text:i.sortingReplay})),M5.createElement("div",{className:"deck__content"},Ra()(r).call(r,(function(t,n){return M5.createElement(P5,{id:t.id,isDeckTopCard:e.cardRefs[n]===SE()(e.cardRefs),isIncorrect:q5({item:t,progress:a}),key:t.id,ref:function(t){e.cardRefs[n]=t},title:t.title})}))))}}]),n}(M5.Component);F5.defaultProps={onReplay:Function.prototype};var B5=__webpack_require__(67294);function U5(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var z5=function(e){gt(n,e);var t=U5(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isSuccess:!1,showFocusOutline:!0},r.handleDragEnter=r.handleDragEnter.bind(ft(r)),r.handleDragLeave=r.handleDragLeave.bind(ft(r)),r.handleMouseDrop=r.handleMouseDrop.bind(ft(r)),r.handleKeyboardDrop=r.handleKeyboardDrop.bind(ft(r)),r}return dt(n,[{key:"focus",value:function(){this.pileContent.focus()}},{key:"componentDidMount",value:function(){v1(this.pile).dropzone({overlap:"pointer"}).on("dragenter",this.handleDragEnter).on("dragleave",this.handleDragLeave).on("drop",this.handleMouseDrop)}},{key:"componentWillUnmount",value:function(){v1(this.pile).off("dragenter",this.handleDragEnter).off("dragleave",this.handleDragLeave).off("drop",this.handleMouseDrop),clearTimeout(this.successTimer),clearTimeout(this.focusOutlineTimer)}},{key:"onKeyDown",value:function(e){var t=this.props,n=t.onNavigateToNext,r=t.onNavigateToPrevious,i=vZ(this.handleKeyboardDrop),o=vZ(r),a=vZ(n);Dl()([[wW,i],[yW,o],[bW,a]])(e)}},{key:"onKeyUp",value:function(e){wW(e)&&this.props.onKeyDropEnd()}},{key:"handleDragEnter",value:function(e){var t=v1.getElementRect(e.target),n={x:t.left+t.width/2,y:t.top+t.height/2};e.draggable.draggable({snap:{targets:[n]}})}},{key:"handleDragLeave",value:function(e){e.draggable.draggable({snap:{targets:[function(e,t){return{x:e,y:t}}]}})}},{key:"handleMouseDrop",value:function(e){e.draggable.draggable({snap:{targets:[function(e,t){return{x:e,y:t}}]}}),this.handleDrop()}},{key:"handleKeyboardDrop",value:function(){var e=this.props,t=e.deckTopCard,n=e.onKeyDropStart;t&&(n(),this.handleDrop())}},{key:"handleDrop",value:function(){var e=this.props,t=e.lessonId,n=e.id,r=e.deckTopCard,i=e.onCardDrop,o=r.id.toString(),a=r.pileId===n;i({id:t,itemId:o,isCorrect:a}),a&&(this.setState({activeCard:r,isSuccess:!0,showFocusOutline:!1}),this.successTimer=setTimeout(function(){this.setState({activeCard:null,isSuccess:!1})}.bind(this),1500),this.focusOutlineTimer=setTimeout(function(){this.setState({showFocusOutline:!0})}.bind(this),1300))}},{key:"render",value:function(){var e=this,t=this.props,n=t.fusion,r=t.title,i=this.state,o=i.activeCard,a=i.isSuccess,s=i.showFocusOutline,u=GA()("pile",{"pile--legacy":!n,"drop-success":a}),l=GA()("pile__content",{"drop-animating":!s});return B5.createElement("div",{className:u,ref:function(t){return e.pile=t}},B5.createElement("div",{className:"pile__wrapwrap"},B5.createElement("div",{className:"pile__wrap"},B5.createElement("div",{className:"pile__message"},B5.createElement($M,{className:"pile__title brand--head",value:r})),B5.createElement("div",{className:l,onKeyDown:this.onKeyDown.bind(this),onKeyUp:this.onKeyUp.bind(this),ref:function(t){return e.pileContent=t},tabIndex:0},o&&B5.createElement(P5,{id:o.id,title:o.title})),B5.createElement("div",{className:"pile__background"}))))}}],[{key:"defaultProps",get:function(){return{onCardDrop:Function.prototype}}}]),n}(B5.Component),H5=NR("rise-auto-calc-contrast","fusion")(z5),V5=__webpack_require__(67294);function W5(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Y5=tF,G5=Lo()(bi()),K5=function(e){var t=e.items,n=e.progress;return mi()(function(e){return function(t){return yu()(Il()(!1,["items",t.id,"isViewed"],e))}}(n),t)},X5=function(e){gt(n,e);var t=W5(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={items:c0()(e.items)},r.pileRefs=[],r}return dt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){if(Gn()("retryAttempts",this.props.progress)!==Gn()("retryAttempts",e.progress))this.setState({items:c0()(e.items)});else{var t=bi()(function(e){return function(t){return wa()(Ux()(Ci()("id",t.id)),To()(t))(e)}}(e.items),this.state.items);this.setState({items:t})}}},{key:"render",value:function(){var e,t=this,n=this.state.items,r=this.props,i=r.hasDarkBackground,o=r.id,a=r.labels,s=r.progress,u=r.onCardDrop,l=r.onReplay,c=r.piles,d=a.sortingLandmark,f=K5({items:n,progress:s});return V5.createElement("div",{"aria-label":d,className:(e=i,GA()("sorting",{"sorting-dark-theme":e})),"data-ba":Y5.blockSortingActivity,role:"group"},V5.createElement("div",{className:"sorting__row"},V5.createElement(F5,{count:n.length,id:o,items:f,labels:a,onReplay:l,progress:s,ref:function(e){t.deck=e}})),V5.createElement("div",{className:"sorting__row"},G5((function(e,n){return V5.createElement(H5,{deckTopCard:f&&f[0],id:e.id,key:e.id,lessonId:o,onCardDrop:u,onNavigateToNext:function(){return XY({list:t.pileRefs,currentIndex:n})},onNavigateToPrevious:function(){return $Y({list:t.pileRefs,currentIndex:n})},ref:function(e){t.pileRefs[n]=e},title:e.title,onKeyDropStart:function(){t.deck.startKeyDrop()},onKeyDropEnd:function(){t.deck.endKeyDrop()}})}),c)))}}]),n}(V5.Component),$5=__webpack_require__(67294),Z5=function(e){var t=e.blockId,n=e.lessonId;return function(e){var r=e.itemId,i=e.isCorrect;return lI(function(e){var t=e.lessonId,n=Ji(e,tu);return function(e){return e(cl({id:t,updateFn:(r=n,i=r.itemId,o=r.blockId,a=r.isCorrect,wa()(ma()(sa()(["items",o]),Js({itemId:i,isCorrect:a})),bl))}));var r,i,o,a}}({itemId:r,lessonId:n,blockId:t,isCorrect:i}))}},Q5=function(e){var t=e.blockId,n=e.lessonId;return function(){return lI(function(e){var t=e.lessonId,n=Ji(e,eu);return function(e){return e(cl({id:t,updateFn:(r=n,i=r.blockId,ma()(sa()(["items",i]),Qs))}));var r,i}}({lessonId:n,blockId:t}))}},J5=function(e){var t=e.animateBlockEntrance,n=e.blockId,r=e.items,i=e.labels,o=e.piles,a=e.progress,s=e.settings,u=OR("rise-auto-calc-contrast"),l=Gn()("backgroundColor",s),c=!u&&kC(l),d=e.onCardDrop||Z5,f=e.onReplay||Q5;return $5.createElement(zK,{type:"sorting-activity"},$5.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:!0},$5.createElement(X5,{hasDarkBackground:c,id:n,items:r,labels:i,onCardDrop:d(e),onReplay:f(e),piles:o,progress:Il()({},["items",n],a)})))},e6=!("undefined"==typeof window||!window.document||!window.document.createElement);var t6=void 0;function n6(){return void 0===t6&&(t6=function(){if(!e6)return!1;if(!window.addEventListener||!window.removeEventListener||!Object.defineProperty)return!1;var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t)}catch(e){}return e}()),t6}function r6(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function i6(e){this.target=e,this.events={}}i6.prototype.getEventHandlers=function(e,t){var n,r=String(e)+" "+String((n=t)?!0===n?100:(n.capture<<0)+(n.passive<<1)+(n.once<<2):0);return this.events[r]||(this.events[r]={handlers:[],handleEvent:void 0},this.events[r].nextHandlers=this.events[r].handlers),this.events[r]},i6.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},i6.prototype.add=function(e,t,n){var r=this,i=this.getEventHandlers(e,n);r6(i),0===i.nextHandlers.length&&(i.handleEvent=this.handleEvent.bind(this,e,n),this.target.addEventListener(e,i.handleEvent,n)),i.nextHandlers.push(t);var o=!0,a=function(){if(o){o=!1,r6(i);var a=i.nextHandlers.indexOf(t);i.nextHandlers.splice(a,1),0===i.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,i.handleEvent,n),i.handleEvent=void 0)}};return a};var o6="__consolidated_events_handlers__";function a6(e,t,n,r){e[o6]||(e[o6]=new i6(e));var i=function(e){if(e)return n6()?e:!!e.capture}(r);return e[o6].add(t,n,i)}var s6=__webpack_require__(98022),u6=__webpack_require__.n(s6);function l6(e,t){var n,r=(n=e,!isNaN(parseFloat(n))&&isFinite(n)?parseFloat(n):"px"===n.slice(-2)?parseFloat(n.slice(0,-2)):void 0);if("number"==typeof r)return r;var i=function(e){if("%"===e.slice(-1))return parseFloat(e.slice(0,-1))/100}(e);return"number"==typeof i?i*t:void 0}var c6="above",d6="inside",f6="below",p6="invisible";function h6(e){if(e)try{v.Children.only(e)}catch(e){throw new Error("<Waypoint> expected to receive a single React element child.\n\nSee https://goo.gl/LrBNgw for more info.")}}function m6(e){return"string"==typeof e.type}var v6=void 0,g6=[];function y6(e){g6.push(e),v6||(v6=setTimeout((function(){v6=null;for(var e=void 0;e=g6.shift();)e()}),0));var t=!0;return function(){if(t){t=!1;var n=g6.indexOf(e);-1!==n&&(g6.splice(n,1),!g6.length&&v6&&(clearTimeout(v6),v6=null))}}}var b6=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}}();var _6={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},w6=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.refElement=function(e){return n._ref=e},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),b6(t,[{key:"componentWillMount",value:function(){h6(this.props.children)}},{key:"componentDidMount",value:function(){var e=this;t.getWindow()&&(this.cancelOnNextTick=y6((function(){e.cancelOnNextTick=null,function(e,t){if(e&&!m6(e)&&!t)throw new Error("<Waypoint> needs a DOM element to compute boundaries. The child you passed is neither a DOM element (e.g. <div>) nor does it use the innerRef prop.\n\nSee https://goo.gl/LrBNgw for more info.")}(e.props.children,e._ref),e._handleScroll=e._handleScroll.bind(e),e.scrollableAncestor=e._findScrollableAncestor(),e.scrollEventListenerUnsubscribe=a6(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=a6(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)})))}},{key:"componentWillReceiveProps",value:function(e){h6(e.children)}},{key:"componentDidUpdate",value:function(){var e=this;t.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=y6((function(){e.cancelOnNextTick=null,e._handleScroll(null)}))))}},{key:"componentWillUnmount",value:function(){t.getWindow()&&(this.scrollEventListenerUnsubscribe&&this.scrollEventListenerUnsubscribe(),this.resizeEventListenerUnsubscribe&&this.resizeEventListenerUnsubscribe(),this.cancelOnNextTick&&this.cancelOnNextTick())}},{key:"_findScrollableAncestor",value:function(){var e=this.props,t=e.horizontal,n=e.scrollableAncestor;if(n)return function(e){return"window"===e?__webpack_require__.g.window:e}(n);for(var r=this._ref;r.parentNode;){if((r=r.parentNode)===document.body)return window;var i=window.getComputedStyle(r),o=(t?i.getPropertyValue("overflow-x"):i.getPropertyValue("overflow-y"))||i.getPropertyValue("overflow");if("auto"===o||"scroll"===o)return r}return window}},{key:"_handleScroll",value:function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?p6:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom||e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom||e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?d6:e.viewportBottom<e.waypointTop?f6:e.waypointTop<e.viewportTop?c6:p6}(t),r=this._previousPosition;if(this._previousPosition=n,r!==n){var i={currentPosition:n,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom};this.props.onPositionChange.call(this,i),n===d6?this.props.onEnter.call(this,i):r===d6&&this.props.onLeave.call(this,i);var o=r===f6&&n===c6,a=r===c6&&n===f6;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:d6,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:d6,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}))}}}},{key:"_getBounds",value:function(){var e=this.props.horizontal,t=this._ref.getBoundingClientRect(),n=t.left,r=t.top,i=t.right,o=t.bottom,a=e?n:r,s=e?i:o,u=void 0,l=void 0;this.scrollableAncestor===window?(u=e?window.innerWidth:window.innerHeight,l=0):(u=e?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,l=e?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var c=this.props,d=c.bottomOffset;return{waypointTop:a,waypointBottom:s,viewportTop:l+l6(c.topOffset,u),viewportBottom:l+u-l6(d,u)}}},{key:"render",value:function(){var e=this,t=this.props.children;if(!t)return v.createElement("span",{ref:this.refElement,style:{fontSize:0}});if(m6(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return v.cloneElement(t,{ref:n})}return v.cloneElement(t,{innerRef:this.refElement})}}]),t}(void 0!==v.PureComponent?v.PureComponent:v.Component);w6.propTypes={children:u6().node,debug:u6().bool,onEnter:u6().func,onLeave:u6().func,onPositionChange:u6().func,fireOnRapidScroll:u6().bool,scrollableAncestor:u6().any,horizontal:u6().bool,topOffset:u6().oneOfType([u6().string,u6().number]),bottomOffset:u6().oneOfType([u6().string,u6().number])},w6.above=c6,w6.below=f6,w6.inside=d6,w6.invisible=p6,w6.getWindow=function(){if("undefined"!=typeof window)return window},w6.defaultProps=_6,w6.displayName="Waypoint";var k6=w6,E6=__webpack_require__(93530),x6=__webpack_require__.n(E6),S6=__webpack_require__(11865),T6=__webpack_require__.n(S6),C6=__webpack_require__(68929),A6=__webpack_require__.n(C6),O6=(ss()((function(e,t){return wa()(Es(),bi()(e),ds())(t)})),pe()(oa(),ra())),N6=function(e,t,n){var r={};for(var i in n)r[e(i)]=t(n[i]);return r},P6=Dl()([[$H(),function(e){return N6(A6(),P6,e)}],[x6(),function(e){return bi()(P6,e)}],[bb(),Jr()]]),I6=Dl()([[$H(),function(e){return N6(T6(),I6,e)}],[x6(),function(e){return bi()(I6,e)}],[bb(),Jr()]]),L6=__webpack_require__(67294);function M6(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var R6=function(e){gt(n,e);var t=M6(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"renderMedia",value:function(e,t){if(O6(e)){var n=e.embed?$Z(e.embed):void 0,r=GA()({"timeline-card__audio":e.audio,"timeline-card__visual":e.image||e.video,"timeline-card__linkEmbed":"link"===n,"timeline-card__videoEmbed":"video"===n}),i=wi()(Ro()("pause",!0),e);return L6.createElement("div",{className:r},L6.createElement(kQ,{enableVideoPlaybackSpeed:this.props.enableVideoPlaybackSpeed,index:"".concat(this.props.item.id),labels:this.props.labels,opts:t,media:i,lessonNumber:this.props.lessonNumber}))}}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.isActive,r=e.loadMedia,i=e.onFocus,o=t.id,a=t.settings,s=Ru()({},"media",t),u=ba()(["audio"],s),l=ba()(["embed"],s),c=ba()(["image","video"],s),d=GA()("timeline-card",{"timeline-card--active":n});return L6.createElement("div",{className:d,"data-id":o,ref:this.props.innerRef},L6.createElement(SX,{className:"timeline-card__body brand--beforeBackground",onFocus:i},L6.createElement("div",{className:"timeline-card__main-wrap"},L6.createElement("div",{className:"timeline-card__main"},L6.createElement("div",{className:"timeline-card__date brand--color brand--body"},L6.createElement("h2",null,t.date)),L6.createElement("div",{className:"timeline-card__title brand--head"},L6.createElement("h3",null,L6.createElement($M,{value:t.title}))),r?this.renderMedia(u,a):null,r?this.renderMedia(l,a):null,L6.createElement($M,{className:"timeline-card__description brand--body brand--linkColor",value:t.description}),r?this.renderMedia(c):null))))}}]),n}(L6.Component),D6=__webpack_require__(67294);function q6(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var j6=tF,F6=function(e){gt(n,e);var t=q6(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).renderCard=r.renderCard.bind(ft(r)),r}return dt(n,[{key:"onEnterMarker",value:function(e,t,n){var r=n.previousPosition,i=this.props,o=i.id,a=i.onEnter;r===k6.below&&a({id:o,payload:{activeIndex:e,itemId:t}})}},{key:"onMarkerLeave",value:function(e,t){var n=t.currentPosition,r=t.previousPosition,i=this.props,o=i.id,a=i.items,s=i.onLeave,u=e-1;if(n===k6.below&&r===k6.inside&&u>-1){var l=Ei()(u,a);l&&s({id:o,payload:{activeIndex:u,itemId:l.id}})}}},{key:"onFocus",value:function(e,t){var n=this.props,r=n.id;(0,n.onEnter)({id:r,payload:{activeIndex:e,itemId:t}})}},{key:"isActive",value:function(e){var t=this.props,n=t.progress;return!!t.isBlock||Ua()(Gn()("activeIndex",n),e)}},{key:"renderCard",value:function(e,t){var n=this.props,r=n.enableVideoPlaybackSpeed,i=n.id,o=n.isBlock,a=n.isLearner,s=n.labels,u=this.onFocus.bind(this,t,e.id),l=D6.createElement(R6,{enableVideoPlaybackSpeed:r,isActive:this.isActive(t),item:e,labels:s,loadMedia:!0,onFocus:u,lessonNumber:i});return o&&a?D6.createElement(GK,{animateBlockEntrance:!0,animateIn:"fadeIn",className:"timeline__animate",isLearner:!0},l):o&&!a?l:D6.createElement(k6,{bottomOffset:"60%",onEnter:this.onEnterMarker.bind(this,t,e.id),onLeave:this.onMarkerLeave.bind(this,t),topOffset:"30%"},l)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hasDarkBackground,r=t.isBlock,i=t.items,o=t.labels,a=GA()("page__content-container",{timeline__block:r,"timeline-dark-theme":n});return D6.createElement("div",{"aria-label":null==o?void 0:o.a11yBlockTimeline,className:a,"data-ba":j6.blockTimeline,role:"group"},D6.createElement("div",{className:"timeline__wrapper"},D6.createElement("div",{className:"timeline"},D6.createElement("ul",{className:"timeline__container",role:"list"},Ra()(i).call(i,(function(t,n){return D6.createElement("li",{className:"timeline__card-wrapper",key:n,role:"listitem"},e.renderCard(t,n))}))))))}}],[{key:"defaultProps",get:function(){return{onEnter:Function.prototype,onLeave:Function.prototype,progress:{}}}}]),n}(D6.Component),B6=__webpack_require__(67294),U6=function(e){var t=e.animateBlockEntrance,n=e.blockId,r=e.enableVideoPlaybackSpeed,i=e.isLearner,o=e.items,a=e.labels,s=e.progress,u=e.settings,l=Gn()("backgroundColor",u),c=kC(l);return B6.createElement(zK,{settings:u,type:"timeline"},B6.createElement(GK,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:!0},B6.createElement(F6,{enableVideoPlaybackSpeed:r,hasDarkBackground:c,id:n,isBlock:!0,isLearner:i,items:o,labels:a,progress:Il()({},["items",n],s)})))};U6.defaultProps={isLearner:!0};var z6=U6,H6=__webpack_require__(33670),V6=__webpack_require__.n(H6),W6=__webpack_require__(11419),Y6=__webpack_require__.n(W6),G6=__webpack_require__(80921),K6=__webpack_require__.n(G6),X6=(__webpack_require__(53171),__webpack_require__(89875)),$6=__webpack_require__.n(X6),Z6=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};function Q6(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}function J6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e4(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 t4(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 n4="undefined"!=typeof process&&process.env&&"production",r4=function(e){function t(){var n,r;J6(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=e4(this,e.call.apply(e,[this].concat(o))),r.handleOnClick=function(e){var t=r.chartInstance,n=r.props,i=n.getDatasetAtEvent,o=n.getElementAtEvent,a=n.getElementsAtEvent,s=n.onElementsClick;i&&i(t.getDatasetAtEvent(e),e),o&&o(t.getElementAtEvent(e),e),a&&a(t.getElementsAtEvent(e),e),s&&s(t.getElementsAtEvent(e),e)},r.ref=function(e){r.element=e},e4(r,n)}return t4(t,e),t.prototype.componentWillMount=function(){this.chartInstance=void 0},t.prototype.componentDidMount=function(){this.renderChart()},t.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.chartInstance.destroy(),void this.renderChart();this.updateChart()},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,i=t.plugins,o=t.legend,a=t.height,s=t.width;if(!0===e.redraw)return!0;if(a!==e.height||s!==e.width)return!0;if(n!==e.type)return!0;if(!K6()(o,e.legend))return!0;if(!K6()(r,e.options))return!0;var u=this.transformDataProp(e);return!K6()(this.shadowDataProp,u)||!K6()(i,e.plugins)},t.prototype.componentWillUnmount=function(){this.chartInstance.destroy()},t.prototype.transformDataProp=function(e){var t=e.data;return"function"==typeof t?t(this.element):t},t.prototype.memoizeDataProps=function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=Z6({},e,{datasets:e.datasets&&e.datasets.map((function(e){return Z6({},e)}))}),e}},t.prototype.checkDatasets=function(e){var n="production"!==n4&&"prod"!==n4,r=this.props.datasetKeyProvider!==t.getLabelAsKey,i=e.length>1;if(n&&i&&!r){var o=!1;e.forEach((function(e){e.label||(o=!0)})),o&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},t.prototype.updateChart=function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=Y6().helpers.configMerge(this.chartInstance.options,t));var r=this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[],i=n.datasets||[];this.checkDatasets(r);var o=$6()(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=i.map((function(t){var n=o[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=Q6(t,["data"]);return Z6({},n,r)}return t}));n.datasets;var a=Q6(n,["datasets"]);this.chartInstance.config.data=Z6({},this.chartInstance.config.data,a),this.chartInstance.update()}},t.prototype.renderChart=function(){var e=this.props,n=e.options,r=e.legend,i=e.type,o=(e.redraw,e.plugins),a=this.element,s=this.memoizeDataProps();void 0===r||K6()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new(Y6())(a,{type:i,data:s,options:n,plugins:o})},t.prototype.render=function(){var e=this.props,t=e.height,n=e.width,r=(e.onElementsClick,e.id);return v.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(v.Component);r4.getLabelAsKey=function(e){return e.label},r4.propTypes={data:V6().oneOfType([V6().object,V6().func]).isRequired,getDatasetAtEvent:V6().func,getElementAtEvent:V6().func,getElementsAtEvent:V6().func,height:V6().number,legend:V6().object,onElementsClick:V6().func,options:V6().object,plugins:V6().arrayOf(V6().object),redraw:V6().bool,type:function(e,t,n){if(!Y6().controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:V6().number,datasetKeyProvider:V6().func},r4.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:r4.getLabelAsKey};!function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}(v.Component);var i4=function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}return t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))},t}(v.Component),o4=function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}return t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(v.Component),a4=function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}return t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(v.Component),s4=(function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}(v.Component),function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(v.Component),function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(v.Component),function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(v.Component),function(e){function t(){return J6(this,t),e4(this,e.apply(this,arguments))}t4(t,e),t.prototype.render=function(){var e=this;return v.createElement(r4,Z6({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(v.Component),Y6().defaults,__webpack_require__(5086)),u4=__webpack_require__.n(s4);function l4(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var c4=function(e){gt(n,e);var t=l4(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).handleMouseEnter=r.handleMouseEnter.bind(ft(r)),r.handleMouseLeave=r.handleMouseLeave.bind(ft(r)),r}return dt(n,[{key:"handleMouseEnter",value:function(){var e=this.props,t=e.index;(0,e.onEvent)(t)}},{key:"handleMouseLeave",value:function(){(0,this.props.onEvent)(null)}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.identifier,r=e.index,i=e.label,o=e.value,a=!Jo()(t)&&t!==r,s=GA()("block-chart__cartesianLegendItem",{"block-chart__cartesianLegendItem--unfocused":a});return v.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},v.createElement("dt",{className:"block-chart__cartesianLegendTerm"},n,"."),v.createElement("dd",{className:"block-chart__cartesianLegendDefn"},i,v.createElement("span",{className:"block-chart__cartesianLegendDefnPipe"},"|"),v.createElement("span",{className:"block-chart__cartesianLegendDefnVal"},o)))}}]),n}(v.PureComponent),d4=c4,f4=function(e){var t=e.activeIndex,n=e.labels,r=e.letters,i=e.onEvent,o=G_()(e),a=u4()(r,u4()(n,o));return Ha()(a)?null:v.createElement("dl",{"aria-hidden":"true",className:"block-chart__cartesianLegend"},Ra()(a).call(a,(function(e,n){var r=Dr(e,2),o=r[0],a=Dr(r[1],2),s=a[0],u=a[1];return v.createElement(d4,{activeIndex:t,identifier:o,index:n,key:o,label:s,onEvent:i,value:u})})))},p4=(0,v.memo)(f4),h4=function(e,t,n){return void 0===n&&(n=0),Math.round(Math.sqrt((1-n)*Math.pow(e,2)+n*Math.pow(t,2)))},m4=function(e,t,n){return void 0===n&&(n=0),Number(((1-n)*e+n*t).toFixed(2))},v4=function(e){var t=void 0===e?[]:e,n=t[0],r=void 0===n?0:n,i=t[1],o=void 0===i?0:i,a=t[2],s=void 0===a?0:a,u=t[3],l=void 0===u?1:u;return"#"+(1<<24|r<<16|o<<8|s).toString(16).slice(1)+(255*l).toString(16).padStart(2,"0").slice(0,2)},g4=function(e,t,n){var r=oS(e),i=r[0],o=r[1],a=r[2],s=r[3],u=oS(t),l=u[0],c=u[1],d=u[2],f=u[3],p=v4([h4(i,l,n),h4(o,c,n),h4(a,d,n),m4(s,f,n)]);return 1===s&&1===f?p.slice(0,7):p};function y4(e){var t=e.activeIndex,n=e.children,r=function(e){var t=e.activeIndex,n=G_()(e),r=tG().variant,i=gG(),o=i.chartColor,a=i.lineCurve,s=bG(),u=o,l=o;if(!Jo()(t)){var c=g4(o,s||"#fff",.7);u=c,l=Us(c,o,n.length,t)}return"bar"===r?{backgroundColor:l,borderColor:u,data:n,hoverBackgroundColor:l,hoverBorderColor:l}:{borderColor:u,cubicInterpolationMode:"linear"===a?"default":"monotone",data:n,lineTension:"linear"===a?0:void 0,pointBackgroundColor:l,pointBorderColor:l,pointBorderWidth:0,pointHitRadius:20,pointHoverBackgroundColor:o,pointHoverBorderColor:o,pointHoverBorderWidth:0,pointRadius:4}}({activeIndex:t,values:G_()(e)});return n(r)}var b4=__webpack_require__(32423),_4=__webpack_require__.n(b4),w4={defaultFontFamily:'"lato", sans-serif',elements:{line:{borderWidth:2,fill:!1}},layout:{padding:{bottom:0,left:0,right:0,top:50}},legend:{display:!1},plugins:{datalabels:{display:!1}},responsive:!1,scales:{xAxes:[{barPercentage:.6,gridLines:{display:!1,drawBorder:!1,offsetGridLines:!0},maxBarThickness:60,offset:!0,scaleLabel:{display:!1},ticks:{autoSkip:!1,callback:iZ()(/([^\s].{0,14}(?![.{3}])(?=[\s\W]|$))/gm),padding:10}}],yAxes:[{gridLines:{drawBorder:!1,drawTicks:!1},scaleLabel:{display:!1},ticks:{beginAtZero:!0,maxTicksLimit:8,padding:15}}]},tooltips:{callbacks:{label:function(){return null},title:function(e){var t,n=e[0],r=n.xLabel,i=n.yLabel,o=La()(x6(),KN()(" "),r);return St()(t="".concat(o,": ")).call(t,i)}},caretPadding:10,cornerRadius:3,displayColors:!1,titleFontStyle:"normal",titleMarginBottom:0,titleSpacing:0,xAlign:"center",xPadding:14,yAlign:"bottom",yPadding:10}};var k4=function(e){var t=e.onEvent,n=e.shouldAnimate,r=G_()(e),i=OR("rise-auto-calc-contrast"),o=bG(),a=function(e){var t,n,r=OR("rise-auto-calc-contrast"),i=gG().backgroundType,o=bG(),a=(0,v.useMemo)((function(){return js(e)}),[e]);if(r)switch(i){case hS.LIGHT:case hS.GRAY:t="#e1e1e1",n="#c9c9c9";break;case hS.DARK:case hS.BLACK:case hS.IMAGE:t="#ffffff80",n="#ffffffe9";break;case hS.ACCENT:case hS.TINT:case hS.COLOR:var s=Dr(OC(o)===hS.LIGHT?["#00000080","#0000001a"]:["#ffffff80","#ffffffe9"],2);t=s[0],n=s[1]}else{var u=Dr(kC(o)?["#ffffff33","#ffffff66"]:["#0000001a","#00000040"],2);t=u[0],n=u[1]}return a||(n=t),[t,n]}(r),s=Dr(a,2),u=s[0],l=s[1];return(0,v.useMemo)((function(){var e=OC(o)===bC.LIGHT,r=n?1e3:0,a=e?"#313537":"#fff",s=e?"#000":"#fff",c=e?"#fff":"#313537";i||(a=kC(o)?"#fff":"#313537");return zl(w4,_4()(["animation","duration"],r),_4()(["defaultFontColor"],a),_4()(["onClick"],t),_4()(["onHover"],t),_4()(["scales","xAxes",0,"gridLines","color"],u),_4()(["scales","xAxes",0,"ticks","minor","fontColor"],a),_4()(["scales","yAxes",0,"gridLines","color"],u),_4()(["scales","yAxes",0,"gridLines","zeroLineColor"],l),_4()(["scales","yAxes",0,"ticks","minor","fontColor"],a),_4()(["tooltips","backgroundColor"],s),_4()(["tooltips","titleFontColor"],c))}),[o,i,u,t,n,l])};function E4(e){var t=e.children,n=e.onEvent,r=e.shouldAnimate,i=G_()(e);return t(k4({onEvent:n,shouldAnimate:r,values:i}))}var x4=__webpack_require__(39138),S4=__webpack_require__.n(x4),T4=wE()(/<mark>|<\/mark>/gm,""),C4=pe()((function(e){return S4()(e,{length:30})}),T4,Gn()("type")),A4=pe()(vo()(0),parseFloat,Gn()("value")),O4=function(e){return{labels:Ra()(e).call(e,C4),values:Ra()(e).call(e,A4)}},N4=ss()((function(e,t,n){var r=S4()(t,{length:e});return n?BH(r,n):r})),P4={bar:"a11yBlockChartBar",pie:"a11yBlockChartPie",line:"a11yBlockChartLine"},I4=function(e){var t,n=e.chartType,r=e.labels,i=e.items,o=Ra()(i).call(i,(function(e){var t;return St()(t="".concat(e.type,": ")).call(t,e.value)})).join(", "),a=null==r?void 0:r[P4[n]];return St()(t="".concat(a," - ")).call(t,o)};function L4(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var M4=function(e){var t=function(t){gt(r,t);var n=L4(r);function r(){var e,t;nt(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(t=n.call.apply(n,St()(e=[this]).call(e,o))).handleEvent=t.handleEvent.bind(ft(t)),t.state={activeIndex:null},t}return dt(r,[{key:"handleEvent",value:function(e){this.setState({activeIndex:e})}},{key:"render",value:function(){return v.createElement(e,Et({},this.props,{activeIndex:this.state.activeIndex,onEvent:this.handleEvent}))}}]),r}(v.PureComponent);return t.displayName="ChartEvents(".concat(MH(e),")"),t};function R4(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var D4=function(e){var t=function(t){gt(r,t);var n=R4(r);function r(){var e,t;nt(this,r);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(t=n.call.apply(n,St()(e=[this]).call(e,o))).chartRef=(0,v.createRef)(),t.handleResize=t.handleResize.bind(ft(t)),t}return dt(r,[{key:"componentDidMount",value:function(){this.resize(),this.update()}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"handleResize",value:function(){this.resize(),this.update()}},{key:"resize",value:function(){var e=this.chartRef.current.chartInstance;e&&e.resize()}},{key:"update",value:function(){var e=this.chartRef.current.chartInstance;e&&e.update()}},{key:"render",value:function(){return v.createElement(e,Et({},this.props,{onResize:this.handleResize,ref:this.chartRef}))}}]),r}(v.PureComponent);return t.displayName="ChartUpdater(".concat(MH(e),")"),t};function q4(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var j4="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),F4=function(e){gt(n,e);var t=q4(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).handleEvent=r.handleEvent.bind(ft(r)),r.handleResize=r.handleResize.bind(ft(r)),r.wrapRef=(0,v.createRef)(),r.state={labelYTop:"50%"},r}return dt(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new FV(this.handleResize),this.resizeObserver.observe(this.wrapRef.current),null===(e=this.props.forwardedRef)||void 0===e||null===(t=e.current)||void 0===t||null===(n=t.chartInstance)||void 0===n||null===(r=n.canvas)||void 0===r||null===(i=r.setAttribute)||void 0===i||i.call(r,"aria-hidden","true")}},{key:"componentWillUnmount",value:function(){this.resizeObserver.unobserve(this.wrapRef.current)}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(Il()(null,[0,"_index"],t))}},{key:"handleResize",value:function(){this.props.onResize(),this.setLabelYTop()}},{key:"setLabelYTop",value:function(){var e=this.props.forwardedRef.current.chartInstance;if(e){var t=Il()({},["scales","y-axis-0"],e),n=t.bottom,r=t.top;ta()(n)&&ta()(r)&&this.setState({labelYTop:"".concat((n+r)/2,"px")})}}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.forwardedRef,r=e.isDesktop,i=e.isVisible,o=e.items,a=e.itemsLabel,s=e.labels,u=e.onEvent,l=e.search,c=e.shouldAnimate,d=e.valuesLabel,f=e.variant,p=this.state.labelYTop,h=N4(80,a,l),m=N4(30,d,l),g=O4(o),y=r?[]:Nr()(j4).call(j4,0,o.length),b=r?g.labels:y,_=i?G_()(g):Bs(0,o.length),w="line"===f?o4:a4,k=I4({chartType:f,labels:s,items:o});return v.createElement("div",{className:"block-chart__cartesian"},v.createElement("div",{"aria-label":k,className:"block-chart__cartesianChart",ref:this.wrapRef,role:"img"},v.createElement(E4,{onEvent:this.handleEvent,shouldAnimate:c,values:_},(function(e){return v.createElement(y4,{activeIndex:t,values:_},(function(t){return v.createElement(w,{data:{labels:b,datasets:[t]},options:e,ref:n})}))})),m&&rV(m)&&v.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelY",style:{top:p}},m)),h&&rV(h)&&v.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelX"},h),!r&&v.createElement(p4,{activeIndex:t,labels:g.labels,letters:y,onEvent:u,values:_}))}}]),n}(v.PureComponent),B4=Ak()({search:Il()("",["search","term"])}),U4=pe()(M4,function(e,t,n){return nR("min-width",e,t,n)}(960,"isDesktop","Desktop"),D4,SM.default,nn(B4))(F4);function z4(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var H4=function(e){gt(n,e);var t=z4(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).handleMouseEnter=r.handleMouseEnter.bind(ft(r)),r.handleMouseLeave=r.handleMouseLeave.bind(ft(r)),r}return dt(n,[{key:"handleMouseEnter",value:function(){var e=this.props,t=e.index;(0,e.onEvent)(t)}},{key:"handleMouseLeave",value:function(){(0,this.props.onEvent)(null)}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.backgroundColor,r=e.index,i=e.text,o=!Jo()(t)&&t!==r,a=GA()("block-chart__circleLegendItem",{"block-chart__circleLegendItem--unfocused":o});return v.createElement("div",{className:a,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},v.createElement("svg",{"aria-hidden":"true",className:"block-chart__circleLegendSymbol",fill:n,focusable:"false",viewBox:"0 0 10 10"},v.createElement("rect",{width:"10",height:"10",rx:"1.5"})),v.createElement("div",{className:"block-chart__circleLegendText"},i))}}]),n}(v.PureComponent),V4=H4,W4=function(e){var t=e.activeIndex,n=e.colors,r=e.labels,i=e.onEvent,o=u4()(r,n);return Ha()(o)?null:v.createElement("div",{"aria-hidden":"true",className:"block-chart__circleLegend"},Ra()(o).call(o,(function(e,n){var r=Dr(e,2),o=r[0],a=r[1];return v.createElement(V4,{activeIndex:t,backgroundColor:a,index:n,key:o,onEvent:i,text:o})})))},Y4=(0,v.memo)(W4);function G4(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function K4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G4(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):G4(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var X4=D_()(O3()(Xa(),0),"value"),$4=function(e){var t=_r()(e).call(e,X4),n=O4(t),r=Ra()(t).call(t,Gn()("color"));return K4(K4({},n),{},{colors:r})},Z4=(__webpack_require__(59523),__webpack_require__(36945)),Q4=__webpack_require__.n(Z4),J4=function(e){var t=Il()(0,["dataIndex"],e),n=Il()({},["dataset"],e),r=Il()("#000",["backgroundColor",t],n);return kC(r)?"#fff":"#313537"},e8=function(e,t,n){return"numeric"===e?String(t):aV(t/Q4()(n.dataset.data))},t8=function(e,t,n){var r,i=Il()(0,[0,"index"],t),o=Il()("",["labels",i],n),a=Il()([1],["datasets",0,"data"],n),s=a[i],u="numeric"===e?String(s):aV(s/Q4()(a));return St()(r="".concat(o,": ")).call(r,u)},n8=function(e,t){var n=Il()(0,["dataIndex"],t),r=Il()([1],["dataset","data"],t),i=r[n],o=Jo()(e)&&i/Q4()(r)>=.06;return e===n||o},r8=function(e){var t=e.activeIndex,n=e.onEvent,r=e.settings.valueType,i=e.shouldAnimate;return{animation:{animateRotate:i,duration:i?1e3:0},legend:!1,onClick:n,onHover:n,maintainAspectRatio:!1,plugins:{datalabels:{color:J4,display:n8.bind(null,t),font:{size:12,style:"bold"},formatter:e8.bind(null,r)}},responsive:!1,rotation:.25*Math.PI,tooltips:{backgroundColor:"#000",callbacks:{label:function(){return null},title:t8.bind(null,r)},caretPadding:10,cornerRadius:3,displayColors:!1,titleFontColor:"#fff",titleFontStyle:"normal",titleMarginBottom:0,titleSpacing:0,xAlign:"center",xPadding:14,yAlign:"bottom",yPadding:10}}};function i8(e){var t=e.activeIndex,n=e.children,r=function(e){var t=e.activeIndex,n=e.colors,r=G_()(e),i=bG(),o=Jo()(t)?n:Ra()(n).call(n,(function(e,n){return n===t?e:g4(e,i||"#fff",.5)}));return{backgroundColor:o,hoverBackgroundColor:o,borderWidth:0,data:r}}({activeIndex:t,colors:e.colors,values:G_()(e)});return n(r)}function o8(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var a8=function(e){gt(n,e);var t=o8(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).handleEvent=r.handleEvent.bind(ft(r)),r.wrapRef=(0,v.createRef)(),r}return dt(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new FV(this.props.onResize),this.resizeObserver.observe(this.wrapRef.current),null===(e=this.props.forwardedRef)||void 0===e||null===(t=e.current)||void 0===t||null===(n=t.chartInstance)||void 0===n||null===(r=n.canvas)||void 0===r||null===(i=r.setAttribute)||void 0===i||i.call(r,"aria-hidden","true")}},{key:"componentWillUnmount",value:function(){this.resizeObserver.unobserve(this.wrapRef.current)}},{key:"buildOptions",value:function(){var e=this.props,t=e.activeIndex,n=e.settings,r=e.shouldAnimate;return r8({activeIndex:t,onEvent:this.handleEvent,settings:n,shouldAnimate:r})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(Il()(null,[0,"_index"],t))}},{key:"render",value:function(){var e=this.props,t=e.activeIndex,n=e.forwardedRef,r=e.isVisible,i=e.items,o=e.labels,a=e.onEvent,s=e.variant,u=$4(i),l=u.colors,c=u.labels,d=G_()(u),f=r?d:Bs(0,i.length),p=this.buildOptions(),h=I4({chartType:s,labels:o,items:i});return v.createElement("div",{"aria-label":h,className:"block-chart__circle",role:"img"},v.createElement("div",{className:"block-chart__circleChart",ref:this.wrapRef},v.createElement(i8,{activeIndex:t,colors:l,values:f},(function(e){return v.createElement(i4,{data:{labels:c,datasets:[e]},options:p,ref:n})}))),v.createElement(Y4,{activeIndex:t,colors:l,labels:c,onEvent:a}))}}]),n}(v.PureComponent),s8=pe()(M4,D4,SM.default)(a8);function u8(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var l8=tF,c8=pe()(kC,Gn()("backgroundColor")),d8=function(e){gt(n,e);var t=u8(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).handleAnimationEnd=r.handleAnimationEnd.bind(ft(r)),r.renderTitle=r.renderTitle.bind(ft(r)),r.state={isVisible:!r.props.animateBlockEntrance},r}return dt(n,[{key:"handleAnimationEnd",value:function(){this.setState({isVisible:!0})}},{key:"renderTitle",value:function(){var e=this.props.title;return v.createElement($M,{value:e})}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.children,r=e.editable,i=e.fusion,o=e.isLearner,a=e.items,s=e.itemsLabel,u=e.labels,l=e.settings,c=e.title,d=e.valuesLabel,f=e.variant,p=e.renderTitle,h=void 0===p?this.renderTitle:p,m=this.state.isVisible,g=c8(l),y=GA()("block-chart__container",{"block-chart__container--darkTheme":!i&&g});return v.createElement(zK,{type:"chart"},v.createElement(GK,{afterAnimatedIn:this.handleAnimationEnd,animateBlockEntrance:t,animateIn:"fadeIn",initiallyVisible:!t,isLearner:o},v.createElement("div",{className:y,"data-ba":l8.blockChart},v.createElement("div",{className:"block-chart__row"},v.createElement("div",{className:"block-chart__rowInner"},(!r&&c||r)&&v.createElement("h2",{className:"block-chart__title brand--head"},h()),v.createElement("div",{className:"block-chart__chart"},v.cloneElement(v.Children.only(n),{hasDarkBgColor:g,isVisible:m,items:a,itemsLabel:s,labels:u,settings:l,shouldAnimate:t,valuesLabel:d,variant:f})))))))}}]),n}(v.PureComponent),f8=NR("rise-auto-calc-contrast","fusion")(d8),p8=__webpack_require__(67294);function h8(e){var t=function(t){return p8.createElement(f8,t,p8.createElement(e,null))};return t.displayName="ChartWrap(".concat(MH(e),")"),t}var m8=h8(U4),v8=h8(s8),g8=__webpack_require__(67294);function y8(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function b8(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y8(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):y8(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function _8(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var w8=mi()(Ci()("variant","storyline")),k8=wa()(w8,oa(),NI()(1)),E8=function(e){gt(n,e);var t=_8(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e,t=this.props,n=t.dividerNumber,r=t.family,i=t.handleStorylineFullscreen,o=t.partnerContent,a=t.variant,s=t.enableVideoPlaybackSpeed,u=St()(e="".concat(r," ")).call(e,a),l=b8(b8({},Wa()(["handleStorylineFullscreen","dividerNumber"],this.props)),{},{variant:a,enableVideoPlaybackSpeed:s,partnerContent:o});switch(u){case"text paragraph":case"text table":return g8.createElement(ZK,l);case"text heading paragraph":return g8.createElement(nX,l);case"text subheading paragraph":return g8.createElement(rX,l);case"text heading":return g8.createElement(eX,l);case"text subheading":return g8.createElement(tX,l);case"text two column":return g8.createElement(QK,l);case"text three column":return g8.createElement(JK,l);case"text code":case"multimedia code":return g8.createElement(iX,l);case"impact a":return g8.createElement(fX,l);case"impact b":return g8.createElement(pX,l);case"impact c":return g8.createElement(hX,l);case"impact d":return g8.createElement(mX,l);case"impact note":return g8.createElement(vX,l);case"quote a":return g8.createElement(RX,l);case"quote b":return g8.createElement(DX,l);case"quote c":return g8.createElement(qX,l);case"quote d":return g8.createElement(jX,l);case"quote background":return g8.createElement(FX,l);case"quote carousel":return g8.createElement(VX,l);case"list numbered":return g8.createElement(e$,l);case"list checkboxes":return g8.createElement(r$,l);case"list bulleted":return g8.createElement(i$,l);case"image hero":return g8.createElement(P$,l);case"image full":return g8.createElement(R$,l);case"image text aside":return g8.createElement(L$,l);case"image text overlay":return g8.createElement(D$,l);case"gallery centered":case"gallery full":return g8.createElement(W$,l);case"gallery two column":return g8.createElement(G$,l);case"gallery three column":return g8.createElement(G$,Et({width:3},l));case"gallery four column":return g8.createElement(G$,Et({width:4},l));case"divider divider":return g8.createElement(Q$,l);case"divider numbered divider":return g8.createElement(J$,Et({number:n},l));case"divider spacing divider":return g8.createElement(eZ,l);case"360 storyline":return g8.createElement(dJ,Et({},l,{isLesson:!0,handleStorylineFullscreen:i,hasManySlBlocks:this.hasManySlBlocks.bind(this)}));case"interactive accordion":return g8.createElement(UQ,l);case"interactive tabs":return g8.createElement(XQ,l);case"interactive-fullscreen labeledgraphic":return g8.createElement(l3,l);case"interactive-fullscreen process":return g8.createElement(Q3,l);case"interactive-fullscreen scenario":return g8.createElement(C5,l);case"interactive-fullscreen sorting":return g8.createElement(J5,l);case"interactive-fullscreen timeline":return g8.createElement(z6,l);case"buttons button":return g8.createElement(gJ,l);case"buttons button stack":return g8.createElement(yJ,l);case"flashcard flashcard":return g8.createElement(i0,l);case"flashcard stack":return g8.createElement(i0,Et({stack:!0},l));case"knowledge knowledge":case"knowledgeCheck multiple choice":case"knowledgeCheck multiple response":case"knowledgeCheck fillin":case"knowledgeCheck matching":return g8.createElement(P2,l);case"continue continue":return g8.createElement(UJ,l);case"multimedia audio":return g8.createElement(PJ,l);case"multimedia video":return g8.createElement(IJ,l);case"multimedia custom video":return g8.createElement(IJ,Et({},l,{type:"customVideo"}));case"multimedia embed":return g8.createElement(MJ,l);case"multimedia attachment":return g8.createElement(qJ,l);case"chart bar":case"chart line":return g8.createElement(m8,l);case"chart pie":return g8.createElement(v8,l);default:return"Unknown type: ".concat(u)}}},{key:"hasManySlBlocks",value:function(){var e=this.props.items;return e&&k8(e)}}]),n}(g8.Component);function x8(e){return g8.createElement(eG,{block:e},g8.createElement(E8,e))}var S8=Al()(tV,(function(e){return e.getBoundingClientRect().bottom-e.offsetHeight/4<=window.innerHeight}));function T8(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var C8=function(e){gt(n,e);var t=T8(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).wrapRef=(0,v.createRef)(),r.check=r.check.bind(ft(r)),r.onScroll=NQ()(r.check,100),r}return dt(n,[{key:"componentDidMount",value:function(){this.scrollableContainer=document.querySelector(".page-wrap"),this.scrollableContainer&&this.scrollableContainer.addEventListener("scroll",this.onScroll),this.props.isFirstLesson&&(this.checkTimeout=setTimeout(this.check,1e3))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.checkTimeout),this.rmScrollListener()}},{key:"render",value:function(){return v.createElement("div",{ref:this.wrapRef},this.props.children)}},{key:"rmScrollListener",value:function(){this.scrollableContainer&&this.scrollableContainer.removeEventListener("scroll",this.onScroll)}},{key:"check",value:function(){var e=this.wrapRef;e&&S8(e.current)&&(this.rmScrollListener(),this.props.onViewed())}}]),n}(v.Component),A8=__webpack_require__(67294);function O8(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var N8=function(e){gt(n,e);var t=O8(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){return A8.createElement(C8,{onViewed:this.handleViewed.bind(this,this.props.children.props),isFirstLesson:this.props.isFirstLesson},this.modifiedChildren())}},{key:"modifiedChildren",value:function(){return A8.cloneElement(A8.Children.only(this.props.children),{onStep:this.handleStep.bind(this)})}},{key:"handleStep",value:function(e){var t=e.id;e.isDone||this.props.onStep(t)}},{key:"handleViewed",value:function(e){e.requiresInteraction?(/tabs|carousel/.test(e.variant)||/gallery/.test(e.family))&&this.handleStep(e.items[0]):this.props.onViewed()}}]),n}(A8.Component),P8=(w().arrayOf,w().func,w().node,w().oneOfType,__webpack_require__(16392),__webpack_require__(65814),__webpack_require__(191),__webpack_require__(79098)),I8=__webpack_require__.n(P8),L8=__webpack_require__(40731),M8=__webpack_require__.n(L8),R8=__webpack_require__(1667),D8=__webpack_require__.n(R8),q8=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return wa().apply(void 0,n)(e)},j8=D8()(pe()(_o(),Gn()("title"))),F8=function e(t){return function(n){var r=Ux()(Ci()("id",n),t),i=q8(t,I8()(ti()(Ci()("parentId",n),wa()(Gn()("id"),e(t)),Zr()([]))),j8);return Ro()("subfolders",i,r)}},B8=wa()((function(e){var t=M8()(Gn()("id"),e||[]);return Ea()(function(e){return function(t,n){return e[n.parentId]?t:bP()(n,t)}}(t),[],e)}),Si()(["id"])),U8=wa()((function(e){return{folders:e,ids:B8(e)}}),(function(e){var t=e.folders,n=e.ids;return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return pe().apply(void 0,Ml(jl()(1,t)))(Bl()(t))}(j8,bi()(F8(t)),n)})),z8="owner",H8="manager",V8="editor",W8="viewer",Y8=[W8,V8,H8,z8],G8=function(e){var t=e.effectiveRole,n=e.requiredRole;return ps()(t,Y8)>=ps()(n,Y8)};function K8(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var X8=Dl()([[gC()(String),Jr()],[Jo(),Zr()(void 0)],[gb()("displayName"),Gn()("displayName")],[gb()("name"),Gn()("name")],[bb(),Zr()("Component")]]),$8=Wa()(["enableClickOutside","hideScroll","onClickOutside","preventDefault","stopPropagation"]),Z8=function(e){gt(n,e);var t=K8(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).onBodyMouseDownDelegate=r.onBodyMouseDown.bind(ft(r)),r.onBodyClickDelegate=r.onBodyClick.bind(ft(r)),r.addDomEvents(),r}return dt(n,[{key:"componentWillUnmount",value:function(){this.removeDomEvents()}},{key:"onBodyClick",value:function(e){var t=this.props,n=t.onClickOutside,r=t.preventDefault,i=t.stopPropagation,o=e.target;this.shouldClickOutside(o)&&(r&&e.preventDefault(),i&&e.stopPropagation(),n(e)),this.cancel=!1}},{key:"onBodyMouseDown",value:function(e){this.cancel=!this.shouldClickOutside(e.target)}},{key:"render",value:function(){var e=this.Child,t=this.props;return v.createElement(e,$8(t))}},{key:"setupDomEvents",value:function(e){var t=e?"addEventListener":"removeEventListener";document.body[t]("click",this.onBodyClickDelegate,!0),document.body[t]("mousedown",this.onBodyMouseDownDelegate,!0)}},{key:"shouldClickOutside",value:function(e){var t=this.props.enableClickOutside,n=(0,g.findDOMNode)(this);return t&&!this.cancel&&null!==n&&n!==e&&!n.contains(e)}}]),n}(v.Component);Z8.defaultProps={onClickOutside:Zr()(),preventDefault:!0,stopPropagation:!0};var Q8=Z8.prototype;kt()(Q8,{addDomEvents:ga()(Q8.setupDomEvents,[!0]),removeDomEvents:ga()(Q8.setupDomEvents,[!1])});var J8=function(e){return function(t){gt(r,t);var n=K8(r);function r(){return nt(this,r),n.apply(this,arguments)}return dt(r,[{key:"Child",get:function(){return e}}],[{key:"displayName",get:function(){return"ClickableOutside(".concat(X8(e),")")}}]),r}(Z8)},e9=J8("div"),t9=(J8("span"),J8("form"),["active","align","children","className","onClose","role","slideIn"]);function n9(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}function r9(e,t){var n=void 0!==ot()&&Ar()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return i9(e,t);var r=Nr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Ir()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i9(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i9(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 o9=yM("bc-dropdown"),a9=new(z_()),s9=function e(t){return null==t?0:t.offsetLeft+e(t.offsetParent)},u9=NQ()((function(){var e,t=r9(G_()(a9).call(a9));try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(e){t.e(e)}finally{t.f()}}),250);window.addEventListener("resize",u9),window.addEventListener("orientationchange",u9);var l9=function(e){gt(n,e);var t=n9(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).posRef=v.createRef(),r.update(r.props),r}return dt(n,[{key:"componentDidUpdate",value:function(e){this.update(this.props,e)}},{key:"componentWillUnmount",value:function(){a9.delete(this)}},{key:"fitOnScreen",value:function(){var e=this.props.fit,t=this.posRef.current;if(e&&null!=t){kt()(t.style,{left:"",right:""});var n=Dr(s9(t)+t.offsetWidth-window.innerWidth+20>0?["auto","0"]:["",""],2),r=n[0],i=n[1];kt()(t.style,{left:r,right:i})}}},{key:"render",value:function(){var e=this.props,t=e.active,n=e.align,r=e.children,i=e.className,o=e.onClose,a=e.role,s=void 0===a?"menu":a,u=e.slideIn,l=Ji(e,t9),c=o9("pos",{inactive:!t,active:t,left:"right"!==n,right:"right"===n}),d=o9({inactive:!t,active:t,alignLeft:"left"===n,alignCenter:"center"===n,alignRight:"right"===n,slideIn:u,inPlace:!u});return v.createElement("div",{className:i||o9("wrap")},v.createElement("div",{ref:this.posRef,className:c},v.createElement(e9,Et({"aria-hidden":!t,className:d,enableClickOutside:t,onClickOutside:o,role:s},Wa()(["fit"],l)),r)))}},{key:"update",value:function(e){var t=e.fit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.fit;t&&!r?a9.set(this,this.fitOnScreen.bind(this)):!t&&r&&a9.delete(this)}}]),n}(v.Component);kt()(l9.prototype,{componentDidMount:l9.prototype.fitOnScreen,componentDidUpdate:l9.prototype.fitOnScreen}),l9.defaultProps={align:"center"};var c9=yM("breadcrumb"),d9=function(){return v.createElement("span",{className:c9("caret")},v.createElement(pO,null))},f9=["menu"],p9=function(e){var t=e.menu,n=Ji(e,f9);return v.createElement(t,ba()(["category","depth","id","isDeleted","type","effectiveRole"],n))},h9=yM("breadcrumb");(function(e){var t=e.active,n=e.allowViewer,r=e.effectiveRole,i=e.id,o=e.label,a=e.onClick,s=e.showCaret,u=e.showMenu,l=e.type,c=Jo()(i),d=function(e){var t=e.allowViewer,n=e.effectiveRole,r=e.id,i=e.type;return Jo()(r)||!("shared"===i)||G8({effectiveRole:n,requiredRole:t?W8:V8})}({allowViewer:n,effectiveRole:r,id:i,type:l}),f=(0,v.useCallback)((function(e){d&&a(e)}),[d,a]),p=(0,v.useCallback)((function(e){13===e.keyCode&&f(e)}),[f]),h={className:h9({active:t,root:(c||"deleted"===i)&&t,disabled:!d}),onClick:f,onKeyPress:p,role:"listitem","aria-current":t?"page":null};return v.createElement("li",h,v.createElement("span",{className:h9("label")},o),u&&t&&v.createElement(p9,e),s&&!t&&v.createElement(d9,null))}).defaultProps={allowViewer:!1};Lo()(e5());var m9=__webpack_require__(51010),v9=__webpack_require__.n(m9),g9=function(e,t){return e&t?3&e:0},y9=function(e){return function(t){13===t.keyCode&&e()}},b9=(Zr()(),os()(Jo())),_9=os()(Ha()),w9=Al()(b9,_9),k9=(Xo()(Jo(),Ha()),Zj.folderTree),E9=yM("folder-tree"),x9=function(e){var t=e.isOpen,n=e.onFolderToggle,r=E9("folder","caret",{open:t}),i={className:E9("folder","caretWrap").toString(),onClick:n,onKeyPress:y9(n),role:"button"};return v.createElement("div",Et({},i,{"data-ba":k9.caret}),v.createElement("div",{className:r}))},S9=yM("folder-tree"),T9=function(e){var t=e.active,n=e.category,r=e.itemId,i=e.menu,o=e.setMenuActive,a=e.type,s=(0,v.useMemo)((function(){return t===r}),[t,r]),u=S9("folderOptions",{active:s}),l=(0,v.useCallback)((function(){return o(!1)}),[o]),c=(0,v.useCallback)((function(){return o(!0)}),[o]);return v.createElement("div",{className:u},v.createElement(i,{category:n,className:S9("folderMenu").toString(),id:r,onClose:l,onOpen:c,type:a}))},C9=yM("folder-tree"),A9=function(e){var t=e.active,n=e.activeClassName,r=e.children,i=e.className,o=e["data-ba"],a=e["data-ba-name"],s=e.forceHover,u=e.hasItems,l=e.itemId,c=e.itemType,d=e.onClick,f=e.onDrop,p=e.onKeyPress,h=e.paddingLeft,m=Dr((0,v.useState)(!1),2),g=m[0],y=m[1],b=Boolean(f)&&"folder"===c,_=(0,v.useMemo)((function(){return t===l}),[t,l]),w=GA()(i,C9("folder",{active:_,forceHover:s,hideCaret:!u,dndEnabled:b}).toString(),qr({},n,_));return v.createElement("div",{className:w,"data-ba":o,"data-ba-name":a,onClick:d,onKeyPress:p,role:"button",style:{paddingLeft:h},tabIndex:"0",onDragEnter:function(){return y(!0)}},b&&g&&v.createElement("div",{className:C9("folder","drop-mask"),onDragOver:function(e){e.preventDefault()},onDrop:function(e){y(!1),null==f||f(e)},onDragLeave:function(){return y(!1)}}),r)},O9=Zj.folderTree,N9=yM("folder-tree"),P9=function(e){var t=e.disableRootMenu,n=e.folders,r=e.isOpen,i=e.menu,o=e.onDrop,a=e.onFolderClick,s=e.onFolderToggle,u=e.root,l=Dr((0,v.useState)(!1),2),c=l[0],d=l[1],f=u.id,p=u.title,h=u.icon,m=(0,v.useCallback)((function(){return a(u)}),[a,u]),g=(0,v.useCallback)(y9(m),[m]),y=(0,v.useCallback)(null==o?void 0:o(f),[o,f]),b=ba()(["active","activeClassName","className"],e),_=ba()(["active","activeClassName","category","className","menu","type"],e);return v.createElement(A9,Et({},b,{"data-ba":O9.rootFolder,"data-ba-name":p,forceHover:c,hasItems:!Ha()(n),itemId:f,itemType:"folder",onClick:m,onDrop:y,onKeyPress:g}),v.createElement(x9,{isOpen:r,onFolderToggle:s}),h&&v.createElement("div",{className:N9("folderIcon")},h),v.createElement("div",{className:N9("folderNameWrap")},v.createElement("div",{className:N9("folderName")},p)),!t&&i&&v.createElement(T9,Et({},_,{itemId:f,setMenuActive:d})))},I9=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return pe()(La()(Zr()(t),l_()(Ci()("deleted",!0))),mi()(Ci()("folderId",e)))},L9=function(e,t,n){return function(r){pe()(n,f0()([e]))(t),r.stopPropagation()}},M9=function(e,t,n){return function(r){pe()(n,bP()(e))(t),r.stopPropagation()}},R9=function(e){var t=e||[],n=t.effectiveRole,r=function(e){return{editor:G8({effectiveRole:e,requiredRole:V8}),manager:G8({effectiveRole:e,requiredRole:H8}),owner:G8({effectiveRole:e,requiredRole:z8})}}(t.type!==F7?z8:n),i=r.editor,o=r.manager,a=r.owner;return{canChangePermissions:o,canCreate:i,canDelete:a,canEdit:i,canMove:o,canMoveTo:i,canRename:i,canUnshare:a}},D9=Zj.folderTree,q9=yM("folder-tree"),j9=function e(t){var n,r=t.id,i=t.index,o=void 0===i?0:i,a=t.itemIcon,s=t.item,u=t.items,l=t.itemType,c=t.menu,d=t.onDrop,f=t.onFolderClick,p=t.onItemClick,h=t.openFolders,m=t.setOpenFolders,g=t.showItems,y=s.id,b=s.title,_=s.subfolders,w=s.type,k=Dr((0,v.useState)(!1),2),E=k[0],x=k[1],S=Dr((0,v.useState)(k_()(h).call(h,y)),2),T=S[0],C=S[1];(0,v.useEffect)((function(){C(k_()(h).call(h,y))}),[y,h]);var A=(0,v.useCallback)(L9(y,h,m),[y,h,m]),O=(0,v.useCallback)(M9(y,h,m),[y,h,m]),N=(0,v.useCallback)((function(){return"folder"===l?f(s):p(s)}),[s,f,p,l]),P=(0,v.useCallback)(R9(s).canCreate?null==d?void 0:d(s.id):null,[s,d]),I=g?I9(y)(u):[],L=(0,v.useMemo)((function(){return"".concat(21*(o+2),"px")}),[o]),M=(0,v.useMemo)((function(){return T?A:O}),[T,A,O]),R=q9("folderWrap",{open:T}),D=w9(_)||w9(I),q=(0,v.useCallback)(y9(N),[y9,N]),j="team"===w?JO:MO,F=ba()(["active","activeClassName","className"],t),B=ba()(["active","activeClassName","category","className","menu","type"],t),U=ba()(["active","activeClassName","category","className","disableRootMenu","folders","id","items","itemIcon","menu","onDrop","onFolderClick","onItemClick","openFolders","root","setOpenFolders","showItems","type"],t);return v.createElement("div",{id:St()(n="".concat(r,"-qbf-")).call(n,y),key:y,className:R,"data-ba-name":b,"data-ba":D9.item},v.createElement(A9,Et({},F,{forceHover:E,hasItems:D,itemId:y,itemType:l,onClick:N,onKeyPress:q,paddingLeft:L,onDrop:P}),v.createElement(x9,{isOpen:T,onFolderToggle:M}),v.createElement("div",{className:q9("folderIcon").toString()},"folder"===l?v.createElement(j,{"data-ba":D9.icon}):v.createElement(a,{"data-ba":D9.icon})),v.createElement("div",{className:q9("folderNameWrap").toString()},v.createElement("div",{className:q9("folderName").toString()},b)),c&&v.createElement(T9,Et({},B,{itemId:y,setMenuActive:x}))),_&&Ra()(_).call(_,(function(t){return v.createElement(e,Et({key:t.id},U,{item:t,index:o+1,itemType:"folder"}))})),I&&Ra()(I).call(I,(function(t){return v.createElement(e,Et({key:t.id},U,{item:t,index:o+1,itemType:"item"}))})))},F9=yM("folder-tree"),B9=function(e){var t=e.folders,n=e.id,r=e.items,i=e.openFolders,o=e.root,a=e.setOpenFolders,s=e.showItems,u=(0,v.useMemo)((function(){return U8(t)}),[t]),l=(0,v.useMemo)((function(){return function(e){var t=q8(e,Si()("id"));return mi()((function(e){return null===e.folderId||!Un()(e.folderId,t)}))}(t)(r)}),[t,r]),c=Dr((0,v.useState)(k_()(i).call(i,"root")),2),d=c[0],f=c[1],p=s?I9(n)(r):[];(0,v.useEffect)((function(){f(k_()(i).call(i,"root"))}),[i]);var h=(0,v.useCallback)(L9("root",[],a),[n,i,a]),m=(0,v.useCallback)(M9("root",i,a),[p,n,i,a]),g=F9("folderWrap",{open:d}),y=ba()(["active","activeClassName","category","className","disableRootMenu","folders","id","items","itemIcon","menu","onDrop","onFolderClick","onItemClick","openFolders","root","setOpenFolders","showItems","type"],e);return v.createElement("div",{id:"".concat(n,"-qbf-root"),className:g},o&&v.createElement(P9,Et({onFolderToggle:d?h:m,isOpen:d},y)),Ra()(u).call(u,(function(e){return v.createElement(j9,Et({key:e.id},y,{item:e,itemType:"folder"}))})),s&&l&&Ra()(l).call(l,(function(e){return v.createElement(j9,Et({key:e.id},y,{item:e,itemType:"item"}))})))},U9=(0,v.memo)(B9),z9=w().shape({id:w().string.isRequired,folderId:w().string,title:w().string}),H9=w().shape({id:w().string.isRequired,parentId:w().string,title:w().string,type:w().oneOf(["team","personal"])}),V9=(w().shape({id:w().string,title:w().string.isRequired,icon:w().node}),w().any,w().oneOf(["team","personal"]),w().string,w().string,w().string,w().bool,w().arrayOf(H9).isRequired,w().string.isRequired,w().arrayOf(w().string),w().arrayOf(z9),w().elementType,w().elementType,w().func,w().func.isRequired,w().func,w().bool,w().func,w().bool,w().oneOf(["team","personal"]),w().bool,yM("folder-tree")),W9=function e(t,n){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(null==t||"personal"===t||"team"===t||"deleted"===t)return i;if(!n||0===n.length)return[];var o=Ux()(Ci()("id",t),n);return void 0===o?[]:e(o.parentId,n,St()(r=[o]).call(r,Ml(i)))},Y9=function(e){var t=e.active,n=e.activeType,r=e.folders,i=e.initialFolders,o=e.openToActive,a=e.root.deleted,s=e.reportOpenFolders,u=e.type,l=e.viewingTree,c=Dr((0,v.useState)(l?i:[]),2),d=c[0],f=c[1],p=u===n&&t,h=(0,v.useMemo)((function(){return p}),[p]),m=Dr((0,v.useState)(!1),2),g=m[0],y=m[1];(0,v.useEffect)((function(){s(a?"deleted":u,d)}),[a,d,s,u]);var b=o?W9(h,r):[];(0,v.useEffect)((function(){y(!1)}),[h]),(0,v.useEffect)((function(){var e;o&&!g&&(pe()(f,(e=Si()("id",r),mi()((function(t){return"root"===t||k_()(e).call(e,t)}))),UA(),La()((function(e){return e.length>0}),bP()("root")),gi(),Hn()(bP())(d),v9(),Si()("id"))(b),y(!0))}),[o,g,d,b,r,f]);var _=ba()(["activeClassName","category","className","disableRootMenu","folders","id","items","itemIcon","menu","onDrop","onFolderClick","onItemClick","root","showItems","type"],e);return v.createElement("div",{className:V9("wrap")},v.createElement(U9,Et({},_,{active:h,openFolders:d,setOpenFolders:f})))};Y9.defaultProps={initialFolders:["root"],items:[],openToActive:!1,reportOpenFolders:function(){},showItems:!1,viewingTree:!0};yM("folder"),yM("folder-list");var G9=__webpack_require__(78045),K9=__webpack_require__.n(G9),X9=__webpack_require__(33367),$9=__webpack_require__.n(X9),Z9=["children","enableHover"];function Q9(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function J9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q9(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Q9(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function e7(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var t7=yM("table"),n7=[1,2],r7=Gn()("sortable"),i7=Al()(r7,Ci()("sortDirection",1)),o7=Al()(r7,Ci()("sortDirection",2)),a7=Al()(r7,pe()(Gn()("hover"),$9()(1))),s7=Dl()([[i7,Zr()("ascending")],[o7,Zr()("descending")],[bb(),Zr()("none")]]),u7=wa()(ps()(Xa(),n7),ti()(Ua()(n7.length-1),Zr()(0),Hs()),Gn()(Xa(),n7)),l7=Wa()(["onSort","sortable","sortDirection","sortKey","className"]),c7=function(e){return v.createElement("table",Et({className:"table"},e))},d7=function(e){gt(n,e);var t=e7(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).onMouseOverDelegate=r.onMouseOver.bind(ft(r)),r.onMouseOutDelegate=r.onMouseOut.bind(ft(r)),r.renderChildDelegate=r.renderChild.bind(ft(r)),r.state={hoverIndex:-1},r}return dt(n,[{key:"onMouseOver",value:function(e){var t=e.currentTarget.children,n=e.target,r=ls()((function(e){return e===n||e.contains(n)}),t);this.setState({hoverIndex:r})}},{key:"onMouseOut",value:function(){this.setState({hoverIndex:-1})}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.enableHover,r=Ji(e,Z9),i=n?this.onMouseOutDelegate:void 0,o=n?this.onMouseOverDelegate:void 0,a=J9(J9({},r),{},{onMouseOut:i,onMouseOver:o});return v.createElement("tbody",a,Ra()(v.Children).call(v.Children,t,this.renderChildDelegate))}},{key:"renderChild",value:function(e,t){return(0,v.cloneElement)(e,{hover:t===this.state.hoverIndex})}}]),n}(v.Component),f7=function(e){return v.createElement("td",Et({className:GA()(t7("cell").toString(),t7("td").toString(),e.className)},Wa()(["className"],e)))},p7=function(e){gt(n,e);var t=e7(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).state={hover:!1},r.onClickDelegate=r.onClick.bind(ft(r)),r.onMouseEnterDelegate=r.onMouseEnter.bind(ft(r)),r.onMouseLeaveDelegate=r.onMouseLeave.bind(ft(r)),r}return dt(n,[{key:"componentDidUpdate",value:function(e){var t=e.sortDirection,n=this.props.sortDirection,r=this.state.hover&&n===t;this.state.hover!==r&&this.setState({hover:r})}},{key:"onClick",value:function(){var e=this.props,t=e.sortKey,n=e.sortDirection,r=e.onSort,i=u7(n);r(0===i?0:t|i)}},{key:"onMouse",value:function(e){this.setState({hover:e})}},{key:"render",value:function(){var e=this.props,t=e.sortable,n=e.className,r=GA()(n,t7("cell").toString(),t7("thcol",{ascHover:Al()(a7,i7)(this.props),descHover:Al()(a7,o7)(this.props),hover:a7(this.props),asc:i7(this.props),desc:o7(this.props),sortable:r7(this.props)}).toString());return v.createElement("th",Et({"aria-sort":s7(this.props),className:r,onClick:t?this.onClickDelegate:void 0,onMouseEnter:t?this.onMouseEnterDelegate:void 0,onMouseLeave:t?this.onMouseLeaveDelegate:void 0,role:"columnheader",scope:"col",tabIndex:t?"0":void 0},l7(this.props)))}}]),n}(v.Component);p7.defaultProps={sortable:!1,sortDirection:0,onSort:Zr()()},kt()(p7.prototype,{onMouseEnter:ga()(p7.prototype.onMouse,[!0]),onMouseLeave:ga()(p7.prototype.onMouse,[!1])});var h7=function(e){return v.createElement("thead",e)},m7=function(e){return v.createElement("tr",e)},v7=yM("question-bank-list"),g7=Il()("",["links","micro"]),y7=function(e){var t,n=e.profile,r=e.updateCol;if(!n)return v.createElement("span",null,"Loading...");var i=St()(t="".concat(n.firstName," ")).call(t,n.lastName),o=g7(n);return v.createElement("div",{className:v7("avatar")},r&&v.createElement("span",null,"Updated by: "),v.createElement("span",{className:v7("avatar","icon"),style:{backgroundImage:"url(".concat(o,")")}}),v.createElement("span",{className:v7("avatar","name")},i))},b7=function(e,t){return t[e]},_7=yM("question-bank-list"),w7=function(e){var t=e.active,n=e.displayOwnerColumn,r=e.getCountLabel,i=e.index,o=e.locks,a=e.menu,s=e.onClick,u=e.profiles,l=e.row,c=e.tooltipFn,d=e.type,f=l.authorId,p=l.deleted,h=l.id,m=l.lastEditedBy,g=l.questions,y=l.title,b=l.updatedAt,_=b7(f,u),w=b7(m,u),k=(0,v.useCallback)((function(){return s(l)}),[s,l]),E=gb()(h,o),x=t7("tr",{active:t===h,deleted:p}),S=k7(b);return v.createElement(m7,{className:x,key:i,onClick:p?null:k},v.createElement(f7,null,v.createElement("div",{className:_7("title")},v.createElement("span",{className:_7("titleText")},y),E&&v.createElement(E7,null))),v.createElement(f7,{className:_7("colQuestions").toString()},r(g.length)),n&&v.createElement(f7,{className:_7("colOwner").toString()},v.createElement(y7,{profile:_})),v.createElement(f7,{className:_7("colUpdated").toString()},w&&"team"===d?c(S,v.createElement(y7,{profile:w,updateCol:!0})):S),v.createElement(f7,{className:_7("menuTd").toString()},a&&v.createElement(x7,Et({isLocked:E},e,l))))},k7=function(e){return _M()(e).format("M/D/YY @ h:mma")},E7=function(){return v.createElement("div",{className:_7("editing"),"data-testid":"editing"},v.createElement("span",{className:_7("editingIcon")},v.createElement(oO,null)),"Editing")},x7=function(e){var t=e.deleted,n=e.effectiveRole,r=e.id,i=e.isLocked,o=e.menu,a=e.row,s=e.setActive,u=e.type,l=(0,v.useCallback)((function(){return s(null)}),[s]),c=(0,v.useCallback)((function(){return s(r)}),[r,s]);return v.createElement("div",{className:_7("menuWrap")},v.createElement(o,{authorId:a.authorId,category:"questionBanks",className:GA()(_7("menu").toString(),t7("menu").toString()),effectiveRole:n,id:r,isDeleted:t,isLocked:i,onClose:l,onOpen:c,type:u,scrollableAreaSelector:".question-banks"}))};w7.defaultProps={locks:{}};var S7=w7,T7=__webpack_require__(76555),C7=__webpack_require__.n(T7),A7=function(e){var t=e.columns.title,n=C7()(e),r=e.setSort,i={className:t7("th").toString(),onSort:r,sortDirection:g9(n,4),sortKey:4,sortable:!0};return v.createElement(p7,i,t)},O7=Fo()("queston-bank-list__"),N7=function(e){var t=e.columns.owner,n=C7()(e),r=e.setSort,i={className:GA()(t7("th").toString(),O7("colOwner")),onSort:r,sortDirection:g9(n,16),sortKey:16,sortable:!0};return v.createElement(p7,i,t)},P7=yM("question-bank-list"),I7=function(e){var t=e.columns.lastUpdated,n=C7()(e),r=e.setSort,i={className:GA()(t7("th").toString(),P7("colUpdated").toString()),onSort:r,sortDirection:g9(n,8),sortKey:8,sortable:!0};return v.createElement(p7,i,t)},L7=yM("question-bank-list"),M7=function(e){var t=Dr((0,v.useState)(null),2),n=t[0],r=t[1],i=Dr((0,v.useState)(5),2),o=i[0],a=i[1],s=e.columns.questions,u=e.displayOwnerColumn,l=e.label,c=e.profiles,d=D7(e.questionBanks,c,o);return v.createElement("div",{className:L7()},v.createElement("div",{className:L7("label")},l),v.createElement(c7,null,v.createElement("colgroup",null,v.createElement("col",null),v.createElement("col",{className:L7("colQuestions")}),u&&v.createElement("col",{className:L7("colOwner")}),v.createElement("col",{className:L7("colUpdated")}),v.createElement("col",{className:L7("colMenu")})),v.createElement(h7,{className:t7("thead").toString()},v.createElement(m7,null,v.createElement(A7,Et({sort:o,setSort:a},e)),v.createElement(p7,{className:t7("th").toString()},s),u&&v.createElement(N7,Et({sort:o,setSort:a},e)),v.createElement(I7,Et({sort:o,setSort:a},e)),v.createElement(p7,null))),v.createElement(d7,null,Ra()(d).call(d,(function(t,i){var o;return v.createElement(S7,Et({key:St()(o="".concat(i,"-")).call(o,t.id),index:i,row:t,active:n,setActive:r},e))})))))},R7=function(e){return wa()(Gn()("authorId"),Gn()(Xa(),e),lP()([Gn()("firstName"),Gn()("lastName")]),KN()(" "))},D7=function(e,t,n){switch(n){case 5:return u2()(a2()(pe()(_o(),Gn()("title"))),e);case 6:return u2()(K9()(pe()(_o(),Gn()("title"))),e);case 9:return u2()(a2()(Gn()("updatedAt")),e);case 10:return u2()(K9()(Gn()("updatedAt")),e);case 17:return u2()(a2()(R7(t)),e);case 18:return u2()(K9()(R7(t)),e);default:return e}};M7.defaultProps={hasDropdownMenu:!0};var q7,j7=(qr(q7={},gN.FILL_IN_THE_BLANK,"fillin"),qr(q7,gN.MATCHING,"matching"),qr(q7,gN.MULTIPLE_CHOICE,"multiple choice"),qr(q7,gN.MULTIPLE_RESPONSE,"multiple response"),q7),F7="team",B7=function(e){var t=e.drawCount,n=e.questions,r=e.drawnQuestions,i=void 0===r?[]:r;if(i.length===t)return null;return pe()(Ax()("index",(function(e){return ls()(Ci()("id",e.id),n)})),(function(e){return e[Math.floor(Math.random()*e.length)]}),l_()(D_()(Hn()(Un())(i),"id")))(n)},U7=function(e){return Ro()("audioVideoPlayhead",e)},z7=function(e){var t=e.blockId,n=e.itemId,r=e.playheadPercentage;return t?ma()(sa()(["items",t,"items",n]),U7(r)):U7(r)},H7=function(e){var t=e.blockId,n=e.lessonId,r=e.itemId,i=e.playheadPercentage;return dl({id:n,updateFn:z7({blockId:t,lessonId:n,itemId:r,playheadPercentage:i})})},V7=__webpack_require__(67294);function W7(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W7(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):W7(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var G7=Qj,K7=["timeline"],X7="draw from question bank",$7=function(e){var t=e.animateBlockEntrance,n=e.block,r=e.className,i=e.color,o=e.courseId,a=e.courseTitle,s=e.defaultBackgroundColor,u=e.enableVideoPlaybackSpeed,l=e.handleNavigate,c=e.handleStorylineFullscreen,d=e.index,f=e.isFirstLesson,p=e.isLastBlock,h=e.isOnlyBlockInStep,m=e.labels,g=e.lessonId,y=e.lessonProgress,b=e.loadMedia,_=e.match,w=e.onContinue,k=e.partnerContent,E=e.prefersKeyboardNavigation,x=e.previewType,S=e.publishedAt,T=e.tenantId,C=n.blockId,A=n.family,O=n.items,N=n.variant,P="block-".concat(C),I=Xe(),L=function(e,t){var n=(0,v.useMemo)((function(){return YL()}),[]);return rn((function(r){return n(e,t,r)}))}(g,C),M=Dr((0,v.useState)({}),2),R=M[0],D=M[1],q=(0,v.useCallback)((function(e){var t=N===X7?O[0]:Ux()(Ci()("id",e),O);I(du({id:C,lessonId:g,items:[t]})),"continue"===A&&w(C,e)}),[C,I,A,O,g,w,N]),j=(0,v.useCallback)((function(){return I(du({id:C,lessonId:g,items:null!=O?O:[]}))}),[C,I,O,g]),F=(0,v.useCallback)((function(e){var t,n=null==O||null===(t=O[0])||void 0===t?void 0:t.id;n&&I(H7({blockId:C,itemId:n,lessonId:g,playheadPercentage:e}))}),[C,I,g,O]),B=To()(Wa()(["type"],n),{animateBlockEntrance:t,color:i,courseId:o,courseTitle:a,defaultBackgroundColor:s,dividerNumber:L,enableVideoPlaybackSpeed:u,family:A,handleNavigate:l,handleStorylineFullscreen:c,isLastBlock:p,isLearner:!0,isOnlyBlockInStep:h,labels:m,lessonId:g,loadMedia:b,match:_,partnerContent:k,prefersKeyboardNavigation:E,previewType:x,progress:y,publishedAt:S,recordMediaPlayheadPosition:F,tenantId:T});if("knowledgeCheck"===A&&N===X7){var U=R[C],z=null,H=O[0];if(!U&&H.questions?(z=B7(H),D(Y7(Y7({},R),{},qr({},C,z)))):z=U,z&&(B.originalVariant=B.variant,B.variant=j7[z.type],B.items=[z]),!z)return V7.createElement("div",null)}var V=function(e){var t=e.family,n=e.variant;return(/interactive|flashcard|knowledge|continue|360/.test(t)||/carousel|centered|checkboxes|audio|video|storyline/.test(n))&&!k_()(K7).call(K7,n)}({family:A,variant:N}),W=V?N8:C8,Y=GA()("noOutline",r);return V7.createElement("div",{className:Y,"data-ba-index":d,"data-ba":G7.block,"data-block-id":C,key:P},V7.createElement(W,{isFirstLesson:f,onStep:q,onViewed:j},V7.createElement(x8,B)))},Z7=["id"];function Q7(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function J7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q7(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Q7(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var eee=function(e,t){var n,r=e.slides,i=e.currentSlide;return i.push(t),null!==(n=t.settings)&&void 0!==n&&n.attachedToNextBlock||(r.push(i),i=[]),{slides:r,currentSlide:i}},tee=function(e){return Ea()(eee,{slides:[],currentSlide:[]},e).slides};function nee(e,t,n){var r;if(e.length){var i=Nr()(e).call(e,-1)[0];if(!ree(i.id,n))return e}var o=Ra()(r=function(e,t){var n,r=[],i=xs(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(r.push(o),e(o))break}}catch(e){i.e(e)}finally{i.f()}return r}(iee(n),Nr()(t).call(t,e.length))).call(r,oee);return o.length?nee(St()(e).call(e,o),t,n):e}var ree=function(e,t){return Il()(!1,["items",e,"isComplete"],t)},iee=function(e){return function(t){var n=t.family,r=t.items,i=Il()({},0,r);return"continue"===n&&!ree(i.id,e)}};function oee(e,t,n){var r=Nr()(n).call(n,-1)[0]||{},i="continue"===r.family&&Il()(!1,["items",0,"type"],r);return"continue"===e.variant||i&&("completeBlock"!==i||t===n.length-1||t===n.length-2)?To()(e,{requiresInteraction:!0}):e}function aee(e,t,n){var r=e.id,i=Ji(e,Z7);if("continue"===i.family){var o=Il()("",["items",0,"type"],i);return To()(J7({blockId:r},i),{canContinue:see({continueType:o,blocks:t,progress:n}),lessonProgress:n,isComplete:ree(r,n)})}return J7({blockId:r},i)}var see=function(e){var t=e.continueType,n=e.blocks,r=e.progress;switch(t){case"completeAll":return Ua()(oa()(n),cee(r));case"completeBlock":return 0===n.length||ree(dee(n),r);default:return!0}},uee=pe()(Oi(),Gn()("items")),lee=mi()(Ci()("isComplete",!0)),cee=pe()(oa(),(function(e){return pe()(lee,uee)(e)})),dee=pe()(Gn()("id"),Bl()),fee=function(e){var t=e.family,n=e.variant,r=e.isComplete,i=e.requiresInteraction;return"continue"===t&&"continue"===n&&i&&!r};function pee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var hee=Jj,mee=function(e){gt(n,e);var t=pee(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).state={randomQuestions:{},transitioning:!1},r.handleContinue=r.handleContinue.bind(ft(r)),r}return dt(n,[{key:"componentDidUpdate",value:function(){this.scrollIfContinued()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isOnePage,r=e.sectionRef,i=GA()("blocks-lesson",t,{"blocks-lesson--one-page":n});return v.createElement("section",{className:i,"data-ba":hee.container,ref:r},this.renderBlocks())}},{key:"renderBlocks",value:function(){var e,t;return _r()(e=Ra()(t=nee([],this.props.blocks,this.props.lessonProgress)).call(t,this.buildBlock.bind(this,this.props.lessonProgress))).call(e,bK)}},{key:"handleContinue",value:function(e,t){var n=this.props,r=n.blocks,i=n.history,o=n.lessonProgress,a=n.nextLesson;ree(t,o)||(this.continueFromId=e),wa()(Bl(),Ci()("id",e))(r)&&a&&i.push("/lessons/".concat(encodeURIComponent(a)))}},{key:"buildBlock",value:function(e,t,n,r){var i=this.props,o=i.animateBlockEntrance,a=i.color,s=i.courseId,u=i.courseTitle,l=i.enableVideoPlaybackSpeed,c=i.handleNavigate,d=i.handleStorylineFullscreen,f=i.labels,p=i.lessonId,h=i.loadMedia,m=i.match,g=i.partnerContent,y=i.prefersKeyboardNavigation,b=i.previewType,_=i.publishedAt,w=i.tenantId,k=aee(t,Nr()(r).call(r,0,-1),e),E=n===r.length-1;return v.createElement($7,{animateBlockEntrance:o,block:k,color:a,courseId:s,courseTitle:u,enableVideoPlaybackSpeed:l,handleNavigate:c,handleStorylineFullscreen:d,index:n,isFirstLesson:!0,isLastBlock:E,key:k.blockId,labels:f,lessonId:p,lessonProgress:e,loadMedia:h,match:m,onContinue:this.handleContinue,partnerContent:g,prefersKeyboardNavigation:y,previewType:b,publishedAt:_,tenantId:w})}},{key:"scrollIfContinued",value:function(){if(this.continueFromId){var e=this.props.blocks,t=ls()(Ci()("id",this.continueFromId),e),n=Hs()(t),r=Il()(null,["blocks",n,"id"],this.props);if(r){var i=document.querySelector(".page-wrap"),o=i.querySelector('[data-block-id="'.concat(r,'"]')),a=o?o.getBoundingClientRect().top:0;VG.ZP.animateScroll.scrollTo(a+i.scrollTop,{smooth:!0,containerId:"page-wrap"})}delete this.continueFromId}}}]),n}(v.Component),vee=pe()(oe,nn((function(e){return{isOnePage:_I(e)}}))),gee=vee(mee),yee=__webpack_require__(67294),bee=yM("page"),_ee=function(e){var t=e.type,n=e.children;return yee.createElement("div",{className:bee({lessonTypeQuiz:"quiz"===t}),"data-type":t,"data-page":!0},n)},wee=function(e){var t=e.type,n=e.children,r="video"===t||"embed"===t||"blocks"===t||"progress-summary"===t,i=GA()("page__wrapper",{"page__wrapper--white":r});return yee.createElement("div",{className:i},n)},kee=function(e){var t=e.className,n=e.type,r=e.children,i=GA()("page__content",t,{"page__content--timeline":"timeline"===n});return yee.createElement("div",{className:i},r)},Eee=__webpack_require__(67294);function xee(e){var t=e.children,n=(0,v.useRef)(),r=$L(),i=(0,v.useCallback)((function(){var e,t;null===(e=n.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);return fq(sV,i,document),Eee.createElement("main",{"aria-label":null==r?void 0:r.a11yRegionMainLesson,className:"lesson-main",ref:n,tabIndex:"-1"},t)}var See=__webpack_require__(67294),Tee=nn((function(e){return{partnerContent:Il()([],["partnerContent","content"],e)}}))((function(e){var t=e.animateBlockEntrance,n=e.color,r=e.courseId,i=e.courseTitle,o=e.data,a=e.enableVideoPlaybackSpeed,s=e.handleNavigate,u=e.handleStorylineFullscreen,l=e.labels,c=e.lessonHeader,d=e.lessonHeaderWrapClasses,f=e.lessonProgress,p=e.loadMedia,h=e.match,m=e.nextLesson,v=e.partnerContent,g=e.prefersKeyboardNavigation,y=e.previewType,b=e.publishedAt,_=e.tenantId,w=o.id,k=o.items,E=o.type,x={animateBlockEntrance:t,blocks:k,color:n,courseId:r,courseTitle:i,enableVideoPlaybackSpeed:a,handleNavigate:s,handleStorylineFullscreen:u,isFirstLesson:!0,labels:l,lessonId:w,lessonProgress:f,loadMedia:p,match:h,nextLesson:m,partnerContent:v,previewType:y,prefersKeyboardNavigation:g,publishedAt:b,tenantId:_,type:E};return See.createElement(_ee,{type:E},See.createElement(wee,{type:E},See.createElement(xee,null,See.createElement("div",{className:d},c),See.createElement(kee,null,See.createElement(gee,x)))))})),Cee=__webpack_require__(67294);function Aee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Oee=function(e){gt(n,e);var t=Aee(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).type=XZ(e.items),r.state={isLoaded:"video"!==r.type},r}return dt(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.id;"video"===this.type&&setTimeout((function(){e.setState({isLoaded:!0})}),800),lI(function(e){return function(t){return t(cl({id:e,updateFn:fu}))}}(t))}},{key:"render",value:function(){if(!this.state.isLoaded)return null;var e=this.props,t=e.id,n=e.items,r=e.labels,i=Wn()([0,"media","embed"],n),o=Wn()([0,"settings","showMetaData"],n);return Cee.createElement("section",{"aria-label":"URL/Embed Content",className:"embed-lesson"},Cee.createElement("div",{className:"embed-lesson__item",key:t},Cee.createElement("div",{className:"embed-lesson__row"},Cee.createElement("div",{className:"embed-lesson__main"},Cee.createElement(rQ,{data:i,isLesson:!0,labels:r,showMetaData:o})))))}}]),n}(Cee.Component),Nee=(w().any,w().array,w().object,__webpack_require__(67294)),Pee=function(e){var t=e.color,n=e.data,r=n.id,i=n.items,o=n.type,a=e.labels,s=e.lessonHeader,u=e.lessonHeaderWrapClasses,l=e.lessonProgress;return Nee.createElement(_ee,{type:o},Nee.createElement(wee,{type:o},Nee.createElement(xee,null,Nee.createElement("div",{className:u,style:{color:t}},s),Nee.createElement(kee,null,Nee.createElement(Oee,{id:r,items:i,labels:a,lessonProgress:l})))))},Iee=__webpack_require__(67294);function Lee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Mee=function(e){gt(n,e);var t=Lee(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).onItemSelected=r.onItemSelected.bind(ft(r)),r}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.accentColor,n=e.id,r=e.image,i=void 0===r?{}:r,o=e.items,a=e.isPreview,s=e.labels,u=e.lessonProgress,l=e.readOnly,c=GA()("page__content-container","labeled-graphic-lesson-content-container"),d={accentColor:t,animateBlockEntrance:!1,editable:!1,items:o,isPreview:a,isLearner:!0,labels:s,media:{image:i},onItemSelected:l?void 0:this.onItemSelected,parentId:n,progress:u};return Iee.createElement("section",{"aria-label":"Labeled Graphic Content",className:"page__content"},Iee.createElement("div",{className:c},Iee.createElement(a3,d)))}},{key:"onItemSelected",value:function(e){var t=this.props.id;lI(function(e){var t=e.id,n=e.itemId;return function(e){return e(cl({id:t,updateFn:vu(n)}))}}({id:t,itemId:e}))}}]),n}(Iee.Component),Ree=__webpack_require__(67294),Dee=function(e){var t=e.color,n=e.labels,r=e.lessonHeader,i=e.lessonHeaderWrapClasses,o=e.lessonProgress,a=e.data,s=a.id,u=a.items,l=a.media,c=a.type;return Ree.createElement(_ee,{type:c},Ree.createElement(wee,{type:c},Ree.createElement(xee,null,Ree.createElement("div",{className:i,style:{color:t}},r),Ree.createElement(kee,null,Ree.createElement(Mee,{id:s,items:u,labels:n,lessonProgress:o,image:l.image})))))},qee=__webpack_require__(67294);function jee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Fee=function(e){gt(n,e);var t=jee(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={hide:!1},r}return dt(n,[{key:"focus",value:function(){this.controlDiv.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.atStart,i=t.isTransitioning,o=t.labels,a=t.onClick,s=t.type,u=this.state.hide,l="next"===s,c=l&&!i&&!r,d=GA()("process__"+s,"brand--min768--background",{"brand--max768--color":r,"process__controls--hide":u,"process__controls--animating":i,"process__controls--clip":c}),f=l?"icon-chevron-right":"icon-chevron-left";return qee.createElement("button",{"aria-hidden":!n,"aria-label":l?null==o?void 0:o.a11yCarouselNext:null==o?void 0:o.a11yCarouselPrevious,className:d,onClick:a,ref:function(t){e.controlDiv=t},tabIndex:zY(n),type:"button"},qee.createElement("div",{className:"process__control-content","data-next-step":null==o?void 0:o.processNextStep},qee.createElement("div",{className:"process__control-animation"},qee.createElement("i",{className:f}))))}}]),n}(qee.Component),Bee=__webpack_require__(67294);function Uee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var zee=function(e){var t=e.processStepName,n=e.index,r=e.processStepPreposition,i=e.steps;return Bee.createElement("div",{className:"card__side"},Bee.createElement("div",{className:"card__step-label brand--background brand--body"},t," ",n," ",r," ",i))},Hee=function(e){var t=e.allowTabNavigation,n=e.description,r=e.index,i=e.labels,o=e.loadMedia,a=e.media,s=e.onFullScreenChange,u=e.settings,l=e.title,c=e.lessonNumber;return Bee.createElement("div",{className:"card__main"},Bee.createElement($M,{className:"card__title brand-afterBackground brand--lhead",tagName:"h1",value:l}),Bee.createElement("div",{className:"card__media"},o?Bee.createElement(kQ,{defaultAlign:"center",index:"".concat(r),labels:i,media:a,opts:u,onFullScreenChange:s,allowTabNavigation:t,lessonNumber:c}):null),Bee.createElement($M,{className:"card__description brand--lbody brand--linkColor",value:n,allowTabNavigation:t}))},Vee=function(e){gt(n,e);var t=Uee(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e=this.props,t=e.index,n=e.labels,r=e.steps,i=n.processStepName,o=n.processStepPreposition;return Bee.createElement("div",{className:"card"},Bee.createElement("div",{className:"card__container"},Bee.createElement("div",{className:"card__row"},Bee.createElement(zee,{processStepName:i,index:t,processStepPreposition:o,steps:r}),Bee.createElement(Hee,this.props))))}}],[{key:"defaultProps",get:function(){return{settings:{}}}}]),n}(Bee.Component),Wee=__webpack_require__(67294),Yee=function(e){var t,n,r=e.current,i=e.labels,o=i.processComplete,a=i.processLessonName;return St()(t=St()(n="".concat(a," ")).call(n,r," ")).call(t,o)},Gee=function(e){var t=e.applySafariLandscapeHack,n=e.children,r=e.current,i=e.labels,o=e.onReplay,a=GA()("process-end__footer",{"process-end__footer--mobile-safari-landscape":t});return Wee.createElement("div",{className:"process-end"},Wee.createElement("div",{className:"process-end__container"},Wee.createElement("div",{className:"process-end__message"},Wee.createElement("h1",{className:"process-end__text brand--ui"},Yee({current:r,labels:i})))),Wee.createElement(L5,{onClick:o,text:i.processStartAgain}),Wee.createElement("div",{className:a},n))},Kee=__webpack_require__(67294);function Xee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var $ee=function(e){gt(n,e);var t=Xee(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"render",value:function(){var e,t=this.props,n=t.allowTabNavigation,r=t.authorName,i=t.avatar,o=t.children,a=t.description,s=t.labels,u=t.lessonNumber,l=t.showLessonCount,c=t.title,d=t.totalLessons,f=s.lessonName,p=s.lessonPreposition;return Kee.createElement("div",{className:"process-header"},Kee.createElement("div",{className:"process-header__container"},Kee.createElement("div",{className:"process-header__limit"},Kee.createElement("div",{className:"process-header__row"},Kee.createElement("div",{className:"process-header__main"},Kee.createElement("div",{className:"process-header__top-wrap brand--afterBackground"},Kee.createElement($M,{className:"process-header__title brand--lhead",tagName:"h1",value:c}),i&&r?Kee.createElement("div",{className:"process-header__author brand--ui"},Kee.createElement("img",{src:lx("".concat(i)),alt:""}),Kee.createElement("span",{className:"visually-hidden"},null==s?void 0:s.a11yAuthorPrefix," ",r),Kee.createElement("span",{"aria-hidden":"true"},r)):null,l&&function(e){var t,n,r,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.totalLessons;return Kee.createElement("div",{className:"process-header__counter brand--body"},Kee.createElement("div",{className:"process-header__count"},St()(t=St()(n=St()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s)))}({lessonName:f,lessonNumber:u,lessonPreposition:p,totalLessons:d})),Ra()(e=Kee.Children).call(e,o,(function(e){return e&&e.type===kZ?Kee.createElement("div",{className:"process-header__audio"},e):null})),Kee.createElement($M,{className:"process-header__description brand--lbody editor-text brand--linkColor",value:a,allowTabNavigation:n}))),o)))}}]),n}(Kee.Component),Zee=__webpack_require__(67294);function Qee(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Jee=NY(".next-lesson__link"),ete=NY(".restart-button"),tte=Il()(0,["lessonProgress","activeIndex"]),nte=function(e){gt(n,e);var t=Qee(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null,resetContentFocus:!1,isTransitioning:!1},r.handleKeyDown=r.handleKeyDown.bind(ft(r)),r.handleReplay=r.handleReplay.bind(ft(r)),r.handleScroll=r.handleScroll.bind(ft(r)),r.leftSwipe=r.nextSlide.bind(ft(r)),r.nextSlide=r.nextSlide.bind(ft(r)),r.previousSlide=r.previousSlide.bind(ft(r)),r.renderItem=r.renderItem.bind(ft(r)),r.rightSwipe=r.previousSlide.bind(ft(r)),r.handleAnimationEnd=r.handleAnimationEnd.bind(ft(r)),r}return dt(n,[{key:"handleScroll",value:function(){var e=window.pageYOffset,t=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(window.matchMedia("(min-width: 768px)").matches){var n=t/2+e-50;this.previousContainer.style.transform="translate3d(-50px, ".concat(n,"px, 0)"),this.nextContainer.style.transform="translate3d(50px, ".concat(n,"px, 0)")}else{this.previousContainer.style.transform="none",this.nextContainer.style.transform="none";var r=t+e-(lF.isIphoneSafari?94:50);this.controls.style.transform="translate3d(0, ".concat(r,"px, 0)")}}},{key:"componentDidMount",value:function(){var e=this.controlsContainer;this.swipeEvents=j3(e,this,this.leftSwipe,this.rightSwipe),this.swipeEvents.addListeners(),document.addEventListener("keydown",this.handleKeyDown),lF.isSafari9&&(this.scrollRef=NQ()(this.handleScroll,10),window.addEventListener("scroll",this.scrollRef),this.handleScroll()),this.preventFocusOnOverflowElements(),this.controlsContainer.addEventListener("animationend",this.handleAnimationEnd)}},{key:"componentWillUnmount",value:function(){this.swipeEvents.removeListeners(),document.removeEventListener("keydown",this.handleKeyDown),lF.isSafari9&&window.removeEventListener("scroll",this.scrollRef),this.controlsContainer.removeEventListener("animationend",this.handleAnimationEnd)}},{key:"componentDidUpdate",value:function(e){this.handleSlideScroll(e)}},{key:"render",value:function(){var e,t=this,n=this.isAtStart(),r=this.isAtEnd(),i=this.props.labels.processLandmark;return Zee.createElement("section",{"aria-label":i,className:this.getClassName({isAtStart:n,isAtEnd:r}),ref:function(e){t.controlsContainer=e}},this.renderControls({isAtStart:n,isAtEnd:r}),Zee.createElement("div",{className:"process__wrap"},this.renderStart(),Ra()(e=this.props.items).call(e,this.renderItem),this.renderEnd()))}},{key:"renderControls",value:function(e){var t=this,n=e.isAtStart,r=e.isAtEnd,i=this.props,o=i.applySafariLandscapeHack,a=i.labels,s=i.safariLandscapeHackOffset,u=this.getControlsClassName({isAtStart:n,isAtEnd:r}),l=o?{bottom:s}:{},c=this.state.isTransitioning;return Zee.createElement(dD(),null,Zee.createElement("div",{className:this.getMenuClassName()},Zee.createElement("div",{ref:function(e){t.controls=e},className:u,style:l},Zee.createElement("div",{ref:function(e){t.nextContainer=e}},Zee.createElement(Fee,{allowTabNavigation:!r,atStart:n,labels:a,onClick:this.nextSlide,ref:function(e){t.nextControl=e},isTransitioning:c,type:"next"})),Zee.createElement("div",{ref:function(e){t.previousContainer=e}},Zee.createElement(Fee,{allowTabNavigation:!n,atStart:n,labels:a,onClick:this.previousSlide,ref:function(e){t.previousControl=e},isTransitioning:c,type:"previous"})))))}},{key:"renderStart",value:function(){var e=this,t=this.props,n=t.authorName,r=t.avatar,i=t.description,o=t.items,a=t.labels,s=t.lessonNumber,u=t.showLessonCount,l=t.title,c=t.totalLessons,d=t.type,f=this.isAtStart();return Zee.createElement("div",{"aria-hidden":!f,className:this.getItemClassName(0),ref:function(t){e["item-".concat(0)]=t}},Zee.createElement("div",{className:"process__item-wrap"},Zee.createElement($ee,{allowTabNavigation:f,authorName:n,avatar:r,description:i,labels:a,lessonNumber:s,onFullScreenChange:this.handleFullScreenChange,showLessonCount:u,steps:o.length,title:l,totalLessons:c,type:d})))}},{key:"renderItem",value:function(e,t){var n=this,r=this.props,i=r.items,o=r.labels,a=r.loadMedia,s=r.lessonNumber,u=Hs()(t),l=tte(this.props),c=u===l;return Zee.createElement("div",{"aria-hidden":!c,className:this.getItemClassName(u),key:"item-".concat(e.id),ref:function(e){n["item-".concat(u)]=e}},Zee.createElement("div",{className:"process__item-wrap"},Zee.createElement(Vee,{allowTabNavigation:c,description:e.description,id:e.id,index:u,key:e.id,labels:o,lessonNumber:s,loadMedia:a,media:e.media,onFullScreenChange:this.handleFullScreenChange,settings:e.settings,steps:i.length,title:e.title})))}},{key:"renderEnd",value:function(){var e=this,t=this.props,n=t.applySafariLandscapeHack,r=t.items,i=t.labels,o=t.lessonNumber,a=Hs()(r.length);return Zee.createElement("div",{"aria-hidden":!this.isAtEnd(),className:this.getItemClassName(a),ref:function(t){e["item-".concat(a)]=t}},Zee.createElement("div",{className:"process__item-wrap"},Zee.createElement(Gee,{applySafariLandscapeHack:n,current:o,labels:i,onReplay:this.handleReplay})))}},{key:"preventFocusOnOverflowElements",value:function(){var e=zY(this.isAtEnd());HY(Jee(),e),HY(ete(),e)}},{key:"focusNextElement",value:function(){var e=this.nextControl,t=this.previousControl;if(this.isAtEnd()){var n=Jee();n?n.focus():t.focus()}else this.isAtStart()&&e.focus()}},{key:"updateFocusForActiveCard",value:function(){!GY(this["item-".concat(tte(this.props))])&&this.isAtStart()&&this.focusNextElement()}},{key:"handleAnimationEnd",value:function(e){var t=e.animationName,n=Un()(t,["showcard","showcardUp"]);(this.state.isTransitioning&&this.setState({isTransitioning:!1}),n&&this.state.resetContentFocus)?(this.props.prefersKeyboardNavigation&&this.updateFocusForActiveCard(),this.setState({resetContentFocus:!1})):"showFoot"===t&&this.focusNextElement()}},{key:"getClassName",value:function(e){var t=e.isAtStart,n=e.isAtEnd;return GA()("process",{"process--reverse-animation":"backwards"===this.props.lessonProgress.direction,"process--at-start":t,"process--at-end":n})}},{key:"getControlsClassName",value:function(e){var t=e.isAtStart,n=e.isAtEnd;return GA()("process__controls",{"process__controls--at-start":t,"process__controls--at-end":n})}},{key:"getItemClassName",value:function(e){var t=tte(this.props);return GA()("process__item",{"process__item--active":e===t,"process__item--done":e<t,"process__item--next":xI()(e)===t})}},{key:"getMenuClassName",value:function(){var e=this.props,t=e.menuOpen,n=e.mobileMenuOpen,r=!!document.querySelector(".lesson--preview");return GA()("lesson-controls-wrapper",{"lesson--open":t&&!r,"lesson--open-mobile":n&&!r})}},{key:"previousSlide",value:function(){if(!this.isAtStart()){this.slidePrep();var e=this.props,t=e.id,n=e.lessonProgress,r=Math.max(0,xI()(Ru()(0,"activeIndex",n)));this.setState({resetContentFocus:!0}),lI(function(e){var t=e.activeIndex,n=e.id;return function(e){return e(cl({id:n,updateFn:_u(t)}))}}({activeIndex:r,id:t}))}}},{key:"nextSlide",value:function(){if(!this.isAtEnd()){this.isAtStart()&&this.setState({isTransitioning:!0}),this.slidePrep();var e=this.props,t=e.id,n=e.items,r=e.lessonProgress,i=Math.max(0,Hs()(Ru()(0,"activeIndex",r))),o=Wn()([xI()(i),"id"],n);this.setState({resetContentFocus:!0}),lI(function(e){var t=e.activeIndex,n=e.id,r=e.itemId;return function(e){return e(cl({id:n,updateFn:wu({activeIndex:t,itemId:r})}))}}({activeIndex:i,id:t,itemId:o}))}}},{key:"handleKeyDown",value:function(e){Dl()([[yW,this.previousSlide],[bW,this.nextSlide]])(e)}},{key:"slidePrep",value:function(){mZ.pause(),this.setState({xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null})}},{key:"handleReplay",value:function(){lI(function(e){var t=e.id;return function(e){return e(cl({id:t,updateFn:bu}))}}({id:this.props.id}))}},{key:"handleFullScreenChange",value:function(){var e=document.querySelector(".process__item--active");document.webkitFullscreenElement?e.style.animationDuration="0s":setTimeout((function(){e.style.animationDuration=""}),750)}},{key:"handleSlideScroll",value:function(e){var t=Il()(0,["lessonProgress","activeIndex"],e);if(t!==Il()(0,["lessonProgress","activeIndex"],this.props)){var n=document.querySelector(".page-wrap"),r=n.scrollTop;this["item-".concat(t)].scrollTop=r,n.scrollTop=0,this.preventFocusOnOverflowElements()}}},{key:"isAtStart",value:function(){return yu()(Gn()("activeIndex",this.props.lessonProgress))}},{key:"isAtEnd",value:function(){var e=this.props,t=e.items,n=e.lessonProgress;return Ci()("activeIndex",Hs()(t.length),n)}}]),n}(Zee.Component),rte=Xz("Progress"),ite=__webpack_require__(67294);function ote(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var ate=function(e){return function(t){gt(r,t);var n=ote(r);function r(e){var t;return nt(this,r),(t=n.call(this,e)).state={orientation:{},navigationHidden:{}},t.applySafariLandscapeHack=t.applySafariLandscapeHack.bind(ft(t)),t.root=function(){for(var e=window;e.parent!=e;)e=e.parent;try{e.innerHeight}catch(e){return window}return e}(),t}return dt(r,[{key:"componentDidMount",value:function(){lF.isIphoneSafari&&(this.applySafariLandscapeHack(),this.root.addEventListener("resize",this.resizeRef=NQ()(this.applySafariLandscapeHack,500)))}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef)}},{key:"applySafariLandscapeHack",value:function(){var e=this.root,t=window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape",n=("landscape"===t?screen.width:screen.height)-e.innerHeight;t==this.state.orientation&&n==this.state.difference||("landscape"===t&&0!==n&&setTimeout((function(){e.document.body.scrollTop=0}),0),this.setState({orientation:t,difference:n}))}},{key:"render",value:function(){return ite.createElement(e,Et({},this.props,{applySafariLandscapeHack:"landscape"===this.state.orientation&&0!==this.state.difference,safariLandscapeHackOffset:this.state.difference}))}}]),r}(ite.Component)},ste=__webpack_require__(67294),ute=ate(nte),lte=function(e){var t=e.authorName,n=e.avatar,r=e.data,i=r.description,o=r.id,a=r.items,s=r.title,u=r.type,l=e.labels,c=e.lessonNumber,d=e.lessonProgress,f=e.loadMedia,p=e.prefersKeyboardNavigation,h=e.showLessonCount,m=e.totalLessons;return ste.createElement(_ee,{type:u},ste.createElement(wee,{type:u},ste.createElement(xee,null,ste.createElement(kee,{type:u,items:a},ste.createElement(rte,{id:o,items:a,lessonProgress:d,type:"process"}),ste.createElement(ute,{authorName:t,avatar:n,description:i,id:o,items:a,labels:l,loadMedia:f,lessonNumber:c,lessonProgress:d,prefersKeyboardNavigation:p,showLessonCount:h,title:s,totalLessons:m,type:u})))))},cte=__webpack_require__(67294),dte=function(e){var t=e["aria-label"],n=e.title,r=e.desc,i=e.width,o=void 0===i?"26":i,a=e.height,s=void 0===a?"24":a,u=e.className,l=e.focusable,c=void 0===l?"false":l,d=e.role,f=void 0===d?"img":d;return cte.createElement("svg",{viewBox:"0 0 26 24",width:o,height:s,"aria-label":t,className:GA()("i i-checkedbox",u),focusable:c,role:f},n&&cte.createElement("title",null,n),r&&cte.createElement("desc",null,r),cte.createElement("path",{fillRule:"nonzero",d:"M12.214 11.686L23.224.328a1.08 1.08 0 1 1 1.551 1.504L12.99 13.99a1.08 1.08 0 0 1-1.551 0L7.153 9.569a1.08 1.08 0 1 1 1.551-1.504l3.51 3.621zM2.58 21h18.197v-9.973a1.08 1.08 0 1 1 2.16 0V22.08a1.08 1.08 0 0 1-1.08 1.08H1.5a1.08 1.08 0 0 1-1.08-1.08v-21C.42.484.904 0 1.5 0h15a1.08 1.08 0 0 1 0 2.16H2.58V21z"}))},fte=__webpack_require__(67294),pte=function(e){var t=e.percentComplete,n=e.trackingCompletionPercentage;return Jo()(n)?null:fte.createElement("div",{className:"progress-summary__requirement"},fte.createElement("div",{className:"progress-summary__requirement-stats-wrap"},fte.createElement("h2",{className:"progress-summary__requirement-title"},"Completion Requirement"),fte.createElement("div",{className:"progress-summary__requirement-stats"},fte.createElement("div",null,n,"% Completion"),fte.createElement("div",null,"You completed: ",fte.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},t,"%")))),fte.createElement(mte,{requirementMet:n<=t}))},hte=function(e){var t=e.outOfAttempts,n=e.quizPassed,r=e.quizPassingScore,i=e.quizScore,o=e.quizTitle,a=e.trackingQuizId;return a?fte.createElement("div",{className:"progress-summary__requirement"},fte.createElement("div",{className:"progress-summary__requirement-stats-wrap"},fte.createElement("h2",{className:"progress-summary__requirement-title"},"Quiz Requirement"),fte.createElement("div",{className:"progress-summary__requirement-stats"},fte.createElement("div",null,"Score of ",r,"% on ",o),Jo()(i)?fte.createElement("div",null,fte.createElement(zj,{className:"progress-summary__requirement-stats-link brand--color",to:"/lessons/".concat(a)},"View quiz")):fte.createElement("div",null,"You scored ",fte.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},i,"%"))),t&&fte.createElement("span",{className:"progress-summary__requirement-no-attempts"},"No attempts remaining.")),fte.createElement(mte,{requirementMet:n})):null},mte=function(e){return e.requirementMet?fte.createElement(dte,{"aria-label":"Requirement completed, check mark",className:"progress-summary__requirement-checkbox-checked"}):fte.createElement("div",{"aria-label":"Requirement not completed, empty square",className:"progress-summary__requirement-checkbox-empty",role:"img"})},vte=function(e){var t=e.dueAt;return t?v.createElement("div",{className:"progress-summary__header-due brand--color brand--border"},cR(t)):null},gte=__webpack_require__(40725),yte=__webpack_require__.n(gte),bte=__webpack_require__(67294);function _te(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var wte,kte=["#eb524d","#ffac02","#ffcc00","#28cea9","#4fbdf4","#6788e4"],Ete=function(e){gt(n,e);var t=_te(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).state={run:!1,recycle:!0},r.startConfetti=r.startConfetti.bind(ft(r)),r}return dt(n,[{key:"startConfetti",value:function(){var e=this;clearTimeout(this.timeout),this.timeout=setTimeout((function(){return e.setState({recycle:!1})}),1e4),this.setState({run:!0})}},{key:"componentDidMount",value:function(){clearTimeout(this.timeout),this.timeout=setTimeout(this.startConfetti,900)}},{key:"shouldComponentUpdate",value:function(e,t){return t.recycle!==this.state.recycle||t.run!==this.state.run}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this.state,t=e.recycle,n=e.run;return bte.createElement("div",{className:"progress-summary__confetti"},bte.createElement(yte(),{width:window.innerWidth,height:window.innerHeight,recycle:t,run:n,numberOfPieces:500,gravity:.4,colors:kte}))}}]),n}(bte.Component),xte=Ete,Ste=__webpack_require__(92148),Tte=__webpack_require__.n(Ste),Cte=__webpack_require__(79005),Ate=__webpack_require__.n(Cte),Ote=__webpack_require__(47187),Nte=__webpack_require__.n(Ote),Pte=__webpack_require__(2507),Ite=__webpack_require__.n(Pte),Lte=__webpack_require__(5917),Mte=__webpack_require__.n(Lte),Rte=__webpack_require__(40636),Dte=__webpack_require__.n(Rte),qte=__webpack_require__(11806),jte=__webpack_require__.n(qte),Fte=__webpack_require__(58e3),Bte=__webpack_require__.n(Fte),Ute=__webpack_require__(25786),zte=__webpack_require__.n(Ute),Hte=__webpack_require__(29732),Vte=__webpack_require__.n(Hte),Wte=["alt"];function Yte(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gte(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yte(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Yte(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var Kte=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var Xte=jte()(Kte),$te=function(e){return!BS()(Number(e))},Zte=Ate()(2,(function(e){var t=Vte()($te,Dte()(e));return Bte()(Xte,Nte()({h:t,height:t,w:t,width:t}),zte(),Mte()(Ite()(":")),Ite()(","))})),Qte=function(e){var t=e.imagesUri,n=e.hidpi,r=e.imageKey;if(null!=r){var i=function(e,t,n){var r,i;return St()(r=St()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,Zte(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var Jte="styles_image__32Tdo";!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".styles_image__32Tdo{display:inline-block}",{insertAt:"top"});var ene=Tte()(St()(wte=["imagesUri","imageKey","hidpi","style"]).call(wte,Kte)),tne=function(e){return Gte(Gte({},e.style),Qte(e))},nne=function(e){var t=e.alt,n=Ji(e,Wte);return v.createElement("span",kt()({"aria-label":t,className:Jte,role:"img",style:tne(n)},ene(n)))};nne.defaultProps={alt:"Image",imagesUri:"",style:{}};var rne=nne,ine=yM("progress-summary-card"),one=function(e){var t=e.completeLabel,n=e.isComplete,r=e.isUrgent,i=e.completedDate,o=e.labelDue;return n?v.createElement("div",{className:"progress-summary-card__completed-label"},t,v.createElement("span",{className:"progress-summary-card__completed-date"},i)):o?v.createElement("div",{className:GA()("progress-summary-card__due-label",qr({},"brand--color",r))},o):null},ane=function(e){var t=e.cardImageKey,n=void 0===t?null:t,r=e.className,i=e.color,o=void 0===i?"#ff6602":i,a=e.completedAt,s=void 0===a?null:a,u=e.coverImageKey,l=void 0===u?null:u,c=e.disable,d=void 0!==c&&c,f=e.durationHidden,p=void 0!==f&&f,h=e.enrolledAt,m=void 0===h?null:h,g=e.hidden,y=void 0!==g&&g,b=e.imagesUri,_=void 0===b?"":b,w=e.isLearningPath,k=void 0!==w&&w,E=e.isUrgent,x=void 0!==E&&E,S=e.labelAssignedToMe,T=void 0===S?"":S,C=e.labelDue,A=void 0===C?"":C,O=e.labelDuration,N=void 0===O?"":O,P=e.labelLearningPath,I=void 0===P?"":P,L=e.onClick,M=void 0===L?Hl:L,R=e.progress,D=void 0===R?0:R,q=e.title,j=void 0===q?"":q,F=null!==s,B=(0,v.useCallback)((function(){d||null==M||M()}),[d,M]),U=(0,v.useCallback)((function(e){hW(e)&&e.preventDefault(),!d&&dW(e)&&(null==M||M())}),[d,M]),z=n||l,H="".concat(Math.round(D),"% Complete"),V="".concat(_M()(new Date(s)).format("MM/DD/YY")),W=ine("card",{disabled:d}),Y=ine("image-overlay",{"not-started":!(D||F),"in-progress-completed":D||F});return v.createElement("div",{"aria-hidden":y,className:W,onClick:B},v.createElement("div",{className:"progress-summary-card__content"},v.createElement("button",{"aria-disabled":d,className:GA()("progress-summary-card__title-button",qr({},r,r)),tabIndex:y?-1:void 0,role:"link",type:"button",onKeyDown:U},v.createElement("span",{className:"progress-summary-card__title"},j||"(No Title)")),v.createElement("div",{className:"progress-summary-card__course-info"},k&&v.createElement("div",{className:"progress-summary-card__hide"},I),m&&v.createElement("div",{className:"progress-summary-card__hide"},T),Boolean(D)&&!d&&!s&&v.createElement("span",{className:"progress-summary-card__hide"},H),!p&&!F&&v.createElement("div",{className:"progress-summary-card__duration"},N),v.createElement(one,{isComplete:F,isUrgent:x,completedDate:V,labelDue:A,completeLabel:"Completed: "}))),v.createElement("div",{className:"progress-summary-card__image-wrap"},v.createElement(rne,{alt:"","aria-hidden":"true",b:"fff",className:"progress-summary-card__image",f:"jpg",h:150,imageKey:z,imagesUri:_,s:"cover",style:{backgroundColor:o},w:300}),v.createElement("div",{className:Y}),v.createElement("div",{className:"progress-summary-card__image-overlay-bottom-bar"},Boolean(D)&&!d&&!F&&v.createElement("div",{"aria-hidden":"true",className:"progress-summary-card__progress-bar-wrap"},v.createElement("div",{className:"progress-summary-card__wrap-light"},v.createElement("div",{className:"progress-summary-card__progress-bar",style:{width:"".concat(D,"%")}}))))))},sne=__webpack_require__(67294),une=Xn("IMAGES_URI"),lne=["cardImageKey","color","coverImageKey","progress","score","title"],cne=function(e,t){return 1===e?t:St()(t).call(t,"s")},dne=Il()([],["course","course","lessons"]),fne=function(e){return pe()(SE(),l_()(Xo()(Ci()("type","section"),D_()(Un()(Xa(),e),"id"))),dne)},pne=function(e){var t=dne(e),n=e.trackingQuizId,r=e.score;if(n&&t.length){var i=Ux()(Ci()("id",n),t),o=i.settings;return r<(o=void 0===o?{}:o).passingScore&&i}},hne=pe()(Ux()(os()(Ci()("type","section"))),dne),mne=B_()(2,(function(e){return pe()(Ru()("","id"),Ux()(Boolean),lP()([fne(e),pne,hne]))})),vne=function(e){var t,n=_M().duration(e),r=n.hours(),i=n.minutes(),o=St()(t="".concat(r," ")).call(t,cne(r,"hr")),a="".concat(i," min");return r>=100?"100+ hrs":r>0&&i>0?[o,a].join(" "):r>0?o:a},gne=nn(Gn()("learningPathUpNext"))((function(e){var t,n=e.color,r=e.learningPathComplete,i=e.learningPathId,o=e.isSuccess,a=e.nextCourse,s=e.nextCourse,u=(s=void 0===s?{}:s).dueAt,l=s.courseId,c=void 0===l?"":l,d=s.lessonCount,f=s.lessonsCompleted,p=void 0===f?[]:f,h=s.sourceType,m=s.timeToComplete,g=(0,v.useMemo)((function(){return mne(p,a)}),[a,p]);Jo()(a.color)&&(a.color=n);var y=ba()(lne,a),b=(0,v.useCallback)((function(){var e;"PACKAGE"===h?(top.sessionStorage.setItem("upNextCourseId",c),top.location.assign("/learning-path/".concat(i))):function(){Ix("goToLearn")&&Px.goToLearn.apply(Px,arguments)}(St()(e="".concat(c,"/lessons/")).call(e,g))}),[c,i,g,h]);return o&&!r&&sne.createElement("div",{className:"progress-summary__lp-next"},sne.createElement("div",{className:"progress-summary__lp-next-inner"},sne.createElement("div",{className:"progress-summary__lp-next-label"},"Next up ",sne.createElement(tO,{className:"progress-summary__lp-next-label-icon",decorative:!0})),sne.createElement("div",{className:"progress-summary__lp-next-card"},sne.createElement(ane,Et({imagesUri:une,labelCount:St()(t="".concat(d," ")).call(t,cne(d,"lesson")),labelDue:cR(u),labelDuration:vne(m),noFavoriteBtn:!0,noCertDownload:!0,onClick:b},y)))))})),yne=__webpack_require__(67294),bne="".concat(Xn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),_ne=pe()(oa(),mi()(Gn()("isComplete")),Oi()),wne=nn(pe()(ba()(["learningPathComplete","lpHasFailedQuiz"]),Gn()("learningPathUpNext")),(function(e,t){var n=t.course,r=n.riseComCourseId,i=n.riseComLearningPathId;return{fetchLpUpNext:pe()(e,gP,Zr()({courseId:r,learningPathId:i}))}}))((function(e){var t,n=e.color,r=e.course,i=void 0===r?{}:r,o=e.courseProgress,a=void 0===o?{}:o,s=e.fetchLpUpNext,u=e.lessons,l=void 0===u?[]:u,c=e.learningPathComplete,d=e.lpHasFailedQuiz,f=a.lessons,p=void 0===f?{}:f,h=a.percentComplete,m=i.dueAt,g=i.certificateDownload,y=i.completionCelebration,b=i.lessonsOnly,_=void 0===b?[]:b,w=i.riseComLearningPathId,k=i.trackingCompletionPercentage,E=i.trackingQuizId,x=Jo()(k)&&Jo()(E),S=x?100===h:sx(),T=_.length,C=_ne(p);(0,v.useEffect)((function(){w&&s()}),[]);var A=(0,v.useMemo)((function(){return S?i.completedAt?i.completedAt:new Date:null}),[i.completedAt,S]),O=(0,v.useMemo)((function(){return Ux()(Al()(Ci()("type","quiz"),Ci()("id",E)),l)}),[E,l]),N=(0,v.useMemo)((function(){return Ru()(void 0,"title",O)}),[O]),P=(0,v.useMemo)((function(){return Il()(100,["settings","passingScore"],O)}),[O]),I=Il()(null,["lessons",E,"passed"],a),L=(0,v.useMemo)((function(){return pe()(ti()(Ci()("percentComplete",100),Gn()("score"),Zr()(null)),Il()({},["lessons",E]))(a)}),[a,E]),M=QI(a,O,E).outOfAttempts,R=!E||I,D=GA()("progress-summary",{"progress-summary__no-req":x}),q=i.type===Fb,j=St()(t="You've completed ".concat(C," of ")).call(t,T," lessons."),F=q?S?"Complete":"Incomplete":j;return yne.createElement(iY(),{title:ZY(i.title+" - Progress Summary")},yne.createElement("div",{className:D},S&&y&&R&&yne.createElement(xte,null),yne.createElement("header",{className:"progress-summary__header"},yne.createElement("h1",{className:"progress-summary__header-title"},S&&!x&&R?"Congratulations!":"Progress Summary"),x?yne.createElement("div",{className:"progress-summary__lessons-completed"},F):S?yne.createElement("div",{className:"progress-summary__header-completion-date"},R&&yne.createElement("img",{className:"progress-summary__header-trophy",src:bne,alt:"trophy"}),_M()(A).format("MMMM Do, YYYY")):yne.createElement(vte,{dueAt:m})),yne.createElement("section",{className:"progress-summary__section"},!x&&S&&yne.createElement("div",{className:"progress-summary__requirements-met"},"You've met all the requirements."),x?!w&&yne.createElement(zj,{to:"/",className:"progress-summary__start-over"},"Start Over",yne.createElement("i",{className:"progress-summary__start-over-icon icon icon-reload"})):yne.createElement("div",{className:"progress-summary__requirements"},yne.createElement(pte,{percentComplete:h,trackingCompletionPercentage:k}),yne.createElement(hte,{outOfAttempts:M,quizPassed:I,quizPassingScore:P,quizScore:L,quizTitle:N,trackingQuizId:E})),(S||x)&&yne.createElement("div",{className:"progress-summary__completion-controls"},yne.createElement("button",{role:"link",className:"progress-summary__btn-back progress-summary__completion-control brand--background",onClick:Lx,type:"button"},"Back to my learning"),S&&(!w&&g||w&&c)&&g&&R&&!d&&yne.createElement("span",{className:"progress-summary__completion-control"},yne.createElement(hH,null)))),S&&!!w&&yne.createElement(gne,{color:n,learningPathId:w})))})),kne=__webpack_require__(67294),Ene=["contentClassName"],xne=function(e){var t=e.contentClassName,n=Ji(e,Ene);return kne.createElement(_ee,{type:Sne.type},kne.createElement(wee,{type:Sne.type},kne.createElement(kee,{className:t,type:Sne.type},kne.createElement(wne,n))))},Sne={id:"progress-summary",type:"progress-summary",title:"Progress Summary",description:"Summary of course progress"},Tne=__webpack_require__(68621),Cne=__webpack_require__.n(Tne),Ane=__webpack_require__(4549),One=__webpack_require__.n(Ane),Nne=__webpack_require__(68959),Pne=__webpack_require__.n(Nne);function Ine(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ine(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Ine(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var Mne=pe()(PM(),_o()),Rne=Il()(!1,["settings","isCaseSensitive"]),Dne=function(e){return ti()(Zr()(Rne(e)),PM(),Mne)},qne=function(e){var t=e.item,n=e.itemProgress;return Gn()("text",n)&&function(e){var t=e.item,n=e.itemProgress;return zl(t,Ru()([],"answers"),bi()(pe()(Dne(t),Gn()("title"))),Un()(Ul(Dne(t),Gn()("text"),n)))}({item:t,itemProgress:n})},jne=function(e){var t,n,r,i=e.item,o=e.itemProgress;return Ua()(Gn()("selectedIndex",o),(n=(t=i).answers,r=t.correct,ls()(Ci()("id",r),n)))},Fne=a2()(Jr()),Bne=Hn()(ls()),Une=function(e){var t,n=e.item,r=e.itemProgress;return Ua()((t=r,u2()(Fne,Ru()([],"selectedIndices",t))),function(e){return zl(e,Ru()([],"corrects"),bi()(pe()(Bne(Ru()([],"answers",e)),Ci()("id"))),mi()(M_()(0)),u2()(Fne))}(n))},zne=function(e){return zl(e,pe()(Is,Ru()([],"answers")),pa()("matchIndices"),Ax()("titleIndices",pe()(c0(),Gn()("matchIndices"))),To()(e))},Hne=Il()(!1,["settings","shuffleAnswerChoices"]),Vne=function(e){return Dl()([[Ci()("type",gN.MATCHING),zne],[function(){return Hne(e)},pi()({answers:c0()})],[bb(),Jr()]])},Wne=Ax()("items",(function(e){var t=e.items,n=(e.progress||{}).items,r=pe()(String,Gn()("id")),i=Ds(n,Gn()("isComplete")),o=qs(r,i)(t),a=pe()(yu(),Gn()("isComplete")),s=Ds(n,a),u=qs(r,s)(t);return St()(o).call(o,c0()(u))})),Yne=Nl()((function(e){return Cne()(function(e){return pe()(Zo()(Ux(),e),Ci()("id"),Gn()("id"))}(e),Jr())})),Gne=wa()(gc()(Gn()("answers"),Gn()("answers")),One()(Nl()((function(e){return bi()(function(e){return pe()(One()(qo()),Yne(e))}(e))}))),pa()("answers")),Kne=Zo()((function(e){return bi()((t=e,wa()(Yne(t),Cne()(Gne,One()(qo())),One()(qo()))));var t})),Xne=mi()(Ci()("drawn",!0)),$ne=ls()(Ci()("type",gN.DRAW_FROM_QUESTION_BANK)),Zne=function(e){return function(t,n,r){var i=n.id,o=e.originalItemProgress,a={};o&&(a=o[r]||{});var s=pe()(Ux()(Ci()("index",r)),Oi())(e.items);return t[i]=Lne(Lne(Lne({},a),s),{},{id:i,index:r}),t}},Qne=function(e){var t=e.questionIndexList,n=e.items,r=e.progress;return Lne(Lne({},r),{},{questionsDrawn:!0,questionList:t,items:n.reduce(Zne(r),{})})},Jne=function(e){for(var t=e.id,n=e.items,r=e.progress,i=e.updateProgress,o=Ml(n),a=$ne(o),s=[],u=0,l=function(){for(var e,t=Dr(Pne()(a,o),2),n=t[0],i=BG(t[1]),l=i[0],c=Nr()(i).call(i,1),d=l.drawCount,f=l.questions,p=[],h=[],m=[];p.length<d;)if(r.questionsDrawn){var v=r.questionList[u];e5()((function(e){var t,n=f[e];p.push(Lne(Lne({},n),{},{drawn:!0,id:St()(t="".concat(l.id,"-")).call(t,n.id)}))}),v),m.push.apply(m,Ml(v))}else{var g,y=B7({drawCount:d,questions:f,drawnQuestions:h});p.push(Lne(Lne({},y),{},{drawn:!0,id:St()(g="".concat(l.id,"-")).call(g,y.id)})),h.push(y.id),m.push(y.index)}o=St()(e=[]).call(e,Ml(n),p,Ml(c)),s.push(m),u++,a=$ne(o)};-1!==a;)l();var c=Qne({questionIndexList:s,items:o,progress:r});return i({id:t,currentLesson:t,type:"quiz",updateFn:function(){return c}}),{items:o,progress:c}},ere=Il()(!1,["settings","randomizeQuestionOrder"]),tre=wa()(La()(ere,Wne),(function(e){return pi()({items:bi()(Vne(e))})(e)}),Gn()("items"));function nre(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var rre=gN.FILL_IN_THE_BLANK,ire=gN.MATCHING,ore=gN.MULTIPLE_RESPONSE,are=s1.CHOICE,sre=s1.CORRECT_INCORRECT,ure=Fo()("quiz-item__"),lre=Il()(0,["progress","activeIndex"]),cre=pe()(oa(),ra(),Ru()({},"matches")),dre=0,fre=1,pre=2,hre=function(e){gt(n,e);var t=nre(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).getSelection=r.getSelection.bind(ft(r)),r.onChoiceSelect=r.onChoiceSelect.bind(ft(r)),r.onFillInChange=r.onFillInChange.bind(ft(r)),r.onAnimationStart=r.onAnimate.bind(ft(r),fre),r.onAnimationEnd=r.onAnimate.bind(ft(r),pre),r.onMatchSet=r.onMatchSet.bind(ft(r)),r.onNextClick=r.onNextClick.bind(ft(r)),r.onResponseToggle=r.onResponseToggle.bind(ft(r)),r.onSubmit=r.onSubmit.bind(ft(r)),r.state={startTime:Date.now(),matches:{},animating:{}},r}return dt(n,[{key:"componentDidUpdate",value:function(e){this.isNewlyActive({prevProps:e})&&(this.scrollTop(),this.setState({startTime:Date.now()})),this.scrollActionsIfComplete({prevProps:e})}},{key:"getCanSubmit",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case rre:return tV(Gn()("text",t));case ire:return cre(t)===oa()(Gn()("answers",n));case ore:return pe()(Al()(tV,rV),Gn()("selectedIndices"))(t);default:return tV(Gn()("selectedIndex",t))}}},{key:"getFeedback",value:function(e){var t=e.isCorrect,n=e.selectedIndex,r=this.props.item,i=r.answers,o=r.feedback,a=r.feedbackCorrect,s=r.feedbackIncorrect;switch(r.feedbackType){case are:return Il()("",[n,"feedback"],i);case sre:return t?a:s;default:return o}}},{key:"getIndex",value:function(){return this.props.hasStart?Hs()(this.props.index):this.props.index}},{key:"getIsComplete",value:function(e){var t=e.itemProgress;return Ru()(!1,"isComplete",t)}},{key:"getIsDoneCard",value:function(){return this.getIndex()<lre(this.props)}},{key:"getIsCorrect",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case rre:return qne({item:n,itemProgress:t});case ire:return function(e){var t=e.itemProgress;return Ps(Ru()({},"matches",t))}({itemProgress:t});case ore:return function(e){var t=e.item,n=e.itemProgress;return Gn()("selectedIndices",n)&&Une({item:t,itemProgress:n})}({item:n,itemProgress:t});default:return jne({item:n,itemProgress:t})}}},{key:"getItemProgress",value:function(e){var t=e.props;return Il()({},["items",t.item.id],t.progress)}},{key:"getSelection",value:function(e){var t=e.itemProgress;switch(this.props.item.type){case rre:return t.text;case ire:return t.matches;case ore:return t.selectedIndices;default:return t.selectedIndex}}},{key:"hasNoBorder",value:function(){return Un()(this.props.item.type,[rre,ire])}},{key:"isNewlyActive",value:function(e){var t=e.prevProps,n=lre(this.props),r=lre(t),i=this.getIndex();return r!==n&&i===n}},{key:"onChoiceSelect",value:function(e){var t=e.selectedIndex,n=this.props,r=n.id,i=n.item,o=n.onChoiceSelect;o({id:r,itemId:i.id,selectedIndex:t})}},{key:"onFillInChange",value:function(e){var t=this.props,n=t.id,r=t.item,i=t.onFillInChange;i({id:n,itemId:r.id,text:e})}},{key:"onMatchSet",value:function(e){var t=e.dragIndex,n=e.dropZoneIndex,r=this.props,i=r.id,o=r.item,a=r.onMatchSet;a({dragIndex:t,dropZoneIndex:n,id:i,itemId:o.id})}},{key:"onNextClick",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return[]},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.props,r=n.id,i=n.quizTop,o=n.scrollId,a=n.setNextIndex,s=lre(this.props),u=i||3;mZ.pause(),VG.zW.scrollEvent.register("end",(function(){VG.zW.scrollEvent.remove("end"),e(t),a({activeIndex:Hs()(s),id:r})})),VG.ZP.animateScroll.scrollTo(u,{containerId:o||"page-wrap",duration:500,smooth:!0})}},{key:"onNextFeedbackClick",value:function(e){e&&this.onNextClick()}},{key:"onResponseToggle",value:function(e){var t=e.optionIndex,n=this.props,r=n.id,i=n.item,o=n.onResponseToggle;o({id:r,itemId:i.id,selectedIndex:t})}},{key:"onSubmit",value:function(e){var t=this,n=e.canSubmit,r=e.isCorrect,i=e.itemProgress;return function(e){if(e.preventDefault(),n){var o=t.props,a=o.id,s=o.item,u=o.reportAnswer,l=o.retryAttempts,c=o.settings,d=o.submitAction,f=o.title,p=t.state.startTime,h=s.id,m=c.passingScore,v=c.revealAnswers,g=c.passToContinue,y={startTime:p,stopTime:Date.now()},b=Ru()(-1,"retryCount",c),_=parseInt(b,10),w=parseInt(l,10),k=Ua()(_,w);u({duration:y,id:a,isCorrect:r,item:s,itemProgress:i,retryAttempts:l,title:f});var E={finalRetryAttempt:k,id:a,isCorrect:r,itemId:h,passingScore:m,passToContinue:g,revealAnswers:v};if(v===pN||v===mN)return d(E);t.onNextClick(d,E)}}}},{key:"onAnimate",value:function(e){var t=this;this.setState({animating:e},(function(){e===pre&&t.setState({animating:dre})}))}},{key:"render",value:function(){return this.props.isCard?this.renderCard():this.renderDefault()}},{key:"renderCard",value:function(){var e=this.props.getClassName,t=this.getIndex(),n=t===lre(this.props),r=this.getItemProgress({props:this.props}),i=this.getIsComplete({itemProgress:r}),o=this.getIsDoneCard(),a=GA()(e(t),{"animation--start":o&&this.state.animating===fre,"animation--end":o&&this.state.animating===pre}),s=o?this.onAnimationStart:void 0,u=o?this.onAnimationEnd:void 0;return v.createElement("div",{className:a,onAnimationStart:s,onAnimationEnd:u},v.createElement("div",{className:ure("card-wrap")},v.createElement(y0,{isActive:n,isComplete:i},v.createElement("div",{style:n||i?void 0:{display:"none"}},this.renderItem()))))}},{key:"renderDefault",value:function(){return v.createElement("div",{className:ure("wrap")},this.renderItem())}},{key:"renderItem",value:function(){var e=this,t=this.props,n=t.enableVideoPlaybackSpeed,r=t.hasStart,i=t.isQuestionBankQuiz,o=t.item,a=t.items,s=t.labels,u=t.onTakeAgain,l=t.progress,c=t.settings,d=t.showNextButton,f=s.quizAcceptableResponses,p=s.quizAnswerPlaceholder,h=s.quizCorrect,m=s.quizIncorrect,g=s.quizNext,y=s.quizRestart,b=s.quizQuestion,_=s.quizSubmit,w=o.id,k=o.media,E=o.title,x=c.revealAnswers,S=void 0===x?hN:x,T=this.getIndex(),C=T===lre(this.props),A=this.getItemProgress({props:this.props}),O=this.getIsComplete({itemProgress:A}),N=this.getIsCorrect({itemProgress:A}),P=C&&O&&(S==pN||S==mN),I=C&&!O&&this.getCanSubmit({itemProgress:A}),L=this.onSubmit({canSubmit:I,isCorrect:N,itemProgress:A}),M=Gn()("selectedIndex",A),R=this.getFeedback({isCorrect:N,selectedIndex:M}),D="q-".concat(w),q=this.getSelection({itemProgress:A}),j=GA()("quiz-card__retake-container",{"quiz-card__retake-container--active":O}),F=GA()("quiz-card__retake","brand--hoverColor",{"quiz-card__retake--active":O});return v.createElement(v.Fragment,null,v.createElement(n1,{isActive:C,labels:s,num:r?T:T+1,quizQuestion:b,total:oa()(a)}),v.createElement(i1,{allowTabNavigation:C,id:D,value:E}),v.createElement(Q0,{allowTabNavigation:C,enableVideoPlaybackSpeed:n,index:String(T),labels:s,media:k,opts:c}),v.createElement(D0,{hasNoBorder:this.hasNoBorder()},this.renderType({canSubmit:I,isActive:C,isComplete:O,isCorrect:N,itemProgress:A,labels:s,onSubmit:L,revealAnswers:S,questionHtmlId:D,quizAcceptableResponses:f,quizAnswerPlaceholder:p})),v.createElement(I0,{canProceed:P,feedbackRef:function(t){e.feedback=t},feedbackValue:R,hasFeedback:!!R,isActive:C,isComplete:O,isCorrect:N,item:o,labels:s,progress:A,quizCorrect:h,quizIncorrect:m,selection:q}),v.createElement(h0,{allowNext:!u,canProceed:P,canSubmit:I,item:o,onNext:d?this.onNextFeedbackClick.bind(this,C):null,onSubmit:L,quizNext:100===l.percentComplete&&i?y:g,quizSubmit:_}),u&&v.createElement("div",{className:j},v.createElement("button",{className:F,onClick:u,type:"button"},v.createElement("div",{className:"quiz-card__retake-content"},v.createElement("div",{className:"quiz-card__retake-text brand--ui"},"TAKE AGAIN"),v.createElement("i",{className:"quiz-card__retake-icon icon icon-reload"})))))}},{key:"renderMCOptionText",value:function(e,t){var n=t.title;return v.createElement($M,{allowTabNavigation:e,className:"quiz-multiple-choice-option__label brand--body",value:n})}},{key:"renderMROptionText",value:function(e,t){var n=t.title;return v.createElement($M,{allowTabNavigation:e,component:"span",value:n})}},{key:"renderType",value:function(e){var t=e.canSubmit,n=e.isActive,r=e.isComplete,i=e.isCorrect,o=e.itemProgress,a=e.labels,s=e.onSubmit,u=e.revealAnswers,l=e.questionHtmlId,c=e.quizAcceptableResponses,d=e.quizAnswerPlaceholder,f=this.props,p=f.color,h=f.item,m=f.prefersKeyboardNavigation,g=h.answers,y=h.correct,b=h.corrects,_=h.matchIndices,w=h.titleIndices,k=n&&!r;switch(h.type){case rre:return v.createElement(d1,{allowTabNavigation:n,isComplete:r,isCorrect:i,labels:a,onChange:this.onFillInChange,onEnterToSubmit:s,options:g,revealAnswers:u,questionHtmlId:l,quizAcceptableResponses:c,quizAnswerPlaceholder:d,value:Ru()("","text",o)});case ire:return v.createElement(B1,{allowTabNavigation:k,answers:g,canSubmit:t,isActive:n,isComplete:r,matches:Ru()({},"matches",o),matchIndices:_,onEnterToSubmit:s,onMatch:this.onMatchSet,prefersKeyboardNavigation:m,revealAnswers:u,titleIndices:w});case ore:return v.createElement(i2,{allowTabNavigation:n,correctIds:b,isComplete:r,isCorrect:i,labels:a,onChange:this.onResponseToggle,onEnterToSubmit:s,options:g,prefersKeyboardNavigation:m,renderOptionText:this.renderMROptionText.bind(this,n),revealAnswers:u,selectedIndices:Gn()("selectedIndices",o)});default:return v.createElement(t2,{allowTabNavigation:k,color:p,correctId:y,isComplete:r,isCorrect:i,labels:a,onChange:this.onChoiceSelect,onEnterToSubmit:s,options:g,prefersKeyboardNavigation:m,questionHtmlId:l,renderOptionText:this.renderMCOptionText.bind(this,n),revealAnswers:u,selectedIndex:Gn()("selectedIndex",o)})}}},{key:"scrollActionsIfComplete",value:function(e){var t=this,n=e.prevProps,r=this.props,i=r.scrollId,o=r.settings.revealAnswers,a=void 0===o?hN:o;if(this.getIndex()===lre(this.props)&&a!==hN){var s=this.getItemProgress({props:n}),u=this.getIsComplete({itemProgress:s}),l=this.getItemProgress({props:this.props}),c=this.getIsComplete({itemProgress:l});!u&&c&&setTimeout((function(){var e=t.feedback,n=e.offsetHeight+e.offsetTop;VG.ZP.animateScroll.scrollTo(n,{containerId:i||"page-wrap",smooth:!0})}),750)}}},{key:"scrollTop",value:function(){var e=this.props,t=e.quizTop,n=e.scrollId,r=t||3;VG.ZP.animateScroll.scrollTo(r,{containerId:n||"page-wrap",smooth:!0})}}],[{key:"defaultProps",get:function(){return{getClassName:function(){},labels:{},onChoiceSelect:function(){},onFillInChange:function(){},onMatchSet:function(){},onResponseToggle:function(){},reportAnswer:function(){},retryAttempts:0,setNextIndex:function(){},settings:{revealAnswers:pN},showNextButton:!0,submitAction:function(){return[]}}}}]),n}(v.Component),mre=__webpack_require__(67294);function vre(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function gre(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vre(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):vre(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}function yre(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var bre=Il()(0,["progress","activeIndex"]),_re=function(e){return function(t){return GA()("quiz-item__card",{"quiz-item__card--active":t===e,"quiz-item__card--done":t<e,"quiz-item__card--next":t===e+1,"quiz-item__card--penultimate":t===e+2,"quiz-item__card--future":t>e+2})}},wre=Il()(0,["progress","retryAttempts"]),kre=function(e){gt(n,e);var t=yre(n);function n(e){var r;nt(this,n),r=t.call(this,e);var i=e.updateProgress,o=Jne(gre(gre({},e),{},{updateProgress:i})),a=gre(gre({},e),o);return r.state={items:tre(a),progress:a.progress},r}return dt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.updateProgress;if(wre(this.props)!==wre(e)){var n=Jne(gre(gre({},e),{},{updateProgress:t})),r=gre(gre({},e),n);this.setState({items:tre(r),progress:r.progress})}else{var i=function(e){for(var t=e.items,n=e.currentItems,r=e.progress,i=Ml(t),o=$ne(i);-1!==o;){var a,s=Dr(Pne()(o,i),2),u=s[0],l=s[1],c=d5()(l),d=Xne(n);i=St()(a=[]).call(a,Ml(u),Ml(d),Ml(c)),o=$ne(i)}return{items:i,progress:Qne({items:i,progress:r})}}(gre(gre({},e),{},{currentItems:this.state.items})),o=i.items,a=i.progress,s=Kne(this.state.items,o);this.setState({items:s,progress:a})}}},{key:"render",value:function(){var e=this.props,t=e.quizEnd,n=e.quizHeader,r=this.state.items,i=bre(this.state),o=function(e){return{start:e<2?0:e-2,end:e+2}}(i),a=o.start,s=o.end,u=Nr()(r).call(r,a,s);return mre.createElement("section",{className:"quiz","data-quiz":!0},mre.createElement("div",{className:"quiz__wrap"},n&&i<2?this.renderStart():null,Ra()(u).call(u,this.renderItem.bind(this,a)),t&&this.renderEnd()))}},{key:"renderEnd",value:function(){var e=this.props.quizEnd,t=this.state.items,n=bre(this.state),r=_re(n),i=t.length+1;return mre.createElement("div",{className:r(i)},mre.createElement("div",{className:"quiz__item-wrap"},e(t)))}},{key:"getQuizTop",value:function(){var e=document.querySelector(".lesson-nav--previous");return null==e?void 0:e.clientHeight}},{key:"renderItem",value:function(e,t,n){var r=this.props,i=r.color,o=r.enableVideoPlaybackSpeed,a=r.id,s=r.isQuestionBankQuiz,u=r.labels,l=r.reportAnswer,c=r.onChoiceSelect,d=r.onFillInChange,f=r.onMatchSet,p=r.onResponseToggle,h=r.onSetIndex,m=r.onSubmit,v=r.prefersKeyboardNavigation,g=r.progress,y=r.quizHeader,b=r.settings,_=r.title,w=this.state.items,k=bre(this.state),E=_re(k),x=this.getQuizTop();return mre.createElement(hre,{color:i,enableVideoPlaybackSpeed:o,getClassName:E,hasStart:!!y,id:a,index:n+e,isCard:!0,isQuestionBankQuiz:s,item:t,items:w,key:"item-".concat(t.id),labels:u,onChoiceSelect:c,onFillInChange:d,onMatchSet:f,onResponseToggle:p,prefersKeyboardNavigation:v,progress:g,quizTop:x,reportAnswer:l,retryAttempts:wre({progress:g}),scrollId:"page-wrap",settings:b,setNextIndex:h,submitAction:m,title:_})}},{key:"renderStart",value:function(){var e=this.props.quizHeader,t=this.state.items,n=bre(this.state),r=_re(n);return mre.createElement("div",{className:r(0)},mre.createElement("div",{className:"quiz__item-wrap"},e(t)))}}],[{key:"defaultProps",get:function(){return{updateProgress:Hl}}}]),n}(mre.Component),Ere=kre,xre=__webpack_require__(67294);function Sre(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Tre=function(e){gt(n,e);var t=Sre(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).animationTimeout=null,r.state={animated:!1,counted:!1},r}return dt(n,[{key:"componentWillUnmount",value:function(){this.resetCanvas(),this.resetAnimationTimeout()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e,t){e.atEnd&&!t.animated&&this.setState({animated:!0}),this.props.atEnd&&!e.atEnd&&(this.resetCanvas(),this.resetAnimationTimeout(),this.setState({counted:!1,pass:null}))}},{key:"shouldComponentUpdate",value:function(e,t){return this.props.atEnd!==e.atEnd||this.state.counted!==t.counted||!this.state.animated}},{key:"componentDidUpdate",value:function(){var e=this;this.props.atEnd&&(!this.state.counted&&this.props.complete?(this.odo(),this.animationTimeout=setTimeout((function(){e.setState({counted:!0,pass:e.props.isPass}),e.props.onAnimationDone()}),4e3)):this.state.counted&&this.props.isPass?this.pass():this.state.counted&&!this.props.isPass&&this.fail())}},{key:"render",value:function(){var e=this,t=this.props,n=t.canvasHeight,r=t.canvasWidth,i=t.passingScore,o=t.quizPassing,a=t.quizScore,s=t.scoreLabel,u=this.state,l=u.pass,c=u.counted,d=GA()("odometer__score brand--ui",{"odometer__score--pass":l,"odometer__score--fail":!1===l}),f=GA()("odometer__score-percent",{"odometer__score-percent--hidden":c});return xre.createElement("div",{className:"odometer"},xre.createElement("canvas",{className:"odometer__canvas",id:"odometer",width:r,height:n}),xre.createElement("canvas",{className:"odometer__fail",id:"fail",width:"170",height:"170"}),xre.createElement("canvas",{className:"odometer__pass",id:"pass",width:"170",height:"170"}),xre.createElement("div",{className:d},xre.createElement("div",{className:"odometer__score-label"},a),xre.createElement("div",{className:"odometer__pass-label brand--color"},s),xre.createElement("div",{className:"odometer__fail-label"},s),xre.createElement("div",{ref:function(t){e.scorePercent=t},className:f})),xre.createElement("div",{ref:function(t){e.passmark=t},className:"odometer__passmark"},xre.createElement("div",{className:"odometer__passlabel brand--ui"},o),xre.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(i,"%"))))}},{key:"resetAnimationTimeout",value:function(){clearTimeout(this.animationTimeout),this.animationTimeout=null}},{key:"resetCanvas",value:function(){var e=document.getElementById("pass"),t=document.getElementById("fail");e&&t&&(e.getContext("2d").clearRect(0,0,170,170),t.getContext("2d").clearRect(0,0,170,170))}},{key:"odo",value:function(){var e=this,t=this.props,r=t.passingScore,i=t.atEnd,o=t.canvasWidth,a=t.canvasHeight,s=t.color,u=document.getElementById("odometer").getContext("2d"),l=new Image,c=210,d=Math.PI/.8,f=.25*Math.PI;l.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDFBQzM3NTBGMDA2MTFFNThENDVCMjlGQjVCNUU3OTQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDFBQzM3NTFGMDA2MTFFNThENDVCMjlGQjVCNUU3OTQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowMUFDMzc0RUYwMDYxMUU1OEQ0NUIyOUZCNUI1RTc5NCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowMUFDMzc0RkYwMDYxMUU1OEQ0NUIyOUZCNUI1RTc5NCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pq3YZDIAAAA6SURBVHjaYjQ0NVdiYGC4D8T/GRCAEYgVmXBJADEzEy4JIL7DhEsCpIkJlwRIkAmXBEwSqwQIAAQYABZQDs+U1J1TAAAAAElFTkSuQmCC";var p=null,h=function t(h){return function(m){!p&&h&&(p=m);var v=h?(m-p)/2e3:0;!function(t,p){var h=n.easeInOutCubic(Math.min(t,1)),m=(225+h*p*270-90)*Math.PI/180,v=.5*o+c*Math.cos(m),g=.5*a+c*Math.sin(m),y=(225+r/100*270-90)*Math.PI/180,b=.5*o+c*Math.cos(y),_=.5*a+c*Math.sin(y),w=b+3,k=_+3;e.passmark&&(e.passmark.style.left="".concat(b/o*100,"%"),e.passmark.style.top="".concat(_/a*100,"%")),u.clearRect(0,0,o,a),u.beginPath(),u.arc(o/2,a/2,219,f,1.52*Math.PI*(r/100-.03)-d,!0),u.lineWidth=16,u.strokeStyle=u.createPattern(l,"repeat"),u.stroke(),u.closePath(),u.beginPath(),u.moveTo(w,k),u.lineTo(w+38,k-38),u.lineTo(w-38,k-38),u.lineTo(w-38,k+38),u.fillStyle="#f5f5f5",xT()(u).call(u),u.closePath(),u.beginPath(),u.moveTo(b,_),u.lineTo(b+35,_-35),u.strokeStyle="#c2c3c4",u.lineWidth=1,u.stroke(),u.closePath(),u.beginPath(),u.moveTo(b+35,_-35),u.lineTo(b+70,_-35),u.strokeStyle="#c2c3c4",u.lineWidth=1,u.stroke(),u.closePath(),u.beginPath(),u.strokeStyle="#dcdcdc",u.arc(o/2,a/2,c,-d,1.5*Math.PI-d,!1),u.lineWidth=3,u.stroke(),u.closePath(),i&&(u.beginPath(),u.arc(o/2,a/2,c,-d,1.5*Math.PI*h*p-d,!1),u.lineWidth=3,u.strokeStyle="#313537",Math.floor(h*p*100)>=r&&(u.strokeStyle=s),u.stroke(),u.closePath(),u.beginPath(),u.arc(v,g,6,0,2*Math.PI,!1),u.fillStyle="#313537",Math.floor(h*p*100)>=r&&(u.fillStyle=s),xT()(u).call(u),u.closePath())}(v,e.props.score/100),v<1&&h&&window.requestAnimationFrame(t(!0))}};window.requestAnimationFrame(h(!1)),setTimeout((function(){window.requestAnimationFrame(h(!0)),e.score()}),1e3)}},{key:"score",value:function(){var e=this,t=null,r=function r(i){t||(t=i);var o=(i-t)/2e3;!function(t,r){var i=n.easeInOutQuad(Math.min(t,1)),o=Math.round(i*r*100)+"";if(e.scorePercent){for(;o.length<2;)o="0"+o;e.scorePercent.innerHTML="".concat(o,"%")}}(o,e.props.score/100),o<1&&window.requestAnimationFrame(r)};t=null,window.requestAnimationFrame(r)}},{key:"pass",value:function(){var e=this,t=this.props.color,r=document.getElementById("pass").getContext("2d"),i=null,o=function o(a){i||(i=a);var s,u,l=(a-i)/750;s=l,e.props.score,u=n.easeInOutCubic(Math.min(s,1)),r.clearRect(0,0,170,170),r.beginPath(),r.moveTo(30,70),r.lineTo(30+40*Math.min(u,.5)*2,70+45*Math.min(u,.5)*2),u>=.5&&r.lineTo(70+90*(u-.5)*2,110-85*(u-.5)*2),r.strokeStyle=t,r.lineWidth=20,r.stroke(),r.closePath(),l<1&&window.requestAnimationFrame(o)};i=null,window.requestAnimationFrame(o)}},{key:"fail",value:function(){var e=this,t=document.getElementById("pass").getContext("2d"),r=null,i=function i(o){r||(r=o);var a,s,u=(o-r)/750;a=u,e.props.score,s=n.easeInOutCubic(Math.min(a,1)),t.clearRect(0,0,170,170),t.beginPath(),t.moveTo(40,30),t.lineTo(40+90*Math.min(s,.5)*2,30+90*Math.min(s,.5)*2),t.strokeStyle="#313537",t.lineWidth=20,t.stroke(),t.closePath(),s>=.5&&(t.beginPath(),t.moveTo(130,30),t.lineTo(130-90*(s-.5)*2,30+90*(s-.5)*2),t.strokeStyle="#313537",t.lineWidth=20,t.stroke(),t.closePath()),u<1&&window.requestAnimationFrame(i)};r=null,window.requestAnimationFrame(i)}}],[{key:"defaultProps",get:function(){return{canvasWidth:590,canvasHeight:500,onAnimationDone:Hl,score:0}}},{key:"easeInOutCubic",value:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},{key:"easeInOutQuad",value:function(e){return e<.5?2*e*e:(4-2*e)*e-1}}]),n}(xre.Component);function Cre(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Are=function(e){gt(n,e);var t=Cre(n);function n(){var e,r;nt(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(r=t.call.apply(t,St()(e=[this]).call(e,o))).animationTimeout=null,r.state={showFooter:!1},r.headingRef=(0,v.createRef)(),r.showFooter=r.showFooter.bind(ft(r)),r.onTryAgainFocus=r.onTryAgainFocus.bind(ft(r)),r}return dt(n,[{key:"componentDidUpdate",value:function(e){var t=this.props.isAtEnd;t!==e.isAtEnd&&(t?this.focusHeading():this.setState({showFooter:!1}))}},{key:"componentWillUnmount",value:function(){this.animationTimeout&&(clearTimeout(this.animationTimeout),this.animationTimeout=null)}},{key:"focusHeading",value:function(){this.headingRef&&this.headingRef.current&&e1()(this.headingRef.current.focus)&&this.headingRef.current.focus()}},{key:"showFooter",value:function(){var e=this;this.animationTimeout=setTimeout((function(){var t;e.setState({showFooter:!0}),null===(t=e.props)||void 0===t||t.onResultsDisplayed()}),500)}},{key:"onTryAgainFocus",value:function(){this.animationTimeout&&(clearTimeout(this.animationTimeout),this.animationTimeout=null),this.setState({showFooter:!0})}},{key:"render",value:function(){var e,t,n=this.props,r=n.allowTabNavigation,i=n.color,o=n.continueType,a=n.currentPassingScore,s=n.id,u=n.isAtEnd,l=n.labels,c=n.lessonProgress,d=c.reportResults,f=c.score,p=n.mode,h=n.nextLesson,m=n.nextLessonRestrictions,g=n.onNextClick,y=n.passingScore,b=n.retryAttempts,_=n.retryCount,w=n.showNavigationButtons,k=n.sidebarEnabled,E=this.state.showFooter,x=l.quizPassing,S=l.quizResults,T=l.quizScore,C=f>=y,A=St()(e="".concat(T," ")).call(e,f,"%");return v.createElement("div",{className:Ore({isAtEnd:u})},v.createElement("div",{className:"quiz-results__header"},v.createElement("h1",{className:"quiz-results__label noOutline brand--ui",ref:this.headingRef,tabIndex:FY},S),v.createElement("div",{className:"quiz-results__passing"},v.createElement("div",{className:"odometer__passlabel brand--ui"},x),v.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(y,"%")))),v.createElement("div",{className:"visually-hidden"},v.createElement("div",null,A),v.createElement("div",null,"".concat(C?null==l?void 0:l.a11yQuizPassed:null==l?void 0:l.a11yQuizFailed)),v.createElement("div",null,St()(t="".concat(x," ")).call(t,y,"%"))),v.createElement("div",{"aria-hidden":"true",className:"quiz-results__results"},v.createElement(Tre,{atEnd:u,color:i,complete:d,isPass:C,onAnimationDone:this.showFooter,quizScore:T,quizPassing:x,score:f,scoreLabel:A,passingScore:y})),Ire({allowTabNavigation:r,continueType:o,currentPassingScore:a,id:s,isAtEnd:u,labels:l,mode:p,nextLesson:h,nextLessonRestrictions:m,onNextClick:g,onTryAgainFocus:this.onTryAgainFocus,retryAttempts:b,retryCount:_,showFooter:E,showNavigationButtons:w,sidebarEnabled:k}))}}]),n}(v.Component),Ore=function(e){var t=e.isAtEnd;return GA()("quiz-results",{"quiz-results--active":t})},Nre=function(e){var t=e.isAtEnd,n=e.showFooter;return GA()("quiz-results__footer",{"quiz-results__footer--active":t,"quiz-results__footer--hidden":!n})},Pre=function(e){var t=e.currentPassingScore,n=e.id;return function(){return lI(function(e){var t=e.currentPassingScore,n=e.id;return function(e){return e(cl({id:n,updateFn:Yl(t)}))}}({currentPassingScore:t,id:n}))}},Ire=function(e){var t=e.allowTabNavigation,n=e.continueType,r=e.currentPassingScore,i=e.id,o=e.isAtEnd,a=e.labels,s=e.mode,u=e.nextLesson,l=e.nextLessonRestrictions,c=e.onNextClick,d=e.onTryAgainFocus,f=e.retryAttempts,p=e.retryCount,h=e.showFooter,m=e.showNavigationButtons,g=e.sidebarEnabled,y=l.isRestricted,b=a.courseFinish,_=void 0===b?"Finish":b,w=a.quizContinue,k=a.quizTakeAgain,E="continue"===n&&"preview-lesson"!==s&&!(g&&!m),x=E&&$n;return v.createElement("div",{className:Nre({isAtEnd:o,showFooter:h})},(-1===p||f<p)&&v.createElement(L5,{allowTabNavigation:t,onClick:Pre({currentPassingScore:r,id:i}),onFocus:d,text:k}),E&&y&&u&&v.createElement(BJ,{bgType:"transparent",text:BI({labels:a,restrictions:l})}),E&&!y&&u&&v.createElement(FJ,{href:"/lessons/".concat(encodeURIComponent(u)),onClick:c,text:w}),x&&v.createElement(FJ,{href:"/lessons/progress-summary",onClick:c,text:_}))},Lre=__webpack_require__(67294),Mre=function(e){return Lre.createElement("div",{"aria-hidden":!e.allowTabNavigation,className:"quiz-end"},Lre.createElement("div",{className:"quiz-end__container"},Lre.createElement(Are,Et({},e,{onResultsDisplayed:function(){window.dispatchEvent(new CustomEvent(lV))}}))))},Rre=eF,Dre=pe()(Zo()(NI(),0),Ru()(0,"retryAttempts")),qre=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return Dre(t)?r:n},jre=function(e){var t,n,r,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.totalLessons;return v.createElement("div",{className:"quiz-header__count"},St()(t=St()(n=St()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s))},Fre=function(e){var t=e.id,n=e.lessonProgress;return function(){return lI(Vl({activeIndex:Math.max(0,Hs()(Ru()(0,"activeIndex",n))),id:t}))}},Bre=function(e){var t=e.allowTabNavigation,n=e.authorName,r=e.avatar,i=e.description,o=e.id,a=e.isLesson,s=e.labels,u=s.a11yAuthorPrefix,l=s.lessonName,c=s.lessonPreposition,d=s.quizStart,f=s.quizTakeAgain,p=e.lessonNumber,h=e.lessonProgress,m=e.showAuthor,g=e.showLessonCount,y=e.title,b=e.totalLessons,_=(0,v.useRef)(),w=t&&Dre(h);return(0,v.useEffect)((function(){w&&_&&_.current&&e1()(_.current.focus)&&_.current.focus()}),[w,_]),v.createElement("div",{"aria-hidden":!t,className:"quiz-header","data-ba":Rre.container},v.createElement("div",{className:"quiz-header__container"},v.createElement("div",{className:"quiz-header__limit"},v.createElement("div",{className:"quiz-header__row"},v.createElement("div",{className:"quiz-header__main"},v.createElement("div",{className:"quiz-header__top-wrap brand--afterBackground"},v.createElement("div",{className:"quiz-header__counter brand--body"},a&&g&&jre({lessonName:l,lessonNumber:p,lessonPreposition:c,totalLessons:b})),v.createElement("h1",{className:"noOutline",ref:_,tabIndex:FY},v.createElement($M,{className:"quiz-header__title brand--lhead",value:di(y)})),m&&r&&n?v.createElement("div",{className:"quiz-header__author brand--ui"},v.createElement("img",{src:lx("".concat(r)),alt:""}),v.createElement("span",{className:"visually-hidden"},u," ",n),v.createElement("span",{"aria-hidden":"true"},n)):null),v.createElement($M,{className:"quiz-header__description brand--lbody brand--linkColor",value:i,allowTabNavigation:t}),v.createElement("button",{className:"quiz-header__start-quiz brand--color","data-ba":Rre.startQuiz,onClick:t?Fre({id:o,lessonProgress:h}):Hl,tabIndex:zY(t),type:"button"},v.createElement("span",{className:"brand--ui"},qre({lessonProgress:h,quizStart:d,quizTakeAgain:f})),v.createElement("i",{className:"icon icon-chevron-right"})))))))},Ure=function(e){var t=e.itemId,n=e.text;return ma()(sa()(["items",t]),ti()(ga()(Ha(),[n]),Wa()(["text"]),Ro()("text",n)))},zre=function(e){var t=e.itemId,n=e.dragIndex,r=e.dropZoneIndex;return ma()(sa()(["items",t,"matches"]),pe()(Ro()(n,r),l_()(Ua()(r)),nV))},Hre=function(e){var t=e.itemId,n=e.selectedIndex;return ma()(sa()(["items",t]),Ro()("selectedIndex",n))},Vre=function(e){return sa()(["items",e])},Wre=function(e){return pe()(Vre(e),la()("selectedIndices"))},Yre=function(e){var t,n=e.itemId,r=e.selectedIndex;return pe()(La()((t=n,pe()(Ha(),y1()(Wre(t)))),function(e){return ma()(Vre(e),Wa()(["selectedIndices"]))}(n)),function(e){var t=e.itemId,n=e.selectedIndex;return ma()(Wre(t),pe()(ti()(Un()(n),f0()(i5()(n)),bP()(n)),La()(Jo(),(function(){return[]}))))}({itemId:n,selectedIndex:r}))},Gre=__webpack_require__(67294),Kre=Il()(0,["lessonProgress","activeIndex"]),Xre=Il()(0,["lessonProgress","retryAttempts"]),$re=function(e){return function(t){var n=e.color,r=e.currentPassingScore,i=e.id,o=e.labels,a=e.lessonNumber,s=e.lessonProgress,u=e.mode,l=e.nextLesson,c=e.nextLessonRestrictions,d=e.onNextClick,f=e.settings,p=f.continueType,h=f.passingScore,m=f.retryCount,v=e.showNavigationButtons,g=e.sidebarEnabled,y=t.length+1===Kre(e);return Gre.createElement(Mre,{allowTabNavigation:y,color:n,continueType:p,current:a,currentPassingScore:r,id:i,isAtEnd:y,labels:o,length:t.length,lessonProgress:s,mode:u,nextLesson:l,nextLessonRestrictions:c,onNextClick:d,passingScore:h,retryAttempts:Xre({lessonProgress:s}),retryCount:Number(m),showNavigationButtons:v,sidebarEnabled:g})}},Zre=function(e){return function(t){var n=e.authorName,r=e.avatar,i=e.description,o=e.id,a=e.isLesson,s=e.labels,u=e.lessonNumber,l=e.lessonProgress,c=e.showAuthor,d=e.showLessonCount,f=e.title,p=e.totalLessons,h=0===Kre(e);return Gre.createElement(Bre,{allowTabNavigation:h,authorName:n,avatar:r,description:i,id:o,isLesson:a,items:t,labels:s,lessonNumber:u,lessonProgress:l,showAuthor:c,showLessonCount:d,title:f,totalLessons:p})}},Qre={setFillInText:function(e){var t=e.id,n=e.itemId,r=e.text;return function(e){return e(cl({id:t,type:"quiz",updateFn:Ure({itemId:n,text:r})}))}},setMatchItems:function(e){var t=e.id,n=e.itemId,r=e.dragIndex,i=e.dropZoneIndex;return function(e){return e(cl({id:t,type:"quiz",updateFn:zre({itemId:n,dragIndex:r,dropZoneIndex:i})}))}},setNextIndex:Vl,setSelectedIndex:function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(cl({id:t,type:"quiz",updateFn:Hre({itemId:n,selectedIndex:r})}))}},submitAnswer:function(e){var t=e.finalRetryAttempt,n=e.id,r=e.isCorrect,i=e.itemId,o=e.passingScore,a=e.passToContinue;return function(e){return e(cl({id:n,type:"quiz",updateFn:Gl({finalRetryAttempt:t,id:n,isCorrect:r,itemId:i,passingScore:o,passToContinue:a})}))}},toggleSelectedIndex:function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(cl({id:t,type:"quiz",updateFn:Yre({itemId:n,selectedIndex:r})}))}},updateLessonProgress:cl},Jre=Ve(null,Qre)((function(e){var t=e.color,n=e.id,r=e.items,i=e.labels,o=e.lessonProgress,a=e.setFillInText,s=e.setMatchItems,u=e.setNextIndex,l=e.setSelectedIndex,c=e.settings,d=e.submitAnswer,f=e.title,p=e.toggleSelectedIndex,h=e.updateLessonProgress;return Gre.createElement(Ere,{color:t,id:n,items:r,labels:i,onChoiceSelect:l,onFillInChange:a,onMatchSet:s,onResponseToggle:p,onSetIndex:u,onSubmit:d,progress:o,reportAnswer:cx,quizEnd:$re(e),quizHeader:Zre(e),settings:c,title:f,updateProgress:h})})),eie=__webpack_require__(67294);function tie(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var nie=function(e){var t,n=e.id,r=e.passingScore;return Zo()(vo(),(t={id:n,passingScore:r},ex("getMasteryScore")?QE.getMasteryScore(t):t.passingScore))},rie=function(e){var t=e.id,n=e.settings,r=e.lessonProgress,i=void 0===r?{}:r;return ma()(sa()(["passingScore"]),nie(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tie(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):tie(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({id:t},i)),n)},iie=function(e){var t=e.authorName,n=e.avatar,r=e.color,i=e.data,o=i.description,a=i.id,s=i.items,u=i.settings,l=i.title,c=i.type,d=e.enableVideoPlaybackSpeed,f=e.isLesson,p=e.labels,h=e.lessonNumber,m=e.lessonProgress,v=e.mode,g=e.nextLesson,y=e.nextLessonRestrictions,b=e.onNextClick,_=e.prefersKeyboardNavigation,w=e.showAuthor,k=e.showLessonCount,E=e.showNavigationButtons,x=e.sidebarEnabled,S=e.totalLessons;return eie.createElement(_ee,{type:c},eie.createElement(wee,{type:c},eie.createElement(xee,null,eie.createElement(kee,{type:c,items:s},eie.createElement(rte,{id:a,lessonProgress:m,type:"quiz"}),eie.createElement(Jre,{authorName:t,avatar:n,color:r,currentPassingScore:u.passingScore,description:o,enableVideoPlaybackSpeed:d,id:a,isLesson:f,items:s,labels:p,lessonNumber:h,lessonProgress:m,mode:v,nextLesson:g,nextLessonRestrictions:y,onNextClick:b,prefersKeyboardNavigation:_,settings:rie({id:a,lessonProgress:m,settings:u}),showAuthor:w,showLessonCount:k,showNavigationButtons:E,sidebarEnabled:x,title:l,totalLessons:S})))))},oie=__webpack_require__(13311),aie=__webpack_require__.n(oie);var sie=__webpack_require__(67294),uie=function(e){return sie.createElement("section",{"aria-label":"Sorting Activity Content",className:"sorting-lesson"},sie.createElement(X5,Et({},e,{onCardDrop:pe()(lI,Cu),onReplay:pe()(lI,Su)})))},lie=__webpack_require__(67294),cie=function(e){var t=e.color,n=e.data,r=n.id,i=n.items,o=n.piles,a=n.type,s=e.labels,u=e.lessonHeader,l=e.lessonHeaderWrapClasses,c=e.lessonProgress;return lie.createElement(_ee,{type:a},lie.createElement(wee,{type:a},lie.createElement(xee,null,lie.createElement("div",{className:l,style:{color:t}},u),lie.createElement(kee,{type:a},lie.createElement(uie,{id:r,items:i,labels:s,progress:c,piles:o})))))},die=__webpack_require__(67294);function fie(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var pie=wa()(Gn()("linePosition"),parseFloat),hie=D8()(pie),mie=pe()(lI,Ou),vie=pe()(lI,Ou),gie=function(e){gt(n,e);var t=fie(n);function n(){return nt(this,n),t.apply(this,arguments)}return dt(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.id,r=Wn()([0,"id"],t);mie({id:n,payload:{activeIndex:0,itemId:r}})}},{key:"render",value:function(){var e=this.props.items;return die.createElement("section",{"aria-label":"Timeline Content",className:"timeline-lesson"},die.createElement(F6,Et({},this.props,{isLearner:!0,items:hie(e),progress:Gn()("lessonProgress",this.props),onEnter:mie,onLeave:vie})))}}]),n}(die.Component),yie=__webpack_require__(67294),bie=function(e){var t=e.color,n=e.data,r=n.id,i=n.items,o=n.type,a=e.labels,s=e.lessonHeader,u=e.lessonHeaderWrapClasses,l=e.lessonProgress,c=e.loadMedia;return yie.createElement(_ee,{type:o},yie.createElement(wee,{type:o},yie.createElement(xee,null,yie.createElement("div",{className:u,style:{color:t}},s),yie.createElement(kee,{type:o},yie.createElement(gie,{id:r,items:i,labels:a,lessonProgress:l,loadMedia:c})))))},_ie={addEventListeners:function(e,t){e.addEventListener("animationend",t,!1)},removeEventListeners:function(e,t){e.removeEventListener("animationend",t,!1)}},wie=__webpack_require__(67294);function kie(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Eie=function(e){gt(n,e);var t=kie(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={load:!1},r}return dt(n,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.setState({load:!0})}),800)}},{key:"render",value:function(){var e=this.props,t=e.enableVideoPlaybackSpeed,n=e.labels,r=e.lessonProgress,i=this.props.data,o=i.id,a=i.media,s=i.settings,u=Il()(0,["audioVideoPlayhead"],r),l=Gn()("currentTime",r),c=Wn()(["video","key"],a),d=Wn()(["lessonProgress","percentComplete"],r),f=Wn()(["video","poster"],a),p=GA()("video-lesson",{"video-lesson--visible":this.state.load});return wie.createElement("div",null,wie.createElement("div",{className:"page__content-container"},wie.createElement("section",{"aria-label":"Video Content",className:p},this.state.load?wie.createElement("div",{className:"video-lesson__item"},wie.createElement(vQ,{audioVideoPlayhead:u,canAdjustPlaybackSpeed:t,canRestrictSeek:s.forwardSeekRestricted&&!(null!=r&&r.isComplete),currentTime:l,id:o,labels:n,percentComplete:d,poster:f,progressChanged:xie(o),recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,o),src:c})):null)))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){lI(H7({lessonId:e,playheadPercentage:t}))}}],[{key:"defaultProps",get:function(){return{lessonProgress:{audioVideoPlayhead:0,currentTime:0,percentComplete:0}}}}]),n}(wie.Component),xie=Ho()(2,(function(e,t){var n=t.currentTime,r=t.percentComplete;return lI(function(e){var t=e.currentTime,n=e.id,r=e.percentComplete;return function(e){return e(cl({id:n,updateFn:Fu({currentTime:t,percentComplete:r})}))}}({id:e,currentTime:n,percentComplete:r}))})),Sie=__webpack_require__(67294),Tie=function(e){var t=e.color,n=e.data,r=e.labels,i=e.lessonHeader,o=e.lessonHeaderWrapClasses,a=e.lessonProgress,s=e.prefersKeyboardNavigation,u=e.enableVideoPlaybackSpeed;return Sie.createElement(_ee,{type:n.type},Sie.createElement(wee,{type:n.type},Sie.createElement(xee,null,Sie.createElement("div",{className:o,style:{color:t}},i),Sie.createElement(kee,null,Sie.createElement(Eie,{data:n,labels:r,lessonProgress:a,prefersKeyboardNavigation:s,enableVideoPlaybackSpeed:u})))))},Cie=__webpack_require__(67294),Aie=Xz("LessonHeader"),Oie=yM("lesson-header"),Nie=function(e){var t=e.authorName,n=e.avatar,r=e.children,i=e.color,o=e.description,a=e.labels,s=a.lessonName,u=a.lessonPreposition,l=e.lessonHeaderColor,c=e.lessonHeaderImage,d=e.lessonHeaderSize,f=e.lessonHeaderStyle,p=e.lessonHeaderTextColor,h=e.partnerContentAuthors,m=e.totalLessons,g=e.lessonNumber,y=e.showAuthor,b=e.showLessonCount,_=e.title,w=OR("rise-auto-calc-contrast"),k=p===NS.AUTO,E=bI()===Fb,x=f===hS.ACCENT&&!EC(i),S=f===hS.COLOR&&!EC(l),T=x||S,C=null==p&&T,A=(0,v.useMemo)((function(){return w?p===NS.DARK||C:T}),[w,C,T,p]),O=(0,v.useMemo)((function(){return!A&&!k}),[k,A]),N=Oie("top-wrap",{"text-dark":A,"text-light":O}),P=(0,v.useMemo)((function(){if(f===hS.COLOR)return{backgroundColor:l};var e=Wn()(["media","image"],c),t=c.alpha;return e&&f===hS.IMAGE?uS({alpha:t,color:fS,url:eS(e)}):void 0}),[l,c,f]);return Cie.createElement(Cie.Fragment,null,Cie.createElement(TD,{sectionStyles:P,lessonHeaderTextColor:p,topWrapClassName:N},Cie.createElement(Aie,{authorName:t,avatar:n,color:i,description:o,lessonName:s,lessonNumber:g,lessonHeaderColor:l,lessonHeaderSize:d,lessonHeaderStyle:f,lessonHeaderTextColor:p,lessonPreposition:u,partnerContentAuthors:h,showAuthor:y,showLessonCount:b&&!E,title:_,totalLessons:m})),r)},Pie=yM("one-page-authors");function Iie(e){var t=e.avatarUrl,n=e.hasDarkBorder;return t?v.createElement("div",{className:Pie("avatar",{"dark-border":n}),style:{backgroundImage:"url(".concat(t,")")}}):v.createElement("div",{className:Pie("avatar-fallback",{"dark-border":n})},v.createElement(YO,{decorative:!0}))}function Lie(e){var t=e.a11yAuthorPrefix,n=e.hasDarkText,r=e.name,i=r||"Unknown User",o=Pie("name",{"text-dark":n});return v.createElement(MR,{className:o.toString(),disabled:!0,tag:"div"},v.createElement("span",{"aria-hidden":"true"},i),v.createElement("span",{className:"visually-hidden-always"},t," ",r))}var Mie=Xz("OnePageAuthors",(function(e){var t,n,r,i,o=e.className,a=e.hasDarkText,s=lM(),u=pM(),l=function(){var e,t,n,r,i=sM(),o=(null!==(e=null==i||null===(t=i.lessons)||void 0===t?void 0:t[0])&&void 0!==e?e:{}).selectedAuthorId;return"none"===o?{id:"none"}:null==i||null===(n=i.authors)||void 0===n||null===(r=VS()(n))||void 0===r?void 0:r.call(n,(function(e){return e.id===o}))}(),c=null==(i=aM().partnerContent)||null===(t=i.content)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.data)||void 0===r?void 0:r.authors;if("none"===(null==l?void 0:l.id))return null;var d=(null==u?void 0:u.isPartnerContentAuthor)&&null!=c,f=Pie({}).mix(o);return d?v.createElement("div",{className:f},v.createElement("ul",{className:Pie("list"),role:"list"},Ra()(c).call(c,(function(e,t){return v.createElement("li",{className:Pie("item"),key:t,role:"listitem"},v.createElement(Iie,{avatarUrl:nS({width:"76",height:"76",imageKey:null==e?void 0:e.image}),hasDarkBorder:a}),v.createElement(Lie,{a11yAuthorPrefix:null==s?void 0:s.a11yAuthorPrefix,hasDarkText:a,name:null==e?void 0:e.name}))})))):v.createElement("div",{className:f},v.createElement(Iie,{avatarUrl:er(null==l?void 0:l.avatar),hasDarkBorder:a}),v.createElement(Lie,{a11yAuthorPrefix:null==s?void 0:s.a11yAuthorPrefix,hasDarkText:a,name:null==l?void 0:l.authorName}))})),Rie=yM("one-page-title"),Die=Xz("OnePageTitle",(function(e){var t=e.className,n=e.hasDarkText,r=e.htmlId,i=(0,v.useRef)(),o=sM(),a=Rie({"text-dark":n}).mix(t);return v.createElement(MR,{className:a,id:r,disabled:!0,ref:i,tag:"h1"},null==o?void 0:o.title)})),qie=yM("one-page-lesson-header-info");var jie=Xz("OnePageCoverInfo",(function(){var e,t=sM(),n=qie({}),r=null!==(e=null==t?void 0:t.theme)&&void 0!==e?e:{},i=r.coverPageType,o=r.coverTextColor===NS.DARK||i===TS.WHITE||i===TS.ACCENT&&!EC(null==t?void 0:t.color);return v.createElement("div",{className:n},v.createElement(Die,{className:qie("title").toString(),hasDarkText:o}),v.createElement(Mie,{className:qie("authors").toString(),hasDarkText:o}))})),Fie=__webpack_require__(67294),Bie=Xz("CoverSVG"),Uie=yM("one-page-lesson-header"),zie=yM("page"),Hie=Uie("main").mix("lesson-header__main"),Vie=Uie("container").mix(zie("header-container")),Wie=function(){var e,t=mI(),n="organic"===(null==t||null===(e=t.theme)||void 0===e?void 0:e.themeId)?"#f8f8f8":"#fff",r=(null==t?void 0:t.coverPageType)===TS.WHITE,i=(null==t?void 0:t.coverPageType)===TS.IMAGE,o=(null==t?void 0:t.coverPageType)===TS.ACCENT,a=o?null==t?void 0:t.color:n,s=Uie({accent:o,image:i,white:r}),u=i?DC(null==t?void 0:t.coverImage):{backgroundColor:a};return Fie.createElement("div",{className:s,style:u},Fie.createElement("div",{className:Vie},Fie.createElement("div",{className:Hie},Fie.createElement(jie,null))),Fie.createElement(Bie,{coverPageType:"LEFT"}))},Yie=__webpack_require__(67294);function Gie(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Kie=mS.LARGE,Xie=mS.SMALL,$ie=hS.ACCENT,Zie=hS.BLACK,Qie=hS.COLOR,Jie=hS.DARK,eoe=hS.GRAY,toe=hS.IMAGE,noe=hS.LIGHT,roe=hS.TINT,ioe=yM("lesson-header-wrap"),ooe=function(e){gt(n,e);var t=Gie(n);function n(e){var r;nt(this,n),r=t.call(this,e);var i=e.course,o=e.isProgressSummary,a=e.lessonProgress,s=e.match.params,u=Ru()(null,"index",a),l=o?Sne:Il()({},["lessons",u],i),c={course:i,lesson:l},d=o?null:HI(c);return r.state={hasTransitioned:!1,lessonNumber:o?0:zI(c),mode:s.mode||"",model:l,next:d,nextNumber:zI({course:i,lesson:d}),scrollPosition:0,totalLessons:VI(i)},r}return dt(n,[{key:"componentDidMount",value:function(){var e=this.props.match.params.id;this.setState({hasTransitioned:!0}),this.props.isProgressSummary||dx(e),this.props.isProgressSummary||lI(ll(e))}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=Ru()(null,"index",n),i=Il()(null,["lessons",r],t),o=HI({course:t,lesson:i});i&&this.setState({model:i,next:o})}}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.props.didNavigate&&!t.hasTransitioned&&this.state.hasTransitioned&&setTimeout((function(){n.props.onFocusPageTop()}),0)}},{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentWillEnter",value:function(e){hK()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){this.setState({hasTransitioned:!0})}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;hK()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),window.dispatchEvent(new CustomEvent(fV)),hK()(g.findDOMNode(this)).scrollTop(this.lastScrollPosition)}},{key:"transitionComplete",value:function(){var e=g.findDOMNode(this);if(!e)return!1;var t=e.classList;return t&&(t.contains("page-transition-complete")||t.contains("page-transition-back-complete")||1===t.length&&t.contains("page"))}},{key:"transition",value:function(e,t){var n,r=this.props,i=r.onNavigateTransitionEnd,o=(0,r.navigateDirection)(),a=g.findDOMNode(this);if(a){var s=St()(n="page ".concat(o,"-")).call(n,e);a.className=s,_ie.addEventListeners(a,(function n(){a.className="enter"===e?"page ".concat(o,"-complete"):"page",_ie.removeEventListeners(a,n),window.dispatchEvent(new CustomEvent(pV)),i(),t()}))}else t()}},{key:"renderLessonType",value:function(e){var t=e.type,n=e.props,r=e.course,i=e.model;if(this.props.isProgressSummary)return Yie.createElement(xne,Et({},this.props,n));switch(t){case"blocks":return Yie.createElement(Tee,Et({},n,{handleNavigate:this.props.handleNavigate,animateBlockEntrance:r.animateBlockEntrance,isFirstLesson:qI({course:r,lesson:i})}));case"map":return Yie.createElement(Dee,n);case"process":return Yie.createElement(lte,n);case"timeline":return Yie.createElement(bie,n);case"quiz":return Yie.createElement(iie,n);case"sorting":return Yie.createElement(cie,n);case"screencast":case"slidecast":case"video":return Yie.createElement(Tie,n);case"embed":return Yie.createElement(Pee,n);default:return null}}},{key:"render",value:function(){var e=this.state,t=e.lessonNumber,n=e.mode,r=e.model,i=e.next,o=e.scrollPosition,a=e.totalLessons,s=this.props,u=s.course,l=s.courseProgress,c=s.handleStorylineFullscreen,d=s.isMobileHeader,f=s.isProgressSummary,p=s.labels,h=s.lessonProgress,m=s.location,v=s.match,g=s.previewType,y=s.sessionPreferences.prefersKeyboardNavigation,b=s.sidebarEnabled,_=s.themeId,w=r.author,k=r.selectedAuthorId,E=r.type,x=u.authors,S=u.color,T=u.enableVideoPlaybackSpeed,C=u.id,A=u.lessonHeaderImage,O=u.lessonHeaderSize,N=u.lessonHeaderStyle,P=u.publishedAt,I=u.showAuthor,L=u.showLessonCount,M=u.showNavigationButtons,R=u.tenantId,D=u.theme,q=u.type,j=D.lessonHeaderColor,F=D.lessonHeaderTextColor,B=D.navigationType,U=Il()([],["partnerContent","content"],this.props),z=!Ha()(U),H=z?Ux()(Ci()("id",k),U):{},V=z?Il()(void 0,["data","authors"],H):void 0,W=function(e){var t=e.authors,n=e.author,r=e.selectedAuthorId;return aie()(t,{id:r||n})||{}}({authors:x,author:w,selectedAuthorId:k}),Y=W.avatar,G=W.authorName,K=LI({course:u,courseProgress:l}),X=f?{}:FI({course:u,courseProgress:l,lesson:i,restrictingQuiz:K}),$=gK(r),Z=q===Fb?Wie:Nie,Q=Yie.createElement(Z,{authorName:G,avatar:Y,color:S,course:u,description:r.description,labels:p,lessonHeaderColor:j,lessonHeaderImage:A,lessonHeaderStyle:N,lessonHeaderSize:O,lessonHeaderTextColor:F,lessonNumber:t,partnerContentAuthors:V,showAuthor:I,showLessonCount:L,themeId:_,title:r.title,totalLessons:a},!f&&Yie.createElement(rte,{id:r.id,items:r.items,lessonProgress:h,navigationType:B,scrollPosition:o,type:r.type})),J=ioe({small:O===Xie&&!d,large:O===Kie&&!d,mobile:d,accent:N===$ie,black:N===Zie,tint:N===roe,dark:N===Jie,gray:N===eoe,light:N===noe,custom:N===Qie,image:N===toe}),ee={authorName:G,avatar:Y,color:S,courseId:C,courseTitle:u.title,data:r,enableVideoPlaybackSpeed:T,handleStorylineFullscreen:c,isLesson:RC(r),labels:p,lessonHeader:Q,lessonHeaderImage:A,lessonHeaderTextColor:F,lessonHeaderWrapClasses:J,lessonHasContinues:$,lessonNumber:t,lessonProgress:h,loadMedia:this.state.hasTransitioned,location:m,match:v,mode:n,nextLesson:Ru()(null,"id",i),nextLessonRestrictions:X,partnerContent:U,publishedAt:P,prefersKeyboardNavigation:y,previewType:g,scrollPosition:o,showAuthor:I,showLessonCount:L,showNavigationButtons:M,sidebarEnabled:b,tenantId:R,totalLessons:a};return Yie.createElement(iY(),{title:ZY(r.title+" - "+u.title)},Yie.createElement("div",{"data-lesson-id":v.params.id},this.renderLessonType({type:E,props:ee,course:u,model:r})))}}]),n}(Yie.Component),aoe=pe()(NR("rise-auto-calc-contrast","isAutoCalcContrastEnabled"),(function(e){function t(t,n){t.targetColor;var r=Ji(t,rM),i=gM();return tM.createElement(e,Et({},r,{ref:n,lessonHeaderTextColor:i}))}return kt()((0,v.forwardRef)(t),{displayName:"withLessonHeaderTextColor(".concat(e.displayName||e.name,")")})}))(ooe),soe=function(e){(0,v.useEffect)(e,[])},uoe=function(e){var t=(0,v.useRef)(e);t.current=e,soe((function(){return function(){return t.current()}}))},loe=yM("lesson-nav"),coe=function(e,t){var n,r,i,o,a=e.allowTooltip,s=e.buttonScheme,u=e.buttonTextColor,l=e.className,c=e.color,d=e.courseHomeLabel,f=e.lessonNameLabel,p=e.lessonPrepositionLabel,h=e.onFocus,m=e.previousLesson,g=e.previousLessonNumber,y=e.totalLessons,b=(0,v.useRef)(),_=(0,v.useRef)(),w=null==m?void 0:m.id,k=HD(),E=zD(k),x=RC(m)&&w,S=(null==m?void 0:m.title)||d,T=s===xS.ACCENT,C=s===xS.TINT,A=C?AC(c):c,O=u!==NS.AUTO,N=!T||T&&O,P=x?St()(n=St()(r=St()(i="".concat(g," ")).call(i,p," ")).call(r,y," — ")).call(n,S):S,I=E&&x?St()(o="".concat(f," ")).call(o,g):P,L={color:C?A:null};return v.createElement(BD,{allowTooltip:a,className:l,direction:"previous",disabled:N,linkStyles:L,navLessonId:w,onFocus:h,ref:t,tag:UD},E?v.createElement(v.Fragment,null,v.createElement(BD,{className:loe("link-text"),disabled:N,ref:b,tag:"span"},I),v.createElement(BD,{className:loe("link-icon"),disabled:N,ref:_,tag:BU})):v.createElement(v.Fragment,null,v.createElement(BD,{className:loe("link-icon"),disabled:N,ref:_,tag:BU}),v.createElement(BD,{className:loe("link-text"),disabled:N,ref:b,tag:"span"},I)))},doe=Xz("LessonNavPrevious",v.forwardRef(coe));var foe=nn((function(){var e=BL(),t=zL(BL());return function(n,r){var i,o=r.lessonId,a=hI(n),s=e(o,n)||{},u=t(o,n),l=XL(n),c=ML(n);return{buttonNavigationStyle:a.buttonNavigationStyle,buttonScheme:a.buttonScheme,buttonTextColor:null===(i=a.theme)||void 0===i?void 0:i.buttonTextColor,color:a.color,courseHomeLabel:l.courseHome,lessonNameLabel:l.lessonName,lessonPrepositionLabel:l.lessonPreposition,previousLesson:s,previousLessonNumber:u,totalLessons:c}}}),null,null,{forwardRef:!0})(doe),poe=function(e,t){var n=(0,v.useState)(null),r=n[0],i=n[1];return(0,v.useEffect)((function(){if(e.current&&"function"==typeof IntersectionObserver){var n=new IntersectionObserver((function(e){i(e[0])}),t);return n.observe(e.current),function(){i(null),n.disconnect()}}return function(){}}),[e.current,t.threshold,t.root,t.rootMargin]),r},hoe=__webpack_require__(96026),moe=__webpack_require__.n(hoe),voe=yM("lesson-nav"),goe=function(e,t){var n,r,i,o,a=e.allowTooltip,s=e.buttonScheme,u=e.buttonTextColor,l=e.color,c=e.lessonNameLabel,d=e.lessonPrepositionLabel,f=e.nextLesson,p=e.nextLessonNumber,h=e.onFocus,m=e.restrictionData,g=e.restrictionType,y=e.totalLessons,b=(0,v.useRef)(),_=(0,v.useRef)(),w=null==f?void 0:f.id,k=HD(),E=zD(k),x=RC(f),S=s===xS.ACCENT,T=x&&w,C=(null==f?void 0:f.title)||"",A=s===xS.TINT,O=A?AC(l):l,N=u!==NS.AUTO,P=!S||S&&N,I=T?St()(n=St()(r=St()(i="".concat(p," ")).call(i,d," ")).call(r,y," — ")).call(n,C):C,L=E&&T?St()(o="".concat(c," ")).call(o,p):I,M={color:A?O:null};return v.createElement(BD,{allowTooltip:a,direction:"next",disabled:P,linkStyles:M,navLessonId:w,onFocus:h,ref:t,restrictionData:m,restrictionType:g,tag:UD},E?v.createElement(v.Fragment,null,v.createElement(BD,{className:voe("link-text"),disabled:P,ref:b,tag:"span"},L),v.createElement(BD,{className:voe("link-icon"),disabled:P,ref:_,tag:FU})):v.createElement(v.Fragment,null,v.createElement(BD,{className:voe("link-icon"),disabled:P,ref:_,tag:FU}),v.createElement(BD,{className:voe("link-text"),disabled:P,ref:b,tag:"span"},L)))},yoe=Xz("LessonNavNext",(0,v.forwardRef)(goe)),boe=moe()(0,1,.01);function _oe(){var e=UL(),t=zL(UL()),n=wL();return function(r,i){var o,a=i.lessonId,s=hI(r),u=e(a,r)||{},l=t(a,r),c=XL(r),d=n(u.id,r),f=ML(r);return{buttonNavigationStyle:s.buttonNavigationStyle,buttonScheme:s.buttonScheme,buttonTextColor:null===(o=s.theme)||void 0===o?void 0:o.buttonTextColor,color:s.color,lessonNameLabel:c.lessonName,lessonPrepositionLabel:c.lessonPreposition,nextLesson:u,nextLessonNumber:l,restrictionData:null==d?void 0:d.data,restrictionType:null==d?void 0:d.type,totalLessons:f}}}nn(_oe)((function(e){var t=e.dispatch,n=(0,v.useRef)(),r=poe(n,{threshold:boe}),i=WG();return(0,v.useLayoutEffect)((function(){var e=n.current.closest("[data-lesson-id]");e&&i===e.dataset.lessonId&&t(rI({intersectionRect:null==r?void 0:r.intersectionRect}))}),[i,t,r]),uoe((function(){return t(rI(null))})),v.createElement(yoe,Et({ref:n},e))}));var woe=nn(_oe,null,null,{forwardRef:!0})(yoe),koe=yM("lesson-nav"),Eoe=function(e,t){var n=e.allowTooltip,r=e.buttonScheme,i=e.buttonTextColor,o=e.color,a=e.courseFinishLabel,s=e.onFocus,u=e.restrictionData,l=e.restrictionType,c=(0,v.useRef)(),d=(0,v.useRef)(),f=r===xS.ACCENT,p=r===xS.TINT,h=p?AC(o):o,m=HD(),g=zD(m),y=i!==NS.AUTO,b=!f||f&&y,_={color:p?h:null};return v.createElement(BD,{allowTooltip:n,direction:"next",disabled:b,finish:!0,linkStyles:_,onFocus:s,ref:t,restrictionData:u,restrictionType:l,tag:UD},g?v.createElement(v.Fragment,null,v.createElement(BD,{className:koe("link-text"),disabled:b,ref:c,tag:"span"},a),v.createElement(BD,{className:koe("link-icon"),disabled:b,ref:d,tag:FU})):v.createElement(v.Fragment,null,v.createElement(BD,{className:koe("link-icon"),disabled:b,ref:d,tag:FU}),v.createElement(BD,{className:koe("link-text"),disabled:b,ref:c,tag:"span"},a)))},xoe=Xz("LessonNavFinish",(0,v.forwardRef)(Eoe));var Soe=nn((function(e){var t,n,r=hI(e),i=XL(e);return{buttonNavigationStyle:r.buttonNavigationStyle,buttonScheme:r.buttonScheme,buttonTextColor:null===(t=r.theme)||void 0===t?void 0:t.buttonTextColor,color:r.color,courseFinishLabel:null!==(n=i.courseFinish)&&void 0!==n?n:"Finish"}}))(xoe),Toe={threshold:0},Coe=function(e,t){var n=Dr((0,v.useState)(!1),2),r=n[0],i=n[1],o=(0,v.useRef)(null);return(0,v.useEffect)((function(){o.current&&o.current.disconnect(),o.current=new IntersectionObserver((function(e){var t=Dr(e,1)[0];i(t.isIntersecting)}),t||Toe);var n=o.current;return e.current?n.observe(e.current):i(!1),function(){n.disconnect()}}),[e,t]),r},Aoe=yM("navButtonsFull"),Ooe=function(e){var t,n,r,i,o=e.children,a=e.navNextEnabled,s=e.navFinishEnabled,u=(0,v.useRef)(null),l=(0,v.useRef)(null),c=(0,v.createRef)(null),d=(0,v.useRef)(),f=WG(),p=Coe(l),h=Coe(c),m=(t=Dr((0,v.useState)(!1),2),n=t[0],r=t[1],fq(fV,(function(){return r(!0)})),fq(pV,(function(){return r(!1)})),n),g=(0,v.useCallback)((function(){var e;null===(e=u.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})}),[]),y=(0,v.useCallback)((function(){var e,t,n=null===(e=u.current)||void 0===e?void 0:e.scrollHeight;null===(t=u.current)||void 0===t||t.scrollTo({top:n,behavior:"smooth"})}),[]);fq(uV,g),fq(lV,y),function(e){var t=e.isVisible;uoe((function(){return window.dispatchEvent(new CustomEvent(mV))})),(0,v.useEffect)((function(){var e=t?hV:mV;window.dispatchEvent(new CustomEvent(e))}),[t])}({isVisible:p}),i={isVisible:h}.isVisible,uoe((function(){return window.dispatchEvent(new CustomEvent(gV))})),(0,v.useEffect)((function(){var e=i?vV:gV;window.dispatchEvent(new CustomEvent(e))}),[i]),(0,v.useEffect)((function(){if(!m&&l.current){var e,t,n,r=(null!==(e=null===(t=l.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:0)+1;null===(n=u.current)||void 0===n||n.scrollTo({top:r})}}),[m,l]);var b=Aoe("navPrev",{visible:p,hide:m});return v.createElement("div",{className:"page-wrap",id:"page-wrap",ref:u},v.createElement("div",{className:Aoe()},v.createElement("div",{className:b},v.createElement(foe,{lessonId:f,ref:l})),o,a&&v.createElement(woe,{lessonId:f,ref:c}),s&&v.createElement(Soe,{lessonId:f,ref:d})))},Noe=function(e){soe((function(){e()}))},Poe=yM("navButtonsFloating"),Ioe=function(e){var t=e.transitionIn,n=e.buttonType,r=e.children,i={entered:Poe(n,{entered:!0}),exiting:Poe(n,{exiting:!0}),exited:Poe(n,{exited:!0})};return v.createElement(Jt,{in:t,timeout:250},(function(e){return v.createElement("div",{className:i[e]},r)}))},Loe={threshold:.2},Moe=function(e){var t=e.children,n=e.isCurrentLessonQuiz,r=e.navNextEnabled,i=e.navFinishEnabled,o=(0,v.useRef)(),a=(0,v.useRef)(),s=(0,v.useRef)(),u=(0,v.useRef)(),l=(0,v.useRef)(),c=(0,v.useRef)(),d=WG(),f=function(e){var t=e.topRef,n=e.bottomRef,r=e.pageWrapRef,i=e.currentLessonId,o=Coe(t,Loe),a=Coe(n,Loe),s=Dr((0,v.useState)(!1),2),u=s[0],l=s[1],c=Dr((0,v.useState)(!1),2),d=c[0],f=c[1],p=Dr((0,v.useState)(!1),2),h=p[0],m=p[1],g=(0,v.useCallback)((function(){var e;null===(e=r.current)||void 0===e||e.scrollTo({top:2,behavior:"smooth"})}),[r]);return Noe(g),(0,v.useEffect)((function(){l(!0);var e=setTimeout((function(){g(),l(!1)}),250);return function(){clearTimeout(e)}}),[i,g]),(0,v.useEffect)((function(){f(a&&!u),m(o&&!u)}),[a,o,u]),{showPrev:h,showNext:d}}({topRef:l,bottomRef:c,pageWrapRef:o,currentLessonId:d}),p=f.showNext,h=f.showPrev,m=(0,v.useCallback)((function(){var e;null===(e=o.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})}),[]),g=(0,v.useCallback)((function(){var e,t,n=null===(e=o.current)||void 0===e?void 0:e.scrollHeight;null===(t=o.current)||void 0===t||t.scrollTo({top:n,behavior:"smooth"})}),[]);return fq(uV,m),fq(lV,g),(0,v.useEffect)((function(){n&&(r||i)&&g()}),[n,r,i,g]),v.createElement("div",{className:"page-wrap",id:"page-wrap",ref:o},v.createElement("div",{ref:l,className:Poe("top")}),v.createElement(Ioe,{transitionIn:h,buttonType:"prev"},v.createElement(foe,{lessonId:d,onFocus:m,ref:a})),t,v.createElement(Ioe,{transitionIn:p&&(r||i),buttonType:"next"},r?v.createElement(woe,{lessonId:d,onFocus:g,ref:s}):i?v.createElement(Soe,{lessonId:d,onFocus:g,ref:u}):null),v.createElement("div",{ref:c,className:Poe("bottom")}))},Roe=SS.FULL,Doe=SS.FLOATING,qoe=yM("lessonNavigation"),joe=function(e){var t=e.children,n=(0,v.createRef)();return v.createElement("div",{className:"page-wrap",id:"page-wrap",ref:n},t)},Foe=function(e,t){var n;return e+(null!==(n=null==t?void 0:t.drawCount)&&void 0!==n?n:1)},Boe=function(e){var t,n=e.children,r=e.isPreviewLesson,i=sM().buttonNavigationStyle,o=ue().pathname,a=sM(),s=a.showNavigationButtons,u=(0,v.useRef)(),l=rR(480),c=WG(),d=bL(c)||{},f=lL(c)||{},p=Dr((0,v.useState)(i),2),h=p[0],m=p[1];(0,v.useEffect)((function(){i!==h&&(m(i),window.dispatchEvent(new CustomEvent(uV)))}),[i,h]);var g=!gK(d)||f.isComplete,y=f.activeIndex===function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(Foe,0)}(d.items)+1,b="quiz"===d.type&&!y||"continue"===(null===(t=d.settings)||void 0===t?void 0:t.continueType),_=d&&HI({course:a,lesson:d}),w="progress-summary"===c,k=_&&!r&&g&&!b&&!w,E=!_&&g&&$n,x=qoe("wrapper",{full:i===Roe||l,floating:i===Doe&&!l}),S=!s||r?joe:i!==Doe||l?Ooe:Moe;return(0,v.useEffect)((function(){var e=document.querySelector(".page__content");e&&e.classList.add("page__content--preview-nav")}),[S]),v.createElement("div",{className:x,ref:u},v.createElement(S,{navNextEnabled:k,navFinishEnabled:E},v.createElement(Zt,{component:"div"},v.createElement(IG,{key:o},n))))},Uoe=__webpack_require__(67294),zoe=yM("courseExit");function Hoe(e){var t=sM(),n=$L().courseExit,r=t.lmsOptions,i=void 0===r?{}:r;return e.enableExitCourse||i.enableExitCourse?Uoe.createElement("div",{className:zoe("wrapper")},Uoe.createElement("button",{className:e.className||zoe("button"),onClick:tr,type:"button"},n)):null}var Voe=yM("nav-control"),Woe=function(e){var t,n,r,i=e["aria-controls"],o=e.isNavOpen,a=e.toggleNav,s=sM(),u=$L(),l=Eq(),c=s.navigationType!==yS.COMPACT||l,d=(t=Dr((0,v.useState)(!1),2),n=t[0],r=t[1],fq(hV,(function(){return r(!0)})),fq(mV,(function(){return r(!1)})),n),f=Dr((0,v.useState)(0),2),p=f[0],h=f[1];return v.useEffect((function(){var e,t=document.querySelector(".page-wrap"),n=document.querySelector(".lesson-nav--previous"),r=null!==(e=null==n?void 0:n.clientHeight)&&void 0!==e?e:60;function i(e){var t,n=e.target,i=null!==(t=null==n?void 0:n.scrollTop)&&void 0!==t?t:0;h(r-i)}return d?0===t.scrollTop?h(r):t.addEventListener("scroll",i):h(0),function(){return t.removeEventListener("scroll",i)}}),[d]),v.createElement("div",{className:Voe("wrapper")},c&&v.createElement("div",{className:Voe("menu"),style:{marginTop:p}},v.createElement("button",{className:Voe("button"),"aria-controls":i,"aria-expanded":o,"aria-label":o?null==u?void 0:u.a11yNavigationMenuClose:null==u?void 0:u.a11yNavigationMenuOpen,onClick:a,type:"button"},v.createElement(RO,{className:"page-menu-toggle__icon"}))),v.createElement(Hoe,null))};function Yoe(e){return null==e?void 0:e.search}function Goe(){return rn((function(e){return Yoe(e)}))}var Koe=pI((function(e){var t=Yoe(e);return null==t?void 0:t.activeLessons}),(function(e){return e.reduce((function(e,t){return null!=t&&t.id&&(e[t.id]=t),e}),{})}));function Xoe(e){var t=(0,v.useMemo)((function(){return pI((function(e){return e}),(function(e,t){return Koe(t)}),(function(e,t){return null==t?void 0:t[e]}))}),[]);return rn((function(n){return t(e,n)}))}var $oe=yM("nav-compact"),Zoe=Xz("NavCompactHeaderCounter",(function(e){var t,n,r,i=e.lessonPosition,o=e.labelLessonName,a=e.labelLessonPreposition,s=e.totalLessons,u=(0,v.useRef)();return i<=0?null:v.createElement(vq,{className:$oe("header-counter"),ref:u},St()(t=St()(n=St()(r="".concat(o," ")).call(r,i," ")).call(n,a," ")).call(t,s))})),Qoe=Xz("NavCompactHeaderProgress",(function(e){var t=e.classProgressRunner,n=e.classProgressText,r=e.classProgressTrack,i=e.color,o=e.percentComplete,a=e.percentCompleteText,s=e.navExpanded,u=(0,v.useRef)();return v.createElement("div",{className:$oe("header-progress")},v.createElement(vq,{className:n,ref:u},a),v.createElement(pz,{"aria-hidden":s,"aria-label":a,color:i,progress:o,runnerClass:t,trackClass:r}))}));var Joe=nn((function(){var e=pI(eL,NL,(function(e,t){return Ru()(-1,e,t)}));return function(t){var n=hI(t),r=tL(t),i=XL(t),o=PL(t),a=e(t),s=yI(t),u=Yoe(t);return{a11yNavigationMenuClose:i.a11yNavigationMenuClose,a11yNavigationMenuOpen:i.a11yNavigationMenuOpen,a11ySearchOpen:i.a11ySearchOpen,allowSearch:n.allowSearch,color:n.color,coverImageBgStyle:null==s?void 0:s.backgroundImage,labelLessonComplete:i.lessonComplete,labelLessonName:i.lessonName,labelLessonPreposition:i.lessonPreposition,lessonPosition:a,lessonsOnlyIds:o,navigationMode:n.navigationMode,navigationStyle:n.navigationStyle,percentComplete:r,searchActive:u.active,themeId:n.themeId,title:n.title}}}))((function(e){var t,n=e.a11yNavigationMenuClose,r=e.a11yNavigationMenuOpen,i=e.a11ySearchOpen,o=e.allowSearch,a=e.closeNav,s=e.color,u=e.coverImageBgStyle,l=e.dispatch,c=e.isExpanded,d=e.labelLessonComplete,f=e.labelLessonName,p=e.labelLessonPreposition,h=e.lessonPosition,m=e.lessonsOnlyIds,g=e.navigationMode,y=e.navigationStyle,b=e.openNav,_=e.percentComplete,w=e.searchActive,k=e.title,E=(0,v.useMemo)((function(){return VC(y)}),[y]),x=(0,v.useCallback)((function(){c?a():b()}),[c,b,a]),S=St()(t="".concat(_,"% ")).call(t,d),T=GA()("nav-compact__header",{"nav-compact__header--collapsed":!c}),C=GA()("nav-compact__header-image",{"nav-compact__header-image--collapsed":!c}),A="nav-compact__header-control",O=GA()("nav-compact__header-title-link",{"nav-compact__header-title-link--collapsed":!c}),N=GA()("nav-compact__header-progress-text",{"nav-compact__header-progress-text--collapsed":!c}),P=GA()("nav-compact__header-progress-track",{"nav-compact__header-progress-track--collapsed":!c}),I=GA()("nav-compact__header-progress-runner",{"nav-compact__header-progress-runner--collapsed":!c}),L=(0,v.useCallback)((function(){l(MP(!w))}),[l,w]),M=(0,v.useRef)(),R=(0,v.useRef)();return v.createElement("section",{"aria-label":"Course Information",className:T},E&&u&&v.createElement("div",{className:C,style:{backgroundImage:u}}),v.createElement("div",{className:"nav-compact__header-inner"},v.createElement("div",{className:"nav-compact__header-strip"},v.createElement(vq,{className:"nav-compact__header-controls",ref:M},o&&"restricted"!==g&&c&&v.createElement("button",{"aria-label":i,className:"".concat(A," nav-compact__header-search"),onClick:L,type:"button"},v.createElement(XU,{className:"nav-compact__header-control-icon nav-compact__header-search-icon"})),v.createElement("button",{"aria-controls":"nav-compact-outline","aria-label":c?n:r,"aria-expanded":c,className:"".concat(A," nav-compact__header-toggle"),onClick:x,type:"button"},c&&v.createElement(UU,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}),!c&&v.createElement(zU,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}))),v.createElement(Zoe,{lessonPosition:h,labelLessonName:f,labelLessonPreposition:p,totalLessons:m.length})),v.createElement("div",{className:"nav-compact__header-title"},v.createElement(vq,{className:O,ref:R,tag:zj,to:"/"},k)),v.createElement(Qoe,{classProgressRunner:I,classProgressText:N,classProgressTrack:P,color:s,percentComplete:_,percentCompleteText:S,navExpanded:c})))}));function eae(e){var t,n=e.id,r=e.isEnabled,i=e.isSectionLesson,o=e.last,a=mI().navigationStyle,s=(null!==(t=bL(n))&&void 0!==t?t:{}).title,u=WG(),l=jL(n),c=(0,v.useMemo)((function(){return qC(a)}),[a]),d=n===u,f=SQ(s||"",45),p=Dr((0,v.useState)(!1),2),h=p[0],m=p[1],g=(0,v.useCallback)((function(){return m(!0)}),[]),y=(0,v.useCallback)((function(){return m(!1)}),[]),b=i?"nav-compact__outline-section-item":"nav-compact__outline-item",_=v.createElement(GG,{canComplete:l,isDark:c,id:n,isEnabled:r,isTooltipVisible:h,onShowTooltip:g,onHideTooltip:y,scope:Bb.COMPACT});return v.createElement("li",{className:"nav-compact__outline-list-item",role:"listitem"},v.createElement(jW,{className:b,dark:c,isCurrentLesson:d,isTooltipEnabled:!l,last:o,lessonId:n,onHideProgressTooltip:y,onShowProgressTooltip:g,showProgressDelay:0,tooltipClassName:"".concat(b,"-tooltip")},f,!l&&_),l&&_)}var tae=yM("nav-compact"),nae=function(e){var t=bL(e.id),n=null==t?void 0:t.title,r=tae("outline-section-empty");return v.createElement("div",{className:r},v.createElement("span",null,n))};var rae=nn((function(){var e=yL();return function(t,n){var r=hI(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,themeId:r.themeId,title:i.title}}}))((function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=e.themeId,o=e.title,a=Dr((0,v.useState)(!0),2),s=a[0],u=a[1],l=Dr((0,v.useState)(),2),c=l[0],d=l[1],f=(0,v.useRef)(),p="sublistCompact-".concat(t),h=GA()("nav-compact__outline-section-toggle-icon",{"nav-compact__outline-section-toggle-icon--collapsed":!s}),m=GA()("nav-compact__outline-section-list",{"nav-compact__outline-section-list--collapsed":!s}),g=GA()("nav-compact__outline-section-toggle",{"nav-compact__outline-section-toggle--collapsed":!s}),y=(0,v.useCallback)((function(){u((function(e){return!e}))}),[]);return(0,v.useLayoutEffect)((function(){var e=setTimeout((function(){f.current&&d(f.current.scrollHeight)}),0);return function(){clearTimeout(e)}}),[r.length,i]),v.createElement(v.Fragment,null,v.createElement("button",{"aria-controls":p,"aria-expanded":s,className:g,onClick:y,tabIndex:n?void 0:-1,type:"button"},v.createElement("span",{className:"nav-compact__outline-section-toggle-text"},o),v.createElement($U,{className:h})),v.createElement(PW,{inert:!s},v.createElement("ol",{"aria-hidden":!s||void 0,className:m,id:p,ref:f,role:"list",style:{maxHeight:c}},Ra()(r).call(r,(function(e,t){return v.createElement(eae,{id:e,isEnabled:n&&s,isSectionLesson:!0,key:e,last:t===r.length-1})})))))})),iae=function(e){var t=e.index,n=e.isEnabled,r=BG(e.lessonIds),i=r[0],o=Nr()(r).call(r,1),a="nav-compact__outline-item nav-compact__outline-section";return Ha()(o)?v.createElement("li",{className:a,role:"listitem"},v.createElement(nae,{id:i})):v.createElement("li",{className:a,role:"listitem"},v.createElement(rae,{id:i,index:t,isEnabled:n,lessonIds:o}))},oae=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return qL(r)?v.createElement(iae,{index:t,isEnabled:n,lessonIds:r}):Ra()(r).call(r,(function(e,t){return v.createElement(eae,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})}))},aae=Xz("NavCompactOutline",(function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=e.lessonIdGroups,o=$L(),a=GA()(n,"nav-compact__outline",{"nav-compact__outline--collapsed":!r});return v.createElement("section",{"aria-label":null==o?void 0:o.a11yRegionNavOverview,className:a,id:"nav-compact-outline"},rV(i)&&v.createElement("ol",{className:"nav-compact__outline-list",role:"list"},Ra()(i).call(i,(function(e,t){return Ha()(e)?null:v.createElement(oae,{index:t,isEnabled:r,key:t,lessonIds:e})}))))}));var sae=nn((function(e){var t=hI(e);return{lessonIdGroups:RL(e),navigationStyle:t.navigationStyle}}))(aae),uae=yM("nav-compact"),lae="nav-content-compact";var cae=pe()(nn((function(e){var t=hI(e),n=t.color,r=t.navigationStyle,i=t.theme,o=null==i?void 0:i.navigationTextColor,a=function(e){var t,n,r;return"FULL"===hI(e).buttonNavigationStyle?Math.round(-(null!==(t=null===(n=e.ui.lessonNavNextButton)||void 0===n||null===(r=n.intersectionRect)||void 0===r?void 0:r.height)&&void 0!==t?t:0)):0}(e);return{color:n,navigationStyle:r,navigationTextColor:o,translateY:a}}),null,null,{forwardRef:!0}),v.forwardRef),dae=cae((function(e,t){var n,r,i,o=e.closeNav,a=e.color,s=e.isExpanded,u=e.navigationStyle,l=e.navigationTextColor,c=e.openNav,d=e.translateY,f=(0,v.useMemo)((function(){return qC(u)}),[u]),p=(0,v.useMemo)((function(){return function(e){var t;return k_()(t=[_S.LIGHT_ACCENT,_S.DARK_ACCENT]).call(t,e)}(u)}),[u]),h=(n=Dr((0,v.useState)(!1),2),r=n[0],i=n[1],fq(vV,(function(){return i(!0)})),fq(gV,(function(){return i(!1)})),r),m=(0,v.useMemo)((function(){return VC(u)}),[u]),g=OR("rise-auto-calc-contrast"),y=!EC(a),b=IC(a),_=l===NS.AUTO&&b===NS.DARK,w=(0,v.useMemo)((function(){return g&&l?l===NS.DARK||_:y}),[g,_,y,l]),k=uae({accent:p,dark:f,image:m,light:!f,"text-dark":w,"text-light":!w,collapsed:!s,navNextIsVisible:h}),E=uae("wrap",{collapsed:!s}),x={transform:"translateY(".concat(d,"px)")};return v.createElement("div",{className:k,id:lae,ref:t,style:x},v.createElement("div",{className:E},v.createElement(Joe,{isExpanded:s,openNav:c,closeNav:o}),v.createElement(PW,{inert:!s},v.createElement(sae,{isEnabled:s}))))})),fae=__webpack_require__(67294),pae=kt()((0,v.createContext)(null),{displayName:"OverlayNavControlContext"});function hae(e){var t=e.children,n=e.closeNav,r=e.openNav,i=Dr((0,v.useState)(!1),2),o=i[0],a=i[1],s=(0,v.useCallback)((function(){a(!0)}),[]),u=(0,v.useCallback)((function(){a(!1)}),[]);return fae.createElement(pae.Provider,{value:{closeNav:n,openNav:r,openSearch:s,closeSearch:u,searchActive:o}},t)}pae.Consumer;var mae,vae=v.useContext.bind(null,pae),gae=yM("nav-overlay"),yae=function(e){var t,n=e.className,r=mI().navigationStyle,i=$L().lessonComplete,o=nL(),a=St()(t="".concat(o,"% ")).call(t,i),s=r!==ES.ACCENT,u=gae("header-progress-runner"),l=gae("header-progress-text"),c=gae("header-progress-track"),d=(0,v.useRef)(),f=(0,v.useRef)();return v.createElement("div",{className:gae("header-progress").mix(n)},v.createElement(vq,{"aria-hidden":!0,background:!0,disabled:s,progress:o,ref:f,runnerClass:u,trackClass:c,tag:pz}),v.createElement(vq,{className:l,disabled:s,ref:d},a))},bae=yM("nav-overlay"),_ae=function(e){var t=e.isExpanded,n=mI(),r=n.allowSearch,i=n.navigationMode,o=n.navigationStyle,a=n.title,s=$L(),u=vae(),l=(0,v.useRef)(),c=bae("header-control-btn");(0,v.useEffect)((function(){setTimeout((function(){var e,n;t&&(null===(e=l.current)||void 0===e||null===(n=e.focus)||void 0===n||n.call(e))}),50)}),[t]);var d=(0,v.useRef)(),f=(0,v.useRef)(),p=o!==ES.ACCENT;return v.createElement("section",{"aria-label":"Course Information"},v.createElement("div",{className:bae("header-container")},v.createElement(vq,{className:bae("header-controls"),disabled:p,ref:d},v.createElement("button",{"aria-controls":"nav-content-overlay","aria-label":null==s?void 0:s.a11yNavigationMenuClose,className:c,onClick:u.closeNav,ref:l,type:"button"},v.createElement(JU,{className:bae("header-close-icon")})),r&&"restricted"!==i&&v.createElement("button",{"aria-label":null==s?void 0:s.a11ySearchOpen,className:c,onClick:u.openSearch,type:"button"},v.createElement(XU,{className:bae("header-search-icon")}))),v.createElement("div",{className:bae("header-title-progress-container")},v.createElement("div",{className:bae("header-title")},v.createElement(vq,{className:bae("header-title-link"),disabled:p,ref:f,tag:zj,to:"/"},a)),v.createElement(yae,null))))},wae=["icon"],kae=function(e){var t=e.icon,n=Ji(e,wae);switch(t){case Db:return v.createElement(ZU,n);case qb:return v.createElement(WU,n);case jb:return v.createElement(QU,n);default:return v.createElement(jU,n)}},Eae=yM("nav-overlay"),xae=Xz("NavOverlayOutlineLesson",(function(e){var t=e.first,n=e.id,r=e.isEnabled,i=e.isSectionLesson,o=e.last,a=mI().navigationStyle,s=bL(n),u=s.icon,l=s.title,c=vae(),d=jL(n),f=qC(a),p=a!==ES.ACCENT,h=Eae("outline-item",{section:i}),m=Eae("outline-item-link-icon",{quiz:"Quiz"===u}),g=(0,v.useCallback)((function(){return c.closeNav()}),[c]),y=Dr((0,v.useState)(!1),2),b=y[0],_=y[1],w=(0,v.useCallback)((function(){return _(!0)}),[]),k=(0,v.useCallback)((function(){return _(!1)}),[]),E=(0,v.useRef)(),x=(0,v.useRef)(),S=v.createElement(GG,{canComplete:d,id:n,isDark:f,isEnabled:r,isTooltipVisible:b,onHideTooltip:k,onShowTooltip:w,scope:Bb.OVERLAY});return v.createElement("li",{className:Eae("outline-list-item",{first:t,last:o}),role:"listitem"},v.createElement(jW,{className:h.toString(),dark:f,isTooltipEnabled:!d,lessonId:n,onHideProgressTooltip:k,onNavigate:g,onShowProgressTooltip:w,showProgressDelay:null,tooltipClassName:Eae("outline-item-tooltip").toString()},v.createElement(vq,{className:Eae("outline-icon-wrap"),disabled:p,ref:x,tag:"span"},v.createElement(kae,{className:m,icon:u})),v.createElement(vq,{className:Eae("outline-lesson-title"),disabled:p,ref:E,tag:"span"},l),!d&&S),d&&S)})),Sae=yM("nav-overlay"),Tae=function(e){var t=bL(e.id).title;return v.createElement("span",{className:Sae("outline-section-text")},t)},Cae=yM("nav-overlay"),Aae=function(e){var t=e.id,n=e.isEnabled,r=e.lessonIds,i=bL(t).title,o=mI().navigationStyle,a=(0,v.useRef)(),s=(0,v.useRef)(),u=(0,v.useRef)(),l=o!==ES.ACCENT;return v.createElement(v.Fragment,null,v.createElement(vq,{className:Cae("outline-section-text"),disabled:l,ref:s,tag:"span"},i),v.createElement(vq,{className:Cae("outline-section-divider"),disabled:l,ref:u,rule:"borderColor"}),v.createElement("ol",{className:Cae("outline-section-list"),ref:a,role:"list"},Ra()(r).call(r,(function(e,t){return v.createElement(xae,{id:e,isEnabled:n,isSectionLesson:!0,key:e,last:t===r.length-1})}))))},Oae=yM("nav-overlay"),Nae=function(e){var t=e.index,n=e.isEnabled,r=BG(e.lessonIds),i=r[0],o=Nr()(r).call(r,1),a=Oae("outline-item").mix("nav-overlay__outline-section");return Ha()(o)?v.createElement("li",{className:a,role:"listitem"},v.createElement(Tae,{id:i})):v.createElement("li",{className:a,role:"listitem"},v.createElement(Aae,{id:i,isEnabled:n,index:t,lessonIds:o}))},Pae=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return qL(r)?v.createElement(Nae,{index:t,isEnabled:n,lessonIds:r}):Ra()(r).call(r,(function(e,t){return v.createElement(xae,{id:e,isEnabled:n,isSectionLesson:!1,key:e,first:0===t,last:t===r.length-1})}))},Iae=yM("nav-overlay"),Lae=Xz("NavOverlayOutline",(function(e){var t=e.isEnabled,n=HL(),r=$L();return v.createElement("section",{"aria-label":null==r?void 0:r.a11yRegionNavOverview,className:Iae("outline"),id:"nav-compact-outline"},rV(n)&&v.createElement("ol",{className:Iae("outline-list"),role:"list"},Ra()(n).call(n,(function(e,n){return Ha()(e)?null:v.createElement(Pae,{index:n,isEnabled:t,key:"lessonIdGroup-".concat(n),lessonIds:e})}))))})),Mae=Lae,Rae=Array.isArray,Dae=function(e){return!Jo()(e)&&"object"===st(e)},qae=function(e){return"string"==typeof e},jae=function(e,t){return function(n,r){var i=Un()(r,e);return Dae(n)?Fae(e,t)(n):!(!i||!qae(n))&&!Ha()(iZ()(t,(0,TZ.htmlDecode)(n)))}},Fae=function(e,t){return function(n){return wa()(wi(),Oi(),Un()(!0))(jae(e,t),n)}},Bae=Fae,Uae=function(e,t){return function(n,r){var i=Un()(r,e);return Rae(n)?Oi()(zae(e,t)(n)):Dae(n)?zae(e,t)(n):i&&qae(n)?oa()(iZ()(t,(0,TZ.htmlDecode)(n))):0}},zae=function(e,t){return function(n){return wi()(Uae(e,t),n)}},Hae=function e(t){return Rae(t)?bi()(e,t):Dae(t)?e(Oi()(t)):function(e){return"number"==typeof e}(t)?t:void 0},Vae=function(e,t){return function(n){return wa()(zae(e,t),Oi(),bi()(Hae),gi(),Ea()(Tl(),0),(function(e){return Ro()("results",e,n)}))(n)}},Wae=function(e,t,n){return function(r,i){var o=Un()(i,e);return Rae(r)?Oi()(Yae(e,t,n)(r)):Dae(r)?Yae(e,t,n)(r):o&&qae(r)?wE()(t,n,(0,TZ.htmlDecode)(r)):r}},Yae=function(e,t,n){return function(r){return wi()(Wae(e,t,n),r)}},Gae=Yae,Kae=function(e,t,n){var r=["caption","code","description","heading","message","name","paragraph","title","type"];if(Ha()(e))return!1;var i=e.replace(/[-[\]{}()"'*+?.,\\^$|#\s]/g,"\\$&"),o=new RegExp("(".concat(i,")(?![^<]*>)"),"ig"),a=Gae(r,o,(function(e){return"<mark>".concat(e,"</mark>")})),s=bi()(a,t),u=Bae(r,o),l=Vae(r,o);n(e,wa()(mi()(u),bi()(l))(t),s)},Xae=__webpack_require__(73969),$ae=VG.ZP.animateScroll,Zae=yM("nav-overlay"),Qae=function(){var e=Xe(),t=vae(),n=mI().lessons,r=Dr((0,v.useState)(""),2),i=r[0],o=r[1],a=(0,v.useRef)(),s=$L(),u=Zae("search-close-btn"),l=Zae("search-clear-btn"),c=(0,v.useCallback)((function(){t.closeSearch(),e([LP(!0),MP(!1),qP(null)])}),[e,t]),d=(0,v.useCallback)((function(){var e,t;o(""),null===(e=a.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);(0,v.useEffect)((function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);var f=(0,v.useCallback)((function(e){mW(e)&&c()}),[c]);(0,Xae.default)("keydown",f);var p=(0,v.useCallback)((function(e){o(e.target.value)}),[]),h=(0,v.useCallback)((function(r){if(r.preventDefault(),i){t.closeNav(),t.closeSearch(),Kae(i,n,(function(t,n,r){e([qP(t),RP(n),DP(r),MP(!0)]),$ae.scrollToTop({duration:500,smooth:!0})}))}}),[e,t,n,i]);return v.createElement("div",{className:Zae("search")},v.createElement("div",{className:Zae("search-header")},v.createElement("button",{"aria-label":null==s?void 0:s.a11ySearchClose,className:u,onClick:c,type:"button"},v.createElement(JU,{className:Zae("search-close-icon")}))),v.createElement("div",{className:Zae("search-body")},v.createElement("form",{autoComplete:"off",onSubmit:h},v.createElement("div",{className:Zae("search-container")},v.createElement(XU,{className:Zae("search-icon")}),v.createElement("input",{"aria-label":null==s?void 0:s.a11ySearchInput,className:Zae("search-input").mix("brand--ui"),name:"search",onChange:p,placeholder:null==s?void 0:s.search,ref:a,type:"input",value:i}),i&&v.createElement("button",{className:l,onClick:d,type:"button"},v.createElement(JU,{className:Zae("search-clear-icon").toString()}))),v.createElement("div",{className:Zae("search-actions")},v.createElement("button",{className:Zae("search-submit-btn").mix("brand--ui"),type:"submit"},null==s?void 0:s.search)))))},Jae=Ra()(mae=["[href]",'[tabindex]:not([tabindex=""])',"audio[controls]","button:not([disabled])","details:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","summary:not([disabled])","textarea:not([disabled])","video[controls]"]).call(mae,(function(e){return"".concat(e,':not([tabindex="-1"]):not([hidden]):not([aria-hidden="true"])')})).join(", "),ese=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){var r=tse(n);if(0!==r.length){var i=e>=r.length&&t?0:e;return Ei()(i,r)}}},tse=function(e){var t;return e?_r()(t=Ir()(e.querySelectorAll(Jae))).call(t,(function(e){return"none"!==window.getComputedStyle(e).display})):[]},nse=ese(0),rse=ese(-1);function ise(){var e=(0,v.useRef)(null);function t(t){var n=nse(e.current),r=rse(e.current);pW(t)&&(t.shiftKey?document.activeElement===n&&(r.focus(),t.preventDefault()):document.activeElement===r&&(n.focus(),t.preventDefault()))}return(0,v.useEffect)((function(){var n=null==e?void 0:e.current;return null==n||n.addEventListener("keydown",t),function(){null==n||n.removeEventListener("keydown",t)}}),[]),e}var ose=yM("nav-overlay"),ase="nav-content-overlay",sse=function(e){var t=e.isExpanded,n=vae(),r=qL(HL()[0]),i=(0,v.useCallback)((function(e){mW(e)&&n.closeNav()}),[n]);(0,Xae.default)("keydown",i);var o=ose("body",{section:r});return v.createElement(v.Fragment,null,v.createElement(_ae,{isExpanded:t}),v.createElement("div",{className:o},v.createElement(Mae,{isEnabled:t})))},use=function(e){var t,n=e.isImage,r=e.children,i=(null!==(t=mI())&&void 0!==t?t:{}).coverImage,o=i.alpha,a=i.media,s=n?DC({alpha:o,media:a}):null;return v.createElement("div",{className:ose("content",{graphic:n}),"data-nav-scrollable":!0,id:"nav-content",style:s},r)},lse=function(e){var t,n=e.isExpanded,r=mI(),i=vae(),o=r.navigationStyle,a=null==r||null===(t=r.theme)||void 0===t?void 0:t.navigationTextColor,s=o===ES.ACCENT,u=o===ES.TINT,l=qC(o),c=o===ES.GRAY,d=o===ES.LIGHT,f=VC(o),p=OR("rise-auto-calc-contrast"),h=!EC(r.color),m=IC(r.color),g=a===NS.AUTO&&m===NS.DARK,y=a===NS.AUTO&&MC(r.color),b=(0,v.useMemo)((function(){return p&&a?a===NS.DARK||g:h}),[p,g,h,a]),_=ose({"accent-tint":u,accent:s,dark:l,gray:c,image:f,light:d,"text-dark":b,"text-darkest":b&&y,"text-light":!b,collapsed:!n}),w=ise();return v.createElement("div",{"aria-hidden":!n,className:_,id:ase,ref:w,role:"dialog"},v.createElement(use,{isImage:f},i.searchActive?v.createElement(Qae,null):v.createElement(sse,{isExpanded:n})))},cse=yM("nav-sidebar-search"),dse=Xz("NavSidebarSearch",(function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=Xe(),o=sq(r),a=mI().lessons,s=Goe(),u=$L(),l=(0,v.useRef)(),c=cse({disabled:!r}).mix(n),d=cse("icon"),f=cse("input"),p=cse("close"),h=cse("close-icon"),m=null==s?void 0:s.term,g=r?void 0:"disabled",y=Dr((0,v.useState)(""),2),b=y[0],_=y[1],w=(0,v.useCallback)((function(){i([LP(!0),MP(!1),qP(null)]),_("")}),[i]),k=(0,v.useCallback)((function(e){mW(e)&&w()}),[w]),E=(0,v.useCallback)((function(e){null!=m&&i(qP(null)),_(e.target.value)}),[i,m]),x=(0,v.useCallback)((function(e){e.preventDefault();Kae(b,a,(function(e,t,n){return i([qP(e),RP(t),DP(n)])}))}),[i,a,b]);return(0,v.useEffect)((function(){!o&&r&&l.current.focus()}),[r,o]),(0,v.useEffect)((function(){m&&m!==b&&_(m)}),[b,m]),v.createElement("form",{autoComplete:"off",className:c,onSubmit:x},v.createElement(XU,{className:d}),v.createElement("input",{"aria-label":null==u?void 0:u.a11ySearchInput,className:f,disabled:g,name:"search",onChange:E,onKeyDown:k,placeholder:null==u?void 0:u.search,ref:l,type:"search",value:b}),v.createElement("button",{"aria-label":null==u?void 0:u.a11ySearchClose,className:p,onClick:w,type:"reset"},v.createElement(JU,{className:h})))}));function fse(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function pse(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fse(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):fse(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}var hse=yM("nav-sidebar-header"),mse=yM("nav-sidebar-header-ghost"),vse=Xz("NavSidebarHeaderProgress",(function(e){var t=e.classProgressRunner,n=e.classProgressText,r=e.classProgressTrack,i=e.color,o=e.percentComplete,a=e.percentCompleteText,s=(0,v.useRef)();return v.createElement("div",{className:hse("progress")},v.createElement(pz,{"aria-hidden":"true",color:i,progress:o,runnerClass:t,trackClass:r}),v.createElement(vq,{className:n,ref:s},a))})),gse=Xz("NavSidebarHeader",(function(e){var t,n,r=e.className,i=e.hasOverlay,o=e.isCompact,a=e.isEnabled,s=e.navRefWidth,u=e.setIsCompact,l=Xe(),c=Dr((0,v.useState)(""),2),d=c[0],f=c[1],p=Dr((0,v.useState)({height:0,width:0}),2),h=p[0],m=p[1],g=Dr((0,v.useState)(h),2),y=g[0],b=g[1],_=Dr((0,v.useState)(h),2),w=_[0],k=_[1],E=rn((function(e){var t,n;return null!==(t=null===(n=e.ui.skipToNavButton)||void 0===n?void 0:n.offsetHeight)&&void 0!==t?t:0})),x=(0,v.useRef)(),S=(0,v.useRef)(),T=(0,v.useRef)(),C=Dr((0,v.useState)(null),2),A=C[0],O=C[1],N=mI(),P=$L(),I=nL(),L=Goe(),M=sR(),R=(null==N?void 0:N.allowSearch)&&"restricted"!==(null==N?void 0:N.navigationMode),D=null==N?void 0:N.color,q=null==N?void 0:N.coverImage,j=null==N?void 0:N.navigationStyle,F=null==N?void 0:N.title,B=(0,v.useMemo)((function(){return VC(j)}),[j]),U=Sq(),z=sq(L),H=null!==(t=(null==L?void 0:L.active)||U)&&void 0!==t&&t,V=Dr((0,v.useState)(!0),2),W=V[0],Y=V[1],G=Dr((0,v.useState)(null),2),K=G[0],X=G[1],$=hse({compact:o,searching:H,transition:W}).mix(r),Z=hse("inner",{compact:o}),Q=hse("content",{compact:o,hidden:H}),J=hse("graphic",{image:B}),ee=hse("progress-runner"),te=hse("progress-text",{compact:o}),ne=hse("progress-track"),re=hse("search-area",{hidden:!H}),ie=hse("search-btn",{hidden:H}),oe=hse("search-icon"),ae=hse("title",{compact:o}),se=mse({compact:o,searching:H}),ue=St()(n="".concat(I,"% ")).call(n,null==P?void 0:P.lessonComplete),le=a&&!H?void 0:-1,ce=a&&!H?void 0:-1,de=Wn()(["media","image","alt"],q),fe=(0,v.useMemo)((function(){return fA(de)}),[de]),pe=(0,v.useMemo)((function(){return pA(fe)}),[fe]),he=(0,v.useMemo)((function(){var e={};return B&&kt()(e,DC(pse(pse({},q),{},{hasOverlay:null==i?q.hasOverlay:i}))),H&&(e.height=y.height),e}),[q,B,i,H,y.height]),me=(0,v.useMemo)((function(){var e={};return o&&(e.bottom="calc(100% - ".concat(E,"px)"),e.width=s||0,e.transition="width 0.3s",a||(e.transition="width 0.3s",e.width="0rem")),h.height&&(e.height=h.height,e.overflow="hidden",o&&(e.transition="height 0.3s ease .1s, transform 0.3s ease .1s")),e}),[o,a,s,h.height,E]);(0,v.useEffect)((function(){f(o&&M?SQ(F,45):F)}),[F,o,M]);var ve=H?void 0:{height:w.height},ge=(0,v.useCallback)((function(){b(h),l(MP(!0))}),[l,h]);(0,v.useLayoutEffect)((function(){X(document.querySelector("[data-nav-scrollable]"))}),[]);var ye=(poe(x,{root:K,threshold:0})||{}).isIntersecting,be=void 0!==ye&&ye,_e=sq(be);(0,v.useEffect)((function(){_e&&!be?u(!0):!_e&&be&&u(!1)}),[be,_e,u]);var we=(0,v.useCallback)((function(e){var t,n=e.target,r={height:null!==(t=null==n?void 0:n.scrollHeight)&&void 0!==t?t:0,width:null!=s?s:0};m(r),b(r),o||k(r)}),[o,s]);VV(A,we),(0,v.useLayoutEffect)((function(){var e,t=null==K?void 0:K.scrollTop;(K||t>0)&&(K.scrollTop=0);var n={height:null!==(e=null==A?void 0:A.scrollHeight)&&void 0!==e?e:0,width:null!=s?s:0};m(n),b(n),k(n)}),[K,s,A]),(0,v.useEffect)((function(){R&&null!=z&&z.active&&!L.active&&S.current.focus()}),[R,L,z]),(0,v.useEffect)((function(){H?Y(!0):o&&Y(!1)}),[H,o]);var ke=(0,v.useCallback)((function(e){if("lesson-link-item"===e.target.getAttribute("data-link")&&o){var t=A.getBoundingClientRect(),n=e.target.getBoundingClientRect();if(t.bottom>n.top){K.scrollTop-=t.height-n.top+5}}}),[K,o,A]);fq("focusin",ke,K),(0,v.useEffect)((function(){return f(F)}),[F]);var Ee=(0,v.useRef)();return v.createElement(v.Fragment,null,v.createElement("div",{className:se,ref:x,style:ve}),v.createElement("div",{className:$,ref:T,style:me},v.createElement("div",{className:Z,ref:O},v.createElement("div",{"aria-label":fe,className:J,role:pe,style:he}),R&&v.createElement(vq,{"aria-label":null==P?void 0:P.a11ySearchOpen,className:ie,onClick:ge,ref:S,tabIndex:le,tag:"button",type:"button"},v.createElement(XU,{className:oe})),v.createElement("div",{className:re},v.createElement(dse,{isEnabled:a&&H})),v.createElement("div",{className:Q},v.createElement(vq,{className:ae,ref:Ee,tabIndex:ce,tag:zj,to:"/"},d),v.createElement(vse,{classProgressRunner:ee,classProgressText:te,classProgressTrack:ne,color:D,percentComplete:I,percentCompleteText:ue})))))})),yse=gse,bse=yM("nav-sidebar");function _se(e){var t,n=e.closeNav,r=e.id,i=e.isEnabled,o=e.isSectionLesson,a=e.last,s=mI().navigationStyle,u=null!==(t=bL(r))&&void 0!==t?t:{},l=u.icon,c=u.title,d=WG(),f=Eq(),p=jL(r),h=r===d,m=(0,v.useMemo)((function(){return qC(s)}),[s]),g=o?"nav-sidebar__outline-section-item":"nav-sidebar__outline-item",y=GA()("".concat(g,"-link-icon")),b=v.createElement(kae,{className:y,icon:l}),_=Dr((0,v.useState)(!1),2),w=_[0],k=_[1],E=(0,v.useCallback)((function(){return k(!0)}),[]),x=(0,v.useCallback)((function(){return k(!1)}),[]),S=v.createElement(GG,{canComplete:p,id:r,isDark:m,isEnabled:i,isTooltipVisible:w,onHideTooltip:x,onShowTooltip:E,scope:Bb.SIDEBAR});return v.createElement("li",{className:bse("outline-list-item",{last:a}),role:"listitem"},v.createElement(jW,{className:g,dark:m,isCurrentLesson:h,isTooltipEnabled:!p,lessonId:r,onHideProgressTooltip:x,onNavigate:function(){n&&f&&n()},onShowProgressTooltip:E,showProgressDelay:0,tooltipClassName:"".concat(g,"-tooltip")},b,c,!p&&S),p&&S)}var wse=nn((function(){var e=yL();return function(t,n){var r=hI(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,title:i.title}}}))((function(e){var t=e.title;return v.createElement("span",{className:"nav-sidebar__outline-section-text"},t)}));var kse=nn((function(){var e=yL();return function(t,n){var r=hI(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,themeId:r.themeId,title:i.title}}}))((function(e){var t,n=e.closeNav,r=e.index,i=e.isEnabled,o=e.lessonIds,a=e.themeId,s=e.title,u=Dr((0,v.useState)(!0),2),l=u[0],c=u[1],d=Dr((0,v.useState)(),2),f=d[0],p=d[1],h=(0,v.useRef)(),m="sidebar-sublist-".concat(r),g=null===(t=h.current)||void 0===t?void 0:t.clientWidth,y=GA()("nav-sidebar__outline-section-toggle-icon",{"nav-sidebar__outline-section-toggle-icon--collapsed":!l}),b=GA()("nav-sidebar__outline-section-list",{"nav-sidebar__outline-section-list--collapsed":!l}),_=(0,v.useCallback)((function(){c((function(e){return!e}))}),[]);return(0,v.useLayoutEffect)((function(){var e=setTimeout((function(){h.current&&p(h.current.scrollHeight)}),0);return function(){clearTimeout(e)}}),[o.length,g,a]),v.createElement(v.Fragment,null,v.createElement("button",{"aria-controls":m,"aria-expanded":l,className:"nav-sidebar__outline-section-toggle",onClick:_,tabIndex:i?void 0:-1,type:"button"},v.createElement("span",{className:"nav-sidebar__outline-section-toggle-text"},s),v.createElement($U,{className:y})),v.createElement(PW,{inert:!l},v.createElement("ol",{"aria-hidden":!l||void 0,className:b,id:m,ref:h,role:"list",style:{maxHeight:f}},Ra()(o).call(o,(function(e,t){return v.createElement(_se,{closeNav:n,id:e,isEnabled:i&&l,isSectionLesson:!0,key:e,last:t===o.length-1})})))))})),Ese=function(e){var t=e.closeNav,n=e.index,r=e.isEnabled,i=BG(e.lessonIds),o=i[0],a=Nr()(i).call(i,1),s="nav-sidebar__outline-item nav-sidebar__outline-section";return Ha()(a)?v.createElement("li",{className:s,role:"listitem"},v.createElement(wse,{id:o})):v.createElement("li",{className:s,role:"listitem"},v.createElement(kse,{closeNav:t,id:o,index:n,isEnabled:r,lessonIds:a}))},xse=function(e){var t=e.closeNav,n=e.index,r=e.isEnabled,i=e.lessonIds;return qL(i)?v.createElement(Ese,{closeNav:t,index:n,isEnabled:r,lessonIds:i}):Ra()(i).call(i,(function(e,n){return v.createElement(_se,{closeNav:t,id:e,isEnabled:r,isSectionLesson:!1,key:e,last:n===i.length-1})}))},Sse=Xz("NavSidebarOutline",(function(e){var t=e.className,n=void 0===t?"":t,r=e.closeNav,i=e.isEnabled,o=e.lessonIdGroups,a=sq(i),s=Dr((0,v.useState)(!i),2),u=s[0],l=s[1],c=$L(),d=(0,v.useRef)(),f=GA()(n,"nav-sidebar__outline",{"nav-sidebar__outline--hidden":u,"nav-sidebar__outline--safari":lF.isSafari}),p=GA()("nav-sidebar__outline-list",{"nav-sidebar__outline-list--disabled":!i,"nav-sidebar__outline-list--hidden":u});return(0,v.useEffect)((function(){var e;return a&&!i?e=setTimeout((function(){l(!0)}),350):!a&&i&&u&&l(!1),function(){clearTimeout(e)}}),[i,u,a]),v.createElement("section",{"aria-label":null==c?void 0:c.a11yRegionNavOverview,className:f,id:"nav-sidebar-outline"},rV(o)&&v.createElement("ol",{className:p,ref:d,role:"list"},Ra()(o).call(o,(function(e,t){return Ha()(e)?null:v.createElement(xse,{closeNav:r,index:t,isEnabled:i,key:t,lessonIds:e})}))))}));var Tse=nn((function(e){var t=hI(e),n=RL(e);return{color:t.color,isLegacyCourse:t.isLegacyCourse,lessonIdGroups:n,navigationStyle:t.navigationStyle}}))(Sse),Cse=(0,Pw.complement)(Pw.isEmpty),Ase=(0,Pw.complement)(Pw.isNil),Ose=yM("nav-sidebar-result"),Nse=function(e){var t,n,r,i=e.id,o=e.index,a=e.isEnabled,s=e.onSelectResult,u=mI(),l=$L(),c=le(),d=Xoe(i),f=(null==c||null===(t=c.params)||void 0===t?void 0:t.id)===i,p=f?"page":void 0,h=null==d?void 0:d.icon,m=null==d?void 0:d.title,g=null!==(n=null==d?void 0:d.results)&&void 0!==n?n:0,y=1===g?null==l?void 0:l.result:null==l?void 0:l.results,b=null==u?void 0:u.color,_=null==u?void 0:u.navigationStyle,w=a?void 0:-1,k={animationDelay:"".concat(o/10,"s")},E=(0,v.useMemo)((function(){return qC(_)}),[_]),x=Ose(),S=Ose("inner",{active:f}),T=Ose("link",{dark:E,light:!E}),C=Ose("icon"),A=Ose("title"),O=Ose("count");return v.createElement("li",{className:x,role:"listitem",style:k},v.createElement("div",{className:S,style:{color:b}},v.createElement(zj,{"aria-current":p,className:T,tabIndex:w,onClick:s,to:pL(i)},v.createElement(kae,{className:C,icon:h}),v.createElement("span",{className:A},m),v.createElement("span",{className:O},St()(r="".concat(g," ")).call(r,y)))))},Pse=yM("nav-sidebar-results"),Ise=function(e){var t,n,r,i=e.closeNav,o=e.isEnabled,a=mI(),s=Goe(),u=$L(),l=null!==(t=null==s?void 0:s.activeLessons)&&void 0!==t?t:[],c=null==s?void 0:s.term,d=Cse(l),f=Ase(c),p=null!==(n=null==u?void 0:u.noResults)&&void 0!==n?n:"",h=null==a?void 0:a.navigationStyle,m=(0,v.useMemo)((function(){return qC(h)}),[h]),g=Pse(),y=Pse("message",{dark:m,light:!m}),b=Pse("term"),_=Pse("list"),w=rR(960),k=v.useCallback((function(){w&&i()}),[i,w]);return v.createElement("div",{className:g},!d&&f&&v.createElement("div",{className:y},p," ",v.createElement("span",{className:b},'"',c,'"')),d&&f&&v.createElement("ol",{className:_,role:"list"},Ra()(r=_r()(l).call(l,jI)).call(r,(function(e,t){return v.createElement(Nse,{key:e.id,isEnabled:o,id:e.id,index:t,onSelectResult:k})}))))},Lse=yM("nav-sidebar"),Mse="nav-content-sidebar",Rse=function(e){var t,n,r=e.isExpanded,i=e.closeNav,o=mI(),a=Goe(),s=Dr((0,v.useState)(!1),2),u=s[0],l=s[1],c=Dr((0,v.useState)(0),2),d=c[0],f=c[1],p=(0,v.useRef)(null);(0,v.useLayoutEffect)((function(){var e;p&&null!=p&&p.current&&f(null===(e=p.current)||void 0===e?void 0:e.scrollWidth)}),[u,r,p,y,f]);var h=null==o?void 0:o.isLegacyCourse,m=null==o?void 0:o.navigationStyle,g=null==o||null===(t=o.theme)||void 0===t?void 0:t.navigationTextColor,y=null!==(n=null==a?void 0:a.active)&&void 0!==n&&n,b=y||r?void 0:"true",_=(0,v.useMemo)((function(){return qC(m)}),[m]),w=(0,v.useMemo)((function(){return VC(m)}),[m]),k=Lse("header"),E=Lse("body"),x=Lse("content"),S=OR("rise-auto-calc-contrast"),T=!EC(o.color),C=IC(o.color),A=g===NS.AUTO&&C===NS.DARK,O=(0,v.useMemo)((function(){return S&&g?g===NS.DARK||A:T}),[S,A,T,g]),N=Lse({"text-dark":O&&!h,"text-light":h||!O,collapsed:!r,dark:_,image:w,light:!_,searching:y});return v.createElement(PW,{inert:!r},v.createElement(Zt,null,v.createElement(Jt,{in:r,mountOnEnter:!0,unmountOnExit:!0,timeout:300},v.createElement("div",{"aria-hidden":b,className:N},v.createElement("div",{className:x,"data-nav-scrollable":!0,id:Mse},v.createElement(yse,{className:k,isCompact:u,isEnabled:r,navRefWidth:d,setIsCompact:l}),v.createElement("div",{className:E,ref:p},v.createElement(Tse,{closeNav:i,isEnabled:r&&!y}),v.createElement(Ise,{closeNav:i,isEnabled:r&&y})))))))},Dse=__webpack_require__(67294),qse={x:null,y:null},jse={passive:!0};function Fse(e){var t=e.children,n=e.onSwipeDown,r=e.onSwipeLeft,i=e.onSwipeRight,o=e.onSwipeUp,a=e.onShouldRecognizeGesture,s=e.thresholdX,u=e.thresholdY,l=(0,v.useRef)(),c=Dr((0,v.useState)(qse),2),d=c[0],f=c[1],p=Dr((0,v.useState)(qse),2),h=p[0],m=p[1],g=(0,v.useCallback)((function(e){var t,n,r=null!==(t=null===(n=e.touches)||void 0===n?void 0:n.length)&&void 0!==t?t:0,i=e.targetTouches[0],o=!a||a();f(1==r&&i&&o?{x:i.clientX,y:i.clientY}:qse)}),[a]),y=(0,v.useCallback)((function(e){var t=e.targetTouches[0];t&&m({x:t.clientX,y:t.clientY})}),[]),b=(0,v.useCallback)((function(){f(qse),m(qse)}),[]),_=(0,v.useCallback)((function(e){var t,a,l=null!==(t=null===(a=e.touches)||void 0===a?void 0:a.length)&&void 0!==t?t:0;if(!(null==d.x||null==d.y||null==h.x||null==h.y||l>0)){var c=h.x-d.x,p=h.y-d.y;Math.abs(c)>Math.abs(p)?Math.abs(c)>s&&(c<0?null==r||r():null==i||i()):Math.abs(p)>u&&(p<0?null==o||o():null==n||n()),f(qse),m(qse)}}),[n,r,i,o,s,u,h,d]);return fq("touchstart",g,l.current,jse),fq("touchcancel",b,l.current,jse),fq("touchmove",y,l.current,jse),fq("touchend",_,l.current,jse),Dse.createElement("div",{ref:l},t)}function Bse(e){return e.isEnabled?Dse.createElement(Fse,e):Dse.createElement("div",null,e.children)}Fse.defaultProps={onShouldRecognizeGesture:function(){return!0},thresholdX:100,thresholdY:100},Bse.defaultProps={isEnabled:!0};var Use,zse=["tablet-portrait","tablet-landscape","mobile-portrait","mobile-landscape"],Hse=function(e){return k_()(zse).call(zse,e)},Vse=function(e){return(0,v.useMemo)((function(){var t=window.matchMedia("(pointer: coarse)").matches,n=Hse(e);return t||n}),[e])},Wse=["children","isPreviewLesson"],Yse=["buttonNavigationStyle","navigationType"],Gse=yM("course-navigation"),Kse=yS.COMPACT,Xse=yS.OVERLAY,$se=yS.SIDEBAR,Zse=(qr(Use={},Kse,lae),qr(Use,$se,Mse),qr(Use,Xse,ase),Use),Qse=function(e){var t=e.children,n=e.previewType,r=e.courseNavType,i=e.lessonNavType,o=e.openNav,a=e.closeNav,s=e.toggleNav,u=e.isNavOpen,l=e.isTablet,c=e.beginWithSidebarOpen,d=(0,v.useRef)(),f=(0,v.useRef)(),p=Goe().active,h=$L(),m=function(e){var t=e.hasSearchResults,n=e.courseNavType,r=e.openNav,i=e.closeNav,o=Dr((0,v.useState)(t),2),a=o[0],s=o[1];return(0,v.useEffect)((function(){var e=n===Xse;a&&!t&&n!==$se?(i(),s(!1)):a&&e?r():s(t)}),[t,n,r,i,a]),a}({hasSearchResults:p,courseNavType:r,openNav:o,closeNav:a}),g=(0,v.useMemo)((function(){return m||r===Kse&&l?$se:r}),[r,m,l]);!function(e){var t=Dr((0,v.useState)(n),2),n=t[0],r=t[1];(0,v.useEffect)((function(){var t=e.activeNavType,i=e.beginWithSidebarOpen,o=e.isNavOpen,a=e.isTablet,s=e.openNav,u=e.closeNav;if(t===$se&&i){var l=n&&!a;!n&&a&&o?u():l&&!o&&s(),r(a)}}),[n,e])}({activeNavType:g,beginWithSidebarOpen:c,closeNav:a,openNav:o,isNavOpen:u,isTablet:l}),(0,v.useEffect)((function(){var e,t,n=function(){var e,t;null===(e=f.current)||void 0===e||e.removeEventListener("click",a),null===(t=f.current)||void 0===t||t.removeEventListener("keypress",a)};g===Kse&&u?(null===(e=f.current)||void 0===e||e.addEventListener("click",a),null===(t=f.current)||void 0===t||t.addEventListener("keypress",a)):n();return n}),[g,u,f,a]);var y=Vse(n),b=(0,v.useCallback)((function(){var e=g===yS.SIDEBAR;y&&e&&u&&a()}),[a,u,y,g]),_=(0,v.useMemo)((function(){return Zse[g]}),[g]),w=Gse(null==g?void 0:g.toLowerCase(),{"nav-open":u,"search-open":p&&u,"course-nav-type":null==r?void 0:r.toLowerCase()}),k=Gse("lessonNav",{type:null==i?void 0:i.toLowerCase()});return v.createElement(Aq,{isCourseNavOpen:u},v.createElement("div",{className:w},v.createElement(Bse,{isEnabled:g===yS.SIDEBAR,onSwipeLeft:b},v.createElement("div",{className:k},v.createElement("nav",{"aria-label":null==h?void 0:h.a11yRegionNavLesson},v.createElement(Woe,{"aria-controls":_,toggleNav:s,isNavOpen:u}),g===$se&&v.createElement(Rse,{isExpanded:u,closeNav:a}),g===Kse&&v.createElement(dae,{openNav:o,closeNav:a,isExpanded:u,ref:d}),g===Xse&&v.createElement(hae,{closeNav:a,openNav:o},v.createElement(lse,{isExpanded:u}))),v.createElement("div",{ref:f},t)))))},Jse=function(e){var t,n=e.children,r=e.isPreviewLesson,i=Ji(e,Wse),o=sM(),a=o.buttonNavigationStyle,s=o.navigationType,u=Ji(o,Yse),l=Eq(),c=!l,d=u.sidebarMode===OS,f=s===$se&&d&&c,p=Dr((0,v.useState)(f),2),h=p[0],m=p[1],g=(0,v.useCallback)((function(){return m(!0)}),[]),y=(0,v.useCallback)((function(){return m(!1)}),[]),b=(0,v.useCallback)((function(){return h?y():g()}),[h,y,g]);fq(cV,g),fq(dV,y);var _=null==u||null===(t=u.exportSettings)||void 0===t?void 0:t.enableExitCourse,w=HC(u);return u.type===Fb||!w||r?v.createElement(v.Fragment,null,_&&v.createElement(Hoe,null),n):v.createElement(Qse,Et({},i,{lessonNavType:a,courseNavType:s,openNav:g,closeNav:y,toggleNav:b,isNavOpen:h,isTablet:l,beginWithSidebarOpen:d}),n)},eue=__webpack_require__(3563),tue=__webpack_require__.n(eue),nue=__webpack_require__(98114),rue=__webpack_require__(38324);function iue(e){return e.course}function oue(){return rn((function(e){return function(e){var t,n;return null!==(t=null==e||null===(n=e.slidesUI)||void 0===n?void 0:n.slideDirection)&&void 0!==t?t:WP}(e)}))}var aue=__webpack_require__(67294),sue=yM("blocks-lesson-slide"),uue="#fff",lue=["image full","image text overlay","quote background"],cue=function(e){var t=e.className,n=bG()||uue;return aue.createElement("div",{className:t,style:{backgroundColor:n}})},due=function(e){var t=e.slide;return aue.createElement(eG,{block:t.blocks[0]},aue.createElement(cue,{className:sue("background-top")}))},fue=function(e){var t=e.slide;return aue.createElement(eG,{block:t.blocks[t.blocks.length-1]},aue.createElement(cue,{className:sue("background-bottom")}))},pue=function(e,t){var n,r,i,o,a=e.hasTransitioned,s=e.onContinue,u=e.prefersKeyboardNavigation,l=e.previewType,c=e.slide,d=e.transitionState,f=rn((function(e){return iue(e)})),p=WG(),h=$L(),m=nK(),g=lL(p),y=f.animateBlockEntrance,b=f.color,_=f.id,w=f.title,k=f.enableVideoPlaybackSpeed,E=f.publishedAt,x=f.tenantId;(0,v.useImperativeHandle)(t,(function(){return S.current}));var S=(0,v.useRef)(),T=oue(),C=rn((function(e){return function(e){var t,n;return null!==(t=null==e||null===(n=e.slidesUI)||void 0===n?void 0:n.exitingSlideOffset)&&void 0!==t?t:0}(e)})),A=St()(n="".concat(d,"-")).call(n,T),O=sue("wrapper",{exiting:"exiting"===d}),N=c.blocks,P=c.lastBlock,I=(0,v.useCallback)((function(e){e===(null==P?void 0:P.id)&&s()}),[P,s]),L=sue("inner",qr({},A,!0)),M=sue("lesson",{slides:!0}).toString(),R=1==c.blocks.length,D=null!==(r=null===(i=c.blocks)||void 0===i?void 0:i[0])&&void 0!==r?r:{},q=D.settings,j=D.type,F=D.variant,B=R&&q.backgroundType===hS.IMAGE,U=R&&!B&&Un()(St()(o="".concat(j," ")).call(o,F),lue),z=U||B?sue("full-width-image",{legacy:U,background:B}).toString():void 0;return aue.createElement("div",{className:O,style:{top:C}},aue.createElement("div",{className:L},aue.createElement(due,{slide:c}),aue.createElement(fue,{slide:c}),aue.createElement("div",{className:M,ref:S},Ra()(N).call(N,(function(e,t){return aue.createElement($7,{animateBlockEntrance:y,block:e,className:z,color:b,courseId:_,courseTitle:w,defaultBackgroundColor:uue,enableVideoPlaybackSpeed:k,index:t,isFirstLesson:!0,isOnlyBlockInStep:R,key:e.blockId,labels:h,lessonId:p,lessonProgress:g,loadMedia:a,onContinue:I,partnerContent:m,prefersKeyboardNavigation:u,previewType:l,publishedAt:E,tenantId:x})})))))},hue=(0,v.forwardRef)(pue),mue=__webpack_require__(32250),vue=__webpack_require__.n(mue),gue=__webpack_require__(70902),yue=__webpack_require__(67294),bue=yM("blocks-slide-indicator-tooltip"),_ue=function(e,t){var n=e.disabled,r=e.left,i=e.text,o=e.top,a=e.visible,s=yue.createElement("span",{"aria-hidden":"true"},i);return n&&(s=yue.createElement(yue.Fragment,null,yue.createElement(BO,{className:bue("icon")}),yue.createElement("span",{className:"visually-hidden-always"},"(locked content)"))),yue.createElement("div",{"aria-hidden":!a,className:bue("wrapper",{disabled:n,visible:a}),ref:t,role:"tooltip",style:{left:r,top:o}},s)},wue=(0,v.forwardRef)(_ue);wue.propTypes={disabled:w().bool.isRequired,left:w().number,text:w().string.isRequired,top:w().number,visible:w().bool.isRequired};var kue=wue;var Eue=__webpack_require__(67294),xue=yM("blocks-slide-indicator"),Sue=function(e,t){var n,r,i=e.active,o=e.blockNavigationStyle,a=e.disabled,s=e.numberOfSlides,u=e.onKeyDown,l=e.onClick,c=e.slideIndex,d=null!==(n=rn((function(e){return function(e){return null==e?void 0:e.sessionPreferences}(e)})))&&void 0!==n?n:{},f=d.prefersKeyboardNavigation,p=Dr((0,v.useState)(!1),2),h=p[0],m=p[1],y=Dr((0,v.useState)(),2),b=y[0],_=y[1],w=(0,v.useRef)(),k=(0,v.useRef)(),E=(0,v.useRef)(),x=o===gS.NUMBERS,S=c+1,T=St()(r="".concat(S," / ")).call(r,s),C=function(e){var t=(0,v.useRef)();return t.current||(t.current=e()),t}((function(){return document.getElementById("portal")})),A=(0,v.useCallback)((function(){if(w.current&&k.current){var e=w.current.getBoundingClientRect(),t=k.current.getBoundingClientRect(),n=e.left-t.width-18,r=Math.round(e.top-t.height/2+e.height/2);_({left:n,top:r})}}),[]),O=(0,v.useCallback)((function(){E.current=setTimeout((function(){A(),m(!0)}),300)}),[A]),N=(0,v.useCallback)((function(){clearTimeout(E.current),m(!1)}),[]),P=(0,v.useCallback)((function(){l(c)}),[l,c]),I=(0,v.useCallback)((function(e){mW(e)&&m(!1),u(e)}),[u]),L=(0,v.useCallback)((function(){O()}),[O]),M=Eue.createElement(kue,{disabled:a,left:null==b?void 0:b.left,ref:k,text:T,top:null==b?void 0:b.top,visible:h}),R=xue("button",{active:i,disabled:a,numbers:x}),D=xue("wrapper"),q=xue("circle",{active:i,disabled:a}),j=xue("number",{active:i,disabled:a}),F=x?Eue.createElement("span",{"aria-hidden":"true",className:j},S):Eue.createElement(hO,{className:q});return Eue.createElement("div",{className:D,ref:t},Eue.createElement("button",{"aria-disabled":a,className:R,"data-control":"",onBlur:N,onClick:a?void 0:P,onFocus:f?L:void 0,onMouseEnter:O,onMouseLeave:N,onKeyDown:I,ref:w,tabIndex:i?0:-1,type:"button"},F,Eue.createElement("span",{className:"visually-hidden-always"},T),i&&Eue.createElement("span",{className:"visually-hidden-always"},"(current)"),a&&Eue.createElement("span",{className:"visually-hidden-always"},"(disabled until content is completed)")),(0,g.createPortal)(M,C.current))},Tue=(0,v.forwardRef)(Sue),Cue=__webpack_require__(67294),Aue=yM("blocks-slide-controls"),Oue=function(e){var t=e.activeSlideIndex,n=e.blockNavigationStyle,r=e.numberOfSlides,i=e.onGoToCover,o=e.onSlideClick,a=e.slideDisabledState,s=e.previewType,u=(0,v.useRef)(),l=(0,v.useRef)(),c=Dr((0,v.useState)(!1),2),d=c[0],f=c[1],p=Dr((0,v.useState)(!1),2),h=p[0],m=p[1],g=(0,v.useCallback)((function(e){var n=!1,s=-1;if(vW(e)||yW(e)){if(!(t-1>=0))return void i();s=t-1,n=!0}else gW(e)||bW(e)?(t+1<=r-1&&(s=t+1),n=!0):fW(e)?(s=0,n=!0):cW(e)&&(a[s=r-1]&&(s=a.findLastIndex((function(e){return!e}))),n=!0);s>=0&&!a[s]&&o(s),n&&(e.stopPropagation(),e.preventDefault())}),[t,r,i,o,a]);(0,v.useEffect)((function(){var e=u.current,t=l.current;if(e&&t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.bottom-38,o=n.top+38;r.bottom>i?e.scrollBy({top:r.bottom-i,left:0,behavior:"smooth"}):r.top<o&&e.scrollBy({top:r.top-o,left:0,behavior:"smooth"})}}),[t]);var y=(0,v.useCallback)((function(){var e=u.current;e&&(f(e.scrollTop>8),m(e.clientHeight+e.scrollTop<e.scrollHeight))}),[]);(0,gue.Z)(y);var b=(0,v.useCallback)(VJ()(y,100),[y]);VV(u.current,y);var _=Aue({"touch-preview":Hse(s)});return Cue.createElement("div",{className:_},Cue.createElement("div",{className:Aue("page-control-wrapper")},Cue.createElement("div",{className:Aue("page-control-inner-wrapper")},Cue.createElement("div",{className:Aue("page-control"),onScroll:b,ref:u},Cue.createElement("div",{className:Aue("slide-dot-wrapper")},vue()((function(e){var i=e===t;return Cue.createElement(Tue,{active:i,disabled:a[e],key:e,blockNavigationStyle:n,numberOfSlides:r,onKeyDown:g,onClick:o,ref:i?l:null,slideIndex:e})}),r))),Cue.createElement("div",{className:Aue("overlay-top",{visible:d})}),Cue.createElement("div",{className:Aue("overlay-bottom",{visible:h})}))))},Nue=matchMedia("(prefers-reduced-motion)");function Pue(){return Nue.matches}var Iue=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e3,i=(0,v.useState)(!1),o=Dr(i,2),a=o[0],s=o[1],u=(0,v.useRef)(),l=(0,v.useCallback)((function(){clearTimeout(u.current),u.current=setTimeout((function(){return s(!1)}),r)}),[r]),c=(0,v.useCallback)((function(e){var r=Math.abs(e.deltaY);if(a)r<50?(clearTimeout(u.current),s(!1)):l();else if(r>100){var i=e.deltaY>0?n:t;s(!0),l(),i()}}),[l,a,n,t]);(0,v.useEffect)((function(){if(e&&t&&n)return e.addEventListener("wheel",c,{passive:!0}),function(){var t;clearTimeout(u.current),null==e||null===(t=e.removeEventListener)||void 0===t||t.call(e,"wheel",c,{passive:!0})}}),[n,t,c,e])},Lue=__webpack_require__(67294),Mue=["lessons"],Rue=yM("lesson-one-page-slides"),Due=yM("page-wrap");function que(e){var t,n,r,i,o,a;if(null==e)return!1;var s=e.tagName.toLowerCase(),u=e.getAttribute("type"),l=e.getAttribute("role"),c=e.tabIndex,d="button"===s||k_()(t=["div","span"]).call(t,s)&&("button"===l||0===c),f="input"===s&&k_()(n=["radio","text"]).call(n,u)||"textarea"===s||"radio"===l,p=k_()(r=["audio","video"]).call(r,s),h="tab"===l,m=null!==(i=null===(o=document.querySelector(".quiz-card__interactive"))||void 0===o||null===(a=o.contains)||void 0===a?void 0:a.call(o,e))&&void 0!==i&&i;return d||f||p||h||m}var jue=function(e){return function(t,n){var r=t.disabled,i=t.slides,o=wa()(mi()((function(t){return e[t.id]})),bi()((function(t){return To()(t,e[t.id])})))(n),a=n[n.length-1],s=r||function(e){return 0!==e.length&&ts()(fee,e)}(o),u={blocks:o,lastBlock:a,disabled:r};return{disabled:s,slides:bP()(u,i)}}},Fue=function(e){var t=!1,n=!1;if(e){var r=e.clientHeight,i=e.scrollHeight,o=e.scrollTop,a=i-Math.max(0,o);t=a===i,n=a-5<=r}return{isAtTop:t,isAtBottom:n}},Bue=/,? +/,Uue=function(e,t){var n,r=e.lessonProgress,i=e.prefersKeyboardNavigation,o=e.previewType;(0,v.useImperativeHandle)(t,Function.prototype,[]);var a=Vr(),s=a.announcePolite,u=a.clearAnnouncements,l=(0,v.useRef)(),c=(0,v.useRef)(),d=(0,v.useRef)(),f=(0,v.useRef)(),p=se(),h=Xe(),m=Dr((0,v.useState)(0),2),g=m[0],y=m[1],b=Dr((0,v.useState)(!0),2),_=b[0],w=b[1],k=Dr((0,v.useState)(!1),2),E=k[0],x=k[1],S=(0,v.useRef)(),T=Pue(),C=T?.01:600,A=Vse(o),O=A?iO:rO,N=A?JA:QA,P=A?ZO:$O,I=sM(),L=I.lessons,M=Ji(I,Mue),R=(null===(n=M.theme)||void 0===n?void 0:n.blockNavigationStyle)||gS.DOTS,D=L[0],q=(null==D?void 0:D.items)||[],j=(0,v.useCallback)((function(){var e,t,n=(null===(e=d.current)||void 0===e?void 0:e.scrollHeight)>(null===(t=d.current)||void 0===t?void 0:t.clientHeight),r=Fue(d.current).isAtBottom,i=n&&!_&&!r;i!=E&&x(i)}),[E,_]);VV(l.current,j),(0,v.useLayoutEffect)(j,[_]);var F=(0,v.useCallback)((function(){var e;null===(e=d.current)||void 0===e||e.scrollTo({top:0})}),[]),B=(0,v.useMemo)((function(){var e;return zl(Ra()(e=nee([],q,r)).call(e,function(e){return function(t,n,r){return aee(t,Nr()(r).call(r,0,-1),e)}}(r)),mi()(bK),M8()(Gn()("blockId")))}),[q,r]),U=(0,v.useCallback)((function(e){return Ea()(jue(B),{disabled:!1,slides:[]},e).slides}),[B]),z=(0,v.useMemo)((function(){return zl(q,tee,U)}),[q,U]),H=(0,v.useMemo)((function(){return Si()("disabled",z)}),[z]),V=z.length,W=z[g],Y=Hse(o),G=R!==gS.NONE,K=g===V-1,X=null==r?void 0:r.isComplete,$=K?!X||!0:H[g+1],Z=K&&X&&!0,Q=(0,v.useCallback)(NQ()(j,100),[j]);(0,v.useEffect)((function(){var e=d.current;return null==e||e.addEventListener("scroll",Q,{passive:!0}),function(){return null==e?void 0:e.removeEventListener("scroll",Q,{passive:!0})}}),[Q]),(0,rue.Z)((function(){UY(),S.current=setTimeout((function(){var e,t;w(!1),null===(e=d.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),C+100)}),(function(){clearTimeout(S.current)}));var J=(0,v.useCallback)((function(e){var t,n,r,i=null!==(t=null===(n=l.current)||void 0===n||null===(r=n.getBoundingClientRect())||void 0===r?void 0:r.top)&&void 0!==t?t:0;h(QP(i)),y(e),F()}),[h,F]),ee=(0,v.useCallback)((function(){_||(w(!0),p.push("/"))}),[p,_]),te=(0,v.useCallback)((function(){_||(g>0?(h(ZP(YP)),J(g-1)):ee())}),[J,h,g,_,ee]),ne=(0,v.useCallback)((function(){_||(h(ZP(WP)),J(g+1))}),[J,h,p,K,g,_]),re=(0,v.useCallback)((function(){g<V-1&&ne()}),[K,g,V,ne]),ie=(0,v.useCallback)((function(){var e,t,n,r,i,o=null!==(e=null===(t=d.current)||void 0===t?void 0:t.scrollTop)&&void 0!==e?e:0,a=null!==(n=null===(r=d.current)||void 0===r?void 0:r.clientHeight)&&void 0!==n?n:0,s=T?"instant":"smooth";null===(i=d.current)||void 0===i||i.scrollTo({top:o+a,behavior:s})}),[T]),oe=(0,v.useCallback)((function(){Fue(d.current).isAtBottom?$||ne():ie()}),[$,ie,ne]),ae=(0,v.useCallback)((function(){ee()}),[ee]),ue=(0,v.useCallback)((function(e){e===g||_||(h(ZP(e<g?YP:WP)),J(e),tue()((function(){var t,n,r,i;null===(t=f.current)||void 0===t||null===(n=t.querySelectorAll("[data-control]"))||void 0===n||null===(r=n[e])||void 0===r||null===(i=r.focus)||void 0===i||i.call(r)})))}),[J,h,g,_]),le=(0,v.useCallback)((function(){return w(!0)}),[]),ce=(0,v.useCallback)((function(){w(!1),setTimeout((function(){var e,t;if(c.current&&null!==(e=f.current)&&void 0!==e&&null!==(t=e.contains)&&void 0!==t&&t.call(e,document.activeElement)){var n=S4()(c.current.innerText,{length:75,separator:Bue});u(),s("Content preview: ".concat(n))}else{var r,i;null===(r=d.current)||void 0===r||null===(i=r.focus)||void 0===i||i.call(r)}}),0)}),[s,u]),de=(0,v.useCallback)((function(){Y||Fue(d.current).isAtTop&&(0===g?ee():te())}),[Y,te,g,ee]),fe=(0,v.useCallback)((function(){Y||Fue(d.current).isAtBottom&&oe()}),[Y,oe]),pe=(0,v.useCallback)((function(){var e=Fue(d.current),t=e.isAtBottom,n=e.isAtTop,r=document.documentElement.clientWidth===window.innerWidth;return(t||n)&&r}),[]),he=(0,v.useCallback)((function(e){var t,n;null!==(t=f.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,document.activeElement)||que(e.target)||de()}),[de]),me=(0,v.useCallback)((function(e){var t,n;null!==(t=f.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,document.activeElement)||que(e.target)||fe()}),[fe]);(0,nue.Z)("ArrowUp",Jr(),he),(0,nue.Z)("ArrowDown",Jr(),me),Iue(d.current,de,fe,C+100);var ve=Rue("gradient",{visible:E});return Lue.createElement("div",{className:Rue({})},Lue.createElement("div",{className:Due({transitioning:_}),id:"page-wrap",ref:d,tabIndex:"-1"},Lue.createElement(_ee,{type:Fb},Lue.createElement(wee,{type:Fb},Lue.createElement(kee,null,Lue.createElement(iY(),{title:ZY(D.title+" - "+M.title)},Lue.createElement("div",{"data-lesson-id":null==D?void 0:D.id},Lue.createElement("div",{"aria-label":"Step controls",className:Rue("controls",{"touch-preview":Y}),ref:f,role:"region"},Lue.createElement("button",{className:Rue("prev-btn",{"touch-preview":Y}),onClick:te,type:"button"},Lue.createElement(O,{className:Rue("arrow-icon",{"touch-preview":Y})}),Lue.createElement("span",{className:"visually-hidden-always"},"Previous")),G&&Lue.createElement(Oue,{activeSlideIndex:g,blockNavigationStyle:R,numberOfSlides:V,onGoToCover:ee,onSlideClick:ue,previewType:o,slideDisabledState:H}),Lue.createElement("button",{"aria-hidden":Z,"aria-disabled":$&&!E,className:Rue("next-btn",{"touch-preview":Y}),onClick:oe,tabIndex:K?-1:void 0,type:"button"},Lue.createElement(N,{className:Rue("arrow-icon",{"touch-preview":Y})}),Lue.createElement("span",{className:"visually-hidden-always"},"Next",$&&Lue.createElement("span",null,"(disabled until content is completed)"),K&&Lue.createElement("span",null,"(disabled since this is the last step)"))),Lue.createElement("button",{"aria-hidden":!Z,className:Rue("restart-btn",{"touch-preview":Y}),onClick:ae,tabIndex:K?void 0:-1,type:"button"},Lue.createElement(P,{className:Rue("restart-icon",{"touch-preview":Y})}),Lue.createElement("span",{className:"visually-hidden-always"},"Restart"))),Lue.createElement(Bse,{onShouldRecognizeGesture:pe,onSwipeDown:de,onSwipeUp:fe},Lue.createElement("main",{"aria-labelledby":"step-counter",ref:c,tabIndex:"0"},Lue.createElement(Zt,null,Lue.createElement(Jt,{key:g,mountOnEnter:!0,onExited:ce,onExiting:le,timeout:C,unmountOnExit:!0},(function(e){var t;return Lue.createElement(Lue.Fragment,null,Lue.createElement("div",{id:"step-counter",className:"visually-hidden-always"},St()(t="Step ".concat(g+1," of ")).call(t,V)),Lue.createElement(hue,{onContinue:re,prefersKeyboardNavigation:i,previewType:o,ref:l,slide:W,transitionState:e,hasTransitioned:!_}))})))),Lue.createElement("div",{className:ve})))))))))},zue=(0,v.forwardRef)(Uue),Hue=__webpack_require__(67294),Vue=yM("blocks-lesson-restart-button"),Wue=function(e){var t=e.className,n=e.onClick,r=Vue.mix(["brand--background",t]);return Hue.createElement("button",{className:r,onClick:n,type:"button"},Hue.createElement($O,{className:Vue("icon")}))},Yue=__webpack_require__(67294),Gue=["lessons"],Kue=yM("lesson-one-page-scroll"),Xue=function(e){var t=e.previewType,n=e.prefersKeyboardNavigation,r=e.lessonProgress,i=(0,v.useRef)(),o=sM(),a=o.lessons,s=Ji(o,Gue),u=$L(),l=ue().match,c=se(),d=a[0],f=null==d?void 0:d.id,p=nK(),h=(null==d?void 0:d.items)||[],m=(null==r?void 0:r.isComplete)&&!0,g=(null==r?void 0:r.isComplete)&&$n,y=(0,v.useCallback)((function(){return c.push("/")}),[c]);return Yue.createElement("div",{className:Kue()},Yue.createElement("div",{className:"page-wrap",id:"page-wrap",ref:i},Yue.createElement(_ee,{type:Fb},Yue.createElement(wee,{type:"blocks"},Yue.createElement(xee,null,Yue.createElement(Wie,null),Yue.createElement(kee,null,Yue.createElement(iY(),{title:ZY(d.title+" - "+s.title)},Yue.createElement("div",{"data-lesson-id":null==d?void 0:d.id},Yue.createElement(gee,{animateBlockEntrance:s.animateBlockEntrance,blocks:h,color:s.color,courseId:s.id,courseTitle:s.title,enableVideoPlaybackSpeed:s.enableVideoPlaybackSpeed,isFirstLesson:!0,isNavTypeStepped:!1,labels:u,lessonId:f,lessonProgress:r,loadMedia:!0,match:l,partnerContent:p,previewType:t,prefersKeyboardNavigation:n,publishedAt:s.publishedAt,tenantId:s.tenantId,type:s.type}),m&&Yue.createElement(Wue,{onClick:y}),g&&Yue.createElement(Soe,{lessonId:f})))))))))},$ue=__webpack_require__(67294),Zue=yM("microlearning-progress-summary"),Que=yM("page-wrap"),Jue=function(e){var t=e.course,n=e.courseProgress,r=e.isStepped,i=e.lesson,o=(0,v.useRef)(),a=(0,v.useRef)(),s=Dr((0,v.useState)(!1),2),u=s[0],l=s[1],c=Zue("content",{stepped:r,mounted:u}).toString();return(0,gue.Z)((function(){var e,t,n,r=(null!==(e=null===(t=a.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:0)+1;null===(n=o.current)||void 0===n||n.scrollTo({top:r}),l(!0)})),$ue.createElement("div",{className:Que(),id:"page-wrap",ref:o},$ue.createElement(foe,{className:Zue("previous").toString(),lessonId:null==i?void 0:i.id,ref:a}),$ue.createElement(xne,{contentClassName:c,course:t,courseProgress:n}))},ele=__webpack_require__(67294),tle=function(e){var t,n=e.isProgressSummary,r=e.courseProgress,i=e.lessonProgress,o=e.prefersKeyboardNavigation,a=e.previewType,s=mI(),u=Xe(),l=jC(s),c=null==l?void 0:l.id,d=(null==s||null===(t=s.theme)||void 0===t?void 0:t.blockNavigationType)===vS.STEPPED;return Noe((function(){n||(dx(c),u(ll(c)))})),n?ele.createElement(Jue,{course:s,courseProgress:r,isStepped:d}):d?ele.createElement(zue,{lessonProgress:i,prefersKeyboardNavigation:o,previewType:a}):ele.createElement(Xue,{lessonProgress:i,prefersKeyboardNavigation:o,previewType:a})};function nle(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var rle=$j.course.lesson,ile=B_()(2,(function(e){return"progress-summary"===e?Zr()(1/0):function(e){return ls()(Ci()("id",e))}(e)})),ole=l_()(Ci()("type","section")),ale=function(e){gt(n,e);var t=nle(n);function n(e){var r,i;nt(this,n),i=t.call(this,e);var o=e.lessons,a=e.match.params;return i.refPageTop=(0,v.createRef)(),i.state={activeSections:Ra()(r=_r()(o).call(o,(function(e){return"section"===e.type}))).call(r,(function(e){return e.id})),isProgressSummary:$n,isPreviewLesson:"preview-lesson"===a.mode,lastScreen:null,menuDisabled:!1,selectedIndex:ile(a.id)(o)},i.root=window,i.handleFocusPageTop=i.handleFocusPageTop.bind(ft(i)),i.handleNavHover=i.handleNavHover.bind(ft(i)),i.handleNavigate=i.handleNavigate.bind(ft(i)),i.getNavigateDirection=i.getNavigateDirection.bind(ft(i)),i.handleNavigateTransitionEnd=i.handleNavigateTransitionEnd.bind(ft(i)),i.handleStorylineFullscreen=i.handleStorylineFullscreen.bind(ft(i)),i}return dt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){if(e.match.params.id!==this.props.match.params.id){var t=Fo()((n=e.lessons,r=e.match.params.id,i=pe()(Ux()(Ci()("id",r)),Gn()("children")),(o=pe()(Ux()(i),mi()(Ci()("type","section")),mK)(n))?[o.id]:[]),this.state.activeSections);this.setState({activeSections:t,isProgressSummary:false})}var n,r,i,o}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef)}},{key:"getNavigateDirection",value:function(){var e=this.props.match.params,t=this.state.selectedIndex;return ile(e.id)(this.props.lessons)<t?"page-transition-back":"page-transition"}},{key:"handleFocusPageTop",value:function(){var e,t;this.props.course.type===Fb||(null===(e=this.refPageTop.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e,{preventScroll:!0}))}},{key:"handleNavigate",value:function(e){var t=this.props.lessons,n=this.state,r=n.isProgressSummary,i=n.selectedIndex,o=ile(e)(t);this.forwardTransition=!r&&("progress-summary"===e||i<o),this.setState({selectedIndex:o})}},{key:"handleNavigateTransitionEnd",value:function(){var e=this.props.match.params,t=ile(e.id)(this.props.lessons);this.setState({selectedIndex:t})}},{key:"handleStorylineFullscreen",value:function(e){this.setState({menuDisabled:e,menuIsOpen:!e})}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.course,i=n.courseProgress,o=n.didNavigate,a=n.labels,s=n.isMobileHeader,u=n.lessons,l=n.location,c=n.match,d=n.partnerContent,f=n.previewType,p=n.search,h=n.sessionPreferences,m=n.themeId,g=n.isEntering,y=n.isExiting,b=this.state,_=b.isPreviewLesson,w=b.isProgressSummary,k=b.isRestrictedNavHovering,E=function(e){var t=e.course,n=e.search;return wa()(Ro()("lessons",n.lessons),Ro()("lessonsOnly",ole(n.lessons)))(t)}({course:r,search:p}),x=r.type===Fb,S=x&&r.theme.blockNavigationType===vS.STEPPED?"-slide":"",T="lesson--entering".concat(S),C="lesson--exiting".concat(S),A=GA()("lesson",(qr(e={},T,g),qr(e,C,y),qr(e,"lesson--preview",_),e)),O=i.lessons[c.params.id],N={allowRestrictedTooltip:!k,course:p.active&&!Ha()(p.lessons)?E:r,courseProgress:i,didNavigate:o,handleNavigate:this.handleNavigate,handleStorylineFullscreen:this.handleStorylineFullscreen,isMobileHeader:s,isProgressSummary:w,key:l.pathname,labels:a,lessonProgress:O,match:c,navigateDirection:this.getNavigateDirection,onFocusPageTop:this.handleFocusPageTop,onNavMouse:this.handleNavHover,onNavigateTransitionEnd:this.handleNavigateTransitionEnd,partnerContent:d,previewType:f,sessionPreferences:h,themeId:m},P=w?{courseProgress:i,lessons:u}:{};return v.createElement("div",{className:"page-lesson-wrap"},!x&&v.createElement(v.Fragment,null,v.createElement("div",{className:"visually-hidden-always",ref:this.refPageTop,tabIndex:"-1"},null==a?void 0:a.a11yPageMarker),v.createElement(YV,null)),v.createElement("div",{className:"page-lesson"},v.createElement("div",{className:A,"data-ba":rle.container,"data-lesson":!0,ref:function(e){return t.node=e}},v.createElement("div",{className:"lesson__content"},v.createElement("div",{className:"page-view page-view--visible"},v.createElement(Jse,{isPreviewLesson:_},x?v.createElement(tle,{courseProgress:i,isProgressSummary:w,lessonProgress:O,prefersKeyboardNavigation:h.prefersKeyboardNavigation,previewType:f}):v.createElement(Boe,{isPreviewLesson:_},v.createElement(aoe,Et({},N,P)))))))))}}],[{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),n}(v.Component);function sle(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var ule=ate(pe()(iR(480,"isMobileHeader","Mobile"))(ale)),lle=function(e){gt(n,e);var t=sle(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={isEntering:!1,isExiting:!1},r}return dt(n,[{key:"displayFlex",value:function(e){e.style.display="flex"}},{key:"componentDidMount",value:function(){var e=document.querySelector(".page__content");e&&e.classList.add("page__content--appear")}},{key:"componentDidEnter",value:function(){this.setState({isEntering:!1})}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({isEntering:!0},(function(){t.willEnterTimeout=setTimeout(e,pS)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},(function(){t.willExitTimeout=setTimeout(e,pS)}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout),clearTimeout(this.navButtonTimeout)}},{key:"render",value:function(){var e=this.state,t=e.isEntering,n=e.isExiting;return v.createElement(ule,Et({isEntering:t,isExiting:n},this.props))}}]),n}(v.Component),cle=lle,dle=__webpack_require__(67294),fle=function(e){var t=e.location,n=t.pathname.split("/")[1];return dle.createElement(Zt,{component:"div",className:"transition-group"},dle.createElement(IG,{key:n},dle.createElement(OG,{location:t},dle.createElement(SG,{exact:!0,path:"/",component:fK,childProps:e}),dle.createElement(SG,{exact:!0,path:"/:mode",component:fK,childProps:e}),dle.createElement(SG,{exact:!0,path:"/lessons/:id",component:cle,childProps:e}),dle.createElement(SG,{path:"/lessons/:id/:mode",component:cle,childProps:e}))))},ple=yM("one-page-cover-info");var hle=Xz("OnePageCoverInfo",(function(e){var t,n=e.htmlIdTitle,r=sM(),i=null!==(t=null==r?void 0:r.theme)&&void 0!==t?t:{},o=i.coverPageType,a=i.coverTextColor===NS.DARK||o===TS.WHITE||o===TS.ACCENT&&!EC(null==r?void 0:r.color);return v.createElement("div",{className:ple()},v.createElement(Die,{className:ple("title").toString(),hasDarkText:a,htmlId:n}),v.createElement(Mie,{className:ple("authors").toString(),hasDarkText:a}))})),mle=["forwardedRef"];var vle=__webpack_require__(54135),gle=__webpack_require__(86579),yle=__webpack_require__(83244),ble=__webpack_require__(75686),_le=__webpack_require__(22532),wle=__webpack_require__(69898),kle=__webpack_require__(23452),Ele=__webpack_require__(42226),xle=__webpack_require__(61322),Sle=__webpack_require__(30352),Tle=__webpack_require__(20829),Cle=__webpack_require__(20840),Ale=__webpack_require__(46487),Ole=__webpack_require__(25215),Nle=__webpack_require__(53626),Ple=__webpack_require__(48148),Ile=__webpack_require__(51546),Lle=__webpack_require__(79066),Mle=__webpack_require__(56931),Rle=__webpack_require__(27898),Dle=__webpack_require__(903),qle=__webpack_require__(75028),jle=__webpack_require__(20655);function Fle(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 Ble(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fle(Object(n),!0).forEach((function(t){Hle(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fle(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ule(e){return Ule="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},Ule(e)}function zle(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 Hle(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vle(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)||Yle(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 Wle(e){return function(e){if(Array.isArray(e))return Gle(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yle(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 Yle(e,t){if(e){if("string"==typeof e)return Gle(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)?Gle(e,t):void 0}}function Gle(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 Kle=function(){},Xle={},$le={},Zle=null,Qle={mark:Kle,measure:Kle};try{"undefined"!=typeof window&&(Xle=window),"undefined"!=typeof document&&($le=document),"undefined"!=typeof MutationObserver&&(Zle=MutationObserver),"undefined"!=typeof performance&&(Qle=performance)}catch(e){}var Jle,ece,tce,nce,rce,ice=(Xle.navigator||{}).userAgent,oce=void 0===ice?"":ice,ace=Xle,sce=$le,uce=Zle,lce=Qle,cce=(ace.document,!!sce.documentElement&&!!sce.head&&"function"==typeof sce.addEventListener&&"function"==typeof sce.createElement),dce=~oce.indexOf("MSIE")||~oce.indexOf("Trident/"),fce="svg-inline--fa",pce="data-fa-i2svg",hce="data-fa-pseudo-element",mce="data-prefix",vce="data-icon",gce="fontawesome-i2svg",yce=["HTML","HEAD","STYLE","SCRIPT"],bce=function(){try{return!0}catch(e){return!1}}(),_ce="classic",wce="sharp",kce=[_ce,wce];function Ece(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e.classic}})}var xce=Ece((Hle(Jle={},_ce,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),Hle(Jle,wce,{fa:"solid",fass:"solid","fa-solid":"solid"}),Jle)),Sce=Ece((Hle(ece={},_ce,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Hle(ece,wce,{solid:"fass"}),ece)),Tce=Ece((Hle(tce={},_ce,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Hle(tce,wce,{fass:"fa-solid"}),tce)),Cce=Ece((Hle(nce={},_ce,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Hle(nce,wce,{"fa-solid":"fass"}),nce)),Ace=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,Oce="fa-layers-text",Nce=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Pce=Ece((Hle(rce={},_ce,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Hle(rce,wce,{900:"fass"}),rce)),Ice=[1,2,3,4,5,6,7,8,9,10],Lce=Ice.concat([11,12,13,14,15,16,17,18,19,20]),Mce=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Rce="duotone-group",Dce="swap-opacity",qce="primary",jce="secondary",Fce=new Set;Object.keys(Sce.classic).map(Fce.add.bind(Fce)),Object.keys(Sce.sharp).map(Fce.add.bind(Fce));var Bce=[].concat(kce,Wle(Fce),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Rce,Dce,qce,jce]).concat(Ice.map((function(e){return"".concat(e,"x")}))).concat(Lce.map((function(e){return"w-".concat(e)}))),Uce=ace.FontAwesomeConfig||{};if(sce&&"function"==typeof sce.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=Vle(e,2),n=t[0],r=t[1],i=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=sce.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=i&&(Uce[r]=i)}))}var zce={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:fce,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Uce.familyPrefix&&(Uce.cssPrefix=Uce.familyPrefix);var Hce=Ble(Ble({},zce),Uce);Hce.autoReplaceSvg||(Hce.observeMutations=!1);var Vce={};Object.keys(zce).forEach((function(e){Object.defineProperty(Vce,e,{enumerable:!0,set:function(t){Hce[e]=t,Wce.forEach((function(e){return e(Vce)}))},get:function(){return Hce[e]}})})),Object.defineProperty(Vce,"familyPrefix",{enumerable:!0,set:function(e){Hce.cssPrefix=e,Wce.forEach((function(e){return e(Vce)}))},get:function(){return Hce.cssPrefix}}),ace.FontAwesomeConfig=Vce;var Wce=[];var Yce=16,Gce={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Kce(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Xce(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function $ce(e){return e.classList?Xce(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Zce(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Qce(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Jce(e){return e.size!==Gce.size||e.x!==Gce.x||e.y!==Gce.y||e.rotate!==Gce.rotate||e.flipX||e.flipY}function ede(){var e="fa",t=fce,n=Vce.cssPrefix,r=Vce.replacementClass,i=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}var tde=!1;function nde(){Vce.autoAddCss&&!tde&&(!function(e){if(e&&cce){var t=sce.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=sce.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}sce.head.insertBefore(t,r)}}(ede()),tde=!0)}var rde={mixout:function(){return{dom:{css:ede,insertCss:nde}}},hooks:function(){return{beforeDOMElementCreation:function(){nde()},beforeI2svg:function(){nde()}}}},ide=ace||{};ide.___FONT_AWESOME___||(ide.___FONT_AWESOME___={}),ide.___FONT_AWESOME___.styles||(ide.___FONT_AWESOME___.styles={}),ide.___FONT_AWESOME___.hooks||(ide.___FONT_AWESOME___.hooks={}),ide.___FONT_AWESOME___.shims||(ide.___FONT_AWESOME___.shims=[]);var ode=ide.___FONT_AWESOME___,ade=[],sde=!1;function ude(e){cce&&(sde?setTimeout(e,0):ade.push(e))}function lde(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?Zce(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Zce(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(lde).join(""),"</").concat(t,">")}function cde(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}cce&&((sde=(sce.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(sce.readyState))||sce.addEventListener("DOMContentLoaded",(function e(){sce.removeEventListener("DOMContentLoaded",e),sde=1,ade.map((function(e){return e()}))})));var dde=function(e,t,n,r){var i,o,a,s=Object.keys(e),u=s.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<u;i++)a=l(a,e[o=s[i]],o,e);return a};function fde(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function pde(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function hde(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=pde(t);"function"!=typeof ode.hooks.addPack||i?ode.styles[e]=Ble(Ble({},ode.styles[e]||{}),o):ode.hooks.addPack(e,pde(t)),"fas"===e&&hde("fa",t)}var mde,vde,gde,yde=ode.styles,bde=ode.shims,_de=(Hle(mde={},_ce,Object.values(Tce.classic)),Hle(mde,wce,Object.values(Tce.sharp)),mde),wde=null,kde={},Ede={},xde={},Sde={},Tde={},Cde=(Hle(vde={},_ce,Object.keys(xce.classic)),Hle(vde,wce,Object.keys(xce.sharp)),vde);function Ade(e,t){var n,r=t.split("-"),i=r[0],o=r.slice(1).join("-");return i!==e||""===o||(n=o,~Bce.indexOf(n))?null:o}var Ode,Nde=function(){var e=function(e){return dde(yde,(function(t,n,r){return t[r]=dde(n,e,{}),t}),{})};kde=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Ede=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),Tde=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in yde||Vce.autoFetchSvg,n=dde(bde,(function(e,n){var r=n[0],i=n[1],o=n[2];return"far"!==i||t||(i="fas"),"string"==typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});xde=n.names,Sde=n.unicodes,wde=Rde(Vce.styleDefault,{family:Vce.familyDefault})};function Pde(e,t){return(kde[e]||{})[t]}function Ide(e,t){return(Tde[e]||{})[t]}function Lde(e){return xde[e]||{prefix:null,iconName:null}}function Mde(){return wde}Ode=function(e){wde=Rde(e.styleDefault,{family:Vce.familyDefault})},Wce.push(Ode),Nde();function Rde(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.family,r=void 0===n?_ce:n,i=xce[r][e],o=Sce[r][e]||Sce[r][i],a=e in ode.styles?e:null;return o||a||null}var Dde=(Hle(gde={},_ce,Object.keys(Tce.classic)),Hle(gde,wce,Object.keys(Tce.sharp)),gde);function qde(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipLookups,i=void 0!==r&&r,o=(Hle(t={},_ce,"".concat(Vce.cssPrefix,"-").concat(_ce)),Hle(t,wce,"".concat(Vce.cssPrefix,"-").concat(wce)),t),a=null,s=_ce;(e.includes(o.classic)||e.some((function(e){return Dde.classic.includes(e)})))&&(s=_ce),(e.includes(o.sharp)||e.some((function(e){return Dde.sharp.includes(e)})))&&(s=wce);var u=e.reduce((function(e,t){var n=Ade(Vce.cssPrefix,t);if(yde[t]?(t=_de[s].includes(t)?Cce[s][t]:t,a=t,e.prefix=t):Cde[s].indexOf(t)>-1?(a=t,e.prefix=Rde(t,{family:s})):n?e.iconName=n:t!==Vce.replacementClass&&t!==o.classic&&t!==o.sharp&&e.rest.push(t),!i&&e.prefix&&e.iconName){var r="fa"===a?Lde(e.iconName):{},u=Ide(e.prefix,e.iconName);r.prefix&&(a=null),e.iconName=r.iconName||u||e.iconName,e.prefix=r.prefix||e.prefix,"far"!==e.prefix||yde.far||!yde.fas||Vce.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return(e.includes("fa-brands")||e.includes("fab"))&&(u.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(u.prefix="fad"),u.prefix||s!==wce||!yde.fass&&!Vce.autoFetchSvg||(u.prefix="fass",u.iconName=Ide(u.prefix,u.iconName)||u.iconName),"fa"!==u.prefix&&"fa"!==a||(u.prefix=Mde()||"fas"),u}var jde=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=Ble(Ble({},e.definitions[t]||{}),i[t]),hde(t,i[t]);var n=Tce.classic[t];n&&hde(n,i[t]),Nde()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon,s=a[2];e[i]||(e[i]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[i][t]=a)})),e[i][o]=a})),e}}],n&&zle(t.prototype,n),r&&zle(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Fde=[],Bde={},Ude={},zde=Object.keys(Ude);function Hde(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=Bde[e]||[];return o.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function Vde(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=Bde[e]||[];i.forEach((function(e){e.apply(null,n)}))}function Wde(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ude[e]?Ude[e].apply(null,t):void 0}function Yde(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Mde();if(t)return t=Ide(n,t)||t,cde(Gde.definitions,n,t)||cde(ode.styles,n,t)}var Gde=new jde,Kde={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return cce?(Vde("beforeI2svg",e),Wde("pseudoElements2svg",e),Wde("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===Vce.autoReplaceSvg&&(Vce.autoReplaceSvg=!0),Vce.observeMutations=!0,ude((function(){Zde({autoReplaceSvgRoot:t}),Vde("watch",e)}))}},Xde={icon:function(e){if(null===e)return null;if("object"===Ule(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ide(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Rde(e[0]);return{prefix:n,iconName:Ide(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Vce.cssPrefix,"-"))>-1||e.match(Ace))){var r=qde(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Mde(),iconName:Ide(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var i=Mde();return{prefix:i,iconName:Ide(i,e)||e}}}},$de={noAuto:function(){Vce.autoReplaceSvg=!1,Vce.observeMutations=!1,Vde("noAuto")},config:Vce,dom:Kde,parse:Xde,library:Gde,findIconDefinition:Yde,toHtml:lde},Zde=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?sce:t;(Object.keys(ode.styles).length>0||Vce.autoFetchSvg)&&cce&&Vce.autoReplaceSvg&&$de.dom.i2svg({node:n})};function Qde(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return lde(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(cce){var t=sce.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Jde(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,u=e.title,l=e.maskId,c=e.titleId,d=e.extra,f=e.watchable,p=void 0!==f&&f,h=r.found?r:n,m=h.width,v=h.height,g="fak"===i,y=[Vce.replacementClass,o?"".concat(Vce.cssPrefix,"-").concat(o):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),b={children:[],attributes:Ble(Ble({},d.attributes),{},{"data-prefix":i,"data-icon":o,class:y,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(v)})},_=g&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/v*16*.0625,"em")}:{};p&&(b.attributes[pce]=""),u&&(b.children.push({tag:"title",attributes:{id:b.attributes["aria-labelledby"]||"title-".concat(c||Kce())},children:[u]}),delete b.attributes.title);var w=Ble(Ble({},b),{},{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:a,symbol:s,styles:Ble(Ble({},_),d.styles)}),k=r.found&&n.found?Wde("generateAbstractMask",w)||{children:[],attributes:{}}:Wde("generateAbstractIcon",w)||{children:[],attributes:{}},E=k.children,x=k.attributes;return w.children=E,w.attributes=x,s?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,o=e.symbol,a=!0===o?"".concat(t,"-").concat(Vce.cssPrefix,"-").concat(n):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Ble(Ble({},i),{},{id:a}),children:r}]}]}(w):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Jce(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Qce(Ble(Ble({},o),{},{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(w)}function efe(e){var t=e.content,n=e.width,r=e.height,i=e.transform,o=e.title,a=e.extra,s=e.watchable,u=void 0!==s&&s,l=Ble(Ble(Ble({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});u&&(l[pce]="");var c=Ble({},a.styles);Jce(i)&&(c.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,i=e.height,o=void 0===i?16:i,a=e.startCentered,s=void 0!==a&&a,u="";return u+=s&&dce?"translate(".concat(t.x/Yce-r/2,"em, ").concat(t.y/Yce-o/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/Yce,"em), calc(-50% + ").concat(t.y/Yce,"em)) "):"translate(".concat(t.x/Yce,"em, ").concat(t.y/Yce,"em) "),u+="scale(".concat(t.size/Yce*(t.flipX?-1:1),", ").concat(t.size/Yce*(t.flipY?-1:1),") "),u+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);var d=Qce(c);d.length>0&&(l.style=d);var f=[];return f.push({tag:"span",attributes:l,children:[t]}),o&&f.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),f}function tfe(e){var t=e.content,n=e.title,r=e.extra,i=Ble(Ble(Ble({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),o=Qce(r.styles);o.length>0&&(i.style=o);var a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}var nfe=ode.styles;function rfe(e){var t=e[0],n=e[1],r=Vle(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Vce.cssPrefix,"-").concat(Rce)},children:[{tag:"path",attributes:{class:"".concat(Vce.cssPrefix,"-").concat(jce),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Vce.cssPrefix,"-").concat(qce),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var ife={found:!1,width:512,height:512};function ofe(e,t){var n=t;return"fa"===t&&null!==Vce.styleDefault&&(t=Mde()),new Promise((function(r,i){Wde("missingIconAbstract");if("fa"===n){var o=Lde(e)||{};e=o.iconName||e,t=o.prefix||t}if(e&&t&&nfe[t]&&nfe[t][e])return r(rfe(nfe[t][e]));!function(e,t){bce||Vce.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(Ble(Ble({},ife),{},{icon:Vce.showMissingIcons&&e&&Wde("missingIconAbstract")||{}}))}))}var afe=function(){},sfe=Vce.measurePerformance&&lce&&lce.mark&&lce.measure?lce:{mark:afe,measure:afe},ufe='FA "6.2.1"',lfe=function(e){sfe.mark("".concat(ufe," ").concat(e," ends")),sfe.measure("".concat(ufe," ").concat(e),"".concat(ufe," ").concat(e," begins"),"".concat(ufe," ").concat(e," ends"))},cfe=function(e){return sfe.mark("".concat(ufe," ").concat(e," begins")),function(){return lfe(e)}},dfe=function(){};function ffe(e){return"string"==typeof(e.getAttribute?e.getAttribute(pce):null)}function pfe(e){return sce.createElementNS("http://www.w3.org/2000/svg",e)}function hfe(e){return sce.createElement(e)}function mfe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?pfe:hfe:n;if("string"==typeof e)return sce.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){i.setAttribute(t,e.attributes[t])}));var o=e.children||[];return o.forEach((function(e){i.appendChild(mfe(e,{ceFn:r}))})),i}var vfe={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(mfe(e),t)})),null===t.getAttribute(pce)&&Vce.keepOriginalSource){var n=sce.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~$ce(t).indexOf(Vce.replacementClass))return vfe.replace(e);var r=new RegExp("".concat(Vce.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var i=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Vce.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=i.toSvg.join(" "),0===i.toNode.length?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}var o=n.map((function(e){return lde(e)})).join("\n");t.setAttribute(pce,""),t.innerHTML=o}};function gfe(e){e()}function yfe(e,t){var n="function"==typeof t?t:dfe;if(0===e.length)n();else{var r=gfe;"async"===Vce.mutateApproach&&(r=ace.requestAnimationFrame||gfe),r((function(){var t=!0===Vce.autoReplaceSvg?vfe.replace:vfe[Vce.autoReplaceSvg]||vfe.replace,r=cfe("mutate");e.map(t),r(),n()}))}}var bfe=!1;function _fe(){bfe=!0}function wfe(){bfe=!1}var kfe=null;function Efe(e){if(uce&&Vce.observeMutations){var t=e.treeCallback,n=void 0===t?dfe:t,r=e.nodeCallback,i=void 0===r?dfe:r,o=e.pseudoElementsCallback,a=void 0===o?dfe:o,s=e.observeMutationsRoot,u=void 0===s?sce:s;kfe=new uce((function(e){if(!bfe){var t=Mde();Xce(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!ffe(e.addedNodes[0])&&(Vce.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Vce.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&ffe(e.target)&&~Mce.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(mce):null,n=e.getAttribute?e.getAttribute(vce):null;return t&&n}(e.target)){var r=qde($ce(e.target)),o=r.prefix,s=r.iconName;e.target.setAttribute(mce,o||t),s&&e.target.setAttribute(vce,s)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Vce.replacementClass)})(e.target)&&i(e.target)}))}})),cce&&kfe.observe(u,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function xfe(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}function Sfe(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",i=qde($ce(e));return i.prefix||(i.prefix=Mde()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=function(e,t){return(Ede[e]||{})[t]}(i.prefix,e.innerText)||Pde(i.prefix,fde(e.innerText))),!i.iconName&&Vce.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Tfe(e){var t=Xce(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return Vce.autoA11y&&(n?t["aria-labelledby"]="".concat(Vce.replacementClass,"-title-").concat(r||Kce()):(t["aria-hidden"]="true",t.focusable="false")),t}function Cfe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Sfe(e),r=n.iconName,i=n.prefix,o=n.rest,a=Tfe(e),s=Hde("parseNodeAttributes",{},e),u=t.styleParser?xfe(e):[];return Ble({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Gce,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:u,attributes:a}},s)}var Afe=ode.styles;function Ofe(e){var t="nest"===Vce.autoReplaceSvg?Cfe(e,{styleParser:!1}):Cfe(e);return~t.extra.classes.indexOf(Oce)?Wde("generateLayersText",e,t):Wde("generateSvgReplacementMutation",e,t)}var Nfe=new Set;function Pfe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!cce)return Promise.resolve();var n=sce.documentElement.classList,r=function(e){return n.add("".concat(gce,"-").concat(e))},i=function(e){return n.remove("".concat(gce,"-").concat(e))},o=Vce.autoFetchSvg?Nfe:kce.map((function(e){return"fa-".concat(e)})).concat(Object.keys(Afe));o.includes("fa")||o.push("fa");var a=[".".concat(Oce,":not([").concat(pce,"])")].concat(o.map((function(e){return".".concat(e,":not([").concat(pce,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=Xce(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");var u=cfe("onTree"),l=s.reduce((function(e,t){try{var n=Ofe(t);n&&e.push(n)}catch(e){bce||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(l).then((function(n){yfe(n,(function(){r("active"),r("complete"),i("pending"),"function"==typeof t&&t(),u(),e()}))})).catch((function(e){u(),n(e)}))}))}function Ife(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ofe(e).then((function(e){e&&yfe([e],t)}))}function Lfe(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Yde(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:Yde(i||{})),e(r,Ble(Ble({},n),{},{mask:i}))}}kce.map((function(e){Nfe.add("fa-".concat(e))})),Object.keys(xce.classic).map(Nfe.add.bind(Nfe)),Object.keys(xce.sharp).map(Nfe.add.bind(Nfe)),Nfe=Wle(Nfe);var Mfe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Gce:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,u=t.maskId,l=void 0===u?null:u,c=t.title,d=void 0===c?null:c,f=t.titleId,p=void 0===f?null:f,h=t.classes,m=void 0===h?[]:h,v=t.attributes,g=void 0===v?{}:v,y=t.styles,b=void 0===y?{}:y;if(e){var _=e.prefix,w=e.iconName,k=e.icon;return Qde(Ble({type:"icon"},e),(function(){return Vde("beforeDOMElementCreation",{iconDefinition:e,params:t}),Vce.autoA11y&&(d?g["aria-labelledby"]="".concat(Vce.replacementClass,"-title-").concat(p||Kce()):(g["aria-hidden"]="true",g.focusable="false")),Jde({icons:{main:rfe(k),mask:s?rfe(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:w,transform:Ble(Ble({},Gce),r),symbol:o,title:d,maskId:l,titleId:p,extra:{attributes:g,styles:b,classes:m}})}))}},Rfe={mixout:function(){return{icon:Lfe(Mfe)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Pfe,e.nodeCallback=Ife,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?sce:t,r=e.callback;return Pfe(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,i=t.titleId,o=t.prefix,a=t.transform,s=t.symbol,u=t.mask,l=t.maskId,c=t.extra;return new Promise((function(t,d){Promise.all([ofe(n,o),u.iconName?ofe(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(u){var d=Vle(u,2),f=d[0],p=d[1];t([e,Jde({icons:{main:f,mask:p},prefix:o,iconName:n,transform:a,symbol:s,maskId:l,title:r,titleId:i,extra:c,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.transform,a=Qce(e.styles);return a.length>0&&(r.style=a),Jce(o)&&(t=Wde("generateAbstractTransformGrouping",{main:i,transform:o,containerWidth:i.width,iconWidth:i.width})),n.push(t||i.icon),{children:n,attributes:r}}}},Dfe={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Qde({type:"layer"},(function(){Vde("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(Vce.cssPrefix,"-layers")].concat(Wle(r)).join(" ")},children:n}]}))}}}},qfe={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,i=t.classes,o=void 0===i?[]:i,a=t.attributes,s=void 0===a?{}:a,u=t.styles,l=void 0===u?{}:u;return Qde({type:"counter",content:e},(function(){return Vde("beforeDOMElementCreation",{content:e,params:t}),tfe({content:e.toString(),title:r,extra:{attributes:s,styles:l,classes:["".concat(Vce.cssPrefix,"-layers-counter")].concat(Wle(o))}})}))}}}},jfe={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Gce:n,i=t.title,o=void 0===i?null:i,a=t.classes,s=void 0===a?[]:a,u=t.attributes,l=void 0===u?{}:u,c=t.styles,d=void 0===c?{}:c;return Qde({type:"text",content:e},(function(){return Vde("beforeDOMElementCreation",{content:e,params:t}),efe({content:e,transform:Ble(Ble({},Gce),r),title:o,extra:{attributes:l,styles:d,classes:["".concat(Vce.cssPrefix,"-layers-text")].concat(Wle(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,i=t.extra,o=null,a=null;if(dce){var s=parseInt(getComputedStyle(e).fontSize,10),u=e.getBoundingClientRect();o=u.width/s,a=u.height/s}return Vce.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,efe({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}},Ffe=new RegExp('"',"ug"),Bfe=[1105920,1112319];function Ufe(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var o,a,s,u=Xce(e.children).filter((function(e){return e.getAttribute(hce)===t}))[0],l=ace.getComputedStyle(e,t),c=l.getPropertyValue("font-family").match(Nce),d=l.getPropertyValue("font-weight"),f=l.getPropertyValue("content");if(u&&!c)return e.removeChild(u),r();if(c&&"none"!==f&&""!==f){var p=l.getPropertyValue("content"),h=~["Sharp"].indexOf(c[2])?wce:_ce,m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(c[2])?Sce[h][c[2].toLowerCase()]:Pce[h][d],v=function(e){var t=e.replace(Ffe,""),n=function(e,t){var n,r=e.length,i=e.charCodeAt(t);return i>=55296&&i<=56319&&r>t+1&&(n=e.charCodeAt(t+1))>=56320&&n<=57343?1024*(i-55296)+n-56320+65536:i}(t,0),r=n>=Bfe[0]&&n<=Bfe[1],i=2===t.length&&t[0]===t[1];return{value:fde(i?t[0]:t),isSecondary:r||i}}(p),g=v.value,y=v.isSecondary,b=c[0].startsWith("FontAwesome"),_=Pde(m,g),w=_;if(b){var k=(a=Sde[o=g],s=Pde("fas",o),a||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});k.iconName&&k.prefix&&(_=k.iconName,m=k.prefix)}if(!_||y||u&&u.getAttribute(mce)===m&&u.getAttribute(vce)===w)r();else{e.setAttribute(n,w),u&&e.removeChild(u);var E={iconName:null,title:null,titleId:null,prefix:null,transform:Gce,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=E.extra;x.attributes[hce]=t,ofe(_,m).then((function(i){var o=Jde(Ble(Ble({},E),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:w,extra:x,watchable:!0})),a=sce.createElement("svg");"::before"===t?e.insertBefore(a,e.firstChild):e.appendChild(a),a.outerHTML=o.map((function(e){return lde(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function zfe(e){return Promise.all([Ufe(e,"::before"),Ufe(e,"::after")])}function Hfe(e){return!(e.parentNode===document.head||~yce.indexOf(e.tagName.toUpperCase())||e.getAttribute(hce)||e.parentNode&&"svg"===e.parentNode.tagName)}function Vfe(e){if(cce)return new Promise((function(t,n){var r=Xce(e.querySelectorAll("*")).filter(Hfe).map(zfe),i=cfe("searchPseudoElements");_fe(),Promise.all(r).then((function(){i(),wfe(),t()})).catch((function(){i(),wfe(),n()}))}))}var Wfe={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Vfe,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?sce:t;Vce.searchPseudoElements&&Vfe(n)}}},Yfe=!1,Gfe=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Kfe={mixout:function(){return{parse:{transform:function(e){return Gfe(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Gfe(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),u="rotate(".concat(n.rotate," 0 0)"),l={outer:o,inner:{transform:"".concat(a," ").concat(s," ").concat(u)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:Ble({},l.outer),children:[{tag:"g",attributes:Ble({},l.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Ble(Ble({},t.icon.attributes),l.path)}]}]}}}},Xfe={x:0,y:0,width:"100%",height:"100%"};function $fe(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var Zfe={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?qde(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Mde()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,s=e.transform,u=i.width,l=i.icon,c=o.width,d=o.icon,f=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:s,containerWidth:c,iconWidth:u}),p={tag:"rect",attributes:Ble(Ble({},Xfe),{},{fill:"white"})},h=l.children?{children:l.children.map($fe)}:{},m={tag:"g",attributes:Ble({},f.inner),children:[$fe(Ble({tag:l.tag,attributes:Ble(Ble({},l.attributes),f.path)},h))]},v={tag:"g",attributes:Ble({},f.outer),children:[m]},g="mask-".concat(a||Kce()),y="clip-".concat(a||Kce()),b={tag:"mask",attributes:Ble(Ble({},Xfe),{},{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[p,v]},_={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=d,"g"===t.tag?t.children:[t])},b]};return n.push(_,{tag:"rect",attributes:Ble({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(g,")")},Xfe)}),{children:n,attributes:r}}}},Qfe={provides:function(e){var t=!1;ace.matchMedia&&(t=ace.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Ble(Ble({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=Ble(Ble({},r),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Ble(Ble({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||o.children.push({tag:"animate",attributes:Ble(Ble({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Ble(Ble({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(o),e.push({tag:"path",attributes:Ble(Ble({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Ble(Ble({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Ble(Ble({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Ble(Ble({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Jfe=[rde,Rfe,Dfe,qfe,jfe,Wfe,{mixout:function(){return{dom:{unwatch:function(){_fe(),Yfe=!0}}}},hooks:function(){return{bootstrap:function(){Efe(Hde("mutationObserverCallbacks",{}))},noAuto:function(){kfe&&kfe.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Yfe?wfe():Efe(Hde("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Kfe,Zfe,Qfe,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];!function(e,t){var n=t.mixoutsTo;Fde=e,Bde={},Object.keys(Ude).forEach((function(e){-1===zde.indexOf(e)&&delete Ude[e]})),Fde.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===Ule(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){Bde[e]||(Bde[e]=[]),Bde[e].push(r[e])}))}e.provides&&e.provides(Ude)}))}(Jfe,{mixoutsTo:$de});var epe=$de.library,tpe=$de.dom,npe=$de.parse,rpe=$de.icon,ipe=__webpack_require__(89632),ope=__webpack_require__.n(ipe);function ape(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 spe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ape(Object(n),!0).forEach((function(t){lpe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ape(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function upe(e){return upe="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},upe(e)}function lpe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cpe(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 dpe(e){return function(e){if(Array.isArray(e))return fpe(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 fpe(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 fpe(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 fpe(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 ppe(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var hpe=["style"];function mpe(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=ppe(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{})}var vpe=!1;try{vpe=!0}catch(e){}function gpe(e){return e&&"object"===upe(e)&&e.prefix&&e.iconName&&e.icon?e:npe.icon?npe.icon(e):null===e?null:e&&"object"===upe(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ype(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?lpe({},e,t):{}}var bpe=v.forwardRef((function(e,t){var n=e.icon,r=e.mask,i=e.symbol,o=e.className,a=e.title,s=e.titleId,u=e.maskId,l=gpe(n),c=ype("classes",[].concat(dpe(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,u=e.spin,l=e.spinPulse,c=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,v=e.flip,g=e.size,y=e.rotation,b=e.pull,_=(lpe(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":c,"fa-spin-pulse":l,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===v,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(g),null!=g),lpe(t,"fa-rotate-".concat(y),null!=y&&0!==y),lpe(t,"fa-pull-".concat(b),null!=b),lpe(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(_).map((function(e){return _[e]?e:null})).filter((function(e){return e}))}(e)),dpe(o.split(" ")))),d=ype("transform","string"==typeof e.transform?npe.transform(e.transform):e.transform),f=ype("mask",gpe(r)),p=rpe(l,spe(spe(spe(spe({},c),d),f),{},{symbol:i,title:a,titleId:s,maskId:u}));if(!p)return function(){var e;!vpe&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",l),null;var h=p.abstract,m={ref:t};return Object.keys(e).forEach((function(t){bpe.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),_pe(h[0],m)}));bpe.displayName="FontAwesomeIcon",bpe.propTypes={beat:ope().bool,border:ope().bool,beatFade:ope().bool,bounce:ope().bool,className:ope().string,fade:ope().bool,flash:ope().bool,mask:ope().oneOfType([ope().object,ope().array,ope().string]),maskId:ope().string,fixedWidth:ope().bool,inverse:ope().bool,flip:ope().oneOf([!0,!1,"horizontal","vertical","both"]),icon:ope().oneOfType([ope().object,ope().array,ope().string]),listItem:ope().bool,pull:ope().oneOf(["right","left"]),pulse:ope().bool,rotation:ope().oneOf([0,90,180,270]),shake:ope().bool,size:ope().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ope().bool,spinPulse:ope().bool,spinReverse:ope().bool,symbol:ope().oneOfType([ope().bool,ope().string]),title:ope().string,titleId:ope().string,transform:ope().oneOfType([ope().string,ope().object]),swapOpacity:ope().bool},bpe.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var _pe=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=mpe(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[ppe(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,u=cpe(r,hpe);return o.attrs.style=spe(spe({},o.attrs.style),s),t.apply(void 0,[n.tag,spe(spe({},o.attrs),u)].concat(dpe(i)))}.bind(null,v.createElement),wpe={prefix:"fab",iconName:"rise-com",icon:[512,512,[],"e001","M248 3.34C111 3.34 0 114 0 252c0 137 111 248 248 248 137 0 248-111 248-248-.457-137-112-248-248-248zm0 421c-75.4 0-139-48-163-116l326 0c-23.8 67.7-88.2 116-163 116z"]},kpe=__webpack_require__(67294);function Epe(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function xpe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Epe(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Epe(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}epe.add(wpe),tpe.watch();var Spe={"alert-circle":Ile.xH,"align-left":jle.el,"arrow-down":Ple.r5,"arrow-rotate-left":Nle.p,"arrow-right":Ole.eF,"arrow-up":Ale.FP,bars:qle.xi,"browser-light":_le.m6,"book-open":Cle.cn,check:Dle.LE,eye:ble.Md,"eye-slash":yle.Aq,file:Tle.gM,"file-lines":Sle.nf,"file-pdf-light":gle.gS,"file-export-light":vle.c,"grid-solid":Rle.em,"layers-solid":xle.Kr,lock:Mle.by,"pen-line":Ele.E8,plus:wle.RL,video:kle.Iy,xmark:Lle.g8};function Tpe(e){var t=e.className,n=e.classNameIcon,r=e.color,i=e.name,o=e.style,a=e.styleIcon;return kpe.createElement("span",{className:t,style:xpe({color:r},o)},kpe.createElement(bpe,{className:n,icon:Spe[i],style:a}))}function Cpe(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var Ape=yM("one-page-cover"),Ope=yM("cover"),Npe=function(e){gt(n,e);var t=Cpe(n);function n(e){var r;return nt(this,n),qr(ft(r=t.call(this,e)),"getLessonPath",(function(){var e,t=null===(e=r.props.lesson)||void 0===e?void 0:e.id;return t?pL(t):null})),qr(ft(r),"transitionToLessonContent",(function(){var e=r.getLessonPath();null!=e&&r.props.history.push(e)})),qr(ft(r),"onClickStartArea",(function(e){var t,n;null!==(t=r.refLink.current)&&void 0!==t&&null!==(n=t.contains)&&void 0!==n&&n.call(t,e.target)||r.props.history.push(r.getLessonPath())})),qr(ft(r),"onKeyUp",(function(e){var t=r.state,n=t.entering,i=t.exiting;n||i||"ArrowDown"!==e.key&&"ArrowRight"!==e.key||(document.removeEventListener("keyup",r.onKeyUp),r.transitionToLessonContent())})),qr(ft(r),"onWheel",(function(e){var t=r.state,n=t.entering,i=t.exiting;Hse(r.props.previewType)||n||i||e.deltaY>100&&(document.removeEventListener("wheel",r.onWheel,{passive:!0}),r.transitionToLessonContent())})),r.state={entering:!1,exiting:!1},r.refLink=(0,v.createRef)(),r.refMain=(0,v.createRef)(),r}return dt(n,[{key:"componentDidMount",value:function(){var e,t;UY(),null===(e=this.refMain.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),document.addEventListener("keyup",this.onKeyUp),document.addEventListener("wheel",this.onWheel,{passive:!0})}},{key:"componentDidEnter",value:function(){var e,t;this.setState({entering:!1}),null===(e=this.refMain.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({entering:!0},(function(){var n=Pue()?.01:pS;t.willEnterTimeout=setTimeout(e,n)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({exiting:!0},(function(){var n=Pue()?.01:pS;t.willExitTimeout=setTimeout(e,n)}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout),document.removeEventListener("keyup",this.onKeyUp),document.removeEventListener("wheel",this.onWheel,{passive:!0})}},{key:"render",value:function(){var e,t,n=this.props.course,r=this.state,i=r.entering,o=r.exiting,a=(null==n?void 0:n.coverPageType)===TS.WHITE,s=(null==n?void 0:n.coverPageType)===TS.IMAGE,u=(null==n?void 0:n.coverPageType)===TS.ACCENT,l=u?null==n?void 0:n.color:"#fff",c=(null==n||null===(e=n.theme)||void 0===e?void 0:e.blockNavigationType)===vS.STEPPED,d="title",f=s?DC(null==n?void 0:n.coverImage):{backgroundColor:l},p=c?"slide":"fade",h="entering-".concat(p),m="exiting-".concat(p),g=Ape("wrapper",(t={},qr(t,h,i),qr(t,m,o),qr(t,"white",a),qr(t,"accent",u),t)).mix(Ope("header-content"));return v.createElement(Bse,{onSwipeUp:this.transitionToLessonContent},v.createElement("main",{"aria-labelledby":d,className:g,ref:this.refMain,style:f,tabIndex:"-1"},v.createElement(hle,{htmlIdTitle:d}),c&&v.createElement("div",{className:"visually-hidden-always"},"To quickly navigate between steps, use the up and down arrow keys or the step controls region found on subsequent steps."),v.createElement("div",{className:Ape("start-wrapper"),onClick:this.onClickStartArea},v.createElement(zj,{"aria-label":"Start",className:Ape("start-link"),ref:this.refLink,to:this.getLessonPath()},v.createElement(Tpe,{className:Ape("start-icon"),name:"arrow-down"})))))}}]),n}(v.Component);var Ppe=pe()((function(e){var t=oe((function(t){var n=t.forwardedRef,r=Ji(t,mle);return v.createElement(e,Et({},r,{ref:n}))})),n=(0,v.forwardRef)((function(e,n){return v.createElement(t,Et({},e,{forwardedRef:n}))}));return n.displayName="withRouterRef(".concat(e.displayName||e.name,")"),n}),nn((function(e){var t=hI(e);return{course:t,lesson:jC(t)}}),null,null,{forwardRef:!0})),Ipe=Ppe(Npe),Lpe=__webpack_require__(67294);function Mpe(e,t){var n=vr()(e);if(yr()){var r=yr()(e);t&&(r=_r()(r).call(r,(function(t){return kr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Rpe=function(e){var t=e.location,n=t.pathname.split("/")[1],r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mpe(Object(n),!0).forEach((function(t){qr(e,t,n[t])})):xr()?Object.defineProperties(e,xr()(n)):Mpe(Object(n)).forEach((function(t){Object.defineProperty(e,t,kr()(n,t))}))}return e}({history:se()},e);return Lpe.createElement(Zt,{component:"div",className:"transition-group"},Lpe.createElement(IG,{key:n},Lpe.createElement(OG,{location:t},Lpe.createElement(SG,{exact:!0,path:"/",component:Ipe}),Lpe.createElement(SG,{exact:!0,path:"/:mode",component:Ipe}),Lpe.createElement(SG,{exact:!0,path:"/lessons/:id",component:cle,childProps:r}))))},Dpe=null,qpe=null;try{Dpe=new Function("return function* () {}")().constructor,qpe=(0,Pw.is)(Dpe)}catch(e){qpe=Pw.F}var jpe=(0,Pw.curryN)(1,(0,Pw.either)((0,Pw.pipe)(Pw.type,(0,Pw.identical)("GeneratorFunction")),qpe)),Fpe=(0,Pw.curryN)(1,(0,Pw.pipe)(Pw.type,(0,Pw.identical)("AsyncFunction"))),Bpe=(0,Pw.anyPass)([(0,Pw.pipe)(Pw.type,(0,Pw.identical)("Function")),jpe,Fpe]),Upe=(0,Pw.curryN)(1,Bpe(Array.isArray)?Array.isArray:(0,Pw.pipe)(Pw.type,(0,Pw.identical)("Array"))),zpe=(0,Pw.complement)(Upe),Hpe=(0,Pw.when)(zpe,Pw.of),Vpe=["accent","ariaControls","ariaExpanded","ariaHidden","ariaLabel","ariaPressed","branded","className","children","condensed","controls","disabled","el","extraPadding","header","headerDone","icon","inverted","mode","next","onClick","onlyIcon","onMouseDown","outline","outlineTransparent","sidebar","tabIndex","type"],Wpe=function(e){var t;return GA()("button",(qr(t={},e.className,!Jo()(e.className)),qr(t,"button--default",void 0===e.mode),qr(t,"button--extraPadding",e.extraPadding),qr(t,"button--sidebar brand--ui",e.sidebar),qr(t,"button--header",e.header),qr(t,"button--header-done",e.headerDone),qr(t,"button--outline",e.outline),qr(t,"button--outline button--outline-transparent",e.outlineTransparent),qr(t,"button--condensed",e.condensed),qr(t,"button--inverted",e.inverted),qr(t,"button--logo",e.logo),qr(t,"button--inline","inline"===e.mode),qr(t,"button--next",e.next),qr(t,"button--disabled",e.disabled),qr(t,"button--controls",e.controls),qr(t,"brand--ui",e.accent),qr(t,"brand--background brand--border",e.branded),t))},Ype=function(e){var t=e.icon;return t?v.createElement("i",{className:"button__icon icon-".concat(t)}):null},Gpe=function(e){var t=e.accent,n=e.ariaControls,r=e.ariaExpanded,i=e.ariaHidden,o=e.ariaLabel,a=e.ariaPressed,s=e.branded,u=e.className,l=e.children,c=e.condensed,d=e.controls,f=e.disabled,p=e.el,h=e.extraPadding,m=e.header,g=e.headerDone,y=e.icon,b=e.inverted,_=e.mode,w=e.next,k=e.onClick,E=e.onlyIcon,x=e.onMouseDown,S=e.outline,T=e.outlineTransparent,C=e.sidebar,A=e.tabIndex,O=e.type,N=Ji(e,Vpe),P=p||"button";return"button"!==P||O||(O="button"),v.createElement(P,Et({"aria-controls":n,"aria-expanded":r,"aria-hidden":i,"aria-label":o,"aria-pressed":a,className:Wpe({accent:t,branded:s,className:u,condensed:c,controls:d,disabled:f,extraPadding:h,header:m,headerDone:g,inverted:b,mode:_,next:w,outline:S,outlineTransparent:T,sidebar:C}),disabled:f,onClick:k,onMouseDown:x,tabIndex:A,type:O},N),v.createElement(Ype,{icon:y}),function(e){var t,n=e.onlyIcon,r=e.children;return Ra()(t=v.Children).call(t,r,(function(e){return n&&void 0===e.type?null:e}))}({onlyIcon:E,children:l}))};Gpe.defaultProps={onClick:Function.prototype,onMouseDown:Function.prototype};var Kpe=Gpe,Xpe=__webpack_require__(67294),$pe=Zj.modal,Zpe=yM("modal"),Qpe=function(e){var t=e.children,n=e.className,r=e.darkOverlay,i=e.disableBackgroundScroll,o=e.focusFirstInput,a=void 0===o||o,s=e.footer,u=e.forceToTop,l=void 0!==u&&u,c=e.heading,d=e.hideCloseButton,f=void 0!==d&&d,p=e.hideHeader,h=void 0!==p&&p,m=e.onClose,g=void 0===m?Hl:m,y=e.onOverlayClick,b=void 0===y?g:y,_=e.scroll,w=void 0!==_&&_,k=e.subHeading,E=e.subText,x=e.width,S=ise(),T=(0,v.useRef)();(0,v.useEffect)((function(){var e,t=S.current;return null==t||null===(e=t.showModal)||void 0===e||e.call(t),function(){var e;null==t||null===(e=t.close)||void 0===e||e.call(t)}}),[S]),(0,v.useEffect)((function(){if(a&&S.current){var e,t=VS()(e=tse(S.current)).call(e,(function(e){return"INPUT"===e.tagName||"TEXTAREA"===e.tagName})),n=t||(null==T?void 0:T.current);null==n||n.focus()}}),[a,S]),(0,v.useEffect)((function(){i&&(document.scrollingElement||document.documentElement).classList.add("no-scroll");return function(){(document.scrollingElement||document.documentElement).classList.remove("no-scroll")}}),[i]);var C=Zpe({"force-to-top":l}).mix(n),A=Zpe("content",{"with-footer":Boolean(s),"force-scroll":Boolean(w)}),O=Zpe("overlay",{dark:Boolean(r)});return Xpe.createElement("dialog",{"aria-labelledby":"modal-heading","aria-modal":"true",className:C.toString(),"data-ba":e["data-ba"],onClose:g,ref:S,role:"dialog"},Xpe.createElement("div",{id:"modal-portal"}),Xpe.createElement("div",{className:O,onClick:b}),Xpe.createElement("div",{className:Zpe("dialog"),"data-ba":$pe.container,style:x?{width:x}:{}},(!h||!f)&&Xpe.createElement("div",{className:Zpe("heading-wrapper")},Xpe.createElement("div",{className:Zpe("heading-flexbox")},!h&&Xpe.createElement("div",{className:Zpe("header")},Xpe.createElement("h1",{id:"modal-heading",className:Zpe("heading")},c,Xpe.createElement("span",{className:Zpe("subheading")},k))),!f&&Xpe.createElement("button",{"aria-label":"close dialog",className:Zpe("close"),onClick:g,ref:T,type:"button"},Xpe.createElement("i",{className:"icon icon-remove"}))),E?Xpe.createElement("h2",{className:Zpe("subtitle")},E):[]),Xpe.createElement("div",{className:A},t),s&&Xpe.createElement(Xpe.Fragment,null,Xpe.createElement("div",{className:Zpe("footer-shadow")}),Xpe.createElement("div",{className:Zpe("footer")},s))))},Jpe=function(){var e=rn(KL),t=Xe(),n=(0,v.useCallback)((function(){return t(sP(!1))}),[t]);return v.createElement(Zt,null,e?v.createElement(en,{classNames:"modal",timeout:400},v.createElement(Qpe,{hideCloseButton:!0,hideHeader:!0,onClose:n,width:440},v.createElement("div",{className:"base-modal__content base-modal__content--centered"},v.createElement("p",null,"External links are disabled in trial accounts."),v.createElement("div",{className:"base-modal__btns"},v.createElement(Kpe,{inverted:!0,onClick:n},"OKAY"))))):v.createElement(v.Fragment,null))};function ehe(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_t(e);if(t){var i=_t(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return yt(this,n)}}var the=$j.course,nhe=kt()(document.createElement("div"),{id:"portal"});function rhe(e){(null!=e?e:document.body).appendChild(nhe),nhe.style.display=e?"":"none"}rhe();var ihe=function(e){gt(n,e);var t=ehe(n);function n(e){var r;return nt(this,n),(r=t.call(this,e)).state={didNavigate:!1,previewType:"",failAttempt:!1,scrollTo:null,showPasswordDialog:!0},r.onSharePasswordSubmit=r.onSharePasswordSubmit.bind(ft(r)),r.onFavoriteAdded=r.onFavoriteAdded.bind(ft(r)),r.onFavoriteRemoved=r.onFavoriteRemoved.bind(ft(r)),r}return dt(n,[{key:"componentWillMount",value:function(){var e;lF.isIe11&&document.documentElement.classList.add("ie11"),lF.isSafari9&&document.documentElement.classList.add("safari9"),lF.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),lF.isSafari&&"iframe"===this.props.match.params.mode&&aY().enable(),window.addEventListener("message",this.handleMessages.bind(this)),e=qY(),document.addEventListener("mousedown",(function(){setTimeout((function(){e.innerHTML=MY}),0),lI(VP(!1))})),window.addEventListener("keydown",BY)}},{key:"componentDidMount",value:function(){var e=this;document.documentElement.lang=this.props.languageCode,this.removeRouteListener=this.props.history.listen((function(){e.setState({didNavigate:!0})})),Mx("favoriteAdded",this.onFavoriteAdded),Mx("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){lI(function(){return ja(yN,{connection:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"connected"})}(e))}},{key:"componentDidUpdate",value:function(e){var t=this.props.languageCode;!e.languageCode&&t&&(document.documentElement.lang=t)}},{key:"componentWillUnmount",value:function(){this.removeRouteListener(),window.removeEventListener("message",this.handleMessages.bind(this)),Rx("favoriteAdded",this.onFavoriteAdded),Rx("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=this,n=e.data;if(function(e){return e===window.location.origin}(e.origin)){var r=this.props,i=r.history,o=r.location.pathname,a=this.props.course.lessonsOnly;Hpe(n).forEach((function(e){var n=e.type,r=e.data;if(function(e){var t;return k_()(t=["preview:navigate","preview:overlayNavClose","preview:scrollto","preview:showLessonNavNext","preview:showLessonNavPrev","preview:themeUpdate","preview:update","preview:navOpen","preview:navClose"]).call(t,e)}(n)){if("preview:update"===n&&t.setState({previewType:r}),"preview:themeUpdate"===n&&t.handleThemePreviewUpdate(r),"preview:navigate"===n){var s=r.type;(function(e,t){return!("firstLesson"===e&&k_()(t).call(t,"/lessons/")||"cover"===e&&("/"===t||"/preview"===t))})(s,o)&&("firstLesson"===s?i.push("/lessons/".concat(a[0].id)):"cover"===s&&i.push("/"))}if("preview:navOpen"===n&&window.dispatchEvent(new CustomEvent(cV)),"preview:navClose"===n&&window.dispatchEvent(new CustomEvent(dV)),"preview:showLessonNavPrev"===n&&window.dispatchEvent(new CustomEvent(uV)),"preview:showLessonNavNext"===n&&window.dispatchEvent(new CustomEvent(lV)),"preview:scrollto"===n&&"string"==typeof r.target){var u=document.querySelector(r.target);u&&pY(u,{behavior:"smooth",block:"start"})}}}))}}},{key:"handleThemePreviewUpdate",value:function(e){var t=e.course,n=e.fonts,r=e.theme;this.cancelThemePreviewUpdate();var i=this.props.course,o=Ro()("theme",r,t),a=qA(i,o),s=new(Xr())((function(e,t){eP(n,t)}));this.cancelThemePreviewUpdate=s.fork(console.warn,(function(){lI(UN({course:a,fonts:n}))}))}},{key:"onSharePasswordSubmit",value:function(e){var t,n=this;return(t=e.value,ex("verifySharePassword")?QE.verifySharePassword(t):Gr().resolve({isValid:!0})).then((function(t){t.isValid?n.setState({showPasswordDialog:!1}):(e.value="",n.setState({failAttempt:!0}))})).catch((function(e){return console.error("Verify password error",e)}))}},{key:"onFavoriteAdded",value:function(){lI(ja(qx,void 0))}},{key:"onFavoriteRemoved",value:function(){lI(ja(jx,void 0))}},{key:"renderAppLayout",value:function(){if(!this.props.course)return null;var e=this.props,t=e.easterEggClassNames,n=e.course,r=e.course,i=r.bodyTypeface,o=r.color,a=r.headingTypeface,s=r.themeId,u=r.type,l=r.uiTypeface,c=e.courseProgress,d=e.isAutoCalcContrastEnabled,f=e.labels,p=e.lessons,h=e.location,m=e.partnerContent,g=e.search,y=e.sessionPreferences,b=this.state,_={course:n,courseProgress:c,didNavigate:b.didNavigate,labels:f,lessons:p,location:h,partnerContent:m,previewType:b.previewType,search:g,sessionPreferences:y,themeId:s},w={bodyTypeface:i,color:o,headingTypeface:a,uiTypeface:l},k=(null==n?void 0:n.isLegacyCourse)||EC(o),E=u===Fb,x=GA()("theme",t,s,{"legacy-color-contrast":!(d||null!=n&&n.isLegacyCourse),"dark-accent":k,"light-accent":!k,"one-page":E});return v.createElement(oM,{course:n,courseProgress:c,labels:f,partnerContent:m,search:g},v.createElement(Wz,{themeId:s},v.createElement(wG,{courseColor:o},v.createElement(iY(),{title:ZY(n.title)},v.createElement("div",{id:"innerApp",className:x,"data-ba":the.container,ref:rhe},v.createElement(bY,w),v.createElement(xY,{env:"runtime"},v.createElement(v.Fragment,null,E?v.createElement(Rpe,_):v.createElement(fle,_),v.createElement(Jpe,null))))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&!!ex("isShare")&&QE.isShare()&&(!!e||!!ex("isPasswordProtected")&&QE.isPasswordProtected()),i=this.onSharePasswordSubmit;return r?v.createElement(OY,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(v.Component);ihe.prototype.cancelThemePreviewUpdate=Function.prototype;var ohe,ahe=pe()(NR("rise-auto-calc-contrast","isAutoCalcContrastEnabled"),(function(e){function t(t,n){var r,i=(r=OR("big-head-mode"),GA()({bigHeadMode:r}));return SY.createElement(e,Et({},t,{ref:n,easterEggClassNames:i}))}return kt()((0,v.forwardRef)(t),{displayName:"withEasterEggClassNames(".concat(e.displayName||e.name,")")})}),oe),she=ahe(ihe),uhe=__webpack_require__(67294),lhe=function(){return uhe.createElement(iY(),{title:ZY()},uhe.createElement("div",null,uhe.createElement("div",{className:"not-found"},uhe.createElement("div",{className:"not-found__copy"},uhe.createElement("h1",{className:"not-found__copy--heading"},"Hmm..."),uhe.createElement("div",null,"We can't seem to find the page you're looking for.")))))},che=yM("curtain"),dhe=function(e){var t=e.loadingText,n=e.showHeader,r=e.status,i=Dr((0,v.useState)(!1),2),o=i[0],a=i[1],s=function(){return a(!0)},u=Ci()("status","error"),l=Ci()("status","fatalError"),c=Al()(u,Ci()("reconnectFailed",!0));return(0,v.useEffect)((function(){return ohe=setTimeout(s,1e4),function(){clearTimeout(ohe)}}),[]),(0,v.useEffect)((function(){if("error"===r){var e=new Error("There was a socket connection error. The renderReconnect curtain was displayed");fp.logger.error(e.message,e)}}),[r]),Dl()([[l,hhe],[c,vhe],[u,mhe],[bb(),phe(t)]])({showHeader:n,status:r,reconnectFailed:o})},fhe=function(){return window.location.reload(!0)},phe=function(e){return function(t){var n=t.showHeader;return v.createElement("div",{className:che("container",{"show-header":n})},v.createElement("div",{className:che()},v.createElement("div",{className:che("spinner")}),v.createElement("div",{className:che("text")},e||"Your content is loading.")))}},hhe=function(e){var t=e.showHeader;return v.createElement("div",{className:che("container",{"show-header":t})},v.createElement("div",{className:che()},v.createElement("div",{className:che("title")},"Something went wrong."),v.createElement("div",{className:che("description")},"Click to refresh and try again."),v.createElement(Kpe,{headerDone:!0,onClick:fhe},"Refresh")))},mhe=function(e){var t=e.showHeader;return v.createElement("div",{className:che("container",{"show-header":t})},v.createElement("div",{className:che()},v.createElement("div",{className:che("spinner",{reconnect:!0})}),v.createElement("div",{className:che("title")},"Your computer is offline."),v.createElement("div",{className:che("description")},"Attempting to reconnect…")))},vhe=function(e){var t=e.showHeader;return v.createElement("div",{className:che("container",{"show-header":t})},v.createElement("div",{className:che()},v.createElement("div",{className:che("title")},"Your session has timed out."),v.createElement("div",{className:che("description")},"Click refresh to restart your session."),v.createElement(Kpe,{headerDone:!0,onClick:fhe},"Refresh")))},ghe=(0,v.memo)(dhe),yhe=__webpack_require__(67294);function bhe(){return rn((function(e){var t=e.course,n=e.courseLabels,r=e.courseProgress,i=e.partnerContent,o=e.search,a=e.sessionPreferences,s=e.status;return{course:t,courseProgress:r,labels:n.labels,languageCode:n.iso639Code,lessons:t&&t.lessons,partnerContent:i,search:o,sessionPreferences:a,status:s}}))}function _he(){var e=Xe(),t=(0,v.useCallback)((function(){e(function(){return ja(yN,{coverLoaded:arguments.length>0&&void 0!==arguments[0]&&arguments[0]})}(!0))}),[e]),n=bhe(),r=n.status,i=r.courseLoaded,o=r.coverLoaded;if(i&&!o){var a=n.course.coverImage,s=(void 0===a?{}:a).media,u=(void 0===s?{}:s).image,l=void 0===u?{}:u,c=l.key,d=l.src;if(c||d){var f=c?eS(l):d,p=setTimeout(t,5e3),h=new Image;h.src=f,h.onload=function(){clearTimeout(p),t()}}else t()}}(0,tY.v6)({ignoreSFC:!0,pureRender:!0});var whe=(0,nY.w)((function(){!function(){var e=Xe();(0,v.useEffect)((function(){e(BN()),e(HP())}),[e])}(),_he();var e=bhe(),t=e.status,n=t.courseLoaded,r=t.coverLoaded,i=t.fontsLoaded,o=t.notFound,a=t.partnerContentLoaded,s=n&&i&&r&&a,u=!s;return(0,v.useEffect)((function(){s&&window.parent!==window&&window.parent.postMessage({type:"course:ready"},window.location.origin)}),[s]),o?yhe.createElement(lhe,null):u?yhe.createElement(ghe,{status:status}):yhe.createElement(she,e)})),khe=Rn();!function(e){if(ex("onCreateHistory"))QE.onCreateHistory(e)}(khe),(0,g.render)(v.createElement(v.Suspense,{fallback:null},v.createElement(_e,{store:uI},v.createElement(YW,null,v.createElement(Hr,null,v.createElement(eY,null,v.createElement(K,{history:khe},v.createElement(Q,{path:"/",component:whe}))))))),document.getElementById("app"))}()})();