vbv/server/vbv_lernwelt/static/media/lfs/rafael-fasel-wechselt-sein-.../lib/main.bundle.js

2 lines
3.1 MiB (Stored with Git LFS)
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see runtime.364a96c177479814fbfd.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(59231))&&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},53592:function(e,t,n){e.exports=n(27385)},78363:function(e,t,n){e.exports=n(81522)},19996:function(e,t,n){e.exports=n(32209)},51445:function(e,t,n){e.exports=n(14122)},88066:function(e,t,n){e.exports=n(21086)},53701:function(e,t,n){e.exports=n(47895)},60415:function(e,t,n){e.exports=n(27759)},72895:function(e,t,n){e.exports=n(32726)},30699:function(e,t,n){e.exports=n(44442)},33610:function(e,t,n){e.exports=n(57478)},98882:function(e,t,n){e.exports=n(2636)},44721:function(e,t,n){e.exports=n(11408)},95683:function(e,t,n){e.exports=n(69447)},60488:function(e,t,n){e.exports=n(56211)},50047:function(e,t,n){e.exports=n(86942)},11515:function(e,t,n){e.exports=n(66594)},60355:function(e,t,n){e.exports=n(17579)},95238:function(e,t,n){e.exports=n(81493)},47648:function(e,t,n){e.exports=n(72858)},51614:function(e,t,n){e.exports=n(75319)},59104:function(e,t,n){e.exports=n(75425)},54991:function(e,t,n){e.exports=n(99465)},42825:function(e,t,n){e.exports=n(52740)},90:function(e,t,n){e.exports=n(86672)},66242:function(e,t,n){e.exports=n(40691)},56524:function(e,t,n){e.exports=n(75632)},12088:function(e,t,n){e.exports=n(60269)},189:function(e,t,n){e.exports=n(76094)},44341:function(e,t,n){e.exports=n(73685)},58377:function(e,t,n){e.exports=n(27533)},13038:function(e,t,n){e.exports=n(39057)},63263:function(e,t,n){e.exports=n(84710)},24889:function(e,t,n){e.exports=n(74303)},36202:function(e,t,n){e.exports=n(9673)},89356:function(e,t,n){e.exports=n(93799)},79542:function(e,t,n){e.exports=n(55122)},6538:function(e,t,n){e.exports=n(54437)},69798:function(e,t,n){e.exports=n(29531)},13535:function(e,t,n){e.exports=n(10856)},83863:function(e,t,n){e.exports=n(31524)},51446:function(e,t,n){e.exports=n(86600)},46393:function(e,t,n){e.exports=n(55174)},23882:function(e,t,n){e.exports=n(9759)},61577:function(e,t,n){e.exports=n(52236)},79927:function(e,t,n){e.exports=n(87740)},16944:function(e,t,n){e.exports=n(58714)},23765:function(e,t,n){var r=n(51446),i=n(23882);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},3707: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,t){function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var i;this._invoke=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 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,o){void 0===o&&(o=Promise);var a=new E(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.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)}},63109:function(e,t,n){e.exports=n(3707)},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},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}},47927:function(e,t,n){"use strict";var r,i=(r=n(58908))&&"object"==typeof r&&"default"in r?r.default:r;e.exports=function(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}},49972:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=r(n(63327)),o=r(n(58908));e.exports=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=i.buildAbsoluteURL(o.location&&o.location.href||"",e)),i.buildAbsoluteURL(e,t))}},63327:function(e){var t,n,r,i,o;t=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#.*)?$/,n=/^([^\/?#]*)(.*)$/,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},23316:function(e,t,n){"use strict";var r=n(58908),i=n(67154),o=n(27376);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)}}))},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(15327),a=n(94097),s=n(84109),u=n(67985),l=n(85061);e.exports=function(e){return new Promise((function(t,c){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password||"";f.Authorization="Basic "+btoa(h+":"+m)}var v=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),o(v,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};i(t,c,r),p=null}},p.onabort=function(){p&&(c(l("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){c(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),c(l(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(4372),y=(e.withCredentials||u(v))&&e.xsrfCookieName?g.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(f,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),c(e),p=null)})),void 0===d&&(d=null),p.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),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);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.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=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},u.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){u.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}})),e.exports=u},80782:function(e,t,n){"use strict";var r=n(64867);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),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(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(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i(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","params","data"],o=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,(function(e){void 0!==t[e]&&(n[e]=t[e])})),r.forEach(o,(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])})),r.forEach(a,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}));var s=i.concat(o).concat(a),u=Object.keys(t).filter((function(e){return-1===s.indexOf(e)}));return r.forEach(u,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n}},36026:function(e,t,n){"use strict";var r=n(85061);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},18527:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},45655:function(e,t,n){"use strict";var r=n(64867),i=n(16016),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(s=n(55448)),s),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)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u},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(/%40/gi,"@").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)}},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)}}},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){return"[object Function]"===i.call(e)}function l(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,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:u,isStream:function(e){return s(e)&&u(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:l,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]="object"==typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},94310:function(e,t,n){"use strict";var r=n(23765),i=n(58377),o=n(24889),a=n(53592),s=n(12088),u=n(50047),l=n(88066),c=n(60488);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(23765),n(51446),n(46393);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(23765),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(95238),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(95238),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(23765),i=n(95238),o=n(60415),a=n(88066),s=n(54991),u=n(25320),l=n(82514),c=n(24088),d=n(9861),f=n(54359),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(23765),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(23765),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(23765);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}},54359:function(e,t,n){var r=n(36202);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(51446),i=n(23882),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(95238),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(23765),i=n(88066),o=n(47648),a=n(95238),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(95238),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(89356),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},19206: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(95238),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(95238),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(95238),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},7737:function(e,t,n){var r,i=n(23765);!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=i(n);if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)&&n.length){var s=a.apply(null,n);s&&e.push(s)}else if("object"===r)for(var u in n)o.call(n,u)&&n[u]&&e.push(u)}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):"object"===i(n.amdO)&&n.amdO?void 0===(r=function(){return a}.apply(t,[]))||(e.exports=r):window.classNames=a}()},32573:function(e,t,n){var r=n(69798),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(69798),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(95238),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(23765),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(23765);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(51446),i=n(23882),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(60355),i=n(95238),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(95238),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},14886:function(e,t,n){var r=n(88066),i=n(69798),o=n(50047),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(88066),i=n(50047),o=n(95238),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(88066),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(89356),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(50047),i=n(89356),o=n(88066),a=n(22452),s=n(12384),u=n(42690),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(89356),i=n(42690),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)}},42690: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(23765);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(95238),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+=F(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 L(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 M(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 I(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||L(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||L(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||L(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||L(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||L(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||L(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||L(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||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||L(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||L(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||L(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||L(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||L(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||L(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)||M(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)||M(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||M(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||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(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||M(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);M(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);M(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||M(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||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(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||M(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 B=/[^+\/0-9A-Za-z-_]/g;function F(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(B,"")).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 L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(A(t),P[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function I(e){var t,n;for(n in e)M(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 M(r)?r.call(t,n):r}var B={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 F(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 M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function K(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}var Z={};function X(e,t){var n=e.toLowerCase();Z[n]=Z[n+"s"]=Z[t]=e}function $(e){return"string"==typeof e?Z[e]||Z[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=$(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+=M(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]=M(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(Le(e))}function Le(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ie={};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++)Ie[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(Ie,e)&&Ie[e](t,n._a,n,e)}var je=0,Be=1,Fe=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"),X("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 Ze,Xe=Qe("FullYear",!0);function $e(){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 M(this[e=$(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(M(this[e=$(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}Ze=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)})),X("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[Be]=T(e)-1})),Re(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Be]=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=Ze.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ze.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ze.call(this._shortMonthsParse,a))||-1!==(i=Ze.call(this._longMonthsParse,a))?i:null:-1!==(i=Ze.call(this._longMonthsParse,a))||-1!==(i=Ze.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]=Me(r[t]),i[t]=Me(i[t]);for(t=0;t<24;t++)o[t]=Me(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"),X("week","w"),X("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 Lt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Mt(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"),X("day","d"),X("weekday","e"),X("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 It="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 Bt(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(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=Ze.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._shortWeekdaysParse,a))||-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,a))||-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,a))||-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._shortWeekdaysParse,a))?i:null}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ft.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=Lt(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=Mt(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")||$t.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")||$t.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Zt=Ae;function Xt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $t(){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]=Me(s[t]),u[t]=Me(u[t]),l[t]=Me(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),X("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:B,invalidDate:U,ordinal:H,dayOfMonthOrdinalParse:V,relativeTime:Y,months:at,monthsShort:ut,week:Ct,weekdays:It,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])L("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[Be]<0||n[Be]>11?Be:n[Fe]<1||n[Fe]>it(n[je],n[Be])?Fe: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>Fe)&&(t=Fe),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[Fe]&&null==e._a[Be]&&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[Be]=n.getUTCMonth(),e._a[Fe]=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||""),Fn(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 Ln(e,t,n,r,i,o){var a=[Mn(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Mn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(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(In(e._i));if(t){var n=Ln(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 Bn(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 Fn(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],Fn(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?Fn(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?Bn(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 Zn=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()})),Xn=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 $n(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 $n("isBefore",[].slice.call(arguments,0))}function Jn(){return $n("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===Ze.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[Fe])*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)||(L(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 Lr=Nr(1,"add"),Mr=Nr(-1,"subtract");function Ir(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&&(M(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=$(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=$(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Br(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 Fr(e,t){var n,r=x(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=$(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=$(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"):M(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 Zr(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 Xr(e){return this.from(Kn(),e)}function $r(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=$(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=$(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"),X("weekYear","gg"),X("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"),X("quarter","Q"),ee("quarter",7),Ne("Q",fe),Re("Q",(function(e,t){t[Be]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),X("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"],Fe),Re("Do",(function(e,t){t[Fe]=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"),X("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"),X("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"),X("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()})),X("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 Li(e){return Kn(1e3*e)}function Mi(){return Kn.apply(null,arguments).parseZone()}function Ii(e){return e}Pi.add=Lr,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=Hr,Pi.endOf=ri,Pi.format=Kr,Pi.from=Zr,Pi.fromNow=Xr,Pi.to=$r,Pi.toNow=Qr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=qr,Pi.isBefore=jr,Pi.isBetween=Br,Pi.isSame=Fr,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=zr,Pi.isValid=ci,Pi.lang=ei,Pi.locale=Jr,Pi.localeData=ti,Pi.max=Xn,Pi.min=Zn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Mr,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=Xe,Pi.isLeapYear=$e,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",Xe),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 Bi(e,t){return qi(e,t,"months")}function Fi(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=F,Ri.invalidDate=z,Ri.ordinal=W,Ri.preparse=Ii,Ri.postformat=Ii,Ri.relativeTime=G,Ri.pastFuture=K,Ri.set=I,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=Bt,Ri.weekdaysShort=qt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Yt,Ri.weekdaysShortRegex=Kt,Ri.weekdaysMinRegex=Xt,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 Zi(e){return e<0?Math.floor(e):Math.ceil(e)}function Xi(){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*Zi(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($i(a)),a-=Zi(Qi(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function $i(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=$(e))||"year"===e)return t=this._days+r/864e5,n=this._months+$i(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=$(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 Lo=or.prototype;return Lo.isValid=rr,Lo.abs=Wi,Lo.add=Gi,Lo.subtract=Ki,Lo.as=Ji,Lo.asMilliseconds=no,Lo.asSeconds=ro,Lo.asMinutes=io,Lo.asHours=oo,Lo.asDays=ao,Lo.asWeeks=so,Lo.asMonths=uo,Lo.asYears=lo,Lo.valueOf=eo,Lo._bubble=Xi,Lo.clone=co,Lo.get=fo,Lo.milliseconds=ho,Lo.seconds=mo,Lo.minutes=vo,Lo.hours=go,Lo.days=yo,Lo.weeks=wo,Lo.months=bo,Lo.years=_o,Lo.humanize=Ao,Lo.toISOString=Po,Lo.toString=Po,Lo.toJSON=Po,Lo.locale=Jr,Lo.localeData=ti,Lo.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Po),Lo.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=Li,i.months=Bi,i.isDate=d,i.locale=hn,i.invalid=b,i.duration=Tr,i.isMoment=x,i.weekdays=Ui,i.parseZone=Mi,i.localeData=gn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=Hi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=zi,i.normalizeUnits=$,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Ir,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,L=d;r.each(f.concat(p),B),r.each(f,(function(e){O+=e.width})),r.each(p,(function(e){N+=e.width})),r.each(h.concat(m),B),r.each(h,(function(e){P+=e.height})),r.each(m,(function(e){L+=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:L};t&&e.update(t.minSize.width,E,n)})),O=u,N=l,P=c,L=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){L+=e.height}));var M=Math.max(S-O,0);O+=M,N+=Math.max(T-N,0);var I=Math.max(C-P,0);P+=I,L+=Math.max(A-L,0);var R=n-P-L,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+M,j=c+I;r.each(f.concat(h),F),q+=k,j+=E,r.each(p,F),r.each(m,F),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 B(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 F(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,L,M,I,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 B=w+j;"bottom"===n.position?(q=h?"middle":"top",D=h?"right":"center",I=t.top+B):(q=h?"middle":"bottom",D=h?"left":"center",I=t.bottom-B);var F=u(t,i,f.offsetGridLines&&v.length>1);F<t.left&&(c="rgba(0,0,0,0)"),F+=o.aliasPixel(l),M=t.getPixelForTick(i)+s.labelOffset,g=b=k=x=F,y=N,_=P,E=e.top,L=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),M=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),I=t.getPixelForTick(i)+s.labelOffset,g=A,b=O,k=e.left,x=e.right+C,y=_=E=L=H}T.push({tx1:g,ty1:y,tx2:b,ty2:_,x1:k,y1:E,x2:x,y2:L,labelX:M,labelY:I,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 L,M,I=0,R=d(p)/2;if(m)L=t.left+(t.right-t.left)/2,M="bottom"===n.position?t.bottom-R-x.bottom:t.top+R+x.top;else{var D="left"===n.position;L=D?t.left+R+x.top:t.right-R-x.top,M=t.top+(t.bottom-t.top)/2,I=D?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(L,M),i.rotate(I),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,B=t.top,F=t.bottom+C,U=o.aliasPixel(i.lineWidth);m?(B=F="top"===n.position?t.bottom:t.top,B+=U,F+=U):(q=j="left"===n.position?t.right:t.left,q+=U,j+=U),i.beginPath(),i.moveTo(q,B),i.lineTo(j,F),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 L(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 M(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 I(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=L(r._el._model,r.model(),o),i._box.update(a,o,r.rotation()));return M(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&&I(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=L(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,B="$datalabels";function F(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[B]._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[B],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[B],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[B]={_actives:[]}},beforeUpdate:function(e){var t=e[B];t._listened=!1,t._listeners={},t._datasets=[],t._labels=[]},afterDatasetUpdate:function(e,t,n){var r,i,o,a=t.index,s=e[B],u=s._datasets[a]=[],l=e.isDatasetVisible(a),c=e.data.datasets[a],d=F(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[B]=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[B]._labels=R.prepare(e[B]._datasets,t)},afterDatasetsDraw:function(e){R.draw(e,e[B]._labels)},beforeEvent:function(e,t){if(e[B]._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[B],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][B])&&(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){t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var r={},i=t||{},o=e.split(/; */),a=i.decode||n;return o.forEach((function(e){var t=e.indexOf("=");if(!(t<0)){var n=e.substr(0,t).trim(),i=e.substr(++t,e.length).trim();'"'==i[0]&&(i=i.slice(1,-1)),null==r[n]&&(r[n]=function(e,t){try{return t(e)}catch(t){return e}}(i,a))}})),r},t.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if(!i.test(e))throw new TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw new TypeError("argument val is invalid");var u=[e+"="+s];if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l))throw new Error("maxAge should be a Number");u.push("Max-Age="+l)}if(o.domain){if(!i.test(o.domain))throw new TypeError("option domain is invalid");u.push("Domain="+o.domain)}if(o.path){if(!i.test(o.path))throw new TypeError("option path is invalid");u.push("Path="+o.path)}o.expires&&u.push("Expires="+o.expires.toUTCString());o.httpOnly&&u.push("HttpOnly");o.secure&&u.push("Secure");return u.join("; ")};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},95299:function(e,t,n){var r=n(27698);e.exports=r},83450:function(e,t,n){var r=n(83363);e.exports=r},66820:function(e,t,n){var r=n(56243);e.exports=r},90093:function(e,t,n){var r=n(28196);e.exports=r},82772:function(e,t,n){var r=n(8065);e.exports=r},50188:function(e,t,n){var r=n(95247);e.exports=r},83354:function(e,t,n){var r=n(57448);e.exports=r},17601:function(e,t,n){var r=n(69743);e.exports=r},3688:function(e,t,n){var r=n(11955);e.exports=r},78212:function(e,t,n){var r=n(96064);e.exports=r},39641:function(e,t,n){var r=n(76285);e.exports=r},55712:function(e,t,n){var r=n(33778);e.exports=r},15684:function(e,t,n){var r=n(19373);e.exports=r},41147:function(e,t,n){var r=n(73819);e.exports=r},12548:function(e,t,n){var r=n(61798);e.exports=r},62089:function(e,t,n){var r=n(88906);e.exports=r},99826:function(e,t,n){var r=n(28427);e.exports=r},84234:function(e,t,n){var r=n(82073);e.exports=r},7328:function(e,t,n){var r=n(62856);e.exports=r},75598:function(e,t,n){var r=n(35178);e.exports=r},96279:function(e,t,n){var r=n(76361);e.exports=r},79401:function(e,t,n){var r=n(62908);e.exports=r},57679:function(e,t,n){var r=n(8933);e.exports=r},92182:function(e,t,n){var r=n(15868);e.exports=r},58168:function(e,t,n){var r=n(76258);e.exports=r},83592:function(e,t,n){var r=n(42119);e.exports=r},65362:function(e,t,n){var r=n(63383);e.exports=r},32271:function(e,t,n){var r=n(14471);e.exports=r},43536:function(e,t,n){var r=n(41910);e.exports=r},37331:function(e,t,n){var r=n(79427);e.exports=r},68522:function(e,t,n){var r=n(62857);e.exports=r},73151:function(e,t,n){var r=n(9534);e.exports=r},99565:function(e,t,n){var r=n(96507);e.exports=r},82802:function(e,t,n){var r=n(15703);e.exports=r},45012:function(e,t,n){var r=n(23059);e.exports=r},78690:function(e,t,n){var r=n(16670);e.exports=r},1610:function(e,t,n){var r=n(47795);e.exports=r},25626:function(e,t,n){var r=n(27460);e.exports=r},84670:function(e,t,n){var r=n(61895);e.exports=r},41285:function(e,t,n){var r=n(18254);e.exports=r},84610:function(e,t,n){var r=n(34507);e.exports=r},80281:function(e,t,n){var r=n(92547);e.exports=r},40031:function(e,t,n){var r=n(46509);e.exports=r},44295:function(e,t,n){var r=n(73926);e.exports=r},47877:function(e,t,n){var r=n(57641);e.exports=r},91718:function(e,t,n){var r=n(72010);e.exports=r},54493:function(e,t,n){n(77971),n(53242);var r=n(54058);e.exports=r.Array.from},24034:function(e,t,n){n(92737);var r=n(54058);e.exports=r.Array.isArray},15367:function(e,t,n){n(85906);var r=n(35703);e.exports=r("Array").concat},12710:function(e,t,n){n(66274),n(55967);var r=n(35703);e.exports=r("Array").entries},6172:function(e,t,n){n(80290);var r=n(35703);e.exports=r("Array").fill},62383:function(e,t,n){n(21501);var r=n(35703);e.exports=r("Array").filter},60009:function(e,t,n){n(44929);var r=n(35703);e.exports=r("Array").findIndex},17671:function(e,t,n){n(80833);var r=n(35703);e.exports=r("Array").find},80991:function(e,t,n){n(97690);var r=n(35703);e.exports=r("Array").includes},8700:function(e,t,n){n(99076);var r=n(35703);e.exports=r("Array").indexOf},95909:function(e,t,n){n(66274),n(55967);var r=n(35703);e.exports=r("Array").keys},23866:function(e,t,n){n(68787);var r=n(35703);e.exports=r("Array").map},91876:function(e,t,n){n(11490);var r=n(35703);e.exports=r("Array").reverse},24900:function(e,t,n){n(60186);var r=n(35703);e.exports=r("Array").slice},2948:function(e,t,n){n(4115);var r=n(35703);e.exports=r("Array").sort},14423:function(e,t,n){n(66274),n(55967);var r=n(35703);e.exports=r("Array").values},27700:function(e,t,n){n(73381);var r=n(35703);e.exports=r("Function").bind},13830:function(e,t,n){n(66274),n(77971);var r=n(22902);e.exports=r},16246:function(e,t,n){var r=n(7046),i=n(27700),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||r(o,e)&&t===o.bind?i:t}},56043:function(e,t,n){var r=n(7046),i=n(15367),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||r(o,e)&&t===o.concat?i:t}},1727:function(e,t,n){var r=n(7046),i=n(17796),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}},80446:function(e,t,n){var r=n(7046),i=n(6172),o=Array.prototype;e.exports=function(e){var t=e.fill;return e===o||r(o,e)&&t===o.fill?i:t}},2480:function(e,t,n){var r=n(7046),i=n(62383),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||r(o,e)&&t===o.filter?i:t}},7147:function(e,t,n){var r=n(7046),i=n(60009),o=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===o||r(o,e)&&t===o.findIndex?i:t}},32236:function(e,t,n){var r=n(7046),i=n(17671),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||r(o,e)&&t===o.find?i:t}},58557:function(e,t,n){var r=n(7046),i=n(80991),o=n(21631),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}},34570:function(e,t,n){var r=n(7046),i=n(8700),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||r(o,e)&&t===o.indexOf?i:t}},88287:function(e,t,n){var r=n(7046),i=n(23866),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||r(o,e)&&t===o.map?i:t}},51337:function(e,t,n){var r=n(7046),i=n(49335),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}},91060:function(e,t,n){var r=n(7046),i=n(91876),o=Array.prototype;e.exports=function(e){var t=e.reverse;return e===o||r(o,e)&&t===o.reverse?i:t}},69601:function(e,t,n){var r=n(7046),i=n(24900),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||r(o,e)&&t===o.slice?i:t}},69355:function(e,t,n){var r=n(7046),i=n(2948),o=Array.prototype;e.exports=function(e){var t=e.sort;return e===o||r(o,e)&&t===o.sort?i:t}},71611:function(e,t,n){var r=n(7046),i=n(3269),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}},62774:function(e,t,n){var r=n(7046),i=n(13348),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}},84426:function(e,t,n){n(32619);var r=n(54058),i=n(79730);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return i(r.JSON.stringify,null,arguments)}},91018:function(e,t,n){n(66274),n(37501),n(55967),n(77971);var r=n(54058);e.exports=r.Map},70063:function(e,t,n){n(89622);var r=n(54058);e.exports=r.Number.isNaN},4723:function(e,t,n){n(71967),e.exports=9007199254740991},45999:function(e,t,n){n(49221);var r=n(54058);e.exports=r.Object.assign},35254:function(e,t,n){n(53882);var r=n(54058).Object;e.exports=function(e,t){return r.create(e,t)}},48171:function(e,t,n){n(86450);var r=n(54058).Object,i=e.exports=function(e,t,n){return r.defineProperty(e,t,n)};r.defineProperty.sham&&(i.sham=!0)},286:function(e,t,n){n(46924);var r=n(54058).Object,i=e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)};r.getOwnPropertyDescriptor.sham&&(i.sham=!0)},92766:function(e,t,n){n(88482);var r=n(54058);e.exports=r.Object.getOwnPropertyDescriptors},30498:function(e,t,n){n(35824);var r=n(54058);e.exports=r.Object.getOwnPropertySymbols},13966:function(e,t,n){n(17405);var r=n(54058);e.exports=r.Object.getPrototypeOf},89076:function(e,t,n){n(98663);var r=n(54058);e.exports=r.Object.is},48494:function(e,t,n){n(21724);var r=n(54058);e.exports=r.Object.keys},3065:function(e,t,n){n(90108);var r=n(54058);e.exports=r.Object.setPrototypeOf},98430:function(e,t,n){n(26614);var r=n(54058);e.exports=r.Object.values},52956:function(e,t,n){n(47627),n(66274),n(55967),n(98881),n(4560),n(91302),n(44349),n(77971);var r=n(54058);e.exports=r.Promise},14983:function(e,t,n){n(7453);var r=n(54058);e.exports=r.Reflect.construct},37095:function(e,t,n){n(42355);var r=n(54058);e.exports=r.Reflect.get},17796:function(e,t,n){n(1293);var r=n(35703);e.exports=r("String").endsWith},21631:function(e,t,n){n(11035);var r=n(35703);e.exports=r("String").includes},49335:function(e,t,n){n(92075);var r=n(35703);e.exports=r("String").padStart},3269:function(e,t,n){n(94761);var r=n(35703);e.exports=r("String").startsWith},13348:function(e,t,n){n(57398);var r=n(35703);e.exports=r("String").trim},22727:function(e,t,n){n(35824);var r=n(54058);e.exports=r.Symbol.for},57473:function(e,t,n){n(85906),n(55967),n(35824),n(8555),n(52615),n(21732),n(35903),n(1825),n(28394),n(45915),n(61766),n(62737),n(89911),n(74315),n(63131),n(64714),n(70659),n(69120),n(79413),n(1502);var r=n(54058);e.exports=r.Symbol},24227:function(e,t,n){n(66274),n(55967),n(77971),n(1825);var r=n(11477);e.exports=r.f("iterator")},32304:function(e,t,n){n(66274),n(55967),n(54334);var r=n(54058);e.exports=r.WeakMap},27385:function(e,t,n){e.exports=n(64225)},81522:function(e,t,n){e.exports=n(30382)},32209:function(e,t,n){e.exports=n(40478)},14122:function(e,t,n){e.exports=n(58252)},21086:function(e,t,n){e.exports=n(90898)},47895:function(e,t,n){e.exports=n(78675)},27759:function(e,t,n){e.exports=n(98022)},32726:function(e,t,n){e.exports=n(24851)},44442:function(e,t,n){e.exports=n(51675)},57478:function(e,t,n){e.exports=n(46660)},2636:function(e,t,n){e.exports=n(82535)},11408:function(e,t,n){e.exports=n(88255)},69447:function(e,t,n){e.exports=n(628)},56211:function(e,t,n){e.exports=n(29834)},86942:function(e,t,n){e.exports=n(88698)},66594:function(e,t,n){e.exports=n(56236)},17579:function(e,t,n){e.exports=n(33294)},81493:function(e,t,n){e.exports=n(97088)},72858:function(e,t,n){e.exports=n(8391)},75319:function(e,t,n){e.exports=n(28744)},75425:function(e,t,n){e.exports=n(36384)},99465:function(e,t,n){e.exports=n(63249)},52740:function(e,t,n){e.exports=n(59821)},86672:function(e,t,n){e.exports=n(44574)},40691:function(e,t,n){e.exports=n(6706)},75632:function(e,t,n){e.exports=n(12237)},60269:function(e,t,n){e.exports=n(76936)},76094:function(e,t,n){e.exports=n(26467)},73685:function(e,t,n){e.exports=n(80621)},27533:function(e,t,n){e.exports=n(48403)},39057:function(e,t,n){e.exports=n(82108)},84710:function(e,t,n){e.exports=n(14058)},74303:function(e,t,n){e.exports=n(28688)},9673:function(e,t,n){e.exports=n(59078)},93799:function(e,t,n){e.exports=n(92093)},55122:function(e,t,n){e.exports=n(5383)},54437:function(e,t,n){e.exports=n(49360)},29531:function(e,t,n){e.exports=n(32050)},10856:function(e,t,n){e.exports=n(46733)},31524:function(e,t,n){e.exports=n(82432)},55174:function(e,t,n){e.exports=n(71955)},86600:function(e,t,n){e.exports=n(52201)},9759:function(e,t,n){e.exports=n(27398)},52236:function(e,t,n){e.exports=n(12232)},87740:function(e,t,n){e.exports=n(53085)},58714:function(e,t,n){e.exports=n(93463)},64225:function(e,t,n){var r=n(95299);e.exports=r},30382:function(e,t,n){var r=n(83450);e.exports=r},40478:function(e,t,n){var r=n(66820);e.exports=r},58252:function(e,t,n){var r=n(90093);e.exports=r},90898:function(e,t,n){var r=n(82772);e.exports=r},78675:function(e,t,n){var r=n(50188);e.exports=r},98022:function(e,t,n){var r=n(83354);e.exports=r},24851:function(e,t,n){var r=n(17601);e.exports=r},51675:function(e,t,n){var r=n(3688);e.exports=r},46660:function(e,t,n){var r=n(78212);e.exports=r},82535:function(e,t,n){var r=n(39641);e.exports=r},88255:function(e,t,n){var r=n(55712);e.exports=r},628:function(e,t,n){var r=n(15684);e.exports=r},29834:function(e,t,n){var r=n(41147);e.exports=r},88698:function(e,t,n){var r=n(12548);e.exports=r},56236:function(e,t,n){var r=n(62089);e.exports=r},33294:function(e,t,n){var r=n(99826);e.exports=r},97088:function(e,t,n){var r=n(84234);e.exports=r},8391:function(e,t,n){var r=n(7328);e.exports=r},28744:function(e,t,n){var r=n(75598);e.exports=r},36384:function(e,t,n){var r=n(96279);e.exports=r},63249:function(e,t,n){var r=n(79401);e.exports=r},59821:function(e,t,n){var r=n(57679);e.exports=r},44574:function(e,t,n){var r=n(92182);n(52453),n(32523),n(66591),n(55121),n(14751),n(52407),n(48580),n(27281),n(36507),n(93647),n(47641),n(66306),n(27693),n(8),n(48514),n(8212),n(89642),n(78485),n(42256),n(68826),e.exports=r},6706:function(e,t,n){var r=n(58168);e.exports=r},12237:function(e,t,n){var r=n(83592);e.exports=r},76936:function(e,t,n){var r=n(65362);e.exports=r},26467:function(e,t,n){var r=n(32271);e.exports=r},80621:function(e,t,n){var r=n(43536);e.exports=r},48403:function(e,t,n){var r=n(37331);e.exports=r},82108:function(e,t,n){var r=n(68522);e.exports=r},14058:function(e,t,n){var r=n(73151);e.exports=r},28688:function(e,t,n){var r=n(99565);e.exports=r},59078:function(e,t,n){var r=n(82802);e.exports=r},92093:function(e,t,n){var r=n(45012);e.exports=r},5383:function(e,t,n){var r=n(78690);e.exports=r},49360:function(e,t,n){var r=n(1610);e.exports=r},32050:function(e,t,n){var r=n(25626);n(89731),n(55708),n(30014),n(88731),e.exports=r},46733:function(e,t,n){var r=n(84670);e.exports=r},82432:function(e,t,n){var r=n(41285);e.exports=r},71955:function(e,t,n){var r=n(84610);e.exports=r},52201:function(e,t,n){var r=n(80281);n(28783),n(43975),n(65799),n(45414),n(46774),n(80620),n(36172),e.exports=r},27398:function(e,t,n){var r=n(40031);e.exports=r},12232:function(e,t,n){var r=n(44295);e.exports=r},53085:function(e,t,n){var r=n(47877);e.exports=r},93463:function(e,t,n){var r=n(91718);n(77971),n(86442),n(26207),n(13215),n(4629),n(4055),e.exports=r},24883:function(e,t,n){var r=n(21899),i=n(57475),o=n(69826),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a function")}},174:function(e,t,n){var r=n(21899),i=n(24284),o=n(69826),a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not a constructor")}},11851:function(e,t,n){var r=n(21899),i=n(57475),o=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw a("Can't set "+o(e)+" as a prototype")}},18479:function(e){e.exports=function(){}},5743:function(e,t,n){var r=n(21899),i=n(7046),o=r.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw o("Incorrect invocation")}},96059:function(e,t,n){var r=n(21899),i=n(10941),o=r.String,a=r.TypeError;e.exports=function(e){if(i(e))return e;throw a(o(e)+" is not an object")}},97135:function(e,t,n){var r=n(95981);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},91860:function(e,t,n){"use strict";var r=n(89678),i=n(59413),o=n(10623);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}},11354:function(e,t,n){"use strict";var r=n(21899),i=n(86843),o=n(78834),a=n(89678),s=n(75196),u=n(6782),l=n(24284),c=n(10623),d=n(55449),f=n(53476),p=n(22902),h=r.Array;e.exports=function(e){var t=a(e),n=l(this),r=arguments.length,m=r>1?arguments[1]:void 0,v=void 0!==m;v&&(m=i(m,r>2?arguments[2]:void 0));var g,y,b,_,w,k,E=p(t),x=0;if(!E||this==h&&u(E))for(g=c(t),y=n?new this(g):h(g);g>x;x++)k=v?m(t[x],x):t[x],d(y,x,k);else for(w=(_=f(t,E)).next,y=n?new this:[];!(b=o(w,_)).done;x++)k=v?s(_,m,[b.value,x],!0):b.value,d(y,x,k);return y.length=x,y}},31692:function(e,t,n){var r=n(74529),i=n(59413),o=n(10623),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)}},3610:function(e,t,n){var r=n(86843),i=n(95329),o=n(37026),a=n(89678),s=n(10623),u=n(64692),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)}},50568:function(e,t,n){var r=n(95981),i=n(99813),o=n(53385),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}))}},34194:function(e,t,n){"use strict";var r=n(95981);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},15790:function(e,t,n){var r=n(21899),i=n(59413),o=n(10623),a=n(55449),s=r.Array,u=Math.max;e.exports=function(e,t,n){for(var r=o(e),l=i(t,r),c=i(void 0===n?r:n,r),d=s(u(c-l,0)),f=0;l<c;l++,f++)a(d,f,e[l]);return d.length=f,d}},93765:function(e,t,n){var r=n(95329);e.exports=r([].slice)},61388:function(e,t,n){var r=n(15790),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},5693:function(e,t,n){var r=n(21899),i=n(1052),o=n(24284),a=n(10941),s=n(99813)("species"),u=r.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(o(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},64692:function(e,t,n){var r=n(5693);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},75196:function(e,t,n){var r=n(96059),i=n(7609);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){i(e,"throw",t)}}},21385:function(e,t,n){var r=n(99813)("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}},82532:function(e,t,n){var r=n(95329),i=r({}.toString),o=r("".slice);e.exports=function(e){return o(i(e),8,-1)}},9697:function(e,t,n){var r=n(21899),i=n(22885),o=n(57475),a=n(82532),s=n(99813)("toStringTag"),u=r.Object,l="Arguments"==a(function(){return arguments}());e.exports=i?a: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=u(e),s))?n:l?a(t):"Object"==(r=a(t))&&o(t.callee)?"Arguments":r}},38694:function(e,t,n){var r=n(95329),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}},28984:function(e,t,n){"use strict";var r=n(78834),i=n(24883),o=n(96059);e.exports=function(){for(var e,t=o(this),n=i(t.delete),a=!0,s=0,u=arguments.length;s<u;s++)e=r(n,t,arguments[s]),a=a&&e;return!!a}},83590:function(e,t,n){"use strict";var r=n(86843),i=n(78834),o=n(24883),a=n(174),s=n(93091),u=[].push;e.exports=function(e){var t,n,l,c,d=arguments.length,f=d>1?arguments[1]:void 0;return a(this),(t=void 0!==f)&&o(f),null==e?new this:(n=[],t?(l=0,c=r(f,d>2?arguments[2]:void 0),s(e,(function(e){i(u,n,c(e,l++))}))):s(e,u,{that:n}),new this(n))}},45226:function(e,t,n){"use strict";var r=n(93765);e.exports=function(){return new this(r(arguments))}},85616:function(e,t,n){"use strict";var r=n(65988).f,i=n(29290),o=n(87524),a=n(86843),s=n(5743),u=n(93091),l=n(47771),c=n(94431),d=n(55746),f=n(21647).fastKey,p=n(45402),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var c=e((function(e,r){s(e,p),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],{that:e,AS_ENTRIES:n})})),p=c.prototype,v=m(t),g=function(e,t,n){var r,i,o=v(e),a=y(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},y=function(e,t){var n,r=v(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(p,{clear:function(){for(var e=v(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=v(t),r=y(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=v(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!!y(this,e)}}),o(p,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),d&&r(p,"size",{get:function(){return v(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)}}},8850:function(e,t,n){"use strict";var r=n(95329),i=n(87524),o=n(21647).getWeakData,a=n(96059),s=n(10941),u=n(5743),l=n(93091),c=n(3610),d=n(90953),f=n(45402),p=f.set,h=f.getterFor,m=c.find,v=c.findIndex,g=r([].splice),y=0,b=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},w=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var n=w(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&g(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var c=e((function(e,i){u(e,f),p(e,{type:t,id:y++,frozen:void 0}),null!=i&&l(i,e[r],{that:e,AS_ENTRIES:n})})),f=c.prototype,m=h(t),v=function(e,t,n){var r=m(e),i=o(a(t),!0);return!0===i?b(r).set(t,n):i[r.id]=n,e};return i(f,{delete:function(e){var t=m(this);if(!s(e))return!1;var n=o(e);return!0===n?b(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!s(e))return!1;var n=o(e);return!0===n?b(t).has(e):n&&d(n,t.id)}}),i(f,n?{get:function(e){var t=m(this);if(s(e)){var n=o(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),c}}},24683:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(21647),a=n(95981),s=n(32029),u=n(93091),l=n(5743),c=n(57475),d=n(10941),f=n(90904),p=n(65988).f,h=n(3610).forEach,m=n(55746),v=n(45402),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}},23489:function(e,t,n){var r=n(90953),i=n(80035),o=n(49677),a=n(65988);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))}}},67772:function(e,t,n){var r=n(99813)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},64160:function(e,t,n){var r=n(95981);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},31046:function(e,t,n){"use strict";var r=n(35143).IteratorPrototype,i=n(29290),o=n(31887),a=n(90904),s=n(12077),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}},32029:function(e,t,n){var r=n(55746),i=n(65988),o=n(31887);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},31887:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},55449:function(e,t,n){"use strict";var r=n(83894),i=n(65988),o=n(31887);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},47771:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(82529),a=n(79417),s=n(57475),u=n(31046),l=n(249),c=n(88929),d=n(90904),f=n(32029),p=n(99754),h=n(99813),m=n(12077),v=n(35143),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 M)return M[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",L=!1,M=e.prototype,I=M[w]||M["@@iterator"]||h&&M[h],R=!_&&I||N(h),D="Array"==t&&M.entries||I;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&&I&&I.name!==E&&(!o&&y?f(M,"name",E):(L=!0,R=function(){return i(I,this)})),h)if(A={values:N(E),keys:v?R:N(k),entries:N(x)},T)for(O in A)(_||L||!(O in M))&&p(M,O,A[O]);else r({target:t,proto:!0,forced:_||L},A);return o&&!T||M[w]===R||p(M,w,R,{name:h}),m[t]=R,A}},66349:function(e,t,n){var r=n(54058),i=n(90953),o=n(11477),a=n(65988).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},55746:function(e,t,n){var r=n(95981);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},61333:function(e,t,n){var r=n(21899),i=n(10941),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},63281: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}},34342:function(e,t,n){var r=n(2861).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},23321:function(e){e.exports="object"==typeof window&&"object"!=typeof Deno},81046:function(e,t,n){var r=n(2861);e.exports=/MSIE|Trident/.test(r)},4470:function(e,t,n){var r=n(2861),i=n(21899);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==i.Pebble},22749:function(e,t,n){var r=n(2861);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},6049:function(e,t,n){var r=n(82532),i=n(21899);e.exports="process"==r(i.process)},58045:function(e,t,n){var r=n(2861);e.exports=/web0s(?!.*chrome)/i.test(r)},2861:function(e,t,n){var r=n(626);e.exports=r("navigator","userAgent")||""},53385:function(e,t,n){var r,i,o=n(21899),a=n(2861),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},18938:function(e,t,n){var r=n(2861).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},35703:function(e,t,n){var r=n(54058);e.exports=function(e){return r[e+"Prototype"]}},56759:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},18780:function(e,t,n){var r=n(95981),i=n(31887);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},76887:function(e,t,n){"use strict";var r=n(21899),i=n(79730),o=n(95329),a=n(57475),s=n(49677).f,u=n(37252),l=n(54058),c=n(86843),d=n(32029),f=n(90953),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,_=e.target,w=e.global,k=e.stat,E=e.proto,x=w?r:k?r[_]:(r[_]||{}).prototype,S=w?l:l[_]||d(l,_,{})[_],T=S.prototype;for(h in t)n=!u(w?h:_+(k?".":"#")+h,e.forced)&&x&&f(x,h),v=S[h],n&&(g=e.noTargetGet?(b=s(x,h))&&b.value:x[h]),m=n&&g?g:t[h],n&&typeof v==typeof m||(y=e.bind&&n?c(m,r):e.wrap&&n?p(m):E&&a(m)?o(m):m,(e.sham||m&&m.sham||v&&v.sham)&&d(y,"sham",!0),d(S,h,y),E&&(f(l,i=_+"Prototype")||d(l,i,{}),d(l[i],h,m),e.real&&T&&!T[h]&&d(T,h,m)))}},95981:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},45602:function(e,t,n){var r=n(95981);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},79730:function(e,t,n){var r=n(18285),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)})},86843:function(e,t,n){var r=n(95329),i=n(24883),o=n(18285),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)}}},18285:function(e,t,n){var r=n(95981);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},98308:function(e,t,n){"use strict";var r=n(21899),i=n(95329),o=n(24883),a=n(10941),s=n(90953),u=n(93765),l=n(18285),c=r.Function,d=i([].concat),f=i([].join),p={},h=function(e,t,n){if(!s(p,t)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";p[t]=c("C,a","return new C("+f(r,",")+")")}return p[t](e,n)};e.exports=l?c.bind:function(e){var t=o(this),n=t.prototype,r=u(arguments,1),i=function(){var n=d(r,u(arguments));return this instanceof i?h(t,n.length,n):t.apply(e,n)};return a(n)&&(i.prototype=n),i}},78834:function(e,t,n){var r=n(18285),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},79417:function(e,t,n){var r=n(55746),i=n(90953),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}},95329:function(e,t,n){var r=n(18285),i=Function.prototype,o=i.bind,a=i.call,s=r&&o.bind(a,a);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},626:function(e,t,n){var r=n(54058),i=n(21899),o=n(57475),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]}},22902:function(e,t,n){var r=n(9697),i=n(14229),o=n(12077),a=n(99813)("iterator");e.exports=function(e){if(null!=e)return i(e,a)||i(e,"@@iterator")||o[r(e)]}},53476:function(e,t,n){var r=n(21899),i=n(78834),o=n(24883),a=n(96059),s=n(69826),u=n(22902),l=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return a(i(n,e));throw l(s(e)+" is not iterable")}},79993:function(e,t,n){var r=n(53476);e.exports=r},14229:function(e,t,n){var r=n(24883);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},21899: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")()},90953:function(e,t,n){var r=n(95329),i=n(89678),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},27748:function(e){e.exports={}},34845:function(e,t,n){var r=n(21899);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},15463:function(e,t,n){var r=n(626);e.exports=r("document","documentElement")},2840:function(e,t,n){var r=n(55746),i=n(95981),o=n(61333);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},37026:function(e,t,n){var r=n(21899),i=n(95329),o=n(95981),a=n(82532),s=r.Object,u=i("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},81302:function(e,t,n){var r=n(95329),i=n(57475),o=n(63030),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},53794:function(e,t,n){var r=n(10941),i=n(32029);e.exports=function(e,t){r(t)&&"cause"in t&&i(e,"cause",t.cause)}},21647:function(e,t,n){var r=n(76887),i=n(95329),o=n(27748),a=n(10941),s=n(90953),u=n(65988).f,l=n(10946),c=n(684),d=n(91584),f=n(99418),p=n(45602),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},45402:function(e,t,n){var r,i,o,a=n(38019),s=n(21899),u=n(95329),l=n(10941),c=n(32029),d=n(90953),f=n(63030),p=n(44262),h=n(27748),m="Object already initialized",v=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g),b=u(y.get),_=u(y.has),w=u(y.set);r=function(e,t){if(_(y,e))throw new v(m);return t.facade=e,w(y,e,t),t},i=function(e){return b(y,e)||{}},o=function(e){return _(y,e)}}else{var k=p("state");h[k]=!0,r=function(e,t){if(d(e,k))throw new v(m);return t.facade=e,c(e,k,t),t},i=function(e){return d(e,k)?e[k]:{}},o=function(e){return d(e,k)}}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(!l(t)||(n=i(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},6782:function(e,t,n){var r=n(99813),i=n(12077),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},1052:function(e,t,n){var r=n(82532);e.exports=Array.isArray||function(e){return"Array"==r(e)}},57475:function(e){e.exports=function(e){return"function"==typeof e}},24284:function(e,t,n){var r=n(95329),i=n(95981),o=n(57475),a=n(9697),s=n(626),u=n(81302),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},77040:function(e,t,n){var r=n(90953);e.exports=function(e){return void 0!==e&&(r(e,"value")||r(e,"writable"))}},37252:function(e,t,n){var r=n(95981),i=n(57475),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},10941:function(e,t,n){var r=n(57475);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},82529:function(e){e.exports=!0},60685:function(e,t,n){var r=n(10941),i=n(82532),o=n(99813)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},56664:function(e,t,n){var r=n(21899),i=n(626),o=n(57475),a=n(7046),s=n(32302),u=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&a(t.prototype,u(e))}},93091:function(e,t,n){var r=n(21899),i=n(86843),o=n(78834),a=n(96059),s=n(69826),u=n(6782),l=n(10623),c=n(7046),d=n(53476),f=n(22902),p=n(7609),h=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},v=m.prototype;e.exports=function(e,t,n){var r,g,y,b,_,w,k,E=n&&n.that,x=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),C=i(t,E),A=function(e){return r&&p(r,"normal",e),new m(!0,e)},O=function(e){return x?(a(e),T?C(e[0],e[1],A):C(e[0],e[1])):T?C(e,A):C(e)};if(S)r=e;else{if(!(g=f(e)))throw h(s(e)+" is not iterable");if(u(g)){for(y=0,b=l(e);b>y;y++)if((_=O(e[y]))&&c(v,_))return _;return new m(!1)}r=d(e,g)}for(w=r.next;!(k=o(w,r)).done;){try{_=O(k.value)}catch(e){p(r,"throw",e)}if("object"==typeof _&&_&&c(v,_))return _}return new m(!1)}},7609:function(e,t,n){var r=n(78834),i=n(96059),o=n(14229);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}},35143:function(e,t,n){"use strict";var r,i,o,a=n(95981),s=n(57475),u=n(29290),l=n(249),c=n(99754),d=n(99813),f=n(82529),p=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(r=i):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=u(r)),s(r[p])||c(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},12077:function(e){e.exports={}},10623:function(e,t,n){var r=n(43057);e.exports=function(e){return r(e.length)}},48721:function(e,t,n){"use strict";var r=n(78834),i=n(24883),o=n(96059);e.exports=function(e,t){var n=o(this),a=i(n.get),s=i(n.has),u=i(n.set),l=r(s,n,e)&&"update"in t?t.update(r(a,n,e),e,n):t.insert(e,n);return r(u,n,e,l),l}},20716:function(e,t,n){"use strict";var r=n(21899),i=n(78834),o=n(24883),a=n(57475),s=n(96059),u=r.TypeError;e.exports=function(e,t){var n,r=s(this),l=o(r.get),c=o(r.has),d=o(r.set),f=arguments.length>2?arguments[2]:void 0;if(!a(t)&&!a(f))throw u("At least one callback required");return i(c,r,e)?(n=i(l,r,e),a(t)&&(n=t(n),i(d,r,e,n))):a(f)&&(n=f(),i(d,r,e,n)),n}},66132:function(e,t,n){var r,i,o,a,s,u,l,c,d=n(21899),f=n(86843),p=n(49677).f,h=n(42941).set,m=n(22749),v=n(4470),g=n(58045),y=n(6049),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}},25366:function(e,t,n){var r=n(72497);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},72497:function(e,t,n){var r=n(53385),i=n(95981);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},28468:function(e,t,n){var r=n(95981),i=n(99813),o=n(82529),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}))},38019:function(e,t,n){var r=n(21899),i=n(57475),o=n(81302),a=r.WeakMap;e.exports=i(a)&&/native code/.test(o(a))},69520:function(e,t,n){"use strict";var r=n(24883),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)}},14649:function(e,t,n){var r=n(85803);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},70344:function(e,t,n){var r=n(21899),i=n(60685),o=r.TypeError;e.exports=function(e){if(i(e))throw o("The method doesn't accept regular expressions");return e}},24420:function(e,t,n){"use strict";var r=n(55746),i=n(95329),o=n(78834),a=n(95981),s=n(14771),u=n(87857),l=n(36760),c=n(89678),d=n(37026),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},29290:function(e,t,n){var r,i=n(96059),o=n(59938),a=n(56759),s=n(27748),u=n(15463),l=n(61333),c=n(44262),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)}},59938:function(e,t,n){var r=n(55746),i=n(83937),o=n(65988),a=n(96059),s=n(74529),u=n(14771);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}},65988:function(e,t,n){var r=n(21899),i=n(55746),o=n(2840),a=n(83937),s=n(96059),u=n(83894),l=r.TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",h="writable";t.f=i?a?function(e,t,n){if(s(e),t=u(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n.writable){var r=d(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:p in n?n.configurable:r.configurable,enumerable:f in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=u(t),s(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},49677:function(e,t,n){var r=n(55746),i=n(78834),o=n(36760),a=n(31887),s=n(74529),u=n(83894),l=n(90953),c=n(2840),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])}},684:function(e,t,n){var r=n(82532),i=n(74529),o=n(10946).f,a=n(15790),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))}},10946:function(e,t,n){var r=n(55629),i=n(56759).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},87857:function(e,t){t.f=Object.getOwnPropertySymbols},249:function(e,t,n){var r=n(21899),i=n(90953),o=n(57475),a=n(89678),s=n(44262),u=n(64160),l=s("IE_PROTO"),c=r.Object,d=c.prototype;e.exports=u?c.getPrototypeOf:function(e){var t=a(e);if(i(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?d:null}},91584:function(e,t,n){var r=n(95981),i=n(10941),o=n(82532),a=n(97135),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},7046:function(e,t,n){var r=n(95329);e.exports=r({}.isPrototypeOf)},55629:function(e,t,n){var r=n(95329),i=n(90953),o=n(74529),a=n(31692).indexOf,s=n(27748),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}},14771:function(e,t,n){var r=n(55629),i=n(56759);e.exports=Object.keys||function(e){return r(e,i)}},36760: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},88929:function(e,t,n){var r=n(95329),i=n(96059),o=n(11851);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)},88810:function(e,t,n){var r=n(55746),i=n(95329),o=n(14771),a=n(74529),s=i(n(36760).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)}},95623:function(e,t,n){"use strict";var r=n(22885),i=n(9697);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},39811:function(e,t,n){var r=n(21899),i=n(78834),o=n(57475),a=n(10941),s=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&o(n=e.toString)&&!a(r=i(n,e)))return r;if(o(n=e.valueOf)&&!a(r=i(n,e)))return r;if("string"!==t&&o(n=e.toString)&&!a(r=i(n,e)))return r;throw s("Can't convert object to primitive value")}},80035:function(e,t,n){var r=n(626),i=n(95329),o=n(10946),a=n(87857),s=n(96059),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}},54058:function(e){e.exports={}},40002:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},67742:function(e,t,n){var r=n(21899),i=n(6991),o=n(57475),a=n(37252),s=n(81302),u=n(99813),l=n(23321),c=n(82529),d=n(53385),f=i&&i.prototype,p=u("species"),h=!1,m=o(r.PromiseRejectionEvent),v=a("Promise",(function(){var e=s(i),t=e!==String(i);if(!t&&66===d)return!0;if(c&&(!f.catch||!f.finally))return!0;if(d>=51&&/native code/.test(e))return!1;var n=new i((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[p]=r,!(h=n.then((function(){}))instanceof r)||!t&&l&&!m}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:m,SUBCLASSING:h}},6991:function(e,t,n){var r=n(21899);e.exports=r.Promise},56584:function(e,t,n){var r=n(96059),i=n(10941),o=n(69520);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}},31542:function(e,t,n){var r=n(6991),i=n(21385),o=n(67742).CONSTRUCTOR;e.exports=o||!i((function(e){r.all(e).then(void 0,(function(){}))}))},18397: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},87524:function(e,t,n){var r=n(99754);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}},99754:function(e,t,n){var r=n(32029);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:r(e,t,n)}},48219:function(e,t,n){var r=n(21899).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},57309:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},22518:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},4911:function(e,t,n){var r=n(21899),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}},94431:function(e,t,n){"use strict";var r=n(626),i=n(65988),o=n(99813),a=n(55746),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}})}},90904:function(e,t,n){var r=n(22885),i=n(65988).f,o=n(32029),a=n(90953),s=n(95623),u=n(99813)("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)}}},44262:function(e,t,n){var r=n(68726),i=n(99418),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},63030:function(e,t,n){var r=n(21899),i=n(4911),o="__core-js_shared__",a=r[o]||i(o,{});e.exports=a},68726:function(e,t,n){var r=n(82529),i=n(63030);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.1/LICENSE",source:"https://github.com/zloirock/core-js"})},70487:function(e,t,n){var r=n(96059),i=n(174),o=n(99813)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},64620:function(e,t,n){var r=n(95329),i=n(62435),o=n(85803),a=n(48219),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)}},4887:function(e,t,n){var r=n(2861);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},6930:function(e,t,n){var r=n(95329),i=n(43057),o=n(85803),a=n(16178),s=n(48219),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)}},73291:function(e,t,n){"use strict";var r=n(21899),i=n(95329),o=2147483647,a=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,u="Overflow: input needs wider integers to process",l=r.RangeError,c=i(s.exec),d=Math.floor,f=String.fromCharCode,p=i("".charCodeAt),h=i([].join),m=i([].push),v=i("".replace),g=i("".split),y=i("".toLowerCase),b=function(e){return e+22+75*(e<26)},_=function(e,t,n){var r=0;for(e=n?d(e/700):e>>1,e+=d(e/t);e>455;)e=d(e/35),r+=36;return d(r+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=p(e,n++);if(i>=55296&&i<=56319&&n<r){var o=p(e,n++);56320==(64512&o)?m(t,((1023&i)<<10)+(1023&o)+65536):(m(t,i),n--)}else m(t,i)}return t}(e);var n,r,i=e.length,a=128,s=0,c=72;for(n=0;n<e.length;n++)(r=e[n])<128&&m(t,f(r));var v=t.length,g=v;for(v&&m(t,"-");g<i;){var y=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<y&&(y=r);var w=g+1;if(y-a>d((o-s)/w))throw l(u);for(s+=(y-a)*w,a=y,n=0;n<e.length;n++){if((r=e[n])<a&&++s>o)throw l(u);if(r==a){for(var k=s,E=36;;){var x=E<=c?1:E>=c+26?26:E-c;if(k<x)break;var S=k-x,T=36-x;m(t,f(b(x+S%T))),k=d(S/T),E+=36}m(t,f(b(k))),c=_(s,w,g==v),s=0,g++}}s++,a++}return h(t,"")};e.exports=function(e){var t,n,r=[],i=g(v(y(e),s,"."),".");for(t=0;t<i.length;t++)n=i[t],m(r,c(a,n)?"xn--"+w(n):n);return h(r,".")}},16178:function(e,t,n){"use strict";var r=n(21899),i=n(62435),o=n(85803),a=n(48219),s=r.RangeError;e.exports=function(e){var t=o(a(this)),n="",r=i(e);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},93093:function(e,t,n){var r=n(79417).PROPER,i=n(95981),o=n(73483);e.exports=function(e){return i((function(){return!!o[e]()||"…"!=="…"[e]()||r&&o[e].name!==e}))}},74853:function(e,t,n){var r=n(95329),i=n(48219),o=n(85803),a=n(73483),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)}},29630:function(e,t,n){var r=n(78834),i=n(626),o=n(99813),a=n(99754);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)}))}},42941:function(e,t,n){var r,i,o,a,s=n(21899),u=n(79730),l=n(86843),c=n(57475),d=n(90953),f=n(95981),p=n(15463),h=n(93765),m=n(61333),v=n(18348),g=n(22749),y=n(6049),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)},L=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(L)?(i=L,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:_}},59413:function(e,t,n){var r=n(62435),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)}},74529:function(e,t,n){var r=n(37026),i=n(48219);e.exports=function(e){return r(i(e))}},62435:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},43057:function(e,t,n){var r=n(62435),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},89678:function(e,t,n){var r=n(21899),i=n(48219),o=r.Object;e.exports=function(e){return o(i(e))}},46935:function(e,t,n){var r=n(21899),i=n(78834),o=n(10941),a=n(56664),s=n(14229),u=n(39811),l=n(99813),c=r.TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!o(e)||a(e))return e;var n,r=s(e,d);if(r){if(void 0===t&&(t="default"),n=i(r,e,t),!o(n)||a(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},83894:function(e,t,n){var r=n(46935),i=n(56664);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},22885:function(e,t,n){var r={};r[n(99813)("toStringTag")]="z",e.exports="[object z]"===String(r)},85803:function(e,t,n){var r=n(21899),i=n(9697),o=r.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},69826:function(e,t,n){var r=n(21899).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},99418:function(e,t,n){var r=n(95329),i=0,o=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++i+o,36)}},32302:function(e,t,n){var r=n(72497);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},83937:function(e,t,n){var r=n(55746),i=n(95981);e.exports=r&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},18348:function(e,t,n){var r=n(21899).TypeError;e.exports=function(e,t){if(e<t)throw r("Not enough arguments");return e}},11477:function(e,t,n){var r=n(99813);t.f=r},99813:function(e,t,n){var r=n(21899),i=n(68726),o=n(90953),a=n(99418),s=n(72497),u=n(32302),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]}},73483:function(e){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},49812:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(7046),a=n(249),s=n(88929),u=n(23489),l=n(29290),c=n(32029),d=n(31887),f=n(38694),p=n(53794),h=n(93091),m=n(14649),v=n(99813),g=n(18780),y=v("toStringTag"),b=i.Error,_=[].push,w=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=o(k,this);s?n=s(new b,i?a(this):k):(n=i?this:l(k),c(n,y,"Error")),void 0!==t&&c(n,"message",m(t)),g&&c(n,"stack",f(n.stack,1)),p(n,r);var u=[];return h(e,_,{that:u}),c(n,"errors",u),n};s?s(w,b):u(w,b,{name:!0});var k=w.prototype=l(b.prototype,{constructor:d(1,w),message:d(1,""),name:d(1,"AggregateError")});r({global:!0},{AggregateError:w})},47627:function(e,t,n){n(49812)},85906:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(95981),a=n(1052),s=n(10941),u=n(89678),l=n(10623),c=n(55449),d=n(64692),f=n(50568),p=n(99813),h=n(53385),m=p("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",y=i.TypeError,b=h>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),_=f("concat"),w=function(e){if(!s(e))return!1;var t=e[m];return void 0!==t?!!t:a(e)};r({target:"Array",proto:!0,forced:!b||!_},{concat:function(e){var t,n,r,i,o,a=u(this),s=d(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(w(o=-1===t?a:arguments[t])){if(f+(i=l(o))>v)throw y(g);for(n=0;n<i;n++,f++)n in o&&c(s,f,o[n])}else{if(f>=v)throw y(g);c(s,f++,o)}return s.length=f,s}})},80290:function(e,t,n){var r=n(76887),i=n(91860),o=n(18479);r({target:"Array",proto:!0},{fill:i}),o("fill")},21501:function(e,t,n){"use strict";var r=n(76887),i=n(3610).filter;r({target:"Array",proto:!0,forced:!n(50568)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},44929:function(e,t,n){"use strict";var r=n(76887),i=n(3610).findIndex,o=n(18479),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)},80833:function(e,t,n){"use strict";var r=n(76887),i=n(3610).find,o=n(18479),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)},53242:function(e,t,n){var r=n(76887),i=n(11354);r({target:"Array",stat:!0,forced:!n(21385)((function(e){Array.from(e)}))},{from:i})},97690:function(e,t,n){"use strict";var r=n(76887),i=n(31692).includes,o=n(18479);r({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},99076:function(e,t,n){"use strict";var r=n(76887),i=n(95329),o=n(31692).indexOf,a=n(34194),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)}})},92737:function(e,t,n){n(76887)({target:"Array",stat:!0},{isArray:n(1052)})},66274:function(e,t,n){"use strict";var r=n(74529),i=n(18479),o=n(12077),a=n(45402),s=n(65988).f,u=n(47771),l=n(82529),c=n(55746),d="Array Iterator",f=a.set,p=a.getterFor(d);e.exports=u(Array,"Array",(function(e,t){f(this,{type:d,target:r(e),index:0,kind:t})}),(function(){var e=p(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");var h=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&c&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},68787:function(e,t,n){"use strict";var r=n(76887),i=n(3610).map;r({target:"Array",proto:!0,forced:!n(50568)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},11490:function(e,t,n){"use strict";var r=n(76887),i=n(95329),o=n(1052),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)}})},60186:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(1052),a=n(24284),s=n(10941),u=n(59413),l=n(10623),c=n(74529),d=n(55449),f=n(99813),p=n(50568),h=n(93765),m=p("slice"),v=f("species"),g=i.Array,y=Math.max;r({target:"Array",proto:!0,forced:!m},{slice:function(e,t){var n,r,i,f=c(this),p=l(f),m=u(e,p),b=u(void 0===t?p:t,p);if(o(f)&&(n=f.constructor,(a(n)&&(n===g||o(n.prototype))||s(n)&&null===(n=n[v]))&&(n=void 0),n===g||void 0===n))return h(f,m,b);for(r=new(void 0===n?g:n)(y(b-m,0)),i=0;m<b;m++,i++)m in f&&d(r,i,f[m]);return r.length=i,r}})},4115:function(e,t,n){"use strict";var r=n(76887),i=n(95329),o=n(24883),a=n(89678),s=n(10623),u=n(85803),l=n(95981),c=n(61388),d=n(34194),f=n(34342),p=n(81046),h=n(53385),m=n(18938),v=[],g=i(v.sort),y=i(v.push),b=l((function(){v.sort(void 0)})),_=l((function(){v.sort(null)})),w=d("sort"),k=!l((function(){if(h)return h<70;if(!(f&&f>3)){if(p)return!0;if(m)return m<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++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:b||!_||!w||!k},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(k)return void 0===e?g(t):g(t,e);var n,r,i=[],l=s(t);for(r=0;r<l;r++)r in t&&y(i,t[r]);for(c(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:u(t)>u(n)?1:-1}}(e)),n=i.length,r=0;r<n;)t[r]=i[r++];for(;r<l;)delete t[r++];return t}})},73381:function(e,t,n){var r=n(76887),i=n(98308);r({target:"Function",proto:!0,forced:Function.bind!==i},{bind:i})},32619:function(e,t,n){var r=n(76887),i=n(626),o=n(79730),a=n(78834),s=n(95329),u=n(95981),l=n(1052),c=n(57475),d=n(10941),f=n(56664),p=n(93765),h=n(72497),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,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}})},69120:function(e,t,n){var r=n(21899);n(90904)(r.JSON,"JSON",!0)},23112:function(e,t,n){"use strict";n(24683)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(85616))},37501:function(e,t,n){n(23112)},79413:function(){},89622:function(e,t,n){n(76887)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},71967:function(e,t,n){n(76887)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},49221:function(e,t,n){var r=n(76887),i=n(24420);r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},53882:function(e,t,n){n(76887)({target:"Object",stat:!0,sham:!n(55746)},{create:n(29290)})},86450:function(e,t,n){var r=n(76887),i=n(55746),o=n(65988).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},46924:function(e,t,n){var r=n(76887),i=n(95981),o=n(74529),a=n(49677).f,s=n(55746),u=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},88482:function(e,t,n){var r=n(76887),i=n(55746),o=n(80035),a=n(74529),s=n(49677),u=n(55449);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}})},37144:function(e,t,n){var r=n(76887),i=n(72497),o=n(95981),a=n(87857),s=n(89678);r({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},17405:function(e,t,n){var r=n(76887),i=n(95981),o=n(89678),a=n(249),s=n(64160);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},98663:function(e,t,n){n(76887)({target:"Object",stat:!0},{is:n(22518)})},21724:function(e,t,n){var r=n(76887),i=n(89678),o=n(14771);r({target:"Object",stat:!0,forced:n(95981)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},90108:function(e,t,n){n(76887)({target:"Object",stat:!0},{setPrototypeOf:n(88929)})},55967:function(){},26614:function(e,t,n){var r=n(76887),i=n(88810).values;r({target:"Object",stat:!0},{values:function(e){return i(e)}})},4560:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(24883),a=n(69520),s=n(40002),u=n(93091);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}})},16890:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(24883),a=n(69520),s=n(40002),u=n(93091);r({target:"Promise",stat:!0,forced:n(31542)},{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}})},91302:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(24883),a=n(626),s=n(69520),u=n(40002),l=n(93091),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}})},83376:function(e,t,n){"use strict";var r=n(76887),i=n(82529),o=n(67742).CONSTRUCTOR,a=n(6991),s=n(626),u=n(57475),l=n(99754),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})}},26934:function(e,t,n){"use strict";var r,i,o,a=n(76887),s=n(82529),u=n(6049),l=n(21899),c=n(78834),d=n(99754),f=n(87524),p=n(88929),h=n(90904),m=n(94431),v=n(24883),g=n(57475),y=n(10941),b=n(5743),_=n(70487),w=n(42941).set,k=n(66132),E=n(34845),x=n(40002),S=n(18397),T=n(45402),C=n(6991),A=n(67742),O=n(69520),N="Promise",P=A.CONSTRUCTOR,L=A.REJECTION_EVENT,M=A.SUBCLASSING,I=T.getterFor(N),R=T.set,D=C&&C.prototype,q=C,j=D,B=l.TypeError,F=l.document,U=l.process,z=O.f,H=z,V=!!(F&&F.createEvent&&l.dispatchEvent),W="unhandledrejection",Y=function(e){var t;return!(!y(e)||!g(t=e.then))&&t},G=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&&Q(t),t.rejection=1),!0===s?n=o:(d&&d.enter(),n=s(o),d&&(d.exit(),i=!0)),n===e.promise?l(B("Promise-chain cycle")):(r=Y(n))?c(r,n,u,l):u(n)):l(o)}catch(e){d&&!i&&d.exit(),l(e)}},K=function(e,t){e.notified||(e.notified=!0,k((function(){for(var n,r=e.reactions;n=r.get();)G(n,e);e.notified=!1,t&&!e.rejection&&X(e)})))},Z=function(e,t,n){var r,i;V?((r=F.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!L&&(i=l["on"+e])?i(r):e===W&&E("Unhandled promise rejection",n)},X=function(e){c(w,l,(function(){var t,n=e.facade,r=e.value;if($(e)&&(t=x((function(){u?U.emit("unhandledRejection",r,n):Z(W,n,r)})),e.rejection=u||$(e)?2:1,t.error))throw t.value}))},$=function(e){return 1!==e.rejection&&!e.parent},Q=function(e){c(w,l,(function(){var t=e.facade;u?U.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},J=function(e,t,n){return function(r){e(t,r,n)}},ee=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,K(e,!0))},te=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=Y(t);r?k((function(){var n={done:!1};try{c(r,t,J(te,n,e),J(ee,n,e))}catch(t){ee(n,t,e)}})):(e.value=t,e.state=1,K(e,!1))}catch(t){ee({done:!1},t,e)}}};if(P&&(j=(q=function(e){b(this,j),v(e),c(r,this);var t=I(this);try{e(J(te,t),J(ee,t))}catch(e){ee(t,e)}}).prototype,(r=function(e){R(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(j,{then:function(e,t){var n=I(this),r=z(_(this,q));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=u?U.domain:void 0,0==n.state?n.reactions.add(r):k((function(){G(r,n)})),r.promise}}),i=function(){var e=new r,t=I(e);this.promise=e,this.resolve=J(te,t),this.reject=J(ee,t)},O.f=z=function(e){return e===q||undefined===e?new i(e):H(e)},!s&&g(C)&&D!==Object.prototype)){o=D.then,M||d(D,"then",(function(e,t){var n=this;return new q((function(e,t){c(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete D.constructor}catch(e){}p&&p(D,j)}a({global:!0,wrap:!0,forced:P},{Promise:q}),h(q,N,!1,!0),m(N)},44349:function(e,t,n){"use strict";var r=n(76887),i=n(82529),o=n(6991),a=n(95981),s=n(626),u=n(57475),l=n(70487),c=n(56584),d=n(99754),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})}},98881:function(e,t,n){n(26934),n(16890),n(83376),n(55921),n(64069),n(14482)},55921:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(24883),a=n(69520),s=n(40002),u=n(93091);r({target:"Promise",stat:!0,forced:n(31542)},{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}})},64069:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(69520);r({target:"Promise",stat:!0,forced:n(67742).CONSTRUCTOR},{reject:function(e){var t=o.f(this);return i(t.reject,void 0,e),t.promise}})},14482:function(e,t,n){"use strict";var r=n(76887),i=n(626),o=n(82529),a=n(6991),s=n(67742).CONSTRUCTOR,u=n(56584),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)}})},7453:function(e,t,n){var r=n(76887),i=n(626),o=n(79730),a=n(98308),s=n(174),u=n(96059),l=n(10941),c=n(29290),d=n(95981),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}})},42355:function(e,t,n){var r=n(76887),i=n(78834),o=n(10941),a=n(96059),s=n(77040),u=n(49677),l=n(249);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}})},1502:function(){},1293:function(e,t,n){"use strict";var r,i=n(76887),o=n(95329),a=n(49677).f,s=n(43057),u=n(85803),l=n(70344),c=n(48219),d=n(67772),f=n(82529),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}})},11035:function(e,t,n){"use strict";var r=n(76887),i=n(95329),o=n(70344),a=n(48219),s=n(85803),u=n(67772),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)}})},77971:function(e,t,n){"use strict";var r=n(64620).charAt,i=n(85803),o=n(45402),a=n(47771),s="String Iterator",u=o.set,l=o.getterFor(s);a(String,"String",(function(e){u(this,{type:s,string:i(e),index:0})}),(function(){var e,t=l(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},92075:function(e,t,n){"use strict";var r=n(76887),i=n(6930).start;r({target:"String",proto:!0,forced:n(4887)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},94761:function(e,t,n){"use strict";var r,i=n(76887),o=n(95329),a=n(49677).f,s=n(43057),u=n(85803),l=n(70344),c=n(48219),d=n(67772),f=n(82529),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}})},57398:function(e,t,n){"use strict";var r=n(76887),i=n(74853).trim;r({target:"String",proto:!0,forced:n(93093)("trim")},{trim:function(){return i(this)}})},8555:function(e,t,n){n(66349)("asyncIterator")},48616:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(78834),a=n(95329),s=n(82529),u=n(55746),l=n(72497),c=n(95981),d=n(90953),f=n(7046),p=n(96059),h=n(74529),m=n(83894),v=n(85803),g=n(31887),y=n(29290),b=n(14771),_=n(10946),w=n(684),k=n(87857),E=n(49677),x=n(65988),S=n(59938),T=n(36760),C=n(99754),A=n(68726),O=n(44262),N=n(27748),P=n(99418),L=n(99813),M=n(11477),I=n(66349),R=n(29630),D=n(90904),q=n(45402),j=n(3610).forEach,B=O("hidden"),F="Symbol",U=q.set,z=q.getterFor(F),H=Object.prototype,V=i.Symbol,W=V&&V.prototype,Y=i.TypeError,G=i.QObject,K=E.f,Z=x.f,X=w.f,$=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(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(H,t);r&&delete H[t],Z(e,t,n),r&&e!==H&&Z(H,t,r)}:Z,ie=function(e,t){var n=J[e]=y(W);return U(n,{type:F,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,B)&&e[B][r]&&(e[B][r]=!1),n=y(n,{enumerable:g(0,!1)})):(d(e,B)||Z(e,B,g(1,{})),e[B][r]=!0),re(e,r,n)):Z(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($,this,t);return!(this===H&&d(J,t)&&!d(ee,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,B)&&this[B][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,B)&&n[B][r]||(i.enumerable=!0),i}},le=function(e){var t=X(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=X(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,B)&&d(this[B],t)&&(this[B][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,M.f=function(e){return ie(L(e),e)},u&&(Z(W,"description",{configurable:!0,get:function(){return z(this).description}}),s||C(H,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),j(b(te),(function(e){I(e)})),r({target:F,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,F),N[B]=!0},52615:function(){},64523:function(e,t,n){var r=n(76887),i=n(626),o=n(90953),a=n(85803),s=n(68726),u=n(25366),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}})},21732:function(e,t,n){n(66349)("hasInstance")},35903:function(e,t,n){n(66349)("isConcatSpreadable")},1825:function(e,t,n){n(66349)("iterator")},35824:function(e,t,n){n(48616),n(64523),n(38608),n(32619),n(37144)},38608:function(e,t,n){var r=n(76887),i=n(90953),o=n(56664),a=n(69826),s=n(68726),u=n(25366),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]}})},45915:function(e,t,n){n(66349)("matchAll")},28394:function(e,t,n){n(66349)("match")},61766:function(e,t,n){n(66349)("replace")},62737:function(e,t,n){n(66349)("search")},89911:function(e,t,n){n(66349)("species")},74315:function(e,t,n){n(66349)("split")},63131:function(e,t,n){var r=n(66349),i=n(29630);r("toPrimitive"),i()},64714:function(e,t,n){var r=n(626),i=n(66349),o=n(90904);i("toStringTag"),o(r("Symbol"),"Symbol")},70659:function(e,t,n){n(66349)("unscopables")},94776:function(e,t,n){"use strict";var r,i=n(21899),o=n(95329),a=n(87524),s=n(21647),u=n(24683),l=n(8850),c=n(10941),d=n(91584),f=n(45402).enforce,p=n(38019),h=!i.ActiveXObject&&"ActiveXObject"in i,m=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=u("WeakMap",m,l);if(p&&h){r=l.getConstructor(m,"WeakMap",!0),s.enable();var g=v.prototype,y=o(g.delete),b=o(g.has),_=o(g.get),w=o(g.set);a(g,{delete:function(e){if(c(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new r),y(this,e)||t.frozen.delete(e)}return y(this,e)},has:function(e){if(c(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new r),b(this,e)||t.frozen.has(e)}return b(this,e)},get:function(e){if(c(e)&&!d(e)){var t=f(this);return t.frozen||(t.frozen=new r),b(this,e)?_(this,e):t.frozen.get(e)}return _(this,e)},set:function(e,t){if(c(e)&&!d(e)){var n=f(this);n.frozen||(n.frozen=new r),b(this,e)?w(this,e,t):n.frozen.set(e,t)}else w(this,e,t);return this}})}},54334:function(e,t,n){n(94776)},89731:function(e,t,n){n(47627)},66591:function(e,t,n){"use strict";n(76887)({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:n(28984)})},55121:function(e,t,n){"use strict";n(76887)({target:"Map",proto:!0,real:!0,forced:!0},{emplace:n(48721)})},14751:function(e,t,n){"use strict";var r=n(76887),i=n(96059),o=n(86843),a=n(79993),s=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0);return!s(n,(function(e,n,i){if(!r(n,e,t))return i()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},52407:function(e,t,n){"use strict";var r=n(76887),i=n(626),o=n(86843),a=n(78834),s=n(24883),u=n(96059),l=n(70487),c=n(79993),d=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=u(this),n=c(t),r=o(e,arguments.length>1?arguments[1]:void 0),f=new(l(t,i("Map"))),p=s(f.set);return d(n,(function(e,n){r(n,e,t)&&a(p,f,e,n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),f}})},27281:function(e,t,n){"use strict";var r=n(76887),i=n(96059),o=n(86843),a=n(79993),s=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n,i){if(r(n,e,t))return i(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},48580:function(e,t,n){"use strict";var r=n(76887),i=n(96059),o=n(86843),a=n(79993),s=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n,i){if(r(n,e,t))return i(n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},52453:function(e,t,n){n(76887)({target:"Map",stat:!0,forced:!0},{from:n(83590)})},36507:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(95329),a=n(24883),s=n(53476),u=n(93091),l=o([].push);r({target:"Map",stat:!0,forced:!0},{groupBy:function(e,t){a(t);var n=s(e),r=new this,o=a(r.has),c=a(r.get),d=a(r.set);return u(n,(function(e){var n=t(e);i(o,r,n)?l(i(c,r,n),e):i(d,r,n,[e])}),{IS_ITERATOR:!0}),r}})},93647:function(e,t,n){"use strict";var r=n(76887),i=n(96059),o=n(79993),a=n(57309),s=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return s(o(i(this)),(function(t,n,r){if(a(n,e))return r()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},47641:function(e,t,n){"use strict";var r=n(76887),i=n(78834),o=n(93091),a=n(24883);r({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var n=new this;a(t);var r=a(n.set);return o(e,(function(e){i(r,n,t(e),e)})),n}})},66306:function(e,t,n){"use strict";var r=n(76887),i=n(96059),o=n(79993),a=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){return a(o(i(this)),(function(t,n,r){if(n===e)return r(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},27693:function(e,t,n){"use strict";var r=n(76887),i=n(626),o=n(86843),a=n(78834),s=n(24883),u=n(96059),l=n(70487),c=n(79993),d=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=u(this),n=c(t),r=o(e,arguments.length>1?arguments[1]:void 0),f=new(l(t,i("Map"))),p=s(f.set);return d(n,(function(e,n){a(p,f,r(n,e,t),n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),f}})},8:function(e,t,n){"use strict";var r=n(76887),i=n(626),o=n(86843),a=n(78834),s=n(24883),u=n(96059),l=n(70487),c=n(79993),d=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=u(this),n=c(t),r=o(e,arguments.length>1?arguments[1]:void 0),f=new(l(t,i("Map"))),p=s(f.set);return d(n,(function(e,n){a(p,f,e,r(n,e,t))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),f}})},48514:function(e,t,n){"use strict";var r=n(76887),i=n(24883),o=n(96059),a=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{merge:function(e){for(var t=o(this),n=i(t.set),r=arguments.length,s=0;s<r;)a(arguments[s++],n,{that:t,AS_ENTRIES:!0});return t}})},32523:function(e,t,n){n(76887)({target:"Map",stat:!0,forced:!0},{of:n(45226)})},8212:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(96059),a=n(24883),s=n(79993),u=n(93091),l=i.TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=o(this),n=s(t),r=arguments.length<2,i=r?void 0:arguments[1];if(a(e),u(n,(function(n,o){r?(r=!1,i=o):i=e(i,o,n,t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),r)throw l("Reduce of empty map with no initial value");return i}})},89642:function(e,t,n){"use strict";var r=n(76887),i=n(96059),o=n(86843),a=n(79993),s=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=i(this),n=a(t),r=o(e,arguments.length>1?arguments[1]:void 0);return s(n,(function(e,n,i){if(r(n,e,t))return i()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},68826:function(e,t,n){"use strict";n(76887)({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:n(20716)})},78485:function(e,t,n){"use strict";var r=n(76887),i=n(21899),o=n(78834),a=n(96059),s=n(24883),u=i.TypeError;r({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var n=a(this),r=s(n.get),i=s(n.has),l=s(n.set),c=arguments.length;s(t);var d=o(i,n,e);if(!d&&c<3)throw u("Updating absent value");var f=d?o(r,n,e):s(c>2?arguments[2]:void 0)(e,n);return o(l,n,e,t(f,e,n)),n}})},42256:function(e,t,n){"use strict";n(76887)({target:"Map",proto:!0,real:!0,forced:!0},{upsert:n(20716)})},55708:function(e,t,n){n(4560)},88731:function(e,t,n){n(91302)},30014:function(e,t,n){"use strict";var r=n(76887),i=n(69520),o=n(40002);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}})},28783:function(e,t,n){n(66349)("asyncDispose")},43975:function(e,t,n){n(66349)("dispose")},65799:function(e,t,n){n(66349)("matcher")},45414:function(e,t,n){n(66349)("metadata")},46774:function(e,t,n){n(66349)("observable")},80620:function(e,t,n){n(66349)("patternMatch")},36172:function(e,t,n){n(66349)("replaceAll")},4629:function(e,t,n){"use strict";n(76887)({target:"WeakMap",proto:!0,real:!0,forced:!0},{deleteAll:n(28984)})},86442:function(e,t,n){"use strict";n(76887)({target:"WeakMap",proto:!0,real:!0,forced:!0},{emplace:n(48721)})},26207:function(e,t,n){n(76887)({target:"WeakMap",stat:!0,forced:!0},{from:n(83590)})},13215:function(e,t,n){n(76887)({target:"WeakMap",stat:!0,forced:!0},{of:n(45226)})},4055:function(e,t,n){"use strict";n(76887)({target:"WeakMap",proto:!0,real:!0,forced:!0},{upsert:n(20716)})},7634:function(e,t,n){n(66274);var r=n(63281),i=n(21899),o=n(9697),a=n(32029),s=n(12077),u=n(99813)("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}},62524:function(e,t,n){"use strict";n(66274);var r=n(76887),i=n(21899),o=n(78834),a=n(95329),s=n(55746),u=n(28468),l=n(99754),c=n(87524),d=n(90904),f=n(31046),p=n(45402),h=n(5743),m=n(57475),v=n(90953),g=n(86843),y=n(9697),b=n(96059),_=n(10941),w=n(85803),k=n(29290),E=n(31887),x=n(53476),S=n(22902),T=n(18348),C=n(99813),A=n(61388),O=C("iterator"),N="URLSearchParams",P="URLSearchParamsIterator",L=p.set,M=p.getterFor(N),I=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"),B=D("Headers"),F=j&&j.prototype,U=B&&B.prototype,z=i.RegExp,H=i.TypeError,V=i.decodeURIComponent,W=i.encodeURIComponent,Y=a("".charAt),G=a([].join),K=a([].push),Z=a("".replace),X=a([].shift),$=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=Z(e,ee," "),n=4;try{return V(t)}catch(e){for(;n;)t=Z(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 Z(W(e),oe,se)},le=f((function(e,t){L(this,{type:P,iterator:x(M(e).entries),kind:t})}),"Iterator",(function(){var e=I(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(X(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;L(this,new ce(e))},fe=de.prototype;if(c(fe,{append:function(e,t){T(arguments.length,2);var n=M(this);K(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){T(arguments.length,1);for(var t=M(this),n=t.entries,r=w(e),i=0;i<n.length;)n[i].key===r?$(n,i,1):i++;t.updateURL()},get:function(e){T(arguments.length,1);for(var t=M(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=M(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=M(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=M(this),i=r.entries,o=!1,a=w(e),s=w(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?$(i,u--,1):(o=!0,n.value=s));o||K(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=M(this);A(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=M(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 M(this).serialize()}),{enumerable:!0}),d(de,N),r({global:!0,forced:!u},{URLSearchParams:de}),!u&&m(B)){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 B(e.headers):new B,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,noTargetGet:!0,forced:!0},{fetch:function(e){return q(e,arguments.length>1?me(arguments[1]):{})}}),m(j)){var ve=function(e){return h(this,F),new j(e,arguments.length>1?me(arguments[1]):{})};F.constructor=ve,ve.prototype=F,r({global:!0,forced:!0,noTargetGet:!0},{Request:ve})}}e.exports={URLSearchParams:de,getState:M}},95304:function(e,t,n){n(62524)},47250:function(e,t,n){"use strict";n(77971);var r,i=n(76887),o=n(55746),a=n(28468),s=n(21899),u=n(86843),l=n(95329),c=n(59938).f,d=n(99754),f=n(5743),p=n(90953),h=n(24420),m=n(11354),v=n(15790),g=n(64620).codeAt,y=n(73291),b=n(85803),_=n(90904),w=n(18348),k=n(62524),E=n(45402),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,L=Math.pow,M=l("".charAt),I=l(/./.exec),R=l([].join),D=l(1..toString),q=l([].pop),j=l([].push),B=l("".replace),F=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,Z=/[\d+-.a-z]/i,X=/\d/,$=/^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&&I(K,M(e,0))&&(":"==(n=M(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&fe(z(e,0,2))&&(2==e.length||"/"===(t=M(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={},Le={},Me={},Ie={},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=B(e,re,"")),e=B(e,ie,""),i=m(e);d<=i.length;){switch(o=i[d],c){case me:if(!o||!I(K,o)){if(t)return W;c=ge;continue}f+=H(o),c=ve;break;case ve:if(o&&(I(Z,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=Me)}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=Le;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=Ie;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=Le;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=Le;continue}c=xe}else c=Ee;break;case ke:if(c=Ee,"/"!=o||"/"!=M(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(!I(X,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=Le;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=Ie;else{if("#"!=o){pe(R(v(i,d),""))||(l.host=n.host,l.path=v(n.path),l.shortenPath()),c=Le;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=Le;continue;case Ne:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&fe(f))c=Le;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=Le,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(c=Le,"/"!=o))continue}else l.fragment="",c=Re;else l.query="",c=Ie;break;case Le: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=M(f,0)+":"),j(l.path,f)),f="","file"==l.scheme&&(o==r||"?"==o||"#"==o))for(;l.path.length>1&&""===l.path[0];)F(l.path);"?"==o?(l.query="",c=Ie):"#"==o&&(l.fragment="",c=Re)}else f+=ce(o,ue);break;case Me:"?"==o?(l.query="",c=Ie):"#"==o?(l.fragment="",c=Re):o!=r&&(l.path[0]+=ce(o,ae));break;case Ie: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("["==M(e,0)){if("]"!=M(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 M(e,d)};if(":"==f()){if(":"!=M(e,1))return;d+=2,c=++l}for(;f();){if(8==l)return;if(":"!=f()){for(t=n=0;n<4&&I(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(!I(X,f()))return;for(;I(X,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),I(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"==M(i,0)&&(o=I($,i)?16:8,i=z(i,8==o?1:2)),""===i)a=0;else{if(!I(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>=L(256,5-t))return null}else if(a>255)return null;for(s=q(n),r=0;r<n.length;r++)s+=n[r]*L(256,3-r);return s}(e),null===t)return Y;this.host=t}else{if(I(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:("?"==M(e,0)&&(e=z(e,1)),this.query="",this.parse(e,Ie)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==M(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,Be=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&&c(je,{href:Be("serialize","setHref"),origin:Be("getOrigin"),protocol:Be("getProtocol","setProtocol"),username:Be("getUsername","setUsername"),password:Be("getPassword","setPassword"),host:Be("getHost","setHost"),hostname:Be("getHostname","setHostname"),port:Be("getPort","setPort"),pathname:Be("getPathname","setPathname"),search:Be("getSearch","setSearch"),searchParams:Be("getSearchParams"),hash:Be("getHash","setHash")}),d(je,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),d(je,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),A){var Fe=A.createObjectURL,Ue=A.revokeObjectURL;Fe&&d(qe,"createObjectURL",u(Fe,A)),Ue&&d(qe,"revokeObjectURL",u(Ue,A))}_(qe,"URL"),i({global:!0,forced:!a,sham:!o},{URL:qe})},33601:function(e,t,n){n(47250)},98947:function(){},27698:function(e,t,n){var r=n(54493);e.exports=r},83363:function(e,t,n){var r=n(24034);e.exports=r},38079:function(e,t,n){var r=n(12710);e.exports=r},56668:function(e,t,n){var r=n(95909);e.exports=r},74719:function(e,t,n){var r=n(14423);e.exports=r},56243:function(e,t,n){var r=n(13830);n(7634),e.exports=r},28196:function(e,t,n){var r=n(16246);e.exports=r},8065:function(e,t,n){var r=n(56043);e.exports=r},95247:function(e,t,n){var r=n(1727);e.exports=r},57448:function(e,t,n){n(7634);var r=n(9697),i=n(90953),o=n(7046),a=n(38079),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}},69743:function(e,t,n){var r=n(80446);e.exports=r},11955:function(e,t,n){var r=n(2480);e.exports=r},96064:function(e,t,n){var r=n(7147);e.exports=r},76285:function(e,t,n){var r=n(32236);e.exports=r},33778:function(e,t,n){var r=n(58557);e.exports=r},19373:function(e,t,n){var r=n(34570);e.exports=r},73819:function(e,t,n){n(7634);var r=n(9697),i=n(90953),o=n(7046),a=n(56668),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}},61798:function(e,t,n){var r=n(88287);e.exports=r},88906:function(e,t,n){var r=n(51337);e.exports=r},28427:function(e,t,n){var r=n(91060);e.exports=r},82073:function(e,t,n){var r=n(69601);e.exports=r},62856:function(e,t,n){var r=n(69355);e.exports=r},35178:function(e,t,n){var r=n(71611);e.exports=r},76361:function(e,t,n){var r=n(62774);e.exports=r},62908:function(e,t,n){n(7634);var r=n(9697),i=n(90953),o=n(7046),a=n(74719),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}},8933:function(e,t,n){var r=n(84426);e.exports=r},15868:function(e,t,n){var r=n(91018);n(7634),e.exports=r},76258:function(e,t,n){var r=n(70063);e.exports=r},42119:function(e,t,n){var r=n(4723);e.exports=r},63383:function(e,t,n){var r=n(45999);e.exports=r},14471:function(e,t,n){var r=n(35254);e.exports=r},41910:function(e,t,n){var r=n(48171);e.exports=r},79427:function(e,t,n){var r=n(286);e.exports=r},62857:function(e,t,n){var r=n(92766);e.exports=r},9534:function(e,t,n){var r=n(30498);e.exports=r},96507:function(e,t,n){var r=n(13966);e.exports=r},15703:function(e,t,n){var r=n(89076);e.exports=r},23059:function(e,t,n){var r=n(48494);e.exports=r},16670:function(e,t,n){var r=n(3065);e.exports=r},47795:function(e,t,n){var r=n(98430);e.exports=r},27460:function(e,t,n){var r=n(52956);n(7634),e.exports=r},61895:function(e,t,n){var r=n(14983);e.exports=r},18254:function(e,t,n){var r=n(37095);e.exports=r},34507:function(e,t,n){var r=n(22727);e.exports=r},92547:function(e,t,n){var r=n(57473);n(7634),e.exports=r},46509:function(e,t,n){var r=n(24227);n(7634),e.exports=r},73926:function(e,t,n){var r=n(47610);n(7634),e.exports=r},57641:function(e,t,n){var r=n(71459);e.exports=r},72010:function(e,t,n){var r=n(32304);n(7634),e.exports=r},47610:function(e,t,n){n(95304);var r=n(54058);e.exports=r.URLSearchParams},71459:function(e,t,n){n(33601),n(98947),n(95304);var r=n(54058);e.exports=r.URL},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,L=T.log,M=T.LN2,I=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(L(e)/M),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]},B=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},F=function(e){return I(e,23,4)},U=function(e){return I(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 Z=new S(new x(2)),X=S.prototype.setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||s(S.prototype,{setInt8:function(e,t){X.call(this,e,t<<24>>24)},setUint8:function(e,t){X.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,B,t,arguments[2])},setUint32:function(e,t){V(this,4,e,B,t,arguments[2])},setFloat32:function(e,t){V(this,4,e,F,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(_),L="Array"==t&&O.entries||N;if(L&&(E=o(L.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,L=s.ArrayBuffer,M=s.DataView,I=a.NATIVE_ARRAY_BUFFER_VIEWS,R=a.TYPED_ARRAY_TAG,D=a.TypedArray,q=a.TypedArrayPrototype,j=a.aTypedArrayConstructor,B=a.isTypedArray,F="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 L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},W=function(e,t){return B(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)};I||(S.f=Y,x.f=G,H(q,"buffer"),H(q,"byteOffset"),H(q,"byteLength"),H(q,"length")),i({target:"Object",stat:!0,forced:!I},{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})};I?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):B(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 B(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 L(a=l*t);for(A(e,{buffer:o,byteOffset:h,byteLength:a,length:l,view:new M(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:!I},S),F in v||c(v,F,t),F in x||c(x,F,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")}},99699: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)},65465: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,L=u.document,M=u.process,I=u.fetch,R=M&&M.versions,D=R&&R.v8||"",q=w.f,j=q,B="process"==p(M),F=!!(L&&L.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!((B||"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&&Z(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;F?((r=L.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(){B?M.emit("unhandledRejection",r,e):Y(U,e,r)})),t.rejection=B||K(t)?2:1,n.error))throw n.value}))},K=function(e){return 1!==e.rejection&&!e.parent},Z=function(e,t){g.call(u,(function(){B?M.emit("rejectionHandled",e):Y("rejectionhandled",e,t.value)}))},X=function(e,t,n,r){return function(i){e(t,n,i,r)}},$=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,X(Q,e,r,t),X($,e,r,t))}catch(n){$(e,r,n,t)}})):(t.value=n,t.state=1,W(e,t,!1))}catch(n){$(e,{done:!1},n,t)}}};z&&(N=function(e){f(this,N,a),d(e),r.call(this);var t=C(this);try{e(X(Q,this,t),X($,this,t))}catch(e){$(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=B?M.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=X(Q,e,t),this.reject=X($,e,t)},w.f=q=function(e){return e===N||e===o?new i(e):j(e)},s||"function"!=typeof I||l({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(N,I.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]}})},99972: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(99699),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(99699),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)}})},42472: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(99699),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"),L=n(29909),M="Symbol",I=L.set,R=L.getterFor(M),D=T.f,q=C.f,j=S.f,B=r.Symbol,F=r.JSON,U=F&&F.stringify,z=h("toPrimitive"),H=A.f,V=d("symbol-registry"),W=d("symbols"),Y=d("op-symbols"),G=d("wks"),K=Object.prototype,Z=r.QObject,X=n(30133),$=!Z||!Z.prototype||!Z.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(B.prototype);return I(n,{type:M,tag:e,description:t}),o||(n.description=t),n},ee=X&&"symbol"==typeof B.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},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};X||(B=function(){if(this instanceof B)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&&$&&Q(K,t,{configurable:!0,set:n}),J(t,e)},u(B.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(B.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:!X,sham:!X},{Symbol:B});for(var se=N(G),ue=0;se.length>ue;)v(se[ue++]);s({target:M,stat:!0,forced:!X},{for:function(e){return i(V,e+="")?V[e]:V[e]=B(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(){$=!0},useSimple:function(){$=!1}}),s({target:"Object",stat:!0,forced:!X,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:!X},{getOwnPropertyNames:oe,getOwnPropertySymbols:ae}),F&&s({target:"JSON",stat:!0,forced:!X||c((function(){var e=B();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(F,r)}}),B.prototype[z]||O(B.prototype,z,B.prototype.valueOf),f(B,M),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)},L=function(e,t){if(e<t)throw TypeError("Not enough arguments")},M=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})),I=function(){u(this,I,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=I.prototype;o(R,{append:function(e,t){L(arguments.length,2);var n=b(this);n.entries.push({key:e+"",value:t+""}),n.updateURL&&n.updateURL()},delete:function(e){L(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){L(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){L(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){L(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){L(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 M(this,"keys")},values:function(){return new M(this,"values")},entries:function(){return new M(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)(I,v),n(82109)({global:!0,forced:!r},{URLSearchParams:I}),e.exports={URLSearchParams:I,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]+$/,L=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,M=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,I=/^[\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),L.test(t))return E;if(null===(n=q(t)))return E;e.host=n}else{if(M.test(t))return E;for(n="",r=f(t),i=0;i<r.length;i++)n+=V(r[i],F);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},B=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},F={},U=d({},F,{" ":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},Z=function(e,t){var n;return 2==e.length&&S.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},$=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Z(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(I,"")),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){X(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),$(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&&!X(o.slice(p).join(""))&&(Z(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&&Z(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?($(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):Q(h)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(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,F));break;case ye:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":V(a,F)):(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=Le.call(r),r.searchParams=Me.call(r),r.hash=Ie.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+=B(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+"://"+B(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?B(t):B(t)+":"+n},Oe=function(){var e=_(this).host;return null===e?"":B(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("/"):""},Le=function(){var e=_(this).query;return e?"?"+e:""},Me=function(){return _(this).searchParams},Ie=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(Le,(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(Me),hash:Re(Ie,(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 L(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 M(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");return O(T.Nothing,f(T.Just,t))}}function I(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:L,coalesce:P,zero:o,ap:R,of:r,sequence:q,traverse:j,alt:I("alt"),chain:D("chain"),concat:N("concat"),map:M("map")})[c.zero]=o,t[c.of]=r,t[c.equals]=C,t[c.alt]=I(c.alt),t[c.concat]=N(c.concat),t[c.map]=M(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)}},57898: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(57898);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"<22>";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-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"<22>";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 L(e,t){N.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function M(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),L.prototype=Object.create(N.prototype),M.prototype=Object.create(N.prototype);var I=-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)},B=function(e,t,n){try{"function"==typeof t&&t.call(e,n)}catch(e){O(e)}};function F(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,_=I,w="",E="",x="",T="",A=0,O=0,N=0,F=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 L("open",{status:t,statusText:n,headers:o});e.dispatchEvent(a),B(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 L("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),B(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?B(e,e.onopen,g):"message"===x?B(e,e.onmessage,g):"error"===x&&B(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===_){_=I,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 M("error",{error:t});e.dispatchEvent(n),B(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,_===I){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,F,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;F.prototype=Object.create(A.prototype),F.prototype.CONNECTING=0,F.prototype.OPEN=1,F.prototype.CLOSED=2,F.prototype.close=function(){this._close()},F.CONNECTING=0,F.OPEN=1,F.CLOSED=2,F.prototype.withCredentials=void 0;var z=d;null==u||null!=d&&"withCredentials"in d.prototype||(z=F),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=F,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++,L=l++,M=l++,I=l++,R=l++,D=l++,q=l++,j=l++,B=l++,F=l++,U=l++,z=l++,H=l++,V=l++,W=l++,Y=l++,G=l++,K=l++,Z=l++,X=l++,$=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:F,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",L,S),ye.prototype._stateBeforeCdata2=ve("D",M,S),ye.prototype._stateBeforeCdata3=ve("A",I,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=B,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",Z,c),ye.prototype._stateAfterScript3=ve("P",X,c),ye.prototype._stateAfterScript4=ve("T",$,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===L?this._stateBeforeCdata2(e):this._state===M?this._stateBeforeCdata3(e):this._state===I?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===B?this._stateAfterCdata2(e):this._state===F?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===Z?this._stateAfterScript3(e):this._state===X?this._stateAfterScript4(e):this._state===$?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===B?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,L=N.push,M=N.push,I=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])+",B="\\[[\\x20\\t\\r\\n\\f]*("+j+")(?:"+q+"*([*^$|!~]?=)"+q+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+q+"*\\]",F=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",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(F),G=new RegExp("^"+j+"$"),K={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+F),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")},Z=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,$=/^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?"<22>":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{M.apply(N=I.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){M={apply:N.length?function(e,t){L.apply(e,I.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 M.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.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 M.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!Z.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("!=",F)})),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 $.test(e.nodeName)},input:function(e){return X.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):M.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(_)}M.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 M.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 L(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(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&O.test(e)?x(e):e||[],!1).length}});var M,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.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,M=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 B(e){return e}function F(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,B,i),a(o,t,F,i)):(o++,l.call(r,a(o,t,B,i),a(o,t,F,i),a(o,t,B,t.notifyWith))):(n!==B&&(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!==F&&(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:B,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:B)),t[2][3].add(a(0,r,g(n)?n:F))})).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 Z(e){return e.replace(Y,"ms-").replace(G,K)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function $(){this.expando=x.expando+$.uid++}$.uid=1,$.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(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[Z(t)]=n;else for(r in t)i[Z(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Z(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(Z):(t=Z(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 $,J=new $,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=Z(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(X(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,Le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Ie(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"),Ie)).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(Le,""),l,c))}return e}function Be(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(X(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 Be(this,e,!0)},remove:function(e){return Be(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||Me(this,e).appendChild(e)}))},prepend:function(){return je(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(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 Fe=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()&&Fe.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 Ze(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 Xe=/^(none|table(?!-c[ea]).+)/,$e=/^--/,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(Fe.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=Z(t),u=$e.test(t),l=e.style;if(u||(t=Ze(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=Z(t);return $e.test(t)||(t=Ze(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!Xe.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[Ze(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=Z(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&&X(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)||!X(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,Lt=/#.*$/,Mt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Dt=/^\/\//,qt={},jt={},Bt="*/".concat("*"),Ft=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}Ft.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:{"*":Bt,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=It.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=Ft.protocol+"//"+Ft.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(Lt,""),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(Mt,"$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]?", "+Bt+"; 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),Fe.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 Zt=/^[\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=Z,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(Zt,"")},void 0===(n=function(){return x}.apply(t,[]))||(e.exports=n);var Xt=r.jQuery,$t=r.$;return x.noConflict=function(e){return r.$===x&&(r.$=$t),e&&r.jQuery===x&&(r.jQuery=Xt),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\]$/,L=/^(?:0|[1-9]\d*)$/,M={};M[o]=M["[object Array]"]=M[b]=M[_]=M[a]=M[s]=M[w]=M[k]=M[E]=M[x]=M[S]=M[c]=M[d]=M[f]=M[h]=M[m]=M[v]=M[g]=M[T]=M[C]=M[A]=M[O]=!0,M["[object Error]"]=M[u]=M[y]=!1;var I="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,R="object"==typeof self&&self&&self.Object===Object&&self,D=I||R||Function("return this")(),q=t&&!t.nodeType&&t,j=q&&e&&!e.nodeType&&e,B=j&&j.exports===q;function F(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,Z=Function.prototype,X=Object.prototype,$=D["__core-js_shared__"],Q=(G=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"",J=Z.toString,ee=X.hasOwnProperty,te=X.toString,ne=RegExp("^"+J.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=B?D.Buffer:void 0,ie=D.Symbol,oe=D.Uint8Array,ae=W(Object.getPrototypeOf,Object),se=Object.create,ue=X.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 Le(e,t){for(var n=e.length;n--;)if(Ve(e[n][0],t))return n;return-1}function Me(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(!Ze(e))return e;var L=We(e);if(L){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 I=Fe(e),R=I==u||I==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(I==f||I==o||R&&!p){if(H(e))return p?e:{};if(P=function(e){return"function"!=typeof e.constructor||ze(e)?{}:(t=ae(e),Ze(t)?se(t):{});var t}(R?{}:e),!t)return function(e,t){return De(e,Be(e),t)}(e,function(e,t){return e&&De(t,Xe(t),e)}(P,e))}else{if(!M[I])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),F,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,I,Me,t)}}y||(y=new Oe);var D=y.get(e);if(D)return D;if(y.set(e,P),!L)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,Xe,Be)}(e):Xe(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,Me(i,t,n,r,o,e,y))})),P}function Ie(e){return!(!Ze(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 Ie(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=Le(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=Le(t,e);return n<0?void 0:t[n][1]},Ce.prototype.has=function(e){return Le(this.__data__,e)>-1},Ce.prototype.set=function(e,t){var n=this.__data__,r=Le(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 Be=ce?W(ce,Object):function(){return[]},Fe=function(e){return te.call(e)};function Ue(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||L.test(e))&&e>-1&&e%1==0&&e<t}function ze(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||X)}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&&Fe(new pe(new ArrayBuffer(1)))!=_||he&&Fe(new he)!=c||me&&Fe(me.resolve())!=p||ve&&Fe(new ve)!=m||ge&&Fe(new ge)!=y)&&(Fe=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=Ze(e)?te.call(e):"";return t==u||t==l}function Ze(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Xe(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 Me(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){var t;return(e=null==(t=e)?"":p(t))&&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,o,a,s=Object.prototype,u=Function.prototype.toString,l=s.hasOwnProperty,c=s.toString,d=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=(o="isArray",function(e){return null!=e&&(function(e){return function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)&&c.call(e)==t}(e)?d.test(u.call(e)):r(e)&&n.test(e))}(a=null==(i=Array)?void 0:i[o])?a:void 0);var p=f||function(e){return r(e)&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&"[object Array]"==c.call(e)};e.exports=p},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,n=e.length;n=n&&("number"==typeof(t=n)&&t>-1&&t%1==0&&t<=s)&&(i(e)||r(e))&&n||0;for(var o=e.constructor,l=-1,c="function"==typeof o&&o.prototype===e,d=Array(n),f=n>0;++l<n;)d[l]=l+"";for(var p in e)f&&u(p,n)||"constructor"==p&&(c||!a.call(e,p))||d.push(p);return d}},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,L=A.call(Object),M=RegExp("^"+A.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=v?p.Buffer:void 0,R=p.Symbol,D=p.Uint8Array,q=I?I.allocUnsafe:void 0,j=(k=Object.getPrototypeOf,E=Object,function(e){return k(E(e))}),B=Object.create,F=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=I?I.isBuffer:void 0,W=Math.max,Y=Date.now,G=me(p,"Map"),K=me(Object,"create"),Z=function(){function e(){}return function(t){if(!Ce(t))return{};if(B)return B(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function X(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 $(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 $(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}X.prototype.clear=function(){this.__data__=K?K(null):{},this.size=0},X.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},X.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},X.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:O.call(t,e)},X.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},$.prototype.clear=function(){this.__data__=[],this.size=0},$.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)},$.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},$.prototype.has=function(e){return re(this.__data__,e)>-1},$.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 X,map:new(G||$),string:new X}},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 $,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 $){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)?M: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:Ae(_=u)&&Ee(_)?d=function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(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=[]: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)==L}(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)?{}:Z(j(e))}(l))):f=!1}var v,g,y,b;var _;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:(n=t,function(){return n}),writable:!0});var n}: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")&&!F.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,Le=(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 Me(e){return e}e.exports=Le},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(42300),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}},28458: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(83140),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","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'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(28458),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},42300: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)}},83140: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(34943),i=n(35393)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},34943: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(83140),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 L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(A(t),P[e]=!0)}function M(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function I(e){var t,n;for(n in e)M(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 M(r)?r.call(t,n):r}var B={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 F(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 M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function K(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}var Z={};function X(e,t){var n=e.toLowerCase();Z[n]=Z[n+"s"]=Z[t]=e}function $(e){return"string"==typeof e?Z[e]||Z[e.toLowerCase()]:void 0}function Q(e){var t,n,r={};for(n in e)p(e,n)&&(t=$(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+=M(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]=M(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(Le(e))}function Le(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ie={};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++)Ie[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(Ie,e)&&Ie[e](t,n._a,n,e)}var je=0,Be=1,Fe=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"),X("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 Ze,Xe=Qe("FullYear",!0);function $e(){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 M(this[e=$(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(M(this[e=$(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}Ze=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)})),X("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[Be]=T(e)-1})),Re(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Be]=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=Ze.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ze.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ze.call(this._shortMonthsParse,a))||-1!==(i=Ze.call(this._longMonthsParse,a))?i:null:-1!==(i=Ze.call(this._longMonthsParse,a))||-1!==(i=Ze.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]=Me(r[t]),i[t]=Me(i[t]);for(t=0;t<24;t++)o[t]=Me(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"),X("week","w"),X("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 Lt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Mt(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"),X("day","d"),X("weekday","e"),X("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 It="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 Bt(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(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=Ze.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._shortWeekdaysParse,a))||-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,a))||-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,a))||-1!==(i=Ze.call(this._weekdaysParse,a))||-1!==(i=Ze.call(this._shortWeekdaysParse,a))?i:null}function Ut(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ft.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=Lt(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=Mt(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")||$t.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")||$t.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Gt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Zt=Ae;function Xt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||$t.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function $t(){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]=Me(s[t]),u[t]=Me(u[t]),l[t]=Me(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),X("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:B,invalidDate:U,ordinal:H,dayOfMonthOrdinalParse:V,relativeTime:Y,months:at,monthsShort:ut,week:Ct,weekdays:It,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])L("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[Be]<0||n[Be]>11?Be:n[Fe]<1||n[Fe]>it(n[je],n[Be])?Fe: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>Fe)&&(t=Fe),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[Fe]&&null==e._a[Be]&&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[Be]=n.getUTCMonth(),e._a[Fe]=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||""),Fn(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 Ln(e,t,n,r,i,o){var a=[Mn(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function Mn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(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(In(e._i));if(t){var n=Ln(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 Bn(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 Fn(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],Fn(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?Fn(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?Bn(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 Zn=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()})),Xn=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 $n(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 $n("isBefore",[].slice.call(arguments,0))}function Jn(){return $n("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===Ze.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[Fe])*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)||(L(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 Lr=Nr(1,"add"),Mr=Nr(-1,"subtract");function Ir(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&&(M(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=$(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=$(l(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Br(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 Fr(e,t){var n,r=x(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=$(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=$(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"):M(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 Zr(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 Xr(e){return this.from(Kn(),e)}function $r(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=$(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=$(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"),X("weekYear","gg"),X("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"),X("quarter","Q"),ee("quarter",7),Ne("Q",fe),Re("Q",(function(e,t){t[Be]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),X("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"],Fe),Re("Do",(function(e,t){t[Fe]=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"),X("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"),X("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"),X("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()})),X("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 Li(e){return Kn(1e3*e)}function Mi(){return Kn.apply(null,arguments).parseZone()}function Ii(e){return e}Pi.add=Lr,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=Hr,Pi.endOf=ri,Pi.format=Kr,Pi.from=Zr,Pi.fromNow=Xr,Pi.to=$r,Pi.toNow=Qr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=qr,Pi.isBefore=jr,Pi.isBetween=Br,Pi.isSame=Fr,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=zr,Pi.isValid=ci,Pi.lang=ei,Pi.locale=Jr,Pi.localeData=ti,Pi.max=Xn,Pi.min=Zn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Mr,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=Xe,Pi.isLeapYear=$e,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",Xe),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 Bi(e,t){return qi(e,t,"months")}function Fi(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=F,Ri.invalidDate=z,Ri.ordinal=W,Ri.preparse=Ii,Ri.postformat=Ii,Ri.relativeTime=G,Ri.pastFuture=K,Ri.set=I,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=Bt,Ri.weekdaysShort=qt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Yt,Ri.weekdaysShortRegex=Kt,Ri.weekdaysMinRegex=Xt,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 Zi(e){return e<0?Math.floor(e):Math.ceil(e)}function Xi(){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*Zi(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($i(a)),a-=Zi(Qi(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function $i(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=$(e))||"year"===e)return t=this._days+r/864e5,n=this._months+$i(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=$(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 Lo=or.prototype;return Lo.isValid=rr,Lo.abs=Wi,Lo.add=Gi,Lo.subtract=Ki,Lo.as=Ji,Lo.asMilliseconds=no,Lo.asSeconds=ro,Lo.asMinutes=io,Lo.asHours=oo,Lo.asDays=ao,Lo.asWeeks=so,Lo.asMonths=uo,Lo.asYears=lo,Lo.valueOf=eo,Lo._bubble=Xi,Lo.clone=co,Lo.get=fo,Lo.milliseconds=ho,Lo.seconds=mo,Lo.minutes=vo,Lo.hours=go,Lo.days=yo,Lo.weeks=wo,Lo.months=bo,Lo.years=_o,Lo.humanize=Ao,Lo.toISOString=Po,Lo.toString=Po,Lo.toJSON=Po,Lo.locale=Jr,Lo.localeData=ti,Lo.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Po),Lo.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=Li,i.months=Bi,i.isDate=d,i.locale=hn,i.invalid=b,i.duration=Tr,i.isMoment=x,i.weekdays=Ui,i.parseZone=Mi,i.localeData=gn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=Hi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=zi,i.normalizeUnits=$,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Ir,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}()},85220:function(e){"use strict";var t=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],n=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]};e.exports={isLikelyAacData:function(e){return e[0]==="I".charCodeAt(0)&&e[1]==="D".charCodeAt(0)&&e[2]==="3".charCodeAt(0)},parseId3TagSize:function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&e[t+5])>>4?n+20:n+10},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 n=0;n+5<e.length;){if(255===e[n]&&240==(246&e[n+1]))return t[(60&e[n+2])>>>2];n++}return null},parseAacTimestamp:function(e){var t,r,i;t=10,64&e[5]&&(t+=4,t+=n(e.subarray(10,14)));do{if((r=n(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){i=e.subarray(t+10,t+r+10);for(var o=0;o<i.byteLength;o++)if(0===i[o]){var a=unescape(function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i}(i,0,o));if("com.apple.streaming.transportStreamTimestamp"===a){var s=i.subarray(o+1),u=(1&s[3])<<30|s[4]<<22|s[5]<<14|s[6]<<6|s[7]>>>2;return u*=4,u+=3&s[7]}break}}t+=10,t+=r}while(t<e.byteLength);return null}}},53754:function(e,t,n){"use strict";var r=n(71961),i=n(16221),o=function(){o.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new c(0,0),new c(0,1),new c(1,0),new c(1,1)],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)};o.prototype=new r,o.prototype.push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=i.parseSei(e.escapedRBSP)).payloadType===i.USER_DATA_REGISTERED_ITU_T_T35&&(n=i.parseUserData(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=i.parseCaptionPackets(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},o.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},o.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),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},o.prototype.flush=function(){return this.flushStream("flush")},o.prototype.partialFlush=function(){return this.flushStream("partialFlush")},o.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},o.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)},o.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},o.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},o.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)};var a={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},s=function(e){return null===e?"":(e=a[e]||e,String.fromCharCode(e))},u=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],l=function(){for(var e=[],t=15;t--;)e.push("");return e},c=function(e,t){c.prototype.init.call(this),this.field_=e||0,this.dataChannel_=t||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_=l();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=l();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=l()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=s((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=s((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=u.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=s(r),o+=s(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};c.prototype=new r,c.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e){try{return e.trim()}catch(e){return console.error("Skipping malformed caption."),""}})).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},c.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=l(),this.nonDisplayed_=l(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},c.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_},c.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},c.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},c.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},c.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},c.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},c.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},c.prototype.isNormalChar=function(e){return e>=32&&e<=127},c.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=l(),this.displayed_=l()),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},c.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)},c.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)}},c.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},c.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},c.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_]=""},c.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},e.exports={CaptionStream:o,Cea608Stream:c}},34149:function(e,t,n){"use strict";var r=n(25215),i=function(e){var t=31&e[1];return t<<=8,t|=e[2]},o=function(e){return!!(64&e[1])},a=function(e){var t=0;return(48&e[3])>>>4>1&&(t+=e[4]+1),t},s=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}};e.exports={parseType:function(e,t){var n=i(e);return 0===n?"pat":n===t?"pmt":t?"pes":null},parsePat:function(e){var t=o(e),n=4+a(e);return t&&(n+=e[n]+1),(31&e[n+10])<<8|e[n+11]},parsePmt:function(e){var t={},n=o(e),r=4+a(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 s=12+((15&e[r+10])<<8|e[r+11]);s<i;){var u=r+s;t[(31&e[u+1])<<8|e[u+2]]=e[u],s+=5+((15&e[u+3])<<8|e[u+4])}return t}},parsePayloadUnitStartIndicator:o,parsePesType:function(e,t){switch(t[i(e)]){case r.H264_STREAM_TYPE:return"video";case r.ADTS_STREAM_TYPE:return"audio";case r.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(e){if(!o(e))return null;var t=4+a(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+a(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"===s(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"===s(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"===s(31&n[i+3])&&(o=!0),o}}},25215:function(e){"use strict";e.exports={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21}},10817:function(e,t,n){"use strict";var r=n(71961),i="shared",o=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},a=function(e){var t,n;a.prototype.init.call(this),this.type_=e||i,this.push=function(e){this.type_!==i&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=o(e.dts,n),e.pts=o(e.pts,n),t=e.dts,this.trigger("data",e))},this.flush=function(){n=t,this.trigger("done")},this.endTimeline=function(){this.flush(),this.trigger("endedtimeline")},this.discontinuity=function(){n=void 0,t=void 0},this.reset=function(){this.discontinuity(),this.trigger("reset")}};a.prototype=new r,e.exports={TimestampRolloverStream:a,handleRollover:o}},66659:function(e,t,n){"use strict";var r=n(16221).discardEmulationPreventionBytes,i=n(53754).CaptionStream,o=n(47661),a=n(42628),s=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},u=function(e,t){var n=o.findBox(e,["moof","traf"]),i=o.findBox(e,["mdat"]),u={},l=[];return i.forEach((function(e,t){var r=n[t];l.push({mdat:e,traf:r})})),l.forEach((function(e){var n,i,l=e.mdat,c=e.traf,d=o.findBox(c,["tfhd"]),f=a.parseTfhd(d[0]),p=f.trackId,h=o.findBox(c,["tfdt"]),m=h.length>0?a.parseTfdt(h[0]).baseMediaDecodeTime:0,v=o.findBox(c,["trun"]);t===p&&v.length>0&&(n=function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,s=n.trackId,u=[];return e.forEach((function(e){var t=a.parseTrun(e).samples;t.forEach((function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=o),e.trackId=s,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),e.pts=r+e.compositionTimeOffset,r+=e.duration})),u=u.concat(t)})),u}(v,m,f),i=function(e,t,n){var i,o,a,u,l=new DataView(e.buffer,e.byteOffset,e.byteLength),c=[];for(o=0;o+4<e.length;o+=a)if(a=l.getUint32(o),o+=4,!(a<=0)&&6==(31&e[o])){var d=e.subarray(o+1,o+1+a),f=s(o,t);i={nalUnitType:"sei_rbsp",size:a,data:d,escapedRBSP:r(d),trackId:n},f?(i.pts=f.pts,i.dts=f.dts,u=f):(i.pts=u.pts,i.dts=u.dts),c.push(i)}return c}(l,n,p),u[p]||(u[p]=[]),u[p]=u[p].concat(i))})),u};e.exports=function(){var e,t,n,r,o,a,s=!1;this.isInitialized=function(){return s},this.init=function(t){e=new i,s=!0,a=!!t&&t.isPartial,e.on("data",(function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,o.captions.push(e),o.captionStreams[e.stream]=!0}))},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,i,a){var s;if(!this.isInitialized())return null;if(!i||!a)return null;if(this.isNewInit(i,a))n=i[0],r=a[n];else if(null===n||!r)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,i,a)}return s=function(e,t,n){return null===t?null:{seiNals:u(e,t)[t],timescale:n}}(e,n,r),null!==s&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),o):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;a?e.partialFlush():e.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={}},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,o?this.clearParsedCaptions():o={captions:[],captionStreams:{}},this.resetCaptionStream()},this.reset()}},47661:function(e,t,n){"use strict";var r,i,o,a,s,u=n(71976).toUnsigned,l=n(71976).toHexString,c=n(42628);r=function(e){return c.findBox(e,["moov","trak"]).reduce((function(e,t){var n,r,i,o,a;return(n=c.findBox(t,["tkhd"])[0])?(r=n[0],o=u(n[i=0===r?12:20]<<24|n[i+1]<<16|n[i+2]<<8|n[i+3]),(a=c.findBox(t,["mdia","mdhd"])[0])?(i=0===(r=a[0])?12:20,e[o]=u(a[i]<<24|a[i+1]<<16|a[i+2]<<8|a[i+3]),e):null):null}),{})},i=function(e,t){var n,r,i;return n=c.findBox(t,["moof","traf"]),r=[].concat.apply([],n.map((function(t){return c.findBox(t,["tfhd"]).map((function(n){var r,i,o;return r=u(n[4]<<24|n[5]<<16|n[6]<<8|n[7]),i=e[r]||9e4,o=c.findBox(t,["tfdt"]).map((function(e){var t,n;return t=e[0],n=u(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),1===t&&(n*=Math.pow(2,32),n+=u(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),n}))[0],(o=o||1/0)/i}))}))),i=Math.min.apply(null,r),isFinite(i)?i:0},o=function(e,t){var n,r=c.findBox(t,["moof","traf"]),i=0,o=0;if(r&&r.length)for(var a=c.parseTraf(r[0]),s=0;s<a.boxes.length;s++)"tfhd"===a.boxes[s].type?n=a.boxes[s].trackId:"tfdt"===a.boxes[s].type?i=a.boxes[s].baseMediaDecodeTime:"trun"===a.boxes[s].type&&a.boxes[s].samples.length&&(o=a.boxes[s].samples[0].compositionTimeOffset||0);return(i+o)/(e[n]||9e4)},a=function(e){var t=c.findBox(e,["moov","trak"]),n=[];return t.forEach((function(e){var t=c.findBox(e,["mdia","hdlr"]),r=c.findBox(e,["tkhd"]);t.forEach((function(e,t){var i,o,a=c.parseType(e.subarray(8,12)),s=r[t];"vide"===a&&(o=0===(i=new DataView(s.buffer,s.byteOffset,s.byteLength)).getUint8(0)?i.getUint32(12):i.getUint32(20),n.push(o))}))})),n},s=function(e){var t=c.findBox(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,i={},o=c.findBox(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=c.findBox(e,["mdia","hdlr"])[0];if(a){var s=c.parseType(a.subarray(8,12));i.type="vide"===s?"video":"soun"===s?"audio":s}var d=c.findBox(e,["mdia","minf","stbl","stsd"])[0];if(d){var f=d.subarray(8);i.codec=c.parseType(f.subarray(4,8));var p,h=c.findBox(f,[i.codec])[0];h&&(/^[a-z]vc[1-9]$/i.test(i.codec)?(p=h.subarray(78),"avcC"===c.parseType(p.subarray(4,8))&&p.length>11?(i.codec+=".",i.codec+=l(p[9]),i.codec+=l(p[10]),i.codec+=l(p[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)&&(p=h.subarray(28),"esds"===c.parseType(p.subarray(4,8))&&p.length>20&&0!==p[19]?(i.codec+="."+l(p[19]),i.codec+="."+l(p[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"))}var m=c.findBox(e,["mdia","mdhd"])[0];if(m&&o){var v=0===r?12:20;i.timescale=u(m[v]<<24|m[v+1]<<16|m[v+2]<<8|m[v+3])}n.push(i)})),n},e.exports={findBox:c.findBox,parseType:c.parseType,timescale:r,startTime:i,compositionStartTime:o,videoTrackIds:a,tracks:s}},16221:function(e){"use strict";e.exports={parseSei: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){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}t+=i,r=0,i=0}return n},parseUserData: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)},parseCaptionPackets: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},discardEmulationPreventionBytes: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},USER_DATA_REGISTERED_ITU_T_T35:4}},42628:function(e,t,n){"use strict";var r,i,o=n(71976).toUnsigned,a=function(e){return new Date(1e3*e-20828448e5)},s=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]}},u=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])},l=function(e,t){var n,r,i,a,s,c=[];if(!t.length)return null;for(n=0;n<e.byteLength;)r=o(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),i=u(e.subarray(n+4,n+8)),a=r>1?n+r:e.byteLength,i===t[0]&&(1===t.length?c.push(e.subarray(n+8,a)):(s=l(e.subarray(n+8,a),t.slice(1))).length&&(c=c.concat(s))),n=a;return c},c=function(e){var t,n,r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=[];for(t=0;t+4<e.length;t+=n)if(n=r.getUint32(t),t+=4,n<=0)i.push("<span style='color:red;'>MALFORMED DATA</span>");else switch(31&e[t]){case 1:i.push("slice_layer_without_partitioning_rbsp");break;case 5:i.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:i.push("sei_rbsp");break;case 7:i.push("seq_parameter_set_rbsp");break;case 8:i.push("pic_parameter_set_rbsp");break;case 9:i.push("access_unit_delimiter_rbsp");break;default:i.push("UNKNOWN NAL - "+e[t]&31)}return i},d={avc1:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{dataReferenceIndex:t.getUint16(6),width:t.getUint16(24),height:t.getUint16(26),horizresolution:t.getUint16(28)+t.getUint16(30)/16,vertresolution:t.getUint16(32)+t.getUint16(34)/16,frameCount:t.getUint16(40),depth:t.getUint16(74),config:r(e.subarray(78,e.byteLength))}},avcC:function(e){var t,n,r,i,o=new DataView(e.buffer,e.byteOffset,e.byteLength),a={configurationVersion:e[0],avcProfileIndication:e[1],profileCompatibility:e[2],avcLevelIndication:e[3],lengthSizeMinusOne:3&e[4],sps:[],pps:[]},s=31&e[5];for(r=6,i=0;i<s;i++)n=o.getUint16(r),r+=2,a.sps.push(new Uint8Array(e.subarray(r,r+n))),r+=n;for(t=e[r],r++,i=0;i<t;i++)n=o.getUint16(r),r+=2,a.pps.push(new Uint8Array(e.subarray(r,r+n))),r+=n;return a},btrt:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{bufferSizeDB:t.getUint32(0),maxBitrate:t.getUint32(4),avgBitrate:t.getUint32(8)}},esds:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),esId:e[6]<<8|e[7],streamPriority:31&e[8],decoderConfig:{objectProfileIndication:e[11],streamType:e[12]>>>2&63,bufferSize:e[13]<<16|e[14]<<8|e[15],maxBitrate:e[16]<<24|e[17]<<16|e[18]<<8|e[19],avgBitrate:e[20]<<24|e[21]<<16|e[22]<<8|e[23],decoderConfigDescriptor:{tag:e[24],length:e[25],audioObjectType:e[26]>>>3&31,samplingFrequencyIndex:(7&e[26])<<1|e[27]>>>7&1,channelConfiguration:e[27]>>>3&15}}}},ftyp:function(e){for(var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={majorBrand:u(e.subarray(0,4)),minorVersion:t.getUint32(4),compatibleBrands:[]},r=8;r<e.byteLength;)n.compatibleBrands.push(u(e.subarray(r,r+4))),r+=4;return n},dinf:function(e){return{boxes:r(e)}},dref:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),dataReferences:r(e.subarray(8))}},hdlr:function(e){var t={version:new DataView(e.buffer,e.byteOffset,e.byteLength).getUint8(0),flags:new Uint8Array(e.subarray(1,4)),handlerType:u(e.subarray(8,12)),name:""},n=8;for(n=24;n<e.byteLength;n++){if(0===e[n]){n++;break}t.name+=String.fromCharCode(e[n])}return t.name=decodeURIComponent(escape(t.name)),t},mdat:function(e){return{byteLength:e.byteLength,nals:c(e)}},mdhd:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=4,i={version:n.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),language:""};return 1===i.version?(r+=4,i.creationTime=a(n.getUint32(r)),r+=8,i.modificationTime=a(n.getUint32(r)),r+=4,i.timescale=n.getUint32(r),r+=8,i.duration=n.getUint32(r)):(i.creationTime=a(n.getUint32(r)),r+=4,i.modificationTime=a(n.getUint32(r)),r+=4,i.timescale=n.getUint32(r),r+=4,i.duration=n.getUint32(r)),r+=4,t=n.getUint16(r),i.language+=String.fromCharCode(96+(t>>10)),i.language+=String.fromCharCode(96+((992&t)>>5)),i.language+=String.fromCharCode(96+(31&t)),i},mdia:function(e){return{boxes:r(e)}},mfhd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),sequenceNumber:e[4]<<24|e[5]<<16|e[6]<<8|e[7]}},minf:function(e){return{boxes:r(e)}},mp4a:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={dataReferenceIndex:t.getUint16(6),channelcount:t.getUint16(16),samplesize:t.getUint16(18),samplerate:t.getUint16(24)+t.getUint16(26)/65536};return e.byteLength>28&&(n.streamDescriptor=r(e.subarray(28))[0]),n},moof:function(e){return{boxes:r(e)}},moov:function(e){return{boxes:r(e)}},mvex:function(e){return{boxes:r(e)}},mvhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=4,r={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4))};return 1===r.version?(n+=4,r.creationTime=a(t.getUint32(n)),n+=8,r.modificationTime=a(t.getUint32(n)),n+=4,r.timescale=t.getUint32(n),n+=8,r.duration=t.getUint32(n)):(r.creationTime=a(t.getUint32(n)),n+=4,r.modificationTime=a(t.getUint32(n)),n+=4,r.timescale=t.getUint32(n),n+=4,r.duration=t.getUint32(n)),n+=4,r.rate=t.getUint16(n)+t.getUint16(n+2)/16,n+=4,r.volume=t.getUint8(n)+t.getUint8(n+1)/8,n+=2,n+=2,n+=8,r.matrix=new Uint32Array(e.subarray(n,n+36)),n+=36,n+=24,r.nextTrackId=t.getUint32(n),r},pdin:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),rate:t.getUint32(4),initialDelay:t.getUint32(8)}},sdtp:function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]};for(t=4;t<e.byteLength;t++)n.samples.push({dependsOn:(48&e[t])>>4,isDependedOn:(12&e[t])>>2,hasRedundancy:3&e[t]});return n},sidx:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:n.getUint32(4),timescale:n.getUint32(8),earliestPresentationTime:n.getUint32(12),firstOffset:n.getUint32(16)},i=n.getUint16(22);for(t=24;i;t+=12,i--)r.references.push({referenceType:(128&e[t])>>>7,referencedSize:2147483647&n.getUint32(t),subsegmentDuration:n.getUint32(t+4),startsWithSap:!!(128&e[t+8]),sapType:(112&e[t+8])>>>4,sapDeltaTime:268435455&n.getUint32(t+8)});return r},smhd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),balance:e[4]+e[5]/256}},stbl:function(e){return{boxes:r(e)}},stco:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),chunkOffsets:[]},i=n.getUint32(4);for(t=8;i;t+=4,i--)r.chunkOffsets.push(n.getUint32(t));return r},stsc:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=n.getUint32(4),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleToChunks:[]};for(t=8;r;t+=12,r--)i.sampleToChunks.push({firstChunk:n.getUint32(t),samplesPerChunk:n.getUint32(t+4),sampleDescriptionIndex:n.getUint32(t+8)});return i},stsd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleDescriptions:r(e.subarray(8))}},stsz:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleSize:n.getUint32(4),entries:[]};for(t=12;t<e.byteLength;t+=4)r.entries.push(n.getUint32(t));return r},stts:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),timeToSamples:[]},i=n.getUint32(4);for(t=8;i;t+=8,i--)r.timeToSamples.push({sampleCount:n.getUint32(t),sampleDelta:n.getUint32(t+4)});return r},styp:function(e){return d.ftyp(e)},tfdt:function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4)),baseMediaDecodeTime:o(e[4]<<24|e[5]<<16|e[6]<<8|e[7])};return 1===t.version&&(t.baseMediaDecodeTime*=Math.pow(2,32),t.baseMediaDecodeTime+=o(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),t},tfhd: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},tkhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=4,r={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4))};return 1===r.version?(n+=4,r.creationTime=a(t.getUint32(n)),n+=8,r.modificationTime=a(t.getUint32(n)),n+=4,r.trackId=t.getUint32(n),n+=4,n+=8,r.duration=t.getUint32(n)):(r.creationTime=a(t.getUint32(n)),n+=4,r.modificationTime=a(t.getUint32(n)),n+=4,r.trackId=t.getUint32(n),n+=4,n+=4,r.duration=t.getUint32(n)),n+=4,n+=8,r.layer=t.getUint16(n),n+=2,r.alternateGroup=t.getUint16(n),n+=2,r.volume=t.getUint8(n)+t.getUint8(n+1)/8,n+=2,n+=2,r.matrix=new Uint32Array(e.subarray(n,n+36)),n+=36,r.width=t.getUint16(n)+t.getUint16(n+2)/16,n+=4,r.height=t.getUint16(n)+t.getUint16(n+2)/16,r},traf:function(e){return{boxes:r(e)}},trak:function(e){return{boxes:r(e)}},trex:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:t.getUint32(4),defaultSampleDescriptionIndex:t.getUint32(8),defaultSampleDuration:t.getUint32(12),defaultSampleSize:t.getUint32(16),sampleDependsOn:3&e[20],sampleIsDependedOn:(192&e[21])>>6,sampleHasRedundancy:(48&e[21])>>4,samplePaddingValue:(14&e[21])>>1,sampleIsDifferenceSample:!!(1&e[21]),sampleDegradationPriority:t.getUint16(22)}},trun: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],u=2&n.flags[1],l=4&n.flags[1],c=8&n.flags[1],d=r.getUint32(4),f=8;for(i&&(n.dataOffset=r.getInt32(f),f+=4),o&&d&&(t={flags:s(e.subarray(f,f+4))},f+=4,a&&(t.duration=r.getUint32(f),f+=4),u&&(t.size=r.getUint32(f),f+=4),c&&(t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t),d--);d--;)t={},a&&(t.duration=r.getUint32(f),f+=4),u&&(t.size=r.getUint32(f),f+=4),l&&(t.flags=s(e.subarray(f,f+4)),f+=4),c&&(t.compositionTimeOffset=r.getUint32(f),f+=4),n.samples.push(t);return n},"url ":function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4))}},vmhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),graphicsmode:t.getUint16(4),opcolor:new Uint16Array([t.getUint16(6),t.getUint16(8),t.getUint16(10)])}}};r=function(e){for(var t,n,r,i,o,a=0,s=[],l=new ArrayBuffer(e.length),c=new Uint8Array(l),f=0;f<e.length;++f)c[f]=e[f];for(t=new DataView(l);a<e.byteLength;)n=t.getUint32(a),r=u(e.subarray(a+4,a+8)),i=n>1?a+n:e.byteLength,(o=(d[r]||function(e){return{data:e}})(e.subarray(a+8,i))).size=n,o.type=r,s.push(o),a=i;return s},i=function(e,t){var n;return t=t||0,n=new Array(2*t+1).join(" "),e.map((function(e,r){return n+e.type+"\n"+Object.keys(e).filter((function(e){return"type"!==e&&"boxes"!==e})).map((function(t){var r=n+" "+t+": ",i=e[t];if(i instanceof Uint8Array||i instanceof Uint32Array){var o=Array.prototype.slice.call(new Uint8Array(i.buffer,i.byteOffset,i.byteLength)).map((function(e){return" "+("00"+e.toString(16)).slice(-2)})).join("").match(/.{1,24}/g);return o?1===o.length?r+"<"+o.join("").slice(1)+">":r+"<\n"+o.map((function(e){return n+" "+e})).join("\n")+"\n"+n+" >":r+"<>"}return r+JSON.stringify(i,null,2).split("\n").map((function(e,t){return 0===t?e:n+" "+e})).join("\n")})).join("\n")+(e.boxes?"\n"+i(e.boxes,t+1):"")})).join("\n")},e.exports={inspect:r,textify:i,parseType:u,findBox:l,parseTraf:d.traf,parseTfdt:d.tfdt,parseHdlr:d.hdlr,parseTfhd:d.tfhd,parseTrun:d.trun,parseSidx:d.sidx}},65547:function(e,t,n){"use strict";var r=n(25215),i=n(10817).handleRollover,o={};o.ts=n(34149),o.aac=n(85220);var a=n(51489).ONE_SECOND_IN_TS,s=188,u=71,l=function(e,t,n){for(var r,i,a,l,c=0,d=s,f=!1;d<=e.byteLength;)if(e[c]!==u||e[d]!==u&&d!==e.byteLength)c++,d++;else{if(r=e.subarray(c,d),"pes"===o.ts.parseType(r,t.pid))i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(l=o.ts.parsePesTime(r))&&(l.type="audio",n.audio.push(l),f=!0);if(f)break;c+=s,d+=s}for(c=(d=e.byteLength)-s,f=!1;c>=0;)if(e[c]!==u||e[d]!==u&&d!==e.byteLength)c--,d--;else{if(r=e.subarray(c,d),"pes"===o.ts.parseType(r,t.pid))i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(l=o.ts.parsePesTime(r))&&(l.type="audio",n.audio.push(l),f=!0);if(f)break;c-=s,d-=s}},c=function(e,t,n){for(var r,i,a,l,c,d,f,p=0,h=s,m=!1,v={data:[],size:0};h<e.byteLength;)if(e[p]!==u||e[h]!==u)p++,h++;else{if(r=e.subarray(p,h),"pes"===o.ts.parseType(r,t.pid))if(i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"video"===i&&(a&&!m&&(l=o.ts.parsePesTime(r))&&(l.type="video",n.video.push(l),m=!0),!n.firstKeyFrame)){if(a&&0!==v.size){for(c=new Uint8Array(v.size),d=0;v.data.length;)f=v.data.shift(),c.set(f,d),d+=f.byteLength;if(o.ts.videoPacketContainsKeyFrame(c)){var g=o.ts.parsePesTime(c);g?(n.firstKeyFrame=g,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.")}v.size=0}v.data.push(r),v.size+=r.byteLength}if(m&&n.firstKeyFrame)break;p+=s,h+=s}for(p=(h=e.byteLength)-s,m=!1;p>=0;)if(e[p]!==u||e[h]!==u)p--,h--;else{if(r=e.subarray(p,h),"pes"===o.ts.parseType(r,t.pid))i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"video"===i&&a&&(l=o.ts.parsePesTime(r))&&(l.type="video",n.video.push(l),m=!0);if(m)break;p-=s,h-=s}},d=function(e){var t={pid:null,table:null},n={};for(var i in function(e,t){for(var n,r=0,i=s;i<e.byteLength;)if(e[r]!==u||e[i]!==u)r++,i++;else{switch(n=e.subarray(r,i),o.ts.parseType(n,t.pid)){case"pat":t.pid||(t.pid=o.ts.parsePat(n));break;case"pmt":t.table||(t.table=o.ts.parsePmt(n))}if(t.pid&&t.table)return;r+=s,i+=s}}(e,t),t.table){if(t.table.hasOwnProperty(i))switch(t.table[i]){case r.H264_STREAM_TYPE:n.video=[],c(e,t,n),0===n.video.length&&delete n.video;break;case r.ADTS_STREAM_TYPE:n.audio=[],l(e,t,n),0===n.audio.length&&delete n.audio}}return n};e.exports={inspect:function(e,t){var n;return n=o.aac.isLikelyAacData(e)?function(e){for(var t,n=!1,r=0,i=null,s=null,u=0,l=0;e.length-l>=3;){switch(o.aac.parseType(e,l)){case"timed-metadata":if(e.length-l<10){n=!0;break}if((u=o.aac.parseId3TagSize(e,l))>e.length){n=!0;break}null===s&&(t=e.subarray(l,l+u),s=o.aac.parseAacTimestamp(t)),l+=u;break;case"audio":if(e.length-l<7){n=!0;break}if((u=o.aac.parseAdtsSize(e,l))>e.length){n=!0;break}null===i&&(t=e.subarray(l,l+u),i=o.aac.parseSampleRate(t)),r++,l+=u;break;default:l++}if(n)return null}if(null===i||null===s)return null;var c=a/i;return{audio:[{type:"audio",dts:s,pts:s},{type:"audio",dts:s+1024*r*c,pts:s+1024*r*c}]}}(e):d(e),n&&(n.audio||n.video)?(function(e,t){if(e.audio&&e.audio.length){var n=t;void 0===n&&(n=e.audio[0].dts),e.audio.forEach((function(e){e.dts=i(e.dts,n),e.pts=i(e.pts,n),e.dtsTime=e.dts/a,e.ptsTime=e.pts/a}))}if(e.video&&e.video.length){var r=t;if(void 0===r&&(r=e.video[0].dts),e.video.forEach((function(e){e.dts=i(e.dts,r),e.pts=i(e.pts,r),e.dtsTime=e.dts/a,e.ptsTime=e.pts/a})),e.firstKeyFrame){var o=e.firstKeyFrame;o.dts=i(o.dts,r),o.pts=i(o.pts,r),o.dtsTime=o.dts/a,o.ptsTime=o.dts/a}}}(n,t),n):null},parseAudioPes_:l}},71976:function(e){e.exports={toUnsigned:function(e){return e>>>0},toHexString:function(e){return("00"+e.toString(16)).slice(-2)}}},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}},71961:function(e){"use strict";var t=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={}}}};t.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},t.prototype.push=function(e){this.trigger("data",e)},t.prototype.flush=function(e){this.trigger("done",e)},t.prototype.partialFlush=function(e){this.trigger("partialdone",e)},t.prototype.endTimeline=function(e){this.trigger("endedtimeline",e)},t.prototype.reset=function(e){this.trigger("reset",e)},e.exports=t},82120:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},92077:function(e,t,n){var r,i;r=function(){var e,t,n,r,i,o="2.0.6",a={},s={},u={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function c(e,t){this._input=e,this._value=t}return(e=function(n){var r,i,o,s;if(e.isNumeral(n))r=n.value();else if(0===n||void 0===n)r=0;else if(null===n||t.isNaN(n))r=null;else if("string"==typeof n)if(l.zeroFormat&&n===l.zeroFormat)r=0;else if(l.nullFormat&&n===l.nullFormat||!n.replace(/[^0-9]+/g,"").length)r=null;else{for(i in a)if((s="function"==typeof a[i].regexps.unformat?a[i].regexps.unformat():a[i].regexps.unformat)&&n.match(s)){o=a[i].unformat;break}r=(o=o||e._.stringToNumber)(n)}else r=Number(n)||null;return new c(n,r)}).version=o,e.isNumeral=function(e){return e instanceof c},e._=t={numberToFormat:function(t,n,r){var i,o,a,u,l,c,d,f=s[e.options.currentLocale],p=!1,h=!1,m=0,v="",g=1e12,y=1e9,b=1e6,_=1e3,w="",k=!1;if(t=t||0,o=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(l=e._.includes(n,"+")?n.indexOf("+"):t<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),e._.includes(n,"a")&&(i=!!(i=n.match(/a(k|m|b|t)?/))&&i[1],e._.includes(n," a")&&(v=" "),n=n.replace(new RegExp(v+"a[kmbt]?"),""),o>=g&&!i||"t"===i?(v+=f.abbreviations.trillion,t/=g):o<g&&o>=y&&!i||"b"===i?(v+=f.abbreviations.billion,t/=y):o<y&&o>=b&&!i||"m"===i?(v+=f.abbreviations.million,t/=b):(o<b&&o>=_&&!i||"k"===i)&&(v+=f.abbreviations.thousand,t/=_)),e._.includes(n,"[.]")&&(h=!0,n=n.replace("[.]",".")),a=t.toString().split(".")[0],u=n.split(".")[1],c=n.indexOf(","),m=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,u?(e._.includes(u,"[")?(u=(u=u.replace("]","")).split("["),w=e._.toFixed(t,u[0].length+u[1].length,r,u[1].length)):w=e._.toFixed(t,u.length,r),a=w.split(".")[0],w=e._.includes(w,".")?f.delimiters.decimal+w.split(".")[1]:"",h&&0===Number(w.slice(1))&&(w="")):a=e._.toFixed(t,0,r),v&&!i&&Number(a)>=1e3&&v!==f.abbreviations.trillion)switch(a=String(Number(a)/1e3),v){case f.abbreviations.thousand:v=f.abbreviations.million;break;case f.abbreviations.million:v=f.abbreviations.billion;break;case f.abbreviations.billion:v=f.abbreviations.trillion}if(e._.includes(a,"-")&&(a=a.slice(1),k=!0),a.length<m)for(var E=m-a.length;E>0;E--)a="0"+a;return c>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),0===n.indexOf(".")&&(a=""),d=a+w+(v||""),p?d=(p&&k?"(":"")+d+(p&&k?")":""):l>=0?d=0===l?(k?"-":"+")+d:d+(k?"-":"+"):k&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,i=s[l.currentLocale],o=e,a={thousand:3,million:6,billion:9,trillion:12};if(l.zeroFormat&&e===l.zeroFormat)n=0;else if(l.nullFormat&&e===l.nullFormat||!e.replace(/[^0-9]+/g,"").length)n=null;else{for(t in n=1,"."!==i.delimiters.decimal&&(e=e.replace(/\./g,"").replace(i.delimiters.decimal,".")),a)if(r=new RegExp("[^a-zA-Z]"+i.abbreviations[t]+"(?:\\)|(\\"+i.currency.symbol+")?(?:\\))?)?$"),o.match(r)){n*=Math.pow(10,a[t]);break}n*=(e.split("-").length+Math.min(e.split("(").length-1,e.split(")").length-1))%2?1:-1,e=e.replace(/[^0-9\.]+/g,""),n*=Number(e)}return n},isNaN:function(e){return"number"==typeof e&&isNaN(e)},includes:function(e,t){return-1!==e.indexOf(t)},insert:function(e,t,n){return e.slice(0,n)+t+e.slice(n)},reduce:function(e,t){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!=typeof t)throw new TypeError(t+" is not a function");var n,r=Object(e),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{for(;o<i&&!(o in r);)o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;o++)o in r&&(n=t(n,r[o],o,r));return n},multiplier:function(e){var t=e.toString().split(".");return t.length<2?1:Math.pow(10,t[1].length)},correctionFactor:function(){return Array.prototype.slice.call(arguments).reduce((function(e,n){var r=t.multiplier(n);return e>r?e:r}),1)},toFixed:function(e,t,n,r){var i,o,a,s,u=e.toString().split("."),l=t-(r||0);return i=2===u.length?Math.min(Math.max(u[1].length,l),t):l,a=Math.pow(10,i),s=(n(e+"e+"+i)/a).toFixed(i),r>t-i&&(o=new RegExp("\\.?0{1,"+(r-(t-i))+"}$"),s=s.replace(o,"")),s}},e.options=l,e.formats=a,e.locales=s,e.locale=function(e){return e&&(l.currentLocale=e.toLowerCase()),l.currentLocale},e.localeData=function(e){if(!e)return s[l.currentLocale];if(e=e.toLowerCase(),!s[e])throw new Error("Unknown locale : "+e);return s[e]},e.reset=function(){for(var e in u)l[e]=u[e]},e.zeroFormat=function(e){l.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){l.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){l.defaultFormat="string"==typeof e?e:"0.0"},e.register=function(e,t,n){if(t=t.toLowerCase(),this[e+"s"][t])throw new TypeError(t+" "+e+" already registered.");return this[e+"s"][t]=n,n},e.validate=function(t,n){var r,i,o,a,s,u,l,c;if("string"!=typeof t&&(t+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",t)),(t=t.trim()).match(/^\d+$/))return!0;if(""===t)return!1;try{l=e.localeData(n)}catch(t){l=e.localeData(e.locale())}return o=l.currency.symbol,s=l.abbreviations,r=l.delimiters.decimal,i="."===l.delimiters.thousands?"\\.":l.delimiters.thousands,!(null!==(c=t.match(/^[^\d]+/))&&(t=t.substr(1),c[0]!==o)||null!==(c=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),c[0]!==s.thousand&&c[0]!==s.million&&c[0]!==s.billion&&c[0]!==s.trillion)||(u=new RegExp(i+"{2}"),t.match(/[^\d.,]/g)||(a=t.split(r)).length>2||(a.length<2?!a[0].match(/^\d+.*\d$/)||a[0].match(u):1===a[0].length?!a[0].match(/^\d+$/)||a[0].match(u)||!a[1].match(/^\d+$/):!a[0].match(/^\d+.*\d$/)||a[0].match(u)||!a[1].match(/^\d+$/))))},e.fn=c.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,o,s=this._value,u=t||l.defaultFormat;if(n=n||Math.round,0===s&&null!==l.zeroFormat)i=l.zeroFormat;else if(null===s&&null!==l.nullFormat)i=l.nullFormat;else{for(r in a)if(u.match(a[r].regexps.format)){o=a[r].format;break}i=(o=o||e._.numberToFormat)(s,u,n)}return i},value:function(){return this._value},input:function(){return this._input},set:function(e){return this._value=Number(e),this},add:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e+Math.round(n*t)}return this._value=t.reduce([this._value,e],r,0)/n,this},subtract:function(e){var n=t.correctionFactor.call(null,this._value,e);function r(e,t,r,i){return e-Math.round(n*t)}return this._value=t.reduce([e],r,Math.round(this._value*n))/n,this},multiply:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)*Math.round(n*o)/Math.round(o*o)}return this._value=t.reduce([this._value,e],n,1),this},divide:function(e){function n(e,n,r,i){var o=t.correctionFactor(e,n);return Math.round(e*o)/Math.round(n*o)}return this._value=t.reduce([this._value,e],n),this},difference:function(t){return Math.abs(e(this._value).subtract(t).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(e){var t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},currency:{symbol:"$"}}),e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(t,n,r){var i,o=e._.includes(n," BPS")?" ":"";return t*=1e4,n=n.replace(/\s?BPS/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(t){return+(1e-4*e._.stringToNumber(t)).toFixed(15)}}),r={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},i="("+(i=(n={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}).suffixes.concat(r.suffixes.filter((function(e){return n.suffixes.indexOf(e)<0}))).join("|")).replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(t,i,o){var a,s,u,l=e._.includes(i,"ib")?r:n,c=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=l.suffixes.length;a++)if(s=Math.pow(l.base,a),u=Math.pow(l.base,a+1),null===t||0===t||t>=s&&t<u){c+=l.suffixes[a],s>0&&(t/=s);break}return e._.numberToFormat(t,i,o)+c},unformat:function(t){var i,o,a=e._.stringToNumber(t);if(a){for(i=n.suffixes.length-1;i>=0;i--){if(e._.includes(t,n.suffixes[i])){o=Math.pow(n.base,i);break}if(e._.includes(t,r.suffixes[i])){o=Math.pow(r.base,i);break}}a*=o||1}return a}}),e.register("format","currency",{regexps:{format:/(\$)/},format:function(t,n,r){var i,o,a=e.locales[e.options.currentLocale],s={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=e._.numberToFormat(t,n,r),t>=0?(s.before=s.before.replace(/[\-\(]/,""),s.after=s.after.replace(/[\-\)]/,"")):t<0&&!e._.includes(s.before,"-")&&!e._.includes(s.before,"(")&&(s.before="-"+s.before),o=0;o<s.before.length;o++)switch(s.before[o]){case"$":i=e._.insert(i,a.currency.symbol,o);break;case" ":i=e._.insert(i," ",o+a.currency.symbol.length-1)}for(o=s.after.length-1;o>=0;o--)switch(s.after[o]){case"$":i=o===s.after.length-1?i+a.currency.symbol:e._.insert(i,a.currency.symbol,-(s.after.length-(1+o)));break;case" ":i=o===s.after.length-1?i+" ":e._.insert(i," ",-(s.after.length-(1+o)+a.currency.symbol.length-1))}return i}}),e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(t,n,r){var i=("number"!=typeof t||e._.isNaN(t)?"0e+0":t.toExponential()).split("e");return n=n.replace(/e[\+|\-]{1}0/,""),e._.numberToFormat(Number(i[0]),n,r)+"e"+i[1]},unformat:function(t){var n=e._.includes(t,"e+")?t.split("e+"):t.split("e-"),r=Number(n[0]),i=Number(n[1]);function o(t,n,r,i){var o=e._.correctionFactor(t,n);return t*o*(n*o)/(o*o)}return i=e._.includes(t,"e-")?i*=-1:i,e._.reduce([r,Math.pow(10,i)],o,1)}}),e.register("format","ordinal",{regexps:{format:/(o)/},format:function(t,n,r){var i=e.locales[e.options.currentLocale],o=e._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),o+=i.ordinal(t),e._.numberToFormat(t,n,r)+o}}),e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(t,n,r){var i,o=e._.includes(n," %")?" ":"";return e.options.scalePercentBy100&&(t*=100),n=n.replace(/\s?\%/,""),i=e._.numberToFormat(t,n,r),e._.includes(i,")")?((i=i.split("")).splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(t){var n=e._.stringToNumber(t);return e.options.scalePercentBy100?.01*n:n}}),e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(e,t,n){var r=Math.floor(e/60/60),i=Math.floor((e-60*r*60)/60),o=Math.round(e-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(e){var t=e.split(":"),n=0;return 3===t.length?(n+=60*Number(t[0])*60,n+=60*Number(t[1]),n+=Number(t[2])):2===t.length&&(n+=60*Number(t[0]),n+=Number(t[1])),Number(n)}}),e},void 0===(i="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=i)},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 L=s(w)?"function"==typeof i?i(n,N):n:n+(h?"."+N:"["+N+"]");c(C,e(P,L,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(14286),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(8240),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}))},14286: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(14286),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}))},8240: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}},85470: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(85470),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 M}));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=L(this.props)[0];this.confetti=new b(this.canvas.current,e)}}},{key:"componentWillReceiveProps",value:function(e){var t=L(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(L(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 L(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 M=a.a.forwardRef((function(e,t){return a.a.createElement(P,k({canvasRef:t},e))}));t.default=M}]).default)},86869:function(e,t,n){var r=n(13601);"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},13601: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}}},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,L=_?Symbol.for("react.memo"):60115,M=_?Symbol.for("react.lazy"):60116,I=_?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 L:return q(e.type);case I:return q(e.render);case M: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 B=null,F={};function U(){if(B)for(var e in F){var t=F[e],n=B.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(!F.hasOwnProperty(t)||F[t]!==r){if(F[t])throw Error(a(102,t));F[t]=r,n=!0}}n&&U()}var K=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Z=null,X=null,$=null;function Q(e){if(e=m(e)){if("function"!=typeof Z)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),Z(e.stateNode,e.type,t))}}function J(e){X?$?$.push(e):$=[e]:X=e}function ee(){if(X){var e=X,t=$;if($=X=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===X&&null===$||(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 Le(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 Me(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 Ie="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,Be,Fe=(Be=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 Be(e,t)}))}:Be);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"),Ze=Ye("animationstart"),Xe=Ye("transitionend"),$e="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":Zt(t,"scroll",!0);break;case"focus":case"blur":Zt(t,"focus",!0),Zt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Zt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===$e.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=Ln(t))&&gt(t)),e):(e.eventSystemFlags|=r,e)}function Lt(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 Mt(e){if(null!==e.blockedOn)return!1;var t=Jt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Ln(t);return null!==n&&gt(n),e.blockedOn=t,!1}return!0}function It(e,t,n){Mt(e)&&n.delete(t)}function Rt(){for(bt=!1;0<_t.length;){var e=_t[0];if(null!==e.blockedOn){null!==(e=Ln(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&&Mt(wt)&&(wt=null),null!==kt&&Mt(kt)&&(kt=null),null!==Et&&Mt(Et)&&(Et=null),xt.forEach(It),St.forEach(It)}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;)Lt(n),null===n.blockedOn&&Tt.shift()}var jt={},Bt=new Map,Ft=new Map,Ut=["abort","abort",Ge,"animationEnd",Ke,"animationIteration",Ze,"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",Xe,"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},Ft.set(r,t),Bt.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++)Ft.set(Ht[Vt],0);var Wt=o.unstable_UserBlockingPriority,Yt=o.unstable_runWithPriority,Gt=!0;function Kt(e,t){Zt(t,e,!1)}function Zt(e,t,n){var r=Ft.get(t);switch(void 0===r?2:r){case 0:r=Xt.bind(null,t,1,e);break;case 1:r=$t.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 Xt(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 $t(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=Ie;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 Ln(e){return!(e=e[An]||e[Nn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function In(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 Bn(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 Fn(e){e&&e.dispatchConfig.registrationName&&Bn(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 Zn(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 Xn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Zn,e.release=Xn}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,$n(n),n},$n(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(Mn(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?Mn(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 Lr(){return Pr}var Mr=0,Ir=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:Lr,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=Mr;return Mr=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=Ir;return Ir=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}),Br={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Fr={eventTypes:Br,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=Br.mouseLeave,l=Br.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=jr,u=Br.pointerLeave,l=Br.pointerEnter,c="pointer");if(e=null==a?o:Mn(a),o=null==t?o:Mn(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++)Bn(s[c],"bubbled",u);for(c=r.length;0<c--;)Bn(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,Zr=!1;function Xr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Zr||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 $r={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?Mn(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":Zr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Zr=!1,Xr(n,r);case"selectionchange":if(Vr)break;case"keydown":case"keyup":return Xr(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:Lr,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:Lr}),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=Bt.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 Ze:e=Qr;break;case Xe: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(B)throw Error(a(101));B=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),U(),h=In,m=Ln,v=Mn,G({SimpleEventPlugin:li,EnterLeaveEventPlugin:Fr,ChangeEventPlugin:Ar,SelectEventPlugin:$r,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,Li=o.unstable_UserBlockingPriority,Mi=o.unstable_NormalPriority,Ii=o.unstable_LowPriority,Ri=o.unstable_IdlePriority,Di={},qi=o.unstable_shouldYield,ji=void 0!==Ai?Ai:function(){},Bi=null,Fi=null,Ui=!1,zi=Oi(),Hi=1e4>zi?Oi:function(){return Oi()-zi};function Vi(){switch(Ni()){case Pi:return 99;case Li:return 98;case Mi:return 97;case Ii:return 96;case Ri:return 95;default:throw Error(a(332))}}function Wi(e){switch(e){case 99:return Pi;case 98:return Li;case 97:return Mi;case 96:return Ii;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===Bi?(Bi=[e],Fi=Ti(Pi,Xi)):Bi.push(e),Di}function Zi(){if(null!==Fi){var e=Fi;Fi=null,Ci(e)}Xi()}function Xi(){if(!Ui&&null!==Bi){Ui=!0;var e=0;try{var t=Bi;Yi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Bi=null}catch(t){throw null!==Bi&&(Bi=Bi.slice(e+1)),Ti(Pi,Zi),t}finally{Ui=!1}}}function $i(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&&(Ia=!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=Iu(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={},Lo={current:Po},Mo={current:Po},Io={current:Po};function Ro(e){if(e===Po)throw Error(a(174));return e}function Do(e,t){switch(pi(Io,t),pi(Mo,e),pi(Lo,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(Lo),pi(Lo,t)}function qo(){fi(Lo),fi(Mo),fi(Io)}function jo(e){Ro(Io.current);var t=Ro(Lo.current),n=qe(t,e.type);t!==n&&(pi(Mo,e),pi(Lo,n))}function Bo(e){Mo.current===e&&(fi(Lo),fi(Mo))}var Fo={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,Zo=!1;function Xo(){throw Error(a(321))}function $o(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,Zo=!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)||(Ia=!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)||(Ia=!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&&$o(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&&$o(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&&$o(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)Zo=!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:Xo,useContext:Xo,useEffect:Xo,useImperativeHandle:Xo,useLayoutEffect:Xo,useMemo:Xo,useReducer:Xo,useRef:Xo,useState:Xo,useDebugValue:Xo,useResponder:Xo,useDeferredValue:Xo,useTransition:Xo},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=Lu(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 La(){Sa=xa=null,Ta=!1}var Ma=y.ReactCurrentOwner,Ia=!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||Ia?(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||Mu(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=Iu(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&&(Ia=!1,i<o)?(t.expirationTime=e.expirationTime,Qa(e,t,o)):Fa(e,t,n,r,o)}function Ba(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Fa(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||Ia?(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){Ba(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&xi(t,n,!1),Qa(e,t,o);r=t.stateNode,Ma.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=Fo.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(Fo,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=Iu(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=Iu(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 Za(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 Xa(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 $a(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ra(e,t,r.children,n),0!=(2&(r=Fo.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&&Za(e,n);else if(19===e.tag)Za(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(Fo,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),Xa(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}Xa(t,!0,n,null,o,t.lastEffect);break;case"together":Xa(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=Iu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Iu(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:Bo(t),n=Ro(Io.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(Lo.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<$e.length;e++)Kt($e[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),Me(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<$e.length;l++)Kt($e[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)&&Fe(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),Me(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(Io.current),Ro(Lo.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(Fo),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&Fo.current)?Rs===As&&(Rs=Os):(Rs!==As&&Rs!==Os||(Rs=Ns),0!==Fs&&null!==Ls&&(Uu(Ls,Is),zu(Ls,Fs)))),(n||r)&&(t.effectTag|=4),null);case 4:return qo(),null;case 10:return io(t),null;case 19:if(fi(Fo),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(Fo,1&Fo.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=Fo.current,pi(Fo,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 Bo(e),null;case 13:return fi(Fo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return fi(Fo),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(Lo.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?Fe(n,u):"children"===s?Ue(n,u):ge(n,s,u,t)}switch(e){case"input":Se(n,r);break;case"textarea":Le(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,Ls=null,Ms=null,Is=0,Rs=As,Ds=null,qs=1073741823,js=1073741823,Bs=null,Fs=0,Us=!1,zs=0,Hs=null,Vs=!1,Ws=null,Ys=null,Gs=!1,Ks=null,Zs=90,Xs=null,$s=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 Is;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ls&&e===Is&&--e,e}function nu(e,t){if(50<$s)throw $s=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&&Zi()):ou(e),0==(4&Ps)||98!==n&&99!==n||(null===Xs?Xs=new Map([[e,t]]):(void 0===(n=Xs.get(e))||n>t)&&Xs.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&&(Ls===i&&(hu(t),Rs===Ns&&Uu(i,Is)),zu(i,t)),i}function iu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Fu(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===Ls&&n===Is||cu(e,n),null!==Ms){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===Ms)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Rs,Ls=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!==Bs){o=qs;var s=Bs;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===Ls&&t===Is||cu(e,t),null!==Ms){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!==Ms)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ls=null,_u(e),ou(e)}return null}function uu(e,t){var n=Ps;Ps|=1;try{return e(t)}finally{0===(Ps=n)&&Zi()}}function lu(e,t){var n=Ps;Ps&=-2,Ps|=8;try{return e(t)}finally{0===(Ps=n)&&Zi()}}function cu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Ms)for(n=Ms.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:Bo(r);break;case 4:qo();break;case 13:case 19:fi(Fo);break;case 10:io(r)}n=n.return}Ls=e,Ms=Iu(e.current,null),Is=t,Rs=As,Ds=null,js=qs=1073741823,Bs=null,Fs=0,Us=!1}function du(e,t){for(;;){try{if(ro(),Ho.current=_a,Zo)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,Zo=!1,null===Ms||null===Ms.return)return Rs=1,Ds=t,Ms=null;e:{var i=e,o=Ms.return,a=Ms,s=t;if(t=Is,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&Fo.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)}Ms=yu(Ms)}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,Bs=t)}function hu(e){e>Fs&&(Fs=e)}function mu(){for(;null!==Ms;)Ms=gu(Ms)}function vu(){for(;null!==Ms&&!qi();)Ms=gu(Ms)}function gu(e){var t=ks(e.alternate,e,Is);return e.memoizedProps=e.pendingProps,null===t&&(t=yu(e)),Ss.current=null,t}function yu(e){Ms=e;do{var t=Ms.alternate;if(e=Ms.return,0==(2048&Ms.effectTag)){if(t=es(t,Ms,Is),1===Is||1!==Ms.childExpirationTime){for(var n=0,r=Ms.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Ms.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ms.firstEffect),null!==Ms.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ms.firstEffect),e.lastEffect=Ms.lastEffect),1<Ms.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ms:e.firstEffect=Ms,e.lastEffect=Ms))}else{if(null!==(t=ts(Ms)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ms.sibling))return t;Ms=e}while(null!==Ms);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===Ls&&(Ms=Ls=null,Is=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,Zs=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?$s++:($s=0,Qs=e):$s=0,"function"==typeof Ou&&Ou(n.stateNode,r),ou(e),Vs)throw Vs=!1,e=Ws,Ws=null,e;return 0!=(8&Ps)||Zi(),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!==Zs){var e=97<Zs?97:Zs;return Zs=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,Zi(),!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),Ls===e&&Is===n?Rs===Ns||Rs===Os&&1073741823===qs&&Hi()-zs<500?cu(e,Is):Us=!0:Fu(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)Ia=!0;else{if(r<n){switch(Ia=!1,t.tag){case 3:Ha(t),La();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(Fo,1&Fo.current),null!==(t=Qa(e,t,n))?t.sibling:null);pi(Fo,1&Fo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return $a(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),pi(Fo,Fo.current),!r)return null}return Qa(e,t,n)}Ia=!1}}else Ia=!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 Mu(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===L)return 14}return 2}(i),e=Qi(i,e),o){case 0:t=Fa(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,Fa(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)La(),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),La();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),Ba(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 $a(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 Lu(e,t,n,r){return new Pu(e,t,n,r)}function Mu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Iu(e,t){var n=e.alternate;return null===n?((n=Lu(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)Mu(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=Lu(12,n,t,8|i)).elementType=S,e.type=S,e.expirationTime=o,e;case N:return(e=Lu(13,n,t,i)).type=N,e.elementType=N,e.expirationTime=o,e;case P:return(e=Lu(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 L:s=14;break e;case M:s=16,r=null;break e;case I:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Lu(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Du(e,t,n,r){return(e=Lu(7,e,r,t)).expirationTime=n,e}function qu(e,t,n){return(e=Lu(6,e,null,t)).expirationTime=n,e}function ju(e,t,n){return(t=Lu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bu(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 Fu(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 Bu(e,t,n=null!=n&&!0===n.hydrate),i=Lu(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 Zu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xu(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 $u(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(!Zu(t))throw Error(a(200));return $u(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=$i(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)}},Z=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=In(r);if(!i)throw Error(a(90));we(r),Se(r,i)}}}break;case"textarea":Le(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)&&Zi()}},re=function(){0==(49&Ps)&&(function(){if(null!==Xs){var e=Xs;Xs=null,e.forEach((function(e,t){Hu(t,e),ou(t)})),Zi()}}(),Eu())},ie=function(e,t){var n=Ps;Ps|=2;try{return e(t)}finally{0===(Ps=n)&&Zi()}};var Ju={Events:[Ln,Mn,In,G,V,Un,function(e){ot(e,Fn)},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,Zi()}},t.hydrate=function(e,t,n){if(!Zu(t))throw Error(a(200));return Xu(null,e,t,!0,n)},t.render=function(e,t,n){if(!Zu(t))throw Error(a(200));return Xu(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Zu(e))throw Error(a(40));return!!e._reactRootContainer&&(lu((function(){Xu(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(!Zu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Xu(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)},46088:function(e,t,n){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,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){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}}(),a=n(1),s=(r=a)&&r.__esModule?r:{default:r},u=n(2),l=["lines","ellipsis"],c=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=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=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return o.contextRef=null,o.setContextRef=function(e){return o.contextRef=e},o.state={clamp:!1,containerHeight:0,lineHeight:0},o}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,a.Component),o(t,[{key:"componentDidMount",value:function(){if(this.contextRef){var e=window.getComputedStyle(this.contextRef),t=(0,u.getLineHeight)(e),n=t*this.props.lines,r=(0,u.getHeight)(e)>n;this.setState({clamp:r,containerHeight:n,lineHeight:t})}}},{key:"render",value:function(){var e=this.props,t=e.background,n=void 0===t?"#fff":t,r=e.children,o=e.ellipsis,a=void 0===o?"...":o,c=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["background","children","ellipsis"]),d=this.state,f=d.clamp,p=d.containerHeight,h=d.lineHeight,m=(0,u.hexToRGB)(n);return s.default.createElement("div",{style:{maxHeight:p+"px",overflow:"hidden",position:"relative"}},s.default.createElement("div",i({ref:this.setContextRef},(0,u.omit)(l,c)),r,f&&s.default.createElement("div",{style:{background:"linear-gradient(to right, rgba("+m+", 0), rgba("+m+", 1) 50%)",display:"flex",justifyContent:"flex-end",position:"absolute",bottom:"0",right:"0",width:"2em",height:h+"px"}},a)))}}]),t}();c.displayName="LineClamp",t.default=c},function(e,t){e.exports=n(67294)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.threeToSix=function(e){return 3===e.length?e.split("").map((function(e){return e+e})).join(""):e},i=t.cutHex=function(e){return"#"===e[0]?e.slice(1):e},o=t.parseHex=function(e){return r(i(e))},a=t.createHexToRGB=function(e,t){return function(n){return parseInt(o(n).substring(e,t),16)}},s=t.hexToR=a(0,2),u=t.hexToG=a(2,4),l=t.hexToB=a(4,6),c=(t.hexToRGB=function(e){return[s(e),u(e),l(e)].join(", ")},t.getNumberPixels=function(e){return Number(e.replace(/[a-zA-Z]+/,""))}),d=t.styleProp=function(e){return function(t){return c(t[e])}};t.getHeight=d("height"),t.getLineHeight=d("line-height"),t.omit=function(e,t){return Object.keys(t).reduce((function(n,r){return e.indexOf(-1===r)&&void 0!==t[r]?Object.assign(n,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t[r])):n}),{})}}])},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){var i;t.data.deltaTop=Math.round(t.data.targetPositionY-t.data.startPositionY),t.data.duration=("function"==typeof(i=t.duration)?i:function(){return i})(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 s=u(t),p=d.bind(null,s,t);t&&t.delay>0?t.data.delayTimeout=window.setTimeout((function(){l.call(window,p)}),t.delay):l.call(window,p)}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),L=h(t.touchObject,s),M=w.swipeLength;return b||(0===l&&"right"===L||l+1>=P&&"left"===L||!m(t)&&"left"===L)&&(M=w.swipeLength*c,!1===d&&f&&(f(L),C.edgeDragged=!0)),!p&&E&&(E(L),C.swiped=!0),T=o?A+M*(x/S)*N:u?A-M*N:A+M*N,s&&(T=A+M*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)}},78163: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(78163)),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}},21960: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 L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function M(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+=M(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+=M(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 I(e,t,n){return null==e?0:M(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,"$&/")+"/"),I(e,q,t=P(t,o,r,i)),L(t)}var B={current:null};function F(){var e=B.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:B,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;I(e,D,t=P(null,null,t,n)),L(t)},count:function(e){return I(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 F().useCallback(e,t)},t.useContext=function(e,t){return F().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return F().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return F().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return F().useLayoutEffect(e,t)},t.useMemo=function(e,t){return F().useMemo(e,t)},t.useReducer=function(e,t,n){return F().useReducer(e,t,n)},t.useRef=function(e){return F().useRef(e)},t.useState=function(e){return F().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=function(e){return function(t){return(void 0===t?"undefined":(n=t)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)===e;var n}}("function");t.Z=function(e){return function(t){var n=t.dispatch,a=function(t){return t&&o(t[e])};return function(t){return function(o){return(0,i.isFSA)(o)?a(o.payload)?n(r({},o,{payload:o.payload[e]()})):t(o):a(o)?n(o[e]()):t(o)}}}}},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)&&L(e,n))return void delete r.attribs[i];if("srcset"===i)try{var o;if(c(o=u.parse(n),(function(e){L("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 L(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,L=[],M=[];function I(t){throw e.error("Unclosed "+t,N,P-O)}function R(){return 0===M.length&&P>=A}function D(){if(M.length)return M.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=L.length?L.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}I("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}I("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:I("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],L.push(C),P=m)}return P++,C}}function q(e){M.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,L=3,M=!1,I=!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),!I)if(null!==S(A))I=!0,n(j);else{var t=S(O);null!==t&&r(q,t.startTime-e)}}function j(e,n){I=!1,R&&(R=!1,i()),M=!0;var a=L;try{for(D(n),P=S(A);null!==P&&(!(P.expirationTime>n)||e&&!o());){var s=P.callback;if(null!==s){P.callback=null,L=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,L=a,M=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var F=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||M||(I=!0,n(j))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return S(A)},t.unstable_next=function(e){switch(L){case 1:case 2:case 3:var t=3;break;default:t=L}var n=L;L=t;try{return e()}finally{L=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=F,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=L;L=e;try{return t()}finally{L=n}},t.unstable_scheduleCallback=function(e,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:B(e)}else a=B(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),I||M||(I=!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=L;return function(){var n=L;L=t;try{return e.apply(this,arguments)}finally{L=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},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(L,e,t))}function L(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 M(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){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(B,t,e))}function B(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 F(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!==F(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=F(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(I,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(M,this),n},x.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(M,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,"<22>";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"<22>";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"<22>"}}(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+"<22>":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,"<22>";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"<22>";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"<22>"}}(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+"<22>":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 L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?P:t).querySelector(e)}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?P:t).querySelectorAll(e)}function I(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 B(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]:M(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 F(e,t){var n=B(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 Z(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 X(e,t,n){t.split(",").forEach((function(t){e.addEventListener(t.trim(),n,!1)}))}function $(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,Le=A?N.requestAnimationFrame:null,Me=A?N.cancelAnimationFrame:null;if(A){for(var Ie=0;Ie<Ne.length&&!Le;++Ie)Le=N[Ne[Ie]+"RequestAnimationFrame"],Me=N[Ne[Ie]+"CancelAnimationFrame"]||N[Ne[Ie]+"CancelRequestAnimationFrame"];Le||(Le=function(e){var t=Date.now(),n=s(0,16-(t-Pe)),r=setTimeout((function(){e(t+n)}),n);return Pe=t+n,r}),Me||(Me=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=Le((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,Me(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=Le((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=L(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=Z(L(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=Z(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=L(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=F(e,"y")),!i&&r&&(i=F(e,"x"))),i}},{key:"bindContainerClick",value:function(){var e=this.container;e&&(this._containerClickListener=this.handleContainerClick.bind(this),X(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&($(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),X(e,De,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&($(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(I(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}()},61050:function(e,t,n){var r="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",i=n.g.crypto||n.g.msCrypto,o=Math.floor,a=Math.random;e.exports=i&&i.getRandomValues?function(e){void 0===e&&(e=16);var t=new Uint8Array(e);return i.getRandomValues(t),"function"!=typeof t.reduce&&(t=[].slice.call(t)),t.reduce((function(e,t){return e+r[t%64]}),"")}:function(e){void 0===e&&(e=16);for(var t="";t.length<e;)t+=r[o(a()*r.length)];return t}},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){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).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+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/\?#]*\/)*.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,n=/^([^\/?#]*)(.*)$/,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),L=S.slice(k+1),M=C.match(f);M&&(P.push(M[1]),L.unshift(M[2])),L.length&&(i="/"+L.join(".")+i),this.hostname=P.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!x){var I=this.hostname.split("."),R=[];for(k=0;k<I.length;++k){var D=I[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 B=u[k],F=encodeURIComponent(B);F===B&&(F=escape(B)),i=i.split(B).join(F)}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)}},59231:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Iu}});var r=n(92661),i=n.n(r),o=n(39561),a=n.n(o),s=n(87462),u=n(97326),l=n(94578),c=n(75974),d=n.n(c),f=n(27537),p=n.n(f),h=n(23316),m=n.n(h),v=n(13407),g=n.n(v),y=n(89611);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&&(0,y.Z)(i,n.prototype),i},_.apply(null,arguments)}var w=n(60136),k=n(49945),E=n.n(k),x=n(58908),S=n.n(x);function T(){return 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},T.apply(this,arguments)}function C(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var 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].splice(n,1),n>-1},t.trigger=function(e){var t,n,r,i=this.listeners[e];if(i)if(2===arguments.length)for(n=i.length,t=0;t<n;++t)i[t].call(this,arguments[1]);else for(r=Array.prototype.slice.call(arguments,1),n=i.length,t=0;t<n;++t)i[t].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}(),O=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return C(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}(A),N=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},P=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}C(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=/^#ZEN-TOTAL-DURATION:?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"totalduration"},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:?([0-9.]*)?@?([0-9.]*)?/.exec(e))return n={type:"tag",tagType:"byterange"},t[1]&&(n.length=parseInt(t[1],10)),t[2]&&(n.offset=parseInt(t[2],10)),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=N(t[1]);if(o.URI&&(n.uri=o.URI),o.BYTERANGE){var a=o.BYTERANGE.split("@"),s=a[0],u=a[1];n.byterange={},s&&(n.byterange.length=parseInt(s,10)),u&&(n.byterange.offset=parseInt(u,10))}}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=N(t[1]),n.attributes.RESOLUTION){var l=n.attributes.RESOLUTION.split("x"),c={};l[0]&&(c.width=parseInt(l[0],10)),l[1]&&(c.height=parseInt(l[1],10)),n.attributes.RESOLUTION=c}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=N(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=N(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=N(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);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}(A);function L(e){for(var t=S().atob(e||""),n=new Uint8Array(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}var M=function(e){function t(){var t;(t=e.call(this)||this).lineStream=new O,t.parseStream=new P,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=function(){},u={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},l=0;return t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]},t.parseStream.on("data",(function(e){var t,c;({tag:function(){({"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||(this.trigger("info",{message:"defaulting offset to zero"}),e.offset=0)),"offset"in e&&(a.byterange=t,t.offset=e.offset)},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("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)?void(this.manifest.contentProtection={"com.widevine.alpha":{attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:L(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,l=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)},"stream-inf":function(){this.manifest.playlists=o,this.manifest.mediaGroups=this.manifest.mediaGroups||u,e.attributes?(a.attributes||(a.attributes={}),T(a.attributes,e.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||u,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"]],(c={default:/yes/i.test(e.attributes.DEFAULT)}).default?c.autoselect=!0:c.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(c.language=e.attributes.LANGUAGE),e.attributes.URI&&(c.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(c.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(c.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(c.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=c}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){l+=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},totalduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid total duration: "+e.duration}):this.manifest.totalDuration=e.duration},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}}[e.tagType]||s).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=l,n&&(a.map=n),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}C(t,e);var n=t.prototype;return n.push=function(e){this.lineStream.push(e)},n.end=function(){this.lineStream.push("\n")},n.addParser=function(e){this.parseStream.addParser(e)},n.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(A),I=n(49972),R=n.n(I),D=n(47927),q=n.n(D),j=n(86150),B=function(e){return!!e&&"object"==typeof e},F=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.keys(n).forEach((function(r){Array.isArray(t[r])&&Array.isArray(n[r])?t[r]=t[r].concat(n[r]):B(t[r])&&B(n[r])?t[r]=e(t[r],n[r]):t[r]=n[r]})),t}),{})},U=function(e){return e.reduce((function(e,t){return e.concat(t)}),[])},z=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},H="INVALID_NUMBER_OF_PERIOD",V="DASH_EMPTY_MANIFEST",W="DASH_INVALID_XML",Y="NO_BASE_URL",G="SEGMENT_TIME_UNSPECIFIED",K="UNSUPPORTED_UTC_TIMING_SCHEME",Z=function(e){var t=e.baseUrl,n=void 0===t?"":t,r=e.source,i=void 0===r?"":r,o=e.range,a=void 0===o?"":o,s=e.indexRange,u=void 0===s?"":s,l={uri:i,resolvedUri:R()(n||"",i)};if(a||u){var c=(a||u).split("-"),d=parseInt(c[0],10),f=parseInt(c[1],10);l.byterange={length:f-d+1,offset:d}}return l},X={static:function(e){var t=e.duration,n=e.timescale,r=void 0===n?1:n,i=e.sourceDuration;return{start:0,end:Math.ceil(i/(t/r))}},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.start,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=(t+n)/1e3,h=r+u,m=p+c-h,v=Math.ceil(m*o/a),g=Math.floor((p-h-f)*o/a),y=Math.floor((p-h)*o/a);return{start:Math.max(0,g),end:Math.min(v,y)}}},$=function(e){var t=e.type,n=void 0===t?"static":t,r=e.duration,i=e.timescale,o=void 0===i?1:i,a=e.sourceDuration,s=X[n](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,n){var r=e.duration,i=e.timescale,o=void 0===i?1:i,a=e.periodIndex,s=e.startNumber;return{number:(void 0===s?1:s)+t,duration:r/o,timeline:a,time:n*r}}}(e));if("static"===n){var l=u.length-1;u[l].duration=a-r/o*l}return u},Q=function(e){var t=e.baseUrl,n=e.initialization,r=void 0===n?{}:n,i=e.sourceDuration,o=e.timescale,a=void 0===o?1:o,s=e.indexRange,u=void 0===s?"":s,l=e.duration;if(!t)throw new Error(Y);var c=Z({baseUrl:t,source:r.sourceURL,range:r.range}),d=Z({baseUrl:t,source:t,indexRange:u});if(d.map=c,l){var f=$(e);f.length&&(d.duration=f[0].duration,d.timeline=f[0].timeline)}else i&&(d.duration=i/a,d.timeline=0);return d.number=0,[d]},J=function(e,t,n){for(var r=e.sidx.map?e.sidx.map:null,i=e.sidx.duration,o=e.timeline||0,a=e.sidx.byterange,s=a.offset+a.length,u=t.timescale,l=t.references.filter((function(e){return 1!==e.referenceType})),c=[],d=s+t.firstOffset,f=0;f<l.length;f++){var p=t.references[f],h=p.referencedSize,m=p.subsegmentDuration,v=Q({baseUrl:n,timescale:u,timeline:o,periodIndex:o,duration:m,sourceDuration:i,indexRange:d+"-"+(d+h-1)})[0];r&&(v.map=r),c.push(v),d+=h}return e.segments=c,e},ee=function(e){var t;return(t=e.reduce((function(e,t){var n,r=t.attributes.id+(t.attributes.lang||"");return e[r]?(t.segments[0]&&(t.segments[0].discontinuity=!0),(n=e[r].segments).push.apply(n,t.segments),t.attributes.contentProtection&&(e[r].attributes.contentProtection=t.attributes.contentProtection)):e[r]=t,e}),{}),Object.keys(t).map((function(e){return t[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}))},te=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var n in e){var r=e[n];if(r.sidx){var i=r.sidx.uri+"-"+(a=r.sidx.byterange,s=void 0,s=a.offset+a.length-1,a.offset+"-"+s),o=t[i]&&t[i].sidx;r.sidx&&o&&J(r,o,r.sidx.resolvedUri)}}var a,s;return e},ne=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,o={attributes:(t={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs},t["PROGRAM-ID"]=1,t),uri:"",endList:"static"===(n.type||"static"),timeline:n.periodIndex,resolvedUri:"",targetDuration:n.duration,segments:r,mediaSequence:r.length?r[0].number:1};return n.contentProtection&&(o.contentProtection=n.contentProtection),i&&(o.sidx=i),o},re=function(e){var t,n=e.attributes,r=e.segments,i=e.sidx,o={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||"static"),timeline:n.periodIndex,resolvedUri:"",targetDuration:n.duration,segments:r,mediaSequence:r.length?r[0].number:1};return n.contentProtection&&(o.contentProtection=n.contentProtection),i&&(o.sidx=i),o},ie=function(e,t){var n;if(void 0===t&&(t={}),!e.length)return{};var r=e[0].attributes,i=r.sourceDuration,o=r.type,a=void 0===o?"static":o,s=r.suggestedPresentationDelay,u=r.minimumUpdatePeriod,l=void 0===u?0:u,c=ee(e.filter((function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video"===t.contentType}))).map(re),d=ee(e.filter((function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio"===t.contentType}))),f=e.filter((function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType})),p={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:(n={AUDIO:{},VIDEO:{}},n["CLOSED-CAPTIONS"]={},n.SUBTITLES={},n),uri:"",duration:i,playlists:te(c,t),minimumUpdatePeriod:1e3*l};return"dynamic"===a&&(p.suggestedPresentationDelay=s),d.length&&(p.mediaGroups.AUDIO.audio=function(e,t){var n;void 0===t&&(t={});var r=e.reduce((function(e,r){var i=r.attributes.role&&r.attributes.role.value||"",o=r.attributes.lang||"",a="main";if(o){var s=i?" ("+i+")":"";a=""+r.attributes.lang+s}return e[a]&&e[a].playlists[0].attributes.BANDWIDTH>r.attributes.bandwidth||(e[a]={language:o,autoselect:!0,default:"main"===i,playlists:te([ne(r)],t),uri:""},void 0===n&&"main"===i&&((n=r).default=!0)),e}),{});return n||(r[Object.keys(r)[0]].default=!0),r}(d,t)),f.length&&(p.mediaGroups.SUBTITLES.subs=function(e,t){return void 0===t&&(t={}),e.reduce((function(e,n){var r,i,o,a,s=n.attributes.lang||"text";return e[s]||(e[s]={language:s,default:!1,autoselect:!1,playlists:te([(r=n,o=r.attributes,a=r.segments,void 0===a&&(a=[{uri:o.baseUrl,timeline:o.periodIndex,resolvedUri:o.baseUrl||"",duration:o.sourceDuration,number:0}],o.duration=o.sourceDuration),{attributes:(i={NAME:o.id,BANDWIDTH:o.bandwidth},i["PROGRAM-ID"]=1,i),uri:"",endList:"static"===(o.type||"static"),timeline:o.periodIndex,resolvedUri:o.baseUrl||"",targetDuration:o.duration,segments:a,mediaSequence:a.length?a[0].number:1})],t),uri:""}),e}),{})}(f,t)),p},oe=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.start,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)},ae=function(e,t){for(var n=e.type,r=void 0===n?"static":n,i=e.minimumUpdatePeriod,o=void 0===i?0:i,a=e.media,s=void 0===a?"":a,u=e.sourceDuration,l=e.timescale,c=void 0===l?1:l,d=e.startNumber,f=void 0===d?1:d,p=e.periodIndex,h=[],m=-1,v=0;v<t.length;v++){var g=t[v],y=g.d,b=g.r||0,_=g.t||0;m<0&&(m=_),_&&_>m&&(m=_);var w=void 0;if(b<0){var k=v+1;w=k===t.length?"dynamic"===r&&o>0&&s.indexOf("$Number$")>0?oe(e,m,y):(u*c-m)/y:(t[k].t-m)/y}else w=b+1;for(var E=f+h.length+w,x=f+h.length;x<E;)h.push({number:x,duration:y/c,time:m,timeline:p}),m+=y,x++}return h},se=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,ue=function(e,t){return e.replace(se,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))},le=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,i=void 0===r?{sourceURL:"",range:""}:r,o=Z({baseUrl:e.baseUrl,source:ue(i.sourceURL,n),range:i.range}),a=function(e,t){return e.duration||t?e.duration?$(e):ae(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodIndex}]}(e,t);return a.map((function(t){n.Number=t.number,n.Time=t.time;var r=ue(e.media||"",n);return{uri:r,timeline:t.timeline,duration:t.duration,resolvedUri:R()(e.baseUrl||"",r),map:o,number:t.number}}))},ce=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r;if(!n&&!t||n&&t)throw new Error(G);var o,a=i.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,o=Z({baseUrl:n,source:i.sourceURL,range:i.range}),a=Z({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=o,a}(e,t)}));return n&&(o=$(e)),t&&(o=ae(e,t)),o.map((function(e,t){if(a[t]){var n=a[t];return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n}})).filter((function(e){return e}))},de=function(e){var t,n,r=e.attributes,i=e.segmentInfo;i.template?(n=le,t=F(r,i.template)):i.base?(n=Q,t=F(r,i.base)):i.list&&(n=ce,t=F(r,i.list));var o={attributes:r};if(!n)return o;var a=n(t,i.timeline);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},fe=function(e,t){return z(e.childNodes).filter((function(e){return e.tagName===t}))},pe=function(e){return e.textContent.trim()},he=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)},me={mediaPresentationDuration:function(e){return he(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 he(e)},suggestedPresentationDelay:function(e){return he(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return he(e)},start:function(e){return he(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)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?he(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}},ve=function(e){return e&&e.attributes?z(e.attributes).reduce((function(e,t){var n=me[t.name]||me.DEFAULT;return e[t.name]=n(t.value),e}),{}):{}},ge={"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"},ye=function(e,t){return t.length?U(e.map((function(e){return t.map((function(t){return R()(e,pe(t))}))}))):e},be=function(e){var t=fe(e,"SegmentTemplate")[0],n=fe(e,"SegmentList")[0],r=n&&fe(n,"SegmentURL").map((function(e){return F({tag:"SegmentURL"},ve(e))})),i=fe(e,"SegmentBase")[0],o=n||t,a=o&&fe(o,"SegmentTimeline")[0],s=n||i||t,u=s&&fe(s,"Initialization")[0],l=t&&ve(t);l&&u?l.initialization=u&&ve(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});var c={template:l,timeline:a&&fe(a,"S").map((function(e){return ve(e)})),list:n&&F(ve(n),{segmentUrls:r,initialization:ve(u)}),base:i&&F(ve(i),{initialization:ve(u)})};return Object.keys(c).forEach((function(e){c[e]||delete c[e]})),c},_e=function(e,t,n){return function(r){var i=ve(r),o=ye(t,fe(r,"BaseURL")),a=fe(r,"Role")[0],s={role:ve(a)},u=F(e,i,s),l=fe(r,"ContentProtection").reduce((function(e,t){var n=ve(t),r=ge[n.schemeIdUri];if(r){e[r]={attributes:n};var i=fe(t,"cenc:pssh")[0];if(i){var o=pe(i),a=o&&q()(o);e[r].pssh=a}}return e}),{});Object.keys(l).length&&(u=F(u,{contentProtection:l}));var c=be(r),d=fe(r,"Representation"),f=F(n,c);return U(d.map(function(e,t,n){return function(r){var i=fe(r,"BaseURL"),o=ye(t,i),a=F(e,ve(r)),s=be(r);return o.map((function(e){return{segmentInfo:F(n,s),attributes:F(a,{baseUrl:e})}}))}}(u,o,f)))}},we=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=fe(e,"Period");if(!l.length)throw new Error(H);var c=ve(e),d=ye([i],fe(e,"BaseURL"));return c.sourceDuration=c.mediaPresentationDuration||0,c.NOW=a,c.clientOffset=u,U(l.map(function(e,t){return function(n,r){var i=ye(t,fe(n,"BaseURL")),o=ve(n),a=parseInt(o.id,10),s=S().isNaN(a)?r:a,u=F(e,{periodIndex:s}),l=fe(n,"AdaptationSet"),c=be(n);return U(l.map(_e(u,i,c)))}}(c,d)))},ke=function(e){if(""===e)throw new Error(V);var t=(new j.a).parseFromString(e,"application/xml"),n=t&&"MPD"===t.documentElement.tagName?t.documentElement:null;if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(W);return n},Ee=function(e,t){return void 0===t&&(t={}),ie(we(ke(e),t).map(de),t.sidxMapping)},xe=function(e){return function(e){var t=fe(e,"UTCTiming")[0];if(!t)return null;var n=ve(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(K)}return n}(ke(e))},Se=n(42628),Te=n.n(Se),Ce=n(47661),Ae=n.n(Ce),Oe=n(66659),Ne=n.n(Oe),Pe=n(65547),Le=n.n(Pe);var Me=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Ie=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}}(),Re=null,De=function(){function e(t){Me(this,e),Re||(Re=function(){var e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4],o=void 0,a=void 0,s=void 0,u=[],l=[],c=void 0,d=void 0,f=void 0,p=void 0,h=void 0;for(o=0;o<256;o++)l[(u[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=c||1,s=l[s]||1)for(f=(f=s^s<<1^s<<2^s<<3^s<<4)>>8^255&f^99,r[a]=f,i[f]=a,h=16843009*u[d=u[c=u[a]]]^65537*d^257*c^16843008*a,p=257*u[f]^16843008*f,o=0;o<4;o++)t[o][a]=p=p<<24^p>>>8,n[o][f]=h=h<<24^h>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e}()),this._tables=[[Re[0][0].slice(),Re[0][1].slice(),Re[0][2].slice(),Re[0][3].slice(),Re[0][4].slice()],[Re[1][0].slice(),Re[1][1].slice(),Re[1][2].slice(),Re[1][3].slice(),Re[1][4].slice()]];var n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=this._tables[0][4],u=this._tables[1],l=t.length,c=1;if(4!==l&&6!==l&&8!==l)throw new Error("Invalid aes key size");for(o=t.slice(0),a=[],this._key=[o,a],n=l;n<4*l+28;n++)i=o[n-1],(n%l==0||8===l&&n%l==4)&&(i=s[i>>>24]<<24^s[i>>16&255]<<16^s[i>>8&255]<<8^s[255&i],n%l==0&&(i=i<<8^i>>>24^c<<24,c=c<<1^283*(c>>7))),o[n]=o[n-l]^i;for(r=0;n;r++,n--)i=o[3&r?n:n-4],a[r]=n<=4||r<4?i:u[0][s[i>>>24]]^u[1][s[i>>16&255]]^u[2][s[i>>8&255]]^u[3][s[255&i]]}return e.prototype.decrypt=function(e,t,n,r,i,o){var a=this._key[1],s=e^a[0],u=r^a[1],l=n^a[2],c=t^a[3],d=void 0,f=void 0,p=void 0,h=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],k=g[4];for(m=0;m<h;m++)d=y[s>>>24]^b[u>>16&255]^_[l>>8&255]^w[255&c]^a[v],f=y[u>>>24]^b[l>>16&255]^_[c>>8&255]^w[255&s]^a[v+1],p=y[l>>>24]^b[c>>16&255]^_[s>>8&255]^w[255&u]^a[v+2],c=y[c>>>24]^b[s>>16&255]^_[u>>8&255]^w[255&l]^a[v+3],v+=4,s=d,u=f,l=p;for(m=0;m<4;m++)i[(3&-m)+o]=k[s>>>24]<<24^k[u>>16&255]<<16^k[l>>8&255]<<8^k[255&c]^a[v++],d=s,s=u,u=l,l=c,c=d},e}(),qe=function(){function e(){Me(this,e),this.listeners={}}return e.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},e.prototype.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e].splice(n,1),n>-1},e.prototype.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)},e.prototype.dispose=function(){this.listeners={}},e.prototype.pipe=function(e){this.on("data",(function(t){e.push(t)}))},e}(),je=function(e){function t(){Me(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,e.call(this,qe));return n.jobs=[],n.delay=1,n.timeout_=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},t.prototype.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},t}(qe),Be=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},Fe=function(e,t,n){var r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),i=new De(Array.prototype.slice.call(t)),o=new Uint8Array(e.byteLength),a=new Int32Array(o.buffer),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;for(s=n[0],u=n[1],l=n[2],c=n[3],m=0;m<r.length;m+=4)d=Be(r[m]),f=Be(r[m+1]),p=Be(r[m+2]),h=Be(r[m+3]),i.decrypt(d,f,p,h,a,m),a[m]=Be(a[m]^s),a[m+1]=Be(a[m+1]^u),a[m+2]=Be(a[m+2]^l),a[m+3]=Be(a[m+3]^c),s=d,u=f,l=p,c=h;return o},Ue=function(){function e(t,n,r,i){Me(this,e);var o=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),u=0;for(this.asyncStream_=new je,this.asyncStream_.push(this.decryptChunk_(a.subarray(u,u+o),n,r,s)),u=o;u<a.length;u+=o)r=new Uint32Array([Be(a[u-4]),Be(a[u-3]),Be(a[u-2]),Be(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=Fe(e,t,n);r.set(i,e.byteOffset)}},Ie(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}(),ze="7.8.4",He=[];var Ve=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+":"),He){He.push([].concat(o));var u=He.length-1e3;He.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 He?[].concat(He):[]}).filter=function(e){return(He||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},o.history.clear=function(){He&&(He.length=0)},o.history.disable=function(){null!==He&&(He.length=0,He=null)},o.history.enable=function(){null===He&&(He=[])},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"),We=Ve.createLogger,Ye=Object.prototype.toString,Ge=function(e){return Xe(e)?Object.keys(e):[]};function Ke(e,t){Ge(e).forEach((function(n){return t(e[n],n)}))}function Ze(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.Z.apply(void 0,[e].concat(n)):(n.forEach((function(t){t&&Ke(t,(function(t,n){e[n]=t}))})),e)}function Xe(e){return!!e&&"object"==typeof e}function $e(e){return Xe(e)&&"[object Object]"===Ye.call(e)&&e.constructor===Object}function Qe(e,t){if(!e||!t)return"";if("function"==typeof i().getComputedStyle){var n=i().getComputedStyle(e);return n?n.getPropertyValue(t)||n[t]:""}return""}function Je(e){return"string"==typeof e&&Boolean(e.trim())}function et(e){if(e.indexOf(" ")>=0)throw new Error("class has illegal whitespace characters")}function tt(){return a()===i().document}function nt(e){return Xe(e)&&1===e.nodeType}function rt(){try{return i().parent!==i().self}catch(e){return!0}}function it(e){return function(t,n){if(!Je(t))return a()[e](null);Je(n)&&(n=a().querySelector(n));var r=nt(n)?n:a();return r[e]&&r[e](t)}}function ot(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?(Ve.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?at(i,n):i[e]!==n&&(i[e]=n)})),Object.getOwnPropertyNames(n).forEach((function(e){i.setAttribute(e,n[e])})),r&&St(i,r),i}function at(e,t){return void 0===e.textContent?e.innerText=t:e.textContent=t,e}function st(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function ut(e,t){return et(t),e.classList?e.classList.contains(t):(n=t,new RegExp("(^|\\s)"+n+"($|\\s)")).test(e.className);var n}function lt(e,t){return e.classList?e.classList.add(t):ut(e,t)||(e.className=(e.className+" "+t).trim()),e}function ct(e,t){return e.classList?e.classList.remove(t):(et(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e}function dt(e,t,n){var r=ut(e,t);if("function"==typeof n&&(n=n(e,t)),"boolean"!=typeof n&&(n=!r),n!==r)return n?lt(e,t):ct(e,t),e}function ft(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 pt(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 ht(e,t){return e.getAttribute(t)}function mt(e,t,n){e.setAttribute(t,n)}function vt(e,t){e.removeAttribute(t)}function gt(){a().body.focus(),a().onselectstart=function(){return!1}}function yt(){a().onselectstart=function(){return!0}}function bt(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(Qe(e,"height"))),n.width||(n.width=parseFloat(Qe(e,"width"))),n}}function _t(e){var t;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=a().documentElement,r=a().body,o=n.clientLeft||r.clientLeft||0,s=i().pageXOffset||r.scrollLeft,u=t.left+s-o,l=n.clientTop||r.clientTop||0,c=i().pageYOffset||r.scrollTop,d=t.top+c-l;return{left:Math.round(u),top:Math.round(d)}}function wt(e,t){var n={},r=_t(e),i=e.offsetWidth,o=e.offsetHeight,a=r.top,s=r.left,u=t.pageY,l=t.pageX;return t.changedTouches&&(l=t.changedTouches[0].pageX,u=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-u+o)/o)),n.x=Math.max(0,Math.min(1,(l-s)/i)),n}function kt(e){return Xe(e)&&3===e.nodeType}function Et(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function xt(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"==typeof e&&(e=e()),nt(e)||kt(e)?e:"string"==typeof e&&/\S/.test(e)?a().createTextNode(e):void 0})).filter((function(e){return e}))}function St(e,t){return xt(t).forEach((function(t){return e.appendChild(t)})),e}function Tt(e,t){return St(Et(e),t)}function Ct(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 At,Ot=it("querySelector"),Nt=it("querySelectorAll"),Pt=Object.freeze({__proto__:null,isReal:tt,isEl:nt,isInFrame:rt,createEl:ot,textContent:at,prependTo:st,hasClass:ut,addClass:lt,removeClass:ct,toggleClass:dt,setAttributes:ft,getAttributes:pt,getAttribute:ht,setAttribute:mt,removeAttribute:vt,blockTextSelection:gt,unblockTextSelection:yt,getBoundingClientRect:bt,findPosition:_t,getPointerPosition:wt,isTextNode:kt,emptyEl:Et,normalizeContent:xt,appendContent:St,insertContent:Tt,isSingleLeftClick:Ct,$:Ot,$$:Nt}),Lt=!1,Mt=function(){if(tt()&&!1!==At.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){It(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&At(s)}else Lt||It(1)}};function It(e,t){t&&(At=t),i().setTimeout(Mt,e)}function Rt(){Lt=!0,i().removeEventListener("load",Rt)}tt()&&("complete"===a().readyState?Rt():i().addEventListener("load",Rt));var Dt,qt=function(e){var t=a().createElement("style");return t.className=e,t},jt=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t},Bt=3;function Ft(){return Bt++}i().WeakMap||(Dt=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]||Ft();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];Ve("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 Ut,zt=i().WeakMap?new WeakMap:new Dt;function Ht(e,t){if(zt.has(e)){var n=zt.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&&zt.delete(e)}}function Vt(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function Wt(e){if(e.fixed_)return e;function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var r=e||i().event;for(var o in e={},r)"layerX"!==o&&"layerY"!==o&&"keyLocation"!==o&&"webkitMovementX"!==o&&"webkitMovementY"!==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 Yt=["touchstart","touchmove"];function Gt(e,t,n){if(Array.isArray(t))return Vt(Gt,e,t,n);zt.has(e)||zt.set(e,{});var r=zt.get(e);if(r.handlers||(r.handlers={}),r.handlers[t]||(r.handlers[t]=[]),n.guid||(n.guid=Ft()),r.handlers[t].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(t,n){if(!r.disabled){t=Wt(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){Ve.error(e)}}}),1===r.handlers[t].length)if(e.addEventListener){var o=!1;(function(){if("boolean"!=typeof Ut){Ut=!1;try{var e=Object.defineProperty({},"passive",{get:function(){Ut=!0}});i().addEventListener("test",null,e),i().removeEventListener("test",null,e)}catch(e){}}return Ut})()&&Yt.indexOf(t)>-1&&(o={passive:!0}),e.addEventListener(t,r.dispatcher,o)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function Kt(e,t,n){if(zt.has(e)){var r=zt.get(e);if(r.handlers){if(Array.isArray(t))return Vt(Kt,e,t,n);var i=function(e,t){r.handlers[t]=[],Ht(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);Ht(e,t)}else i(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&i(e,s)}}}function Zt(e,t,n){var r=zt.has(e)?zt.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=Wt(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)Zt.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){zt.has(t.target)||zt.set(t.target,{});var o=zt.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 Xt(e,t,n){if(Array.isArray(t))return Vt(Xt,e,t,n);var r=function r(){Kt(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Ft(),Gt(e,t,r)}function $t(e,t,n){var r=function r(){Kt(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Ft(),Gt(e,t,r)}var Qt,Jt=Object.freeze({__proto__:null,fixEvent:Wt,on:Gt,off:Kt,trigger:Zt,one:Xt,any:$t}),en=30,tn=function(e,t,n){t.guid||(t.guid=Ft());var r=t.bind(e);return r.guid=n?n+"_"+t.guid:t.guid,r},nn=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)}},rn=function(){};rn.prototype.allowedEvents_={},rn.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Gt(this,e,t),this.addEventListener=n},rn.prototype.addEventListener=rn.prototype.on,rn.prototype.off=function(e,t){Kt(this,e,t)},rn.prototype.removeEventListener=rn.prototype.off,rn.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Xt(this,e,t),this.addEventListener=n},rn.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},$t(this,e,t),this.addEventListener=n},rn.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=Wt(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Zt(this,e)},rn.prototype.dispatchEvent=rn.prototype.trigger,rn.prototype.queueTrigger=function(e){var t=this;Qt||(Qt=new Map);var n=e.type||e,r=Qt.get(this);r||(r=new Map,Qt.set(this,r));var o=r.get(n);r.delete(n),i().clearTimeout(o);var a=i().setTimeout((function(){0===r.size&&(r=null,Qt.delete(t)),t.trigger(e)}),0);r.set(n,a)};var on=function(e){return e instanceof rn||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"==typeof e[t]}))},an=function(e){return"string"==typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},sn=function(e){if(!e.nodeName&&!on(e))throw new Error("Invalid target; must be a DOM node or evented object.")},un=function(e){if(!an(e))throw new Error("Invalid event type; must be a non-empty string or array.")},ln=function(e){if("function"!=typeof e)throw new Error("Invalid listener; must be a function.")},cn=function(e,t){var n,r,i,o=t.length<3||t[0]===e||t[0]===e.eventBusEl_;return o?(n=e.eventBusEl_,t.length>=3&&t.shift(),r=t[0],i=t[1]):(n=t[0],r=t[1],i=t[2]),sn(n),un(r),ln(i),{isTargetingSelf:o,target:n,type:r,listener:i=tn(e,i)}},dn=function(e,t,n,r){sn(e),e.nodeName?Jt[t](e,n,r):e[t](n,r)},fn={on:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=cn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(dn(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,dn(this,"on","dispose",l),dn(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=cn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(o)dn(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,dn(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=cn(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(o)dn(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,dn(a,"any",s,l)}},off:function(e,t,n){if(!e||an(e))Kt(this.eventBusEl_,e,t);else{var r=e,i=t;sn(r),un(i),ln(n),n=tn(this,n),this.off("dispose",n),r.nodeName?(Kt(r,i,n),Kt(r,"dispose",n)):on(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){return Zt(this.eventBusEl_,e,t)}};function pn(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_=ot("span",{className:"vjs-event-bus"});return Ze(e,fn),e.eventedCallbacks&&e.eventedCallbacks.forEach((function(e){e()})),e.on("dispose",(function(){e.off(),i().setTimeout((function(){e.eventBusEl_=null}),0)})),e}var hn={state:{},setState:function(e){var t,n=this;return"function"==typeof e&&(e=e()),Ke(e,(function(e,r){n.state[r]!==e&&((t=t||{})[r]={from:n.state[r],to:e}),n.state[r]=e})),t&&on(this)&&this.trigger({changes:t,type:"statechanged"}),t}};function mn(e,t){return Ze(e,hn),e.state=Ze({},e.state,t),"function"==typeof e.handleStateChanged&&on(e)&&e.on("statechanged",e.handleStateChanged),e}var vn=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toLowerCase()}))},gn=function(e){return"string"!=typeof e?e:e.replace(/./,(function(e){return e.toUpperCase()}))};function yn(){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&&Ke(t,(function(t,n){$e(t)?($e(e[n])||(e[n]={}),e[n]=yn(e[n],t)):e[n]=t}))})),e}var bn=function(){function e(e,t,n){if(!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=yn({},this.options_),t=this.options_=yn(this.options_,t),this.id_=t.id||t.el&&t.el.id,!this.id_){var r=e&&e.id&&e.id()||"no_player";this.id_=r+"_component_"+Ft()}var o;this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),!1!==t.evented&&pn(this,{eventBusKey:this.el_?"el_":null}),mn(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},i().Set||(o=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}()),this.setTimeoutIds_=i().Set?new Set:new o,this.setIntervalIds_=i().Set?new Set:new o,this.rafIds_=i().Set?new Set:new o,this.clearingTimersOnDispose_=!1,!1!==t.initChildren&&this.initChildren(),this.ready(n),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var t=e.prototype;return t.dispose=function(){if(!this.isDisposed_){if(this.trigger({type:"dispose",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var e=this.children_.length-1;e>=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),zt.has(this.el_)&&zt.delete(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_=yn(this.options_,e),this.options_):this.options_},t.el=function(){return this.el_},t.createEl=function(e,t,n){return ot(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.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=gn(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&&gn(i.name()))&&(this.childNameIndex_[o]=i,this.childNameIndex_[vn(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_:nt(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_[gn(e.name())]=null,this.childNameIndex_[vn(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||gn(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 Ot(e,t||this.contentEl())},t.$$=function(e,t){return Nt(e,t||this.contentEl())},t.hasClass=function(e){return ut(this.el_,e)},t.addClass=function(e){lt(this.el_,e)},t.removeClass=function(e){ct(this.el_,e)},t.toggleClass=function(e,t){dt(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 ht(this.el_,e)},t.setAttribute=function(e,t){mt(this.el_,e,t)},t.removeAttribute=function(e){vt(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"+gn(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=Qe(this.el_,e),0===(t=parseFloat(t))||isNaN(t)){var n="offset"+gn(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_&&(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=tn(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=tn(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=tn(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=tn(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.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(){[["rafIds_","cancelAnimationFrame"],["setTimeoutIds_","clearTimeout"],["setIntervalIds_","clearInterval"]].forEach((function(t){var n=t[0],r=t[1];e[n].forEach(e[r],e)})),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=gn(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_[vn(t)]=n,n},e.getComponent=function(t){if(t&&e.components_)return e.components_[t]},e}();bn.prototype.supportsRaf_="function"==typeof i().requestAnimationFrame&&"function"==typeof i().cancelAnimationFrame,bn.registerComponent("Component",bn);var _n,wn=i().navigator&&i().navigator.userAgent||"",kn=/AppleWebKit\/([\d.]+)/i.exec(wn),En=kn?parseFloat(kn.pop()):null,xn=/iPod/i.test(wn),Sn=(_n=wn.match(/OS (\d+)_/i))&&_n[1]?_n[1]:null,Tn=/Android/i.test(wn),Cn=function(){var e=wn.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}(),An=Tn&&Cn<5&&En<537,On=/Firefox/i.test(wn),Nn=/Edg/i.test(wn),Pn=!Nn&&(/Chrome/i.test(wn)||/CriOS/i.test(wn)),Ln=function(){var e=wn.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),Mn=function(){var e=/MSIE\s(\d+)\.\d/.exec(wn),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(wn)&&/rv:11.0/.test(wn)&&(t=11),t}(),In=/Safari/i.test(wn)&&!Pn&&!Tn&&!Nn,Rn=/Windows/i.test(wn),Dn=tt()&&("ontouchstart"in i()||i().navigator.maxTouchPoints||i().DocumentTouch&&i().document instanceof i().DocumentTouch),qn=/iPad/i.test(wn)||In&&Dn&&!/iPhone/i.test(wn),jn=/iPhone/i.test(wn)&&!qn,Bn=jn||qn||xn,Fn=(In||Bn)&&!Pn,Un=Object.freeze({__proto__:null,IS_IPOD:xn,IOS_VERSION:Sn,IS_ANDROID:Tn,ANDROID_VERSION:Cn,IS_NATIVE_ANDROID:An,IS_FIREFOX:On,IS_EDGE:Nn,IS_CHROME:Pn,CHROME_VERSION:Ln,IE_VERSION:Mn,IS_SAFARI:In,IS_WINDOWS:Rn,TOUCH_ENABLED:Dn,IS_IPAD:qn,IS_IPHONE:jn,IS_IOS:Bn,IS_ANY_SAFARI:Fn});function zn(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 Hn(e){return 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:zn.bind(null,"start",0,e),end:zn.bind(null,"end",1,e)}}function Vn(e,t){return Array.isArray(e)?Hn(e):void 0===e||void 0===t?Hn():Hn([[e,t]])}function Wn(e,t){var n,r,i=0;if(!t)return 0;e&&e.length||(e=Vn(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}for(var Yn,Gn={prefixed:!0},Kn=[["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"]],Zn=Kn[0],Xn=0;Xn<Kn.length;Xn++)if(Kn[Xn][1]in a()){Yn=Kn[Xn];break}if(Yn){for(var $n=0;$n<Yn.length;$n++)Gn[Zn[$n]]=Yn[$n];Gn.prefixed=Yn[0]!==Zn[0]}function Qn(e){if(e instanceof Qn)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:Xe(e)&&("number"==typeof e.code&&(this.code=e.code),Ze(this,e)),this.message||(this.message=Qn.defaultMessages[this.code]||"")}Qn.prototype.code=0,Qn.prototype.message="",Qn.prototype.status=null,Qn.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Qn.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 Jn=0;Jn<Qn.errorTypes.length;Jn++)Qn[Qn.errorTypes[Jn]]=Jn,Qn.prototype[Qn.errorTypes[Jn]]=Jn;function er(e){return null!=e&&"function"==typeof e.then}function tr(e){er(e)&&e.then(null,(function(e){}))}var nr=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}}))})},rr=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=nr(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(nr))},ir=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()},or=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).opened_=r.hasBeenOpened_=r.hasBeenFilled_=!1,r.closeable(!r.options_.uncloseable),r.content(r.options_.content),r.contentEl_=ot("div",{className:"vjs-modal-dialog-content"},{role:"document"}),r.descEl_=ot("p",{className:"vjs-modal-dialog-description vjs-control-text",id:r.el().getAttribute("aria-describedby")}),at(r.descEl_,r.description()),r.el_.appendChild(r.descEl_),r.el_.appendChild(r.contentEl_),r}(0,l.Z)(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(),Tt(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"),Et(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(),p().isEventKey(e,"Escape")&&this.closeable())return e.preventDefault(),void this.close();if(p().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}(bn);or.prototype.options_={pauseOnOpen:!0,temporary:!0},bn.registerComponent("ModalDialog",or);var ar=function(e){function t(t){var n;void 0===t&&(t=[]),(n=e.call(this)||this).tracks_=[],Object.defineProperty((0,u.Z)(n),"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)n.addTrack(t[r]);return n}(0,l.Z)(t,e);var n=t.prototype;return n.addTrack=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack",target:this}))},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}(rn);for(var sr in ar.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},ar.prototype.allowedEvents_)ar.prototype["on"+sr]=null;var ur=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)},lr=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].enabled){ur(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,n}(0,l.Z)(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.enabled&&ur(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.enabledChange_=function(){n.changing_||(n.changing_=!0,ur(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}(ar),cr=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)},dr=function(e){function t(t){var n;void 0===t&&(t=[]);for(var r=t.length-1;r>=0;r--)if(t[r].selected){cr(t,t[r]);break}return(n=e.call(this,t)||this).changing_=!1,Object.defineProperty((0,u.Z)(n),"selectedIndex",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),n}(0,l.Z)(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&cr(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,cr(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}(ar),fr=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(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}(ar),pr=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}(),hr=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}(),mr={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},vr={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},gr={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},yr={disabled:"disabled",hidden:"hidden",showing:"showing"},br=function(e){function t(t){var n;void 0===t&&(t={}),n=e.call(this)||this;var r={id:t.id||"vjs_track_"+Ft(),kind:t.kind||"",label:t.label||"",language:t.language||""},i=function(e){Object.defineProperty((0,u.Z)(n),e,{get:function(){return r[e]},set:function(){}})};for(var o in r)i(o);return n}return(0,l.Z)(t,e),t}(rn),_r=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=a().createElement("a");n.href=e;var r,o=""===n.host&&"file:"!==n.protocol;o&&((r=a().createElement("div")).innerHTML='<a href="'+e+'"></a>',n=r.firstChild,r.setAttribute("style","display:none; position:absolute;"),a().body.appendChild(r));for(var s={},u=0;u<t.length;u++)s[t[u]]=n[t[u]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=i().location.protocol),o&&a().body.removeChild(r),s},wr=function(e){if(!e.match(/^https?:\/\//)){var t=a().createElement("div");t.innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href}return e},kr=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},Er=function(e,t){void 0===t&&(t=i().location);var n=_r(e);return(":"===n.protocol?t.protocol:n.protocol)+n.host!==t.protocol+t.host},xr=Object.freeze({__proto__:null,parseUrl:_r,getAbsoluteURL:wr,getFileExtension:kr,isCrossOrigin:Er}),Sr=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 Ve.error(e)})),i().console&&i().console.groupEnd&&i().console.groupEnd()),n.flush()},Tr=function(e,t){var n={uri:e},r=Er(e);r&&(n.cors=r),m()(n,tn(this,(function(e,n,r){if(e)return Ve.error(e,n);t.loaded_=!0,"function"!=typeof i().WebVTT?t.tech_&&t.tech_.any(["vttjsloaded","vttjserror"],(function(e){if("vttjserror"!==e.type)return Sr(r,t);Ve.error("vttjs failed to load, stopping trying to process "+t.src)})):Sr(r,t)})))},Cr=function(e){function t(t){var n;if(void 0===t&&(t={}),!t.tech)throw new Error("A tech was not provided.");var r=yn(t,{kind:gr[t.kind]||"subtitles",language:t.language||t.srclang||""}),i=yr[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 hr(n.cues_),s=new hr(n.activeCues_),l=!1,c=tn((0,u.Z)(n),(function(){this.activeCues=this.activeCues,l&&(this.trigger("cuechange"),l=!1)}));return"disabled"!==i&&n.tech_.ready((function(){n.tech_.on("timeupdate",c)}),!0),Object.defineProperties((0,u.Z)(n),{default:{get:function(){return o},set:function(){}},mode:{get:function(){return i},set:function(e){var t=this;yr[e]&&(i=e,this.preload_||"disabled"===i||0!==this.cues.length||Tr(this.src,this),"disabled"!==i?this.tech_.ready((function(){t.tech_.on("timeupdate",c)}),!0):this.tech_.off("timeupdate",c),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(l=!1,t.length!==this.activeCues_.length)l=!0;else for(var o=0;o<t.length;o++)-1===this.activeCues_.indexOf(t[o])&&(l=!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_||o||"subtitles"!==r.kind&&"captions"!==r.kind)&&Tr(n.src,(0,u.Z)(n))):n.loaded_=!0,n}(0,l.Z)(t,e);var n=t.prototype;return 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}(br);Cr.prototype.allowedEvents_={cuechange:"cuechange"};var Ar=function(e){function t(t){var n;void 0===t&&(t={});var r=yn(t,{kind:vr[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty((0,u.Z)(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(0,l.Z)(t,e),t}(br),Or=function(e){function t(t){var n;void 0===t&&(t={});var r=yn(t,{kind:mr[t.kind]||""});n=e.call(this,r)||this;var i=!1;return Object.defineProperty((0,u.Z)(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(0,l.Z)(t,e),t}(br),Nr=function(e){function t(t){var n,r;void 0===t&&(t={}),n=e.call(this)||this;var i=new Cr(t);return n.kind=i.kind,n.src=i.src,n.srclang=i.language,n.label=i.label,n.default=i.default,Object.defineProperties((0,u.Z)(n),{readyState:{get:function(){return r}},track:{get:function(){return i}}}),r=0,i.addEventListener("loadeddata",(function(){r=2,n.trigger({type:"load",target:(0,u.Z)(n)})})),n}return(0,l.Z)(t,e),t}(rn);Nr.prototype.allowedEvents_={load:"load"},Nr.NONE=0,Nr.LOADING=1,Nr.LOADED=2,Nr.ERROR=3;var Pr={audio:{ListClass:lr,TrackClass:Ar,capitalName:"Audio"},video:{ListClass:dr,TrackClass:Or,capitalName:"Video"},text:{ListClass:fr,TrackClass:Cr,capitalName:"Text"}};Object.keys(Pr).forEach((function(e){Pr[e].getterName=e+"Tracks",Pr[e].privateName=e+"Tracks_"}));var Lr={remoteText:{ListClass:fr,TrackClass:Cr,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:pr,TrackClass:Nr,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Mr=(0,s.Z)({},Pr,Lr);Lr.names=Object.keys(Lr),Pr.names=Object.keys(Pr),Mr.names=[].concat(Lr.names).concat(Pr.names);var Ir=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).hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),Mr.names.forEach((function(e){var n=Mr[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 Mr.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}(0,l.Z)(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(tn(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 Vn(0,0)},n.bufferedPercent=function(){return Wn(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(Pr.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.error=function(e){return void 0!==e&&(this.error_=new Qn(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Vn(0,0):Vn()},n.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},n.initTrackListeners=function(){var e=this;Pr.names.forEach((function(t){var n=Pr[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"]&&$e(g())&&Object.keys(g()).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 Mr.text.TrackClass(i);return o.addTrack(a),a}(this,e,t,n)},n.createRemoteTextTrack=function(e){var t=yn(e,{tech:this});return new Lr.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&&(Ve.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.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=gn(e),t.techs_[e]=n,t.techs_[vn(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=gn(e),i()&&i().videojs&&i().videojs[e]?(Ve.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}(bn);Mr.names.forEach((function(e){var t=Mr[e];Ir.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),Ir.prototype.featuresVolumeControl=!0,Ir.prototype.featuresMuteControl=!0,Ir.prototype.featuresFullscreenResize=!1,Ir.prototype.featuresPlaybackRate=!1,Ir.prototype.featuresProgressEvents=!1,Ir.prototype.featuresSourceset=!1,Ir.prototype.featuresTimeupdateEvents=!1,Ir.prototype.featuresNativeTextTracks=!1,Ir.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:Ve.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)}},bn.registerComponent("Tech",Ir),Ir.registerTech("Tech",Ir),Ir.defaultTechOrder_=[];var Rr={},Dr={},qr={};function jr(e,t,n){e.setTimeout((function(){return Vr(t,Rr[t.type],n,e)}),1)}function Br(e,t,n,r){void 0===r&&(r=null);var i="call"+gn(n),o=e.reduce(Hr(i),r),a=o===qr,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 Fr={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1},Ur={setCurrentTime:1,setMuted:1,setVolume:1},zr={play:1,pause:1};function Hr(e){return function(t,n){return t===qr?qr:n[e]?n[e](t):t}}function Vr(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)Vr(e,Rr[s],n,r,i,o);else if(s){var l=function(e,t){var n=Dr[e.id()],r=null;if(null==n)return r=t(e),Dr[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),Vr(e,u,n,r,i,o);l.setSource(Ze({},e),(function(t,a){if(t)return Vr(e,u,n,r,i,o);i.push(l),Vr(a,e.type===a.type?u:Rr[a.type],n,r,i,o)}))}else u.length?Vr(e,u,n,r,i,o):o?n(e,i):Vr(e,Rr["*"],n,r,i,!0)}var Wr={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",oga:"audio/ogg",m3u8:"application/x-mpegURL",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",png:"image/png",svg:"image/svg+xml",webp:"image/webp"},Yr=function(e){void 0===e&&(e="");var t=kr(e);return Wr[t.toLowerCase()]||""},Gr=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):Xe(t)&&n.push(t)})),t=n}else t="string"==typeof t&&t.trim()?[Kr({src:t})]:Xe(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Kr(t)]:[];return t};function Kr(e){if(!e.type){var t=Yr(e.src);t&&(e.type=t)}return e}var Zr=function(e){function t(t,n,r){var i,o=yn({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=gn(s[a]),l=Ir.getTech(u);if(u||(l=bn.getComponent(u)),l&&l.isSupported()){t.loadTech_(u);break}}return i}return(0,l.Z)(t,e),t}(bn);bn.registerComponent("MediaLoader",Zr);var Xr=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).emitTapEvents(),r.enable(),r}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(t,n,r){void 0===t&&(t="div"),void 0===n&&(n={}),void 0===r&&(r={}),n=Ze({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&Ve.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=Ze({role:"button"},r),this.tabIndex_=n.tabIndex;var i=e.prototype.createEl.call(this,t,n,r);return this.createControlTextEl(i),i},n.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},n.createControlTextEl=function(e){return this.controlTextEl_=ot("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,at(this.controlTextEl_,n),this.nonIconControl||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.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},n.handleKeyDown=function(t){p().isEventKey(t,"Space")||p().isEventKey(t,"Enter")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(bn);bn.registerComponent("ClickableComponent",Xr);var $r=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update(),t.on("posterchange",tn((0,u.Z)(r),r.update)),r}(0,l.Z)(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 ot("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)||(Mn||Nn)&&t||this.player_.tech(!0).focus(),this.player_.paused()?tr(this.player_.play()):this.player_.pause()}},t}(Xr);bn.registerComponent("PosterImage",$r);var Qr={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 Jr(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 ei(e,t,n){try{e.style[t]=n}catch(e){return}}var ti=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var a=tn((0,u.Z)(o),o.updateDisplay);return t.on("loadstart",tn((0,u.Z)(o),o.toggleDisplay)),t.on("texttrackchange",a),t.on("loadedmetadata",tn((0,u.Z)(o),o.preselectTrack)),t.ready(tn((0,u.Z)(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}(0,l.Z)(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"},{"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&&ei(a.firstChild,"color",Jr(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&ei(a.firstChild,"backgroundColor",Jr(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?ei(a,"backgroundColor",Jr(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",a.style.bottom="2px"}t.fontFamily&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=Qr[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;lt(l,"vjs-text-track-cue"),lt(l,"vjs-text-track-cue-"+(s.language?s.language:a))}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},t}(bn);bn.registerComponent("TextTrackDisplay",ti);var ni=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createEl=function(){var t=this.player_.isAudio(),n=this.localize(t?"Audio Player":"Video Player"),r=ot("span",{className:"vjs-control-text",innerHTML: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}(bn);bn.registerComponent("LoadingSpinner",ni);var ri=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={}),t=Ze({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},t),n=Ze({type:"button"},n);var r=bn.prototype.createEl.call(this,"button",t,n);return this.createControlTextEl(r),r},n.addChild=function(e,t){void 0===t&&(t={});var n=this.constructor.name;return Ve.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),bn.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){p().isEventKey(t,"Space")||p().isEventKey(t,"Enter")?t.stopPropagation():e.prototype.handleKeyDown.call(this,t)},t}(Xr);bn.registerComponent("Button",ri);var ii=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}(0,l.Z)(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 tr(t),void(!this.player_.tech(!0)||(Mn||Nn)&&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()};er(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}(ri);ii.prototype.controlText_="Play Video",bn.registerComponent("BigPlayButton",ii);var oi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).controlText(n&&n.controlText||r.localize("Close")),r}(0,l.Z)(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){p().isEventKey(t,"Esc")?(t.preventDefault(),t.stopPropagation(),this.trigger("click")):e.prototype.handleKeyDown.call(this,t)},t}(ri);bn.registerComponent("CloseButton",oi);var ai=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",r.handlePlay),r.on(t,"pause",r.handlePause),n.replay&&r.on(t,"ended",r.handleEnded),r}(0,l.Z)(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()?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){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},t}(ri);ai.prototype.controlText_="Play",bn.registerComponent("PlayToggle",ai);var si=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)},ui=si;function li(e,t){return void 0===t&&(t=e),ui(e,t)}var ci=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["timeupdate","ended"],r.updateContent),r.updateTextNode_(),r}(0,l.Z)(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",innerHTML:'<span class="vjs-control-text" role="presentation">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=ot("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=li(e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestAnimationFrame((function(){if(t.contentEl_){var e=t.textNode_;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}(bn);ci.prototype.labelText_="Time",ci.prototype.controlText_="Time",bn.registerComponent("TimeDisplay",ci);var di=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(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}(ci);di.prototype.labelText_="Current Time",di.prototype.controlText_="Current Time",bn.registerComponent("CurrentTimeDisplay",di);var fi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",r.updateContent),r.on(t,"loadstart",r.updateContent),r.on(t,"loadedmetadata",r.updateContent),r}(0,l.Z)(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}(ci);fi.prototype.labelText_="Duration",fi.prototype.controlText_="Duration",bn.registerComponent("DurationDisplay",fi);var pi=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"},{"aria-hidden":!0})},t}(bn);bn.registerComponent("TimeDivider",pi);var hi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"durationchange",r.updateContent),r}(0,l.Z)(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 t.insertBefore(ot("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}(ci);hi.prototype.labelText_="Remaining Time",hi.prototype.controlText_="Remaining Time",bn.registerComponent("RemainingTimeDisplay",hi);var mi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}(0,l.Z)(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_=ot("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),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}(bn);bn.registerComponent("LiveDisplay",mi);var vi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateLiveEdgeStatus(),r.player_.liveTracker&&r.on(r.player_.liveTracker,"liveedgechange",r.updateLiveEdgeStatus),r}(0,l.Z)(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_=ot("span",{className:"vjs-seek-to-live-text",innerHTML: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.updateLiveEdgeStatus),this.textEl_=null,e.prototype.dispose.call(this)},t}(ri);vi.prototype.controlText_="Seek to live, currently playing live",bn.registerComponent("SeekToLive",vi);var gi=function(e,t,n){return e=Number(e),Math.min(n,Math.max(t,isNaN(e)?t:e))},yi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}(0,l.Z)(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=Ze({tabIndex:0},n),r=Ze({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||Pn||e.preventDefault(),gt(),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)},n.handleMouseMove=function(e){},n.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;yt(),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.requestAnimationFrame((function(){var n=e.vertical()?"height":"width";e.bar.el().style[n]=(100*t).toFixed(2)+"%"}))),t}},n.getProgress=function(){return Number(gi(this.getPercent(),0,1).toFixed(4))},n.calculateDistance=function(e){var t=wt(this.el_,e);return this.vertical()?t.y:t.x},n.handleKeyDown=function(t){p().isEventKey(t,"Left")||p().isEventKey(t,"Down")?(t.preventDefault(),t.stopPropagation(),this.stepBack()):p().isEventKey(t,"Right")||p().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}(bn);bn.registerComponent("Slider",yi);var bi=function(e,t){return gi(e/t*100,0,100).toFixed(2)+"%"},_i=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).partEls_=[],r.on(t,"progress",r.update),r}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-load-progress"}),n=ot("span",{className:"vjs-control-text"}),r=ot("span",{textContent:this.localize("Loaded")}),i=a().createTextNode(": ");return this.percentageEl_=ot("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.requestAnimationFrame((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=bi(i,r);t.percent_!==a&&(t.el_.style.width=a,at(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(ot()),o[s]=c),c.dataset.start===u&&c.dataset.end===l||(c.dataset.start=u,c.dataset.end=l,c.style.left=bi(u,i),c.style.width=bi(l-u,i))}for(var d=o.length;d>n.length;d--)t.el_.removeChild(o[d-1]);o.length=n.length}))},t}(bn);bn.registerComponent("LoadProgressBar",_i);var wi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=nn(tn((0,u.Z)(r),r.update),en),r}(0,l.Z)(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=bt(this.el_),i=bt(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),this.el_.style.right="-"+u+"px",this.write(n)}},n.write=function(e){at(this.el_,e)},n.updateTime=function(e,t,n,r){var i=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((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?"":"-")+li(u,s)}else o=li(n,a);i.update(e,t,o),r&&r()}))},t}(bn);bn.registerComponent("TimeTooltip",wi);var ki=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=nn(tn((0,u.Z)(r),r.update),en),r}(0,l.Z)(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}(bn);ki.prototype.options_={children:[]},Bn||Tn||ki.prototype.options_.children.push("timeTooltip"),bn.registerComponent("PlayProgressBar",ki);var Ei=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).update=nn(tn((0,u.Z)(r),r.update),en),r}(0,l.Z)(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}(bn);Ei.prototype.options_={children:["timeTooltip"]},bn.registerComponent("MouseTimeDisplay",Ei);var xi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}(0,l.Z)(t,e);var n=t.prototype;return n.setEventHandlers_=function(){this.update_=tn(this,this.update),this.update=nn(this.update_,en),this.on(this.player_,["ended","durationchange","timeupdate"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,"liveedgechange",this.update),this.updateInterval=null,this.on(this.player_,["playing"],this.enableInterval_),this.on(this.player_,["ended","pause","waiting"],this.disableInterval_),"hidden"in a()&&"visibilityState"in a()&&this.on(a(),"visibilitychange",this.toggleVisibility_)},n.toggleVisibility_=function(e){a().hidden?this.disableInterval_(e):(this.enableInterval_(),this.update())},n.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,en))},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,r=e.prototype.update.call(this);return this.requestAnimationFrame((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}",[li(e,i),li(i,i)],"{1} of {2}")),n.currentTime_=e,n.duration_=i),n.bar&&n.bar.update(bt(n.el()),n.getProgress())})),r},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){Ct(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},n.handleMouseMove=function(e){if(Ct(e)){var t,n=this.calculateDistance(e),r=this.player_.liveTracker;if(r&&r.isLive()){if(n>=.99)return void r.seekToLiveEdge();var i=r.seekableStart(),o=r.liveCurrentTime();if((t=i+n*r.liveWindow())>=o&&(t=o),t<=i&&(t=i+.1),t===1/0)return}else(t=n*this.player_.duration())===this.player_.duration()&&(t-=.1);this.player_.currentTime(t)}},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?tr(this.player_.play()):this.update_()},n.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},n.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},n.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},n.handleKeyDown=function(t){if(p().isEventKey(t,"Space")||p().isEventKey(t,"Enter"))t.preventDefault(),t.stopPropagation(),this.handleAction(t);else if(p().isEventKey(t,"Home"))t.preventDefault(),t.stopPropagation(),this.player_.currentTime(0);else if(p().isEventKey(t,"End"))t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.duration());else if(/^[0-9]$/.test(p()(t))){t.preventDefault(),t.stopPropagation();var n=10*(p().codes[p()(t)]-p().codes[0])/100;this.player_.currentTime(this.player_.duration()*n)}else p().isEventKey(t,"PgDn")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(this.player_.currentTime()-60)):p().isEventKey(t,"PgUp")?(t.preventDefault(),t.stopPropagation(),this.player_.currentTime(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.on(this.player_.liveTracker,"liveedgechange",this.update),this.off(this.player_,["playing"],this.enableInterval_),this.off(this.player_,["ended","pause","waiting"],this.disableInterval_),"hidden"in a()&&"visibilityState"in a()&&this.off(a(),"visibilitychange",this.toggleVisibility_),e.prototype.dispose.call(this)},t}(yi);xi.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},Bn||Tn||xi.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),bn.registerComponent("SeekBar",xi);var Si=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).handleMouseMove=nn(tn((0,u.Z)(r),r.handleMouseMove),en),r.throttledHandleMouseSeek=nn(tn((0,u.Z)(r),r.handleMouseSeek),en),r.enable(),r}(0,l.Z)(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=bt(i),a=wt(i,e).x;a=gi(0,1,a),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(){this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},n.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},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.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},n.handleMouseUp=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(e),this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t}(bn);Si.prototype.options_={children:["seekBar"]},bn.registerComponent("ProgressControl",Si);var Ti=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,["enterpictureinpicture","leavepictureinpicture"],r.handlePictureInPictureChange),a().pictureInPictureEnabled||r.disable(),r}(0,l.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-picture-in-picture-control "+e.prototype.buildCSSClass.call(this)},n.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText("Exit Picture-in-Picture"):this.controlText("Picture-in-Picture")},n.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},t}(ri);Ti.prototype.controlText_="Picture-in-Picture",bn.registerComponent("PictureInPictureToggle",Ti);var Ci=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"fullscreenchange",r.handleFullscreenChange),!1===a()[t.fsApi_.fullscreenEnabled]&&r.disable(),r}(0,l.Z)(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}(ri);Ci.prototype.controlText_="Fullscreen",bn.registerComponent("FullscreenToggle",Ci);var Ai=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},t}(bn);bn.registerComponent("VolumeLevel",Ai);var Oi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on("slideractive",r.updateLastVolume_),r.on(t,"volumechange",r.updateARIAAttributes),t.ready((function(){return r.updateARIAAttributes()})),r}(0,l.Z)(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){Ct(t)&&e.prototype.handleMouseDown.call(this,t)},n.handleMouseMove=function(e){Ct(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}(yi);Oi.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Oi.prototype.playerEvent="volumechange",bn.registerComponent("VolumeBar",Oi);var Ni=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||$e(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical),r=e.call(this,t,n)||this,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")}))}((0,u.Z)(r),t),r.throttledHandleMouseMove=nn(tn((0,u.Z)(r),r.handleMouseMove),en),r.on("mousedown",r.handleMouseDown),r.on("touchstart",r.handleMouseDown),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}(0,l.Z)(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.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},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.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},n.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(bn);Ni.prototype.options_={children:["volumeBar"]},bn.registerComponent("VolumeControl",Ni);var Pi=function(e){function t(t,n){var r;return r=e.call(this,t,n)||this,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")}))}((0,u.Z)(r),t),r.on(t,["loadstart","volumechange"],r.update),r}(0,l.Z)(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;Bn&&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++)ct(this.el_,"vjs-vol-"+n);lt(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}(ri);Pi.prototype.controlText_="Mute",bn.registerComponent("MuteToggle",Pi);var Li=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||$e(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline),(r=e.call(this,t,n)||this).on(t,["loadstart"],r.volumePanelState_),r.on(r.muteToggle,"keyup",r.handleKeyPress),r.on(r.volumeControl,"keyup",r.handleVolumeControlKeyUp),r.on("keydown",r.handleKeyPress),r.on("mouseover",r.handleMouseOver),r.on("mouseout",r.handleMouseOut),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}(0,l.Z)(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){p().isEventKey(e,"Esc")&&this.muteToggle.focus()},n.handleMouseOver=function(e){this.addClass("vjs-hover"),Gt(a(),"keyup",tn(this,this.handleKeyPress))},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),Kt(a(),"keyup",tn(this,this.handleKeyPress))},n.handleKeyPress=function(e){p().isEventKey(e,"Esc")&&this.handleMouseOut()},t}(bn);Li.prototype.options_={children:["muteToggle","volumeControl"]},bn.registerComponent("VolumePanel",Li);var Mi=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",r.handleKeyDown),r.boundHandleBlur_=tn((0,u.Z)(r),r.handleBlur),r.boundHandleTapClick_=tn((0,u.Z)(r),r.handleTapClick),r}(0,l.Z)(t,e);var n=t.prototype;return n.addEventListenerForItem=function(e){e instanceof bn&&(this.on(e,"blur",this.boundHandleBlur_),this.on(e,["tap","click"],this.boundHandleTapClick_))},n.removeEventListenerForItem=function(e){e instanceof bn&&(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_=ot(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_),Gt(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){p().isEventKey(e,"Left")||p().isEventKey(e,"Down")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(p().isEventKey(e,"Right")||p().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].className&&/vjs-menu-title/.test(t[0].className)&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(bn);bn.registerComponent("Menu",Mi);var Ii=function(e){function t(t,n){var r;void 0===n&&(n={}),(r=e.call(this,t,n)||this).menuButton_=new ri(t,n),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var i=ri.prototype.buildCSSClass();return r.menuButton_.el_.className=r.buildCSSClass()+" "+i,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0,r.on(r.menuButton_,"tap",r.handleClick),r.on(r.menuButton_,"click",r.handleClick),r.on(r.menuButton_,"keydown",r.handleKeyDown),r.on(r.menuButton_,"mouseenter",(function(){r.addClass("vjs-hover"),r.menu.show(),Gt(a(),"keyup",tn((0,u.Z)(r),r.handleMenuKeyUp))})),r.on("mouseleave",r.handleMouseLeave),r.on("keydown",r.handleSubmenuKeyDown),r}(0,l.Z)(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.show()},n.createMenu=function(){var e=new Mi(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=ot("li",{className:"vjs-menu-title",innerHTML:gn(this.options_.title),tabIndex:-1});this.hideThreshold_+=1;var n=new bn(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+" "+ri.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"),Kt(a(),"keyup",tn(this,this.handleMenuKeyUp))},n.focus=function(){this.menuButton_.focus()},n.blur=function(){this.menuButton_.blur()},n.handleKeyDown=function(e){p().isEventKey(e,"Esc")||p().isEventKey(e,"Tab")?(this.buttonPressed_&&this.unpressButton(),p().isEventKey(e,"Tab")||(e.preventDefault(),this.menuButton_.focus())):(p().isEventKey(e,"Up")||p().isEventKey(e,"Down"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},n.handleMenuKeyUp=function(e){(p().isEventKey(e,"Esc")||p().isEventKey(e,"Tab"))&&this.removeClass("vjs-hover")},n.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},n.handleSubmenuKeyDown=function(e){(p().isEventKey(e,"Esc")||p().isEventKey(e,"Tab"))&&(this.buttonPressed_&&this.unpressButton(),p().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"),Bn&&rt())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}(bn);bn.registerComponent("MenuButton",Ii);var Ri=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(0,u.Z)(r);var o=tn((0,u.Z)(r),r.update);return i.addEventListener("removetrack",o),i.addEventListener("addtrack",o),r.player_.on("ready",o),r.player_.on("dispose",(function(){i.removeEventListener("removetrack",o),i.removeEventListener("addtrack",o)})),r}return(0,l.Z)(t,e),t}(Ii);bn.registerComponent("TrackButton",Ri);var Di=["Tab","Esc","Up","Down","Right","Left"],qi=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}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",Ze({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),r)},n.handleKeyDown=function(t){Di.some((function(e){return p().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}(Xr);bn.registerComponent("MenuItem",qi);var ji=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 l,c=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r.handleTracksChange.apply((0,u.Z)(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((0,u.Z)(r),t)};(t.on(["loadstart","texttrackchange"],c),s.addEventListener("change",c),s.addEventListener("selectedlanguagechange",d),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],c),s.removeEventListener("change",c),s.removeEventListener("selectedlanguagechange",d)})),void 0===s.onchange)&&r.on(["tap","click"],(function(){if("object"!=typeof i().Event)try{l=new(i().Event)("change")}catch(e){}l||(l=a().createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(l)}));return r.handleTracksChange(),r}(0,l.Z)(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}(qi);bn.registerComponent("TextTrackMenuItem",ji);var Bi=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}(0,l.Z)(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}(ji);bn.registerComponent("OffTextTrackMenuItem",Bi);var Fi=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.textTracks(),e.call(this,t,n)||this}return(0,l.Z)(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=ji),this.label_&&(n=this.label_+" off"),e.push(new Bi(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}(Ri);bn.registerComponent("TextTrackButton",Fi);var Ui=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,i.addEventListener("cuechange",tn((0,u.Z)(r),r.update)),r}(0,l.Z)(t,e);var n=t.prototype;return n.handleClick=function(t){e.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},n.update=function(e){var t=this.cue,n=this.player_.currentTime();this.selected(t.startTime<=n&&n<t.endTime)},t}(qi);bn.registerComponent("ChaptersTrackMenuItem",Ui);var zi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,l.Z)(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){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),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_=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_)}}},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(gn(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 Ui(this.player_,{track:this.track_,cue:i});e.push(o)}return e},t}(Fi);zi.prototype.kind_="chapters",zi.prototype.controlText_="Chapters",bn.registerComponent("ChaptersButton",zi);var Hi=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=t.textTracks(),a=tn((0,u.Z)(i),i.handleTracksChange);return o.addEventListener("change",a),i.on("dispose",(function(){o.removeEventListener("change",a)})),i}(0,l.Z)(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}(Fi);Hi.prototype.kind_="descriptions",Hi.prototype.controlText_="Descriptions",bn.registerComponent("DescriptionsButton",Hi);var Vi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,l.Z)(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}(Fi);Vi.prototype.kind_="subtitles",Vi.prototype.controlText_="Subtitles",bn.registerComponent("SubtitlesButton",Vi);var Wi=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(0,l.Z)(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(ji);bn.registerComponent("CaptionSettingsMenuItem",Wi);var Yi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,l.Z)(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 Wi(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Fi);Yi.prototype.kind_="captions",Yi.prototype.controlText_="Captions",bn.registerComponent("CaptionsButton",Yi);var Gi=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createEl=function(t,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),i+="</span>",e.prototype.createEl.call(this,t,Ze({innerHTML:i},n),r)},t}(ji);bn.registerComponent("SubsCapsMenuItem",Gi);var Ki=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(gn(r.label_)),r}(0,l.Z)(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 Wi(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,Gi)},t}(Fi);Ki.prototype.kinds_=["captions","subtitles"],Ki.prototype.controlText_="Subtitles",bn.registerComponent("SubsCapsButton",Ki);var Zi=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((0,u.Z)(r),t)};return o.addEventListener("change",a),r.on("dispose",(function(){o.removeEventListener("change",a)})),r}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(t,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"main-desc"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n "),i+="</span>",e.prototype.createEl.call(this,t,Ze({innerHTML:i},n),r)},n.handleClick=function(t){var n=this.player_.audioTracks();e.prototype.handleClick.call(this,t);for(var r=0;r<n.length;r++){var i=n[r];i.enabled=i===this.track}},n.handleTracksChange=function(e){this.selected(this.track.enabled)},t}(qi);bn.registerComponent("AudioTrackMenuItem",Zi);var Xi=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}(0,l.Z)(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 Zi(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Ri);Xi.prototype.controlText_="Audio Track",bn.registerComponent("AudioTrackButton",Xi);var $i=function(e){function t(t,n){var r,i=n.rate,o=parseFloat(i,10);return n.label=i,n.selected=1===o,n.selectable=!0,n.multiSelectable=!1,(r=e.call(this,t,n)||this).label=i,r.rate=o,r.on(t,"ratechange",r.update),r}(0,l.Z)(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}(qi);$i.prototype.contentElType="button",bn.registerComponent("PlaybackRateMenuItem",$i);var Qi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).updateVisibility(),r.updateLabel(),r.on(t,"loadstart",r.updateVisibility),r.on(t,"ratechange",r.updateLabel),r}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(){var t=e.prototype.createEl.call(this);return this.labelEl_=ot("div",{className:"vjs-playback-rate-value",innerHTML:"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.createMenu=function(){var e=new Mi(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new $i(this.player(),{rate:t[n]+"x"}));return e},n.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.handleClick=function(e){for(var t=this.player().playbackRate(),n=this.playbackRates(),r=n[0],i=0;i<n.length;i++)if(n[i]>t){r=n[i];break}this.player().playbackRate(r)},n.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.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_.innerHTML=this.player().playbackRate()+"x")},t}(Ii);Qi.prototype.controlText_="Playback Rate",bn.registerComponent("PlaybackRateMenuButton",Qi);var Ji=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){return e.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},t}(bn);bn.registerComponent("Spacer",Ji);var eo=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.buildCSSClass=function(){return"vjs-custom-control-spacer "+e.prototype.buildCSSClass.call(this)},n.createEl=function(){var t=e.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},t}(Ji);bn.registerComponent("CustomControlSpacer",eo);var to=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},t}(bn);to.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","seekToLive","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},"exitPictureInPicture"in a()&&to.prototype.options_.children.splice(to.prototype.options_.children.length-1,0,"pictureInPictureToggle"),bn.registerComponent("ControlBar",to);var no=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).on(t,"error",r.open),r}(0,l.Z)(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}(or);no.prototype.options_=(0,s.Z)({},or.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),bn.registerComponent("ErrorDisplay",no);var ro="vjs-text-track-settings",io=["#000","Black"],oo=["#00F","Blue"],ao=["#0FF","Cyan"],so=["#0F0","Green"],uo=["#F0F","Magenta"],lo=["#F00","Red"],co=["#FFF","White"],fo=["#FF0","Yellow"],po=["1","Opaque"],ho=["0.5","Semi-Transparent"],mo=["0","Transparent"],vo={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[io,co,lo,so,oo,fo,uo,ao]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[po,ho,mo]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[co,io,lo,so,oo,fo,uo,ao]},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:[po,ho]},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:[mo,ho,po]}};function go(e,t){if(t&&(e=t(e)),e&&"none"!==e)return e}vo.windowColor.options=vo.backgroundColor.options;var yo=function(e){function t(t,n){var r;return n.temporary=!1,(r=e.call(this,t,n)||this).updateDisplay=tn((0,u.Z)(r),r.updateDisplay),r.fill(),r.hasBeenOpened_=r.hasBeenFilled_=!0,r.endDialog=ot("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()})),Ke(vo,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}(0,l.Z)(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=vo[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 ot("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},n.createElFont_=function(){return ot("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 ot("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,go(i.options[i.options.selectedIndex].value,o));return void 0!==a&&(e[n]=a),e},void 0===(n={})&&(n=0),Ge(e=vo).reduce((function(n,r){return t(n,e[r],r)}),n)},n.setValues=function(e){var t=this;Ke(vo,(function(n,r){!function(e,t,n){if(t)for(var r=0;r<e.options.length;r++)if(go(e.options[r].value,n)===t){e.selectedIndex=r;break}}(t.$(n.selector),e[r],n.parser)}))},n.setDefaults=function(){var e=this;Ke(vo,(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(ro))}catch(e){Ve.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(ro,JSON.stringify(e)):i().localStorage.removeItem(ro)}catch(e){Ve.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}(or);bn.registerComponent("TextTrackSettings",yo);var bo=function(e){function t(t,n){var r,o=n.ResizeObserver||i().ResizeObserver;null===n.ResizeObserver&&(o=!1);var a=yn({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,(0,u.Z)(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(){Kt(this,"resize",e),Kt(this,"unload",t),t=null};Gt(r.el_.contentWindow,"unload",t),Gt(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}(0,l.Z)(t,e);var n=t.prototype;return n.createEl=function(){return e.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager",tabIndex:-1},{"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}(bn);bn.registerComponent("ResizeManager",bo);var _o={trackingThreshold:30,liveTolerance:15},wo=function(e){function t(t,n){var r,i=yn(_o,n,{createEl:!1});return(r=e.call(this,t,i)||this).reset_(),r.on(r.player_,"durationchange",r.handleDurationchange),Mn&&"hidden"in a()&&"visibilityState"in a()&&r.on(a(),"visibilitychange",r.handleVisibilityChange),r}(0,l.Z)(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.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.trackLive_,en),this.trackLive_(),this.on(this.player_,["play","pause"],this.trackLive_),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.skipNextSeeked_&&e>2,this.skipNextSeeked_=!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.skipNextSeeked_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,["play","pause"],this.trackLive_),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.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?1/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.skipNextSeeked_=!0,this.player_.currentTime(this.liveCurrentTime()))},n.dispose=function(){this.off(a(),"visibilitychange",this.handleVisibilityChange),this.stopTracking(),e.prototype.dispose.call(this)},t}(bn);bn.registerComponent("LiveTracker",wo);var ko,Eo=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)},xo=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}}),So=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},To=function(e){var t=e.el();if(!t.resetSourceWatch_){var n={},r=function(e){return So([e.el(),i().HTMLMediaElement.prototype,i().Element.prototype,xo],"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 Eo(e),a}};["append","appendChild","insertAdjacentHTML"].forEach((function(e){t[e]&&(n[e]=t[e],t[e]=o(n[e]))})),Object.defineProperty(t,"innerHTML",yn(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_)}},Co=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?wr(i().Element.prototype.getAttribute.call(this,"src")):""},set:function(e){return i().Element.prototype.setAttribute.call(this,"src",e),e}}),Ao=function(e){if(e.featuresSourceset){var t=e.el();if(!t.resetSourceset_){var n=function(e){return So([e.el(),i().HTMLMediaElement.prototype,Co],"src")}(e),r=t.setAttribute,o=t.load;Object.defineProperty(t,"src",yn(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 Eo(e)||(e.triggerSourceset(""),To(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):Eo(e)||To(e),t.resetSourceset_=function(){t.resetSourceset_=null,t.load=o,t.setAttribute=r,Object.defineProperty(t,"src",n),t.resetSourceWatch_&&t.resetSourceWatch_()}}}},Oo=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)},No=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i=t.source,o=!1;if(i&&(r.el_.currentSrc!==i.src||t.tag&&3===t.tag.initNetworkState_)?r.setSource(i):r.handleLateInit_(r.el_),t.enableSourceset&&r.setupSourcesetHandling_(),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")||!Er(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&&Ve.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_(),(Dn||jn||An)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}(0,l.Z)(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(){Ao(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=Pr[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[Lr.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;Pr.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=yn({},this.options_.tag&&pt(this.options_.tag));Dn&&!0===this.options_.nativeControlsForTouch||delete r.controls,ft(e,Ze(r,{id:this.options_.techId,class:"vjs-tech"}))}e.playerId=this.options_.playerId}void 0!==this.options_.preload&&mt(e,"preload",this.options_.preload);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?mt(e,s,s):vt(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.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){Ve(e,"Video is not ready. (Video.js)")}},n.duration=function(){var e=this;if(this.el_.duration===1/0&&Tn&&Pn&&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})},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)tr(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.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}(Ir);Oo(No,"TEST_VID",(function(){if(tt()){var e=a().createElement("video"),t=a().createElement("track");return t.kind="captions",t.srclang="en",t.label="English",e.appendChild(t),e}})),No.isSupported=function(){try{No.TEST_VID.volume=.5}catch(e){return!1}return!(!No.TEST_VID||!No.TEST_VID.canPlayType)},No.canPlayType=function(e){return No.TEST_VID.canPlayType(e)},No.canPlaySource=function(e,t){return No.canPlayType(e.type)},No.canControlVolume=function(){try{var e=No.TEST_VID.volume;return No.TEST_VID.volume=e/2+.1,e!==No.TEST_VID.volume}catch(e){return!1}},No.canMuteVolume=function(){try{var e=No.TEST_VID.muted;return No.TEST_VID.muted=!e,No.TEST_VID.muted?mt(No.TEST_VID,"muted","muted"):vt(No.TEST_VID,"muted"),e!==No.TEST_VID.muted}catch(e){return!1}},No.canControlPlaybackRate=function(){if(Tn&&Pn&&Ln<58)return!1;try{var e=No.TEST_VID.playbackRate;return No.TEST_VID.playbackRate=e/2+.1,e!==No.TEST_VID.playbackRate}catch(e){return!1}},No.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},No.supportsNativeTextTracks=function(){return Fn||Bn&&Pn},No.supportsNativeVideoTracks=function(){return!(!No.TEST_VID||!No.TEST_VID.videoTracks)},No.supportsNativeAudioTracks=function(){return!(!No.TEST_VID||!No.TEST_VID.audioTracks)},No.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],[["featuresVolumeControl","canControlVolume"],["featuresMuteControl","canMuteVolume"],["featuresPlaybackRate","canControlPlaybackRate"],["featuresSourceset","canOverrideAttributes"],["featuresNativeTextTracks","supportsNativeTextTracks"],["featuresNativeVideoTracks","supportsNativeVideoTracks"],["featuresNativeAudioTracks","supportsNativeAudioTracks"]].forEach((function(e){var t=e[0],n=e[1];Oo(No.prototype,t,(function(){return No[n]()}),!0)})),No.prototype.movingMediaElementInDOM=!Bn,No.prototype.featuresFullscreenResize=!0,No.prototype.featuresProgressEvents=!0,No.prototype.featuresTimeupdateEvents=!0,No.patchCanPlayType=function(){Cn>=4&&!On&&!Pn&&(ko=No.TEST_VID&&No.TEST_VID.constructor.prototype.canPlayType,No.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":ko.call(this,e)})},No.unpatchCanPlayType=function(){var e=No.TEST_VID.constructor.prototype.canPlayType;return ko&&(No.TEST_VID.constructor.prototype.canPlayType=ko),e},No.patchCanPlayType(),No.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){}}()}},No.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){No.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){No.prototype["set"+gn(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","played","networkState","readyState","videoWidth","videoHeight","crossOrigin"].forEach((function(e){No.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","crossOrigin"].forEach((function(e){No.prototype["set"+gn(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){No.prototype[e]=function(){return this.el_[e]()}})),Ir.withSourceHandlers(No),No.nativeSourceHandler={},No.nativeSourceHandler.canPlayType=function(e){try{return No.TEST_VID.canPlayType(e)}catch(e){return""}},No.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return No.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=kr(e.src);return No.nativeSourceHandler.canPlayType("video/"+n)}return""},No.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},No.nativeSourceHandler.dispose=function(){},No.registerSourceHandler(No.nativeSourceHandler),Ir.registerTech("Html5",No);var Po=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Lo={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Mo=["tiny","xsmall","small","medium","large","xlarge","huge"],Io={};Mo.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Io[e]="vjs-layout-"+t}));var Ro={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Do=function(e){function t(n,r,i){var o;if(n.id=n.id||r.id||"vjs_video_"+Ft(),(r=Ze(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 l=n;l&&1===l.nodeType;){if(pt(l).hasOwnProperty("lang")){r.language=l.getAttribute("lang");break}l=l.parentNode}if((o=e.call(this,null,r,i)||this).boundDocumentFullscreenChange_=tn((0,u.Z)(o),o.documentFullscreenChange_),o.boundFullWindowOnEscKey_=tn((0,u.Z)(o),o.fullWindowOnEscKey),o.isFullscreen_=!1,o.log=We(o.id_),o.fsApi_=Gn,o.isPosterFromTech_=!1,o.queuedCallbacks_=[],o.isReady_=!1,o.hasStarted_=!1,o.userActive_=!1,!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&&pt(n),o.language(o.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach((function(e){c[e.toLowerCase()]=r.languages[e]})),o.languages_=c}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(),pn((0,u.Z)(o),{eventBusKey:"el_"}),o.fsApi_.requestFullscreen&&(Gt(a(),o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_),o.on(o.fsApi_.fullscreenchange,o.boundDocumentFullscreenChange_)),o.fluid_&&o.on("playerreset",o.updateStyleEl_);var d=yn(o.options_);r.plugins&&Object.keys(r.plugins).forEach((function(e){o[e](r.plugins[e])})),o.options_.playerOptions=d,o.middleware_=[],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"),Dn&&o.addClass("vjs-touch-enabled"),Bn||o.addClass("vjs-workinghover"),t.players[o.id_]=(0,u.Z)(o);var f=ze.split(".")[0];return o.addClass("vjs-v"+f),o.userActive(!0),o.reportUserActivity(),o.one("play",o.listenForUserActivity_),o.on("stageclick",o.handleStageClick_),o.on("keydown",o.handleKeyDown),o.breakpoints(o.options_.breakpoints),o.responsive(o.options_.responsive),o}(0,l.Z)(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),Kt(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Kt(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),Dr[this.id()]=null,Mr.names.forEach((function(e){var t=Mr[e],r=n[t.getterName]();r&&r.off&&r.off()})),e.prototype.dispose.call(this)},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=pt(n);if(o){for(t=this.el_=n,n=this.tag=a().createElement("video");t.children.length;)n.appendChild(t.firstChild);ut(t,"video-js")||lt(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",(Mn||Pn&&Rn)&&(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_=qt("vjs-styles-dimensions");var u=Ot(".vjs-styles-defaults"),l=Ot("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);lt(f,"vjs-hidden"),f.setAttribute("hidden","hidden")}return n.initNetworkState_=n.networkState,n.parentNode&&!r&&n.parentNode.insertBefore(t,n),st(n,t),this.children_.unshift(n),this.el_.setAttribute("lang",this.language_),this.el_=t,t},n.crossOrigin=function(e){if(!e)return this.techGet_("crossOrigin");"anonymous"===e||"use-credentials"===e?this.techCall_("setCrossOrigin",e):Ve.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)?Ve.error('Improper value "'+t+'" supplied for for '+e):(this[n]=r,this.updateStyleEl_())},n.fluid=function(e){if(void 0===e)return!!this.fluid_;var t,n;this.fluid_=!!e,on(this)&&this.off("playerreset",this.updateStyleEl_),e?(this.addClass("vjs-fluid"),this.fill(!1),on(t=function(){this.on("playerreset",this.updateStyleEl_)})?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),jt(this.styleEl_,"\n ."+n+" {\n width: "+e+"px;\n height: "+t+"px;\n }\n\n ."+n+".vjs-fluid {\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=gn(e),i=e.charAt(0).toLowerCase()+e.slice(1);"Html5"!==r&&this.tag&&(Ir.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var o={source:t,autoplay:"string"!=typeof this.autoplay()&&this.autoplay(),nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+i+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,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};Mr.names.forEach((function(e){var t=Mr[e];o[t.getterName]=n[t.privateName]})),Ze(o,this.options_[r]),Ze(o,this.options_[i]),Ze(o,this.options_[e.toLowerCase()]),this.tag&&(o.tag=this.tag),t&&t.src===this.cache_.src&&this.cache_.currentTime>0&&(o.startTime=this.cache_.currentTime);var a=Ir.getTech(e);if(!a)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new a(o),this.tech_.ready(tn(this,this.handleTechReady_),!0),ir(this.textTracksJson_||[],this.tech_),Po.forEach((function(e){n.on(n.tech_,e,n["handleTech"+gn(e)+"_"])})),Object.keys(Lo).forEach((function(e){n.on(n.tech_,e,(function(t){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+Lo[e]+"_"].bind(n),event:t}):n["handleTech"+Lo[e]+"_"](t)}))})),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"fullscreenerror",this.handleTechFullscreenError_),this.on(this.tech_,"enterpictureinpicture",this.handleTechEnterPictureInPicture_),this.on(this.tech_,"leavepictureinpicture",this.handleTechLeavePictureInPicture_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||st(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},n.unloadTech_=function(){var e=this;Mr.names.forEach((function(t){var n=Mr[t];e[n.privateName]=e[n.getterName]()})),this.textTracksJson_=rr(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&&Ve.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_,"mouseup",this.handleTechClick_),this.on(this.tech_,"dblclick",this.handleTechDoubleClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},n.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mouseup",this.handleTechClick_),this.off(this.tech_,"dblclick",this.handleTechDoubleClick_)},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_(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(er(r))return r.catch(n)};if("any"===e&&!0!==this.muted()?er(n=this.play())&&(n=n.catch(r)):n="muted"===e&&!0!==this.muted()?r():this.play(),er(n))return n.then((function(){t.trigger({type:"autoplay-success",autoplay:e})})).catch((function(n){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 Yr(t)}(this,t)),this.cache_.source=yn({},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=pt(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&&(Ve.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.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){Ct(e)&&this.controls_&&(this.paused()?tr(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.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){t&&(t.nativeIOSFullscreen&&this.toggleClass("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:[],volume:1}},n.techCall_=function(e,t){this.ready((function(){if(e in Ur)return function(e,t,n,r){return t[n](e.reduce(Hr(n),r))}(this.middleware_,this.tech_,e,t);if(e in zr)return Br(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw Ve(e),e}}),!0)},n.techGet_=function(e){if(this.tech_&&this.tech_.isReady_){if(e in Fr)return function(e,t,n){return e.reduceRight(Hr(n),t[n]())}(this.middleware_,this.tech_,e);if(e in zr)return Br(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw Ve("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw Ve("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw Ve(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=tr),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||!Fn&&!Bn||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")||Vn(0,0)},n.scrubbing=function(e){if(void 0===e)return this.scrubbing_;this.scrubbing_=!!e,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.applyInitTime_),void this.one("canplay",this.applyInitTime_))):(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=Vn(0,0)),e},n.bufferedPercent=function(){return Wn(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);if(s)return s.then(i,i),s}))}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()?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_();if(a)return a.then(r,r),a}))}return this.exitFullscreenHelper_()},n.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=a()[this.fsApi_.exitFullscreen]();return t&&t.then((function(){return e.isFullscreen(!1)})),t}this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):this.exitFullWindow()},n.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=a().documentElement.style.overflow,Gt(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow="hidden",lt(a().body,"vjs-full-window"),this.trigger("enterFullWindow")},n.fullWindowOnEscKey=function(e){p().isEventKey(e,"Esc")&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},n.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,Kt(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow=this.docOrigOverflow,ct(a().body,"vjs-full-window"),this.trigger("exitFullWindow")},n.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},n.requestPictureInPicture=function(){if("pictureInPictureEnabled"in a())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 p().isEventKey(e,"f")}:n,i=t.muteKey,o=void 0===i?function(e){return p().isEventKey(e,"m")}:i,s=t.playPauseKey,u=void 0===s?function(e){return p().isEventKey(e,"k")||p().isEventKey(e,"Space")}:s;if(r.call(this,e)){e.preventDefault(),e.stopPropagation();var l=bn.getComponent("FullscreenToggle");!1!==a()[this.fsApi_.fullscreenEnabled]&&l.prototype.handleClick.call(this,e)}else if(o.call(this,e)){e.preventDefault(),e.stopPropagation(),bn.getComponent("MuteToggle").prototype.handleClick.call(this,e)}else if(u.call(this,e)){e.preventDefault(),e.stopPropagation(),bn.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=Ir.getTech(i);if(o||(o=bn.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else Ve.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,Ir.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(Ve.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.src=function(e){var t=this;if(void 0===e)return this.cache_.src||"";var n=Gr(e);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),jr(this,n[0],(function(e,r){var i,o;if(t.middleware_=r,t.cache_.sources=n,t.updateSourceCaches_(e),t.src_(e))return n.length>1?t.src(n.slice(1)):(t.changingSrc_=!1,t.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0),void t.triggerReady());i=r,o=t.tech_,i.forEach((function(e){return e.setTech&&e.setTech(o)}))}))):this.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0)},n.src_=function(e){var t,n,r=this,i=this.selectSource([e]);return!i||(t=i.tech,n=this.techName_,gn(t)!==gn(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_():tr(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_(),on(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)?(this.options_.autoplay=e,this.manualAutoplay_(e),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){if(void 0===e)return this.error_||null;if(this.options_.suppressNotSupportedError&&e&&4===e.code){var t=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any(["click","touchstart"],t),void this.one("loadstart",(function(){this.off(["click","touchstart"],t)}))}if(null===e)return this.error_=e,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new Qn(e),this.addClass("vjs-error"),Ve.error("(CODE:"+this.error_.code+" "+Qn.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("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=tn(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||Bn||Tn||(a.on("mouseenter",(function(e){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.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()},n.languages=function(){return yn(t.prototype.options_.languages,this.languages_)},n.toJSON=function(){var e=yn(this.options_),t=e.tracks;e.tracks=[];for(var n=0;n<t.length;n++){var r=t[n];(r=yn(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 or(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<Mo.length;n++){var r=Mo[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Io[e]),this.addClass(Io[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_=Ze({},Ro,e),this.updateCurrentBreakpoint_()),Ze(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.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},n.currentBreakpoint=function(){return this.breakpoint_},n.currentBreakpointClass=function(){return Io[this.breakpoint_]||""},n.loadMedia=function(e,t){var n=this;if(e&&"object"==typeof e){this.reset(),this.cache_.media=yn(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:Yr(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:Yr(t.poster)}]),t}return yn(this.cache_.media)},t.getTagSettings=function(e){var t={sources:[],tracks:[]},n=pt(e),r=n["data-setup"];if(ut(e,"vjs-fill")&&(n.fill=!0),ut(e,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=d()(r||"{}"),o=i[0],a=i[1];o&&Ve.error(o),Ze(n,a)}if(Ze(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,l=s.length;u<l;u++){var c=s[u],f=c.nodeName.toLowerCase();"source"===f?t.sources.push(pt(c)):"track"===f&&t.tracks.push(pt(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)},t}(bn);Mr.names.forEach((function(e){var t=Mr[e];Do.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}})),Do.prototype.crossorigin=Do.prototype.crossOrigin,Do.players={};var qo=i().navigator;Do.prototype.options_={techOrder:Ir.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:qo&&(qo.languages&&qo.languages[0]||qo.userLanguage||qo.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",fullscreen:{options:{navigationUI:"hide"}},breakpoints:{},responsive:!1},["ended","seeking","seekable","networkState","readyState"].forEach((function(e){Do.prototype[e]=function(){return this.techGet_(e)}})),Po.forEach((function(e){Do.prototype["handleTech"+gn(e)+"_"]=function(){return this.trigger(e)}})),bn.registerComponent("Player",Do);var jo="plugin",Bo={},Fo=function(e){return Bo.hasOwnProperty(e)},Uo=function(e){return Fo(e)?Bo[e]:void 0},zo=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},Ho=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},Vo=function(e,t){return t.prototype.name=e,function(){Ho(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},Ho(this,o.getEventHash()),o}},Wo=function(){function e(t){if(this.constructor===e)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,pn(this),delete this.trigger,mn(this,this.constructor.defaultState),zo(t,this.name),this.dispose=tn(this,this.dispose),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={}),Zt(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]=Vo(e,Bo[e])},e.isBasic=function(t){var n="string"==typeof t?Uo(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(Fo(t))Ve.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Do.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 Bo[t]=n,t!==jo&&(e.isBasic(n)?Do.prototype[t]=function(e,t){var n=function(){Ho(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return zo(this,e),Ho(this,{name:e,plugin:t,instance:n}),n};return Object.keys(t).forEach((function(e){n[e]=t[e]})),n}(t,n):Do.prototype[t]=Vo(t,n)),n},e.deregisterPlugin=function(e){if(e===jo)throw new Error("Cannot de-register base plugin.");Fo(e)&&(delete Bo[e],delete Do.prototype[e])},e.getPlugins=function(e){var t;return void 0===e&&(e=Object.keys(Bo)),e.forEach((function(e){var n=Uo(e);n&&((t=t||{})[e]=n)})),t},e.getPluginVersion=function(e){var t=Uo(e);return t&&t.VERSION||""},e}();Wo.getPlugin=Uo,Wo.BASE_PLUGIN_NAME=jo,Wo.registerPlugin(jo,Wo),Do.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Do.prototype.hasPlugin=function(e){return!!Fo(e)};var Yo=function(e){return 0===e.indexOf("#")?e.slice(1):e};function Go(e,t,n){var r=Go.getPlayer(e);if(r)return t&&Ve.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof e?Ot("#"+Yo(e)):e;if(!nt(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");i.ownerDocument.defaultView&&i.ownerDocument.body.contains(i)||Ve.warn("The element supplied is not included in the DOM"),t=t||{},Go.hooks("beforesetup").forEach((function(e){var n=e(i,yn(t));Xe(n)&&!Array.isArray(n)?t=yn(t,n):Ve.error("please return an object in beforesetup hooks")}));var o=bn.getComponent("Player");return r=new o(i,t,n),Go.hooks("setup").forEach((function(e){return e(r)})),r}if(Go.hooks_={},Go.hooks=function(e,t){return Go.hooks_[e]=Go.hooks_[e]||[],t&&(Go.hooks_[e]=Go.hooks_[e].concat(t)),Go.hooks_[e]},Go.hook=function(e,t){Go.hooks(e,t)},Go.hookOnce=function(e,t){Go.hooks(e,[].concat(t).map((function(t){return function n(){return Go.removeHook(e,n),t.apply(void 0,arguments)}})))},Go.removeHook=function(e,t){var n=Go.hooks(e).indexOf(t);return!(n<=-1)&&(Go.hooks_[e]=Go.hooks_[e].slice(),Go.hooks_[e].splice(n,1),!0)},!0!==i().VIDEOJS_NO_DYNAMIC_STYLE&&tt()){var Ko=Ot(".vjs-styles-defaults");if(!Ko){Ko=qt("vjs-styles-defaults");var Zo=Ot("head");Zo&&Zo.insertBefore(Ko,Zo.firstChild),jt(Ko,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")}}It(1,Go),Go.VERSION=ze,Go.options=Do.prototype.options_,Go.getPlayers=function(){return Do.players},Go.getPlayer=function(e){var t,n=Do.players;if("string"==typeof e){var r=Yo(e),i=n[r];if(i)return i;t=Ot("#"+r)}else t=e;if(nt(t)){var o=t,a=o.player,s=o.playerId;if(a||n[s])return a||n[s]}},Go.getAllPlayers=function(){return Object.keys(Do.players).map((function(e){return Do.players[e]})).filter(Boolean)},Go.players=Do.players,Go.getComponent=bn.getComponent,Go.registerComponent=function(e,t){Ir.isTech(t)&&Ve.warn("The "+e+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),bn.registerComponent.call(bn,e,t)},Go.getTech=Ir.getTech,Go.registerTech=Ir.registerTech,Go.use=function(e,t){Rr[e]=Rr[e]||[],Rr[e].push(t)},Object.defineProperty(Go,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Go.middleware,"TERMINATOR",{value:qr,writeable:!1,enumerable:!0}),Go.browser=Un,Go.TOUCH_ENABLED=Dn,Go.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),(0,w.Z)(n,e),e&&(n.super_=e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},Go.mergeOptions=yn,Go.bind=tn,Go.registerPlugin=Wo.registerPlugin,Go.deregisterPlugin=Wo.deregisterPlugin,Go.plugin=function(e,t){return Ve.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Wo.registerPlugin(e,t)},Go.getPlugins=Wo.getPlugins,Go.getPlugin=Wo.getPlugin,Go.getPluginVersion=Wo.getPluginVersion,Go.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),Go.options.languages=yn(Go.options.languages,((n={})[e]=t,n)),Go.options.languages[e]},Go.log=Ve,Go.createLogger=We,Go.createTimeRange=Go.createTimeRanges=Vn,Go.formatTime=li,Go.setFormatTime=function(e){ui=e},Go.resetFormatTime=function(){ui=si},Go.parseUrl=_r,Go.isCrossOrigin=Er,Go.EventTarget=rn,Go.on=Gt,Go.one=Xt,Go.off=Kt,Go.trigger=Zt,Go.xhr=m(),Go.TextTrack=Cr,Go.AudioTrack=Ar,Go.VideoTrack=Or,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){Go[e]=function(){return Ve.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Pt[e].apply(null,arguments)}})),Go.computedStyle=Qe,Go.dom=Pt,Go.url=xr,Go.defineLazyProperty=Oo;var Xo=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=E().buildAbsoluteURL(i().location.href,e)),E().buildAbsoluteURL(e,t))},$o=function(e,t,n){return e&&n.responseURL&&t!==n.responseURL?n.responseURL:t},Qo=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Jo=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}}(),ea=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var a=i.get;return void 0!==a?a.call(r):void 0},ta=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)},na=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},ra=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},ia=Go.mergeOptions,oa=Go.EventTarget,aa=Go.log,sa=function(e,t){["AUDIO","SUBTITLES"].forEach((function(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)}}))},ua=function(e,t){var n=ia(e,{}),r=n.playlists[t.id];if(!r)return null;if(r.segments&&t.segments&&r.segments.length===t.segments.length&&r.endList===t.endList&&r.mediaSequence===t.mediaSequence)return null;var i=ia(r,t);r.segments&&(i.segments=function(e,t,n){var r=t.slice();n=n||0;for(var i=Math.min(e.length,t.length+n),o=n;o<i;o++)r[o-n]=ia(e[o],r[o-n]);return r}(r.segments,t.segments,t.mediaSequence-r.mediaSequence)),i.segments.forEach((function(e){!function(e,t){e.resolvedUri||(e.resolvedUri=Xo(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Xo(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Xo(t,e.map.uri))}(e,i.resolvedUri)}));for(var o=0;o<n.playlists.length;o++)n.playlists[o].id===t.id&&(n.playlists[o]=i);return n.playlists[t.id]=i,n.playlists[t.uri]=i,n},la=function(e,t){return e+"-"+t},ca=function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];n.resolvedUri=Xo(e.uri,n.uri),n.id=la(t,n.uri),e.playlists[n.id]=n,e.playlists[n.uri]=n,n.attributes||(n.attributes={},aa.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute."))}},da=function(e){sa(e,(function(t){t.uri&&(t.resolvedUri=Xo(e.uri,t.uri))}))},fa=function(e,t){var n=e.segments[e.segments.length-1];return t&&n&&n.duration?1e3*n.duration:500*(e.targetDuration||10)},pa=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Qo(this,t);var i=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),o=r.withCredentials,a=void 0!==o&&o,s=r.handleManifestRedirects,u=void 0!==s&&s;i.srcUrl=e,i.hls_=n,i.withCredentials=a,i.handleManifestRedirects=u;var l=n.options_;if(i.customTagParsers=l&&l.customTagParsers||[],i.customTagMappers=l&&l.customTagMappers||[],!i.srcUrl)throw new Error("A non-empty playlist URL is required");return i.state="HAVE_NOTHING",i.on("mediaupdatetimeout",(function(){"HAVE_METADATA"===i.state&&(i.state="HAVE_CURRENT_METADATA",i.request=i.hls_.xhr({uri:Xo(i.master.uri,i.media().uri),withCredentials:i.withCredentials},(function(e,t){if(i.request)return e?i.playlistRequestError(i.request,i.media(),"HAVE_METADATA"):void i.haveMetadata(i.request,i.media().uri,i.media().id)})))})),i}return ta(t,e),Jo(t,[{key:"playlistRequestError",value: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")}},{key:"haveMetadata",value:function(e,t,n){var r=this;this.request=null,this.state="HAVE_METADATA";var o=new M;this.customTagParsers.forEach((function(e){return o.addParser(e)})),this.customTagMappers.forEach((function(e){return o.addTagMapper(e)})),o.push(e.responseText),o.end(),o.manifest.uri=t,o.manifest.id=n,o.manifest.attributes=o.manifest.attributes||{};var a=ua(this.master,o.manifest);this.targetDuration=o.manifest.targetDuration,a?(this.master=a,this.media_=this.master.playlists[n]):this.trigger("playlistunchanged"),this.media().endList||(i().clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=i().setTimeout((function(){r.trigger("mediaupdatetimeout")}),fa(this.media(),!!a))),this.trigger("loadedplaylist")}},{key:"dispose",value:function(){this.trigger("dispose"),this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.finalRenditionTimeout),this.off()}},{key:"stopRequest",value:function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}},{key:"media",value: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.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;if(this.master.playlists[e.id].endList)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"),this.trigger("mediachange")));if(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.request=this.hls_.xhr({uri:e.resolvedUri,withCredentials:this.withCredentials},(function(t,r){if(n.request){if(e.resolvedUri=$o(n.handleManifestRedirects,e.resolvedUri,r),t)return n.playlistRequestError(n.request,e,o);n.haveMetadata(r,e.uri,e.id),"HAVE_MASTER"===o?n.trigger("loadedmetadata"):n.trigger("mediachange")}}))}}}},{key:"pause",value:function(){this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),"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")}},{key:"load",value:function(e){var t=this;i().clearTimeout(this.mediaUpdateTimeout);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.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}},{key:"start",value:function(){var e=this;this.started=!0,this.request=this.hls_.xhr({uri:this.srcUrl,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.srcUrl+".",responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");var r=new M;if(e.customTagParsers.forEach((function(e){return r.addParser(e)})),e.customTagMappers.forEach((function(e){return r.addTagMapper(e)})),r.push(n.responseText),r.end(),e.state="HAVE_MASTER",e.srcUrl=$o(e.handleManifestRedirects,e.srcUrl,n),r.manifest.uri=e.srcUrl,r.manifest.playlists)return e.master=r.manifest,ca(e.master),da(e.master),e.trigger("loadedplaylist"),void(e.request||e.media(r.manifest.playlists[0]));var o=la(0,e.srcUrl);return e.master={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:i().location.href,playlists:[{uri:e.srcUrl,id:o,resolvedUri:e.srcUrl,attributes:{}}]},e.master.playlists[o]=e.master.playlists[0],e.master.playlists[e.srcUrl]=e.master.playlists[0],e.haveMetadata(n,e.srcUrl,o),e.trigger("loadedmetadata")}}))}}]),t}(oa),ha=Go.createTimeRange,ma=function(e,t,n){var r,i;return void 0===t&&(t=e.mediaSequence+e.segments.length),t<e.mediaSequence?0:(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+=i.duration,void 0!==i.start)return{result:n+i.start,precise:!0}}return{result:n,precise:!1}}(e,t),r.precise?r.result:(i=function(e,t){for(var n=0,r=void 0,i=t-e.mediaSequence;i<e.segments.length;i++){if(void 0!==(r=e.segments[i]).start)return{result:r.start-n,precise:!0};if(n+=r.duration,void 0!==r.end)return{result:r.end-n,precise:!0}}return{result:-1,precise:!1}}(e,t),i.precise?i.result:r.result+n))},va=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 ma(e,t,n)},ga=function(e,t,n){var r=0;if(t>n){var i=[n,t];t=i[0],n=i[1]}if(t<0){for(var o=t;o<Math.min(0,n);o++)r+=e.targetDuration;t=0}for(var a=t;a<n;a++)r+=e.segments[a].duration;return r},ya=function(e,t){if(!e.segments.length)return 0;var n=e.segments.length,r=e.segments[n-1].duration||e.targetDuration,i="number"==typeof t?t:r+2*e.targetDuration;if(0===i)return n;for(var o=0;n--&&!((o+=e.segments[n].duration)>=i););return Math.max(0,n)},ba=function(e,t,n,r){if(!e||!e.segments)return null;if(e.endList)return va(e);if(null===t)return null;t=t||0;var i=n?ya(e,r):e.segments.length;return ma(e,e.mediaSequence+i,t)},_a=function(e){return e-Math.floor(e)==0},wa=function(e,t){if(_a(t))return t+.1*e;for(var n=t.toString().split(".")[1].length,r=1;r<=n;r++){var i=Math.pow(10,r),o=t*i;if(_a(o)||r===n)return(o+e)/i}},ka=wa.bind(null,1),Ea=wa.bind(null,-1),xa=function(e){return e.excludeUntil&&e.excludeUntil>Date.now()},Sa=function(e){return e.excludeUntil&&e.excludeUntil===1/0},Ta=function(e){var t=xa(e);return!e.disabled&&!t},Ca=function(e,t){return t.attributes&&t.attributes[e]},Aa=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!!Ta(e)&&(e.attributes.BANDWIDTH||0)<n})).length},Oa={duration:va,seekable:function(e,t,n){var r=t||0,i=ba(e,t,!0,n);return null===i?ha():ha(r,i)},safeLiveIndex:ya,getMediaInfoForTime:function(e,t,n,r){var i=void 0,o=void 0,a=e.segments.length,s=t-r;if(s<0){if(n>0)for(i=n-1;i>=0;i--)if(o=e.segments[i],(s+=Ea(o.duration))>0)return{mediaIndex:i,startTime:r-ga(e,n,i)};return{mediaIndex:0,startTime:t}}if(n<0){for(i=n;i<0;i++)if((s-=e.targetDuration)<0)return{mediaIndex:0,startTime:t};n=0}for(i=n;i<a;i++)if(o=e.segments[i],(s-=ka(o.duration))<0)return{mediaIndex:i,startTime:r+ga(e,n,i)};return{mediaIndex:a-1,startTime:t}},isEnabled:Ta,isDisabled:function(e){return e.disabled},isBlacklisted:xa,isIncompatible:Sa,playlistEnd:ba,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},isFmp4:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].map)return!0;return!1},hasAttribute:Ca,estimateSegmentRequestTime:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!Ca("BANDWIDTH",n))return NaN;var i=e*n.attributes.BANDWIDTH;return(i-8*r)/t},isLowestEnabledRendition:Aa},Na=Go.xhr,Pa=Go.mergeOptions,La=function(){return function e(t,n){t=Pa({timeout:45e3},t);var r=e.beforeRequest||Go.Hls.xhr.beforeRequest;if(r&&"function"==typeof r){var i=r(t);i&&(t=i)}var o=Na(t,(function(e,t){var r=o.response;!e&&r&&(o.responseTime=Date.now(),o.roundTripTime=o.responseTime-o.requestTime,o.bytesReceived=r.byteLength||r.length,o.bandwidth||(o.bandwidth=Math.floor(o.bytesReceived/o.roundTripTime*8*1e3))),t.headers&&(o.responseHeaders=t.headers),e&&"ETIMEDOUT"===e.code&&(o.timedout=!0),e||o.aborted||200===t.statusCode||206===t.statusCode||0===t.statusCode||(e=new Error("XHR Failed with a response of: "+(o&&(r||o.responseText)))),n(e,o)})),a=o.abort;return o.abort=function(){return o.aborted=!0,a.apply(o,arguments)},o.uri=t.uri,o.requestTime=Date.now(),o}},Ma=function(e){var t,n,r={};return e.byterange&&(r.Range=(t=e.byterange,n=t.offset+t.length-1,"bytes="+t.offset+"-"+n)),r},Ia=function(e,t){return e.start(t)+"-"+e.end(t)},Ra=function(e,t){var n=e.toString(16);return"00".substring(0,2-n.length)+n+(t%2?" ":"")},Da=function(e){return e>=32&&e<126?String.fromCharCode(e):"."},qa=function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];ArrayBuffer.isView(r)?t[n]={bytes:r.buffer,byteOffset:r.byteOffset,byteLength:r.byteLength}:t[n]=r})),t},ja=function(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(",")},Ba=function(e){return e.resolvedUri},Fa=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(Ra).join("")+" "+t.slice(i*n,i*n+n).map(Da).join("")+"\n";return r},Ua=Object.freeze({createTransferableMessage:qa,initSegmentId:ja,segmentKeyId:Ba,hexDump:Fa,tagDump:function(e){var t=e.bytes;return Fa(t)},textRanges:function(e){var t="",n=void 0;for(n=0;n<e.length;n++)t+=Ia(e,n)+" ";return t}}),za=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=0,r=void 0,i=0;i<t.segments.length&&!(e<=(n=(r=t.segments[i]).videoTimingInfo?r.videoTimingInfo.transmuxedPresentationEnd:n+r.duration));i++);var o=t.segments[t.segments.length-1];if(o.videoTimingInfo&&o.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(e>n){if(e>n+.25*o.duration)return null;r=o}return{segment:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:n-r.duration,type:r.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)},Ha=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=void 0;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:Oa.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=void 0,r=void 0;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)},Va=1/30,Wa=.1,Ya=function(e,t){var n=[],r=void 0;if(e&&e.length)for(r=0;r<e.length;r++)t(e.start(r),e.end(r))&&n.push([e.start(r),e.end(r)]);return Go.createTimeRanges(n)},Ga=function(e,t){return Ya(e,(function(e,n){return e-Wa<=t&&n+Wa>=t}))},Ka=function(e,t){return Ya(e,(function(e){return e-Va>=t}))},Za=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(", ")},Xa=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},$a=function(e,t,n){var r=void 0,i=void 0;if(n&&n.cues)for(r=n.cues.length;r--;)(i=n.cues[r]).startTime<=t&&i.endTime>=e&&n.removeCue(i)},Qa=function(e){return isNaN(e)||Math.abs(e)===1/0?Number.MAX_VALUE:e},Ja=function(e,t,n){var r=i().WebKitDataCue||i().VTTCue;if(t&&t.forEach((function(e){var t=e.stream;this.inbandTextTracks_[t].addCue(new r(e.startTime+this.timestampOffset,e.endTime+this.timestampOffset,e.text))}),e),n){var o=Qa(e.mediaSource_.duration);if(n.forEach((function(e){var t=e.cueTime+this.timestampOffset;!("number"!=typeof t||i().isNaN(t)||t<0)&&t<1/0&&e.frames.forEach((function(e){var n=new r(t,t,e.value||e.url||e.data||"");n.frame=e,n.value=e,function(e){Object.defineProperties(e.frame,{id:{get:function(){return Go.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return Go.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return Go.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),e.value.data}}})}(n),this.metadataTrack_.addCue(n)}),this)}),e),e.metadataTrack_&&e.metadataTrack_.cues&&e.metadataTrack_.cues.length){for(var a=e.metadataTrack_.cues,s=[],u=0;u<a.length;u++)a[u]&&s.push(a[u]);var l=s.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),c=Object.keys(l).sort((function(e,t){return Number(e)-Number(t)}));c.forEach((function(e,t){var n=l[e],r=Number(c[t+1])||o;n.forEach((function(e){e.endTime=r}))}))}}},es="undefined"!=typeof window?window:{},ts="undefined"==typeof Symbol?"__target":Symbol(),ns=es.BlobBuilder||es.WebKitBlobBuilder||es.MozBlobBuilder||es.MSBlobBuilder,rs=es.URL||es.webkitURL||rs&&rs.msURL,is=es.Worker;function os(e,t){return function(n){var r=this;if(!t)return new is(e);if(is&&!n){var i=ls(t.toString().replace(/^function.+?{/,"").slice(0,-1));return this[ts]=new is(i),function(e,t){if(!e||!t)return;var n=e.terminate;e.objURL=t,e.terminate=function(){e.objURL&&rs.revokeObjectURL(e.objURL),n.call(e)}}(this[ts],i),this[ts]}var o={postMessage:function(e){r.onmessage&&setTimeout((function(){r.onmessage({data:e,target:o})}))}};t.call(o),this.postMessage=function(e){setTimeout((function(){o.onmessage({data:e,target:r})}))},this.isThisThread=!0}}if(is){var as,ss=ls("self.onmessage = function () {}"),us=new Uint8Array(1);try{(as=new is(ss)).postMessage(us,[us.buffer])}catch(e){is=null}finally{rs.revokeObjectURL(ss),as&&as.terminate()}}function ls(e){try{return rs.createObjectURL(new Blob([e],{type:"application/javascript"}))}catch(n){var t=new ns;return t.append(e),rs.createObjectURL(t.getBlob(type))}}var cs=new os("./transmuxer-worker.worker.js",(function(e,t){var n=this;!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,L,M,I,R,D,q,j,B,F,U,z=e,H=Math.pow(2,32)-1;!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},L=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]),M=new Uint8Array([0,0,0,0,0,0,0,0]),I=M,R=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),D=M,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,L))},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,I),t(E.stsz,R),t(E.stco,M))},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/(H+1)),s=Math.floor(e.baseMediaDecodeTime%(H+1)),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]},F=function(e,n){var r,i,o,a;for(n+=20+16*(i=e.samples||[]).length,r=U(i,n),a=0;a<i.length;a++)o=i[a],r=r.concat([(4278190080&o.duration)>>>24,(16711680&o.duration)>>>16,(65280&o.duration)>>>8,255&o.duration,(4278190080&o.size)>>>24,(16711680&o.size)>>>16,(65280&o.size)>>>8,255&o.size,o.flags.isLeading<<2|o.flags.dependsOn,o.flags.isDependedOn<<6|o.flags.hasRedundancy<<4|o.flags.paddingValue<<1|o.flags.isNonSyncSample,61440&o.flags.degradationPriority,15&o.flags.degradationPriority,(4278190080&o.compositionTimeOffset)>>>24,(16711680&o.compositionTimeOffset)>>>16,(65280&o.compositionTimeOffset)>>>8,255&o.compositionTimeOffset]);return t(E.trun,new Uint8Array(r))},B=function(e,n){var r,i,o,a;for(n+=20+8*(i=e.samples||[]).length,r=U(i,n),a=0;a<i.length;a++)o=i[a],r=r.concat([(4278190080&o.duration)>>>24,(16711680&o.duration)>>>16,(65280&o.duration)>>>8,255&o.duration,(4278190080&o.size)>>>24,(16711680&o.size)>>>16,(65280&o.size)>>>8,255&o.size]);return t(E.trun,new Uint8Array(r))},k=function(e,t){return"audio"===e.type?B(e,t):F(e,t)};o=function(){return t(E.ftyp,x,S,x,T)};var V,W,Y,G,K,Z,X,$,Q=function(e){return t(E.mdat,e)},J=u,ee=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},te=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},ne=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},re=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},ie=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},oe=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=te(a,s)).size,u.push(i);return u},ae=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},se=[33,16,5,32,164,27],ue=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],le=function(e){for(var t=[];e--;)t.push(0);return t},ce={96e3:[se,[227,64],le(154),[56]],88200:[se,[231],le(170),[56]],64e3:[se,[248,192],le(240),[56]],48e3:[se,[255,192],le(268),[55,148,128],le(54),[112]],44100:[se,[255,192],le(268),[55,163,128],le(84),[112]],32e3:[se,[255,192],le(268),[55,234],le(226),[112]],24e3:[se,[255,192],le(268),[55,255,128],le(268),[111,112],le(126),[224]],16e3:[se,[255,192],le(268),[55,255,128],le(268),[111,255],le(269),[223,108],le(195),[1,192]],12e3:[ue,le(268),[3,127,248],le(268),[6,255,240],le(268),[13,255,224],le(268),[27,253,128],le(259),[56]],11025:[ue,le(268),[3,127,248],le(268),[6,255,240],le(268),[13,255,224],le(268),[27,255,192],le(268),[55,175,128],le(108),[112]],8e3:[ue,le(268),[3,121,16],le(47),[7]]},de=(V=ce,Object.keys(V).reduce((function(e,t){return e[t]=new Uint8Array(V[t].reduce((function(e,t){return e.concat(t)}),[])),e}),{})),fe=9e4;Z=function(e,t){return W(K(e,t))},X=function(e,t){return Y(G(e),t)},$=function(e,t,n){return G(n?e:e-t)};var pe=fe,he=(W=function(e){return e*fe},Y=function(e,t){return e*t},G=function(e){return e/fe},K=function(e,t){return e/t},Z),me=X,ve=$,ge=function(e,t,n,r){var i,o,a,s,u,l=0,c=0,d=0;if(t.length&&(i=he(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(pe/(e.samplerate/1024)),n&&r&&(l=i-Math.max(n,r),d=(c=Math.floor(l/o))*o),!(c<1||d>pe/2))){for((a=de[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});e.baseMediaDecodeTime-=Math.floor(me(d,e.samplerate))}},ye=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)})))},be=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},_e=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},we=pe,ke=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},Ee=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/we,n=Math.floor(n)),n},xe=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))},Se=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){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}t+=i,r=0,i=0}return n},Te=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)},Ce=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},Ae=4,Oe=function e(){e.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new Ie(0,0),new Ie(0,1),new Ie(1,0),new Ie(1,1)],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)};(Oe.prototype=new z).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Se(e.escapedRBSP)).payloadType===Ae&&(n=Te(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=Ce(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Oe.prototype.flushCCStreams=function(e){this.ccStreams_.forEach((function(t){return"flush"===e?t.flush():t.partialFlush()}),this)},Oe.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),this.captionPackets_.length=0,this.flushCCStreams(e)):this.flushCCStreams(e)},Oe.prototype.flush=function(){return this.flushStream("flush")},Oe.prototype.partialFlush=function(){return this.flushStream("partialFlush")},Oe.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(e){e.reset()}))},Oe.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)},Oe.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Oe.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Oe.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)};var Ne={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},Pe=function(e){return null===e?"":(e=Ne[e]||e,String.fromCharCode(e))},Le=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Me=function(){for(var e=[],t=15;t--;)e.push("");return e},Ie=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_=Me();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Me();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Me()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))o=Pe((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=Pe((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=Le.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=Pe(r),o+=Pe(i),this[this.mode_](e.pts,o),this.column_+=o.length)}else this.lastControlCode_=null}};Ie.prototype=new z,Ie.prototype.flushDisplayed=function(e){var t=this.displayed_.map((function(e){try{return e.trim()}catch(e){return console.error("Skipping malformed caption."),""}})).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Ie.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Me(),this.nonDisplayed_=Me(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Ie.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_},Ie.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Ie.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Ie.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Ie.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Ie.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Ie.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Ie.prototype.isNormalChar=function(e){return e>=32&&e<=127},Ie.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Me(),this.displayed_=Me()),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},Ie.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)},Ie.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)}},Ie.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Ie.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Ie.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_]=""},Ie.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Re={CaptionStream:Oe,Cea608Stream:Ie},De={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},qe="shared",je=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},Be=function e(t){var n,r;e.prototype.init.call(this),this.type_=t||qe,this.push=function(e){this.type_!==qe&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=je(e.dts,r),e.pts=je(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")}};Be.prototype=new z;var Fe,Ue=Be,ze=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},He=function(e,t,n){return decodeURIComponent(ze(e,t,n))},Ve=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},We={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=He(e.data,1,t),e.value=He(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=He(e.data,1,t),e.url=He(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(ze(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};Fe=function(e){var t,n={debug:!(!e||!e.debug),descriptor:e&&e.descriptor},r=0,i=[],o=0;if(Fe.prototype.init.call(this),this.dispatchType=De.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,a,s,u,l;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)))n.debug&&console.log("Skipping unrecognized metadata packet");else if(i.push(e),o+=e.data.byteLength,1===i.length&&(r=Ve(e.data.subarray(6,10)),r+=10),!(o<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},l=0;l<r;)t.data.set(i[0].data.subarray(0,r-l),l),l+=i[0].data.byteLength,o-=i[0].data.byteLength,i.shift();a=10,64&t.data[5]&&(a+=4,a+=Ve(t.data.subarray(10,14)),r-=Ve(t.data.subarray(16,20)));do{if((s=Ve(t.data.subarray(a+4,a+8)))<1)return console.log("Malformed ID3 frame encountered. Skipping metadata parsing.");if((u={id:String.fromCharCode(t.data[a],t.data[a+1],t.data[a+2],t.data[a+3]),data:t.data.subarray(a+10,a+s+10)}).key=u.id,We[u.id]&&(We[u.id](u),"com.apple.streaming.transportStreamTimestamp"===u.owner)){var c=u.data,d=(1&c[3])<<30|c[4]<<22|c[5]<<14|c[6]<<6|c[7]>>>2;d*=4,d+=3&c[7],u.timeStamp=d,void 0===t.pts&&void 0===t.dts&&(t.pts=u.timeStamp,t.dts=u.timeStamp),this.trigger("timestamp",u)}t.frames.push(u),a+=10,a+=s}while(a<r);this.trigger("data",t)}}},Fe.prototype=new z;var Ye,Ge,Ke,Ze=Fe,Xe=Ue,$e=188;(Ye=function(){var e=new Uint8Array($e),t=0;Ye.prototype.init.call(this),this.push=function(n){var r,i=0,o=$e;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+=$e,o+=$e);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){t===$e&&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,Ge=function(){var e,t,n,r;Ge.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===De.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===De.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===De.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=De.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=De.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},Ge.prototype=new z,Ge.STREAM_TYPES={h264:27,adts:15},Ke=function(){var e,t=this,n={data:[],size:0},r={data:[],size:0},i={data:[],size:0},o=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;c=a,(d=s).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)}};Ke.prototype.init.call(this),this.push=function(a){({pat:function(){},pes:function(){var e,t;switch(a.streamType){case De.H264_STREAM_TYPE:case De.H264_STREAM_TYPE:e=n,t="video";break;case De.ADTS_STREAM_TYPE:e=r,t="audio";break;case De.METADATA_STREAM_TYPE:e=i,t="timed-metadata";break;default:return}a.payloadUnitStartIndicator&&o(e,t,!0),e.data.push(a),e.size+=a.data.byteLength},pmt:function(){var n={type:"metadata",tracks:[]};null!==(e=a.programMapTable).video&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.video,codec:"avc",type:"video"}),null!==e.audio&&n.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+e.audio,codec:"adts",type:"audio"}),t.trigger("data",n)}})[a.type]()},this.reset=function(){n.size=0,n.data.length=0,r.size=0,r.data.length=0,this.trigger("reset")},this.flushStreams_=function(){o(n,"video"),o(r,"audio"),o(i,"timed-metadata")},this.flush=function(){this.flushStreams_(),this.trigger("done")}},Ke.prototype=new z;var Qe={PAT_PID:0,MP2T_PACKET_LENGTH:$e,TransportPacketStream:Ye,TransportParseStream:Ge,ElementaryStream:Ke,TimestampRolloverStream:Xe,CaptionStream:Re.CaptionStream,Cea608Stream:Re.Cea608Stream,MetadataStream:Ze};for(var Je in De)De.hasOwnProperty(Je)&&(Qe[Je]=De[Je]);var et,tt=Qe,nt=pe,rt=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];et=function(e){var t,n=0;et.prototype.init.call(this),this.push=function(r){var i,o,a,s,u,l,c=0;if(e||(n=0),"audio"===r.type)for(t?(s=t,(t=new Uint8Array(s.byteLength+r.data.byteLength)).set(s),t.set(r.data,s.byteLength)):t=r.data;c+5<t.length;)if(255===t[c]&&240==(246&t[c+1])){if(o=2*(1&~t[c+1]),i=(3&t[c+3])<<11|t[c+4]<<3|(224&t[c+5])>>5,l=(u=1024*(1+(3&t[c+6])))*nt/rt[(60&t[c+2])>>>2],a=c+i,t.byteLength<a)return;if(this.trigger("data",{pts:r.pts+n*l,dts:r.dts+n*l,sampleCount:u,audioobjecttype:1+(t[c+2]>>>6&3),channelcount:(1&t[c+2])<<2|(192&t[c+3])>>>6,samplerate:rt[(60&t[c+2])>>>2],samplingfrequencyindex:(60&t[c+2])>>>2,samplesize:16,data:t.subarray(c+7+o,a)}),n++,t.byteLength===a)return void(t=void 0);t=t.subarray(a)}else c++},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")}},et.prototype=new z;var it,ot,at,st=et,ut=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()};ot=function(){var e,t,n=0;ot.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")}},ot.prototype=new z,at={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},it=function(){var e,t,n,r,i,o,a,s=new ot;it.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};switch(31&a[0]){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,m=0,v=0,g=0,y=0,b=1;if(n=(t=new ut(e)).readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),at[n]&&(3===(o=t.readUnsignedExpGolomb())&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(f=3!==o?8:12,h=0;h<f;h++)t.readBoolean()&&a(h<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(),h=0;h<u;h++)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()&&(m=t.readUnsignedExpGolomb(),v=t.readUnsignedExpGolomb(),g=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:p=[1,1];break;case 2:p=[12,11];break;case 3:p=[10,11];break;case 4:p=[16,11];break;case 5:p=[40,33];break;case 6:p=[24,11];break;case 7:p=[20,11];break;case 8:p=[32,11];break;case 9:p=[80,33];break;case 10:p=[18,11];break;case 11:p=[15,11];break;case 12:p=[64,33];break;case 13:p=[160,99];break;case 14:p=[4,3];break;case 15:p=[3,2];break;case 16:p=[2,1];break;case 255:p=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}p&&(b=p[0]/p[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:Math.ceil((16*(l+1)-2*m-2*v)*b),height:(2-d)*(c+1)*16-2*g-2*y,sarRatio:p}}},it.prototype=new z;var lt,ct={H264Stream:it,NalByteStream:ot},dt=function(e){return e[0]==="I".charCodeAt(0)&&e[1]==="D".charCodeAt(0)&&e[2]==="3".charCodeAt(0)},ft=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&e[t+5])>>4?n+20:n+10},pt=function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n};(lt=function(){var e=new Uint8Array,t=0;lt.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=pt(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=ft(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 ht,mt,vt,gt,yt=lt,bt=ct.H264Stream,_t=dt,wt=pe,kt=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],Et=["width","height","profileIdc","levelIdc","profileCompatibility","sarRatio"],xt=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},St=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}};mt=function(e,t){var n=[],r=0,i=0,o=0,a=1/0;t=t||{},mt.prototype.init.call(this),this.push=function(t){xe(e,t),e&&kt.forEach((function(n){e[n]=t[n]})),n.push(t)},this.setEarliestDts=function(t){i=t-e.timelineStartInfo.baseMediaDecodeTime},this.setVideoBaseMediaDecodeTime=function(e){a=e},this.setAudioAppendStart=function(e){o=e},this.flush=function(){var s,u,l,c,d;0!==n.length?(s=ye(n,e,i),e.baseMediaDecodeTime=Ee(e,t.keepOriginalTimestamps),ge(e,s,o,a),e.samples=be(s),l=Q(_e(s)),n=[],u=J(r,[e]),c=new Uint8Array(u.byteLength+l.byteLength),r++,c.set(u),c.set(l,u.byteLength),ke(e),d=Math.ceil(1024*wt/e.samplerate),s.length&&this.trigger("timingInfo",{start:s[0].pts,end:s[0].pts+s.length*d}),this.trigger("data",{track:e,boxes:c}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){ke(e),n=[],this.trigger("reset")}},mt.prototype=new z,ht=function(e,t){var n,r,i=0,o=[],a=[];t=t||{},ht.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){xe(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||n||(n=t.config,e.sps=[t.data],Et.forEach((function(t){e[t]=n[t]}),this)),"pic_parameter_set_rbsp"!==t.nalUnitType||r||(r=t.data,e.pps=[t.data]),o.push(t)},this.flush=function(){for(var n,r,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(n=ne(o),(s=re(n))[0][0].keyFrame||((r=this.getGopForFusion_(o[0],e))?(p=r.duration,s.unshift(r),s.byteLength+=r.byteLength,s.nalCount+=r.nalCount,s.pts=r.pts,s.dts=r.dts,s.duration+=r.duration):s=ie(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");ke(e),s=h}xe(e,s),e.samples=oe(s),l=Q(ae(s)),e.baseMediaDecodeTime=Ee(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",St(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=J(i,[e]),c=new Uint8Array(u.byteLength+l.byteLength),i++,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(){ke(e),n=void 0,r=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&&xt(e.pps[0],o.pps[0])&&e.sps&&xt(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}},ht.prototype=new z,gt=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,gt.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))))}},gt.prototype=new z,gt.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,Et.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,kt.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=ee(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=ve(t.startPts,s,this.keepOriginalTimestamps),t.endTime=ve(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=ve(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)},gt.prototype.setRemux=function(e){this.remuxTracks=e},vt=function(e){var t,n,r=this,i=!0;vt.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 tt.MetadataStream,i.aacStream=new yt,i.audioTimestampRolloverStream=new tt.TimestampRolloverStream("audio"),i.timedMetadataTimestampRolloverStream=new tt.TimestampRolloverStream("timed-metadata"),i.adtsStream=new st,i.coalesceStream=new gt(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||i.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:r.baseMediaDecodeTime},codec:"adts",type:"audio"},i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new mt(n,e),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"))},this.setupTsPipeline=function(){var i={};this.transmuxPipeline_=i,i.type="ts",i.metadataStream=new tt.MetadataStream,i.packetStream=new tt.TransportPacketStream,i.parseStream=new tt.TransportParseStream,i.elementaryStream=new tt.ElementaryStream,i.timestampRolloverStream=new tt.TimestampRolloverStream,i.adtsStream=new st,i.h264Stream=new bt,i.captionStream=new tt.CaptionStream,i.coalesceStream=new gt(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 ht(t,e),i.videoSegmentStream.on("timelineStartInfo",(function(e){n&&(n.timelineStartInfo=e,i.audioSegmentStream.setEarliestDts(e.dts))})),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 mt(n,e),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("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"))},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,ke(n),e.keepOriginalTimestamps||(n.timelineStartInfo.baseMediaDecodeTime=r),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[]),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,ke(t),i.captionStream.reset(),e.keepOriginalTimestamps||(t.timelineStartInfo.baseMediaDecodeTime=r)),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.push=function(e){if(i){var t=_t(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()}},vt.prototype=new z;var Tt={Transmuxer:vt,VideoSegmentStream:ht,AudioSegmentStream:mt,AUDIO_PROPERTIES:kt,VIDEO_PROPERTIES:Et,generateVideoSegmentTimingInfo:St},Ct=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),At=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.options=n||{},this.self=t,this.init()}return Ct(e,[{key:"init",value:function(){this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new Tt.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.captionStream&&t.captionStream.on("data",(function(t){e.postMessage({action:"caption",data:t})})),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){e.postMessage({action:"videoSegmentTimingInfo",videoSegmentTimingInfo:t})}))}(this.self,this.transmuxer)}},{key:"push",value:function(e){var t=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(t)}},{key:"reset",value:function(){this.init()}},{key:"setTimestampOffset",value:function(e){var t=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(9e4*t))}},{key:"setAudioAppendStart",value:function(e){this.transmuxer.setAudioAppendStart(Math.ceil(9e4*e.appendStart))}},{key:"flush",value:function(e){this.transmuxer.flush()}},{key:"resetCaptions",value:function(){this.transmuxer.resetCaptions()}},{key:"alignGopsWith",value:function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())}}]),e}(),Ot=new function(e){e.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new At(e,t.data.options):(this.messageHandlers||(this.messageHandlers=new At(e)),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}(n)}()})),ds={videoCodec:"avc1",videoObjectTypeIndicator:".4d400d",audioProfile:"2"},fs=function(e){return e.map((function(e){return 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)}))}))},ps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t={codecCount:0},n=void 0;return t.codecCount=e.split(",").length,t.codecCount=t.codecCount||2,(n=/(^|\s|,)+(avc[13])([^ ,]*)/i.exec(e))&&(t.videoCodec=n[2],t.videoObjectTypeIndicator=n[3]),t.audioProfile=/(^|\s|,)+mp4a.[0-9A-Fa-f]+\.([0-9A-Fa-f]+)/i.exec(e),t.audioProfile=t.audioProfile&&t.audioProfile[2],t},hs=function(e,t,n){return e+"/"+t+'; codecs="'+n.filter((function(e){return!!e})).join(", ")+'"'},ms=function(e,t){var n=function(e){return e.segments&&e.segments.length&&e.segments[0].map?"mp4":"mp2t"}(t),r=function(e){var t=e.attributes||{};return t.CODECS?ps(t.CODECS):ds}(t),i=t.attributes||{},o=!0,a=!1;if(!t)return[];if(e.mediaGroups.AUDIO&&i.AUDIO){var s=e.mediaGroups.AUDIO[i.AUDIO];if(s)for(var u in a=!0,o=!1,s)if(!s[u].uri&&!s[u].playlists){o=!0;break}}a&&!r.audioProfile&&(o||(r.audioProfile=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 ps(i.playlists[0].attributes.CODECS).audioProfile}return null}(e,i.AUDIO)),r.audioProfile||(Go.log.warn("Multiple audio tracks present but no audio codec string is specified. Attempting to use the default audio codec (mp4a.40.2)"),r.audioProfile=ds.audioProfile));var l={};r.videoCodec&&(l.video=""+r.videoCodec+r.videoObjectTypeIndicator),r.audioProfile&&(l.audio="mp4a.40."+r.audioProfile);var c=hs("audio",n,[l.audio]),d=hs("video",n,[l.video]),f=hs("video",n,[l.video,l.audio]);return a?!o&&l.video?[d,c]:o||l.video?[f,c]:[c,c]:l.video?[f]:[c]},vs=function(e){var t={type:"",parameters:{}},n=e.trim().split(";");return t.type=n.shift().trim(),n.forEach((function(e){var n=e.trim().split("=");if(n.length>1){var r=n[0].replace(/"/g,"").trim(),i=n[1].replace(/"/g,"").trim();t.parameters[r]=i}})),t},gs=function(e){return/mp4a\.\d+.\d+/i.test(e)},ys=function(e){return/avc1\.[\da-f]+/i.test(e)},bs=function(e,t,n){if(null==t||!e.length)return[];var r=Math.ceil(9e4*(t-n+3)),i=void 0;for(i=0;i<e.length&&!(e[i].pts>r);i++);return e.slice(i)},_s=9e4,ws=function(e){function t(e,n){Qo(this,t);var r=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,Go.EventTarget));r.timestampOffset_=0,r.pendingBuffers_=[],r.bufferUpdating_=!1,r.mediaSource_=e,r.codecs_=n,r.audioCodec_=null,r.videoCodec_=null,r.audioDisabled_=!1,r.appendAudioInitSegment_=!0,r.gopBuffer_=[],r.timeMapping_=0,r.safeAppend_=Go.browser.IE_VERSION>=11;var i={remux:!1,alignGopsAtEnd:r.safeAppend_};return r.codecs_.forEach((function(e){gs(e)?r.audioCodec_=e:ys(e)&&(r.videoCodec_=e)})),r.transmuxer_=new cs,r.transmuxer_.postMessage({action:"init",options:i}),r.transmuxer_.onmessage=function(e){return"data"===e.data.action?r.data_(e):"done"===e.data.action?r.done_(e):"gopInfo"===e.data.action?r.appendGopInfo_(e):"videoSegmentTimingInfo"===e.data.action?r.videoSegmentTimingInfo_(e.data.videoSegmentTimingInfo):void 0},Object.defineProperty(r,"timestampOffset",{get:function(){return this.timestampOffset_},set:function(e){"number"==typeof e&&e>=0&&(this.timestampOffset_=e,this.appendAudioInitSegment_=!0,this.gopBuffer_.length=0,this.timeMapping_=0,this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:e}))}}),Object.defineProperty(r,"appendWindowStart",{get:function(){return(this.videoBuffer_||this.audioBuffer_).appendWindowStart},set:function(e){this.videoBuffer_&&(this.videoBuffer_.appendWindowStart=e),this.audioBuffer_&&(this.audioBuffer_.appendWindowStart=e)}}),Object.defineProperty(r,"updating",{get:function(){return!!(this.bufferUpdating_||!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.updating||this.videoBuffer_&&this.videoBuffer_.updating)}}),Object.defineProperty(r,"buffered",{get:function(){return function(e,t,n){var r=null,i=null,o=0,a=[],s=[];if(!e&&!t)return Go.createTimeRange();if(!e)return t.buffered;if(!t)return e.buffered;if(n)return e.buffered;if(0===e.buffered.length&&0===t.buffered.length)return Go.createTimeRange();for(var u=e.buffered,l=t.buffered,c=u.length;c--;)a.push({time:u.start(c),type:"start"}),a.push({time:u.end(c),type:"end"});for(c=l.length;c--;)a.push({time:l.start(c),type:"start"}),a.push({time:l.end(c),type:"end"});for(a.sort((function(e,t){return e.time-t.time})),c=0;c<a.length;c++)"start"===a[c].type?2==++o&&(r=a[c].time):"end"===a[c].type&&1==--o&&(i=a[c].time),null!==r&&null!==i&&(s.push([r,i]),r=null,i=null);return Go.createTimeRanges(s)}(this.videoBuffer_,this.audioBuffer_,this.audioDisabled_)}}),r}return ta(t,e),Jo(t,[{key:"data_",value:function(e){var t=e.data.segment;t.data=new Uint8Array(t.data,e.data.byteOffset,e.data.byteLength),t.initSegment=new Uint8Array(t.initSegment.data,t.initSegment.byteOffset,t.initSegment.byteLength),function(e,t,n){var r=t.player_;if(n.captions&&n.captions.length)for(var i in e.inbandTextTracks_||(e.inbandTextTracks_={}),n.captionStreams)if(!e.inbandTextTracks_[i]){r.tech_.trigger({type:"usage",name:"hls-608"});var o=r.textTracks().getTrackById(i);e.inbandTextTracks_[i]=o||r.addRemoteTextTrack({kind:"captions",id:i,label:i},!1).track}n.metadata&&n.metadata.length&&!e.metadataTrack_&&(e.metadataTrack_=r.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,e.metadataTrack_.inBandMetadataTrackDispatchType=n.metadata.dispatchType)}(this,this.mediaSource_,t),this.pendingBuffers_.push(t)}},{key:"done_",value:function(e){"closed"!==this.mediaSource_.readyState?this.processPendingSegments_():this.pendingBuffers_.length=0}},{key:"videoSegmentTimingInfo_",value:function(e){var t={start:{decode:e.start.dts/_s,presentation:e.start.pts/_s},end:{decode:e.end.dts/_s,presentation:e.end.pts/_s},baseMediaDecodeTime:e.baseMediaDecodeTime/_s};e.prependedContentDuration&&(t.prependedContentDuration=e.prependedContentDuration/_s),this.trigger({type:"videoSegmentTimingInfo",videoSegmentTimingInfo:t})}},{key:"createRealSourceBuffers_",value:function(){var e=this,t=["audio","video"];t.forEach((function(n){if(e[n+"Codec_"]&&!e[n+"Buffer_"]){var r=null;if(e.mediaSource_[n+"Buffer_"])(r=e.mediaSource_[n+"Buffer_"]).updating=!1;else{var i=n+'/mp4;codecs="'+e[n+"Codec_"]+'"';r=function(e,t){var n=e.addSourceBuffer(t),r=Object.create(null);r.updating=!1,r.realBuffer_=n;var i=function(e){"function"==typeof n[e]?r[e]=function(){return n[e].apply(n,arguments)}:void 0===r[e]&&Object.defineProperty(r,e,{get:function(){return n[e]},set:function(t){return n[e]=t}})};for(var o in n)i(o);return r}(e.mediaSource_.nativeMediaSource_,i),e.mediaSource_[n+"Buffer_"]=r}e[n+"Buffer_"]=r,["update","updatestart","updateend"].forEach((function(i){r.addEventListener(i,(function(){if("audio"!==n||!e.audioDisabled_)return"updateend"===i&&(e[n+"Buffer_"].updating=!1),t.every((function(t){return!("audio"!==t||!e.audioDisabled_)||(n===t||!e[t+"Buffer_"]||!e[t+"Buffer_"].updating)}))?e.trigger(i):void 0}))}))}}))}},{key:"appendBuffer",value:function(e){if(this.bufferUpdating_=!0,this.audioBuffer_&&this.audioBuffer_.buffered.length){var t=this.audioBuffer_.buffered;this.transmuxer_.postMessage({action:"setAudioAppendStart",appendStart:t.end(t.length-1)})}this.videoBuffer_&&this.transmuxer_.postMessage({action:"alignGopsWith",gopsToAlignWith:bs(this.gopBuffer_,this.mediaSource_.player_?this.mediaSource_.player_.currentTime():null,this.timeMapping_)}),this.transmuxer_.postMessage({action:"push",data:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength},[e.buffer]),this.transmuxer_.postMessage({action:"flush"})}},{key:"appendGopInfo_",value:function(e){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_,e.data.gopInfo,this.safeAppend_)}},{key:"remove",value:function(e,t){if(this.videoBuffer_&&(this.videoBuffer_.updating=!0,this.videoBuffer_.remove(e,t),this.gopBuffer_=function(e,t,n,r){for(var i=Math.ceil(9e4*(t-r)),o=Math.ceil(9e4*(n-r)),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_)),!this.audioDisabled_&&this.audioBuffer_&&(this.audioBuffer_.updating=!0,this.audioBuffer_.remove(e,t)),$a(e,t,this.metadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)$a(e,t,this.inbandTextTracks_[n])}},{key:"processPendingSegments_",value:function(){var e={video:{segments:[],bytes:0},audio:{segments:[],bytes:0},captions:[],metadata:[]};if(!this.pendingBuffers_.length)return this.trigger("updateend"),void(this.bufferUpdating_=!1);e=this.pendingBuffers_.reduce((function(e,t){var n=t.type,r=t.data,i=t.initSegment;return e[n].segments.push(r),e[n].bytes+=r.byteLength,e[n].initSegment=i,t.captions&&(e.captions=e.captions.concat(t.captions)),t.info&&(e[n].info=t.info),t.metadata&&(e.metadata=e.metadata.concat(t.metadata)),e}),e),this.videoBuffer_||this.audioBuffer_||(0===e.video.bytes&&(this.videoCodec_=null),0===e.audio.bytes&&(this.audioCodec_=null),this.createRealSourceBuffers_()),e.audio.info&&this.mediaSource_.trigger({type:"audioinfo",info:e.audio.info}),e.video.info&&this.mediaSource_.trigger({type:"videoinfo",info:e.video.info}),this.appendAudioInitSegment_&&(!this.audioDisabled_&&this.audioBuffer_&&(e.audio.segments.unshift(e.audio.initSegment),e.audio.bytes+=e.audio.initSegment.byteLength),this.appendAudioInitSegment_=!1);var t=!1;this.videoBuffer_&&e.video.bytes?(e.video.segments.unshift(e.video.initSegment),e.video.bytes+=e.video.initSegment.byteLength,this.concatAndAppendSegments_(e.video,this.videoBuffer_)):!this.videoBuffer_||!this.audioDisabled_&&this.audioBuffer_||(t=!0),Ja(this,e.captions,e.metadata),!this.audioDisabled_&&this.audioBuffer_&&this.concatAndAppendSegments_(e.audio,this.audioBuffer_),this.pendingBuffers_.length=0,t&&this.trigger("updateend"),this.bufferUpdating_=!1}},{key:"concatAndAppendSegments_",value:function(e,t){var n=0,r=void 0;if(e.bytes){r=new Uint8Array(e.bytes),e.segments.forEach((function(e){r.set(e,n),n+=e.byteLength}));try{t.updating=!0,t.appendBuffer(r)}catch(e){this.mediaSource_.player_&&this.mediaSource_.player_.error({code:-3,type:"APPEND_BUFFER_ERR",message:e.message,originalError:e})}}}},{key:"abort",value:function(){this.videoBuffer_&&this.videoBuffer_.abort(),!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"reset"}),this.pendingBuffers_.length=0,this.bufferUpdating_=!1}},{key:"dispose",value:function(){this.transmuxer_&&this.transmuxer_.terminate(),this.trigger("dispose"),this.off()}}]),t}(Go.EventTarget),ks=function(e){function t(){Qo(this,t);var e=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),n=void 0;for(n in e.nativeMediaSource_=new(i().MediaSource),e.nativeMediaSource_)n in t.prototype||"function"!=typeof e.nativeMediaSource_[n]||(e[n]=e.nativeMediaSource_[n].bind(e.nativeMediaSource_));return e.duration_=NaN,Object.defineProperty(e,"duration",{get:function(){return this.duration_===1/0?this.duration_:this.nativeMediaSource_.duration},set:function(e){this.duration_=e,e===1/0||(this.nativeMediaSource_.duration=e)}}),Object.defineProperty(e,"seekable",{get:function(){return this.duration_===1/0?Go.createTimeRanges([[0,this.nativeMediaSource_.duration]]):this.nativeMediaSource_.seekable}}),Object.defineProperty(e,"readyState",{get:function(){return this.nativeMediaSource_.readyState}}),Object.defineProperty(e,"activeSourceBuffers",{get:function(){return this.activeSourceBuffers_}}),e.sourceBuffers=[],e.activeSourceBuffers_=[],e.updateActiveSourceBuffers_=function(){if(e.activeSourceBuffers_.length=0,1===e.sourceBuffers.length){var t=e.sourceBuffers[0];return t.appendAudioInitSegment_=!0,t.audioDisabled_=!t.audioCodec_,void e.activeSourceBuffers_.push(t)}for(var n=!1,r=!0,i=0;i<e.player_.audioTracks().length;i++){var o=e.player_.audioTracks()[i];if(o.enabled&&"main"!==o.kind){n=!0,r=!1;break}}e.sourceBuffers.forEach((function(t,i){if(t.appendAudioInitSegment_=!0,t.videoCodec_&&t.audioCodec_)t.audioDisabled_=n;else if(t.videoCodec_&&!t.audioCodec_)t.audioDisabled_=!0,r=!1;else if(!t.videoCodec_&&t.audioCodec_&&(t.audioDisabled_=i?r:!r,t.audioDisabled_))return;e.activeSourceBuffers_.push(t)}))},e.onPlayerMediachange_=function(){e.sourceBuffers.forEach((function(e){e.appendAudioInitSegment_=!0}))},e.onHlsReset_=function(){e.sourceBuffers.forEach((function(e){e.transmuxer_&&e.transmuxer_.postMessage({action:"resetCaptions"})}))},e.onHlsSegmentTimeMapping_=function(t){e.sourceBuffers.forEach((function(e){return e.timeMapping_=t.mapping}))},["sourceopen","sourceclose","sourceended"].forEach((function(e){this.nativeMediaSource_.addEventListener(e,this.trigger.bind(this))}),e),e.on("sourceopen",(function(t){var n=a().querySelector('[src="'+e.url_+'"]');n&&(e.player_=Go(n.parentNode),e.player_&&(e.player_.tech_.on("hls-reset",e.onHlsReset_),e.player_.tech_.on("hls-segment-time-mapping",e.onHlsSegmentTimeMapping_),e.player_.audioTracks&&e.player_.audioTracks()&&(e.player_.audioTracks().on("change",e.updateActiveSourceBuffers_),e.player_.audioTracks().on("addtrack",e.updateActiveSourceBuffers_),e.player_.audioTracks().on("removetrack",e.updateActiveSourceBuffers_)),e.player_.on("mediachange",e.onPlayerMediachange_)))})),e.on("sourceended",(function(t){for(var n=Qa(e.duration),r=0;r<e.sourceBuffers.length;r++){var i=e.sourceBuffers[r],o=i.metadataTrack_&&i.metadataTrack_.cues;o&&o.length&&(o[o.length-1].endTime=n)}})),e.on("sourceclose",(function(e){this.sourceBuffers.forEach((function(e){e.transmuxer_&&e.transmuxer_.terminate()})),this.sourceBuffers.length=0,this.player_&&(this.player_.audioTracks&&this.player_.audioTracks()&&(this.player_.audioTracks().off("change",this.updateActiveSourceBuffers_),this.player_.audioTracks().off("addtrack",this.updateActiveSourceBuffers_),this.player_.audioTracks().off("removetrack",this.updateActiveSourceBuffers_)),this.player_.el_&&this.player_.off("mediachange",this.onPlayerMediachange_),this.player_.tech_&&this.player_.tech_.el_&&(this.player_.tech_.off("hls-reset",this.onHlsReset_),this.player_.tech_.off("hls-segment-time-mapping",this.onHlsSegmentTimeMapping_)))})),e}return ta(t,e),Jo(t,[{key:"addSeekableRange_",value:function(e,t){var n=void 0;if(this.duration!==1/0)throw(n=new Error("MediaSource.addSeekableRange() can only be invoked when the duration is Infinity")).name="InvalidStateError",n.code=11,n;(t>this.nativeMediaSource_.duration||isNaN(this.nativeMediaSource_.duration))&&(this.nativeMediaSource_.duration=t)}},{key:"addSourceBuffer",value:function(e){var t=void 0,n=vs(e);if(/^(video|audio)\/mp2t$/i.test(n.type)){var r=[];n.parameters&&n.parameters.codecs&&(r=n.parameters.codecs.split(","),r=(r=fs(r)).filter((function(e){return gs(e)||ys(e)}))),0===r.length&&(r=["avc1.4d400d","mp4a.40.2"]),t=new ws(this,r),0!==this.sourceBuffers.length&&(this.sourceBuffers[0].createRealSourceBuffers_(),t.createRealSourceBuffers_(),this.sourceBuffers[0].audioDisabled_=!0)}else t=this.nativeMediaSource_.addSourceBuffer(e);return this.sourceBuffers.push(t),t}},{key:"dispose",value:function(){this.trigger("dispose"),this.off(),this.sourceBuffers.forEach((function(e){e.dispose&&e.dispose()})),this.sourceBuffers.length=0}}]),t}(Go.EventTarget),Es=0;Go.mediaSources={};var xs=function(e,t){var n=Go.mediaSources[e];if(!n)throw new Error("Media Source not found (Video.js)");n.trigger({type:"sourceopen",swfId:t})},Ss=function(){return!!i().MediaSource&&!!i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d400d,mp4a.40.2"')},Ts=function(){if(this.MediaSource={open:xs,supportsNativeMediaSources:Ss},Ss())return new ks;throw new Error("Cannot use create a virtual MediaSource for this video")};Ts.open=xs,Ts.supportsNativeMediaSources=Ss;var Cs={createObjectURL:function(e){var t=void 0;return e instanceof ks?(t=i().URL.createObjectURL(e.nativeMediaSource_),e.url_=t,t):e instanceof ks?(t="blob:vjs-media-source/"+Es,Es++,Go.mediaSources[t]=e,t):(t=i().URL.createObjectURL(e),e.url_=t,t)}};Go.MediaSource=Ts,Go.URL=Cs;var As=Go.EventTarget,Os=Go.mergeOptions,Ns=function(e,t){for(var n=void 0,r=Os(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod}),i=0;i<t.playlists.length;i++){var o=ua(r,t.playlists[i]);o?r=o:n=!0}return sa(t,(function(e,t,i,o){if(e.playlists&&e.playlists.length){var a=e.playlists[0].id,s=ua(r,e.playlists[0]);s&&((r=s).mediaGroups[t][i][o].playlists[0]=r.playlists[a],n=!1)}})),n?null:r},Ps=function(e){var t=e.byterange.offset+e.byterange.length-1;return e.uri+"-"+e.byterange.offset+"-"+t},Ls=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},Ms=function(e,t){var n={};for(var r in e){var i=e[r].sidx;if(i){var o=Ps(i);if(!t[o])break;var a=t[o].sidxInfo;Ls(a,i)&&(n[o]=t[o])}}return n},Is=function(e,t,n,r,i){var o={uri:$o(r.handleManifestRedirects,e.resolvedUri),byterange:e.byterange,playlist:t};return n(Go.mergeOptions(o,{responseType:"arraybuffer",headers:Ma(o)}),i)},Rs=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3];Qo(this,t);var o=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),a=r.withCredentials,s=void 0!==a&&a,u=r.handleManifestRedirects,l=void 0!==u&&u;if(o.hls_=n,o.withCredentials=s,o.handleManifestRedirects=l,!e)throw new Error("A non-empty playlist URL or playlist is required");return o.on("minimumUpdatePeriod",(function(){o.refreshXml_()})),o.on("mediaupdatetimeout",(function(){o.refreshMedia_(o.media().id)})),o.state="HAVE_NOTHING",o.loadedPlaylists_={},"string"==typeof e?(o.srcUrl=e,o.sidxMapping_={},na(o)):(o.setupChildLoader(i,e),o)}return ta(t,e),Jo(t,[{key:"setupChildLoader",value:function(e,t){this.masterPlaylistLoader_=e,this.childPlaylist_=t}},{key:"dispose",value:function(){this.trigger("dispose"),this.stopRequest(),this.loadedPlaylists_={},i().clearTimeout(this.minimumUpdatePeriodTimeout_),i().clearTimeout(this.mediaRequest_),i().clearTimeout(this.mediaUpdateTimeout),this.off()}},{key:"hasPendingRequest",value:function(){return this.request||this.mediaRequest_}},{key:"stopRequest",value:function(){if(this.request){var e=this.request;this.request=null,e.onreadystatechange=null,e.abort()}}},{key:"sidxRequestFinished_",value:function(e,t,n,r){var i=this;return function(o,a){if(i.request){if(i.request=null,o)return i.error={status:a.status,message:"DASH playlist request error at URL: "+e.uri,response:a.response,code:2},n&&(i.state=n),i.trigger("error"),r(t,null);var s=new Uint8Array(a.response),u=Te().parseSidx(s.subarray(8));return r(t,u)}}}},{key:"media",value: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.master.playlists[e])throw new Error("Unknown playlist URI: "+e);e=this.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")));if(r)if(this.media_&&this.trigger("mediachanging"),e.sidx){var o=void 0,a=void 0;this.masterPlaylistLoader_?(o=this.masterPlaylistLoader_.master,a=this.masterPlaylistLoader_.sidxMapping_):(o=this.master,a=this.sidxMapping_);var s=Ps(e.sidx);a[s]={sidxInfo:e.sidx},this.request=Is(e.sidx,e,this.hls_.xhr,{handleManifestRedirects:this.handleManifestRedirects},this.sidxRequestFinished_(e,o,n,(function(r,i){if(!r||!i)throw new Error("failed to request sidx");a[s].sidx=i,t.haveMetadata({startingState:n,playlist:r.playlists[e.id]})})))}else this.mediaRequest_=i().setTimeout(this.haveMetadata.bind(this,{startingState:n,playlist:e}),0)}},{key:"haveMetadata",value: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")}},{key:"pause",value:function(){this.stopRequest(),i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.minimumUpdatePeriodTimeout_),"HAVE_NOTHING"===this.state&&(this.started=!1)}},{key:"load",value:function(e){var t=this;i().clearTimeout(this.mediaUpdateTimeout),i().clearTimeout(this.minimumUpdatePeriodTimeout_);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.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}},{key:"parseMasterXml",value:function(){var e=Ee(this.masterXml_,{manifestUri:this.srcUrl,clientOffset:this.clientOffset_,sidxMapping:this.sidxMapping_});e.uri=this.srcUrl;for(var t=0;t<e.playlists.length;t++){var n="placeholder-uri-"+t;e.playlists[t].uri=n}return sa(e,(function(t,n,r,i){if(t.playlists&&t.playlists.length){var o="placeholder-uri-"+n+"-"+r+"-"+i,a=la(0,o);t.playlists[0].uri=o,t.playlists[0].id=a,e.playlists[a]=t.playlists[0],e.playlists[o]=t.playlists[0]}})),ca(e),da(e),e}},{key:"start",value:function(){var e=this;this.started=!0,this.masterPlaylistLoader_?this.mediaRequest_=i().setTimeout(this.haveMaster_.bind(this),0):this.request=this.hls_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"DASH playlist request error at URL: "+e.srcUrl,responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.masterXml_=n.responseText,n.responseHeaders&&n.responseHeaders.date?e.masterLoaded_=Date.parse(n.responseHeaders.date):e.masterLoaded_=Date.now(),e.srcUrl=$o(e.handleManifestRedirects,e.srcUrl,n),e.syncClientServerClock_(e.onClientServerClockSync_.bind(e))}}))}},{key:"syncClientServerClock_",value:function(e){var t=this,n=xe(this.masterXml_);return null===n?(this.clientOffset_=this.masterLoaded_-Date.now(),e()):"DIRECT"===n.method?(this.clientOffset_=n.value-Date.now(),e()):void(this.request=this.hls_.xhr({uri:Xo(this.srcUrl,n.value),method:n.method,withCredentials:this.withCredentials},(function(r,i){if(t.request){if(r)return t.clientOffset_=t.masterLoaded_-Date.now(),e();var o=void 0;o="HEAD"===n.method?i.responseHeaders&&i.responseHeaders.date?Date.parse(i.responseHeaders.date):t.masterLoaded_:Date.parse(i.responseText),t.clientOffset_=o-Date.now(),e()}})))}},{key:"haveMaster_",value:function(){this.state="HAVE_MASTER",this.mediaRequest_=null,this.masterPlaylistLoader_?this.media_||this.media(this.childPlaylist_):(this.master=this.parseMasterXml(),this.trigger("loadedplaylist"))}},{key:"onClientServerClockSync_",value:function(){var e=this;this.haveMaster_(),this.hasPendingRequest()||this.media_||this.media(this.master.playlists[0]),this.master&&this.master.minimumUpdatePeriod&&(this.minimumUpdatePeriodTimeout_=i().setTimeout((function(){e.trigger("minimumUpdatePeriod")}),this.master.minimumUpdatePeriod))}},{key:"refreshXml_",value:function(){var e=this;this.request=this.hls_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},(function(t,n){if(e.request){if(e.request=null,t)return e.error={status:n.status,message:"DASH playlist request error at URL: "+e.srcUrl,responseText:n.responseText,code:2},"HAVE_NOTHING"===e.state&&(e.started=!1),e.trigger("error");e.masterXml_=n.responseText,e.sidxMapping_=function(e,t,n,r){var i=Ee(e,{manifestUri:t,clientOffset:n}),o=Ms(i.playlists,r);return sa(i,(function(e,t,n,i){if(e.playlists&&e.playlists.length){var a=e.playlists;o=Os(o,Ms(a,r))}})),o}(e.masterXml_,e.srcUrl,e.clientOffset_,e.sidxMapping_);var r=e.parseMasterXml(),o=Ns(e.master,r),a=e.media().sidx;if(o)if(a){var s=Ps(a);if(!e.sidxMapping_[s]){var u=e.media();e.request=Is(u.sidx,u,e.hls_.xhr,{handleManifestRedirects:e.handleManifestRedirects},e.sidxRequestFinished_(u,r,e.state,(function(t,n){if(!t||!n)throw new Error("failed to request sidx on minimumUpdatePeriod");e.sidxMapping_[s].sidx=n,e.minimumUpdatePeriodTimeout_=i().setTimeout((function(){e.trigger("minimumUpdatePeriod")}),e.master.minimumUpdatePeriod),e.refreshMedia_(e.media().id)})))}}else e.master=o;e.minimumUpdatePeriodTimeout_=i().setTimeout((function(){e.trigger("minimumUpdatePeriod")}),e.master.minimumUpdatePeriod)}}))}},{key:"refreshMedia_",value:function(e){var t=this;if(!e)throw new Error("refreshMedia_ must take a media id");var n=void 0,r=void 0;this.masterPlaylistLoader_?(n=this.masterPlaylistLoader_.master,r=this.masterPlaylistLoader_.parseMasterXml()):(n=this.master,r=this.parseMasterXml());var o=Ns(n,r);o?(this.masterPlaylistLoader_?this.masterPlaylistLoader_.master=o:this.master=o,this.media_=o.playlists[e]):(this.media_=r.playlists[e],this.trigger("playlistunchanged")),this.media().endList||(this.mediaUpdateTimeout=i().setTimeout((function(){t.trigger("mediaupdatetimeout")}),fa(this.media(),!!o))),this.trigger("loadedplaylist")}}]),t}(As),Ds=function(e){return Go.log.debug?Go.log.debug.bind(Go,"VHS:",e+" >"):function(){}};function qs(){}var js=function(){function e(t,n,r,i){Qo(this,e),this.callbacks_=[],this.pendingCallback_=null,this.timestampOffset_=0,this.mediaSource=t,this.processedAppend_=!1,this.type_=r,this.mimeType_=n,this.logger_=Ds("SourceUpdater["+r+"]["+n+"]"),"closed"===t.readyState?t.addEventListener("sourceopen",this.createSourceBuffer_.bind(this,n,i)):this.createSourceBuffer_(n,i)}return Jo(e,[{key:"createSourceBuffer_",value:function(e,t){var n=this;this.sourceBuffer_=this.mediaSource.addSourceBuffer(e),this.logger_("created SourceBuffer"),t&&(t.trigger("sourcebufferadded"),this.mediaSource.sourceBuffers.length<2)?t.on("sourcebufferadded",(function(){n.start_()})):this.start_()}},{key:"start_",value:function(){var e=this;this.started_=!0,this.onUpdateendCallback_=function(){var t=e.pendingCallback_;e.pendingCallback_=null,e.sourceBuffer_.removing=!1,e.logger_("buffered ["+Za(e.buffered())+"]"),t&&t(),e.runCallback_()},this.sourceBuffer_.addEventListener("updateend",this.onUpdateendCallback_),this.runCallback_()}},{key:"abort",value:function(e){var t=this;this.processedAppend_&&this.queueCallback_((function(){t.sourceBuffer_.abort()}),e)}},{key:"appendBuffer",value:function(e,t){var n=this;this.processedAppend_=!0,this.queueCallback_((function(){e.videoSegmentTimingInfoCallback&&n.sourceBuffer_.addEventListener("videoSegmentTimingInfo",e.videoSegmentTimingInfoCallback),n.sourceBuffer_.appendBuffer(e.bytes)}),(function(){e.videoSegmentTimingInfoCallback&&n.sourceBuffer_.removeEventListener("videoSegmentTimingInfo",e.videoSegmentTimingInfoCallback),t()}))}},{key:"buffered",value:function(){return this.sourceBuffer_?this.sourceBuffer_.buffered:Go.createTimeRanges()}},{key:"remove",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qs;this.processedAppend_&&this.queueCallback_((function(){n.logger_("remove ["+e+" => "+t+"]"),n.sourceBuffer_.removing=!0,n.sourceBuffer_.remove(e,t)}),r)}},{key:"updating",value:function(){return!this.sourceBuffer_||this.sourceBuffer_.updating||!!this.pendingCallback_&&this.pendingCallback_!==qs}},{key:"timestampOffset",value:function(e){var t=this;return void 0!==e&&(this.queueCallback_((function(){t.sourceBuffer_.timestampOffset=e,t.runCallback_()})),this.timestampOffset_=e),this.timestampOffset_}},{key:"queueCallback_",value:function(e,t){this.callbacks_.push([e.bind(this),t]),this.runCallback_()}},{key:"runCallback_",value:function(){var e=void 0;!this.updating()&&this.callbacks_.length&&this.started_&&(e=this.callbacks_.shift(),this.pendingCallback_=e[1],e[0]())}},{key:"dispose",value:function(){var e=this,t=function t(){e.sourceBuffer_&&"open"===e.mediaSource.readyState&&e.sourceBuffer_.abort(),e.sourceBuffer_.removeEventListener("updateend",t)};this.sourceBuffer_.removeEventListener("updateend",this.onUpdateendCallback_),this.sourceBuffer_.removing?this.sourceBuffer_.addEventListener("updateend",t):t()}}]),e}(),Bs={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,BUFFER_LOW_WATER_LINE_RATE:1},Fs=2,Us=-101,zs=-102,Hs=function(e){e.forEach((function(e){e.abort()}))},Vs=function(e,t){return t.timedout?{status:t.status,message:"HLS request timed-out at URL: "+t.uri,code:Us,xhr:t}:t.aborted?{status:t.status,message:"HLS request aborted at URL: "+t.uri,code:zs,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Fs,xhr:t}:null},Ws=function(e,t,n){var r=0,i=!1;return function(o,a){if(!i)return o?(i=!0,Hs(e),n(o,a)):(r+=1)===e.length?(a.endOfAllRequests=Date.now(),a.encryptedBytes?function(e,t,n){e.addEventListener("message",(function r(i){if(i.data.source===t.requestId){e.removeEventListener("message",r);var o=i.data.decrypted;return t.bytes=new Uint8Array(o.bytes,o.byteOffset,o.byteLength),n(null,t)}}));var r=void 0;r=t.key.bytes.slice?t.key.bytes.slice():new Uint32Array(Array.prototype.slice.call(t.key.bytes)),e.postMessage(qa({source:t.requestId,encrypted:t.encryptedBytes,key:r,iv:t.key.iv}),[t.encryptedBytes.buffer,r.buffer])}(t,a,n):n(null,a)):void 0}},Ys=function(e,t){return function(n){return e.stats=Go.mergeOptions(e.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}(n)),!e.stats.firstBytesReceivedAt&&e.stats.bytesReceived&&(e.stats.firstBytesReceivedAt=Date.now()),t(n,e)}},Gs=function(e,t,n,r,i,o,a){var s=[],u=Ws(s,n,a);if(i.key&&!i.key.bytes){var l=Go.mergeOptions(t,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),c=function(e,t){return function(n,r){var i=r.response,o=Vs(n,r);if(o)return t(o,e);if(16!==i.byteLength)return t({status:r.status,message:"Invalid HLS key at URL: "+r.uri,code:Fs,xhr:r},e);var a=new DataView(i);return e.key.bytes=new Uint32Array([a.getUint32(0),a.getUint32(4),a.getUint32(8),a.getUint32(12)]),t(null,e)}}(i,u),d=e(l,c);s.push(d)}if(i.map&&!i.map.bytes){var f=Go.mergeOptions(t,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:Ma(i.map)}),p=function(e,t,n){return function(r,i){var o=i.response,a=Vs(r,i);return a?n(a,e):0===o.byteLength?n({status:i.status,message:"Empty HLS segment content at URL: "+i.uri,code:Fs,xhr:i},e):(e.map.bytes=new Uint8Array(i.response),t&&!t.isInitialized()&&t.init(),e.map.timescales=Ae().timescale(e.map.bytes),e.map.videoTrackIds=Ae().videoTrackIds(e.map.bytes),n(null,e))}}(i,r,u),h=e(f,p);s.push(h)}var m=Go.mergeOptions(t,{uri:i.resolvedUri,responseType:"arraybuffer",headers:Ma(i)}),v=function(e,t,n){return function(r,i){var o=i.response,a=Vs(r,i),s=void 0;return a?n(a,e):0===o.byteLength?n({status:i.status,message:"Empty HLS segment content at URL: "+i.uri,code:Fs,xhr:i},e):(e.stats=function(e){return{bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0}}(i),e.key?e.encryptedBytes=new Uint8Array(i.response):e.bytes=new Uint8Array(i.response),t&&e.map&&e.map.bytes&&(t.isInitialized()||t.init(),(s=t.parse(e.bytes,e.map.videoTrackIds,e.map.timescales))&&s.captions&&(e.captionStreams=s.captionStreams,e.fmp4Captions=s.captions)),n(null,e))}}(i,r,u),g=e(m,v);return g.addEventListener("progress",Ys(i,o)),s.push(g),function(){return Hs(s)}},Ks=function(e,t){var n;return e&&(n=i().getComputedStyle(e))?n[t]:""},Zs=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}))},Xs=function(e,t){var n=void 0,r=void 0;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)},$s=function(e,t,n){if(!e||!t)return!1;var r=n===e.segments.length;return e.endList&&"open"===t.readyState&&r},Qs=function(e){return"number"==typeof e&&isFinite(e)},Js=function(e){function t(e){Qo(this,t);var n=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(!e)throw new TypeError("Initialization settings are required");if("function"!=typeof e.currentTime)throw new TypeError("No currentTime getter specified");if(!e.mediaSource)throw new TypeError("No MediaSource specified");return n.bandwidth=e.bandwidth,n.throughput={rate:0,count:0},n.roundTrip=NaN,n.resetStats_(),n.mediaIndex=null,n.hasPlayed_=e.hasPlayed,n.currentTime_=e.currentTime,n.seekable_=e.seekable,n.seeking_=e.seeking,n.duration_=e.duration,n.mediaSource_=e.mediaSource,n.hls_=e.hls,n.loaderType_=e.loaderType,n.startingMedia_=void 0,n.segmentMetadataTrack_=e.segmentMetadataTrack,n.goalBufferLength_=e.goalBufferLength,n.sourceType_=e.sourceType,n.inbandTextTracks_=e.inbandTextTracks,n.state_="INIT",n.checkBufferTimeout_=null,n.error_=void 0,n.currentTimeline_=-1,n.pendingSegment_=null,n.mimeType_=null,n.sourceUpdater_=null,n.xhrOptions_=null,n.activeInitSegmentId_=null,n.initSegments_={},n.cacheEncryptionKeys_=e.cacheEncryptionKeys,n.keyCache_={},"main"===n.loaderType_?n.captionParser_=new(Ne()):n.captionParser_=null,n.decrypter_=e.decrypter,n.syncController_=e.syncController,n.syncPoint_={segmentIndex:0,time:0},n.triggerSyncInfoUpdate_=function(){return n.trigger("syncinfoupdate")},n.syncController_.on("syncinfoupdate",n.triggerSyncInfoUpdate_),n.mediaSource_.addEventListener("sourceopen",(function(){return n.ended_=!1})),n.fetchAtBuffer_=!1,n.logger_=Ds("SegmentLoader["+n.loaderType_+"]"),Object.defineProperty(n,"state",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+" -> "+e),this.state_=e)}}),n}return ta(t,e),Jo(t,[{key:"resetStats_",value:function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0}},{key:"dispose",value:function(){this.trigger("dispose"),this.state="DISPOSED",this.pause(),this.abort_(),this.sourceUpdater_&&this.sourceUpdater_.dispose(),this.resetStats_(),this.captionParser_&&this.captionParser_.reset(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off("syncinfoupdate",this.triggerSyncInfoUpdate_),this.off()}},{key:"abort",value:function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}},{key:"abort_",value:function(){this.pendingSegment_&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null}},{key:"error",value:function(e){return void 0!==e&&(this.error_=e),this.pendingSegment_=null,this.error_}},{key:"endOfStream",value:function(){this.ended_=!0,this.pause(),this.trigger("ended")}},{key:"buffered_",value:function(){return this.sourceUpdater_?this.sourceUpdater_.buffered():Go.createTimeRanges()}},{key:"initSegment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=ja(e),r=this.initSegments_[n];return t&&!r&&e.bytes&&(this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,timescales:e.timescales,videoTrackIds:e.videoTrackIds}),r||e}},{key:"segmentKey",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=Ba(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}},{key:"couldBeginLoading_",value:function(){return this.playlist_&&(this.sourceUpdater_||this.mimeType_&&"INIT"===this.state)&&!this.paused()}},{key:"load",value:function(){if(this.monitorBuffer_(),this.playlist_){if(this.syncController_.setDateTimeMapping(this.playlist_),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY")}}},{key:"init_",value:function(){return this.state="READY",this.sourceUpdater_=new js(this.mediaSource_,this.mimeType_,this.loaderType_,this.sourceBufferEmitter_),this.resetEverything(),this.monitorBuffer_()}},{key:"playlist",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){var n=this.playlist_,r=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,"INIT"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0});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){var o=e.mediaSequence-n.mediaSequence;this.logger_("live window shift ["+o+"]"),null!==this.mediaIndex&&(this.mediaIndex-=o),r&&(r.mediaIndex-=o,r.mediaIndex>=0&&(r.segment=e.segments[r.mediaIndex])),this.syncController_.saveExpiredSegmentInfo(n,e)}else null!==this.mediaIndex&&this.resyncLoader()}}},{key:"pause",value:function(){this.checkBufferTimeout_&&(i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}},{key:"paused",value:function(){return null===this.checkBufferTimeout_}},{key:"mimeType",value:function(e,t){this.mimeType_||(this.mimeType_=e,this.sourceBufferEmitter_=t,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_())}},{key:"resetEverything",value:function(e){this.ended_=!1,this.resetLoader(),this.remove(0,1/0,e),this.captionParser_&&this.captionParser_.clearAllCaptions(),this.trigger("reseteverything")}},{key:"resetLoader",value:function(){this.fetchAtBuffer_=!1,this.resyncLoader()}},{key:"resyncLoader",value:function(){this.mediaIndex=null,this.syncPoint_=null,this.abort()}},{key:"remove",value:function(e,t,n){if(t===1/0&&(t=this.duration_()),this.sourceUpdater_&&this.sourceUpdater_.remove(e,t,n),$a(e,t,this.segmentMetadataTrack_),this.inbandTextTracks_)for(var r in this.inbandTextTracks_)$a(e,t,this.inbandTextTracks_[r])}},{key:"monitorBuffer_",value:function(){this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),1)}},{key:"monitorBufferTick_",value:function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&i().clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=i().setTimeout(this.monitorBufferTick_.bind(this),500)}},{key:"fillBuffer_",value:function(){if(!this.sourceUpdater_.updating()){this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var e=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);e&&(this.isEndOfStream_(e.mediaIndex)?this.endOfStream():(e.mediaIndex!==this.playlist_.segments.length-1||"ended"!==this.mediaSource_.readyState||this.seeking_())&&(e.timeline!==this.currentTimeline_&&(this.syncController_.reset(),e.timestampOffset=e.startOfSegment,this.captionParser_&&this.captionParser_.clearAllCaptions()),this.loadSegment_(e)))}}},{key:"isEndOfStream_",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.playlist_;return $s(t,this.mediaSource_,e)&&!this.sourceUpdater_.updating()}},{key:"checkBuffer_",value:function(e,t,n,r,i,o){var a=0,s=void 0;e.length&&(a=e.end(e.length-1));var u=Math.max(0,a-i);if(!t.segments.length)return null;if(u>=this.goalBufferLength_())return null;if(!r&&u>=1)return null;if(null===o)return n=this.getSyncSegmentCandidate_(t),this.generateSegmentInfo_(t,n,null,!0);if(null!==n){t.segments[n];return s=a,this.generateSegmentInfo_(t,n+1,s,!1)}if(this.fetchAtBuffer_){var l=Oa.getMediaInfoForTime(t,a,o.segmentIndex,o.time);n=l.mediaIndex,s=l.startTime}else{var c=Oa.getMediaInfoForTime(t,i,o.segmentIndex,o.time);n=c.mediaIndex,s=c.startTime}return this.generateSegmentInfo_(t,n,s,!1)}},{key:"getSyncSegmentCandidate_",value:function(e){var t=this;if(-1===this.currentTimeline_)return 0;var n=e.segments.map((function(e,t){return{timeline:e.timeline,segmentIndex:t}})).filter((function(e){return e.timeline===t.currentTimeline_}));return n.length?n[Math.min(n.length-1,1)].segmentIndex:Math.max(e.segments.length-1,0)}},{key:"generateSegmentInfo_",value:function(e,t,n,r){if(t<0||t>=e.segments.length)return null;var i=e.segments[t];return{requestId:"segment-loader-"+Math.random(),uri:i.resolvedUri,mediaIndex:t,isSyncRequest:r,startOfSegment:n,playlist:e,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:i.timeline,duration:i.duration,segment:i}}},{key:"abortRequestEarly_",value:function(e){if(this.hls_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return!1;if(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3)return!1;var t=this.currentTime_(),n=e.bandwidth,r=this.pendingSegment_.duration,i=Oa.estimateSegmentRequestTime(r,n,this.playlist_,e.bytesReceived),o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return((e.length?e.end(e.length-1):0)-t)/n}(this.buffered_(),t,this.hls_.tech_.playbackRate())-1;if(i<=o)return!1;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!Oa.isIncompatible(e)})),c=l.filter(Oa.isEnabled);c.length||(c=l.filter((function(e){return!Oa.isDisabled(e)})));var d=c.filter(Oa.hasAttribute.bind(null,"BANDWIDTH")).map((function(e){var t=u.getSyncPoint(e,i,s,n)?1:2;return{playlist:e,rebufferingImpact:Oa.estimateSegmentRequestTime(o,r,e)*t-a}})),f=d.filter((function(e){return e.rebufferingImpact<=0}));return Zs(f,(function(e,t){return Xs(t.playlist,e.playlist)})),f.length?f[0]:(Zs(d,(function(e,t){return e.rebufferingImpact-t.rebufferingImpact})),d[0]||null)}({master:this.hls_.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;return o<=Va&&(u=1),!a.playlist||a.playlist.uri===this.playlist_.uri||s<u?!1:(this.bandwidth=a.playlist.attributes.BANDWIDTH*Bs.BANDWIDTH_VARIANCE+1,this.abort(),this.trigger("earlyabort"),!0)}}},{key:"handleProgress_",value:function(e,t){this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId&&!this.abortRequestEarly_(t.stats)&&this.trigger("progress")}},{key:"loadSegment_",value:function(e){this.state="WAITING",this.pendingSegment_=e,this.trimBackBuffer_(e),e.abortRequests=Gs(this.hls_.xhr,this.xhrOptions_,this.decrypter_,this.captionParser_,this.createSimplifiedSegmentObj_(e),this.handleProgress_.bind(this),this.segmentRequestFinished_.bind(this))}},{key:"trimBackBuffer_",value:function(e){var t=function(e,t,n){var r=t-30;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)}},{key:"createSimplifiedSegmentObj_",value:function(e){var t=e.segment,n={resolvedUri:t.resolvedUri,byterange:t.byterange,requestId:e.requestId};if(t.key){var r=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]);n.key=this.segmentKey(t.key),n.key.iv=r}return t.map&&(n.map=this.initSegment(t.map)),n}},{key:"segmentRequestFinished_",value:function(e,t){if(this.mediaRequests+=1,t.stats&&(this.mediaBytesTransferred+=t.stats.bytesReceived,this.mediaTransferDuration+=t.stats.roundTripTime),this.pendingSegment_){if(t.requestId===this.pendingSegment_.requestId){if(e)return this.pendingSegment_=null,this.state="READY",e.code===zs?void(this.mediaRequestsAborted+=1):(this.pause(),e.code===Us?(this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,void this.trigger("bandwidthupdate")):(this.mediaRequestsErrored+=1,this.error(e),void this.trigger("error")));this.bandwidth=t.stats.bandwidth,this.roundTrip=t.stats.roundTripTime,t.map&&(t.map=this.initSegment(t.map,!0)),t.key&&this.segmentKey(t.key,!0),this.processSegmentResponse_(t)}}else this.mediaRequestsAborted+=1}},{key:"processSegmentResponse_",value:function(e){var t=this.pendingSegment_;t.bytes=e.bytes,e.map&&(t.segment.map.bytes=e.map.bytes),t.endOfAllRequests=e.endOfAllRequests,e.fmp4Captions&&(!function(e,t,n){for(var r in n)if(!e[r]){t.trigger({type:"usage",name:"hls-608"});var i=t.textTracks().getTrackById(r);e[r]=i||t.addRemoteTextTrack({kind:"captions",id:r,label:r},!1).track}}(this.inbandTextTracks_,this.hls_.tech_,e.captionStreams),function(e){var t=e.inbandTextTracks,n=e.captionArray,r=e.timestampOffset;if(n){var i=window.WebKitDataCue||window.VTTCue;n.forEach((function(e){var n=e.stream,o=e.startTime,a=e.endTime;t[n]&&(o+=r,a+=r,t[n].addCue(new i(o,a,e.text)))}))}}({inbandTextTracks:this.inbandTextTracks_,captionArray:e.fmp4Captions,timestampOffset:0}),this.captionParser_&&this.captionParser_.clearParsedCaptions()),this.handleSegment_()}},{key:"handleSegment_",value:function(){var e=this;if(this.pendingSegment_){var t=this.pendingSegment_,n=t.segment,r=this.syncController_.probeSegmentInfo(t);void 0===this.startingMedia_&&r&&(r.containsAudio||r.containsVideo)&&(this.startingMedia_={containsAudio:r.containsAudio,containsVideo:r.containsVideo});var i,o,a,s=(i=this.loaderType_,o=this.startingMedia_,a=r,"main"===i&&o&&a?a.containsAudio||a.containsVideo?o.containsVideo&&!a.containsVideo?"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.":!o.containsVideo&&a.containsVideo?"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);if(s)return this.error({message:s,blacklistDuration:1/0}),void this.trigger("error");if(t.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");if(null!==t.timestampOffset&&t.timestampOffset!==this.sourceUpdater_.timestampOffset()){if(r&&r.segmentTimestampInfo){var u=r.segmentTimestampInfo[0].ptsTime,l=r.segmentTimestampInfo[0].dtsTime;t.timestampOffset-=u-l}this.sourceUpdater_.timestampOffset(t.timestampOffset),this.trigger("timestampoffset")}var c=this.syncController_.mappingForTimeline(t.timeline);if(null!==c&&this.trigger({type:"segmenttimemapping",mapping:c}),this.state="APPENDING",n.map){var d=ja(n.map);if(!this.activeInitSegmentId_||this.activeInitSegmentId_!==d){var f=this.initSegment(n.map);this.sourceUpdater_.appendBuffer({bytes:f.bytes},(function(){e.activeInitSegmentId_=d}))}}t.byteLength=t.bytes.byteLength,"number"==typeof n.start&&"number"==typeof n.end?this.mediaSecondsLoaded+=n.end-n.start:this.mediaSecondsLoaded+=n.duration,this.logger_(function(e){var t=e.segment,n=t.start,r=t.end,i=e.playlist,o=i.mediaSequence,a=i.id,s=i.segments,u=void 0===s?[]:s,l=e.mediaIndex,c=e.timeline;return["appending ["+l+"] of ["+o+", "+(o+u.length)+"] from playlist ["+a+"]","["+n+" => "+r+"] in timeline ["+c+"]"].join(" ")}(t)),this.sourceUpdater_.appendBuffer({bytes:t.bytes,videoSegmentTimingInfoCallback:this.handleVideoSegmentTimingInfo_.bind(this,t.requestId)},this.handleUpdateEnd_.bind(this))}else this.state="READY"}},{key:"handleVideoSegmentTimingInfo_",value:function(e,t){if(this.pendingSegment_&&e===this.pendingSegment_.requestId){var n=this.pendingSegment_.segment;n.videoTimingInfo||(n.videoTimingInfo={}),n.videoTimingInfo.transmuxerPrependedSeconds=t.videoSegmentTimingInfo.prependedContentDuration||0,n.videoTimingInfo.transmuxedPresentationStart=t.videoSegmentTimingInfo.start.presentation,n.videoTimingInfo.transmuxedPresentationEnd=t.videoSegmentTimingInfo.end.presentation,n.videoTimingInfo.baseMediaDecodeTime=t.videoSegmentTimingInfo.baseMediaDecodeTime}}},{key:"handleUpdateEnd_",value:function(){if(!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_,t=e.segment,n=null!==this.mediaIndex;this.pendingSegment_=null,this.recordThroughput_(e),this.addSegmentMetadataCue_(e),this.state="READY",this.mediaIndex=e.mediaIndex,this.fetchAtBuffer_=!0,this.currentTimeline_=e.timeline,this.trigger("syncinfoupdate"),t.end&&this.currentTime_()-t.end>3*e.playlist.targetDuration?this.resetEverything():(n&&this.trigger("bandwidthupdate"),this.trigger("progress"),this.isEndOfStream_(e.mediaIndex+1,e.playlist)&&this.endOfStream(),this.paused()||this.monitorBuffer_())}},{key:"recordThroughput_",value:function(e){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}},{key:"addSegmentMetadataCue_",value:function(e){if(this.segmentMetadataTrack_){var t=e.segment,n=t.start,r=t.end;if(Qs(n)&&Qs(r)){$a(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}(Go.EventTarget),eu=function(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))},tu=new Uint8Array("\n\n".split("").map((function(e){return e.charCodeAt(0)}))),nu=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Qo(this,t);var r=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.mediaSource_=null,r.subtitlesTrack_=null,r.featuresNativeTextTracks_=e.featuresNativeTextTracks,r}return ta(t,e),Jo(t,[{key:"buffered_",value:function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues.length)return Go.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return Go.createTimeRanges([[t,n]])}},{key:"initSegment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=ja(e),r=this.initSegments_[n];if(t&&!r&&e.bytes){var i=tu.byteLength+e.bytes.byteLength,o=new Uint8Array(i);o.set(e.bytes),o.set(tu,e.bytes.byteLength),this.initSegments_[n]=r={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:o}}return r||e}},{key:"couldBeginLoading_",value:function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}},{key:"init_",value:function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}},{key:"track",value:function(e){return void 0===e||(this.subtitlesTrack_=e,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_}},{key:"remove",value:function(e,t){$a(e,t,this.subtitlesTrack_)}},{key:"fillBuffer_",value:function(){var e=this;this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var t=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);if(t=this.skipEmptySegments_(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)}}},{key:"skipEmptySegments_",value:function(e){for(;e&&e.segment.empty;)e=this.generateSegmentInfo_(e.playlist,e.mediaIndex+1,e.startOfSegment+e.duration,e.isSyncRequest);return e}},{key:"handleSegment_",value:function(){var e=this;if(this.pendingSegment_&&this.subtitlesTrack_){this.state="APPENDING";var t=this.pendingSegment_,n=t.segment;if("function"!=typeof i().WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var r=void 0,o=function(){e.subtitlesTrack_.tech_.off("vttjsloaded",r),e.error({message:"Error loading vtt.js"}),e.state="READY",e.pause(),e.trigger("error")};return r=function(){e.subtitlesTrack_.tech_.off("vttjserror",o),e.handleSegment_()},this.state="WAITING_ON_VTTJS",this.subtitlesTrack_.tech_.one("vttjsloaded",r),void this.subtitlesTrack_.tech_.one("vttjserror",o)}n.requested=!0;try{this.parseVTTCues_(t)}catch(e){return this.error({message:e.message}),this.state="READY",this.pause(),this.trigger("error")}if(this.updateTimeMapping_(t,this.syncController_.timelines[t.timeline],this.playlist_),t.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");t.byteLength=t.bytes.byteLength,this.mediaSecondsLoaded+=n.duration,t.cues.length&&this.remove(t.cues[0].endTime,t.cues[t.cues.length-1].endTime),t.cues.forEach((function(t){e.subtitlesTrack_.addCue(e.featuresNativeTextTracks_?new(i().VTTCue)(t.startTime,t.endTime,t.text):t)})),this.handleUpdateEnd_()}else this.state="READY"}},{key:"parseVTTCues_",value:function(e){var t=void 0,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){return e.timestampmap=t},r.onparsingerror=function(e){Go.log.warn("Error encountered when parsing cues: "+e.message)},e.segment.map){var o=e.segment.map.bytes;n&&(o=eu(o)),r.parse(o)}var a=e.bytes;n&&(a=eu(a)),r.parse(a),r.flush()}},{key:"updateTimeMapping_",value:function(e,t,n){var r=e.segment;if(t)if(e.cues.length){var i=e.timestampmap,o=i.MPEGTS/9e4-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}(Js),ru=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},iu=Le().inspect,ou=[{name:"VOD",run:function(e,t,n,r,i){if(n!==1/0){return{time:0,segmentIndex:0}}return null}},{name:"ProgramDateTime",run:function(e,t,n,r,i){if(!e.datetimeToDisplayTime)return null;var o=t.segments||[],a=null,s=null;i=i||0;for(var u=0;u<o.length;u++){var l=o[u];if(l.dateTimeObject){var c=l.dateTimeObject.getTime()/1e3+e.datetimeToDisplayTime,d=Math.abs(i-c);if(null!==s&&(0===d||s<d))break;s=d,a={time:c,segmentIndex:u}}}return a}},{name:"Segment",run:function(e,t,n,r,i){var o=t.segments||[],a=null,s=null;i=i||0;for(var u=0;u<o.length;u++){var l=o[u];if(l.timeline===r&&void 0!==l.start){var c=Math.abs(i-l.start);if(null!==s&&s<c)break;(!a||null===s||s>=c)&&(s=c,a={time:l.start,segmentIndex:u})}}return a}},{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})}}return o}},{name:"Playlist",run:function(e,t,n,r,i){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence}:null}}],au=function(e){function t(){Qo(this,t);var e=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.inspectCache_=void 0,e.timelines=[],e.discontinuities=[],e.datetimeToDisplayTime=null,e.logger_=Ds("SyncController"),e}return ta(t,e),Jo(t,[{key:"getSyncPoint",value:function(e,t,n,r){var i=this.runStrategies_(e,t,n,r);return i.length?this.selectSyncPoint_(i,{key:"time",value:r}):null}},{key:"getExpiredTime",value: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+ga(e,r.segmentIndex,0))}},{key:"runStrategies_",value:function(e,t,n,r){for(var i=[],o=0;o<ou.length;o++){var a=ou[o],s=a.run(this,e,t,n,r);s&&(s.strategy=a.name,i.push({strategy:a.name,syncPoint:s}))}return i}},{key:"selectSyncPoint_",value: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+"]"),n}},{key:"saveExpiredSegmentInfo",value:function(e,t){for(var n=t.mediaSequence-e.mediaSequence-1;n>=0;n--){var r=e.segments[n];if(r&&void 0!==r.start){t.syncInfo={mediaSequence:e.mediaSequence+n,time:r.start},this.logger_("playlist refresh sync: [time:"+t.syncInfo.time+", mediaSequence: "+t.syncInfo.mediaSequence+"]"),this.trigger("syncinfoupdate");break}}}},{key:"setDateTimeMapping",value:function(e){if(!this.datetimeToDisplayTime&&e.segments&&e.segments.length&&e.segments[0].dateTimeObject){var t=e.segments[0].dateTimeObject.getTime()/1e3;this.datetimeToDisplayTime=-t}}},{key:"reset",value:function(){this.inspectCache_=void 0}},{key:"probeSegmentInfo",value:function(e){var t=e.segment,n=e.playlist,r=void 0;return(r=t.map?this.probeMp4Segment_(e):this.probeTsSegment_(e))&&this.calculateSegmentTimeMapping_(e,r)&&(this.saveDiscontinuitySyncInfo_(e),n.syncInfo||(n.syncInfo={mediaSequence:n.mediaSequence+e.mediaIndex,time:t.start})),r}},{key:"probeMp4Segment_",value:function(e){var t=e.segment,n=Ae().timescale(t.map.bytes),r=Ae().compositionStartTime(n,e.bytes);return null!==e.timestampOffset&&(e.timestampOffset-=r),{start:r,end:r+t.duration}}},{key:"probeTsSegment_",value:function(e){var t=iu(e.bytes,this.inspectCache_),n=void 0,r=void 0,i=void 0;return t?(t.video&&2===t.video.length?(this.inspectCache_=t.video[1].dts,n=t.video[0].dtsTime,r=t.video[1].dtsTime,i=t.video):t.audio&&2===t.audio.length&&(this.inspectCache_=t.audio[1].dts,n=t.audio[0].dtsTime,r=t.audio[1].dtsTime,i=t.audio),{segmentTimestampInfo:i,start:n,end:r,containsVideo:t.video&&2===t.video.length,containsAudio:t.audio&&2===t.audio.length}):null}},{key:"timestampOffsetForTimeline",value:function(e){return void 0===this.timelines[e]?null:this.timelines[e].time}},{key:"mappingForTimeline",value:function(e){return void 0===this.timelines[e]?null:this.timelines[e].mapping}},{key:"calculateSegmentTimeMapping_",value:function(e,t){var n=e.segment,r=this.timelines[e.timeline];if(null!==e.timestampOffset)r={time:e.startOfSegment,mapping:e.startOfSegment-t.start},this.timelines[e.timeline]=r,this.trigger("timestampoffset"),this.logger_("time mapping for timeline "+e.timeline+": [time: "+r.time+"] [mapping: "+r.mapping+"]"),n.start=e.startOfSegment,n.end=t.end+r.mapping;else{if(!r)return!1;n.start=t.start+r.mapping,n.end=t.end+r.mapping}return!0}},{key:"saveDiscontinuitySyncInfo_",value: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-ga(t,e.mediaIndex,i):n.end+ga(t,e.mediaIndex+1,i),this.discontinuities[o]={time:u,accuracy:s}}}}},{key:"dispose",value:function(){this.trigger("dispose"),this.off()}}]),t}(Go.EventTarget),su=new os("./decrypter-worker.worker.js",(function(e,t){var n=this;!function(){var e=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t=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}}(),r=null,i=function(){function t(n){e(this,t),r||(r=function(){var e=[[[],[],[],[],[]],[[],[],[],[],[]]],t=e[0],n=e[1],r=t[4],i=n[4],o=void 0,a=void 0,s=void 0,u=[],l=[],c=void 0,d=void 0,f=void 0,p=void 0,h=void 0;for(o=0;o<256;o++)l[(u[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=c||1,s=l[s]||1)for(f=(f=s^s<<1^s<<2^s<<3^s<<4)>>8^255&f^99,r[a]=f,i[f]=a,h=16843009*u[d=u[c=u[a]]]^65537*d^257*c^16843008*a,p=257*u[f]^16843008*f,o=0;o<4;o++)t[o][a]=p=p<<24^p>>>8,n[o][f]=h=h<<24^h>>>8;for(o=0;o<5;o++)t[o]=t[o].slice(0),n[o]=n[o].slice(0);return e}()),this._tables=[[r[0][0].slice(),r[0][1].slice(),r[0][2].slice(),r[0][3].slice(),r[0][4].slice()],[r[1][0].slice(),r[1][1].slice(),r[1][2].slice(),r[1][3].slice(),r[1][4].slice()]];var i=void 0,o=void 0,a=void 0,s=void 0,u=void 0,l=this._tables[0][4],c=this._tables[1],d=n.length,f=1;if(4!==d&&6!==d&&8!==d)throw new Error("Invalid aes key size");for(s=n.slice(0),u=[],this._key=[s,u],i=d;i<4*d+28;i++)a=s[i-1],(i%d==0||8===d&&i%d==4)&&(a=l[a>>>24]<<24^l[a>>16&255]<<16^l[a>>8&255]<<8^l[255&a],i%d==0&&(a=a<<8^a>>>24^f<<24,f=f<<1^283*(f>>7))),s[i]=s[i-d]^a;for(o=0;i;o++,i--)a=s[3&o?i:i-4],u[o]=i<=4||o<4?a:c[0][l[a>>>24]]^c[1][l[a>>16&255]]^c[2][l[a>>8&255]]^c[3][l[255&a]]}return t.prototype.decrypt=function(e,t,n,r,i,o){var a=this._key[1],s=e^a[0],u=r^a[1],l=n^a[2],c=t^a[3],d=void 0,f=void 0,p=void 0,h=a.length/4-2,m=void 0,v=4,g=this._tables[1],y=g[0],b=g[1],_=g[2],w=g[3],k=g[4];for(m=0;m<h;m++)d=y[s>>>24]^b[u>>16&255]^_[l>>8&255]^w[255&c]^a[v],f=y[u>>>24]^b[l>>16&255]^_[c>>8&255]^w[255&s]^a[v+1],p=y[l>>>24]^b[c>>16&255]^_[s>>8&255]^w[255&u]^a[v+2],c=y[c>>>24]^b[s>>16&255]^_[u>>8&255]^w[255&l]^a[v+3],v+=4,s=d,u=f,l=p;for(m=0;m<4;m++)i[(3&-m)+o]=k[s>>>24]<<24^k[u>>16&255]<<16^k[l>>8&255]<<8^k[255&c]^a[v++],d=s,s=u,u=l,l=c,c=d},t}(),o=function(){function t(){e(this,t),this.listeners={}}return t.prototype.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.prototype.off=function(e,t){if(!this.listeners[e])return!1;var n=this.listeners[e].indexOf(t);return this.listeners[e].splice(n,1),n>-1},t.prototype.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.prototype.dispose=function(){this.listeners={}},t.prototype.pipe=function(e){this.on("data",(function(t){e.push(t)}))},t}(),a=function(t){function n(){e(this,n);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,t.call(this,o));return r.jobs=[],r.delay=1,r.timeout_=null,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)}(n,t),n.prototype.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},n.prototype.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},n}(o),s=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},u=function(){function n(t,r,i,o){e(this,n);var u=n.STEP,l=new Int32Array(t.buffer),c=new Uint8Array(t.byteLength),d=0;for(this.asyncStream_=new a,this.asyncStream_.push(this.decryptChunk_(l.subarray(d,d+u),r,i,c)),d=u;d<l.length;d+=u)i=new Uint32Array([s(l[d-4]),s(l[d-3]),s(l[d-2]),s(l[d-1])]),this.asyncStream_.push(this.decryptChunk_(l.subarray(d,d+u),r,i,c));this.asyncStream_.push((function(){var e;o(null,(e=c).subarray(0,e.byteLength-e[e.byteLength-1]))}))}return n.prototype.decryptChunk_=function(e,t,n,r){return function(){var o=function(e,t,n){var r=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),o=new i(Array.prototype.slice.call(t)),a=new Uint8Array(e.byteLength),u=new Int32Array(a.buffer),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;for(l=n[0],c=n[1],d=n[2],f=n[3],g=0;g<r.length;g+=4)p=s(r[g]),h=s(r[g+1]),m=s(r[g+2]),v=s(r[g+3]),o.decrypt(p,h,m,v,u,g),u[g]=s(u[g]^l),u[g+1]=s(u[g+1]^c),u[g+2]=s(u[g+2]^d),u[g+3]=s(u[g+3]^f),l=p,c=h,d=m,f=v;return a}(e,t,n);r.set(o,e.byteOffset)}},t(n,null,[{key:"STEP",get:function(){return 32e3}}]),n}(),l=new function(e){e.onmessage=function(t){var n=t.data,r=new Uint8Array(n.encrypted.bytes,n.encrypted.byteOffset,n.encrypted.byteLength),i=new Uint32Array(n.key.bytes,n.key.byteOffset,n.key.byteLength/4),o=new Uint32Array(n.iv.bytes,n.iv.byteOffset,n.iv.byteLength/4);new u(r,i,o,(function(t,r){var i,o;e.postMessage((i={source:n.source,decrypted:r},o={},Object.keys(i).forEach((function(e){var t=i[e];ArrayBuffer.isView(t)?o[e]={bytes:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength}:o[e]=t})),o),[r.buffer])}))}}(n)}()})),uu=function(e){var t=e.default?"main":"alternative";return e.characteristics&&e.characteristics.indexOf("public.accessibility.describes-video")>=0&&(t="main-desc"),t},lu=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},cu=function(e,t){t.activePlaylistLoader=e,e.load()},du={AUDIO:function(e,t){return function(){var n=t.segmentLoaders[e],r=t.mediaTypes[e],i=t.blacklistCurrentPlaylist;lu(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 Go.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];Go.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),lu(n,r);var i=r.activeTrack();i&&(i.mode="disabled"),r.onTrackChanged()}}},fu={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",du[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",du[e](e,n))}},pu={AUDIO:function(e,t){var n=t.hls,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=t.masterPlaylistLoader;for(var d in a[e]&&0!==Object.keys(a[e]).length||(a[e]={main:{default:{default:!0}}}),a[e])for(var f in u[d]||(u[d]=[]),a[e][d]){var p=a[e][d][f],h=void 0;if(h=p.resolvedUri?new pa(p.resolvedUri,n,o):p.playlists&&"dash"===r?new Rs(p.playlists[0],n,o,c):null,p=Go.mergeOptions({id:f,playlistLoader:h},p),fu[e](e,p.playlistLoader,t),u[d].push(p),void 0===l[f]){var m=new Go.AudioTrack({id:f,kind:uu(p),enabled:!1,language:p.language,default:p.default,label:f});l[f]=m}}i.on("error",du[e](e,t))},SUBTITLES:function(e,t){var n=t.tech,r=t.hls,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 pa(h.resolvedUri,r,a):"dash"===i&&(m=new Rs(h.playlists[0],r,a,d)),h=Go.mergeOptions({id:p,playlistLoader:m},h),fu[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",du[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(l.instreamId.match(/CC\d/)&&(o[s].push(Go.mergeOptions({id:u},l)),void 0===a[u])){var c=n.addRemoteTextTrack({id:l.instreamId,kind:"captions",default:l.default&&l.autoselect,language:l.language,label:u},!1).track;a[u]=c}}}},hu={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}}},mu=function(e){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(t){pu[t](t,e)}));var t=e.mediaTypes,n=e.masterPlaylistLoader,r=e.tech,i=e.hls;["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;return o.attributes[e]&&(a=i[o.attributes[e]]),a=a||i.main,void 0===n?a:null===n?null:a.filter((function(e){return e.id===n.id}))[0]||null}}(n,e),t[n].activeTrack=hu[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.activeGroup(a),u=o.activePlaylistLoader;lu(r,o),s&&(s.playlistLoader?(r.resyncLoader(),cu(s.playlistLoader,o)):u&&i.resetEverything())}}(n,e),t[n].onTrackChanged=function(e,t){return function(){var n=t.segmentLoaders,r=n[e],i=n.main,o=t.mediaTypes[e],a=o.activeTrack(),s=o.activeGroup(a),u=o.activePlaylistLoader;lu(r,o),s&&(s.playlistLoader?u!==s.playlistLoader?(r.track&&r.track(a),r.resetEverything(),cu(s.playlistLoader,o)):cu(s.playlistLoader,o):i.resetEverything())}}(n,e)}));var o=t.AUDIO.activeGroup(),a=(o.filter((function(e){return e.default}))[0]||o[0]).id;t.AUDIO.tracks[a].enabled=!0,t.AUDIO.onTrackChanged(),n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(e){return t[e].onGroupChanged()}))}));var s=function(){t.AUDIO.onTrackChanged(),r.trigger({type:"usage",name:"hls-audio-change"})};for(var u in r.audioTracks().addEventListener("change",s),r.remoteTextTracks().addEventListener("change",t.SUBTITLES.onTrackChanged),i.on("dispose",(function(){r.audioTracks().removeEventListener("change",s),r.remoteTextTracks().removeEventListener("change",t.SUBTITLES.onTrackChanged)})),r.clearTracks("audio"),t.AUDIO.tracks)r.audioTracks().addTrack(t.AUDIO.tracks[u])},vu=void 0,gu=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred"],yu=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]},bu=function(e){function t(e){Qo(this,t);var n,r=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),i=e.url,o=e.handleManifestRedirects,a=e.withCredentials,s=e.tech,u=e.bandwidth,l=e.externHls,c=e.useCueTags,d=e.blacklistDuration,f=e.enableLowInitialPlaylist,p=e.cacheEncryptionKeys,h=e.sourceType;if(!i)throw new Error("A non-empty playlist URL is required");vu=l,r.withCredentials=a,r.tech_=s,r.hls_=s.hls,r.sourceType_=h,r.useCueTags_=c,r.blacklistDuration=d,r.enableLowInitialPlaylist=f,r.useCueTags_&&(r.cueTagsTrack_=r.tech_.addTextTrack("metadata","ad-cues"),r.cueTagsTrack_.inBandMetadataTrackDispatchType=""),r.requestOptions_={withCredentials:a,handleManifestRedirects:o,timeout:null},r.mediaTypes_=(n={},["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(e){n[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:qs,activeTrack:qs,onGroupChanged:qs,onTrackChanged:qs}})),n),r.mediaSource=new Go.MediaSource,r.mediaSource.addEventListener("sourceopen",r.handleSourceOpen_.bind(r)),r.seekable_=Go.createTimeRanges(),r.hasPlayed_=!1,r.syncController_=new au(e),r.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,r.decrypter_=new su,r.inbandTextTracks_={};var m={hls:r.hls_,mediaSource:r.mediaSource,currentTime:r.tech_.currentTime.bind(r.tech_),seekable:function(){return r.seekable()},seeking:function(){return r.tech_.seeking()},duration:function(){return r.mediaSource.duration},hasPlayed:function(){return r.hasPlayed_},goalBufferLength:function(){return r.goalBufferLength()},bandwidth:u,syncController:r.syncController_,decrypter:r.decrypter_,sourceType:r.sourceType_,inbandTextTracks:r.inbandTextTracks_,cacheEncryptionKeys:p};return r.masterPlaylistLoader_="dash"===r.sourceType_?new Rs(i,r.hls_,r.requestOptions_):new pa(i,r.hls_,r.requestOptions_),r.setupMasterPlaylistLoaderListeners_(),r.mainSegmentLoader_=new Js(Go.mergeOptions(m,{segmentMetadataTrack:r.segmentMetadataTrack_,loaderType:"main"}),e),r.audioSegmentLoader_=new Js(Go.mergeOptions(m,{loaderType:"audio"}),e),r.subtitleSegmentLoader_=new nu(Go.mergeOptions(m,{loaderType:"vtt",featuresNativeTextTracks:r.tech_.featuresNativeTextTracks}),e),r.setupSegmentLoaderListeners_(),gu.forEach((function(e){r[e+"_"]=yu.bind(r,e)})),r.logger_=Ds("MPC"),r.masterPlaylistLoader_.load(),r}return ta(t,e),Jo(t,[{key:"setupMasterPlaylistLoaderListeners_",value:function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Aa(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()),mu({sourceType:e.sourceType_,segmentLoaders:{AUDIO:e.audioSegmentLoader_,SUBTITLES:e.subtitleSegmentLoader_,main:e.mainSegmentLoader_},tech:e.tech_,requestOptions:e.requestOptions_,masterPlaylistLoader:e.masterPlaylistLoader_,hls:e.hls_,master:e.master(),mediaTypes:e.mediaTypes_,blacklistCurrentPlaylist:e.blacklistCurrentPlaylist.bind(e)}),e.triggerPresenceUsage_(e.master(),t);try{e.setupSourceBuffers_()}catch(t){return Go.log.warn("Failed to create SourceBuffers",t),e.mediaSource.endOfStream("decode")}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(){var t=e.masterPlaylistLoader_.media();if(!t){e.excludeUnsupportedVariants_();var n=void 0;return e.enableLowInitialPlaylist&&(n=e.selectInitialPlaylist()),n||(n=e.selectPlaylist()),e.initialMedia_=n,void e.masterPlaylistLoader_.media(e.initialMedia_)}if(e.useCueTags_&&e.updateAdCues_(t),e.mainSegmentLoader_.playlist(t,e.requestOptions_),e.updateDuration(),e.tech_.paused()||(e.mainSegmentLoader_.load(),e.audioSegmentLoader_&&e.audioSegmentLoader_.load()),!t.endList){var r=function(){var t=e.seekable();0!==t.length&&e.mediaSource.addSeekableRange_(t.start(0),t.end(0))};if(e.duration()!==1/0){e.tech_.one("durationchange",(function t(){e.duration()===1/0?r():e.tech_.one("durationchange",t)}))}else r()}})),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;Aa(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();e.stuckAtPlaylistEnd_(t)&&(e.blacklistCurrentPlaylist({message:"Playlist no longer updating."}),e.tech_.trigger("playliststuck"))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){e.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){e.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))}},{key:"triggerPresenceUsage_",value: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:"hls-demuxed"}),Object.keys(n.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"hls-webvtt"}),vu.Playlist.isAes(t)&&this.tech_.trigger({type:"usage",name:"hls-aes"}),vu.Playlist.isFmp4(t)&&this.tech_.trigger({type:"usage",name:"hls-fmp4"}),i.length&&Object.keys(n.AUDIO[i[0]]).length>1&&this.tech_.trigger({type:"usage",name:"hls-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"})}},{key:"setupSegmentLoaderListeners_",value:function(){var e=this;this.mainSegmentLoader_.on("bandwidthupdate",(function(){var t=e.selectPlaylist(),n=e.masterPlaylistLoader_.media(),r=e.tech_.buffered();(function(e){var t=e.currentPlaylist,n=e.nextPlaylist,r=e.forwardBuffer,i=e.bufferLowWaterLine,o=e.duration;return e.log,n?!t.endList||o<Bs.MAX_BUFFER_LOW_WATER_LINE||n.attributes.BANDWIDTH<t.attributes.BANDWIDTH||r>=i:(Go.log.warn("We received no playlist to switch to. Please check your stream."),!1)})({currentPlaylist:n,nextPlaylist:t,forwardBuffer:r.length?r.end(r.length-1)-e.tech_.currentTime():0,bufferLowWaterLine:e.bufferLowWaterLine(),duration:e.duration(),log:e.logger_})&&e.masterPlaylistLoader_.media(t),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("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){e.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){e.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("ended",(function(){e.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(){e.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120)})),this.mainSegmentLoader_.on("reseteverything",(function(){e.tech_.trigger("hls-reset")})),this.mainSegmentLoader_.on("segmenttimemapping",(function(t){e.tech_.trigger({type:"hls-segment-time-mapping",mapping:t.mapping})})),this.audioSegmentLoader_.on("ended",(function(){e.onEndOfStream()}))}},{key:"mediaSecondsLoaded_",value:function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}},{key:"load",value:function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}},{key:"smoothQualityChange_",value:function(){var e=this.selectPlaylist();e!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(e),this.mainSegmentLoader_.resetLoader())}},{key:"fastQualityChange_",value:function(){var e=this,t=this.selectPlaylist();t!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(t),this.mainSegmentLoader_.resetEverything((function(){Go.browser.IE_VERSION||Go.browser.IS_EDGE?e.tech_.setCurrentTime(e.tech_.currentTime()+.04):e.tech_.setCurrentTime(e.tech_.currentTime())})))}},{key:"play",value: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}}},{key:"setupFirstPlay",value: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(Go.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}},{key:"handleSourceOpen_",value:function(){try{this.setupSourceBuffers_()}catch(e){return Go.log.warn("Failed to create Source Buffers",e),this.mediaSource.endOfStream("decode")}if(this.tech_.autoplay()){var e=this.tech_.play();void 0!==e&&"function"==typeof e.then&&e.then(null,(function(e){}))}this.trigger("sourceopen")}},{key:"onEndOfStream",value:function(){var e=this.mainSegmentLoader_.ended_;if(this.mediaTypes_.AUDIO.activePlaylistLoader&&(e=!this.mainSegmentLoader_.startingMedia_||this.mainSegmentLoader_.startingMedia_.containsVideo?e&&this.audioSegmentLoader_.ended_:this.audioSegmentLoader_.ended_),e){this.logger_("calling mediaSource.endOfStream()");try{this.mediaSource.endOfStream()}catch(e){Go.log.warn("Failed to call media source endOfStream",e)}}}},{key:"stuckAtPlaylistEnd_",value:function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.mediaSource.duration);if(null===t)return!1;var n=vu.Playlist.playlistEnd(e,t),r=this.tech_.currentTime(),i=this.tech_.buffered();if(!i.length)return n-r<=Wa;var o=i.end(i.length-1);return o-r<=Wa&&n-o<=Wa}},{key:"blacklistCurrentPlaylist",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=void 0,r=void 0;if(n=e.playlist||this.masterPlaylistLoader_.media(),t=t||e.blacklistDuration||this.blacklistDuration,!n){this.error=e;try{return this.mediaSource.endOfStream("network")}catch(e){return this.trigger("error")}}var i=1===this.masterPlaylistLoader_.master.playlists.filter(Ta).length,o=this.masterPlaylistLoader_.master.playlists;return 1===o.length?(Go.log.warn("Problem encountered with the current HLS playlist. Trying again since it is the only playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(i)):(i&&(Go.log.warn("Removing all playlists from the blacklist because the last rendition is about to be blacklisted."),o.forEach((function(e){e.excludeUntil!==1/0&&delete e.excludeUntil})),this.tech_.trigger("retryplaylist")),n.excludeUntil=Date.now()+1e3*t,this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"}),r=this.selectPlaylist(),Go.log.warn("Problem encountered with the current HLS playlist."+(e.message?" "+e.message:"")+" Switching to another playlist."),this.masterPlaylistLoader_.media(r,i))}},{key:"pauseLoading",value:function(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}},{key:"setCurrentTime",value:function(e){var t=Ga(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}},{key:"duration",value:function(){return this.masterPlaylistLoader_?this.mediaSource?this.mediaSource.duration:vu.Playlist.duration(this.masterPlaylistLoader_.media()):0}},{key:"seekable",value:function(){return this.seekable_}},{key:"onSyncInfoUpdate_",value:function(){var e=void 0;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var n=this.syncController_.getExpiredTime(t,this.mediaSource.duration);if(null!==n){var r=this.masterPlaylistLoader_.master.suggestedPresentationDelay,i=vu.Playlist.seekable(t,n,r);if(0!==i.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(n=this.syncController_.getExpiredTime(t,this.mediaSource.duration)))return;if(0===(e=vu.Playlist.seekable(t,n,r)).length)return}var o=void 0,a=void 0;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_=Go.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 ["+Za(this.seekable_)+"]"),this.tech_.trigger("seekablechanged"))}}}}}},{key:"updateDuration",value:function(){var e=this,t=this.mediaSource.duration,n=vu.Playlist.duration(this.masterPlaylistLoader_.media()),r=this.tech_.buffered(),i=function t(){e.logger_("Setting duration from "+e.mediaSource.duration+" => "+n);try{e.mediaSource.duration=n}catch(e){Go.log.warn("Failed to set media source duration",e)}e.tech_.trigger("durationchange"),e.mediaSource.removeEventListener("sourceopen",t)};r.length>0&&(n=Math.max(n,r.end(r.length-1))),t!==n&&("open"!==this.mediaSource.readyState?this.mediaSource.addEventListener("sourceopen",i):i())}},{key:"dispose",value:function(){var e=this;this.trigger("dispose"),this.decrypter_&&this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),["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.off(),this.mediaSource.dispose&&this.mediaSource.dispose()}},{key:"master",value:function(){return this.masterPlaylistLoader_.master}},{key:"media",value:function(){return this.masterPlaylistLoader_.media()||this.initialMedia_}},{key:"setupSourceBuffers_",value:function(){var e,t=this.masterPlaylistLoader_.media();if(t&&"open"===this.mediaSource.readyState){if((e=ms(this.masterPlaylistLoader_.master,t)).length<1)return this.error="No compatible SourceBuffer configuration for the variant stream:"+t.resolvedUri,this.mediaSource.endOfStream("decode");this.configureLoaderMimeTypes_(e),this.excludeIncompatibleVariants_(t)}}},{key:"configureLoaderMimeTypes_",value:function(e){var t=e.length>1&&-1===e[0].indexOf(",")&&e[0]!==e[1]?new Go.EventTarget:null;this.mainSegmentLoader_.mimeType(e[0],t),e[1]&&this.audioSegmentLoader_.mimeType(e[1],t)}},{key:"excludeUnsupportedVariants_",value:function(){this.master().playlists.forEach((function(e){var t;e.attributes.CODECS&&i().MediaSource&&i().MediaSource.isTypeSupported&&!i().MediaSource.isTypeSupported('video/mp4; codecs="'+(t=e.attributes.CODECS,t.replace(/avc1\.(\d+)\.(\d+)/i,(function(e){return fs([e])[0]}))+'"'))&&(e.excludeUntil=1/0)}))}},{key:"excludeIncompatibleVariants_",value:function(e){var t=2,n=null,r=void 0;e.attributes.CODECS&&(r=ps(e.attributes.CODECS),n=r.videoCodec,t=r.codecCount),this.master().playlists.forEach((function(e){var r={codecCount:2,videoCodec:null};e.attributes.CODECS&&(r=ps(e.attributes.CODECS)),r.codecCount!==t&&(e.excludeUntil=1/0),r.videoCodec!==n&&(e.excludeUntil=1/0)}))}},{key:"updateAdCues_",value:function(e){var t=0,n=this.seekable();n.length&&(t=n.start(0)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(e.segments)for(var r=n,o=void 0,a=0;a<e.segments.length;a++){var s=e.segments[a];if(o||(o=ru(t,r+s.duration/2)),o){if("cueIn"in s){o.endTime=r,o.adEndTime=r,r+=s.duration,o=null;continue}if(r<o.endTime){r+=s.duration;continue}o.endTime+=s.duration}else if("cueOut"in s&&((o=new(i().VTTCue)(r,r+s.duration,s.cueOut)).adStartTime=r,o.adEndTime=r+parseFloat(s.cueOut),t.addCue(o)),"cueOutCont"in s){var u=void 0,l=void 0,c=s.cueOutCont.split("/").map(parseFloat),d=ra(c,2);u=d[0],l=d[1],(o=new(i().VTTCue)(r,r+s.duration,"")).adStartTime=r-u,o.adEndTime=o.adStartTime+l,t.addCue(o)}r+=s.duration}}(e,this.cueTagsTrack_,t)}},{key:"goalBufferLength",value:function(){var e=this.tech_.currentTime(),t=Bs.GOAL_BUFFER_LENGTH,n=Bs.GOAL_BUFFER_LENGTH_RATE,r=Math.max(t,Bs.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*n,r)}},{key:"bufferLowWaterLine",value:function(){var e=this.tech_.currentTime(),t=Bs.BUFFER_LOW_WATER_LINE,n=Bs.BUFFER_LOW_WATER_LINE_RATE,r=Math.max(t,Bs.MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*n,r)}}]),t}(Go.EventTarget),_u=function e(t,n,r){Qo(this,e);var i,o,a,s=t.masterPlaylistController_,u=s[(t.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(s);if(n.attributes.RESOLUTION){var l=n.attributes.RESOLUTION;this.width=l.width,this.height=l.height}this.bandwidth=n.attributes.BANDWIDTH,this.id=r,this.enabled=(i=t.playlists,o=n.id,a=u,function(e){var t=i.master.playlists[o],n=Sa(t),r=Ta(t);return void 0===e?r:(e?delete t.disabled:t.disabled=!0,e===r||n||(a(),e?i.trigger("renditionenabled"):i.trigger("renditiondisabled")),e)})},wu=["seeking","seeked","pause","playing","error"],ku=function(){function e(t){var n=this;Qo(this,e),this.tech_=t.tech,this.seekable=t.seekable,this.allowSeeksWithinUnsafeLiveWindow=t.allowSeeksWithinUnsafeLiveWindow,this.media=t.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=Ds("PlaybackWatcher"),this.logger_("initialize");var r=function(){return n.monitorCurrentTime_()},o=function(){return n.techWaiting_()},a=function(){return n.cancelTimer_()},s=function(){return n.fixesBadSeeks_()};this.tech_.on("seekablechanged",s),this.tech_.on("waiting",o),this.tech_.on(wu,a),this.tech_.on("canplay",r),this.dispose=function(){n.logger_("dispose"),n.tech_.off("seekablechanged",s),n.tech_.off("waiting",o),n.tech_.off(wu,a),n.tech_.off("canplay",r),n.checkCurrentTimeTimeout_&&i().clearTimeout(n.checkCurrentTimeTimeout_),n.cancelTimer_()}}return Jo(e,[{key:"monitorCurrentTime_",value:function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&i().clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=i().setTimeout(this.monitorCurrentTime_.bind(this),250)}},{key:"checkCurrentTime_",value:function(){if(this.tech_.seeking()&&this.fixesBadSeeks_())return this.consecutiveUpdates=0,void(this.lastRecordedTime=this.tech_.currentTime());if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+Wa>=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)}}},{key:"cancelTimer_",value:function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null}},{key:"fixesBadSeeks_",value:function(){if(!this.tech_.seeking())return!1;var e=this.seekable(),t=this.tech_.currentTime(),n=void 0;this.afterSeekableWindow_(e,t,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(n=e.end(e.length-1));this.beforeSeekableWindow_(e,t)&&(n=e.start(0)+Wa);return void 0!==n&&(this.logger_("Trying to seek outside of seekable at time "+t+" with seekable range "+Za(e)+". Seeking to "+n+"."),this.tech_.setCurrentTime(n),!0)}},{key:"waiting_",value:function(){if(!this.techWaiting_()){var e=this.tech_.currentTime(),t=this.tech_.buffered(),n=Ga(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."),void this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})):void 0}}},{key:"techWaiting_",value:function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()&&this.fixesBadSeeks_())return!0;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:"hls-live-resync"}),!0}var r=this.tech_.buffered(),i=Ka(r,t);if(this.videoUnderflow_(i,r,t))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0;if(i.length>0){var o=i.start(0)-t;return this.logger_("Stopped at "+t+", setting timer for "+o+", seeking to "+i.start(0)),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*o,t),!0}return!1}},{key:"afterSeekableWindow_",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e.length)return!1;var i=e.end(e.length-1)+Wa,o=!n.endList;return o&&r&&(i=e.end(e.length-1)+3*n.targetDuration),t>i}},{key:"beforeSeekableWindow_",value:function(e,t){return!!(e.length&&e.start(0)>0&&t<e.start(0)-Wa)}},{key:"videoUnderflow_",value:function(e,t,n){if(0===e.length){var r=this.gapFromVideoUnderflow_(t,n);if(r)return this.logger_("Encountered a gap in video from "+r.start+" to "+r.end+". Seeking to current time "+n),!0}return!1}},{key:"skipTheGap_",value:function(e){var t=this.tech_.buffered(),n=this.tech_.currentTime(),r=Ka(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)+Va),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))}},{key:"gapFromVideoUnderflow_",value:function(e,t){for(var n=function(e){if(e.length<2)return Go.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 Go.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}(),Eu={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_)}},xu=function e(t,n){var r=0,i=0,o=Go.mergeOptions(Eu,n);t.ready((function(){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:"hls-error-reload"}),t.play())},u=function(){if(Date.now()-r<1e3*o.errorInterval)t.trigger({type:"usage",name:"hls-error-reload-canceled"});else{if(o.getSource&&"function"==typeof o.getSource)return r=Date.now(),o.getSource.call(t,s);Go.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)}},Su=function(e){xu(this,e)},Tu={PlaylistLoader:pa,Playlist:Oa,Decrypter:Ue,AsyncStream:je,decrypt:Fe,utils:Ua,STANDARD_PLAYLIST_SELECTOR:function(){var e=this.useDevicePixelRatio&&i().devicePixelRatio||1;return function(e,t,n,r,o){var a=e.playlists.map((function(e){var t,n;return t=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,n=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height,{bandwidth:e.attributes.BANDWIDTH||i().Number.MAX_VALUE,width:t,height:n,playlist:e}}));Zs(a,(function(e,t){return e.bandwidth-t.bandwidth}));var s=(a=a.filter((function(e){return!Oa.isIncompatible(e.playlist)}))).filter((function(e){return Oa.isEnabled(e.playlist)}));s.length||(s=a.filter((function(e){return!Oa.isDisabled(e.playlist)})));var u=s.filter((function(e){return e.bandwidth*Bs.BANDWIDTH_VARIANCE<t})),l=u[u.length-1],c=u.filter((function(e){return e.bandwidth===l.bandwidth}))[0];if(!1===o){var d=c||s[0]||a[0];return d?d.playlist:null}var f=u.filter((function(e){return e.width&&e.height}));Zs(f,(function(e,t){return e.width-t.width}));var p=f.filter((function(e){return e.width===n&&e.height===r}));l=p[p.length-1];var h=p.filter((function(e){return e.bandwidth===l.bandwidth}))[0],m=void 0,v=void 0,g=void 0;h||(v=(m=f.filter((function(e){return e.width>n||e.height>r}))).filter((function(e){return e.width===m[0].width&&e.height===m[0].height})),l=v[v.length-1],g=v.filter((function(e){return e.bandwidth===l.bandwidth}))[0]);var y=g||h||c||s[0]||a[0];return y?y.playlist:null}(this.playlists.master,this.systemBandwidth,parseInt(Ks(this.tech_.el(),"width"),10)*e,parseInt(Ks(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions)},INITIAL_PLAYLIST_SELECTOR:function(){var e=this.playlists.master.playlists.filter(Oa.isEnabled);return Zs(e,(function(e,t){return Xs(e,t)})),e.filter((function(e){return ps(e.attributes.CODECS).videoCodec}))[0]||null},comparePlaylistBandwidth:Xs,comparePlaylistResolution:function(e,t){var n=void 0,r=void 0;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:La()};["GOAL_BUFFER_LENGTH","MAX_GOAL_BUFFER_LENGTH","GOAL_BUFFER_LENGTH_RATE","BUFFER_LOW_WATER_LINE","MAX_BUFFER_LOW_WATER_LINE","BUFFER_LOW_WATER_LINE_RATE","BANDWIDTH_VARIANCE"].forEach((function(e){Object.defineProperty(Tu,e,{get:function(){return Go.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),Bs[e]},set:function(t){Go.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?Go.log.warn("value of Hls."+e+" must be greater than or equal to 0"):Bs[e]=t}})}));var Cu="videojs-vhs",Au=function(e){if(/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i.test(e))return"hls";return/^application\/dash\+xml/i.test(e)?"dash":null},Ou=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"})};Tu.canPlaySource=function(){return Go.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Nu=function(e){var t=e.masterPlaylistController_.mainSegmentLoader_,n=e.masterPlaylistController_.audioSegmentLoader_,r=Go.players[e.tech_.options_.playerId];if(r.eme){var i=function(e,t,n){if(!e)return e;var r=void 0,i=void 0;if(n.mimeType_)r=t.mimeType_,i=n.mimeType_;else{var o=vs(t.mimeType_),a=o.parameters.codecs.split(","),s=void 0,u=void 0;a.forEach((function(e){e=e.trim(),gs(e)?s=e:ys(e)&&(u=e)})),r=o.type+'; codecs="'+u+'"',i=o.type.replace("video","audio")+'; codecs="'+s+'"'}var l={},c=t.playlist_;for(var d in e)l[d]={audioContentType:i,videoContentType:r},c.contentProtection&&c.contentProtection[d]&&c.contentProtection[d].pssh&&(l[d].pssh=c.contentProtection[d].pssh),"string"==typeof e[d]&&(l[d].url=e[d]);return Go.mergeOptions(e,l)}(e.source_.keySystems,t,n);i&&(r.currentSource().keySystems=i,11!==Go.browser.IE_VERSION&&r.eme.initializeMediaKeys&&r.eme.initializeMediaKeys())}},Pu=function(){if(!window.localStorage)return null;var e=window.localStorage.getItem(Cu);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}};Tu.supportsNativeHls=function(){var e=a().createElement("video");if(!Go.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))}))}(),Tu.supportsNativeDash=!!Go.getTech("Html5").isSupported()&&/maybe|probably/i.test(a().createElement("video").canPlayType("application/dash+xml")),Tu.supportsTypeNatively=function(e){return"hls"===e?Tu.supportsNativeHls:"dash"===e&&Tu.supportsNativeDash},Tu.isSupported=function(){return Go.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Lu=function(e){function t(e,n,r){Qo(this,t);var i=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r.hls));if(n.options_&&n.options_.playerId){var o=Go(n.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return Go.log.warn("player.hls is deprecated. Use player.tech().hls instead."),n.trigger({type:"usage",name:"hls-player-access"}),i},configurable:!0}),o.vhs=i,o.dash=i,i.player_=o}if(i.tech_=n,i.source_=e,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_.smoothQualityChange_()})),i.on(i.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),i.on(i.tech_,"error",(function(){this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),i.on(i.tech_,"play",i.play),i}return ta(t,e),Jo(t,[{key:"setOptions_",value:function(){var e=this;if(this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=this.options_.handleManifestRedirects||!1,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_.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=Pu();t&&t.bandwidth&&(this.options_.bandwidth=t.bandwidth,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:"hls-throughput-from-local-storage"}))}"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Bs.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Bs.INITIAL_BANDWIDTH,["withCredentials","useDevicePixelRatio","limitRenditionByPlayerDimensions","bandwidth","smoothQualityChange","customTagParsers","customTagMappers","handleManifestRedirects","cacheEncryptionKeys"].forEach((function(t){void 0!==e.source_[t]&&(e.options_[t]=e.source_[t])})),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio}},{key:"src",value:function(e,t){var n=this;e&&(this.setOptions_(),this.options_.url=this.source_.src,this.options_.tech=this.tech_,this.options_.externHls=Tu,this.options_.sourceType=Au(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.masterPlaylistController_=new bu(this.options_),this.playbackWatcher_=new ku(Go.mergeOptions(this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()}})),this.masterPlaylistController_.on("error",(function(){Go.players[n.tech_.options_.playerId].error(n.masterPlaylistController_.error)})),this.masterPlaylistController_.selectPlaylist=this.selectPlaylist?this.selectPlaylist.bind(this):Tu.STANDARD_PLAYLIST_SELECTOR.bind(this),this.masterPlaylistController_.selectInitialPlaylist=Tu.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(){return this.masterPlaylistController_.mainSegmentLoader_.bandwidth},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e=1/(this.bandwidth||1),t=void 0;return t=this.throughput>0?1/this.throughput:0,Math.floor(1/(e+t))},set:function(){Go.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},buffered:{get:function(){return Xa(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 Xa(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(!window.localStorage)return!1;var t=Pu();t=t?Go.mergeOptions(t,e):e;try{window.localStorage.setItem(Cu,JSON.stringify(t))}catch(e){return!1}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})})),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e,t;t=(e=n).playlists,e.representations=function(){return t&&t.master&&t.master.playlists?t.master.playlists.filter((function(e){return!Sa(e)})).map((function(t,n){return new _u(e,t,t.id)})):[]},Nu(n)})),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.tech_.src(Go.URL.createObjectURL(this.masterPlaylistController_.mediaSource)))}},{key:"setupQualityLevels_",value:function(){var e=this,t=Go.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)})),Ou(t,n.playlists)})),this.playlists.on("mediachange",(function(){Ou(e.qualityLevels_,e.playlists)})))}},{key:"play",value:function(){this.masterPlaylistController_.play()}},{key:"setCurrentTime",value:function(e){this.masterPlaylistController_.setCurrentTime(e)}},{key:"duration",value:function(){return this.masterPlaylistController_.duration()}},{key:"seekable",value:function(){return this.masterPlaylistController_.seekable()}},{key:"dispose",value: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_.hls&&delete this.tech_.hls,ea(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"dispose",this).call(this)}},{key:"convertToProgramTime",value:function(e,t){return za({playlist:this.masterPlaylistController_.media(),time:e,callback:t})}},{key:"seekToProgramTime",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;return Ha({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}]),t}(Go.getComponent("Component")),Mu={name:"videojs-http-streaming",VERSION:"1.13.2",canHandleSource:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Go.mergeOptions(Go.options,t);return Mu.canPlayType(e.type,n)},handleSource:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Go.mergeOptions(Go.options,n);return t.hls=new Lu(e,t,r),t.hls.xhr=La(),t.hls.src(e.src,e.type),t.hls},canPlayType:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Go.mergeOptions(Go.options,t),r=n.hls.overrideNative,i=Au(e),o=i&&(!Tu.supportsTypeNatively(i)||r);return o?"maybe":""}};void 0!==Go.MediaSource&&void 0!==Go.URL||(Go.MediaSource=Ts,Go.URL=Cs),Ts.supportsNativeMediaSources()&&Go.getTech("Html5").registerSourceHandler(Mu,0),Go.HlsHandler=Lu,Go.HlsSourceHandler=Mu,Go.Hls=Tu,Go.use||Go.registerComponent("Hls",Tu),Go.options.hls=Go.options.hls||{},Go.registerPlugin?Go.registerPlugin("reloadSourceOnError",Su):Go.plugin("reloadSourceOnError",Su);var Iu=Go},39561:function(e,t,n){var r,i=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},o=n(65586);"undefined"!=typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o),e.exports=r},92661:function(e,t,n){var r;r="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},e.exports=r},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],a[1])}}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("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 L(e){d(e.c,"body",e.a)}function M(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 I(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=M(e=new k(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=M(e=new k(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=M(e=new k("serif",x(this.a))),this.j.a.style.cssText=e,e=M(e=new k("sans-serif",x(this.a))),this.m.a.style.cssText=e,L(this.g),L(this.h),L(this.j),L(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)},I.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 B(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 F(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()&&B(e,n,r)),t?s()-e.A>=e.w?j()&&B(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(){F(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(),F(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 I(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 Z(e,t){this.c=e||X,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 X="https://fonts.googleapis.com/css";function $(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 Z(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 $(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)}()},86150:function(e,t,n){function r(e){this.options=e||{locator:{}}}function i(){this.cdata=!1}function o(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function a(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function s(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 u(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}r.prototype.parseFromString=function(e,t){var n=this.options,r=new l,o=n.domBuilder||new i,s=n.errorHandler,u=n.locator,c=n.xmlns||{},d={lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return u&&o.setDocumentLocator(u),r.errorHandler=function(e,t,n){if(!e){if(t instanceof i)return t;e=t}var r={},o=e instanceof Function;function s(t){var i=e[t];!i&&o&&(i=2==e.length?function(n){e(t,n)}:e),r[t]=i&&function(e){i("[xmldom "+t+"]\t"+e+a(n))}||function(){}}return n=n||{},s("warning"),s("error"),s("fatalError"),r}(s,o,u),r.domBuilder=n.domBuilder||o,/\/x?html?$/.test(t)&&(d.nbsp=" ",d.copy="©",c[""]="http://www.w3.org/1999/xhtml"),c.xml=c.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,c,d):r.errorHandler.error("invalid doc source"),o.doc},i.prototype={startDocument:function(){this.doc=(new c).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),s=r.length;u(this,a),this.currentElement=a,this.locator&&o(this.locator,a);for(var l=0;l<s;l++){e=r.getURI(l);var c=r.getValue(l),d=(n=r.getQName(l),i.createAttributeNS(e,n));this.locator&&o(r.getLocator(l),d),d.value=d.nodeValue=c,a.setAttributeNode(d)}},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&&o(this.locator,n),u(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=s.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&&o(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=s.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&o(this.locator,r),u(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&&o(this.locator,i),u(this,i)}},warning:function(e){console.warn("[xmldom warning]\t"+e,a(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,a(this.locator))},fatalError:function(e){throw console.error("[xmldom fatalError]\t"+e,a(this.locator)),e}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){i.prototype[e]=function(){return null}}));var l=n(36147).G,c=n(29541).DOMImplementation;n(29541),t.a=r},29541:function(e,t){function n(e,t){for(var n in e)t[n]=e[n]}function r(e,t){var r=e.prototype;if(Object.create){var i=Object.create(t.prototype);r.__proto__=i}if(!(r instanceof t)){function o(){}o.prototype=t.prototype,n(r,o=new o),e.prototype=r=o}r.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),r.constructor=e)}var i={},o=i.ELEMENT_NODE=1,a=i.ATTRIBUTE_NODE=2,s=i.TEXT_NODE=3,u=i.CDATA_SECTION_NODE=4,l=i.ENTITY_REFERENCE_NODE=5,c=i.ENTITY_NODE=6,d=i.PROCESSING_INSTRUCTION_NODE=7,f=i.COMMENT_NODE=8,p=i.DOCUMENT_NODE=9,h=i.DOCUMENT_TYPE_NODE=10,m=i.DOCUMENT_FRAGMENT_NODE=11,v=i.NOTATION_NODE=12,g={},y={},b=(g.INDEX_SIZE_ERR=(y[1]="Index size error",1),g.DOMSTRING_SIZE_ERR=(y[2]="DOMString size error",2),g.HIERARCHY_REQUEST_ERR=(y[3]="Hierarchy request error",3)),_=(g.WRONG_DOCUMENT_ERR=(y[4]="Wrong document",4),g.INVALID_CHARACTER_ERR=(y[5]="Invalid character",5),g.NO_DATA_ALLOWED_ERR=(y[6]="No data allowed",6),g.NO_MODIFICATION_ALLOWED_ERR=(y[7]="No modification allowed",7),g.NOT_FOUND_ERR=(y[8]="Not found",8)),w=(g.NOT_SUPPORTED_ERR=(y[9]="Not supported",9),g.INUSE_ATTRIBUTE_ERR=(y[10]="Attribute in use",10));g.INVALID_STATE_ERR=(y[11]="Invalid state",11),g.SYNTAX_ERR=(y[12]="Syntax error",12),g.INVALID_MODIFICATION_ERR=(y[13]="Invalid modification",13),g.NAMESPACE_ERR=(y[14]="Invalid namespace",14),g.INVALID_ACCESS_ERR=(y[15]="Invalid access",15);function k(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,y[e]),this.message=y[e],Error.captureStackTrace&&Error.captureStackTrace(this,k);return n.code=e,t&&(this.message=this.message+": "+t),n}function E(){}function x(e,t){this._node=e,this._refresh=t,S(this)}function S(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var r=e._refresh(e._node);re(e,"length",r.length),n(r,e),e._inc=t}}function T(){}function C(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function A(e,t,n,r){if(r?t[C(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&R(i,e,r),function(e,t,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(i,e,n))}}function O(e,t,n){var r=C(t,n);if(!(r>=0))throw k(_,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&&(R(o,e,n),n.ownerElement=null)}}function N(e){if(this._features={},e)for(var t in e)this._features=e[t]}function P(){}function L(e){return("<"==e?"&lt;":">"==e&&"&gt;")||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function M(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(M(e,t))return!0}while(e=e.nextSibling)}function I(){}function R(e,t,n,r){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==n.namespaceURI&&delete t._nsMap[n.prefix?n.localName:""]}function D(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 q(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,D(e.ownerDocument,e),t}function j(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===m){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 D(e.ownerDocument||e,e),t.nodeType==m&&(t.firstChild=t.lastChild=null),t}function B(){this._nsMap={}}function F(){}function U(){}function z(){}function H(){}function V(){}function W(){}function Y(){}function G(){}function K(){}function Z(){}function X(){}function $(){}function Q(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 ee(this,n,e,t,a),n.join("")}function J(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!r&&!i)return!1;if("xml"===r&&"http://www.w3.org/XML/1998/namespace"===i||"http://www.w3.org/2000/xmlns/"==i)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix==r)return a.namespace!=i}return!0}function ee(e,t,n,r,i){if(r){if(!(e=r(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case o:i||(i=[]);i.length;var c=e.attributes,v=c.length,g=e.firstChild,y=e.tagName;n="http://www.w3.org/1999/xhtml"===e.namespaceURI||n,t.push("<",y);for(var b=0;b<v;b++){"xmlns"==(_=c.item(b)).prefix?i.push({prefix:_.localName,namespace:_.value}):"xmlns"==_.nodeName&&i.push({prefix:"",namespace:_.value})}for(b=0;b<v;b++){var _;if(J(_=c.item(b),0,i)){var w=_.prefix||"",k=_.namespaceURI,E=w?" xmlns:"+w:" xmlns";t.push(E,'="',k,'"'),i.push({prefix:w,namespace:k})}ee(_,t,n,r,i)}if(J(e,0,i)){w=e.prefix||"",k=e.namespaceURI,E=w?" xmlns:"+w:" xmlns";t.push(E,'="',k,'"'),i.push({prefix:w,namespace:k})}if(g||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(y)){if(t.push(">"),n&&/^script$/i.test(y))for(;g;)g.data?t.push(g.data):ee(g,t,n,r,i),g=g.nextSibling;else for(;g;)ee(g,t,n,r,i),g=g.nextSibling;t.push("</",y,">")}else t.push("/>");return;case p:case m:for(g=e.firstChild;g;)ee(g,t,n,r,i),g=g.nextSibling;return;case a:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,L),'"');case s:return t.push(e.data.replace(/[<&]/g,L));case u:return t.push("<![CDATA[",e.data,"]]>");case f:return t.push("\x3c!--",e.data,"--\x3e");case h:var x=e.publicId,S=e.systemId;if(t.push("<!DOCTYPE ",e.name),x)t.push(' PUBLIC "',x),S&&"."!=S&&t.push('" "',S),t.push('">');else if(S&&"."!=S)t.push(' SYSTEM "',S,'">');else{var T=e.internalSubset;T&&t.push(" [",T,"]"),t.push(">")}return;case d:return t.push("<?",e.target," ",e.data,"?>");case l:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function te(e,t,n){var r;switch(t.nodeType){case o:(r=t.cloneNode(!1)).ownerDocument=e;case m:break;case a:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var i=t.firstChild;i;)r.appendChild(te(e,i,n)),i=i.nextSibling;return r}function ne(e,t,n){var r=new t.constructor;for(var i in t){var s=t[i];"object"!=typeof s&&s!=r[i]&&(r[i]=s)}switch(t.childNodes&&(r.childNodes=new E),r.ownerDocument=e,r.nodeType){case o:var u=t.attributes,l=r.attributes=new T,c=u.length;l._ownerElement=r;for(var d=0;d<c;d++)r.setAttributeNode(ne(e,u.item(d),!0));break;case a:n=!0}if(n)for(var f=t.firstChild;f;)r.appendChild(ne(e,f,n)),f=f.nextSibling;return r}function re(e,t,n){e[t]=n}k.prototype=Error.prototype,n(g,k),E.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)ee(this[r],n,e,t);return n.join("")}},x.prototype.item=function(e){return S(this),this[e]},r(x,E),T.prototype={length:0,item:E.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 k(w);var n=this.getNamedItem(e.nodeName);return A(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new k(w);return t=this.getNamedItemNS(e.namespaceURI,e.localName),A(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return O(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return O(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}},N.prototype={hasFeature:function(e,t){var n=this._features[e.toLowerCase()];return!(!n||t&&!(t in n))},createDocument:function(e,t,n){var r=new I;if(r.implementation=this,r.childNodes=new E,r.doctype=n,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new W;return r.name=e,r.nodeName=e,r.publicId=t,r.systemId=n,r}},P.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 j(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return q(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return ne(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==s&&e.nodeType==s?(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==a?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==a?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},n(i,P),n(i,P.prototype),I.prototype={nodeName:"#document",nodeType:p,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==m){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return null==this.documentElement&&e.nodeType==o&&(this.documentElement=e),j(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),q(this,e)},importNode:function(e,t){return te(this,e,t)},getElementById:function(e){var t=null;return M(this.documentElement,(function(n){if(n.nodeType==o&&n.getAttribute("id")==e)return t=n,!0})),t},createElement:function(e){var t=new B;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new E,(t.attributes=new T)._ownerElement=t,t},createDocumentFragment:function(){var e=new Z;return e.ownerDocument=this,e.childNodes=new E,e},createTextNode:function(e){var t=new z;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new V;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new X;return n.ownerDocument=this,n.tagName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new F;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new K;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new B,r=t.split(":"),i=n.attributes=new T;return n.childNodes=new E,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 F,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}},r(I,P),B.prototype={nodeType:o,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===m?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,D(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 x(this,(function(t){var n=[];return M(t,(function(r){r===t||r.nodeType!=o||"*"!==e&&r.tagName!=e||n.push(r)})),n}))},getElementsByTagNameNS:function(e,t){return new x(this,(function(n){var r=[];return M(n,(function(i){i===n||i.nodeType!==o||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},I.prototype.getElementsByTagName=B.prototype.getElementsByTagName,I.prototype.getElementsByTagNameNS=B.prototype.getElementsByTagNameNS,r(B,P),F.prototype.nodeType=a,r(F,P),U.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(y[b])},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}},r(U,P),z.prototype={nodeName:"#text",nodeType:s,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}},r(z,U),H.prototype={nodeName:"#comment",nodeType:f},r(H,U),V.prototype={nodeName:"#cdata-section",nodeType:u},r(V,U),W.prototype.nodeType=h,r(W,P),Y.prototype.nodeType=v,r(Y,P),G.prototype.nodeType=c,r(G,P),K.prototype.nodeType=l,r(K,P),Z.prototype.nodeName="#document-fragment",Z.prototype.nodeType=m,r(Z,P),X.prototype.nodeType=d,r(X,P),$.prototype.serializeToString=function(e,t,n){return Q.call(e,t,n)},P.prototype.toString=Q;try{if(Object.defineProperty){function ie(e){switch(e.nodeType){case o:case m:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(ie(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(x.prototype,"length",{get:function(){return S(this),this.$$length}}),Object.defineProperty(P.prototype,"textContent",{get:function(){return ie(this)},set:function(e){switch(this.nodeType){case o:case m: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}}}),re=function(e,t,n){e["$$"+t]=n}}}catch(oe){}t.DOMImplementation=N},36147:function(e,t){var n=/[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]/,r=new RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i=new RegExp("^"+n.source+r.source+"*(?::"+n.source+r.source+"*)?$");function o(){}function a(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function s(e,t,n,r,i,o){for(var a,s=++t,u=0;;){var l=e.charAt(s);switch(l){case"=":if(1===u)a=e.slice(t,s),u=3;else{if(2!==u)throw new Error("attribute equal must after attrName");u=3}break;case"'":case'"':if(3===u||1===u){if(1===u&&(o.warning('attribute value must after "="'),a=e.slice(t,s)),t=s+1,!((s=e.indexOf(l,t))>0))throw new Error("attribute value no end '"+l+"' match");c=e.slice(t,s).replace(/&#?\w+;/g,i),n.add(a,c,t-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');c=e.slice(t,s).replace(/&#?\w+;/g,i),n.add(a,c,t),o.warning('attribute "'+a+'" missed start quot('+l+")!!"),t=s+1,u=5}break;case"/":switch(u){case 0:n.setTagName(e.slice(t,s));case 5:case 6:case 7:u=7,n.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==u&&n.setTagName(e.slice(t,s)),s;case">":switch(u){case 0:n.setTagName(e.slice(t,s));case 5:case 6:case 7:break;case 4:case 1:"/"===(c=e.slice(t,s)).slice(-1)&&(n.closed=!0,c=c.slice(0,-1));case 2:2===u&&(c=a),4==u?(o.warning('attribute "'+c+'" missed quot(")!!'),n.add(a,c.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===r[""]&&c.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+c+'" missed value!! "'+c+'" instead!!'),n.add(c,c,t));break;case 3:throw new Error("attribute value missed!!")}return s;case"€":l=" ";default:if(l<=" ")switch(u){case 0:n.setTagName(e.slice(t,s)),u=6;break;case 1:a=e.slice(t,s),u=2;break;case 4:var c=e.slice(t,s).replace(/&#?\w+;/g,i);o.warning('attribute "'+c+'" missed quot(")!!'),n.add(a,c,t);case 5:u=6}else switch(u){case 2:n.tagName;"http://www.w3.org/1999/xhtml"===r[""]&&a.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+a+'" missed value!! "'+a+'" instead2!!'),n.add(a,a,t),t=s,u=1;break;case 5:o.warning('attribute space is required"'+a+'"!!');case 6:u=1,t=s;break;case 3:u=4,t=s;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}s++}}function u(e,t,n){for(var r=e.tagName,i=null,o=e.length;o--;){var a=e[o],s=a.qName,u=a.value;if((p=s.indexOf(":"))>0)var l=a.prefix=s.slice(0,p),c=s.slice(p+1),f="xmlns"===l&&c;else c=s,l=null,f="xmlns"===s&&"";a.localName=c,!1!==f&&(null==i&&(i={},d(n,n={})),n[f]=i[f]=u,a.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(f,u))}for(o=e.length;o--;){(l=(a=e[o]).prefix)&&("xml"===l&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==l&&(a.uri=n[l||""]))}var p;(p=r.indexOf(":"))>0?(l=e.prefix=r.slice(0,p),c=e.localName=r.slice(p+1)):(l=null,c=e.localName=r);var h=e.uri=n[l||""];if(t.startElement(h,c,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(h,c,r),i)for(l in i)t.endPrefixMapping(l)}function l(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 c(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 d(e,t){for(var n in e)t[n]=e[n]}function f(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=a>3&&/^public$/i.test(o[2][0])&&o[3][0],l=a>4&&o[4][0],c=o[a-1];return n.startDTD(s,u&&u.replace(/^(['"])(.*?)\1$/,"$2"),l&&l.replace(/^(['"])(.*?)\1$/,"$2")),n.endDTD(),c.index+c[0].length}return-1}function p(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 h(e){}function m(e,t){return e.__proto__=t,e}o.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),d(t,t={}),function(e,t,n,r,i){function o(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function d(e){var t=e.slice(1,-1);return t in n?n[t]:"#"===t.charAt(0)?o(parseInt(t.substr(1).replace("x","0x"))):(i.error("entity not found:"+e),e)}function m(t){if(t>E){var n=e.substring(E,t).replace(/&#?\w+;/g,d);_&&v(E),r.characters(n,0,t-E),E=t}}function v(t,n){for(;t>=y&&(n=b.exec(e));)g=n.index,y=g+n[0].length,_.lineNumber++;_.columnNumber=t-g+1}var g=0,y=0,b=/.*(?:\r\n?|\n)|.*$/g,_=r.locator,w=[{currentNSMap:t}],k={},E=0;for(;;){try{var x=e.indexOf("<",E);if(x<0){if(!e.substr(E).match(/^\s*$/)){var S=r.doc,T=S.createTextNode(e.substr(E));S.appendChild(T),r.currentElement=T}return}switch(x>E&&m(x),e.charAt(x+1)){case"/":var C=e.indexOf(">",x+3),A=e.substring(x+2,C),O=w.pop();C<0?(A=e.substring(x+2).replace(/[\s<].*/,""),i.error("end tag name: "+A+" is not complete:"+O.tagName),C=x+1+A.length):A.match(/\s</)&&(A=A.replace(/[\s<].*/,""),i.error("end tag name: "+A+" maybe not complete"),C=x+1+A.length);var N=O.localNSMap,P=O.tagName==A;if(P||O.tagName&&O.tagName.toLowerCase()==A.toLowerCase()){if(r.endElement(O.uri,O.localName,A),N)for(var L in N)r.endPrefixMapping(L);P||i.fatalError("end tag name: "+A+" is not match the current start tagName:"+O.tagName)}else w.push(O);C++;break;case"?":_&&v(x),C=p(e,x,r);break;case"!":_&&v(x),C=f(e,x,r,i);break;default:_&&v(x);var M=new h,I=w[w.length-1].currentNSMap,R=(C=s(e,x,M,I,d,i),M.length);if(!M.closed&&c(e,C,M.tagName,k)&&(M.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),_&&R){for(var D=a(_,{}),q=0;q<R;q++){var j=M[q];v(j.offset),j.locator=a(_,{})}r.locator=D,u(M,r,I)&&w.push(M),r.locator=_}else u(M,r,I)&&w.push(M);"http://www.w3.org/1999/xhtml"!==M.uri||M.closed?C++:C=l(e,C,M.tagName,d,r)}}catch(e){i.error("element parse error: "+e),C=-1}C>E?E=C:m(Math.max(x,E)+1)}}(e,t,n,r,this.errorHandler),r.endDocument()}},h.prototype={setTagName:function(e){if(!i.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},add:function(e,t,n){if(!i.test(e))throw new Error("invalid attribute:"+e);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}},m({},m.prototype)instanceof m||(m=function(e,t){function n(){}for(t in n.prototype=t,n=new n,e)n[t]=e[t];return n}),t.G=o},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(){},65586:function(){},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},87462:function(e,t,n){"use strict";function r(){return 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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},60136:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(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&&(0,r.Z)(e,t)}},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},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":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","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":"IJ","ijlig":"ij","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":"ʼn","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":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","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":"IJ","ijlig":"ij","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":"ʼn","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 Wk},callbackPath:function(){return Lk},errorPath:function(){return Mk},getToken:function(){return Ik},initAuth:function(){return Uk},login:function(){return jk},logout:function(){return zk},request:function(){return yk}});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{callbackComponent:function(){return Xk},callbackPath:function(){return $k},getToken:function(){return Qk},initAuth:function(){return iE},login:function(){return Jk},logout:function(){return eE},request:function(){return yk}});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{CoverDescription:function(){return HL},CoverDetailsContentHeading:function(){return gR},CoverDueDate:function(){return KL},CoverHeader:function(){return QM},CoverLayout:function(){return rI},LessonHeader:function(){return NI},LessonHeaderAuthor:function(){return yR},LessonNavFinish:function(){return jI},LessonNavNext:function(){return UI},LessonNavPrevious:function(){return YI},LessonProgressGraphic:function(){return oR},NavCompactHeaderCounter:function(){return bR},NavCompactHeaderProgress:function(){return _R},NavCompactOutline:function(){return wR},NavSidebarHeaderProgress:function(){return kR},NavSidebarOutline:function(){return ER},NavSidebarSearch:function(){return xR},OverviewListItem:function(){return SR},OverviewListSectionTitle:function(){return TR},Progress:function(){return vR}});var r={};__webpack_require__.r(r),__webpack_require__.d(r,{AlignLeft:function(){return MR},ArrowDown:function(){return II},ArrowLeft:function(){return NR},ArrowRight:function(){return PR},ArrowUp:function(){return zI},Category:function(){return cC},ChevronDown:function(){return RR},ChevronUp:function(){return qR},Favorite:function(){return BC},LessonsComplete:function(){return HR},LessonsRequirement:function(){return ZC},QuestionBox:function(){return BR},QuizFailed:function(){return UR},QuizPassed:function(){return HR},QuizRequirement:function(){return RC},Search:function(){return WR},ToggleDown:function(){return GR},Touch:function(){return ZR},VideoCamera:function(){return $R},X:function(){return JR}});var i={};__webpack_require__.r(i),__webpack_require__.d(i,{components:function(){return n},icons:function(){return r}});var o={};__webpack_require__.r(o),__webpack_require__.d(o,{CoverCourseInfo:function(){return ND},CoverDescription:function(){return ID},CoverDetailsSection:function(){return BD},CoverHeader:function(){return tq},CoverLayout:function(){return iq},LessonHeader:function(){return uq},LessonProgressGraphic:function(){return pq},NavSidebarHeader:function(){return vq},OverviewListItemLinkContent:function(){return Oq},Progress:function(){return Nq}});var a={};__webpack_require__.r(a),__webpack_require__.d(a,{ArrowDown:function(){return Lq},ArrowLeft:function(){return Dq},ArrowRight:function(){return Iq},ArrowUp:function(){return Lq},ChevronDown:function(){return jq},ChevronUp:function(){return jq},Favorite:function(){return BC},LessonsComplete:function(){return Fq},LessonsRequirement:function(){return zq},QuizFailed:function(){return Yq},QuizPassed:function(){return Fq},QuizRequirement:function(){return zq},Search:function(){return Vq},ToggleDown:function(){return Kq},X:function(){return Xq}});var s={};__webpack_require__.r(s),__webpack_require__.d(s,{components:function(){return o},icons:function(){return a}});var u={};__webpack_require__.r(u),__webpack_require__.d(u,{CoverDescription:function(){return tj},CoverDetails:function(){return aj},CoverGraphic:function(){return sj},CoverHeader:function(){return Tj},CoverLayout:function(){return Aj},CoverProgress:function(){return Wj},CoverSVG:function(){return hj},LessonHeader:function(){return Xj},LessonProgressGraphic:function(){return nB},NavSidebarHeaderProgress:function(){return iB}});var l={};__webpack_require__.r(l),__webpack_require__.d(l,{AlignLeft:function(){return fB},ArrowDown:function(){return oB},ArrowLeft:function(){return sB},ArrowRight:function(){return lB},ArrowUp:function(){return cB},ChevronDown:function(){return hB},ChevronUp:function(){return vB},Favorite:function(){return BC},LessonsComplete:function(){return HR},LessonsRequirement:function(){return ZC},QuestionBox:function(){return yB},QuizFailed:function(){return UR},QuizPassed:function(){return HR},QuizRequirement:function(){return RC},Search:function(){return _B},ToggleDown:function(){return hB},Touch:function(){return kB},VideoCamera:function(){return xB},X:function(){return TB}});var c={};__webpack_require__.r(c),__webpack_require__.d(c,{components:function(){return u},icons:function(){return l}});var d=__webpack_require__(61577),f=__webpack_require__.n(d),p=(__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__(65465),__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__(99972),__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__(42472),__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)),h=__webpack_require__.n(p);window.URLSearchParams=f()||h(),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 m=__webpack_require__(67294),v=__webpack_require__(73935),g=__webpack_require__(94578),y=__webpack_require__(45697),b=__webpack_require__.n(y),_=__webpack_require__(87462);function w(e){return"/"===e.charAt(0)}function k(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 E=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&w(e),a=t&&w(t),s=o||a;if(e&&w(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?k(i,c):".."===d?(k(i,c),l++):l&&(k(i,c),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&w(i[0])||i.unshift("");var f=i.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function x(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 S(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=(0,_.Z)({},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=E(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function T(){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 C(e,t,n){return Math.min(Math.max(e,t),n)}function A(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=T();function c(e){(0,_.Z)(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=C(a,0,i.length-1),p=i.map((function(e){return S(e,void 0,"string"==typeof e?d():e.key||d())})),h=x;function m(e){var t=C(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=S(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=S(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 O=1073741823,N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:{};function P(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 L=m.createContext||function(e,t){var n,r,i="__create-react-context-"+function(){var e="__global_unique_id__";return N[e]=(N[e]||0)+1}()+"__",o=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=P(t.props.value),t}(0,g.Z)(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):O,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(m.Component);o.childContextTypes=((n={})[i]=b().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}(0,g.Z)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?O:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?O: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}(m.Component);return a.contextTypes=((r={})[i]=b().object,r),{Provider:o,Consumer:a}},M=L,I="Invariant failed";var R=function(e,t){if(!e)throw new Error(I)},D=__webpack_require__(39658),q=__webpack_require__.n(D),j=__webpack_require__(59864);function B(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 F=__webpack_require__(8679),U=__webpack_require__.n(F),z=function(e){var t=M();return t.displayName=e,t},H=z("Router-History"),V=function(e){var t=M();return t.displayName=e,t},W=V("Router"),Y=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}(0,g.Z)(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 m.createElement(W.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},m.createElement(H.Provider,{children:this.props.children||null,value:this.props.history}))},t}(m.Component);m.Component;m.Component;var G={},K=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=G[n]||(G[n]={});if(r[e])return r[e];var i=[],o={regexp:q()(e,i,t),keys:i};return K<1e4&&(r[e]=o,K++),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 X=function(e){function t(){return e.apply(this,arguments)||this}return(0,g.Z)(t,e),t.prototype.render=function(){var e=this;return m.createElement(W.Consumer,null,(function(t){t||R(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?Z(n.pathname,e.props):t.match,i=(0,_.Z)({},t,{location:n,match:r}),o=e.props,a=o.children,s=o.component,u=o.render;return Array.isArray(a)&&0===a.length&&(a=null),m.createElement(W.Provider,{value:i},i.match?a?"function"==typeof a?a(i):a:s?m.createElement(s,i):u?u(i):null:"function"==typeof a?a(i):null)}))},t}(m.Component);function $(e){return"/"===e.charAt(0)?e:"/"+e}function Q(e,t){if(!e)return t;var n=$(e);return 0!==t.pathname.indexOf(n)?t:(0,_.Z)({},t,{pathname:t.pathname.substr(n.length)})}function J(e){return"string"==typeof e?e:x(e)}function ee(e){return function(){R(!1)}}function te(){}m.Component;var ne=function(e){function t(){return e.apply(this,arguments)||this}return(0,g.Z)(t,e),t.prototype.render=function(){var e=this;return m.createElement(W.Consumer,null,(function(t){t||R(!1);var n,r,i=e.props.location||t.location;return m.Children.forEach(e.props.children,(function(e){if(null==r&&m.isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?Z(i.pathname,(0,_.Z)({},e.props,{path:o})):t.match}})),r?m.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(m.Component);function re(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=B(t,["wrappedComponentRef"]);return m.createElement(W.Consumer,null,(function(t){return t||R(!1),m.createElement(e,(0,_.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,U()(n,e)}var ie=m.useContext;function oe(){return ie(H)}function ae(){return ie(W).location}function se(e){var t=ae(),n=ie(W).match;return e?Z(t.pathname,e):n}var ue=__webpack_require__(51614),le=__webpack_require__.n(ue),ce=__webpack_require__(50557),de=__webpack_require__.n(ce);var fe=m.createContext(null);var pe=function(e){e()},he=function(){return pe},me={notify:function(){}};var ve=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=me,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=he(),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=me)},e}(),ge="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?m.useLayoutEffect:m.useEffect;var ye=function(e){var t=e.store,n=e.context,r=e.children,i=(0,m.useMemo)((function(){var e=new ve(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),o=(0,m.useMemo)((function(){return t.getState()}),[t]);ge((function(){var e=i.subscription;return e.trySubscribe(),o!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,o]);var a=n||fe;return m.createElement(a.Provider,{value:i},r)},be=[],_e=[null,null];function we(e,t){var n=e[1];return[t.payload,n+1]}function ke(e,t,n){ge((function(){return e.apply(void 0,t)}),n)}function Ee(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function xe(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 Se=function(){return[null,0]};function Te(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,v=n.context,g=void 0===v?fe:v,y=B(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=(0,_.Z)({},y,{getDisplayName:i,methodName:a,renderCountProp:u,shouldHandleStateChanges:c,storeKey:f,displayName:r,wrappedComponentName:n,WrappedComponent:t}),s=y.pure;var l=s?m.useMemo:function(e){return e()};function d(n){var r=(0,m.useMemo)((function(){var e=n.reactReduxForwardedRef,t=B(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),i=r[0],a=r[1],s=r[2],u=(0,m.useMemo)((function(){return i&&i.Consumer&&(0,j.isContextConsumer)(m.createElement(i.Consumer,null))?i:b}),[i,b]),d=(0,m.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,m.useMemo)((function(){return function(t){return e(t.dispatch,o)}(p)}),[p]),v=(0,m.useMemo)((function(){if(!c)return _e;var e=new ve(p,f?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[p,f,d]),g=v[0],y=v[1],w=(0,m.useMemo)((function(){return f?d:(0,_.Z)({},d,{subscription:g})}),[f,d,g]),k=(0,m.useReducer)(we,be,Se),E=k[0][0],x=k[1];if(E&&E.error)throw E.error;var S=(0,m.useRef)(),T=(0,m.useRef)(s),C=(0,m.useRef)(),A=(0,m.useRef)(!1),O=l((function(){return C.current&&s===T.current?C.current:h(p.getState(),s)}),[p,E,s]);ke(Ee,[T,S,A,s,O,C,y]),ke(xe,[c,p,g,h,T,S,A,C,y,x],[p,g,h]);var N=(0,m.useMemo)((function(){return m.createElement(t,(0,_.Z)({},O,{ref:a}))}),[a,t,O]);return(0,m.useMemo)((function(){return c?m.createElement(u.Provider,{value:w},N):N}),[u,N,w])}var p=s?m.memo(d):d;if(p.WrappedComponent=t,p.displayName=d.displayName=r,h){var v=m.forwardRef((function(e,t){return m.createElement(p,(0,_.Z)({},e,{reactReduxForwardedRef:t}))}));return v.displayName=r,v.WrappedComponent=t,U()(v,t)}return U()(p,t)}}function Ce(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function Ae(e,t){if(Ce(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])||!Ce(e[n[i]],t[n[i]]))return!1;return!0}function Oe(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function Ne(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function Pe(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=Ne(e);var i=r(t,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=Ne(i),i=r(t,n)),i},r}}var Le=[function(e){return"function"==typeof e?Pe(e):void 0},function(e){return e?void 0:Oe((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?Oe((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 Me=[function(e){return"function"==typeof e?Pe(e):void 0},function(e){return e?void 0:Oe((function(){return{}}))}];function Ie(e,t,n){return(0,_.Z)({},n,e,t)}var Re=[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 Ie}}];function De(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function qe(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 je(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=B(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,o),s=r(e,o),u=i(e,o);return(o.pure?qe:De)(a,s,u,e,o)}function Be(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 Fe(e,t){return e===t}function Ue(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?Te:n,i=t.mapStateToPropsFactories,o=void 0===i?Me:i,a=t.mapDispatchToPropsFactories,s=void 0===a?Le:a,u=t.mergePropsFactories,l=void 0===u?Re:u,c=t.selectorFactory,d=void 0===c?je: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?Fe:f,h=a.areOwnPropsEqual,m=void 0===h?Ae:h,v=a.areStatePropsEqual,g=void 0===v?Ae:v,y=a.areMergedPropsEqual,b=void 0===y?Ae:y,w=B(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=Be(e,o,"mapStateToProps"),E=Be(t,s,"mapDispatchToProps"),x=Be(n,l,"mergeProps");return r(d,(0,_.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:k,initMapDispatchToProps:E,initMergeProps:x,pure:c,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:b},w))}}var ze=Ue();function He(){return(0,m.useContext)(fe)}function Ve(e){void 0===e&&(e=fe);var t=e===fe?He:function(){return(0,m.useContext)(e)};return function(){return t().store}}var We=Ve();function Ye(e){void 0===e&&(e=fe);var t=e===fe?We:Ve(e);return function(){return t().dispatch}}var Ge=Ye(),Ke=function(e,t){return e===t};function Ze(e){void 0===e&&(e=fe);var t=e===fe?He:function(){return(0,m.useContext)(e)};return function(e,n){void 0===n&&(n=Ke);var r=t(),i=function(e,t,n,r){var i,o=(0,m.useReducer)((function(e){return e+1}),0)[1],a=(0,m.useMemo)((function(){return new ve(n,r)}),[n,r]),s=(0,m.useRef)(),u=(0,m.useRef)(),l=(0,m.useRef)(),c=(0,m.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 ge((function(){u.current=e,l.current=d,c.current=i,s.current=void 0})),ge((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,m.useDebugValue)(i),i}}var Xe,$e=Ze();Xe=v.unstable_batchedUpdates,pe=Xe;var Qe=__webpack_require__(13535),Je=__webpack_require__.n(Qe);function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var tt=__webpack_require__(44341);function nt(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),tt(e,r.key,r)}}function rt(e,t,n){return t&&nt(e.prototype,t),n&&nt(e,n),tt(e,"prototype",{writable:!1}),e}function it(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ot=__webpack_require__(189),at=__webpack_require__(79542);function st(e,t){return st=at||function(e,t){return e.__proto__=t,e},st(e,t)}function ut(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=ot(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),tt(e,"prototype",{writable:!1}),t&&st(e,t)}var lt=__webpack_require__(51446),ct=__webpack_require__.n(lt),dt=__webpack_require__(23882);function ft(e){return ft="function"==typeof lt&&"symbol"==typeof dt?function(e){return typeof e}:function(e){return e&&"function"==typeof lt&&e.constructor===lt&&e!==lt.prototype?"symbol":typeof e},ft(e)}function pt(e,t){if(t&&("object"===ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return it(e)}var ht=__webpack_require__(24889);function mt(e){return mt=at?ht:function(e){return e.__proto__||ht(e)},mt(e)}var vt=__webpack_require__(12088),gt=__webpack_require__.n(vt);function yt(){return yt=vt||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yt.apply(this,arguments)}var bt=__webpack_require__(88066),_t=__webpack_require__.n(bt),wt=__webpack_require__(97326),kt=m.createContext(null);function Et(e,t){var n=Object.create(null);return e&&m.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,m.isValidElement)(e)?t(e):e}(e)})),n}function xt(e,t,n){return null!=n[t]?n[t]:e.props[t]}function St(e,t){return Et(e.children,(function(n){return(0,m.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:xt(n,"appear",e),enter:xt(n,"enter",e),exit:xt(n,"exit",e)})}))}function Tt(e,t,n){var r=Et(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,m.isValidElement)(a)){var s=o in t,u=o in r,l=t[o],c=(0,m.isValidElement)(l)&&!l.props.in;!u||s&&!c?u||!s||c?u&&s&&(0,m.isValidElement)(l)&&(i[o]=(0,m.cloneElement)(a,{onExited:n.bind(null,a),in:l.props.in,exit:xt(a,"exit",e),enter:xt(a,"enter",e)})):i[o]=(0,m.cloneElement)(a,{in:!1}):i[o]=(0,m.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:xt(a,"exit",e),enter:xt(a,"enter",e)})}})),i}var Ct=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},At=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,wt.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,g.Z)(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?St(e,r):Tt(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Et(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,_.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=B(e,["component","childFactory"]),i=this.state.contextValue,o=Ct(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?m.createElement(kt.Provider,{value:i},o):m.createElement(kt.Provider,{value:i},m.createElement(t,r,o))},t}(m.Component);At.propTypes={},At.defaultProps={component:"div",childFactory:function(e){return e}};var Ot=At,Nt=!1,Pt="unmounted",Lt="exited",Mt="entering",It="entered",Rt="exiting",Dt=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=Lt,r.appearStatus=Mt):i=It:i=t.unmountOnExit||t.mountOnEnter?Pt:Lt,r.state={status:i},r.nextCallback=null,r}(0,g.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Pt?{status:Lt}: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!==Mt&&n!==It&&(t=Mt):n!==Mt&&n!==It||(t=Rt)}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===Mt?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===Lt&&this.setState({status:Pt})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[v.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||Nt?this.safeSetState({status:It},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:Mt},(function(){t.props.onEntering(o,a),t.onTransitionEnd(u,(function(){t.safeSetState({status:It},(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:v.findDOMNode(this);t&&!Nt?(this.props.onExit(r),this.safeSetState({status:Rt},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Lt},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Lt},(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:v.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===Pt)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,B(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return m.createElement(kt.Provider,{value:null},"function"==typeof n?n(e,r):m.cloneElement(m.Children.only(n),r))},t}(m.Component);function qt(){}Dt.contextType=kt,Dt.propTypes={},Dt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qt,onEntering:qt,onEntered:qt,onExit:qt,onExiting:qt,onExited:qt},Dt.UNMOUNTED=Pt,Dt.EXITED=Lt,Dt.ENTERING=Mt,Dt.ENTERED=It,Dt.EXITING=Rt;var jt=Dt;function Bt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var Ft=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=Bt(n.className,r):n.setAttribute("class",Bt(n.className&&n.className.baseVal||"",r)));var n,r}))},Ut=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}(0,g.Z)(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&&Ft(e,r),i&&Ft(e,i),o&&Ft(e,o)},n.render=function(){var e=this.props,t=(e.classNames,B(e,["classNames"]));return m.createElement(jt,(0,_.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(m.Component);Ut.defaultProps={classNames:""},Ut.propTypes={};var zt=Ut,Ht=__webpack_require__(67294);function Vt(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Wt=(0,m.createContext)(null),Yt=(0,m.createContext)(!1),Gt=(0,m.forwardRef)((function(e,t){return Ht.createElement(Yt.Provider,{value:!0},Ht.createElement(Ot,yt({ref:t},e)))}));function Kt(e){var t=function(t){ut(r,t);var n=Vt(r);function r(){var e,t;et(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,_t()(e=[this]).call(e,o))).onEnterDelegate=t.onTransition.bind(it(t),"enter"),t.onEnteringDelegate=t.onTransition.bind(it(t),"entering"),t.onEnteredDelegate=t.onTransition.bind(it(t),"entered"),t.onExitDelegate=t.onTransition.bind(it(t),"exit"),t.onExitingDelegate=t.onTransition.bind(it(t),"exiting"),t.onExitedDelegate=t.onTransition.bind(it(t),"exited"),t.state={transitionState:null},t}return rt(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 Ht.createElement(Wt.Provider,{value:this.state.transitionState},Ht.createElement(e,yt({},this.props,{onEnter:this.onEnterDelegate,onEntering:this.onEnteringDelegate,onEntered:this.onEnteredDelegate,onExit:this.onExitDelegate,onExiting:this.onExitingDelegate,onExited:this.onExitedDelegate})))}}]),r}(m.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 Zt=Kt(jt),Xt=Kt(zt);function $t(e){var t=(0,m.forwardRef)((function(t,n){var r=function(e){var t,n=(0,m.useContext)(Yt),r=(0,m.useContext)(Wt),i=(0,m.useRef)(e);return n&&null!=r&&null!==(t=le()(r))&&void 0!==t&&t.call(r,"exit")||(i.current=e),i.current}(t);return Ht.createElement(e,yt({ref:n},r))}));return t.displayName="withTransitionableState(".concat(e.displayName||e.name,")"),t}function Qt(){return de()(ze.apply(void 0,arguments),$t)}function Jt(e,t){var n,r=(0,m.useContext)(Yt),i=(0,m.useContext)(Wt),o=(0,m.useRef)(null),a=!function(){var e=(0,m.useRef)(!0);return e.current?(e.current=!1,!0):e.current}()&&r&&(null==i||null===(n=le()(i))||void 0===n?void 0:n.call(i,"exit")),s=$e((function(t){if(!a)return e(t)}),t);return a||(o.current=s),o.current}var en=__webpack_require__(30670),tn=__webpack_require__.n(en),nn=__webpack_require__(41143),rn=__webpack_require__.n(nn);function on(e){return"/"===e.charAt(0)}function an(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 sn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&on(e),o=t&&on(t),a=i||o;if(e&&on(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?an(r,c):".."===d?(an(r,c),l++):l&&(an(r,c),l--)}if(!a)for(;l--;l)r.unshift("..");!a||""===r[0]||r[0]&&on(r[0])||r.unshift("");var f=r.join("/");return s&&"/"!==f.substr(-1)&&(f+="/"),f},un="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 ln=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":un(t);if(r!==(void 0===n?"undefined":un(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},cn=function(e){return"/"===e.charAt(0)?e:"/"+e},dn=function(e){return"/"===e.charAt(0)?e.substr(1):e},fn=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},pn=function(e,t){return fn(e,t)?e.substr(t.length):e},hn=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},mn=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},vn=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},gn=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=vn({},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=sn(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},yn=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&ln(e.state,t.state)},bn=function(){var e=null,t=[];return{setPrompt:function(t){return tn()(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):(tn()(!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)}))}}},_n=!("undefined"==typeof window||!window.document||!window.document.createElement),wn=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},kn=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},En=function(e,t){return t(window.confirm(e))},xn=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},Sn=("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}),Tn="hashchange",Cn={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+dn(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:dn,decodePath:cn},slash:{encodePath:cn,decodePath:cn}},An=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},On=function(e){return window.location.hash=e},Nn=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},Pn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};rn()(_n,"Hash history needs a DOM");var t=window.history,n=xn(),r=e.getUserConfirmation,i=void 0===r?En:r,o=e.hashType,a=void 0===o?"slash":o,s=e.basename?hn(cn(e.basename)):"",u=Cn[a],l=u.encodePath,c=u.decodePath,d=function(){var e=c(An());return tn()(!s||fn(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=pn(e,s)),gn(e)},f=bn(),p=function(e){Sn(I,e),I.length=t.length,f.notifyListeners(I.location,I.action)},h=!1,m=null,v=function(){var e=An(),t=l(e);if(e!==t)Nn(t);else{var n=d(),r=I.location;if(!h&&yn(r,n))return;if(m===mn(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=I.location,n=k.lastIndexOf(mn(t));-1===n&&(n=0);var r=k.lastIndexOf(mn(e));-1===r&&(r=0);var i=n-r;i&&(h=!0,T(i))},b=An(),_=l(b);b!==_&&Nn(_);var w=d(),k=[mn(w)],E=function(e){return"#"+l(s+mn(e))},x=function(e,t){tn()(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=gn(e,void 0,void 0,I.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=mn(r),i=l(s+t);if(An()!==i){m=t,On(i);var o=k.lastIndexOf(mn(I.location)),a=k.slice(0,-1===o?0:o+1);a.push(t),k=a,p({action:n,location:r})}else tn()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),p()}}))},S=function(e,t){tn()(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=gn(e,void 0,void 0,I.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=mn(r),i=l(s+t);An()!==i&&(m=t,Nn(i));var o=k.indexOf(mn(I.location));-1!==o&&(k[o]=t),p({action:n,location:r})}}))},T=function(e){tn()(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)?wn(window,Tn,v):0===O&&kn(window,Tn,v)},P=!1,L=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()}},M=function(e){var t=f.appendListener(e);return N(1),function(){N(-1),t()}},I={length:t.length,action:"POP",location:w,createHref:E,push:x,replace:S,go:T,goBack:C,goForward:A,block:L,listen:M};return I},Ln=("function"==typeof Symbol&&Symbol.iterator,Object.assign,__webpack_require__(86869)),Mn=__webpack_require__.n(Ln),In=__webpack_require__(46489),Rn=__webpack_require__.n(In),Dn=__webpack_require__(61949),qn=__webpack_require__.n(Dn),jn=__webpack_require__(9134),Bn=__webpack_require__.n(jn),Fn=__webpack_require__(52478),Un=__webpack_require__.n(Fn),zn=window.Runtime,Hn=Bn()(Un())(window.env||{}),Vn=!1,Wn=function(e){return zn&&zn[e]};function Yn(e){return Hn("CDN_USER_CONTENT_URI")+"/"+e}function Gn(e){var t=e||"",n=Wn("resolvePath")?zn.resolvePath.bind(zn):Yn;return le()(t).call(t,"http")||le()(t).call(t,"data:")||le()(t).call(t,"//")?t:n(t)}function Kn(){Wn("exit")&&zn.exit()}function Zn(){return!!Wn("isExport")&&zn.isExport()}function Xn(){if(Wn("sendTouch"))return zn.sendTouch()}var $n="_articulate_user_id",Qn=function(e,t){var n,r;return _t()(n=_t()(r="".concat(e,"=")).call(r,t,"; domain=")).call(n,Hn("SESSION_COOKIE_DOMAIN"),"; path=/; secure=true")},Jn=function(){return Mn().load($n)},er=function(){return Mn().load("_articulate_rise_")},tr=function(){return er()?Rn()(er()).riseId||Rn()(er()).sub||Rn()(er()).aid:""},nr=function(){return er()&&Rn()(er()).subscription||{}},rr="_course_token",ir=new(f())(window.location.hash.substr(1)),or=ir.get(rr);or&&(ir.delete(rr),window.history.replaceState(null,null,"#".concat(ir.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=or||er();navigator.serviceWorker.ready.then((function(e){e.active.postMessage({id:r,jsonrpc:"2.0",method:n,result:{token:i}})}))}}));var ar=__webpack_require__(89356),sr=__webpack_require__.n(ar),ur=__webpack_require__(63263),lr=__webpack_require__.n(ur),cr=__webpack_require__(30699),dr=__webpack_require__.n(cr),fr=__webpack_require__(58377),pr=__webpack_require__.n(fr),hr=__webpack_require__(13038),mr=__webpack_require__.n(hr),vr=__webpack_require__(78363);function gr(e){if(vr(e))return e}var yr=__webpack_require__(19996),br=__webpack_require__.n(yr);var _r=__webpack_require__(95238),wr=__webpack_require__.n(_r),kr=__webpack_require__(53592),Er=__webpack_require__.n(kr);function xr(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 Sr(e,t){var n;if(e){if("string"==typeof e)return xr(e,t);var r=_r(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?kr(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xr(e,t):void 0}}function Tr(){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 Cr(e,t){return gr(e)||function(e,t){var n=null==e?null:void 0!==lt&&yr(e)||e["@@iterator"];if(null!=n){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)||Sr(e,t)||Tr()}function Ar(e,t,n){return t in e?tt(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Or(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Or(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var Pr=(0,m.createContext)({});function Lr(e,t){var n=t.type,r=t.message;switch(n){case"polite":return Nr(Nr({},e),{},{politeMessage1:e.alternatePolite?r:"",politeMessage2:e.alternatePolite?"":r,alternatePolite:!e.alternatePolite});case"assertive":return Nr(Nr({},e),{},{assertiveMessage1:e.alternatePolite?r:"",assertiveMessage2:e.alternatePolite?"":r,alternateAssertive:!e.alternateAssertive});default:return{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}}}function Mr(e){var t=e.ariaLive,n=e.message;return m.createElement("div",{className:"visually-hidden-always",role:"log","aria-live":t,"aria-atomic":"true","aria-relevant":"additions text"},n)}function Ir(e){var t=e.children,n=Cr((0,m.useReducer)(Lr,{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,m.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 m.createElement(Pr.Provider,{value:l},m.createElement(Mr,{id:"polite-announcer1",ariaLive:"polite",message:i}),m.createElement(Mr,{id:"polite-announcer2",ariaLive:"polite",message:o}),m.createElement(Mr,{id:"assertive-announcer1",ariaLive:"assertive",message:a}),m.createElement(Mr,{id:"assertive-announcer2",ariaLive:"assertive",message:s}),t)}function Rr(){return(0,m.useContext)(Pr)}var Dr=__webpack_require__(69798),qr=__webpack_require__.n(Dr),jr=__webpack_require__(416),Br=__webpack_require__.n(jr),Fr=__webpack_require__(94066),Ur=__webpack_require__.n(Fr),zr=__webpack_require__(54115),Hr=__webpack_require__.n(zr),Vr=__webpack_require__(69105),Wr=__webpack_require__.n(Vr),Yr=__webpack_require__(23710),Gr=__webpack_require__.n(Yr),Kr=__webpack_require__(38289),Zr=__webpack_require__.n(Kr),Xr=Bn()(Zr()),$r=Xr({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"]}),Qr=Xr({allowedAttributes:{iframe:["align","allow","allowfullscreen","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","width"]},allowedTags:["iframe"],allowedSchemes:["http","https"]}),Jr=Gr()(Wr(),$r,Hr()("")),ei=Gr()(Wr(),Qr,Hr()("")),ti=Xr({allowedTags:[],allowedAttributes:[]}),ni=Xr({allowedTags:["mark"],allowedAttributes:[]}),ri=Jr,ii=__webpack_require__(22624),oi=__webpack_require__.n(ii),ai=__webpack_require__(51383),si=__webpack_require__.n(ai),ui=__webpack_require__(77414),li=__webpack_require__.n(ui),ci=__webpack_require__(61894),di=__webpack_require__.n(ci),fi=__webpack_require__(90013),pi=__webpack_require__.n(fi),hi=__webpack_require__(87041),mi=__webpack_require__.n(hi),vi=__webpack_require__(84585),gi=__webpack_require__.n(vi),yi=__webpack_require__(62848),bi=__webpack_require__.n(yi),_i=__webpack_require__(33411),wi=__webpack_require__.n(_i),ki=function(e){return de()(ti,e)},Ei=function(e,t,n){return(e[t]||e.MULTIPLE_CHOICE)(n)},xi=function(e){var t=e.startTime;return e.stopTime-t},Si=function(e){return Ei({FILL_IN_THE_BLANK:Ri,MATCHING:zi,MULTIPLE_CHOICE:Oi,MULTIPLE_RESPONSE:Oi},Li(e),e)},Ti=function(e){return Ei({FILL_IN_THE_BLANK:Ri,MATCHING:zi,MULTIPLE_CHOICE:Di,MULTIPLE_RESPONSE:ji},Li(e),e)},Ci=function(e){var t=e.item,n=e.itemProgress,r={FILL_IN_THE_BLANK:ki(Un()("text")),MATCHING:Hi(t),MULTIPLE_CHOICE:qi(t),MULTIPLE_RESPONSE:Bi(t)};return Ei(r,Li(t),n)},Ai=function(e){return[e]},Oi=de()(di()(function(e){return oi()(Ar({},e,ti))}("title")),Un()("answers")),Ni=ki(Un()("id")),Pi=ki(Un()("title")),Li=Un()("type"),Mi=function(e){return function(t){return si()(bi()("id",t),Oi(e))}},Ii=function(e){return Bn()(mi())(Oi(e))},Ri=de()(gi()("title"),Oi),Di=function(e){return de()(Mi(e),Un()("correct"))(e)},qi=function(e){return de()(Ai,Ii(e),Un()("selectedIndex"))},ji=function(e){return de()(li(),di()(Mi(e)),Un()("corrects"))(e)},Bi=function(e){return de()(li(),di()(Ii(e)),Un()("selectedIndices"))},Fi=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}}},Ui=ki(Un()("matchTitle")),zi=de()(di()((function(e){var t=Ni(e);return Fi({sourceId:t,sourceTitle:Pi(e),targetId:t,targetTitle:Ui(e)})})),Oi),Hi=function(e){return de()(wi(),pi()(function(e){return function(t,n){var r=Ii(e)(n),i=Ii(e)(t);return Fi({sourceId:Ni(r),sourceTitle:Pi(r),targetId:Ni(i),targetTitle:Ui(i)})}}(e)),Un()("matches"))},Vi=__webpack_require__(95683);function Wi(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=ar(e);for(r=0;r<o.length;r++)n=o[r],Vi(t).call(t,n)>=0||(i[n]=e[n]);return i}(e,t);if(ur){var o=ur(e);for(r=0;r<o.length;r++)n=o[r],Vi(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Yi=__webpack_require__(6538),Gi=__webpack_require__.n(Yi),Ki=__webpack_require__(59104),Zi=__webpack_require__.n(Ki),Xi=__webpack_require__(42825),$i=__webpack_require__.n(Xi),Qi=__webpack_require__(16896),Ji=__webpack_require__.n(Qi),eo=__webpack_require__(30269),to=__webpack_require__.n(eo),no=__webpack_require__(60740),ro=__webpack_require__.n(no),io=__webpack_require__(9386),oo=__webpack_require__.n(io),ao=__webpack_require__(52892),so=__webpack_require__.n(ao),uo=__webpack_require__(12601),lo=__webpack_require__.n(uo),co=__webpack_require__(8240),fo=__webpack_require__.n(co);function po(e,t){return void 0===t?e:t}to()(oo()((function(e,t){var n,r,i=t.split("=");return Ji()(Zi()(n=i[0]).call(n),Zi()(r=i[1]).call(r),e)}),{}),lo()(/; */));function ho(e,t){var n,r,i=t.indexOf(":"),o=Zi()(n=t.substr(0,i)).call(n).toLowerCase(),a=Zi()(r=t.substr(i+1)).call(r);return o&&(e[o]=e[o]?e[o]+", "+a:a),e}function mo(e){return e?e.split("\n").reduce(ho,{}):{}}function vo(e){var t=e.data,n=po(ro(),e.deserialize),r=po({},e.headers),i=po(!1,e.json),o=po(!1,e.jwt),a=po(null,e.token),s=po("GET",e.method),u=e.onUploadProgress,l=po(ro(),e.serialize),c=e.url,d=po(!1,e.withCredentials),f=e.file,p=new XMLHttpRequest;if(p.withCredentials=d,i&&(n=JSON.parse,l=$i(),r["Content-Type"]="application/json"),o){var h=a||er();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(qr())((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:mo(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}to()(fo(),so()(""));var go=__webpack_require__(20780),yo=__webpack_require__.n(go),bo="n",_o="c",wo="p",ko="vp",Eo="i",xo=__webpack_require__(45582),So=__webpack_require__.n(xo),To=__webpack_require__(66497),Co=__webpack_require__.n(To),Ao=__webpack_require__(92373),Oo=__webpack_require__.n(Ao),No=__webpack_require__(54405),Po=__webpack_require__.n(No),Lo=__webpack_require__(38907),Mo=__webpack_require__.n(Lo),Io=__webpack_require__(2220),Ro=__webpack_require__.n(Io),Do=__webpack_require__(92650),qo=__webpack_require__.n(Do),jo=__webpack_require__(47166),Bo=__webpack_require__.n(jo),Fo=__webpack_require__(14087),Uo=__webpack_require__.n(Fo),zo=__webpack_require__(9730),Ho=__webpack_require__.n(zo),Vo=__webpack_require__(13657),Wo=__webpack_require__.n(Vo),Yo=__webpack_require__(59837),Go=__webpack_require__.n(Yo),Ko=__webpack_require__(90368),Zo=__webpack_require__.n(Ko),Xo=__webpack_require__(24234),$o=__webpack_require__.n(Xo),Qo=__webpack_require__(13207),Jo=__webpack_require__.n(Qo),ea=__webpack_require__(25677),ta=__webpack_require__.n(ea),na=__webpack_require__(1102),ra=__webpack_require__.n(na),ia=__webpack_require__(144),oa=__webpack_require__.n(ia),aa=__webpack_require__(92738),sa=__webpack_require__.n(aa),ua=__webpack_require__(96942),la=__webpack_require__.n(ua),ca=__webpack_require__(5206),da=__webpack_require__.n(ca),fa=__webpack_require__(4603),pa=__webpack_require__.n(fa),ha=__webpack_require__(20793),ma=__webpack_require__.n(ha),va=__webpack_require__(5994),ga=__webpack_require__.n(va),ya=__webpack_require__(47088),ba=__webpack_require__.n(ya),_a=__webpack_require__(6037),wa=__webpack_require__.n(_a),ka=__webpack_require__(61937),Ea=__webpack_require__.n(ka),xa=__webpack_require__(47176),Sa=__webpack_require__.n(xa),Ta=__webpack_require__(50047),Ca=__webpack_require__.n(Ta),Aa=__webpack_require__(19716),Oa=__webpack_require__.n(Aa),Na=Ro()(2,(function(e,t){return{type:e,payload:t}})),Pa=(Ro()(2,(function(e,t){return[t,e]})),Ro()(2,(function(e,t){return{type:e,payload:t,error:!0}})),Ro()(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}}))),La=(Hr()(function(e){var t;return Ca()(t=Oa()(e)).call(t,Hr()({type:"SIDE_EFFECT"}))}((function(){return location.href="/"}))),__webpack_require__(51481)),Ma=__webpack_require__.n(La),Ia=__webpack_require__(42157),Ra=__webpack_require__.n(Ia),Da=__webpack_require__(61584),qa=__webpack_require__.n(Da),ja=__webpack_require__(18384),Ba=__webpack_require__.n(ja),Fa=__webpack_require__(34923),Ua=__webpack_require__.n(Fa),za=__webpack_require__(82515),Ha=__webpack_require__.n(za),Va=__webpack_require__(22626),Wa=__webpack_require__.n(Va),Ya=__webpack_require__(78095),Ga=__webpack_require__.n(Ya),Ka=__webpack_require__(75748),Za=__webpack_require__.n(Ka),Xa=__webpack_require__(36573),$a=__webpack_require__.n(Xa),Qa=__webpack_require__(3087),Ja=__webpack_require__.n(Qa),es=__webpack_require__(53523),ts=__webpack_require__.n(es),ns=__webpack_require__(425),rs=__webpack_require__.n(ns),is=__webpack_require__(73411),os=__webpack_require__.n(is),as=__webpack_require__(27938),ss=__webpack_require__.n(as),us=__webpack_require__(97560),ls=__webpack_require__.n(us),cs=__webpack_require__(56396),ds=__webpack_require__.n(cs),fs=__webpack_require__(99072),ps=__webpack_require__.n(fs),hs=__webpack_require__(98313),ms=__webpack_require__.n(hs);function vs(e,t){var n=void 0!==ct()&&br()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return gs(e,t);var r=wr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Er()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gs(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 gs(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 ys=function(e){return-1===e},bs=Ja()((function(e,t,n){return Ha()(e,n,t)})),_s=Ro()(3,(function(e,t,n){return n[e]==t})),ws=(Ro()(3,(function(e,t,n){return pa()(ts()(_s("id",t)),Gr()(ys,Hr()(n),bs(e,n)))(n)})),Ro()(3,(function(e,t,n){return ss()(t,n[e],ps()(e,1,n))})),Ja()((function(e,t,n){var r;return gt()([],n,(Ar(r={},e,n[t]),Ar(r,t,n[e]),r))}))),ks=Wa()((function(e){var t=Cr(e,2),n=t[0],r=t[1];return Ma()(Number(n),Number(r))})),Es=de()(ks,ms()),xs=de()(ds()(0),$o());var Ss,Ts=Ro()(2,(function(e,t){return de()(rs(),di()(Ha()(e,1)),ms())(t)})),Cs=Ro()(2,(function(e,t){return de()(rs(),si()(Za()(e)),ms())(t)})),As=Ro()(2,(function(e,t){return de()(Zo(),Cs((function(e,n){return t(n)})))(e)})),Os=Ro()(2,(function(e,t){return si()(de()(Bn()(qn())(t),e))})),Ns=Ga()(ls()(Ua(),0)),Ps=de()(Er(),Array),Ls=Ja()((function(e,t){var n;return Ca()(n=Ps(t)).call(n,(function(){return e}))})),Ms=Ja()((function(e,t,n,r){var i;return Ca()(i=Ps(n)).call(i,(function(n,i){return i===r?t:e}))})),Is=__webpack_require__(40486),Rs=__webpack_require__.n(Is),Ds=__webpack_require__(40437),qs=__webpack_require__.n(Ds),js=$a()(Wo()),Bs=So()(ma()),Fs=function(e){var t=e.key,n=e.percent;return function(e){return Co()(n,pa()(Un()("items"),wi(),si()(bi()(t,!0)),$o(),Bn()(Bo())(de()($o(),Zo(),Un()("items"))(e)),ra()(100),Math.round)(e),e)}},Us=(Bs((function e(t,n,r){var i=n.id,o=n.items;return pa()(Co()(i,{index:r}),Sa()((function(){return js(o)}),(function(t){return ga()(Jo()([i,"items"]),Bs(e,{},o))(t)})))(t)}),{}),Fs({key:"isComplete",percent:"percentComplete"})),zs=Fs({key:"isViewed",percent:"percentViewed"}),Hs=function(e){return Co()("correctlyAnswered",pa()(Un()("items"),wi(),si()(bi()("isCorrect",!0)),$o())(e),e)},Vs=pa()(sa()(ta()("items"),Ts(qa()(["isViewed","isCorrect"]))),qa()(["percentViewed","correctlyAnswered"]),sa()(ta()("retryAttempts"),de()(Rs(),so()(0)))),Ws=function(e){var t=e.itemId,n=e.isCorrect;return pa()(sa()(Jo()(["items",t]),pa()(Bn()(yo())({isComplete:n,isViewed:n}),yo()({isCorrect:n}))),Sa()(qs()(["items",t,"isCorrect"],!1),Co()("lastIncorrectCardId",t)),Hs,Ea()(bi()("percentComplete",100),Us),zs,Sa()(bi()("percentComplete",100),Co()("isComplete",!0)))},Ys=["lessonId"],Gs=["lessonId"],Ks=de()(Bn()(yo())({isComplete:!0,percentComplete:100}),sa()(ta()("items"),Ts(de()(sa()(ta()("items"),Ts(Co()("isComplete",!0))),Co()("isComplete",!0))))),Zs=function(e){var t=e.id,n=e.items;return pa()(sa()(Jo()(["items",t,"items"]),nu(n)),sa()(Jo()(["items",t]),tu),dl,Sa()(bi()("percentComplete",100),Co()("isComplete",!0)))},Xs=function(e,t){var n=t.id;return yo()(e,Ar({},n,Co()("isComplete",!0)))},$s=qa()(["correctlyAnswered","percentComplete","percentViewed","isComplete"]),Qs=sa()(ta()("items"),Ts(qa()(["isComplete","isCorrect","isViewed"]))),Js=Ts(de()(Qs,$s)),eu=pa()(qa()(["isComplete","percentComplete"]),sa()(ta()("items"),Js)),tu=Sa()((function(e){return Ba()(de()(Ra(),Un()("items"))(e),function(e){return pa()(Un()("items"),wi(),si()(bi()("isComplete",!0)),$o(),Bn()(Bo())(de()($o(),Zo(),Un()("items"))(e)),Ma()(1))(e)}(e))}),Co()("isComplete",!0)),nu=function(e){return function(t){return oi()(e.reduce(Xs,{}),t)}},ru=function(e){var t=e.id,n=e.lessonId,r=e.items;return function(e){return e(nl({id:n,updateFn:Zs({id:t,items:r})}))}},iu=Bn()(yo())({isComplete:!0,percentComplete:100}),ou=qa()(["isComplete","percentComplete"]),au=de()(Bn()(yo())({isComplete:!0,percentComplete:100}),sa()(ta()("items"),Ts(Co()("isComplete",!0)))),su=de()(qa()(["isComplete","percentComplete"]),sa()(ta()("items"),Ts(qa()(["isComplete"])))),uu=function(e){return de()(Sa()(bi()("percentComplete",100),Co()("isComplete",!0)),dl,sa()(Jo()(["items",e]),Co()("isComplete",!0)))},lu=__webpack_require__(22184),cu=__webpack_require__.n(lu),du=qa()(["activeIndex","direction"]),fu=function(e){return Bn()(yo())({activeIndex:e,direction:"backwards"})},pu=function(e){var t=e.activeIndex,n=e.itemId;return de()(Sa()(bi()("percentComplete",100),Co()("isComplete",!0)),dl,Sa()((function(){return cu()(Wo()(n))}),sa()(Jo()(["items",n]),Co()("isComplete",!0))),Co()("activeIndex",t),qa()(["direction"]))},hu=de()(Bn()(yo())({isComplete:!0,percentComplete:100}),du,sa()(ta()("items"),Ts(Co()("isComplete",!0)))),mu=de()(qa()(["activeIndex","direction","isComplete","percentComplete"]),sa()(ta()("items"),Ts(qa()(["isComplete"])))),vu=Bn()(yo())({isComplete:!0,percentComplete:100,percentViewed:100}),gu=function(e){return function(t){return t(nl({id:e,updateFn:Vs}))}},yu=pa()(sa()(ta()("items"),Ts(qa()(["isComplete","isCorrect","isViewed"]))),qa()(["correctlyAnswered","percentComplete","isComplete","percentViewed"])),bu=function(e){var t=e.id,n=e.itemId,r=e.isCorrect;return function(e){return e(nl({id:t,updateFn:Ws({itemId:n,isCorrect:r})}))}},_u=function(e){var t=e.itemId,n=e.activeIndex;return pa()(Co()("activeIndex",n),sa()(Jo()(["items",t]),Co()("isComplete",!0)),Us,Sa()(bi()("percentComplete",100),Co()("isComplete",!0)))},wu=(qo()("activeIndex"),function(e){var t=e.id,n=e.payload;return function(e){return e(nl({id:t,updateFn:_u(n)}))}}),ku=pa()(sa()(ta()("items"),Ts(Co()("isComplete",!0))),Bn()(yo())({isComplete:!0,percentComplete:100})),Eu=pa()(sa()(ta()("items"),Ts(qa()(["isComplete"]))),qa()(["isComplete","percentComplete","activeIndex"])),xu=__webpack_require__(21186),Su=__webpack_require__.n(xu),Tu=__webpack_require__(53176),Cu=__webpack_require__.n(Tu),Au=Bn()(yo())({currentTime:0,isComplete:!0,percentComplete:100}),Ou=qa()(["currentTime","isComplete","percentComplete"]),Nu=Sa()(bi()("percentComplete",100),Co()("isComplete",!0)),Pu=function(e){var t=e.currentTime,n=e.percentComplete;return de()(Co()("currentTime",t),Nu,function(e){return function(t){return de()(yo()(t),oa()("percentComplete"),Math.round,Sa()(ls()(90),Hr()(100)),Su()(e),Cu()(0,"percentComplete"))(t)}}(n))},Lu=["type"];function Mu(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Iu=So()(ma()),Ru=Po()("rise/course/"),Du=Ru("BOOKMARK_LESSON"),qu=Ru("COMPLETE_LESSON_PROGRESS"),ju=Ru("RESET_LESSON_PROGRESS"),Bu=Ru("UPDATE_LESSON_PROGRESS"),Fu=Ru("UPDATE_PLAYHEAD_PERCENTAGE"),Uu=function(e){return function(t,n){var r=n.id;switch(n.type){case"blocks":return e(t,{id:r,updateFn:Ks});case"embed":return e(t,{id:r,updateFn:iu});case"map":return e(t,{id:r,updateFn:au});case"process":return e(t,{id:r,updateFn:hu});case"sorting":return e(t,{id:r,updateFn:vu});case"timeline":return e(t,{id:r,updateFn:ku});case"video":return e(t,{id:r,updateFn:Au});default:return t}}},zu=function(e){return de()(QE,Br()(["lessons",e]))},Hu=sa()(ta()("passingScore"),Ea()(Go(),Hr()(0))),Vu=de()(Hu,da()(["id","passed","score","passingScore"])),Wu=function(e){return de()($E,Vu)(e)},Yu=function(e){var t=e.id,n=e.updateFn;return sa()(Jo()(["lessons",t]),de()(Co()("id",t),n))},Gu=function(e,t){var n=e.id,r=e.type;return Uo()(ll(n,t),function(e){return function(t){var n=t.lessons,r=t.currentLesson;return Boolean(r)&&"quiz"===e&&100===n[r].percentComplete}}(r))},Ku=function(e,t){var n=t.id,r=t.type,i=t.updateFn;return pa()(Zu({id:n,type:r,updateFn:i}),wa()(de()(ex,Un()("percentComplete"))))(e)},Zu=function(e){var t=e.id,n=e.type,r=e.updateFn;return function(e){return pa()(Yu({id:t,updateFn:r}),Sa()(Gu({id:t,type:n},e),ml),wa()(zu(t)),wa()(function(e){return de()(Sa()(bi()("percentComplete",100),Wu),Br()(["lessons",e]))}(t)))(e)}},Xu=Uu(Ho()(Yu)),$u=Uu(Ku),Qu=Pa({lessons:{},percentComplete:0},(Ar(Ss={},Du,(function(e,t){return de()(wa()(la()(XE,[t])),Co()("currentLesson",t))(e)})),Ar(Ss,qu,$u),Ar(Ss,"rise/course/LOAD_COURSE",(function(e,t){return yo()(e,function(e){if(ZE("getProgress"))return GE.getProgress(e);return e}(il(t)))})),Ar(Ss,ju,(function(e,t){var n=t.id;switch(t.type){case"blocks":return Ku(e,{id:n,updateFn:eu});case"embed":return Ku(e,{id:n,updateFn:ou});case"map":return Ku(e,{id:n,updateFn:su});case"process":return Ku(e,{id:n,updateFn:mu});case"sorting":return Ku(e,{id:n,updateFn:yu});case"timeline":return Ku(e,{id:n,updateFn:Eu});case"video":return Ku(e,{id:n,updateFn:Ou});default:return e}})),Ar(Ss,Bu,Ku),Ar(Ss,Fu,(function(e,t){var n=t.id,r=t.updateFn;return pa()(Yu({id:n,updateFn:r}),wa()(zu(n)))(e)})),Ss)),Ju=Na(qu),el=Na(ju),tl=Na(Du),nl=Na(Bu),rl=Na(Fu),il=pa()(da()(["course"]),(function(e){return pa()(Br()(["course","lessons"]),Iu(sl,{}),oa()("lessons"),yo()(e))(e)}),qo()("course")),ol=function(e){var t=e.id,n=e.type,r=e.settings.passingScore;return Sa()(function(e){var t=e.type,n=e.passingScore;return function(){return"quiz"===t&&!Wo()(n)}}({type:n,passingScore:r}),sa()(Jo()([t]),Oo()({passingScore:r})))},al=function(e){var t=e.id,n=e.index,r=e.items,i=e.settings,o=void 0===i?{}:i,a=e.type;return pa()(Co()(t,{index:n,id:t}),ol({id:t,type:a,settings:o}),Ea()(function(e){return function(){return Wo()(e)}}(r),function(e){var t=e.id,n=e.items;return function(e){return ga()(Jo()([t,"items"]),Iu(sl,{},n),e)}}({id:t,items:r})))},sl=function(e,t,n){var r=t.type,i=Wi(t,Lu);return Ea()(function(e){return function(){return"section"===e}}(r),al(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mu(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Mu(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({index:n,type:r},i)))(e)},ul=Ro()(3,(function(e,t,n){return e(t)!==e(n)})),ll=function(e,t){return ul(Br()(["lessons",e,"isComplete"]),t)},cl=function(e){var t=e.key,n=e.percent;return function(e){return Co()(n,pa()(Un()("items"),wi(),si()(bi()(t,!0)),$o(),Ho()(Bo())(de()($o(),Zo(),Un()("items"))(e)),ra()(100),Math.round)(e),e)}},dl=cl({key:"isComplete",percent:"percentComplete"}),fl=(cl({key:"isViewed",percent:"percentViewed"}),Mo()(Un(),[Un()("currentLesson"),Un()("lessons")])),pl=de()(Vu,fl),hl=function(e){return ba()(JE,pl,e)},ml=function(e){return pa()(ga()(ta()("percentComplete"),vl(e)),wa()(hl))(e)},vl=function(e){var t=e.lessons;return Math.round($o()(sr()(si()(Un()("isComplete"),t)))/$o()(sr()(t))*100)},gl=__webpack_require__(63073),yl=__webpack_require__.n(gl),bl=__webpack_require__(23018),_l=__webpack_require__.n(bl),wl=__webpack_require__(32207),kl=__webpack_require__.n(wl),El=__webpack_require__(54782),xl=__webpack_require__.n(El);function Sl(e){if(void 0!==lt&&null!=yr(e)||null!=e["@@iterator"])return kr(e)}function Tl(e){return function(e){if(vr(e))return xr(e)}(e)||Sl(e)||Sr(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 Cl=__webpack_require__(17794),Al=__webpack_require__.n(Cl),Ol=__webpack_require__(50898),Nl=__webpack_require__.n(Ol),Pl=__webpack_require__(27601),Ll=__webpack_require__.n(Pl),Ml=(__webpack_require__(96828),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return de().apply(void 0,Tl(Nl()(1,t)))(Ll()(t))}),Il=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 pa().apply(void 0,n)(e)},Rl=Function.prototype,Dl=function(e){var t=e.activeIndex,n=e.id;return function(e){return e(nl({id:n,updateFn:ql({activeIndex:t})}))}},ql=function(e){var t=e.activeIndex;return Co()("activeIndex",t)},jl=function(e){return de()(sa()(ta()("retryAttempts"),de()(Rs(),so()(0))),Sa()(bi()("passed",!1),qa()(["passed"])),Sa()(bi()("isComplete",!1),qa()(["isComplete"])),qa()(["activeIndex","originalItemProgress","percentComplete","score","reportResults","questionsDrawn","questionList"]),sa()(ta()("items"),Ts(da()(["id","index"]))),sa()(ta()("passingScore"),Hr()(e)))},Bl=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.itemId,i=e.isCorrect,o=e.passingScore,a=e.passToContinue;return de()(Sa()(bi()("percentComplete",100),Fl({finalRetryAttempt:t,id:n,passingScore:o,passToContinue:a})),dl,Ul,sa()(Jo()(["items",r]),Bn()(yo())({isComplete:!0,isCorrect:i})))},Fl=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.passingScore,i=e.passToContinue;return function(e){var o=Un()("score",e),a=o>=r,s=!i||a;return function(e,t,n,r){ZE("finishQuiz")&&GE.finishQuiz(e,t,n,r)}(a,o,n,t),yo()({passed:a,isComplete:s,reportResults:!0},e)}},Ul=function(e){return Co()("score",de()(Math.round,ra()(100),Bn()(Bo())(de()($o(),Zo(),Un()("items"))(e)),$o(),si()(bi()("isCorrect",!0)),wi(),Un()("items"))(e),e)},zl=_l()(de()(Ma()(3),$o()),Wa()($a()(Wo()))),Hl=de()(wi(),da()(["passed","retryAttempts","score"])),Vl=de()(zl,Hl),Wl=function(e){var t=e.id,n=e.state;return Il(n,xl()({},["lessons",t,"items"]),Zo(),$o(),yl()(1))},Yl=kl()((function(e){return Gr()(Vl,function(e){return function(t){var n=t.id,r=t.passed,i=t.passingScore,o=t.score,a=t.retryAttempts;return sa()(Jo()(["lessons",n]),Bn()(yo())({isComplete:!0,activeIndex:Wl({id:n,state:e}),reportResults:!0,passed:r,passingScore:i,percentComplete:100,retryAttempts:a,score:o}),e)}}(e),Hr()(e))})),Gl=__webpack_require__(19575),Kl=Sa()((function(e){return void 0!==e}),de()(JSON.parse,Gl.Base64.decode)),Zl=function(e,t){return window.courseData?e(window.courseData):window.course?{course:e(window.course),media:[]}:t};function Xl(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):Dr.resolve(u).then(r,i)}function $l(e){return function(){var t=this,n=arguments;return new Dr((function(r,i){var o=e.apply(t,n);function a(e){Xl(o,r,i,a,s,"next",e)}function s(e){Xl(o,r,i,a,s,"throw",e)}a(void 0)}))}}var Ql=__webpack_require__(63109),Jl=__webpack_require__.n(Ql),ec=__webpack_require__(81753),tc=__webpack_require__.n(ec),nc=__webpack_require__(80129),rc=__webpack_require__.n(nc),ic=__webpack_require__(71171),oc=__webpack_require__.n(ic),ac=__webpack_require__(64057),sc=__webpack_require__.n(ac),uc=__webpack_require__(99993),lc=__webpack_require__.n(uc),cc={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},dc=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(cc,e)||(e=cc.log),dc[e].apply(dc,t)};function fc(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){dc.error(t,e)}}}dc.debug=console.debug.bind(console),dc.log=console.log.bind(console),dc.info=console.info.bind(console),dc.warn=console.warn.bind(console),dc.error=console.error.bind(console);var pc,hc=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))},mc=!1;function vc(e){mc=e}function gc(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=pc?yc(r):r;return n.apply(this,e)}}function yc(e){return function(){return bc(e,this,arguments)}}function bc(e,t,n){try{return e.apply(t,n)}catch(e){if(_c(cc.error,e),pc)try{pc(e)}catch(e){_c(cc.error,e)}}}function _c(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];mc&&dc.apply(void 0,hc([e,"[MONITOR]"],t,!1))}var wc=1e3,kc=6e4;function Ec(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 xc(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 Sc(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,Sc)}function Tc(e){return 0!==e&&100*Math.random()<=e}function Cc(){}function Ac(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];Oc(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&Oc(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 Oc(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function Nc(e,t){return-1!==e.indexOf(t)}function Pc(e){return function(e){return"number"==typeof e}(e)&&e>=0&&e<=100}function Lc(e){return Object.keys(e).map((function(t){return e[t]}))}function Mc(){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 Ic(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 Rc(e,t,n,r){return Dc(e,[t],n,r)}function Dc(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=yc(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 qc(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]=qc(i[o],t[o],n);return i}var a,s="object"==(null===(a=e)?"null":Array.isArray(a)?"array":typeof a)?e:{};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(s[u]=qc(s[u],t[u],n));return s}}function jc(e){return qc(void 0,e)}function Bc(){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=qc(e,o))}return e}function Fc(){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 Uc,zc=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 Hc(){return Date.now()}function Vc(){return performance.now()}function Wc(){return{relative:Vc(),timeStamp:Hc()}}function Yc(e,t){return t-e}function Gc(){return void 0===Uc&&(Uc=performance.timing.navigationStart),Uc}function Kc(){var e=Mc().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function Zc(e){var t;void 0===e&&(e=null===(t=Mc().location)||void 0===t?void 0:t.hostname);var n=Kc();return!!n&&n.getAllowedWebViewHosts().some((function(t){var n=t.replace(/\./g,"\\.");return new RegExp("^(.+\\.)*".concat(n,"$")).test(e)}))}var Xc,$c,Qc;function Jc(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 ed(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 td(e,t){Jc(e,"",0,t)}function nd(e){return!!$c&&$c.has(e)}function rd(e){return id(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 id(e,t){if(function(){if(void 0!==Qc)return Qc;try{var e=new URL("http://test/path");return Qc="http://test/path"===e.href}catch(e){Qc=!1}return Qc}())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 od="datadoghq.com",ad={logs:"logs",rum:"rum",sessionReplay:"session-replay"},sd={logs:"logs",rum:"rum",sessionReplay:"replay"};function ud(e,t,n){var r=e.site,i=void 0===r?od:r,o=e.clientToken,a=i.split("."),s=a.pop(),u="".concat(ad[t],".browser-intake-").concat(a.join("-"),".").concat(s),l="https://".concat(u,"/api/v2/").concat(sd[t]),c=e.proxyUrl&&rd(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(Sc());"rum"===t&&(e+="&batch_time=".concat(Hc()));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 ld=/[^a-z0-9_:./-]/;function cd(e,t){var n=200-e.length-1;(t.length>n||ld.test(t))&&dc.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}function dd(e){var t=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(cd("env",t)),n&&o.push(cd("service",n)),r&&o.push(cd("version",r)),i&&o.push(cd("datacenter",i)),o}(e),n=function(e,t){return{logsEndpointBuilder:ud(e,"logs",t),rumEndpointBuilder:ud(e,"rum",t),sessionReplayEndpointBuilder:ud(e,"sessionReplay",t)}}(e,t),r=Lc(n).map((function(e){return e.buildIntakeUrl()})),i=function(e,t,n){if(!e.replica)return;var r=xc({},e,{site:od,clientToken:e.replica.clientToken}),i={logsEndpointBuilder:ud(r,"logs",n),rumEndpointBuilder:ud(r,"rum",n)};return t.push.apply(t,Lc(i).map((function(e){return e.buildIntakeUrl()}))),xc({applicationId:e.replica.applicationId},i)}(e,r,t);return xc({isIntakeUrl:function(e){return r.some((function(t){return 0===e.indexOf(t)}))},replica:i,site:e.site||od},n)}function fd(e){var t,n;if(e&&e.clientToken)if(void 0===e.sampleRate||Pc(e.sampleRate)){var r;if(void 0===e.telemetrySampleRate||Pc(e.telemetrySampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&($c||($c=new Set(r)),r.filter((function(e){return"string"==typeof e})).forEach((function(e){$c.add(e)}))),xc({beforeSend:e.beforeSend&&fc(e.beforeSend,"beforeSend threw an error:"),cookieOptions:pd(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:nd("lower-batch-size")?10240:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},dd(e));dc.error("Telemetry Sample Rate should be a number between 0 and 100")}else dc.error("Sample Rate should be a number between 0 and 100");else dc.error("Client Token is not configured, we will not send any data.")}function pd(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===Xc){for(var e="dd_site_test_".concat(Sc()),t=window.location.hostname.split("."),n=t.pop();t.length&&!ed(e);)n="".concat(t.pop(),".").concat(n),Jc(e,"test",wc,{domain:n});td(e,{domain:n}),Xc=n}return Xc}()),t}var hd="?";function md(e){var t=[],n=wd(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=vd.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=gd.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]||hd,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=yd.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||hd,line:+t[3],url:t[2]}}(e)||function(e){var t=bd.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=_d.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]||hd,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=hd),t.push(n))})),{message:wd(e,"message"),name:wd(e,"name"),stack:t}}var vd=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gd=/\((\S*)(?::(\d+))(?::(\d+))\)/;var yd=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var bd=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,_d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function wd(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var kd="agent",Ed="console",xd="logger",Sd="network",Td="source",Cd="report";function Ad(e){var t=Od(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 Od(e){return"".concat(e.name||"Error",": ").concat(e.message)}function Nd(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return bc((function(){var n=md(t);n.stack=n.stack.slice(2),e=Ad(n)})),e}var Pd=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 Ld(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new Pd((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 Md={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function Id(e){var t,n=[];Nc(e,Md.cspViolation)&&n.push(t=new Pd((function(){var e=yc((function(e){t.notify(function(e){var t=Md.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:Md.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:Rd(e.effectiveDirective,"".concat(n,' of the policy "').concat(Ic(e.originalPolicy,100,"..."),'"'),e.sourceFile,e.lineNumber,e.columnNumber)}}(e))}));return Rc(document,"securitypolicyviolation",e).stop})));var r=e.filter((function(e){return e!==Md.cspViolation}));return r.length&&n.push(function(e){var t=new Pd((function(){if(window.ReportingObserver){var n=yc((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:Rd(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)),Ld.apply(void 0,n)}function Rd(e,t,n,r,i){return n&&Ad({name:e,message:t,stack:[{func:"?",url:n,line:r,column:i}]})}function Dd(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every((function(e){return Nc(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 dc.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}var qd=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},jd={debug:"debug",error:"error",info:"info",warn:"warn"},Bd="console",Fd="http",Ud=Object.keys(jd),zd=function(){function e(e,t,n,r,i){void 0===n&&(n=Fd),void 0===r&&(r=jd.debug),void 0===i&&(i={}),this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=Fc(),this.contextManager.set(xc({},i,t?{logger:{name:t}}:void 0))}return e.prototype.log=function(e,t,n){void 0===n&&(n=jd.info),this.handleLogStrategy({message:e,context:jc(t),status:n},this)},e.prototype.debug=function(e,t){this.log(e,t,jd.debug)},e.prototype.info=function(e,t){this.log(e,t,jd.info)},e.prototype.warn=function(e,t){this.log(e,t,jd.warn)},e.prototype.error=function(e,t){var n={error:{origin:xd}};this.log(e,Bc(n,t),jd.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},qd([gc],e.prototype,"log",null),e}();var Hd,Vd=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],Wd=["ddog-gov.com"],Yd={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1};function Gd(e){var t,n=new Pd;return Yd.telemetryEnabled=Tc(e.telemetrySampleRate),Hd=function(r){!Nc(Wd,e.site)&&Yd.telemetryEnabled&&n.notify(function(e){return Bc({type:"telemetry",date:Hc(),service:"browser-sdk",version:"4.11.4",source:"browser",_dd:{format_version:2},telemetry:e},void 0!==t?t():{})}(r))},pc=Kd,xc(Yd,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){t=e},observable:n}}function Kd(e){Zd(xc({status:"error"},function(e){if(e instanceof Error){var t=md(e);return{error:{kind:t.name,stack:Ad(Xd(t))},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught ".concat(Ac(e))}}(e)))}function Zd(e){Hd&&Yd.sentEventCount<Yd.maxEventsPerPage&&(Yd.sentEventCount+=1,Hd(e))}function Xd(e){return e.stack=e.stack.filter((function(e){return!e.url||Vd.some((function(t){return function(e,t){return e.slice(0,t.length)===t}(e.url,t)}))})),e}var $d=/[^\u0000-\u007F]/,Qd=function(){function e(e,t,n,r,i,o){void 0===o&&(o=Cc),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(Lc(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 $d.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?dc.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=Ac(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(yc((function(){e.flush("batch_flush_timeout"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(Rc(window,"beforeunload",this.beforeUnloadCallback),Rc(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibility_hidden")})),Rc(window,"beforeunload",(function(){return e.flush("before_unload")})))},e}(),Jd="datadog-browser-sdk-failed-send-beacon";function ef(e,t,n){if(nd("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(Jd,"-").concat(Sc()),JSON.stringify(r)):function(e,t){_c(cc.debug,e,t),Zd(xc({message:e,status:"debug"},t))}("failed sendBeacon",r)}}var tf=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;ef(this.endpointBuilder.endpointType,t,n)}catch(e){!function(e){nf||(nf=!0,Kd(e))}(e)}var i=new XMLHttpRequest;i.open("POST",r,!0),i.send(e)},e}(),nf=!1;function rf(e,t,n){var r,i=o(t);function o(t){return new Qd(new tf(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 of=1/0,af=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:of,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=of);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===of&&t.close(e)},e.prototype.findAll=function(e){return void 0===e&&(e=of),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=Vc()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},e}();var sf,uf=144e5,lf=9e5,cf=/^([a-z]+)=([a-z0-9-]+)$/,df="&",ff="_dd_s",pf=[];function hf(e,t){var n;if(void 0===t&&(t=0),sf||(sf=e),e===sf)if(t>=100)gf();else{var r,i=_f();if(mf()){if(i.lock)return void vf(e,t);if(r=Sc(),i.lock=r,bf(i,e.options),(i=_f()).lock!==r)return void vf(e,t)}var o=e.process(i);if(mf()&&(i=_f()).lock!==r)vf(e,t);else{if(o&&yf(o,e.options),mf()&&(!o||!wf(o))){if((i=_f()).lock!==r)return void vf(e,t);delete i.lock,bf(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),gf()}}else pf.push(e)}function mf(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function vf(e,t){setTimeout(yc((function(){hf(e,t+1)})),10)}function gf(){sf=void 0;var e=pf.shift();e&&hf(e)}function yf(e,t){wf(e)?function(e){Jc(ff,"",0,e)}(t):(e.expire=String(Date.now()+lf),bf(e,t))}function bf(e,t){Jc(ff,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(df)}(e),lf,t)}function _f(){var e=ed(ff),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(df)||cf.test(e))}(e)&&e.split(df).forEach((function(e){var n=cf.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function wf(e){return function(e){return 0===Object.keys(e).length}(e)}function kf(e,t,n){var r=new Pd,i=new Pd,o=setInterval(yc((function(){hf({options:e,process:function(e){return l(e)?void 0:{}},after:s})})),1e3),a=function(){var e=_f();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)<uf)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:Ec(yc((function(){var i;hf({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=Sc(),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(){hf({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var Ef=[];function xf(e,t,n){!function(e){var t=ed(ff),n=ed("_dd"),r=ed("_dd_r"),i=ed("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),yf(o,e)}}(e);var r=kf(e,t,n);Ef.push((function(){return r.stop()}));var i,o=new af(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return Ef.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.add(a(),Vc())})),r.expireObservable.subscribe((function(){o.closeActive(Vc())})),r.expandOrRenewSession(),o.add(a(),[0,Gc()][0]),i=Dc(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,Ef.push(i),function(e){var t=yc((function(){"visible"===document.visibilityState&&e()})),n=Rc(document,"visibilitychange",t).stop;Ef.push(n);var r=setInterval(t,6e4);Ef.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var Sf;function Tf(e){var t=xf(e.cookieOptions,"logs",(function(t){return function(e,t){var n=function(e){return"0"===e||"1"===e}(t)?t:Cf(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 Cf(e){return Tc(e.sampleRate)?"1":"0"}var Af=((Sf={})[jd.debug]=0,Sf[jd.info]=1,Sf[jd.warn]=2,Sf[jd.error]=3,Sf);function Of(e,t,n){var r=n.getHandler(),i=Array.isArray(r)?r:[r];return Af[e]>=Af[n.getLevel()]&&Nc(i,t)}function Nf(e,t,n,r,i){var o=Ud.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:kd},origin:kd,status:jd.error}})}(e,n)},s=0,u=!1,{isLimitReached:function(){if(0===s&&setTimeout((function(){s=0}),kc),(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:kd,startClocks:Wc()})}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-Gc(),y=e.findTrackedSession(g);if(y){var b=h||r(),_=Bc({service:t.service,session_id:y.id,view:b.view},b.context,Pf(g),c,v.getContext(),f);!Of(c.status,Fd,v)||!1===(null===(s=t.beforeSend)||void 0===s?void 0:s.call(t,_))||(null===(u=_.error)||void 0===u?void 0:u.origin)!==kd&&(null!==(l=a[_.status])&&void 0!==l?l:a.custom).isLimitReached()||n.notify(1,_)}}))}function Pf(e){var t=window.DD_RUM;return t&&t.getInternalContext?t.getInternalContext(e):void 0}var Lf,Mf={};function If(e){var t=e.map((function(e){return Mf[e]||(Mf[e]=function(e){var t=new Pd((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=Nd();bc((function(){t.notify(Rf(r,e,o))}))},function(){console[e]=n}}));return t}(e)),Mf[e]}));return Ld.apply(void 0,t)}function Rf(e,t,n){var r,i=e.map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return Od(md(e));return Ac(e,void 0,2)}(e)})).join(" ");if(t===cc.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?Ad(md(o)):void 0,i="console error: ".concat(i)}return{api:t,message:i,stack:r,handlingStack:n}}var Df,qf=((Lf={})[cc.log]=jd.info,Lf[cc.debug]=jd.debug,Lf[cc.info]=jd.info,Lf[cc.warn]=jd.warn,Lf[cc.error]=jd.error,Lf);var jf,Bf=((Df={})[Md.cspViolation]=jd.error,Df[Md.intervention]=jd.error,Df[Md.deprecation]=jd.warn,Df);function Ff(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 Uf(e,t,n){var r=n.before,i=n.after;return Ff(e,t,(function(e){return function(){var t,n=arguments;return r&&bc(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&bc(i,this,n),t}}))}var zf,Hf=new WeakMap;function Vf(){var e;return jf||(e=new Pd((function(){var t=Uf(XMLHttpRequest.prototype,"open",{before:Wf}).stop,n=Uf(XMLHttpRequest.prototype,"send",{before:function(){Yf.call(this,e)}}).stop,r=Uf(XMLHttpRequest.prototype,"abort",{before:Gf}).stop;return function(){t(),n(),r()}})),jf=e),jf}function Wf(e,t){Hf.set(this,{state:"open",method:e,url:rd(t.toString())})}function Yf(e){var t=this,n=Hf.get(this);if(n){var r=n;r.state="start",r.startTime=Vc(),r.startClocks=Wc(),r.isAborted=!1,r.xhr=this;var i=!1,o=Uf(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=yc((function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=Yc(r.startClocks.timeStamp,Hc()),s.status=t.status,e.notify(function(e){return xc({},e)}(s))}}));this.addEventListener("loadend",a),e.notify(r)}}function Gf(){var e=Hf.get(this);e&&(e.isAborted=!0)}function Kf(){var e;return zf||(e=new Pd((function(){if(window.fetch){var t=Ff(window,"fetch",(function(t){return function(n,r){var i,o=bc(Zf,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),bc(Xf,null,[e,i,o])):i=t.call(this,n,r),i}})).stop;return t}})),zf=e),zf}function Zf(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=rd("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:Wc(),url:i};return e.notify(o),o}function Xf(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=Yc(r.startClocks.timeStamp,Hc()),"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(yc(r),yc(r))}function $f(e,t){var n=Vf().subscribe((function(e){"complete"===e.state&&i("xhr",e)})),r=Kf().subscribe((function(e){"complete"===e.state&&i("fetch",e)}));function i(n,r){function i(e){t.notify(0,{rawLogsEvent:{message:"".concat(Jf(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{origin:Sd,stack:e||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:jd.error,origin:Sd}})}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(Qf(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(yc((function(e){e.done?s():(i.push(e.value),(o+=e.value.length)>t?s():a())})),yc((function(e){return n(e)})))}function s(){var e;if(r.cancel().catch(Cc),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(yc((function(e){return n(Qf(e,t))})),yc((function(e){return n("Unable to retrieve response: ".concat(e))})))}(r.response,e,i):r.error&&function(e,t,n){n(Qf(Ad(md(e)),t))}(r.error,e,i))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function Qf(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function Jf(e){return"xhr"===e?"XHR":"Fetch"}var ep=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function tp(e){var t=function(e){return Uf(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=md(o),e(a,o);else{var s,u={url:n,column:i,line:r},l=t;if("[object String]"==={}.toString.call(t)){var c=ep.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 Uf(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=md(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}function np(e){return tp((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:Ad(e),handlingStack:r,type:e.name}:{message:"".concat(n," ").concat(Ac(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:Td,startClocks:Wc(),originalError:n,handling:"unhandled"})}))}var rp=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 ip=function(e){var t,n,r=!1,i=Fc(),o={},a=new zc,s=function(e,t,n,r){void 0===n&&(n=jc(c())),void 0===r&&(r=Hc()),a.add((function(){return s(e,t,n,r)}))},u=function(){},l=new zd((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:yc((function(t){if(Zc()&&(t=function(e){return xc({},e,{clientToken:"empty"})}(t)),function(e){return!r||(e.silentMultipleInit||dc.error("DD_LOGS is already initialized."),!1)}(t)){var n=function(e){var t=fd(e),n=Dd(e.forwardConsoleLogs,Lc(cc),"Forward Console Logs"),r=Dd(e.forwardReports,Lc(Md),"Forward Reports");if(t&&n&&r)return e.forwardErrorsToLogs&&!Nc(n,cc.error)&&n.push(cc.error),xc({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:r,requestErrorResponseLengthLimit:32768},t)}(t);n&&(s=e(n,c,l).handleLog,u=function(){return jc(t)},a.drain(),r=!0)}})),getLoggerGlobalContext:yc(i.get),setLoggerGlobalContext:yc(i.set),addLoggerGlobalContext:yc(i.add),removeLoggerGlobalContext:yc(i.remove),createLogger:yc((function(e,t){return void 0===t&&(t={}),o[e]=new zd((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:yc((function(e){return o[e]})),getInitConfiguration:yc((function(){return u()}))},n=xc({version:"4.11.4",onReady:function(e){e()}},t),Object.defineProperty(n,"_setDebug",{get:function(){return vc},enumerable:!1}),n}((function(e,t,n){var r=new rp,i=function(e){var t,n=Gd(e);if(Zc()){var r=Kc();n.observable.subscribe((function(e){return r.send("internal_telemetry",e)}))}else{var i=rf(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=Pf())||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=Pf())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(o=null===(i=Pf())||void 0===i?void 0:i.user_action)||void 0===o?void 0:o.id}}})),$f(e,r),function(e,t,n){void 0===n&&(n=new Pd),e.forwardErrorsToLogs&&np(n);var r=n.subscribe((function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{kind:e.type,origin:Td,stack:e.stack},origin:Td,status:jd.error}})}))}(e,r),function(e,t){var n=If(e.forwardConsoleLogs).subscribe((function(e){t.notify(0,{rawLogsEvent:{date:Hc(),message:e.message,origin:Ed,error:e.api===cc.error?{origin:Ed,stack:e.stack}:void 0,status:qf[e.api]}})}))}(e,r),function(e,t){var n=Id(e.forwardReports).subscribe((function(e){var n,r=e.message,i=Bf[e.type];i===jd.error?n={kind:e.subtype,origin:Cd,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:Hc(),message:r,origin:Cd,error:n,status:i}})}))}(e,r);var o=function(e){return{handleLog:function(t,n,r,i){var o=t.context;Of(t.status,Bd,n)&&dc(t.status,t.message,Bc(n.getContext(),o)),e.notify(0,{rawLogsEvent:{date:i||Hc(),message:t.message,status:t.status,origin:xd},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(Sc()),n="test";Jc(t,n,wc,e);var r=ed(t)===n;return td(t,e),r}catch(e){return dc.error(e),!1}}(e.cookieOptions)&&!Zc()?Tf(e):function(e){var t="1"===Cf(e)?{}:void 0;return{findTrackedSession:function(){return t}}}(e);return Nf(a,e,r,t,n),Zc()?function(e){var t=Kc();e.subscribe(1,(function(e){t.send("log",e)}))}(r):function(e,t){var n,r=rf(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 fc(e,"onReady callback threw an error:")()}))}(Mc(),"DD_LOGS",ip);var op=__webpack_require__(70655),ap={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},sp="?";function up(e){var t=[],n=hp(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=lp.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),i=cp.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]||sp,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=dp.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||sp,line:+t[3],url:t[2]}}(e)||function(e){var t=fp.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=pp.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]||sp,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=sp),t.push(n))})),{message:hp(e,"message"),name:hp(e,"name"),stack:t}}var lp=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,cp=/\((\S*)(?::(\d+))(?::(\d+))\)/;var dp=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var fp=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,pp=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function hp(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var mp,vp,gp=1e3,yp=6e4;function bp(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 _p(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,_p)}function wp(e){return 0!==e&&100*Math.random()<=e}function kp(e,t){return+e.toFixed(t)}function Ep(){}function xp(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];Sp(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&Sp(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 Sp(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function Tp(e,t){return-1!==e.indexOf(t)}function Cp(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function Ap(e){return Op(e)&&e>=0&&e<=100}function Op(e){return"number"==typeof e}function Np(e){return Object.keys(e).map((function(t){return e[t]}))}function Pp(e,t){return Object.keys(e).some((function(n){return e[n]===t}))}function Lp(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function Mp(e){return 0===Object.keys(e).length}function Ip(){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 Rp(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}function Dp(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}function qp(e,t,n,r){return jp(e,[t],n,r)}function jp(e,t,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=dh(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 Bp(e,t){document.readyState===e||"complete"===document.readyState?t():qp(window,"complete"===e?"load":"DOMContentLoaded",t,{once:!0})}function Fp(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function Up(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]=Up(i[o],t[o],n);return i}var a="object"===Fp(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=Up(a[s],t[s],n));return a}}function zp(e){return Up(void 0,e)}function Hp(){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=Up(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"}(mp||(mp={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(vp||(vp={}));var Vp,Wp="agent",Yp="console",Gp="custom",Kp="source";function Zp(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:Xp(e),handlingStack:r,type:e.name}:{message:n+" "+xp(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function Xp(e){var t=$p(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 $p(e){return(e.name||"Error")+": "+e.message}function Qp(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return fh((function(){var n=up(t);n.stack=n.stack.slice(2),e=Xp(n)})),e}function Jp(){var e=Ip().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function eh(){var e=Jp();return!!e&&Tp(e.getAllowedWebViewHosts(),window.location.hostname)}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(Vp||(Vp={}));var th,nh=/[^\u0000-\u007F]/,rh=function(){function e(e,t,n,r,i,o){void 0===o&&(o=Ep),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,op.__spreadArrays)(this.pushOnlyBuffer,Np(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 nh.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?ap.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=xp(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(dh((function(){e.flush("flushPeriodically"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(qp(window,"beforeunload",this.beforeUnloadCallback),qp(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")})),qp(window,"beforeunload",(function(){return e.flush("beforeunload")})))},e}(),ih=!1,oh=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){ah||(ah=!0,hh(e))}(e)}var o=new XMLHttpRequest;o.addEventListener("loadend",dh((function(e){return function(e){var o=null==e?void 0:e.currentTarget;o.status>=200&&o.status<300||ih||(ih=!0,ph("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}(),ah=!1;!function(e){e.info="info",e.error="error"}(th||(th={}));var sh,uh,lh={maxMessagesPerPage:0,sentMessageCount:0};function ch(e){var t;if(eh()){var n=Jp();sh=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 rh(new oh(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);sh=function(e){return r.add(i(e))}}function i(e){return Hp({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])}))}(lh,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function dh(e){return function(){return fh(e,this,arguments)}}function fh(e,t,n){try{return e.apply(t,n)}catch(e){gh(e);try{hh(e)}catch(e){gh(e)}}}function ph(e,t){!function(e,t){lh.debugMode&&ap.log("[MONITORING MESSAGE]",e,t)}(e,t),mh((0,op.__assign)((0,op.__assign)({message:e},t),{status:th.info}))}function hh(e){mh((0,op.__assign)((0,op.__assign)({},function(e){if(e instanceof Error){var t=up(e);return{error:{kind:t.name,stack:Xp(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+xp(e)}}(e)),{status:th.error}))}function mh(e){sh&&lh.sentMessageCount<lh.maxMessagesPerPage&&(lh.sentMessageCount+=1,sh(e))}function vh(e){lh.debugMode=e}function gh(e){lh.debugMode&&ap.error("[INTERNAL ERROR]",e)}function yh(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){ap.error(t,e)}}}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(uh||(uh={}));var bh,_h=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 wh(e){return{relative:e,timeStamp:kh(e)}}function kh(e){var t=Date.now()-performance.now();return t>Oh()?Math.round(t+e):function(e){return Math.round(Oh()+e)}(e)}function Eh(e){return Op(e)?kp(1e6*e,0):e}function xh(){return Date.now()}function Sh(){return performance.now()}function Th(){return{relative:Sh(),timeStamp:xh()}}function Ch(){return{relative:0,timeStamp:Oh()}}function Ah(e,t){return t-e}function Oh(){return void 0===bh&&(bh=performance.timing.navigationStart),bh}var Nh,Ph,Lh;function Mh(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 Ih(e){return Dp(document.cookie,e)}function Rh(e,t){Mh(e,"",0,t)}function Dh(e){return jh(e,Rp(window.location)).href}function qh(e){return Rp(jh(e))}function jh(e,t){if(function(){if(void 0!==Lh)return Lh;try{var e=new URL("http://test/path");return Lh="http://test/path"===e.href}catch(e){Lh=!1}return Lh}())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 Bh={logs:"logs",rum:"rum",sessionReplay:"session-replay"},Fh={logs:"logs",rum:"rum",sessionReplay:"replay"},Uh="datadoghq.com";function zh(e,t,n,r,i){var o=e.site,a=void 0===o?Uh:o,s=e.clientToken,u=a.split("."),l=u.pop(),c="https://"+(Bh[n]+".browser-intake-"+u.join("-")+"."+l)+"/api/v2/"+Fh[n],d=e.proxyUrl&&Dh(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="+_p();"rum"===n&&(e+="&batch_time="+xh());var o=c+"?"+e;return d?d+"?ddforward="+encodeURIComponent(o):o},buildIntakeUrl:function(){return d?d+"?ddforward":c}}}var Hh=/[^a-z0-9_:./-]/;function Vh(e,t){var n=200-e.length-1;return(t.length>n||Hh.test(t))&&ap.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}function Wh(e,t){var n=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(Vh("env",t)),n&&o.push(Vh("service",n)),r&&o.push(Vh("version",r)),i&&o.push(Vh("datacenter",i)),o}(e),r=function(e,t,n){if(t.buildMode===uh.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:zh(e,t,"logs",n),rumEndpointBuilder:zh(e,t,"rum",n),sessionReplayEndpointBuilder:zh(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return(0,op.__assign)((0,op.__assign)({},i),{internalMonitoringEndpointBuilder:zh((0,op.__assign)((0,op.__assign)({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return i}(e,t,n),i=Np(r).map((function(e){return e.buildIntakeUrl()})),o=function(e,t,n,r){if(!e.replica)return;var i=(0,op.__assign)((0,op.__assign)({},e),{site:Uh,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:zh(i,t,"logs",r),rumEndpointBuilder:zh(i,t,"rum",r),internalMonitoringEndpointBuilder:zh(i,t,"logs",r,"browser-agent-internal-monitoring")};return n.push.apply(n,Np(o).map((function(e){return e.buildIntakeUrl()}))),(0,op.__assign)({applicationId:e.replica.applicationId},o)}(e,t,i,n);return(0,op.__assign)((0,op.__assign)({isIntakeUrl:function(e){return i.some((function(t){return 0===e.indexOf(t)}))}},r),{replica:o})}var Yh,Gh,Kh,Zh={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function Xh(e,t){var n;if(e&&e.clientToken){var r;if(void 0===e.sampleRate||Ap(e.sampleRate))return r=e.enableExperimentalFeatures,Array.isArray(r)&&(Ph||(Ph=new Set(r)),r.filter((function(e){return"string"==typeof e})).forEach((function(e){Ph.add(e)}))),(0,op.__assign)((0,op.__assign)({},Wh(e,t)),{beforeSend:e.beforeSend&&yh(e.beforeSend,"beforeSend threw an error:"),cookieOptions:$h(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});ap.error("Sample Rate should be a number between 0 and 100")}else ap.error("Client Token is not configured, we will not send any data.")}function $h(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===Nh){for(var e="dd_site_test_"+_p(),t=window.location.hostname.split("."),n=t.pop();t.length&&!Ih(e);)n=t.pop()+"."+n,Mh(e,"test",gp,{domain:n});Rh(e,{domain:n}),Nh=n}return Nh}()),t}!function(e){e.ACTION="action",e.ERROR="error",e.LONG_TASK="long_task",e.VIEW="view",e.RESOURCE="resource"}(Yh||(Yh={})),function(e){e.INITIAL_LOAD="initial_load",e.ROUTE_CHANGE="route_change"}(Gh||(Gh={})),function(e){e.CLICK="click",e.CUSTOM="custom"}(Kh||(Kh={}));function Qh(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||Ih("datadog-synthetics-injects-rum"))}var Jh={buildMode:"release",sdkVersion:"4.5.0"};var em,tm=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 nm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new tm((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 rm(){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"}(em||(em={}));var im=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}(),om="initial_document",am=[[mp.DOCUMENT,function(e){return om===e}],[mp.XHR,function(e){return"xmlhttprequest"===e}],[mp.FETCH,function(e){return"fetch"===e}],[mp.BEACON,function(e){return"beacon"===e}],[mp.CSS,function(e,t){return/\.css$/i.test(t)}],[mp.JS,function(e,t){return/\.js$/i.test(t)}],[mp.IMAGE,function(e,t){return Tp(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],[mp.FONT,function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],[mp.MEDIA,function(e,t){return Tp(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function sm(e){var t=e.name;if(!function(e){try{return!!jh(e)}catch(e){return!1}}(t))return ph('Failed to construct URL for "'+e.name+'"'),mp.OTHER;for(var n=function(e){var t=jh(e).pathname;return"/"===t[0]?t:"/"+t}(t),r=0,i=am;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(e.initiatorType,n))return a}return mp.OTHER}function um(){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 lm(e){var t=cm(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:fm(n,f,t.responseEnd),first_byte:fm(n,d,f)};return c!==r&&(p.connect=fm(n,u,c),um(u,l,c)&&(p.ssl=fm(n,l,c))),s!==r&&(p.dns=fm(n,a,s)),dm(e)&&(p.redirect=fm(n,i,o)),p}}function cm(e){if(um(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!dm(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t<e.startTime&&(t=e.startTime),n<e.startTime&&(n=e.fetchStart),um(e.startTime,t,n,e.fetchStart))return(0,op.__assign)((0,op.__assign)({},e),{redirectEnd:n,redirectStart:t})}}function dm(e){return e.fetchStart!==e.startTime}function fm(e,t,n){return{duration:Eh(Ah(t,n)),start:Eh(Ah(e,t))}}function pm(e){if(e.startTime<e.responseStart)return e.decodedBodySize}function hm(e,t){return t&&!e.isIntakeUrl(t)}function mm(e){var t=function(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return vm(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=gm(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=gm(r))return n;if(!ym(r))break}}(e);if(!t)return;return vm(Dp(t,"trace-id"),Dp(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Date.now()-12e4))return t.traceId}function vm(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function gm(e){if(e&&function(e){return"#comment"===e.nodeName}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function ym(e){return"#text"===e.nodeName}function bm(){return void 0!==window.performance&&"getEntries"in performance}function _m(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function wm(e,t){var n;if(n=function(n){Em(e,t,[n])},Bp("interactive",(function(){var e,t={entryType:"resource",initiatorType:om,traceId:mm(document)};if(_m("navigation")&&performance.getEntriesByType("navigation").length>0){var r=performance.getEntriesByType("navigation")[0];e=(0,op.__assign)((0,op.__assign)({},r.toJSON()),t)}else{var i=km();e=(0,op.__assign)((0,op.__assign)((0,op.__assign)({},i),{decodedBodySize:0,duration:i.responseEnd,name:window.location.href,startTime:0}),t)}n(e)})),bm()&&Em(e,t,performance.getEntries()),window.PerformanceObserver){var r=dh((function(n){return Em(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}),bm()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}_m("navigation")||function(e){function t(){e((0,op.__assign)((0,op.__assign)({},km()),{entryType:"navigation"}))}Bp("complete",(function(){setTimeout(dh(t))}))}((function(n){Em(e,t,[n])})),_m("first-input")||function(e){var t=Date.now(),n=!1,r=jp(window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var t={entryType:"first-input",processingStart:Sh(),startTime:e.timeStamp};"pointerdown"===e.type?i(t):o(t)}}),{passive:!0,capture:!0}).stop;function i(e){jp(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){Em(e,t,[n])}))}function km(){var e={},t=performance.timing;for(var n in t)if(Op(t[n])){var r=n,i=t[r];e[r]=0===i?0:i-Oh()}return e}function Em(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&&!hm(e,t.name)}(t,e)}));r.length&&e.notify(em.PERFORMANCE_ENTRIES_COLLECTED,r)}function xm(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout((function(){r=0}),yp),(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:Wp,startClocks:Th()})}finally{i=!1}}return!0}}}function Sm(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!Cm(n,o))return;n=n[o]}return n}function Tm(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!Cm(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function Cm(e,t){return"object"==typeof e&&null!==e&&t in e}var Am=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=Sh()-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 Om=9e5,Nm=144e5;function Pm(e,t,n){var r=new tm,i=new tm,o=setInterval(dh((function(){qm({options:e,process:function(e){return l(e)?void 0:{}},after:s})})),1e3),a=function(){var e=Hm();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)<Nm)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:bp(dh((function(){var i;qm({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=_p(),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(){qm({options:e,process:function(e){return u()?s(e):void 0}})},getSession:function(){return a},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var Lm,Mm=/^([a-z]+)=([a-z0-9-]+)$/,Im="&",Rm="_dd_s",Dm=[];function qm(e,t){var n;if(void 0===t&&(t=0),Lm||(Lm=e),e===Lm)if(t>=100)Fm();else{var r,i=Hm();if(jm()){if(i.lock)return void Bm(e,t);if(r=_p(),i.lock=r,zm(i,e.options),(i=Hm()).lock!==r)return void Bm(e,t)}var o=e.process(i);if(jm()&&(i=Hm()).lock!==r)Bm(e,t);else{if(o&&Um(o,e.options),jm()&&(!o||!Vm(o))){if((i=Hm()).lock!==r)return void Bm(e,t);delete i.lock,zm(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),Fm()}}else Dm.push(e)}function jm(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function Bm(e,t){setTimeout(dh((function(){qm(e,t+1)})),10)}function Fm(){Lm=void 0;var e=Dm.shift();e&&qm(e)}function Um(e,t){Vm(e)?function(e){Mh(Rm,"",0,e)}(t):(e.expire=String(Date.now()+Om),zm(e,t))}function zm(e,t){Mh(Rm,function(e){return Lp(e).map((function(e){return e[0]+"="+e[1]})).join(Im)}(e),Om,t)}function Hm(){var e=Ih(Rm),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(Im)||Mm.test(e))}(e)&&e.split(Im).forEach((function(e){var n=Mm.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function Vm(e){return Mp(e)}var Wm=[];function Ym(e,t,n){!function(e){var t=Ih(Rm),n=Ih("_dd"),r=Ih("_dd_r"),i=Ih("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),Um(o,e)}}(e);var r=Pm(e,t,n);Wm.push((function(){return r.stop()}));var i,o=new Am(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return Wm.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.setCurrent(a(),Sh())})),r.expireObservable.subscribe((function(){o.closeCurrent(Sh())})),r.expandOrRenewSession(),o.setCurrent(a(),Ch().relative),i=jp(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,Wm.push(i),function(e){var t=dh((function(){"visible"===document.visibilityState&&e()})),n=qp(document,"visibilitychange",t).stop;Wm.push(n);var r=setInterval(t,6e4);Wm.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var Gm,Km,Zm;function Xm(e,t){var n=Ym(e.cookieOptions,"rum",(function(t){return function(e,t){var n;n=function(e){return e===Km.NOT_TRACKED||e===Km.TRACKED_REPLAY||e===Km.TRACKED_LITE}(t)?t:wp(e.sampleRate)?wp(e.replaySampleRate)?Km.TRACKED_REPLAY:Km.TRACKED_LITE:Km.NOT_TRACKED;return{trackingType:n,isTracked:$m(n)}}(e,t)}));return n.expireObservable.subscribe((function(){t.notify(em.SESSION_EXPIRED)})),n.renewObservable.subscribe((function(){t.notify(em.SESSION_RENEWED)})),{findTrackedSession:function(e){var t=n.findActiveSession(e);if(t&&$m(t.trackingType))return{id:t.id,hasReplayPlan:t.trackingType===Km.TRACKED_REPLAY,hasLitePlan:t.trackingType===Km.TRACKED_LITE}}}}function $m(e){return e===Km.TRACKED_LITE||e===Km.TRACKED_REPLAY}!function(e){e[e.LITE=1]="LITE",e[e.REPLAY=2]="REPLAY"}(Gm||(Gm={})),function(e){e.NOT_TRACKED="0",e.TRACKED_REPLAY="1",e.TRACKED_LITE="2"}(Km||(Km={})),function(e){e.SYNTHETICS="synthetics",e.USER="user",e.CI_TEST="ci_test"}(Zm||(Zm={}));var Qm=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],Jm=(0,op.__spreadArrays)(Qm,["context"]);function ev(e,t,n,r,i,o){var a,s=function(e){t.notify(em.RAW_ERROR_COLLECTED,{error:e})},u=((a={})[Yh.ERROR]=xm(Yh.ERROR,e.eventRateLimiterThreshold,s),a[Yh.ACTION]=xm(Yh.ACTION,e.eventRateLimiterThreshold,s),a),l=function(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||Ih("datadog-synthetics-public-id"),t=window._DATADOG_SYNTHETICS_RESULT_ID||Ih("datadog-synthetics-result-id");if("string"==typeof e&&"string"==typeof t)return{test_id:e,result_id:t,injected:Qh()}}(),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(em.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!==Yh.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()-(Oh()+performance.now())),session:{plan:y.hasReplayPlan?Gm.REPLAY:Gm.LITE},browser_sdk_version:eh()?Jh.sdkVersion:void 0},application:{id:e.applicationId},date:xh(),service:e.service,source:"browser",session:{id:y.id,type:l?Zm.SYNTHETICS:c?Zm.CI_TEST:Zm.USER},synthetics:l,ci_test:c},k=(s=f,-1!==[Yh.ERROR,Yh.RESOURCE,Yh.LONG_TASK].indexOf(s.type)?Hp(w,g,v,b,f):Hp(w,g,v,f));k.context=Hp(_.context,m),"has_replay"in k.session||(k.session.has_replay=_.hasReplay),Mp(_.user)||(k.usr=_.user),function(e,t,n,r){var i;if(t){var o=function(e,t,n){var r=zp(e),i=n(r);return t.forEach((function(t){var n=Sm(e,t),i=Sm(r,t),o=Fp(n),a=Fp(i);a===o?Tm(e,t,i):"object"!==o||"undefined"!==a&&"null"!==a||Tm(e,t,{})})),i}(e,e.type===Yh.VIEW?Qm:Jm,(function(e){return t(e,n)}));if(!1===o&&e.type!==Yh.VIEW)return!1;!1===o&&ap.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)&&(Mp(k.context)&&delete k.context,t.notify(em.RUM_EVENT_COLLECTED,k))}}))}var tv=[];function nv(){document.hasFocus()&&rv();var e,t,n=(e=rv,qp(window,"focus",(function(t){t.isTrusted&&e()}))).stop,r=(t=iv,qp(window,"blur",(function(e){e.isTrusted&&t()}))).stop;return{isInForegroundAt:ov,selectInForegroundPeriodsFor:av,stop:function(){tv=[],n(),r()}}}function rv(){if(!(tv.length>2500)){var e=tv[tv.length-1],t=Sh();void 0!==e&&void 0===e.end||tv.push({start:t})}}function iv(){if(0!==tv.length){var e=tv[tv.length-1],t=Sh();void 0===e.end&&(e.end=t)}}function ov(e){for(var t=tv.length-1;t>=0;t--){var n=tv[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 av(e,t){for(var n=e+t,r=[],i=Math.max(0,tv.length-500),o=tv.length-1;o>=i;o--){var a=tv[o];if(void 0!==a.end&&e>a.end)break;if(!(n<a.start)){var s=e>a.start?e:a.start,u=Ah(e,s),l=Ah(s,void 0===a.end||n<a.end?n:a.end);r.unshift({start:Eh(u),duration:Eh(l)})}}return r}var sv;function uv(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 lv(e,t,n){var r=n.before,i=n.after;return uv(e,t,(function(e){return function(){var t,n=arguments;return r&&fh(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&fh(i,this,n),t}}))}var cv,dv=new WeakMap;function fv(){var e;return sv||(e=new tm((function(){var t=lv(XMLHttpRequest.prototype,"open",{before:pv}).stop,n=lv(XMLHttpRequest.prototype,"send",{before:function(){hv.call(this,e)}}).stop,r=lv(XMLHttpRequest.prototype,"abort",{before:mv}).stop;return function(){t(),n(),r()}})),sv=e),sv}function pv(e,t){dv.set(this,{state:"open",method:e,url:Dh(t)})}function hv(e){var t=this,n=dv.get(this);if(n){var r=n;r.state="start",r.startTime=Sh(),r.startClocks=Th(),r.isAborted=!1,r.xhr=this;var i=!1,o=lv(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=dh((function(){if(t.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=Ah(r.startClocks.timeStamp,xh()),s.status=t.status,e.notify((0,op.__assign)({},s))}}));this.addEventListener("loadend",a),e.notify(r)}}function mv(){var e=dv.get(this);e&&(e.isAborted=!0)}function vv(){var e;return cv||(e=new tm((function(){if(window.fetch){var t=uv(window,"fetch",(function(t){return function(n,r){var i,o=fh(gv,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),fh(yv,null,[e,i,o])):i=t.call(this,n,r),i}})).stop;return t}})),cv=e),cv}function gv(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=Dh("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:Th(),url:i};return e.notify(o),o}function yv(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=Ah(r.startClocks.timeStamp,xh()),"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(dh(r),dh(r))}function bv(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0)}function _v(e,t,n,r){var i;void 0!==wv()&&function(e,t){for(var n=qh(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 kv,t.spanId=new kv,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 wv(){return window.crypto||window.msCrypto}var kv=function(){function e(){this.buffer=new Uint8Array(8),wv().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}(),Ev=1;function xv(e,t,n){var r=function(e,t){return{clearTracingIfNeeded:bv,traceFetch:function(n){return _v(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,op.__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(Lp(e))}}))},traceXhr:function(n,r){return _v(e,n,t,(function(e){Object.keys(e).forEach((function(t){r.setRequestHeader(t,e[t])}))}))}}}(t,n);!function(e,t,n){var r=fv().subscribe((function(r){var i=r;if(hm(t,i.url))switch(i.state){case"start":n.traceXhr(i,i.xhr),i.requestIndex=Sv(),e.notify(em.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(em.REQUEST_COMPLETED,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,type:vp.XHR,url:i.url,xhr:i.xhr})}}))}(e,t,r),function(e,t,n){var r=vv().subscribe((function(r){var i=r;if(hm(t,i.url))switch(i.state){case"start":n.traceFetch(i),i.requestIndex=Sv(),e.notify(em.REQUEST_STARTED,{requestIndex:i.requestIndex});break;case"complete":n.clearTracingIfNeeded(i),e.notify(em.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:vp.FETCH,url:i.url,response:i.response,init:i.init,input:i.input})}}))}(e,t,r)}function Sv(){var e=Ev;return Ev+=1,e}function Tv(e,t){void 0===t&&(t=Ep);var n={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},r=e.subscribe(em.RUM_EVENT_COLLECTED,(function(e){switch(e.type){case Yh.ERROR:n.errorCount+=1,t(n);break;case Yh.ACTION:n.userActionCount+=1,t(n);break;case Yh.LONG_TASK:n.longTaskCount+=1,t(n);break;case Yh.RESOURCE:n.resourceCount+=1,t(n)}}));return{stop:function(){r.unsubscribe()},eventCounts:n}}function Cv(e,t,n,r){var i=function(e,t){var n=new tm((function(){var n,i=[],o=0;return i.push(t.subscribe((function(){return r(o)})),e.subscribe(em.PERFORMANCE_ENTRIES_COLLECTED,(function(e){e.some((function(e){return"resource"===e.entryType}))&&r(o)})),e.subscribe(em.REQUEST_STARTED,(function(e){void 0===n&&(n=e.requestIndex),r(++o)})),e.subscribe(em.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(dh((function(){return l({hadActivity:!1})})),100),a=n&&setTimeout(dh((function(){return l({hadActivity:!0,end:xh()})})),n),s=e.subscribe((function(e){var t=e.isBusy;clearTimeout(o),clearTimeout(r);var n=xh();t||(r=setTimeout(dh((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 Av="data-dd-action-name";function Ov(e,t){var n;if(function(){void 0===Pv&&(Pv="closest"in HTMLElement.prototype);return Pv}())n=e.closest("["+t+"]");else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return Dv(Rv(n.getAttribute(t).trim()))}var Nv,Pv,Lv=[function(e,t){if(function(){void 0===Nv&&(Nv="labels"in HTMLInputElement.prototype);return Nv}()){if("labels"in e&&e.labels&&e.labels.length>0)return qv(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&e.ownerDocument.querySelector('label[for="'+e.id.replace('"','\\"')+'"]');return n&&qv(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 qv(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 qv(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 qv(e.options[0],t)}],Mv=[function(e,t){return qv(e,t)}];function Iv(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 Dv(Rv(u))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function Rv(e){return e.replace(/\s+/g," ")}function Dv(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 qv(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 jv(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 Bv(e,i,o,a);n=s,r=Cv(e,t,(function(e){if(e.hadActivity){var t=Ah(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(em.VIEW_CREATED,(function(){i.discardCurrent()}));var o=qp(window,"click",(function(e){if(e.target instanceof Element){var t,n,o=(t=e.target,n=r,Ov(t,Av)||n&&Ov(t,n)||Iv(t,n,Lv)||Iv(t,n,Mv)||"");o&&i.create(Kh.CLICK,o,e)}}),{capture:!0}).stop;return{stop:function(){i.discardCurrent(),o()}}}var Bv=function(){function e(e,t,n,r){this.lifeCycle=e,this.type=t,this.name=n,this.event=r,this.id=_p(),this.startClocks=Th(),this.eventCountsSubscription=Tv(e),this.lifeCycle.notify(em.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return e.prototype.complete=function(e){var t=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(em.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(em.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},e}();function Fv(e,t){var n=Uv(e)?{action:{error:{count:e.counts.errorCount},id:e.id,loading_time:Eh(e.duration),long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}}:void 0,r=Uv(e)?void 0:e.context,i=Hp({action:{id:_p(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:Yh.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:Uv(e)?{event:e.event}:{}}}function Uv(e){return e.type!==Kh.CUSTOM}var zv=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function Hv(e){var t=function(e){return lv(window,"onerror",{before:function(t,n,r,i,o){var a;if(o)a=up(o),e(a,o);else{var s,u={url:n,column:i,line:r},l=t;if("[object String]"==={}.toString.call(t)){var c=zv.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 lv(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=up(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}var Vv,Wv,Yv="error",Gv={};function Kv(e){var t=e.map((function(e){return Gv[e]||(Gv[e]=function(e){var t=new tm((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=Qp();fh((function(){t.notify(Zv(r,e,o))}))},function(){console[e]=n}}));return t}(e)),Gv[e]}));return nm.apply(void 0,t)}function Zv(e,t,n){var r={message:(0,op.__spreadArrays)(["console "+t+":"],e).map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return $p(up(e));return xp(e,void 0,2)}(e)})).join(" "),api:t};if(t===Yv){var i=Cp(e,(function(e){return e instanceof Error}));r.stack=i?Xp(up(i)):void 0,r.handlingStack=n}return r}function Xv(e,t){var n=new tm;return function(e){var t=Kv([Yv]).subscribe((function(t){return e.notify({startClocks:Th(),message:t.message,stack:t.stack,source:Yp,handling:Vp.HANDLED,handlingStack:t.handlingStack})}))}(n),function(e){Hv((function(t,n){var r=Zp(t,n,"Uncaught"),i=r.stack,o=r.message,a=r.type;e.notify({message:o,stack:i,type:a,source:Kp,startClocks:Th(),originalError:n,handling:Vp.UNHANDLED})}))}(n),n.subscribe((function(t){return e.notify(em.RAW_ERROR_COLLECTED,{error:t})})),function(e,t){return e.subscribe(em.RAW_ERROR_COLLECTED,(function(n){var r=n.error,i=n.customerContext,o=n.savedCommonContext;e.notify(em.RAW_RUM_EVENT_COLLECTED,(0,op.__assign)({customerContext:i,savedCommonContext:o},function(e,t){var n={date:e.startClocks.timeStamp,error:{id:_p(),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:Yh.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?up(e):void 0;return(0,op.__assign)((0,op.__assign)({startClocks:n,source:Gp,originalError:e},Zp(r,e,"Provided",t)),{handling:Vp.HANDLED})}(r,i,o);e.notify(em.RAW_ERROR_COLLECTED,{customerContext:a,savedCommonContext:n,error:s})}}}(e,t)}function $v(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(cm).filter((function(t){return n=t,r=e.startClocks.relative,i=Qv({startTime:e.startClocks.relative,duration:e.duration}),o=1,n.startTime>=r-o&&Qv(n)<=i+o;var n,r,i,o}));return 1===r.length?r[0]:2===r.length&&Qv((n=r)[0])<=n[1].startTime?r[1]:void 0}}}function Qv(e){return e.startTime+e.duration}function Jv(e){e.subscribe(em.REQUEST_COMPLETED,(function(t){e.notify(em.RAW_RUM_EVENT_COLLECTED,function(e){var t=e.type===vp.XHR?mp.XHR:mp.FETCH,n=$v(e),r=n?wh(n.startTime):e.startClocks,i=n?tg(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=Hp({date:r.timeStamp,resource:{id:_p(),type:t,duration:Eh(e.duration),method:e.method,status_code:e.status,url:e.url},type:Yh.RESOURCE},o,i);return{startTime:r.relative,rawRumEvent:a,domainContext:{performanceEntry:n&&ng(n),xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(t))})),e.subscribe(em.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(em.RAW_RUM_EVENT_COLLECTED,eg(i))}var o}))}function eg(e){var t=sm(e),n=tg(e),r=function(e){return e.traceId?{_dd:{trace_id:e.traceId}}:void 0}(e),i=wh(e.startTime),o=Hp({date:i.timeStamp,resource:{id:_p(),type:t,url:e.name},type:Yh.RESOURCE},r,n);return{startTime:i.relative,rawRumEvent:o,domainContext:{performanceEntry:ng(e)}}}function tg(e){return{resource:(0,op.__assign)({duration:(t=e,n=t.duration,r=t.startTime,i=t.responseEnd,Eh(0===n&&r<i?Ah(r,i):n)),size:pm(e)},lm(e))};var t,n,r,i}function ng(e){return"function"==typeof PerformanceEntry&&e instanceof PerformanceEntry&&e.toJSON(),e}function rg(e){return void 0===e&&(e=window),Vv||("hidden"===document.visibilityState?Vv={timeStamp:0}:(Vv={timeStamp:1/0},Wv=jp(e,["pagehide","visibilitychange"],(function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(Vv.timeStamp=e.timeStamp,Wv())}),{capture:!0}).stop)),Vv}var ig=6e5;function og(e,t){var n;function r(e){n=(0,op.__assign)((0,op.__assign)({},n),e),t(n)}var i=function(e,t){return{stop:e.subscribe(em.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}}(e,r).stop,o=function(e,t){var n=rg();return{stop:e.subscribe(em.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=Cp(e,(function(e){return"paint"===e.entryType&&"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&e.startTime<ig}));r&&t(r.startTime)})).unsubscribe}}(e,(function(e){return r({firstContentfulPaint:e})})).stop,a=function(e,t,n){var r=rg(),i=1/0,o=jp(t,["pointerdown","keydown"],(function(e){i=e.timeStamp}),{capture:!0,once:!0}).stop,a=e.subscribe(em.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<ig}));t&&n(t.startTime)})).unsubscribe;return{stop:function(){o(),a()}}}(e,window,(function(e){r({largestContentfulPaint:e})})).stop,s=function(e,t){var n=rg();return{stop:e.subscribe(em.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=Cp(e,(function(e){return"first-input"===e.entryType&&e.startTime<n.timeStamp}));if(r){var i=Ah(r.startTime,r.processingStart);t({firstInputDelay:i>=0?i:0,firstInputTime:r.startTime})}})).unsubscribe}}(e,(function(e){r({firstInputDelay:e.firstInputDelay,firstInputTime:e.firstInputTime})})).stop;return{stop:function(){i(),o(),a(),s()}}}function ag(e,t,n,r,i){var o,a={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},s=Tv(e,(function(e){a.eventCounts=e,n()})).stop,u=function(e,t,n,r,i){var o=n===Gh.INITIAL_LOAD,a=!0,s=[];function u(){!a&&!o&&s.length>0&&i(Math.max.apply(Math,s))}return{stop:Cv(e,t,(function(e){a&&(a=!1,e.hadActivity&&s.push(Ah(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 _m("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>=gp||r.startTime-e>=5e3?(e=t=r.startTime,n=r.value):(n+=r.value,t=r.startTime)},value:function(){return n}}}();return{stop:e.subscribe(em.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(kp(n,4))))}})).unsubscribe}}(e,(function(e){a.cumulativeLayoutShift=e,n()})).stop):o=Ep,{stop:function(){s(),l(),o()},setLoadEvent:c,viewMetrics:a}}function sg(e,t,n,r,i,o){var a,s=function(r){var i=ug(t,n,e,Gh.INITIAL_LOAD,Ch(),r),o=og(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(em.SESSION_RENEWED,(function(){l.end(),l=d(void 0,l.name)})),t.subscribe(em.BEFORE_UNLOAD,(function(){l.end(),l.triggerUpdate()}));var e=window.setInterval(dh((function(){l.triggerUpdate()})),3e5);return{stop:function(){clearInterval(e)}}}().stop;function d(r,i){return ug(t,n,e,Gh.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)&&lg(n.hash)!==lg(t.hash)))return l.end(),l.triggerUpdate(),void(l=d())}))}(r)),{addTiming:function(e,t){void 0===t&&(t=xh()),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 ug(e,t,n,r,i,o){void 0===i&&(i=Th());var a,s=_p(),u={},l={},c=0,d=(0,op.__assign)({},n);e.notify(em.VIEW_CREATED,{id:s,name:o,startClocks:i});var f=bp(dh(b),3e3,{leading:!1}),p=f.throttled,h=f.cancel,m=ag(e,t,p,r,i),v=m.setLoadEvent,g=m.stop,y=m.viewMetrics;function b(){c+=1;var t=void 0===a?xh():a.timeStamp;e.notify(em.VIEW_UPDATED,(0,op.__assign)((0,op.__assign)({},y),{customTimings:l,documentVersion:c,id:s,name:o,loadingType:r,location:d,startClocks:i,timings:u,duration:Ah(i.timeStamp,t),isActive:void 0===a}))}return b(),{name:o,scheduleUpdate:p,end:function(t){void 0===t&&(t=Th()),a=t,g(),e.notify(em.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:Ah(i.timeStamp,t);l[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&ap.warn("Invalid timing name: "+e+", sanitized to: "+t);return t}(e)]=n}}}function lg(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}function cg(e,t,n,r,i,o,a,s){return e.subscribe(em.VIEW_UPDATED,(function(t){return e.notify(em.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:Yh.VIEW,view:{action:{count:e.eventCounts.userActionCount},cumulative_layout_shift:e.cumulativeLayoutShift,dom_complete:Eh(e.timings.domComplete),dom_content_loaded:Eh(e.timings.domContentLoaded),dom_interactive:Eh(e.timings.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:Eh(e.timings.firstContentfulPaint),first_input_delay:Eh(e.timings.firstInputDelay),first_input_time:Eh(e.timings.firstInputTime),is_active:e.isActive,name:e.name,largest_contentful_paint:Eh(e.timings.largestContentfulPaint),load_event:Eh(e.timings.loadEvent),loading_time:dg(Eh(e.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:Eh(e.duration),in_foreground_periods:t.selectInForegroundPeriodsFor(e.startClocks.relative,e.duration)},session:{has_replay:!!r||void 0}};Mp(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,Eh));return{rawRumEvent:i,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(t,o,a))})),sg(n,e,r,i,!t.trackViewsManually,s)}function dg(e){return Op(e)&&e<0?void 0:e}function fg(e,t){var n=function(e,t){var n,r=o(e.rumEndpointBuilder,(function(){return t.notify(em.BEFORE_UNLOAD)})),i=e.replica;void 0!==i&&(n=o(i.rumEndpointBuilder));function o(t,n){return new rh(new oh(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout,n)}function a(e){return Hp(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(em.RUM_EVENT_COLLECTED,(function(e){e.type===Yh.VIEW?n.upsert(e,e.view.id):n.add(e)})),{stop:function(){return n.stop()}}}function pg(e){var t=(0,op.__assign)({},e),n=new tm((function(){var e,t,n,i,o,a=(e=r,t=lv(history,"pushState",{after:e}).stop,n=lv(history,"replaceState",{after:e}).stop,i=qp(window,"popstate",e).stop,{stop:function(){t(),n(),i()}}).stop,s=(o=r,qp(window,"hashchange",o)).stop;return function(){a(),s()}}));function r(){if(t.href!==e.href){var r=(0,op.__assign)({},e);n.notify({newLocation:r,oldLocation:t}),t=r}}return n}var hg=2,mg=3,vg=4,gg=6,yg=7,bg=8,_g=(0,op.__assign)((0,op.__assign)({},Zh),{IGNORE:"ignore",HIDDEN:"hidden"}),wg="data-dd-privacy",kg="hidden",Eg="***",xg={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function Sg(e,t){var n=e.parentNode?Sg(e.parentNode,t):t;return Tg(Cg(e),n)}function Tg(e,t){switch(t){case _g.HIDDEN:case _g.IGNORE:return t}switch(e){case _g.ALLOW:case _g.MASK:case _g.MASK_USER_INPUT:case _g.HIDDEN:case _g.IGNORE:return e;default:return t}}function Cg(e){if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)){var t=e.getAttribute(wg);if("BASE"===e.tagName)return _g.ALLOW;if("INPUT"===e.tagName){var n=e;if("password"===n.type||"email"===n.type||"tel"===n.type)return _g.MASK;if("hidden"===n.type)return _g.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return _g.MASK}return t===kg||e.classList.contains("dd-privacy-hidden")?_g.HIDDEN:"mask"===t||e.classList.contains("dd-privacy-mask")?_g.MASK:"mask-user-input"===t||e.classList.contains("dd-privacy-mask-user-input")?_g.MASK_USER_INPUT:"allow"===t||e.classList.contains("dd-privacy-allow")?_g.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)?_g.IGNORE:void 0}}function Ag(e,t){switch(t){case _g.MASK:case _g.HIDDEN:case _g.IGNORE:return!0;case _g.MASK_USER_INPUT:return function(e){return e.nodeType===e.TEXT_NODE}(e)?Og(e.parentNode):Og(e);default:return!1}}function Og(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!!xg[t.tagName]}var Ng;function Pg(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=Eg;else if(a===_g.HIDDEN)o=Eg;else if(Ag(e,a)&&!s)if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?Eg: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"}(Ng||(Ng={}));var Lg,Mg=0,Ig=1,Rg=2,Dg=3,qg=4,jg=5,Bg=6,Fg=7,Ug=9,zg=0,Hg=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"}(Lg||(Lg={}));var Vg=new WeakMap;function Wg(e){return Vg.has(e)}function Yg(e){return Vg.get(e)}function Gg(e,t){var n=e.tagName,r=e.value;if(Ag(e,t)){var i=e.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return Eg}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}function Kg(e){return Boolean(e.changedTouches)}function Zg(e,t){Array.prototype.forEach.call(e,t)}function Xg(e,t){return $g(e,{document:e,parentNodePrivacyLevel:t})}function $g(e,t){var n=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function(e,t){return{type:Lg.Document,childNodes:Qg(e,t)}}(e,t);case e.DOCUMENT_TYPE_NODE:return n=e,{type:Lg.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case e.ELEMENT_NODE:return function(e,t){var n,r=ny(e.tagName),i=(a=e,"svg"===a.tagName||a instanceof SVGElement||void 0),o=Tg(Cg(e),t.parentNodePrivacyLevel);var a;if(o===_g.HIDDEN){var s=e.getBoundingClientRect(),u=s.width,l=s.height;return{type:Lg.Element,tagName:r,attributes:(n={rr_width:u+"px",rr_height:l+"px"},n[wg]=kg,n),childNodes:[],isSVG:i}}if(o===_g.IGNORE)return;var c=function(e,t){if(t===_g.HIDDEN)return{};for(var n={},r=ny(e.tagName),i=e.ownerDocument,o=0;o<e.attributes.length;o+=1){var a=e.attributes.item(o).name,s=Jg(e,t,a);null!==s&&(n[a]=s)}if(e.value&&("textarea"===r||"select"===r||"option"===r||"input"===r)){var u=Gg(e,t);void 0!==u&&(n.value=u)}if("option"===r&&t===_g.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=ry(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=ry(e.sheet))&&(n._cssText=d)}var f=e;"input"!==r||"radio"!==f.type&&"checkbox"!==f.type||(t===_g.ALLOW?n.checked=!!f.checked:Ag(f,t)&&(n.checked=Eg));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=Qg(e,t.parentNodePrivacyLevel===o&&t.ignoreWhiteSpace===("head"===r)?t:(0,op.__assign)((0,op.__assign)({},t),{parentNodePrivacyLevel:o,ignoreWhiteSpace:"head"===r}))}return{type:Lg.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=Pg(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(!i)return;return{type:Lg.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(e,t);case e.CDATA_SECTION_NODE:return{type:Lg.CDATA,textContent:""}}var n}(e,t);if(!n)return null;var r=Yg(e)||ey++,i=n;return i.id=r,function(e,t){Vg.set(e,t)}(e,r),t.serializedNodeIds&&t.serializedNodeIds.add(r),i}function Qg(e,t){var n=[];return Zg(e.childNodes,(function(e){var r=$g(e,t);r&&n.push(r)})),n}function Jg(e,t,n){if(t===_g.HIDDEN)return null;var r=e.getAttribute(n);if(t===_g.MASK){var i=e.tagName;switch(n){case"title":case"alt":return Eg}if(!("IMG"!==i&&"SOURCE"!==i||"src"!==n&&"srcset"!==n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===i&&"href"===n)return Eg;if(r&&0===n.indexOf("data-")&&n!==wg)return Eg}return r&&"string"==typeof r&&r.length>1e5&&"data:"===r.slice(0,5)?"data:truncated":r}var ey=1;var ty=/[^a-z1-6-_]/;function ny(e){var t=e.toLowerCase().trim();return ty.test(t)?"div":t}function ry(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(iy).join(""):null}catch(e){return null}}function iy(e){return function(e){return"styleSheet"in e}(e)?ry(e.styleSheet)||"":e.cssText}function oy(e){var t=Ep,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(dh(e),{timeout:100});return function(){return t.cancelIdleCallback(n)}}var r=t.requestAnimationFrame(dh(e));return function(){return t.cancelAnimationFrame(r)}}(r)),n.push.apply(n,e)},flush:r,stop:function(){t()}}}function ay(e,t,n){var r=rm();if(!r)return{stop:Ep};var i=oy((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(!Wg(t))return!1;t=t.parentNode}return!0}(e.target)&&Sg(e.target,n)!==_g.HIDDEN})),i=function(e,t){for(var n=new Set,r=new Map,i=function(e){Zg(e.addedNodes,(function(e){n.add(e)})),Zg(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=Sg(p.parentNode,t);if(h!==_g.HIDDEN&&h!==_g.IGNORE){var m=$g(p,{document:document,serializedNodeIds:l,parentNodePrivacyLevel:h});m&&c.push({nextId:y(p),parentId:Yg(p.parentNode),node:m})}}}var v=[];return r.forEach((function(e,t){Wg(t)&&v.push({parentId:Yg(e),id:Yg(t)})})),{adds:c,removes:v,hasBeenSerialized:g};function g(e){return Wg(e)&&l.has(Yg(e))}function y(e){for(var t=e.nextSibling;t;){if(Wg(t))return Yg(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=Sg(u.target.parentNode,t);l!==_g.HIDDEN&&l!==_g.IGNORE&&r.push({id:Yg(u.target),value:null!==(n=Pg(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=Sg(u.target,t),c=Jg(u.target,l,u.attributeName),d=void 0;if("value"===u.attributeName){var f=Gg(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:Yg(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(dh(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 sy=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 uy,ly=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},cy=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 dy(){var e=window.visualViewport;return e?e.width*e.scale:window.innerWidth||0}function fy(){var e=window.visualViewport;return e?e.height*e.scale:window.innerHeight||0}function py(){var e=window.visualViewport;return e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0}function hy(){var e=window.visualViewport;return e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0}function my(e){var t,n,r,i,o=(t=e.mutationController,n=e.mutationCb,r=e.defaultPrivacyLevel,ay(t,n,r).stop),a=function(e){var t=bp(dh((function(t){var n=t.target;if(Wg(n)){var r=Kg(t)?t.changedTouches[0]:t,i=r.clientX,o=r.clientY,a={id:Yg(n),timeOffset:0,x:i,y:o};if(window.visualViewport){var s=ly(i,o),u=s.visualViewportX,l=s.visualViewportY;a.x=u,a.y=l}e([a],Kg(t)?Ng.TouchMove:Ng.MouseMove)}})),50,{trailing:!1}).throttled;return jp(document,["mousemove","touchmove"],t,{capture:!0,passive:!0}).stop}(e.mousemoveCb),s=function(e,t){var n=function(n){var r=n.target;if(Sg(r,t)!==_g.HIDDEN&&Wg(r)){var i=Kg(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,s={id:Yg(r),type:vy[n.type],x:o,y:a};if(window.visualViewport){var u=ly(o,a),l=u.visualViewportX,c=u.visualViewportY;s.x=l,s.y=c}e(s)}};return jp(document,Object.keys(vy),n,{capture:!0,passive:!0}).stop}(e.mouseInteractionCb,e.defaultPrivacyLevel),u=function(e,t){var n=bp(dh((function(n){var r=n.target;if(r&&Sg(r,t)!==_g.HIDDEN&&Wg(r)){var i=Yg(r);r===document?e({id:i,x:py(),y:hy()}):e({id:i,x:r.scrollLeft,y:r.scrollTop})}})),100).throttled;return qp(document,"scroll",n,{capture:!0,passive:!0}).stop}(e.scrollCb,e.defaultPrivacyLevel),l=function(e){var t=bp(dh((function(){var t=fy(),n=dy();e({height:Number(t),width:Number(n)})})),200).throttled;return qp(window,"resize",t,{capture:!0,passive:!0}).stop}(e.viewportResizeCb),c=function(e,t){function n(e){var n=e.target,i=Sg(n,t);if(n&&n.tagName&&Tp(gy,n.tagName)&&i!==_g.HIDDEN){var o,a=n.type;if("radio"===a||"checkbox"===a){if(Ag(n,i))return;o={isChecked:n.checked}}else{var s=Gg(n,i);if(void 0===s)return;o={text:s}}r(n,o);var u=n.name;"radio"===a&&u&&n.checked&&Zg(document.querySelectorAll('input[type="radio"][name="'+u+'"]'),(function(e){e!==n&&r(e,{isChecked:!1})}))}}function r(t,n){if(Wg(t)){var r=yy.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(yy.set(t,n),e((0,op.__assign)((0,op.__assign)({},n),{id:Yg(t)})))}}var i=jp(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:dh((function(){n({target:this})}))})})));return function(){s.forEach((function(e){return e()})),i()}}(e.inputCb,e.defaultPrivacyLevel),d=function(e,t){return jp(document,["play","pause"],(function(n){var r=n.target;r&&Sg(r,t)!==_g.HIDDEN&&Wg(r)&&e({id:Yg(r),type:"play"===n.type?zg:Hg})}),{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 fh((function(){Wg(i.ownerNode)&&e({id:Yg(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 fh((function(){Wg(r.ownerNode)&&e({id:Yg(r.ownerNode),removes:[{index:t}]})})),n.call(this,t)},function(){CSSStyleSheet.prototype.insertRule=t,CSSStyleSheet.prototype.deleteRule=n}}(e.styleSheetRuleCb),p=(i=e.focusCb,jp(window,["focus","blur"],(function(){i({has_focus:document.hasFocus()})})).stop),h=function(e){if(!window.visualViewport)return Ep;var t=bp(dh((function(){e(cy())})),200,{trailing:!1}),n=t.throttled,r=t.cancel,i=jp(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 vy=((uy={}).mouseup=Mg,uy.mousedown=Ig,uy.click=Rg,uy.contextmenu=Dg,uy.dblclick=qg,uy.focus=jg,uy.blur=Bg,uy.touchstart=Fg,uy.touchend=Ug,uy);var gy=["INPUT","TEXTAREA","SELECT"],yy=new WeakMap;function by(e,t,n,r,i){var o=new FormData;o.append("segment",new Blob([t],{type:"application/octet-stream"}),n.session.id+"-"+n.start),_y(n,(function(e,t){return o.append(e,t)})),o.append("raw_segment_size",r.toString()),new oh(e,6e4).send(o,t.byteLength,i)}function _y(e,t,n){void 0===n&&(n=""),Lp(e).forEach((function(e){var r=e[0],i=e[1];"object"==typeof i&&null!==i?_y(i,t,""+n+r+"."):t(""+n+r,String(i))}))}var wy;function ky(e){return Sy(e).segments_count}function Ey(e){Sy(e).records_count+=1}function xy(e){return null==wy?void 0:wy.get(e)}function Sy(e){var t;return wy||(wy=new Map),wy.has(e)?t=wy.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},wy.set(e,t),wy.size>10&&function(){if(!wy)return;if(wy.keys)wy.delete(wy.keys().next().value);else{var e=!0;wy.forEach((function(t,n){e&&(wy.delete(n),e=!1)}))}}()),t}var Ty,Cy=0,Ay=function(){function e(e,t,n,r,i,o){var a=this;this.worker=e,this.isFlushed=!1,this.id=Cy++;var s=t.view.id;this.metadata=(0,op.__assign)({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:r.type===hg,index_in_view:ky(s)},t),function(e){Sy(e).segments_count+=1}(s),Ey(s);var u=dh((function(t){var n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===a.id?(!function(e,t){Sy(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),ph("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,Ey(this.metadata.view.id),(t=this.metadata).has_full_snapshot||(t.has_full_snapshot=e.type===hg),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}(),Oy=6e4;function Ny(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(em.VIEW_CREATED,(function(){l("view_change")})).unsubscribe,s=e.subscribe(em.BEFORE_UNLOAD,(function(){l("before_unload")})).unsubscribe,u=qp(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 Ay(r,a,e,i,(function(e){!s.isFlushed&&e>Oy&&l("max_size")}),(function(e,t){n(e,s.metadata,t,s.flushReason)}));o={status:1,segment:s,expirationTimeoutId:setTimeout(dh((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 Py(){return Ty||(Ty=URL.createObjectURL(new Blob(["("+Ly+")(self)"]))),new Worker(Ty)}function Ly(){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 L=new Array(c);i(L);var M,I,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 B=function(e){return e<256?N[e]:N[256+(e>>>7)]},F=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,F(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?(F(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(L[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);M=new q(A,E,d+1,f,v),I=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},Z=function(e){e.bi_valid>8?F(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},X=function(e,t,n,r){Z(e),r&&(F(e,n),F(e,~n)),e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},$=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&&$(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!$(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-=L[o],U(e,i,a)),r--,o=B(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),X(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&&Z(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*B(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,M),e.d_desc=new j(e.dyn_dtree,I),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={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"},me={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},ve=ce._tr_init,ge=ce._tr_stored_block,ye=ce._tr_flush_block,be=ce._tr_tally,_e=ce._tr_align,we=me.Z_NO_FLUSH,ke=me.Z_PARTIAL_FLUSH,Ee=me.Z_FULL_FLUSH,xe=me.Z_FINISH,Se=me.Z_BLOCK,Te=me.Z_OK,Ce=me.Z_STREAM_END,Ae=me.Z_STREAM_ERROR,Oe=me.Z_DATA_ERROR,Ne=me.Z_BUF_ERROR,Pe=me.Z_DEFAULT_COMPRESSION,Le=me.Z_FILTERED,Me=me.Z_HUFFMAN_ONLY,Ie=me.Z_RLE,Re=me.Z_FIXED,De=me.Z_DEFAULT_STRATEGY,qe=me.Z_UNKNOWN,je=me.Z_DEFLATED,Be=9,Fe=15,Ue=8,ze=286,He=30,Ve=19,We=2*ze+1,Ye=15,Ge=3,Ke=258,Ze=Ke+Ge+1,Xe=32,$e=42,Qe=69,Je=73,et=91,tt=103,nt=113,rt=666,it=1,ot=2,at=3,st=4,ut=3,lt=function(e,t){return e.msg=he[t],t},ct=function(e){return(e<<1)-(e>4?9:0)},dt=function(e){for(var t=e.length;--t>=0;)e[t]=0},ft=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},pt=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))},ht=function(e,t){ye(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,pt(e.strm)},mt=function(e,t){e.pending_buf[e.pending++]=t},vt=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},gt=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=pe(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},yt=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-Ze?e.strstart-(e.w_size-Ze):0,l=e.window,c=e.w_mask,d=e.prev,f=e.strstart+Ke,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=Ke-(f-o),o=f-Ke,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},bt=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-Ze)){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=gt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=Ge)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=ft(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=ft(e,e.ins_h,e.window[o+Ge-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<Ge)););}while(e.lookahead<Ze&&0!==e.strm.avail_in)},_t=function(e,t){for(var n,r;;){if(e.lookahead<Ze){if(bt(e),e.lookahead<Ze&&t===we)return it;if(0===e.lookahead)break}if(n=0,e.lookahead>=Ge&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+Ge-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-Ze&&(e.match_length=yt(e,n)),e.match_length>=Ge)if(r=be(e,e.strstart-e.match_start,e.match_length-Ge),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ge){e.match_length--;do{e.strstart++,e.ins_h=ft(e,e.ins_h,e.window[e.strstart+Ge-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=ft(e,e.ins_h,e.window[e.strstart+1]);else r=be(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ht(e,!1),0===e.strm.avail_out))return it}return e.insert=e.strstart<Ge-1?e.strstart:Ge-1,t===xe?(ht(e,!0),0===e.strm.avail_out?at:st):e.last_lit&&(ht(e,!1),0===e.strm.avail_out)?it:ot},wt=function(e,t){for(var n,r,i;;){if(e.lookahead<Ze){if(bt(e),e.lookahead<Ze&&t===we)return it;if(0===e.lookahead)break}if(n=0,e.lookahead>=Ge&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+Ge-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=Ge-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Ze&&(e.match_length=yt(e,n),e.match_length<=5&&(e.strategy===Le||e.match_length===Ge&&e.strstart-e.match_start>4096)&&(e.match_length=Ge-1)),e.prev_length>=Ge&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-Ge,r=be(e,e.strstart-1-e.prev_match,e.prev_length-Ge),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=ft(e,e.ins_h,e.window[e.strstart+Ge-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=Ge-1,e.strstart++,r&&(ht(e,!1),0===e.strm.avail_out))return it}else if(e.match_available){if((r=be(e,0,e.window[e.strstart-1]))&&ht(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return it}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=be(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ge-1?e.strstart:Ge-1,t===xe?(ht(e,!0),0===e.strm.avail_out?at:st):e.last_lit&&(ht(e,!1),0===e.strm.avail_out)?it:ot},kt=function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=Ke){if(bt(e),e.lookahead<=Ke&&t===we)return it;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=Ge&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+Ke;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=Ke-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ge?(n=be(e,1,e.match_length-Ge),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=be(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ht(e,!1),0===e.strm.avail_out))return it}return e.insert=0,t===xe?(ht(e,!0),0===e.strm.avail_out?at:st):e.last_lit&&(ht(e,!1),0===e.strm.avail_out)?it:ot},Et=function(e,t){for(var n;;){if(0===e.lookahead&&(bt(e),0===e.lookahead)){if(t===we)return it;break}if(e.match_length=0,n=be(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ht(e,!1),0===e.strm.avail_out))return it}return e.insert=0,t===xe?(ht(e,!0),0===e.strm.avail_out?at:st):e.last_lit&&(ht(e,!1),0===e.strm.avail_out)?it:ot};function xt(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 St=[new xt(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(bt(e),0===e.lookahead&&t===we)return it;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,ht(e,!1),0===e.strm.avail_out))return it;if(e.strstart-e.block_start>=e.w_size-Ze&&(ht(e,!1),0===e.strm.avail_out))return it}return e.insert=0,t===xe?(ht(e,!0),0===e.strm.avail_out?at:st):(e.strstart>e.block_start&&(ht(e,!1),e.strm.avail_out),it)})),new xt(4,4,8,4,_t),new xt(4,5,16,8,_t),new xt(4,6,32,32,_t),new xt(4,4,16,16,wt),new xt(8,16,32,32,wt),new xt(8,16,128,128,wt),new xt(8,32,128,256,wt),new xt(32,128,258,1024,wt),new xt(32,258,258,4096,wt)],Tt=function(e){e.window_size=2*e.w_size,dt(e.head),e.max_lazy_match=St[e.level].max_lazy,e.good_match=St[e.level].good_length,e.nice_match=St[e.level].nice_length,e.max_chain_length=St[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ge-1,e.match_available=0,e.ins_h=0};function Ct(){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=je,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*We),this.dyn_dtree=new Uint16Array(2*(2*He+1)),this.bl_tree=new Uint16Array(2*(2*Ve+1)),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Ye+1),this.heap=new Uint16Array(2*ze+1),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*ze+1),dt(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 At=function(e){if(!e||!e.state)return lt(e,Ae);e.total_in=e.total_out=0,e.data_type=qe;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?$e:nt,e.adler=2===t.wrap?0:1,t.last_flush=we,ve(t),Te},Ot=function(e){var t=At(e);return t===Te&&Tt(e.state),t},Nt=function(e,t){return e&&e.state?2!==e.state.wrap?Ae:(e.state.gzhead=t,Te):Ae},Pt=function(e,t,n,r,i,o){if(!e)return Ae;var a=1;if(t===Pe&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>Be||n!==je||r<8||r>15||t<0||t>9||o<0||o>Re)return lt(e,Ae);8===r&&(r=9);var s=new Ct;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+Ge-1)/Ge),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,Ot(e)},Lt=function(e,t){var n=t.length;if(!e||!e.state)return Ae;var r=e.state,i=r.wrap;if(2===i||1===i&&r.status!==$e||r.lookahead)return Ae;if(1===i&&(e.adler=de(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(dt(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,bt(r);r.lookahead>=Ge;){var l=r.strstart,c=r.lookahead-(Ge-1);do{r.ins_h=ft(r,r.ins_h,r.window[l+Ge-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=Ge-1,bt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=Ge-1,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=a,r.wrap=i,Te},Mt={deflateInit:function(e,t){return Pt(e,t,je,Fe,Ue,De)},deflateInit2:Pt,deflateReset:Ot,deflateResetKeep:At,deflateSetHeader:Nt,deflate:function(e,t){var n,r;if(!e||!e.state||t>Se||t<0)return e?lt(e,Ae):Ae;var i=e.state;if(!e.output||!e.input&&0!==e.avail_in||i.status===rt&&t!==xe)return lt(e,0===e.avail_out?Ne:Ae);i.strm=e;var o=i.last_flush;if(i.last_flush=t,i.status===$e)if(2===i.wrap)e.adler=0,mt(i,31),mt(i,139),mt(i,8),i.gzhead?(mt(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)),mt(i,255&i.gzhead.time),mt(i,i.gzhead.time>>8&255),mt(i,i.gzhead.time>>16&255),mt(i,i.gzhead.time>>24&255),mt(i,9===i.level?2:i.strategy>=Me||i.level<2?4:0),mt(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(mt(i,255&i.gzhead.extra.length),mt(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=pe(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Qe):(mt(i,0),mt(i,0),mt(i,0),mt(i,0),mt(i,0),mt(i,9===i.level?2:i.strategy>=Me||i.level<2?4:0),mt(i,ut),i.status=nt);else{var a=je+(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|=Xe),a+=31-a%31,i.status=nt,vt(i,a),0!==i.strstart&&(vt(i,e.adler>>>16),vt(i,65535&e.adler)),e.adler=1}if(i.status===Qe)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=pe(e.adler,i.pending_buf,i.pending-n,n)),pt(e),n=i.pending,i.pending!==i.pending_buf_size));)mt(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=pe(e.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Je)}else i.status=Je;if(i.status===Je)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=pe(e.adler,i.pending_buf,i.pending-n,n)),pt(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,mt(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=pe(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=et)}else i.status=et;if(i.status===et)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=pe(e.adler,i.pending_buf,i.pending-n,n)),pt(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,mt(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=pe(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=tt)}else i.status=tt;if(i.status===tt&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&pt(e),i.pending+2<=i.pending_buf_size&&(mt(i,255&e.adler),mt(i,e.adler>>8&255),e.adler=0,i.status=nt)):i.status=nt),0!==i.pending){if(pt(e),0===e.avail_out)return i.last_flush=-1,Te}else if(0===e.avail_in&&ct(t)<=ct(o)&&t!==xe)return lt(e,Ne);if(i.status===rt&&0!==e.avail_in)return lt(e,Ne);if(0!==e.avail_in||0!==i.lookahead||t!==we&&i.status!==rt){var s=i.strategy===Me?Et(i,t):i.strategy===Ie?kt(i,t):St[i.level].func(i,t);if(s!==at&&s!==st||(i.status=rt),s===it||s===at)return 0===e.avail_out&&(i.last_flush=-1),Te;if(s===ot&&(t===ke?_e(i):t!==Se&&(ge(i,0,0,!1),t===Ee&&(dt(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),pt(e),0===e.avail_out))return i.last_flush=-1,Te}return t!==xe?Te:i.wrap<=0?Ce:(2===i.wrap?(mt(i,255&e.adler),mt(i,e.adler>>8&255),mt(i,e.adler>>16&255),mt(i,e.adler>>24&255),mt(i,255&e.total_in),mt(i,e.total_in>>8&255),mt(i,e.total_in>>16&255),mt(i,e.total_in>>24&255)):(vt(i,e.adler>>>16),vt(i,65535&e.adler)),pt(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?Te:Ce)},deflateEnd:function(e){if(!e||!e.state)return Ae;var t=e.state.status;return t!==$e&&t!==Qe&&t!==Je&&t!==et&&t!==tt&&t!==nt&&t!==rt?lt(e,Ae):(e.state=null,t===nt?lt(e,Oe):Te)},deflateSetDictionary:Lt,deflateInfo:"pako deflate (from Nodeca project)"};function It(e){return It="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},It(e)}var Rt=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Dt=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==It(n))throw new TypeError(n+"must be non-object");for(var r in n)Rt(n,r)&&(e[r]=n[r])}}return e},qt={assign:Dt,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 jt=new Uint8Array(256),Bt=0;Bt<256;Bt++)jt[Bt]=Bt>=252?6:Bt>=248?5:Bt>=240?4:Bt>=224?3:Bt>=192?2:1;function Ft(){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}jt[254]=jt[254]=1;var Ut=Ft,zt=Object.prototype.toString,Ht=me.Z_NO_FLUSH,Vt=me.Z_SYNC_FLUSH,Wt=me.Z_FULL_FLUSH,Yt=me.Z_FINISH,Gt=me.Z_OK,Kt=me.Z_STREAM_END,Zt=me.Z_DEFAULT_COMPRESSION,Xt=me.Z_DEFAULT_STRATEGY,$t=me.Z_DEFLATED;function Qt(e){this.options=qt.assign({level:Zt,method:$t,chunkSize:16384,windowBits:15,memLevel:8,strategy:Xt},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 Ut,this.strm.avail_out=0;var n=Mt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Gt)throw new Error(he[n]);if(t.header&&Mt.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="[object ArrayBuffer]"===zt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=Mt.deflateSetDictionary(this.strm,r))!==Gt)throw new Error(he[n]);this._dict_set=!0}}function Jt(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 Qt.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?Yt:Ht,"[object ArrayBuffer]"===zt.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===Vt||r===Wt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=Mt.deflate(i,r))===Kt)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===Gt;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},Qt.prototype.onData=function(e){this.chunks.push(e)},Qt.prototype.onEnd=function(e){e===Gt&&(this.result=qt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},{Deflate:Qt,constants:me,string2buf:Jt}}(),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 My={status:0};function Iy(e,t){switch(void 0===t&&(t=Py),My.status){case 0:My={status:1,callbacks:[e]},function(e){void 0===e&&(e=Py);try{var t=e();t.addEventListener("error",dh(Ry)),t.addEventListener("message",dh((function(e){var n,r=e.data;"errored"===r.type?Ry(r.error):"initialized"===r.type&&(n=t,1===My.status&&(My.callbacks.forEach((function(e){return e(n)})),My={status:3,worker:n}))}))),t.postMessage({action:"init"})}catch(e){Ry(e)}}(t);break;case 1:My.callbacks.push(e);break;case 2:e();break;case 3:e(My.worker)}}function Ry(e){1===My.status?(ap.error("Session Replay recording failed to start: an error occurred while creating the Worker:",e),e instanceof Event||e instanceof Error&&Tp(e.message,"Content Security Policy")?ap.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):hh(e),My.callbacks.forEach((function(e){return e()})),My={status:2}):hh(e)}var Dy=function(e,t){if(void 0===t&&(t=Iy),eh())return{start:Ep,stop:Ep,getReplayStats:function(){},onRumStart:Ep,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:xy,onRumStart:function(o,a,s,u){o.subscribe(em.SESSION_EXPIRED,(function(){2!==n.status&&3!==n.status||(i(),n={status:1})})),o.subscribe(em.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},Bp("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=Ny(e,t.applicationId,n,r,(function(e,n,r,i){return by(t.sessionReplayEndpointBuilder,e,n,r,i)}),i),a=o.addRecord,s=o.stop;function u(e){a((0,op.__assign)((0,op.__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 sy,r=function(){n.flush(),t({data:{height:fy(),href:window.location.href,width:dy()},type:vg}),t({data:{has_focus:document.hasFocus()},type:gg}),t({data:{node:Xg(document,e.defaultPrivacyLevel),initialOffset:{left:py(),top:hy()}},type:hg}),window.visualViewport&&t({data:cy(),type:bg})};return r(),{stop:my({mutationController:n,defaultPrivacyLevel:e.defaultPrivacyLevel,inputCb:function(e){return t({data:(0,op.__assign)({source:Ng.Input},e),type:mg})},mediaInteractionCb:function(e){return t({data:(0,op.__assign)({source:Ng.MediaInteraction},e),type:mg})},mouseInteractionCb:function(e){return t({data:(0,op.__assign)({source:Ng.MouseInteraction},e),type:mg})},mousemoveCb:function(e,n){return t({data:{positions:e,source:n},type:mg})},mutationCb:function(e){return t({data:(0,op.__assign)({source:Ng.Mutation},e),type:mg})},scrollCb:function(e){return t({data:(0,op.__assign)({source:Ng.Scroll},e),type:mg})},styleSheetRuleCb:function(e){return t({data:(0,op.__assign)({source:Ng.StyleSheetRule},e),type:mg})},viewportResizeCb:function(e){return t({data:(0,op.__assign)({source:Ng.ViewportResize},e),type:mg})},focusCb:function(e){return t({type:gg,data:e})},visualViewportResizeCb:function(e){t({data:e,type:bg})}}),takeFullSnapshot:r,flushMutations:function(){return n.flush()}}}({emit:u,defaultPrivacyLevel:t.defaultPrivacyLevel}),c=l.stop,d=l.takeFullSnapshot,f=l.flushMutations,p=e.subscribe(em.VIEW_ENDED,(function(){f(),u({type:yg})})).unsubscribe,h=e.subscribe(em.VIEW_CREATED,d).unsubscribe;return{stop:function(){p(),h(),c(),s()}}})),qy=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 _h,d=function(e,t){void 0===t&&(t=xh()),c.add((function(){return d(e,t)}))},f=function(e,t){void 0===t&&(t=Th()),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 zp({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,op.__assign)((0,op.__assign)({},t),{version:e.sdkVersion,onReady:function(e){e()}});return Object.defineProperty(n,"_setDebug",{get:function(){return vh},enumerable:!1}),n}(Jh,{init:dh((function(e){if(!i||!Qh()){if(eh())e=function(e){return(0,op.__assign)((0,op.__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_"+_p(),n="test";Mh(t,n,gp,e);var r=Ih(t)===n;return Rh(t,e),r}catch(e){return ap.error(e),!1}}($h(e)))return ap.warn("Cookies are not authorized, we will not send any data."),!1;if("file:"===window.location.protocol)return ap.error("Execution is not allowed in the current context."),!1;return!0}(e))return;if(function(e){if(o)return e.silentMultipleInit||ap.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||Ap(e.replaySampleRate)){if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void ap.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void ap.error("Service need to be configured when tracing is enabled")}var r=Xh(e,Jh);if(r)return(0,op.__assign)((0,op.__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:Pp(Zh,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:Zh.MASK_USER_INPUT})}else ap.error("Replay Sample Rate should be a number between 0 and 100");else ap.error("Application ID is not configured, no RUM data will be collected.")}(e);if(t){var n=ch(t);if(t.trackViewsManually){var r=c;c=new _h,f=function(e){v(t,n,e)},r.drain()}else v(t,n);l=function(){return zp(e)},o=!0}}}})),addRumGlobalContext:dh(a.add),removeRumGlobalContext:dh(a.remove),getRumGlobalContext:dh(a.get),setRumGlobalContext:dh(a.set),getInternalContext:dh((function(e){return u(e)})),getInitConfiguration:dh((function(){return l()})),addAction:dh((function(e,t){p({name:e,context:zp(t),startClocks:Th(),type:Kh.CUSTOM})})),addError:function(e,t){var n=Qp();fh((function(){h({error:e,handlingStack:n,context:zp(t),startClocks:Th()})}))},addTiming:dh((function(e,t){d(e,t)})),setUser:dh((function(e){var t=function(e){if("object"!=typeof e||!e)return;var t=zp(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:ap.error("Unsupported user:",e)})),removeUser:dh((function(){s={}})),startView:dh((function(e){f(e)})),startSessionReplayRecording:dh(t.start),stopSessionReplayRecording:dh(t.stop)});return g}((function(e,t,n,r,i){var o=new im,a=eh()?function(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",hasReplayPlan:!0,hasLitePlan:!1};return{findTrackedSession:function(){return e}}}():Xm(e,o),s=function(){var e=rm(),t=new tm((function(){if(e){var n=new e(dh((function(){return t.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return t}(),u=pg(location);t.setExternalContextProvider((function(){var t;return Hp({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 Am(144e5),n=new Am(3e5);function r(e){return{view:{id:e.id,name:e.name}}}return e.subscribe(em.VIEW_CREATED,(function(e){t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(em.VIEW_UPDATED,(function(e){var n=t.getCurrent();n&&n.view.id===e.id&&t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(em.VIEW_ENDED,(function(e){var n=e.endClocks;t.closeCurrent(n.relative)})),e.subscribe(em.AUTO_ACTION_CREATED,(function(e){n.setCurrent(function(e){return{action:{id:e.id}}}(e),e.startClocks.relative)})),e.subscribe(em.AUTO_ACTION_COMPLETED,(function(e){if(n.getCurrent()){var t=e.startClocks.relative+e.duration;n.closeCurrent(t)}})),e.subscribe(em.AUTO_ACTION_DISCARDED,(function(){n.clearCurrent()})),e.subscribe(em.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 Am(144e5);e.subscribe(em.VIEW_ENDED,(function(e){var t=e.endClocks;i.closeCurrent(t.relative)})),e.subscribe(em.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=Sh();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=nv();eh()?function(e){var t=Jp();e.subscribe(em.RUM_EVENT_COLLECTED,(function(e){t.send("rum",e)}))}(e):a=fg(t,e).stop;return ev(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(em.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=wh(o.startTime),u={date:s.timeStamp,long_task:{id:_p(),duration:Eh(o.duration)},type:Yh.LONG_TASK};e.notify(em.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}}))}(o,a),Jv(o);var p=cg(o,e,location,s,u,d,r,i),h=p.addTiming,m=p.startView,v=Xv(o,d).addError,g=function(e,t,n,r){return e.subscribe(em.AUTO_ACTION_COMPLETED,(function(t){return e.notify(em.RAW_RUM_EVENT_COLLECTED,Fv(t,r))})),n.trackInteractions&&jv(e,t,n),{addAction:function(t,n){e.notify(em.RAW_RUM_EVENT_COLLECTED,(0,op.__assign)({savedCommonContext:n},Fv(t,r)))}}}(o,s,e,d).addAction;xv(o,e,a),wm(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,op.__assign)((0,op.__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}}),Dy);!function(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return yh(e,"onReady callback threw an error:")()}))}(Ip(),"DD_RUM",qy);var jy=Hn("SESSION_COOKIE_DOMAIN"),By=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}}(),Fy=function(e){return By?window.localStorage.getItem(e):null};kl()((function(e,t){return function(e,t){if(!By)return null;window.localStorage.setItem(e,t)}(e,t),Mn().save(e,t,{domain:jy}),t}));function Uy(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function zy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uy(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Uy(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var Hy="datadoghq.com",Vy=Hn("SERVICE_ENV"),Wy=Hn("RISE_FRONTEND_MANIFEST_SHA"),Yy=[/https:\/\/(rise(\.dev)?|360)\.articulate\.(com|zone).*/];Zn()||(qy.init({applicationId:"0bee3e39-361c-4a5d-8329-f815a0449459",clientToken:"pubf65cd823927d3be4c9fa1d9575b98520",site:Hy,service:Hn("SERVICE_PRODUCT"),version:Wy,env:Vy,sampleRate:100,trackInteractions:!0,allowedTracingOrigins:Yy,beforeSend:function(e){e.context=zy(zy({},e.context),{},{managePrefs:{display:Fy("displayPreference")||"BLOCKS",sort:Fy("displaySortPreference")||"RECENT",transferredSort:Fy("displaySortTransferredPreference")||"FOLDER"}})}}),ip.init({clientToken:"pub10f6eefe0a6673ea57fd1872cfbeed7d",site:Hy,service:"rise-frontend",version:Wy,env:Vy,forwardErrorsToLogs:!1,sampleRate:100,beforeSend:function(e){if(e.http&&0===e.http.status_code)return!1}}),ip.addLoggerGlobalContext("product",Hn("SERVICE_PRODUCT")));var Gy=["baseURL"];function Ky(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zy(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ky(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Ky(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var Xy={"Content-Type":"application/json"},$y=[function(e,t){return t.Authorization="Bearer ".concat(oE()),$i()(e)}],Qy=Gr()(Wo(),Wr(),da()(["data","status","statusText"])),Jy=pa()(da()(["name","message","response"]),oi()({response:Qy})),eb=Ur().fromPromise((function(e){var t=e.data,n=e.method,r=e.url;return fetch(r,{body:$i()(t),headers:Zy(Zy({},Xy),{},{Authorization:"Bearer ".concat(oE())}),keepalive:!0,method:n}).then((function(e){return e.json()})).then(oa()("data"))})),tb=function(e){var t=new Error("Nil token detected");return qy.addError(t,e),Ur().Rejected(t)},nb=function(){return Wo()(oE())},rb=function(e){return function(t,n){return sc()(t,function(e){return function(t){var n,r,i=t.method,o=t.url;return _t()(n=_t()(r="".concat(i,":")).call(r,e)).call(n,o)}}(n),ib(aE,e))}},ib=function(e,t){return function(n){return Il(n,function(e){return function(t){return e.preRequest?e.preRequest(t):t}}(t),function(e){var t=e.baseURL,n=Wi(e,Gy);return de()(yo()({headers:Xy,transformRequest:$y}),yo()(n),oi()({url:Po()(t)}))}(t),Gr()(nb,tb,e),lc()(Jy,Un()("data")),function(e){return function(t){return e.postRequest?e.postRequest(t):t}}(t))}},ob=function(e){return{debounce:rb(e),send:ib(aE,e),sendWithKeepAlive:ib(eb,e)}},ab=function(){return"visible"===document.visibilityState},sb=function(e){document.addEventListener("visibilitychange",function(e){return Sa()(ab,(function(){return e()}))}(e)),window.addEventListener("focus",(function(){return e()}))},ub=__webpack_require__(97877),lb=__webpack_require__.n(ub),cb=__webpack_require__(53007),db=__webpack_require__.n(cb),fb=function(e){return vo({method:"POST",url:"".concat(Hn("RISE_RUNTIME_URI"),"/analytics"),json:!0,data:e})},pb=Hn("SUBSCRIPTIONS_ENDPOINT"),hb=Hn("THREESIXTY_FRONTEND_URI"),mb=qs()(["error","status"],404),vb=de()(oa()("error"),Un()("response")),gb=function(){return window.location.href=hb},yb=[function(e,t){return t.Authorization="Bearer ".concat(oE()),e}],bb=function(){var e=$l(Jl().mark((function e(t){var n,r,i,o;return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(pb,"/users/authorized_status"),e.next=3,aE({transformRequest:yb,url:n}).toPromise().catch(vb);case 3:return r=e.sent,i=de()(t,wa()((function(e){return fb({event:"Unexpected Logout",payload:{category:"auth",data:e,detail:"Subscription Error"}})}))),o=Al()([[mb,gb],[lb()("error"),i],[db(),Un()("data")]]),e.abrupt("return",o(r));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_b=bb,wb=__webpack_require__(57735),kb=__webpack_require__.n(wb),Eb=__webpack_require__(13192),xb=__webpack_require__.n(Eb),Sb=/^<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>$/,Tb=/^(?:(?:(?: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*)?$/,Cb="Article",Ab="Interaction",Ob="Quiz",Nb="Video",Pb="onePage",Lb="slide",Mb=xb()({COMOVERVIEW:null,COMPACT:null,COVER:null,OVERLAY:null,SIDEBAR:null}),Ib=(Gi()({DESKTOP:"desktop",TABLET_PORTRAIT:"tablet-portrait",TABLET_LANDSCAPE:"tablet-landscape",MOBILE_PORTRAIT:"mobile-portrait",MOBILE_LANDSCAPE:"mobile-landscape"}),bi()("status","active"),bi()("status","inactive")),Rb=(bi()("plan","individual"),qs()(["features","enable_review"],!0),qs()(["features","enable_rise"],!0)),Db=(bi()("plan","trial"),kb()([bi()("plan","trial"),bi()("status","inactive"),bi()("is_retrial_eligible",!1)])),qb=(Uo()(bi()("plan","team"),bi()("plan","individual")),kb()([bi()("plan","team"),bi()("is_team_admin",!0)]),kb()([bi()("plan","trial"),bi()("is_team_admin",!0)]),__webpack_require__(9669)),jb=__webpack_require__.n(qb),Bb=__webpack_require__(37365),Fb=__webpack_require__.n(Bb),Ub=Fb()(String,(function(e){return jb().create({baseURL:e,withCredentials:!0})}));function zb(){return zb=$l(Jl().mark((function e(t,n,r){var i,o,a,s,u,l;return Jl().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,Ub(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),gt()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),zb.apply(this,arguments)}var Hb=Ro()(3,(function(e,t,n){return zb.apply(this,arguments)}));function Vb(){return Vb=$l(Jl().mark((function e(t,n,r){var i,o,a,s,u,l;return Jl().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,Ub(t.AUTH_SERVICE_URI).post("/api/v1/authn",{password:s,username:o||_t()(u="".concat(a,"/")).call(u,i),options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 4:return l=e.sent,e.abrupt("return",Br()(["data","sessionToken"],l));case 8:throw e.prev=8,e.t0=e.catch(1),gt()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),Vb.apply(this,arguments)}var Wb=Ro()(3,(function(e,t,n){return Vb.apply(this,arguments)}));function Yb(){return Yb=$l(Jl().mark((function e(t,n,r){return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("heyokra"!==r.idp){e.next=7;break}return e.next=4,Hb(t,n,r);case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,Wb(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)}))),Yb.apply(this,arguments)}var Gb=Ro()(3,(function(e,t,n){return Yb.apply(this,arguments)})),Kb=__webpack_require__(10339),Zb=__webpack_require__.n(Kb);function Xb(){return window.tenant&&"heyokra"===window.tenant.idp}function $b(){return $b=$l(Jl().mark((function e(t,n,r,i){var o;return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),o=Xb()?r.HEYOKRA_AUTH_SERVICE_URI:r.AUTH_SERVICE_URI,e.next=4,Ub(o).delete("/api/v1/sessions/me").then(wa()((function(){return n.emit&&t.emit("session:closed")}))).catch(Ea()(qs()(["response","status"],404),Zb()));case 4:case"end":return e.stop()}}),e)}))),$b.apply(this,arguments)}var Qb=Ro()(4,(function(e,t,n,r){return $b.apply(this,arguments)})),Jb=__webpack_require__(79927),e_=__webpack_require__.n(Jb),t_=__webpack_require__(63266),n_=__webpack_require__.n(t_),r_=__webpack_require__(93007),i_=__webpack_require__.n(r_)()(9),o_=n_()(Wo());function a_(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,p=e.state,h=new(f())(o_({client_id:t,idp:r,nonce:i||i_(),prompt:a,redirect_uri:u,response_mode:l,response_type:"id_token token",scope:c,sessionToken:d,state:p}));return gt()(new(e_())("".concat(n,"/v1/authorize"),window.location.origin),{search:h.toString()}).toString()}var s_=__webpack_require__(83863);function u_(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=mt(e)););return e}function l_(){return l_="undefined"!=typeof Reflect&&s_?s_:function(e,t,n){var r=u_(e,t);if(r){var i=fr(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},l_.apply(this,arguments)}var c_=__webpack_require__(26729),d_=__webpack_require__.n(c_);function f_(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var p_=function(e){ut(n,e);var t=f_(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind(it(r))),r}return rt(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=l_(mt(n.prototype),"emit",this)).call.apply(e,_t()(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=l_(mt(n.prototype),"emit",this)).call.apply(t,_t()(r=[this]).call(r,Tl(e.data.params)))}}]),n}(d_()),h_=__webpack_require__(44721),m_=__webpack_require__.n(h_),v_=__webpack_require__(14886),g_=__webpack_require__.n(v_),y_=__webpack_require__(98766),b_=__webpack_require__.n(y_),__=__webpack_require__(97411),w_=__webpack_require__.n(__),k_=__webpack_require__(32573),E_=__webpack_require__.n(k_),x_=__webpack_require__(33784),S_=__webpack_require__.n(x_),T_=__webpack_require__(13594),C_=__webpack_require__.n(T_),A_=__webpack_require__(67430),O_=__webpack_require__.n(A_),N_=__webpack_require__(16722),P_=__webpack_require__.n(N_),L_=__webpack_require__(1465),M_=__webpack_require__.n(L_),I_=__webpack_require__(90),R_=__webpack_require__.n(I_);var D_=__webpack_require__(51445);function q_(){if("undefined"==typeof Reflect||!Qe)return!1;if(Qe.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Qe(Boolean,[],(function(){}))),!0}catch(e){return!1}}function j_(e,t,n){return j_=q_()?Qe:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(D_(Function).apply(e,r));return n&&st(i,n.prototype),i},j_.apply(null,arguments)}function B_(e){var t="function"==typeof I_?new I_:void 0;return B_=function(e){if(null===e||!function(e){var t;return-1!==Vi(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 j_(e,arguments,mt(this).constructor)}return n.prototype=ot(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),st(n,e)},B_(e)}var F_=__webpack_require__(54991),U_=__webpack_require__.n(F_);function z_(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}var H_=Ro()(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?db():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 g_().resolveAfter(z_(r,a)).chain(c)}function l(e){return++a<o?u():g_().Rejected(e)}function c(){return t.apply(void 0,n).bichain(Gr()(s,l,g_().Rejected),g_().of)}return c()}return u}));function V_(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 W_=function(e,t){var n;void 0===t&&(t=V_);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}},Y_=W_(Rn());function G_(e,t){var n=void 0!==ct()&&br()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return K_(e,t);var r=wr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Er()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return K_(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 K_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Z_(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var X_=ct()("TimeoutError"),$_=function(e){ut(n,e);var t=Z_(n);function n(){return et(this,n),t.call(this,"Authorization timed out")}return n}(B_(Error));$_.prototype[X_]=!0;var Q_=H_({tries:2,when:function(e){return e[X_]}}),J_={},ew=0,tw=Fb()(Un()("AUTH_SERVICE_URI"),(function(e){window.addEventListener("message",(function(t){var n=new(e_())(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=J_[u];l&&(o?l.reject(new Error([o,a].join(", "))):l.resolve({access_token:i,id_token:s}))}}))}));var nw=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};var rw,iw,ow=Ro()(3,(rw=Q_((function(e,t,n){return new(g_())((function(r,i){var o=wa()((function(){delete J_[a],document.body.removeChild(u)}));tw(e);var a=ew++,s=i_(),u=document.createElement("iframe");return u.style.display="none",document.body.appendChild(u),g_()((function(t,r){var i=Xb(),o={resolve:r,reject:t};J_[a]=o,u.addEventListener("error",de()(t,Un()("error"))),u.src=a_({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(g_().rejectAfter(5e3,new $_)).chain((function(e){var n,r=e.id_token,i=e.access_token,o=r?Y_(r):null;return s!==o.nonce?g_().Reject(new Error(_t()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),g_().of(t.get()))})).bimap(o,o).fork(r,i,o)}))})),iw={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return g_()((function(e,n){var r={resolve:n,reject:e},i=nw.apply(void 0,t),o=ct()();null==iw[i]&&(iw[i]={listeners:new(R_())});var a=iw[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=G_(U_()(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 iw[i],o.length>0)throw o[0]}};a.cancel=rw.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}}))})),aw=qr().reject.bind(qr()),sw=function(e){return e instanceof Response},uw=function(e){return O_()(e,"status")},lw=_l()(sw,uw(C_()(500))),cw=$a()(sw),dw=S_()(Ea()(Un()("ok"),aw),(function(e){return window.fetch(e.clone())})),fw=E_()({when:Uo()(lw,cw),tries:3},dw),pw=M_()(2,(function(e){return _l()(Hr()(lb()("OKTA_CLIENT_ID",e)),uw(b_()(di()(Ma(),[401,403]))))})),hw=xl()([],["roles"]),mw=xl()("",["subscription","status"]),vw=Ja()((function(e,t,n){var r,i,o=Cr(n,2)[1],a=Cr(Ca()(r=[t,o]).call(r,hw),2),s=a[0],u=a[1],l=Cr(Ca()(i=[t,o]).call(i,mw),2),c=l[0],d=l[1];P_()(s,u).length>0&&e.emit("change:roles",o,t),c!==d&&e.emit("change:status",o,t)})),gw=Ja()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return m_()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&m_()(r=n.message).call(r,"redirect_uri")?w_()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),g_().Rejected(n)})).toPromise():(n instanceof DOMException&&"AbortError"===n.name||e.emit("unauthorized",n),qr().reject(n))})),yw=Ja()((function(e,t,n,r){if(null!=n&&n.sub!==r[1].sub)throw e.emit("unauthorized",t),t;return r})),bw=Ja()((function(e,t,n,r,i){var o,a,s=Cr(n.get(),2)[1];return(o=ow(t,n,void 0),a=r.signal,new(qr())((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(yw(e,i,s),gw(e,t)).then(wa()(vw(e,s))).then((function(){return fw(r)}))})),_w=M_()(5,(function(e,t,n,r){return Gr()(pw(t),bw(e,t,n,r),aw)})),ww=Ea()(sw,aw),kw=function(e){return function(t,n,r,i){var o=new Request(r,i);return fw(o).catch(_w(e,t,n,o)).catch(ww)}},Ew=__webpack_require__(51829),xw=__webpack_require__.n(Ew),Sw=__webpack_require__(77897),Tw=__webpack_require__(88541),Cw=Ro()(3,(function(){return ow.apply(void 0,arguments).toPromise()})),Aw=new(f())(window.location.hash.substr(1)),Ow=Aw.get("id_token"),Nw=Aw.get("access_token");function Pw(e,t){return Lw.apply(this,arguments)}function Lw(){return Lw=$l(Jl().mark((function e(t,n){return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Ow){e.next=5;break}n.set(Ow,Nw),Ow=Nw=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,Cw(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}}),e)}))),Lw.apply(this,arguments)}function Mw(e,t){return Iw.apply(this,arguments)}function Iw(){return Iw=$l(Jl().mark((function e(t,n){return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,Pw(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)}))),Iw.apply(this,arguments)}function Rw(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}function Dw(e,t){var n=void 0!==ct()&&br()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return qw(e,t);var r=wr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Er()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qw(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 qw(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}Ow&&(Aw.delete("id_token"),window.history.replaceState(null,null,"#".concat(Aw.toString()))),Nw&&(Aw.delete("access_token"),Aw.delete("expires_in"),Aw.delete("scope"),Aw.delete("token_type"),window.history.replaceState(null,null,"#".concat(Aw.toString())));var jw=function(){function e(t,n){et(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(d_()),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 rt(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=j_(Tw.EventSourcePolyfill,Tl(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=Dw(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):(Mw(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):(xw()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function Bw(e,t){return function(n){ut(i,n);var r=Rw(i);function i(){var n;et(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,_t()(n=[this,e,t]).call(n,a))}return i}(jw)}["onerror","onmessage","onopen"].forEach((function(e){Object.defineProperty(jw.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(jw.prototype,e,{get:function(){return this._source[e]}})})),gt()(jw.prototype,(0,Sw.pick)(["CONNECTING","OPEN","CLOSED"],Tw.EventSourcePolyfill.prototype));var Fw=__webpack_require__(4991),Uw=__webpack_require__.n(Fw);var zw=Ro()(2,(function(e,t){return e?g_()((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})),Hw=function(e){return Uw()(e,["response","status"])},Vw=Ja()((function(e){return _l()(Hr()(lb()("OKTA_CLIENT_ID",e)),Hw(b_()(di()(Ma(),[401,403]))))})),Ww=Hw(C_()(500)),Yw=$a()(Hw(Boolean)),Gw=function(e){var t={base:e.backoffBase,when:Uo()(Ww,Yw),tries:5};return H_(t,w_())(e)},Kw=xl()([],["roles"]),Zw=xl()("",["subscription","status"]),Xw=Ja()((function(e,t,n){var r,i,o=Cr(n,2)[1],a=Cr(Ca()(r=[t,o]).call(r,Kw),2),s=a[0],u=a[1],l=Cr(Ca()(i=[t,o]).call(i,Zw),2),c=l[0],d=l[1];P_()(s,u).length>0&&e.emit("change:roles",o,t),c!==d&&e.emit("change:status",o,t)})),$w=Ja()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return m_()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&m_()(r=n.message).call(r,"redirect_uri")?w_()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),g_().Rejected(n)})):(e.emit("unauthorized",n),g_().Rejected(n))})),Qw=Ja()((function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),g_().Rejected(t)):g_().of(r)})),Jw=Ja()((function(e,t,n,r,i){var o,a=Cr(n.get(),2)[1];return Ca()(o=ow(t,n,void 0).bichain($w(e,t),Qw(e,i,a))).call(o,wa()(Xw(e,a))).chain((function(){return Gw(r)}))})),ek=M_()(4,(function(e,t,n,r){return Gr()(Vw(t),Jw(e,t,n,r),g_().Rejected)})),tk=Ja()((function(e,t,n,r){return Gw(r).bichain(ek(e,t,n,r),g_().of)})),nk=Ja()((function(e,t,n,r){return zw(r.timeout,tk(e,t,n,qo()("timeout",r)))})),rk=nk,ik=function(e){return Br()([1,"sub"],e.get())};function ok(){return ok=$l(Jl().mark((function e(t,n,r,i){var o,a,s,u;return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=ik(r),e.next=3,Qb(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,Gb(n,r,i);case 6:return a=e.sent,e.next=9,Cw(n,r,a);case 9:return s=e.sent,u=ik(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]])}))),ok.apply(this,arguments)}var ak=Ro()(4,(function(e,t,n,r){return ok.apply(this,arguments)})),sk=__webpack_require__(76489);function uk(e){return sk.parse(document.cookie)[e]}var lk=Ro()(2,(function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=sk.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})}));var ck=Ro()(3,(function(e,t,n){var r=Cr(n,1)[0];if(t){var i=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=sk.serialize(t,r,{domain:i,path:"/",secure:!0})}}));function dk(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function fk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dk(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):dk(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var pk=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],hk=Ja()((function(e,t,n){return la()(n,[e,t])}));var mk=function(e){var t,n=new p_,r=function(e){return{clear:function(){lk(e,e.SESSION_COOKIE_NAME),lk(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=uk(e.SESSION_COOKIE_NAME),n=uk(e.ACCESS_COOKIE_NAME);return[t,t?Y_(t):null,n,n?Y_(n):null]},set:function(t,n){var r=t?Y_(t):null,i=n?Y_(n):null;ck(e,e.SESSION_COOKIE_NAME,[t,r]),ck(e,e.ACCESS_COOKIE_NAME,[n,i])}}}(e);return fk(fk({getAuthorizationUrl:a_,EventSource:Bw(e,r)},(t=n,pk.reduce((function(e,n){return e[n]=t[n].bind(t),e}),{}))),di()(hk(e,r),{authenticate:Gb,closeSession:Qb(n,{emit:!0}),fetch:kw(n),request:rk(n),resetSession:Mw,resumeSession:Pw,startSession:ak(n)}))}(yo()(window.env,{ACCESS_COOKIE_NAME:"_articulate_rise_",REDIRECT_URI:window.location.origin+"/auth-callback"})),vk=mk.closeSession,gk=mk.on,yk=mk.request,bk=mk.resetSession,_k=mk.resumeSession,wk=(mk.startSession,mk.getAuthorizationUrl),kk=__webpack_require__(22673),Ek=__webpack_require__.n(kk),xk=function(e,t){var n,r;return _t()(n=_t()(r="".concat(Hn("ID_MAPPER_URI"),"/v1/avatars/")).call(r,encodeURIComponent(e),"?size=")).call(n,t)},Sk=function(e){return{large:xk(e,"large"),medium:xk(e,"medium"),micro:xk(e,"micro"),mini:xk(e,"mini"),small:xk(e,"small")}},Tk=Ek()({features:Cu()({},"features"),subscription:qa()(["features"])}),Ck=b_()([Db,Ib,$a()(Rb)]),Ak="/auth-error",Ok=function(){return new(qr())((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 Nk(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pk(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){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Nk(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var Lk="/auth-callback",Mk=Ak,Ik=er,Rk=function(){return window.location.pathname===Lk},Dk=!1,qk=!1,jk=function(){var e=new(f())(window.location.search);return function(e){var t;if(!Dk){var n=oc()();Dk=!0,window.localStorage.setItem(n,e);var r=wk({client_id:Hn("OKTA_CLIENT_ID"),issuer:Hn("OIDC_ISSUER_URI"),redirect_uri:_t()(t="".concat(window.location.origin)).call(t,Lk),response_mode:"fragment",scope:Hn("OIDC_SCOPE"),state:n,prompt:null});Ok().then((function(){window.location.href=r}))}}(e.has("redirect_url")?e.get("redirect_url"):window.location.href)},Bk=function(){if(!qk){var e=Jn(),t=tr();Wo()(e)?(fb({event:"Unexpected Logout",payload:{category:"auth",userId:t,detail:"id from cookie was null"}}),qy.addError(new Error("Unexpected Logout"),{type:"User Meta",idFromToken:t,idFromCookie:e,detail:"id from cookie was null"}),qk=!0,zk({onLogout:function(){return window.location.reload(!0)},reason:"Unexpected logout: user id/session cookie missing"})):e!==t&&(fb({event:"Unexpected Logout",payload:{category:"auth",userId:e,idFromToken:t,detail:"Session/Token ID Mismatch"}}),qy.addError(new Error("Unexpected Logout"),{type:"User Meta",idFromToken:t,idFromCookie:e,detail:"Session/Token ID Mismatch"}),qk=!0,bk().then((function(){return window.location.reload(!0)})))}},Fk=function(){var e=$l(Jl().mark((function e(t){var n,r,i,o,a,s,u,l,c,d,f,p,h,m,v;return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_k();case 3:if(n=e.sent,r=Cr(n,4),i=r[1],o=r[2],a=r[3],s=a.aid,fb({event:"Setting Session Cookie",payload:{category:"auth",userId:s,detail:"Resuming existing session"}}),g=s,document.cookie=Qn($n,g),!Rk()){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=Sk(s),p={author:s,profile:{avatars:f,first_name:u,user_id:s,last_name:l,staff:d}},h=function(){return zk({onLogout:Hr()(null)})},m=function(e){return t(Pk(Pk(Pk({},p),Tk(e)),{},{launchdarkly:c,token:o}))},e.next=22,_b(h).then(wa()(m)).catch((function(){return t(Pk(Pk({},p),{},{token:o}))}));case 22:if(v=e.sent,!Ck(v)){e.next=28;break}return fb({event:"Unexpected Logout",payload:{category:"auth",userId:Jn(),subscription:v,detail:"Invalid Subscription"}}),qy.addError(new Error("Unexpected Logout"),{type:"User Meta",userId:Jn(),detail:"Invalid Subscription"}),zk({onLogout:function(){return window.location="".concat(Hn("THREESIXTY_FRONTEND_URI"),"/rise")}}),e.abrupt("return");case 28:sb(Bk),e.next=36;break;case 31:e.prev=31,e.t0=e.catch(0),fb({event:"Unexpected Logout",payload:{category:"auth",userId:Jn(),error:e.t0,detail:"Error Resuming Session"}}),qy.addError(e.t0,{type:"User Meta",userId:Jn(),detail:"Error Resuming Session"}),zk({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)}}(),Uk=function(e){var t=e.onFetchTokens;if(Rk())Fk(t);else{var n=Jn(),r=tr();Wo()(n)||n!==r?Ok().then(jk):Fk(t)}},zk=function(e){var t=e.onLogout,n=e.reason;n&&fb({event:"Logout",payload:{category:"auth",userId:Jn(),detail:n}});var r=Hn("RISE_AUTHORING_URI"),i=function(){document.cookie="".concat(Qn($n,""),"; Max-Age=-99999999"),document.cookie="".concat(Qn("_rise_authoring_api_session",""),"; Max-Age=-99999999"),vk().then(t)};ob({baseURL:r}).send({method:"DELETE",url:"/logout"}).fork((function(e){console.error("Failed to log out of rise-authoring-api",e),i()}),i)},Hk=de()(rc().parse,tc()(1,1/0)),Vk=function(e){var t=e.location;return function(){var e,n,r=t.hash,i=t.pathname,o=Hk(r),a=o.state,s=o.error,u=o.error_description;s?(qy.addError(s,{type:"Logout Error",reason:"Error encountered when parsing auth callback.",error_description:u}),zk({onLogout:(n=u,function(){var e;return window.location.href=_t()(e="".concat(Ak,"?description=")).call(e,n)}),reason:_t()(e="Error encountered when parsing auth callback. Error: ".concat(s,"; description: ")).call(e,u)})):Uk({onFetchTokens:function(){return e=i,t=a,void Ok().then((function(){var n=window.localStorage.getItem(t)||"/",r=n===e?"/":n;window.localStorage.removeItem(t),window.location.href=r}));var e,t}})}},Wk=re((function(e){return(0,m.useEffect)(Vk(e),[]),null})),Yk=__webpack_require__(64691),Gk=__webpack_require__.n(Yk),Kk=function(){var e=$l(Jl().mark((function e(){var t,n,r,i,o;return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ok();case 2:n=di()(encodeURIComponent,Gk()(["hash","pathname"],window.location)),r=Cr(n,2),i=r[0],o=r[1],window.location.href=_t()(t="/login#c=".concat(o)).call(t,i);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Zk=function(){window.location.href="/"},Xk=null,$k=null,Qk=er,Jk=Kk,eE=vk,tE=pa()(Cu()([],"roles"),Ea()(qn()("author"),Zk)),nE=pa()(xl()("",["subscription","status"]),Ea()(qn()(Ua(),["active","in_trial","non_renewing"]),Zk)),rE=function(){return window.location.reload()},iE=function(){var e=$l(Jl().mark((function e(t){var n,r,i,o,a,s,u,l,c,d,f;return Jl().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.onFetchTokens,e.prev=1,e.next=4,_k();case 4:return r=e.sent,i=Cr(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},nE(a),n({author:f.user_id,launchdarkly:s,profile:f,subscription:d,token:o}),gk("change:roles",tE),gk("change:status",nE),gk("change:subdomain",rE),gk("unauthorized",Kk),gk("session:closed",Kk),e.abrupt("return",o);case 20:e.prev=20,e.t0=e.catch(1),Kk();case 23:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(t){return e.apply(this,arguments)}}(),oE=e.getToken,aE=e.request;function sE(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function uE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sE(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):sE(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var lE,cE,dE=Hn("RBC_URI"),fE="".concat(dE,"/api/partner_content"),pE=("".concat(fE,"/types"),Po()("".concat(fE,"/")),[function(e,t){return t.Authorization="Bearer ".concat(oE()),e}]),hE={transformRequest:pE,headers:{"Content-Type":"application/json"}},mE=__webpack_require__(5683),vE=__webpack_require__.n(mE),gE="prod"===Hn("SERVICE_ENV")?"com":"zone",yE=pa()($i(),vE()(new RegExp("https://images.riseusercontent.".concat(gE,"/"),"g"),"".concat(Hn("IMAGES_URI"),"/")),vE()(new RegExp("https://riseusercontent.".concat(gE,"/"),"g"),"".concat(Hn("CDN_USER_CONTENT_URI"),"/")),vE()(new RegExp("https://video.rise.".concat(gE,"/"),"g"),"https://video.riseusercontent.".concat(gE,"/")),JSON.parse),bE=__webpack_require__(46408),_E=__webpack_require__.n(bE),wE=__webpack_require__(51493),kE=__webpack_require__.n(wE),EE=function(e){return!!e},xE=(Ar(lE={},"a",["activeIndex",Wr()]),Ar(lE,ko,["audioVideoPlayhead",Number]),Ar(lE,_o,["isComplete",EE]),Ar(lE,bo,["correctlyAnswered",Wr()]),Ar(lE,wo,["percentComplete",Wr()]),Ar(lE,"r",["retryAttempts",Wr()]),Ar(lE,"s",["score",Wr()]),Ar(lE,"t",["currentTime",Wr()]),Ar(lE,"v",["percentViewed",Wr()]),Ar(lE,"rr",["reportResults",Wr()]),Ar(lE,"pq",["passed",Wr()]),Ar(lE,"ps",["passingScore",Wr()]),Ar(lE,"qd",["questionsDrawn",Wr()]),Ar(lE,"ql",["questionList",di()(di()(Wr()))]),lE),SE=function(e){return function(t,n){var r=Ll()(OE[n])(t);return n===Eo&&(r=r(Un()("items",e))),Ar({},_E()(OE[n]),r)}},TE=function(e){return di()(function(e){return function(t){var n=e[t.index];return Ea()((function(){return Wo()(n)}),(function(){return de()(yo()(t),kE(),wi(),pi()(SE(t)))(n)}))(t)}}(e))},CE=de()(kE(),wi(),pi()(SE(null))),AE=function(e){return function(t){var n=Un()(Eo,e),r=Un()("items",t);return de()(Sa()((function(){return kb()([lb()("ql"),bi()("qd",!0)])(e)}),(function(e){var t=di()(CE,n);return Co()("originalItemProgress",t,e)})),yo()(t),Ea()((function(){return Ra()(n)}),ga()(ta()("items"),TE(n)(r))),kE(),wi(),pi()(function(e){return function(t,n){return Co()([_E()(xE[n])],Ll()(xE[n])(t),e)}}(t)))(da()(Zo()(xE),e))}};var OE=(Ar(cE={},ko,["audioVideoPlayhead",Number]),Ar(cE,bo,["correctlyAnswered",Wr()]),Ar(cE,_o,["isComplete",EE]),Ar(cE,"k",["isCorrect",EE]),Ar(cE,"v",["isViewed",EE]),Ar(cE,Eo,["items",TE]),Ar(cE,"pv",["percentViewed",Wr()]),Ar(cE,"m",["matches",Wr()]),Ar(cE,"s",["selectedIndex",Wr()]),Ar(cE,"x",["selectedIndices",Wr()]),Ar(cE,"t",["text",Wr()]),cE),NE={activeIndex:["a",Wr()],audioVideoPlayhead:[ko,Number],correctlyAnswered:[bo,Wr()],currentTime:["t",Wr()],isComplete:[_o,Number],passingScore:["ps",Wr()],percentComplete:[wo,Wr()],percentViewed:["v",Wr()],retryAttempts:["r",Wr()],score:["s",Wr()],questionsDrawn:["qd",Wr()],questionList:["ql",di()(di()(Wr()))],reportResults:["rr",Wr()],passed:["pq",Wr()]},PE=function(e,t){return Ar({},_E()(RE[t]),Ll()(RE[t])(e))},LE=de()(kE(),wi(),di()((function(e){return de()(Ea()(Ra(),oa()(Un()("index",e))),kE(),wi(),pi()(PE))(n_()(Ra(),da()(Zo()(RE),e)))}))),ME=function(e,t){return Ar({},_E()(NE[t]),Ll()(NE[t])(e))};var IE=de()(oa()(wo),Cu()(0,"percentComplete")),RE={audioVideoPlayhead:[ko,Number],correctlyAnswered:[bo,Wr()],isComplete:[_o,Number],isCorrect:["k",Number],isViewed:["v",Number],items:[Eo,LE],matches:["m",Wr()],percentViewed:["pv",Wr()],selectedIndex:["s",Wr()],selectedIndices:["x",di()(Number)],text:["t",Wr()]},DE=["id","type"],qE=["id","type"];function jE(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function BE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jE(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):jE(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var FE=function(e){return(window.env||{})[e]},UE=function(){return!!window.contentId},zE=UE()?yE:Wr(),HE={fetch:function(){if(YE.isExport||window.courseData||window.course)return Zl(Kl,{});return vo({method:"GET",url:function(){var e,t,n;return window.shareId?_t()(e="".concat(FE("RISE_RUNTIME_URI"),"/boot/share/")).call(e,window.shareId):UE()?_t()(t="".concat(FE("RISE_RUNTIME_URI"),"/boot/businessContent/")).call(t,window.contentId):_t()(n="".concat(FE("RISE_RUNTIME_URI"),"/boot/")).call(n,window.courseId)}(),json:!0,withCredentials:!0}).then(Un()("body")).then(Kl).then(zE)},fetchPartnerContent:function(e){return YE.isExport||window.partnerContent?Ur().of(window.partnerContent.content):function(e){var t;return Ca()(t=aE(uE({method:"POST",url:fE,data:$i()({ids:e})},hE))).call(t,Br()(["data","content"]))}(e)},getEnv:FE,isPasswordProtected:function(){return!!window.shareId&&!!window.hasPassword},isShare:function(){return!!window.shareId},resolvePath:function(e){var t;return _t()(t="".concat(FE("CDN_USER_CONTENT_URI"),"/")).call(t,e)},verifySharePassword:function(e){return vo({method:"POST",url:"".concat(FE("RISE_RUNTIME_URI"),"/password"),data:{shareId:window.shareId,password:e},json:!0}).then(Un()("body"))}},VE=function(e,t){return e+((t||{}).c||0)},WE=function(e,t){return function(n,r){var i=r.id,o=r.type,a=Wi(r,qE);return t.lessons[i]?yo()(n,e(function(e,t){var n=t.id,r=t.type,i=Wi(t,DE);return"quiz"===r?Yl(e,BE({id:n},i)):Xu(e,{id:n,type:r})}(t,BE({id:i,type:o},a)).lessons[i])):n}};window.Rise=gt()(window.Rise||{},{completeLessons:function(e,t,n){var r=t.reduce(WE(e,n),{}),i=sr()(n.lessons||{}).length,o=Gi()(r).reduce(VE,0);return{lessons:r,p:Math.round(o/i*100)}},decodeCourseProgress:function(e,t){var n=Un()("lessons",t);return Ea()((function(){return Ra()(n)}),de()(Co()("percentComplete",Cu()(0,wo,t)),oi()({lessons:di()((function(e){var t=Un()(e.index,n);return Ea()((function(){return Wo()(t)}),AE(t))(e)}))})))(e)},encodeCourseProgress:IE,encodeLessonProgress:function(e){var t=Un()("items",e),n=Un()("index",e);return de()(oa()(n),Ea()((function(){return Ra()(t)}),ga()(ta()(Eo),LE(t))),kE(),wi(),pi()(ME))(da()(Zo()(NE),e))}});var YE=yo()(HE,window.Runtime||{}),GE=YE,KE=Bn()(Un())(window.env||{}),ZE=function(e){return GE&&GE[e]};function XE(e){if(ZE("bookmark"))return GE.bookmark(e)}function $E(e){return ZE("setLessonComplete")?GE.setLessonComplete(e):e}function QE(e){return ZE("setLessonProgress")?GE.setLessonProgress(e):e}function JE(e,t){return ZE("setCourseProgress")?GE.setCourseProgress(e,t):e}function ex(e){if(ZE("finish"))return GE.finish(e)}function tx(e,t,n,r){ZE("finishStoryline")&&GE.finishStoryline(e,t,n,r)}function nx(){return ZE("isComplete")?GE.isComplete():null}function rx(){return!!ZE("isExport")&&GE.isExport()}function ix(){if(ZE("isExport")){var e=Br()(["partnerContent","content"],window);return GE.isExport()&&e}return!1}function ox(e){var t=e||"";return ZE("resolvePath")?le()(t).call(t,"http")||le()(t).call(t,"data:")||le()(t).call(t,"//")?t:GE.resolvePath(t):le()(t).call(t,"data:")||le()(t).call(t,"http")||le()(t).call(t,"//")?t:"/".concat(t)}function ax(e){if(ZE("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 GE.reportAnswer({id:t,type:c,isCorrect:n,itemId:u,questionTitle:ti(l),quizTitle:ti(s),retryAttempts:a,answers:Si(r),correctResponse:Ti(r),response:Ci({item:r,itemProgress:i}),latency:xi(o)})}return!1}function sx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ux(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 lx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ux(Object(n),!0).forEach((function(t){sx(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ux(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cx(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 dx="function"==typeof Symbol&&Symbol.observable||"@@observable",fx=function(){return Math.random().toString(36).substring(7).split("").join(".")},px={INIT:"@@redux/INIT"+fx(),REPLACE:"@@redux/REPLACE"+fx(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fx()}};function hx(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 mx(){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 vx=__webpack_require__(89524),gx=__webpack_require__.n(vx),yx=__webpack_require__(43372),bx=__webpack_require__(97196),_x=__webpack_require__.n(bx),wx=__webpack_require__(59681),kx=__webpack_require__(37990),Ex=__webpack_require__.n(kx),xx=__webpack_require__(51380),Sx=__webpack_require__.n(xx),Tx=window.RiseDotCom,Cx=function(e){return Tx&&Tx[e]},Ax=function(){Cx("exit")&&Tx.exit()},Ox=function(){Cx("on")&&Tx.on.apply(Tx,arguments)},Nx=function(){Cx("off")&&Tx.off.apply(Tx,arguments)},Px=Po()("rise/rise-com/"),Lx=Px("FAVORITE_ADDED"),Mx=Px("FAVORITE_REMOVED"),Ix=Po()("rise/partnerContent/")("SET_ALL_PARTNER_CONTENT"),Rx=__webpack_require__(73495),Dx=__webpack_require__.n(Rx),qx=Hn("CDN_USER_CONTENT_URI"),jx=Hn("CDN_URI"),Bx=lb()("useCrushedKey"),Fx=Hn("IMAGES_URI"),Ux=Dx()(/-stock[-_]image.jpg/),zx=Hn("RBC_IMAGES_URI"),Hx=Hn("ASSETS_URI"),Vx=function(e){var t=e.crushedKey,n=e.key,r=e.useCrushedKey,i=e.src;return Bx(e)?Gn(r&&t?t:n):Gn(i)},Wx=function(e){var t,n;if(!e||!e.key)return"";var r=e.crushedKey,i=e.key,o=e.useCrushedKey;return Fx?Bx(e)&&o&&r?_t()(t="".concat(Fx,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(t,r):_t()(n="".concat(Fx,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(n,i):Vx(e)},Yx=function(e){var t;if(!e||!e.key)return"";var n,r,i,o=e.crushedKey,a=e.key,s=e.useCrushedKey;return Fx?Ux(a)?_t()(n="".concat(Fx,"/f:jpg,a:retain,b:fff,w:1680,q:65/")).call(n,a):Bx(e)?s&&o?_t()(r="".concat(qx,"/")).call(r,o):_t()(i="".concat(qx,"/")).call(i,a):_t()(t="".concat(Fx,"/f:jpg|png,a:retain,b:fff/")).call(t,a):Vx(e)},Gx=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=qx?_t()(t="".concat(qx,"/")).call(t,i):Vx({key:i,src:o}),l=qx?_t()(n="".concat(qx,"/")).call(n,s):Vx({key:s,src:a});return"src"===r?u:l},Kx=function(e){var t=e.height,n=e.imageKey,r=e.width;if(zx){var i,o,a,s=encodeURIComponent(n);return _t()(i=_t()(o=_t()(a="".concat(zx,"/b:fff,f:jpg,s:cover,w:")).call(a,r,",h:")).call(o,t,"/")).call(i,s)}return Gn("partnerContent/".concat(n))},Zx=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},Xx=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1},$x=function(e){var t=Zx(e),n=t.slice(0,6),r=t.slice(6),i=parseInt(n,16);return[i>>16&255,i>>8&255,i>>0&255,Xx(r)]},Qx=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)+")"},Jx=function(e,t){var n=$x(e),r=n[0],i=n[1],o=n[2],a=n[3];return Qx([r,i,o,null!=t?t:a])},eS=function(e){var t,n,r=e.alpha,i=e.color,o=e.url,a=Jx(i,r);return{backgroundImage:_t()(t=_t()(n="linear-gradient(0deg,".concat(a,",")).call(n,a,'), url("')).call(t,o,'")')}},tS="#000",nS=600,rS=xb()({ACCENT:null,BLACK:null,COLOR:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),iS=xb()({LARGE:null,MEDIUM:null,SMALL:null}),oS=xb()({COMPACT:null,OVERLAY:null,SIDEBAR:null}),aS=xb()({DARK:null,DARK_IMAGE:null,LIGHT:null,LIGHT_IMAGE:null}),sS=xb()({DARK:null,DARK_ACCENT:null,DARK_IMAGE:null,LIGHT:null,LIGHT_ACCENT:null,LIGHT_IMAGE:null}),uS="free",lS="restricted",cS=xb()({ACCENT:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),dS=xb()({ACCENT:null,DARK:null,LIGHT:null,TINT:null}),fS=xb()({FULL:null,FLOATING:null,FLOATING_FULL:null}),pS=xb()({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}),hS=(pS.CENTERED,pS.CENTERED_OVERLAY,pS.LEFT,pS.LEFT_OVERLAY,pS.SPLIT_LEFT_IMAGE,pS.SPLIT_RIGHT_IMAGE,pS.TWO_THIRDS_LEFT_IMAGE,pS.TWO_THIRDS_RIGHT_IMAGE,pS.CENTERED,pS.CENTERED_OVERLAY,pS.LEFT,pS.LEFT_OVERLAY,pS.SPLIT_LEFT_IMAGE,pS.SPLIT_RIGHT_IMAGE,pS.TWO_THIRDS_LEFT_IMAGE,pS.TWO_THIRDS_RIGHT_IMAGE,pS.CENTERED,pS.CENTERED_OVERLAY,pS.LEFT,pS.LEFT_OVERLAY,pS.SPLIT_LEFT,pS.SPLIT_RIGHT,pS.SPLIT_LEFT_IMAGE,pS.SPLIT_RIGHT_IMAGE,pS.CENTERED,pS.CENTERED_OVERLAY,pS.CENTERED_IMAGE,pS.CENTERED_ACCENT_TINT,pS.SPLIT_LEFT_IMAGE,pS.SPLIT_RIGHT_IMAGE,pS.TWO_THIRDS_LEFT_IMAGE,pS.TWO_THIRDS_RIGHT_IMAGE,xb()({DOTS:null,NUMBERS:null,NONE:null})),mS=(xb()({HIGH_CONTRAST:null,MINIMAL:null}),pS.IMAGE,pS.ACCENT,pS.WHITE,"closed"),vS="hidden",gS="open",yS=xb()({AUTO:null,BLACK:null,LIGHT:null,DARK:null}),bS=xb()({ROUNDED:null,SQUARED:null}),_S=xb()({ROUNDED:null,SQUARED:null}),wS=xb()({FLOATING:null,FULL:null}),kS=xb()({ACCENT:null,DARK:null,LIGHT:null}),ES=xb()({ACCENT:null,DARK:null,LIGHT:null}),xS=__webpack_require__(66242),SS=__webpack_require__.n(xS),TS=__webpack_require__(11515),CS=__webpack_require__.n(TS),AS=__webpack_require__(98882),OS=__webpack_require__.n(AS),NS=__webpack_require__(9443),PS=__webpack_require__.n(NS),LS=xb()({NEAR_BLACK:null,DARK:null,MED:null,LIGHT:null}),MS=[[32,LS.NEAR_BLACK],[64,LS.DARK],[128,LS.MED],[256,LS.LIGHT]],IS=function(e){if(!e)return 0;var t=Cr($x(e),3);return.2126*t[0]+.7152*t[1]+.0722*t[2]},RS=function(e){return!!e&&1-IS(e)/255>.4},DS=function(e){return!!e&&1-IS(e)/255>.25},qS=function(e,t){var n=function(e){var t,n;if(!e)return null;var r=parseInt(e.substr(1),16);return SS()(r)?null:CS()(t=CS()(n=r.toString(16)).call(n,6,"0")).call(t,7,"#")}(t);return n&&7===n.length?n:e},jS=Ja()((function(e,t){var n,r=wr()(n=$x(t)).call(n,0,3),i=e>=0?Ca()(r).call(r,(function(t){return(1-e)*t+255*e})):Ca()(r).call(r,(function(t){return(1+e)*t}));return BS(i)}));var BS=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"#"+Ca()(e=wr()(t).call(t,0,3)).call(e,(function(e){var t;return CS()(t=Math.min(255,Math.max(0,Math.round(e))).toString(16)).call(t,2,"0")})).join("")},FS=jS(.9),US=(jS(-.5),jS(-.2)),zS=function(e){var t,n=IS(e);return null===(t=OS()(MS).call(MS,(function(e){return Cr(e,1)[0]>n})))||void 0===t?void 0:t[1]},HS=Sa()(PS()(Number),de()(fo(),(function(e){var t,n;return CS()(t=CS()(n=e.toString(16)).call(n,6,"0")).call(t,7,"#")})));de()(HS,so()("#ff631e"));function VS(e,t){var n=function(e,t){var n=WS(e),r=WS(t),i=Math.max(n,r),o=Math.min(n,r);return(i+.05)/(o+.05)}(e,t),r="".concat(n.toFixed(2),":1"),i=!1,o=!1,a=!1,s=!1,u=!1;return n>=7?(i=!0,o=!0,a=!0,s=!0,u=!0):n>=4.5?(i=!0,a=!0,u=!0):n>=3&&(a=!0,u=!0),{ratio:r,bodyTextAA:i,bodyTextAAA:o,largeTextAA:a,largeTextAAA:s,graphicalUiComponentsAA:u}}function WS(e){var t,n,r=Cr(Ca()(t=wr()(n=$x(e)).call(n,0,3)).call(t,YS),3);return.2126*r[0]+.7152*r[1]+.0722*r[2]}function YS(e){var t=e/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}var GS=function(e){return VS("#fff",e).bodyTextAA?yS.LIGHT:yS.DARK},KS=($a()(bi()("sidebarMode","hidden")),bi()("sidebarMode","open"),function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson}),ZS=function(e){var t=e.alpha,n=e.hasOverlay,r=void 0===n||n,i=e.media,o=(void 0===i?{}:i).image,a=void 0===o?{}:o,s=a.key,u=a.src,l=s?Yx(a):u;return l?r?eS({alpha:t/100,color:tS,url:l}):{backgroundImage:'url("'.concat(l,'")')}:null},XS=function(e){var t;return m_()(t=[sS.DARK,sS.DARK_ACCENT,sS.DARK_IMAGE,cS.DARK,aS.DARK,aS.DARK_IMAGE]).call(t,e)},$S=pa()(Un()("lessons"),_E()),QS=bi()("navigationMode",lS),JS=bi()("sidebarMode",gS),eT=$a()(bi()("sidebarMode",vS)),tT=bi()("navigationType",oS.SIDEBAR),nT=bi()("navigationType",oS.OVERLAY),rT=bi()("navigationType",oS.COMPACT),iT=Gr()(O_()(Wo(),"navigation"),eT,bi()("navigation",!0)),oT=function(e){var t;return m_()(t=[sS.DARK_IMAGE,sS.LIGHT_IMAGE,cS.DARK_IMAGE,cS.IMAGE,aS.DARK_IMAGE,aS.LIGHT_IMAGE]).call(t,e)},aT=function(e){var t;return m_()(t=[sS.LIGHT_ACCENT,sS.DARK_ACCENT]).call(t,e)},sT=FS,uT=__webpack_require__(23385),lT=__webpack_require__.n(uT),cT=__webpack_require__(47392),dT=__webpack_require__.n(cT),fT=__webpack_require__(88576),pT=__webpack_require__.n(fT),hT=__webpack_require__(62023),mT=__webpack_require__.n(hT),vT=de()(qn()(".svg"),Cu()("","originalUrl")),gT=Gr()(vT,Hr()({width:"500rem"}),Hr()({})),yT=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=ti(n);if(o)return o}if(r)return r;if(i){var a,s=wr()(a=i.split("/")).call(a,-1)[0];if(s)return s}},bT=function(e){return e&&'""'!==e?e:void 0},_T=function(e){return e?"img":void 0},wT=function(e){return pa()(Cu()("","originalUrl"),lo()("."),Ll(),Ma()(e))},kT=(wT("svg"),wT("gif"),function(e){var t;return dT()(e)?le()(e).call(e,"http")?wr()(t=new(e_())(e).pathname).call(t,1):e:""}),ET=function(e,t){var n=pT()(e,t);return n.media.image.key===t.media.image.key&&gt()(n.media.image,{crushedKey:t.media.image.key,useCrushedKey:!0}),n},xT=lT()(yo(),(function(e){var t=e.src;return{media:{image:{key:kT(t),src:t}}}}),(function(e){return{alpha:e.alpha}})),ST=O_()(Boolean,"theme"),TT=function(e,t){return lT()(ET,function(e){return Br()([e])}(t),function(e){return de()(xT,e,xl()({},["theme"]))}(e))},CT=de()(mT()({coverImageAlpha:"alpha",coverImage:"src"}),da()(["coverImageAlpha","coverImage"])),AT=de()(mT()({lessonHeaderImageAlpha:"alpha",lessonHeaderImage:"src"}),da()(["lessonHeaderImageAlpha","lessonHeaderImage"])),OT=function(e,t){return Gr()(ST,TT(e,t),Br()([t]))},NT=OT(CT,"coverImage"),PT=OT(AT,"lessonHeaderImage"),LT=__webpack_require__(57046),MT=__webpack_require__.n(LT),IT=["bodyTypeface","coverImage","headingTypeface","lessonHeaderImage","media","theme","uiTypeface"],RT=lT()(so(),Br()(["color"]),Br()(["theme","colorAccent"])),DT=lT()(so(),Br()(["showLessonCount"]),Br()(["theme","showLessonCount"])),qT=Gr()(Br()(["coverImage","media","image"]),Hr()(aS.LIGHT_IMAGE),Hr()(aS.LIGHT)),jT=Gr()(Br()(["coverImage","media","image"]),Hr()(pS.LEFT_OVERLAY),Hr()(pS.LEFT)),BT={allowSearch:!0,animateBlockEntrance:!0,compactShowLessonCount:!0,enableVideoPlaybackSpeed:!0,markLessonsComplete:!1,navigation:!0,navigationRestricted:!1,showAuthor:!0,showLessonCount:!0,showNavigationButtons:!0,sidebarStartsOpen:!0},FT=function(e){return Cu()(BT[e],e)},UT={blockCorners:bS.ROUNDED,blockPaddingBottom:30,blockPaddingTop:30,buttonInlineStyle:_S.ROUNDED,buttonNavigationStyle:wS.FULL,buttonScheme:dS.LIGHT,colorAccent:"#ff631e",coverImageAlpha:50,coverPageType:pS.SPLIT_LEFT_IMAGE,lessonHeaderColor:null,lessonHeaderImage:null,lessonHeaderImageAlpha:.6,lessonHeaderImageColor:kS.DARK,lessonHeaderSize:iS.MEDIUM,lessonHeaderStyle:rS.LIGHT,navigationOverlayImage:null,navigationOverlayImageAlpha:.6,navigationOverlayImageColor:ES.DARK,navigationStyle:aS.LIGHT,navigationType:oS.SIDEBAR,themeId:"classic"},zT=ba()(yo(),de()(Co()("isLegacyCourse",!0),oa()("theme"),MT()(UT),Ek()({allowSearch:FT("allowSearch"),animateBlockEntrance:FT("animateBlockEntrance"),bodyTypefaceId:Un()("bodyTypefaceId"),colorAccent:de()(fo(),Cu()("","color")),compactShowLessonCount:FT("compactShowLessonCount"),coverImageDefault:null,coverPageType:jT,enableVideoPlaybackSpeed:FT("enableVideoPlaybackSpeed"),headingTypefaceId:Un()("headingTypefaceId"),markLessonsComplete:FT("markComplete"),navigation:function(e){return e.sidebarMode!==vS},navigationRestricted:function(e){return e.navigationMode===lS},navigationStyle:qT,showAuthor:FT("showAuthor"),showLessonCount:FT("showLessonCount"),showNavigationButtons:FT("showNavigationButtons"),sidebarStartsOpen:function(e){return e.sidebarMode===gS},uiTypefaceId:Un()("uiTypefaceId")}))),HT=Ea()(O_()(Wo(),"theme"),ba()(yo(),Ek()({allowSearch:Br()(["theme","allowSearch"]),animateBlockEntrance:xl()(!0,["theme","animateBlockEntrance"]),buttonNavigationStyle:Br()(["theme","buttonNavigationStyle"]),buttonScheme:Br()(["theme","buttonScheme"]),color:RT,colorAccentTint:de()(sT,RT),coverImage:NT,coverPageType:Br()(["theme","coverPageType"]),enableVideoPlaybackSpeed:xl()(!0,["theme","enableVideoPlaybackSpeed"]),lessonHeaderImage:PT,lessonHeaderSize:Br()(["theme","lessonHeaderSize"]),lessonHeaderStyle:Br()(["theme","lessonHeaderStyle"]),markComplete:xl()(!1,["theme","markLessonsComplete"]),navigation:xl()(!0,["theme","navigation"]),navigationMode:function(e){return e.theme.navigationRestricted?lS:uS},navigationRestricted:xl()(!1,["theme","navigationRestricted"]),navigationStyle:Br()(["theme","navigationStyle"]),navigationType:xl()(oS.SIDEBAR,["theme","navigationType"]),themeId:xl()("classic",["theme","themeId"]),showAuthor:xl()(!0,["theme","showAuthor"]),showLessonCount:DT,sidebarMode:function(e){var t=e.theme.sidebarStartsOpen;return!!Wo()(t)||t?gS:mS},sidebarStartsOpen:xl()(!0,["theme","sidebarMode"]),showNavigationButtons:xl()(!0,["theme","showNavigationButtons"])}))),VT=kl()((function(e){return de()(HT,yo()(e),da()(IT))})),WT=__webpack_require__(85745),YT=__webpack_require__.n(WT),GT=__webpack_require__(90086),KT=__webpack_require__.n(GT),ZT=xl()([],["items"]),XT=de()(YT()((function(e){var t=e.partnerContentId;return t&&[t]||[]})),ZT),$T=de()(YT()(XT),ZT);function QT(e){return m.createElement("svg",yt({"aria-hidden":"true",fill:"currentColor",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},e))}__webpack_require__(67294);var JT=__webpack_require__(94184),eC=__webpack_require__.n(JT);__webpack_require__(67294);function tC(e){return m.createElement(QT,yt({viewBox:"0 0 16 12"},e),m.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"}),m.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"}),m.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 nC=__webpack_require__(67294),rC=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 nC.createElement("svg",{className:t,width:r,height:o,viewBox:"0 0 20 20",fill:"none",focusable:s,xmlns:"http://www.w3.org/2000/svg"},nC.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"}),nC.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"}))};__webpack_require__(67294);function iC(e){return m.createElement(QT,yt({viewBox:"0 0 14 13"},e),m.createElement("path",{d:"M12.6569 6.34315L7 12L1.34315 6.34315",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor",fill:"transparent"}),m.createElement("rect",{width:"2",height:"12",rx:"0.999999",transform:"matrix(-1 0 0 1 8 0)",fill:"currentColor"}))}var oC=__webpack_require__(67294),aC=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 oC.createElement("svg",{viewBox:"0 0 16 8",width:a,height:u,className:eC()("i",l),focusable:d,"aria-hidden":f?"true":"false"},oC.createElement("title",null,n),oC.createElement("desc",null,i),oC.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"}))};function sC(e){return m.createElement(QT,yt({viewBox:"0 0 14 13"},e),m.createElement("path",{d:"M12.6559 6.65685L6.99902 1L1.34217 6.65685",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",stroke:"currentColor",fill:"transparent"}),m.createElement("rect",{x:"7.99902",y:"13",width:"2",height:"12",rx:"0.999999",transform:"rotate(-180 7.99902 13)",fill:"currentColor"}))}var uC=function(e){return m.createElement(QT,yt({viewBox:"0 0 10 12"},e),m.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 lC=__webpack_require__(67294),cC=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 lC.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:i,viewBox:"0 0 17 15",focusable:c,className:d},lC.createElement("title",null,a),lC.createElement("desc",null,u),lC.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),__webpack_require__(67294);function dC(e){return m.createElement(QT,yt({viewBox:"0 0 11 8"},e),m.createElement("path",{d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))}var fC=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 m.createElement("svg",{"aria-hidden":t,"aria-label":n,className:eC()("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&&m.createElement("title",null,l),i&&m.createElement("desc",null,i),m.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 pC(e){return m.createElement(QT,yt({viewBox:"0 0 7 5"},e),m.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 hC=__webpack_require__(67294),mC=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 hC.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",width:n,height:i,className:eC()("i i-chevronLeft",o),focusable:s},hC.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 "}))},vC=function(e){return m.createElement(QT,yt({viewBox:"0 0 6 10"},e),m.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"}))},gC=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},m.createElement("circle",{cx:"5",cy:"5",r:"5"}))},yC=(__webpack_require__(67294),function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",foocusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},m.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 bC=__webpack_require__(67294),_C=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 bC.createElement("svg",{viewBox:"0 0 13 10",width:a,height:u,className:eC()("i i-destinationArrow",l),focusable:d},bC.createElement("title",null,n),bC.createElement("desc",null,i),bC.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 wC(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}m.Component,__webpack_require__(67294),__webpack_require__(67294);var kC=__webpack_require__(67294),EC=function(e){var t=e.title,n=void 0===t?"Download":t,r=e.desc,i=void 0===r?"Arrow down with horizontal line beneath it":r,o=e.width,a=void 0===o?"16":o,s=e.height,u=void 0===s?"19":s,l=e.className,c=e.focusable,d=void 0===c?"false":c;return kC.createElement("svg",{viewBox:"0 0 16 19",width:a,height:u,className:eC()("i i-download",l),focusable:d},kC.createElement("title",null,n),kC.createElement("desc",null,i),kC.createElement("rect",{y:"17",width:"16",height:"2",rx:"1"}),kC.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"}),kC.createElement("path",{d:"M7 0h2v12H7z"}))};__webpack_require__(67294),__webpack_require__(67294);__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294);var xC=__webpack_require__(67294),SC=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 xC.createElement("svg",{viewBox:"0 0 4 14",width:a,height:u,className:eC()("i i-ellipsis--vert",l),focusable:d},xC.createElement("title",null,n),xC.createElement("desc",null,i),xC.createElement("g",{transform:"translate(.158 .445)"},xC.createElement("circle",{cx:"1.5",cy:"11.5",r:"1.5"}),xC.createElement("circle",{cx:"1.5",cy:"6.5",r:"1.5"}),xC.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 TC=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 m.createElement("svg",{"aria-hidden":t,"aria-label":r,className:eC()("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&&m.createElement("title",null,c),o&&m.createElement("desc",null,o),m.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"}))},CC=(__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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#C7CACC"}),m.createElement("path",{d:"M13.534 22.9863V24.4163H10.245V26.4458H12.984V27.8813H10.245V30.9998H8.375V22.9863H13.534Z",fill:"#414448"}),m.createElement("path",{d:"M17.533 30.9998H15.663V22.9863H17.533V30.9998Z",fill:"#414448"}),m.createElement("path",{d:"M21.8805 29.5148H24.8505V30.9998H20.0215V22.9863H21.8805V29.5148Z",fill:"#414448"}),m.createElement("path",{d:"M31.8846 22.9863V24.4163H28.5956V26.2863H31.1146V27.6613H28.5956V29.5698H31.8846V30.9998H26.7256V22.9863H31.8846Z",fill:"#414448"}))}),AC=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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#96A9E0",fillRule:"evenodd"}),m.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"}),m.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"}),m.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"}))},OC=(__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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#EDADA9",fillRule:"evenodd"}),m.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"}),m.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"}),m.createElement("path",{d:"M31.3465 22.9863V24.4163H28.0575V26.4458H30.7965V27.8813H28.0575V30.9998H26.1875V22.9863H31.3465Z",fill:"#771D18"}))}),NC=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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#F8BFA6",fillRule:"evenodd"}),m.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"}),m.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"}),m.createElement("path",{d:"M31.2008 22.9863V24.4603H28.9458V30.9998H27.0868V24.4603H24.8318V22.9863H31.2008Z",fill:"#7C2B0E"}))},PC=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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#ABDBF3",fillRule:"evenodd"}),m.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"}),m.createElement("path",{d:"M23.6162 22.9865V24.4605H21.3612V31H19.5022V24.4605H17.2472V22.9865H23.6162Z",fill:"#144E6C"}),m.createElement("path",{d:"M30.5411 22.9865V24.4165H27.2521V26.446H29.9911V27.8815H27.2521V31H25.3821V22.9865H30.5411Z",fill:"#144E6C"}))},LC=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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#AFD1AE",fillRule:"evenodd"}),m.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"}),m.createElement("path",{d:"M20.6017 29.5149H23.5717V30.9999H18.7427V22.9864H20.6017V29.5149Z",fill:"#265026"}),m.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"}))},MC=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 m.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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}),m.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#ABDBF3"}),m.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"}),m.createElement("path",{d:"M20.7826 30.9998H18.9126V22.9863H20.7826V30.9998Z",fill:"#124F6E"}),m.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"}))},IC=(__webpack_require__(67294),__webpack_require__(67294)),RC=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 IC.createElement("svg",{viewBox:"0 0 15 15",width:a,height:u,className:eC()("i i-fillInTheBlank",l),focusable:d},IC.createElement("title",null,n),IC.createElement("desc",null,i),IC.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"}))},DC=(__webpack_require__(67294),__webpack_require__(67294),function(e){return m.createElement(QT,yt({viewBox:"0 0 15 15"},e),m.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 qC(e){return m.createElement(QT,yt({viewBox:"0 0 20 14"},e),m.createElement("path",{d:"M0 0H20V2H0V0Z M0 6H20V8H0V6Z M20 12H0V14H20V12Z"}))}var jC=__webpack_require__(67294),BC=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 jC.createElement("svg",{"aria-hidden":r,viewBox:"0 0 16 16",width:m,height:l,className:eC()("i i-heart".concat(d?"Filled":"Outline"),t),focusable:s},jC.createElement("title",null,p),jC.createElement("desc",null,o),jC.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 FC=__webpack_require__(67294),UC=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 FC.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&&FC.createElement("title",null,u),i&&FC.createElement("desc",null,i),FC.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"}),FC.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"}))},zC=(__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)),HC=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 zC.createElement("svg",{viewBox:"0 0 12 12",width:a,height:u,className:eC()("i i-notAllowed",l),focusable:d},zC.createElement("title",null,n),zC.createElement("desc",null,i),zC.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"}))},VC=(__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(67294),__webpack_require__(73955)),WC=__webpack_require__.n(VC);function YC(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var GC=function(e){ut(n,e);var t=YC(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).maskId="person-unknown-mask-".concat(WC()()),r.pathId="person-unknown-path-".concat(WC()()),r}return rt(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 m.createElement("svg",{"aria-hidden":l,viewBox:"0 0 38 38",width:o,height:s,className:eC()("i i-person-unknown",u),focusable:d},n&&m.createElement("title",null,n),r&&m.createElement("desc",null,r),m.createElement("defs",null,m.createElement("circle",{id:this.pathId,cx:"19",cy:"19",r:"19"})),m.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},m.createElement("mask",{id:this.maskId,fill:"#fff"},m.createElement("use",{href:"#".concat(this.pathId)})),m.createElement("use",{fill:"#D8D8D8",href:"#".concat(this.pathId)}),m.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}(m.Component),KC=__webpack_require__(67294),ZC=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 KC.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:u,viewBox:"0 0 16 14",className:eC()("i i-pickOne",l),focusable:d},KC.createElement("title",null,n),KC.createElement("desc",null,i),KC.createElement("g",{fillRule:"evenodd"},KC.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"}),KC.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 XC(e){return m.createElement(QT,yt({viewBox:"0 0 16 16"},e),m.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"}),m.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"}),m.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 $C(e){return m.createElement(QT,yt({viewBox:"0 0 15 14"},e),m.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"}),m.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 QC(e){return m.createElement(QT,yt({viewBox:"0 0 19 19"},e),m.createElement("path",{d:"M0.501383 10.1399C0.078125 10.2969 0.0459581 10.6821 0.134912 11.1757C0.935391 15.6176 4.82467 18.9981 9.49926 18.9981C14.958 18.9981 19.357 14.3791 18.9771 8.84037C18.6572 4.14143 14.8381 0.32229 10.1391 0.0223579C6.89974 -0.1976 3.96051 1.22216 2.10093 3.54164L1.20117 2.80184C0.821218 2.50196 0.24142 2.76181 0.24142 3.2617V6.681C0.24142 7.06095 0.581326 7.34085 0.941334 7.2608L1.10118 7.22077L1.86104 7.06078L2.181 7.00081L4.30034 6.54095C4.78027 6.44094 4.94027 5.82111 4.54025 5.50115L3.46056 4.64141C5.04013 2.68189 7.57963 1.50205 10.359 1.80205C13.9182 2.182 16.7976 5.06135 17.1975 8.62051C17.6975 13.2795 14.0582 17.2386 9.4992 17.2386C5.70201 17.2386 2.54431 14.4955 1.87876 10.8928C1.78998 10.4123 1.57812 9.89844 1.10115 10L0.501383 10.1399Z"}))}__webpack_require__(67294);function JC(e){return m.createElement(QT,yt({viewBox:"0 0 23 17"},e),m.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 eA=function(e){return m.createElement(QT,yt({viewBox:"0 0 16 16"},e),m.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"}))},tA=__webpack_require__(67294),nA=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 tA.createElement("svg",{viewBox:"0 0 22 7",width:a,height:u,className:eC()("i i-sortable",l),focusable:d},tA.createElement("title",null,n),tA.createElement("desc",null,i),tA.createElement("rect",{x:"0",y:"0",width:"100%",height:"1",strokeWidth:"1"}),tA.createElement("rect",{x:"0",y:"3",width:"100%",height:"1",strokeWidth:"1"}),tA.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 rA(e){return m.createElement(QT,yt({viewBox:"0 0 15 16"},e),m.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"}),m.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 iA(e){return m.createElement(QT,yt({viewBox:"0 0 16 12"},e),m.createElement("g",{transform:"translate(-1 -2)"},m.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 oA,aA,sA,uA,lA,cA,dA,fA=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 m.createElement("svg",{"aria-hidden":t,"aria-label":n,className:eC()("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&&m.createElement("title",null,d),o&&m.createElement("desc",null,o),m.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"}))},pA={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"},hA="all",mA="none",vA="incorrect",gA=Al()([[b_()([Ma()(!0),Ma()(hA)]),Hr()(hA)],[b_()([Ma()(!1),Ma()(mA)]),Hr()(mA)],[Ma()(vA),Hr()(vA)],[db(),Hr()(hA)]]),yA=pA,bA=Po()("rise/status/")("SET_LOADED"),_A=Pa({connection:"connected",courseLoaded:!1,fontsLoaded:!1,notFound:!1,partnerContentLoaded:!1},Ar({},bA,(function(e,t){return yo()(e,t)}))),wA=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Na(bA,{courseLoaded:e})},kA=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Na(bA,{partnerContentLoaded:e})},EA=Po()("rise/course/"),xA=EA("LOAD_COURSE"),SA=EA("UPDATE_COMPLETED_AT"),TA=EA("UPDATE_COURSE_PREVIEW"),CA=Ea()(de()(Wo(),Br()(["settings","revealAnswers"])),sa()(Jo()(["settings","revealAnswers"]),gA)),AA=sa()(ta()("lessons"),di()(CA)),OA=function(e){return de()(yo()(e),oa()("lessonsOnly"),n_()(bi()("type","section")))(e.lessons)},NA=O_()(Wo(),"theme"),PA=de()(HT,zT),LA=Gr()(NA,PA,HT),MA=Sx()(Co()("favoritedAt",new Date)),IA=Sx()(Co()("favoritedAt",null)),RA=Sx()(Ex()("completedAt",(function(){return(new Date).toISOString()}))),DA=Pa({},(Ar(oA={},Lx,MA),Ar(oA,Mx,IA),Ar(oA,xA,(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 pa()(AA,OA,yo()(Ua(),{completedAt:n,favoritedAt:i,riseComCourseId:a,riseComEnrollmentType:s,riseComCurrentUser:o,riseComLearningPathId:u}),LA)(r)})),Ar(oA,SA,RA),Ar(oA,TA,(function(e,t){return t.course})),oA)),qA=function(e){return function(t){404===t.statusCode&&e(function(){return Na(bA,{notFound:arguments.length>0&&void 0!==arguments[0]&&arguments[0]})}(!0))}},jA=function(e){return function(t){return t([Na(Ix,e),kA(!0)])}},BA=function(e){return Ra()(e)?kA(!0):Ca()(t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return ZE("fetchPartnerContent")?GE.fetchPartnerContent(e):Ur().of({content:[]})}(e)).call(t,jA);var t},FA=function(e){return function(t){var n=t.course,r=function(e){var t=e.course,n=e.lessons,r=YT()($T,n),i=Cu()(null,"partnerContentId",t),o=i?[i]:[];return Il(r,Po()(o),KT())}({course:n,lessons:n.lessons});e([Na(xA,t),wA(!0),BA(r)])}},UA=function(){return function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ZE("fetch")?qr().resolve(GE.fetch()):qr().resolve(e)}().then(FA(e)).catch(qA(e))}},zA=Na(TA),HA=(Na(SA),Pa({},Ar({},xA,(function(e,t){var n=t.labelSet;return yo()(e,n)})))),VA=__webpack_require__(96249),WA="rise/features/SET_FEATURE_FLAGS",YA=(0,VA.handle)({},Ar({},WA,(function(e,t){return t}))),GA=(0,VA.action)(WA),KA=__webpack_require__(18231),ZA=__webpack_require__.n(KA),XA=__webpack_require__(37347),$A=__webpack_require__.n(XA),QA=(__webpack_require__(75933),di()(Bn()(Po())(":".concat("n3,n4,i4,n7,n9"))),de()(ZA()(","),Zo()),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)}))}),JA=function(e,t){var n,r,i,o=document.createElement("style");return o.innerText=_t()(n=_t()(r=_t()(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($A())(t.name,{style:t.style,weight:t.weight}).load()},eO=function(e){var t="url(".concat(function(e){var t;if(Wn("resolveFontPath"))return zn.resolveFontPath(e);var n=e.default?Hn("CDN_URI"):Hn("CDN_USER_CONTENT_URI");return _t()(t="".concat(n,"/")).call(t,e.key)}(e),") format('woff')");return("fonts"in document?QA:JA)(t,e)},tO=function(e,t){var n,r=qr().all(Ca()(e).call(e,eO)),i=new(qr())((function(e){n=setTimeout(e,5e3)}));return qr().race([r,i]).finally((function(){clearTimeout(n),t()}))},nO=(Po()("rise/fonts/")("LOAD_FONTS"),yo()({})),rO=Pa({},(Ar(aA={},xA,(function(e,t){var n=t.fonts;return yo()(e,wa()(iO)(n))})),Ar(aA,TA,(function(e,t){var n=t.fonts;return nO(n)})),aA)),iO=function(e){return tO(e,(function(){return sN(function(){return Na(bA,{fontsLoaded:arguments.length>0&&void 0!==arguments[0]&&arguments[0]})}(!0))}))},oO=Pa({isPreview:"preview"===window.viewType,externalLinksModalVisible:!1},Ar({},Po()("rise/globals/")("SHOW_EXTERNAL_LINKS_MODAL"),(function(e,t){return yo()(e,{externalLinksModalVisible:t})}))),aO=__webpack_require__(55389),sO=__webpack_require__.n(aO),uO=M_()(2,(function(e){return lc()((0,VA.error)(e),(0,VA.action)(e))})),lO=Po()("rise/learningPathUpNext/"),cO=lO("FETCH_LP_UP_NEXT"),dO=lO("FETCH_LP_UP_NEXT_PENDING"),fO=$a()(lb()("id")),pO=Bn()(Ek()({nextCourse:Sa()(fO,Hr()({})),learningPathComplete:fO,lpHasFailedQuiz:Un()("lpHasFailedQuiz"),isPending:!1,isSuccess:!0})),hO=Co()("isPending",!0),mO=((0,VA.handle)({nextCourse:{},learningPathComplete:!1,isPending:!1,isSuccess:!1},(Ar(sA={},cO,(0,VA.onSuccess)(pO)),Ar(sA,dO,hO),sA)),sO()([(0,VA.action)(dO),pa()(Ur().fromPromise((function(){if(Cx("fetchLpUpNext"))return Tx.fetchLpUpNext.apply(Tx,arguments)})),uO(cO))])),vO=__webpack_require__(89576),gO=__webpack_require__.n(vO),yO=__webpack_require__(67964),bO=__webpack_require__.n(yO),_O=function(e,t){var n=ts()(bi()("id",t.id),e.content),r=-1===n?gO()(t):bO()(n,t);return oi()({content:r},e)},wO=Ar({},Ix,(function(e,t){return ma()(_O,e,t)})),kO=(0,VA.handle)({content:[]},wO),EO=Po()("rise/search/"),xO=EO("RESET_SEARCH"),SO=EO("SET_SEARCH_ACTIVE"),TO=EO("SET_SEARCH_ACTIVE_LESSONS"),CO=EO("SET_SEARCH_LESSONS"),AO=EO("SET_SEARCH_TERM"),OO={active:!1,activeLessons:[],lessons:[],term:null},NO=Pa(OO,(Ar(uA={},xO,(function(e,t){return t?Co()("active",e.active,OO):e})),Ar(uA,SO,(function(e,t){return Co()("active",t,e)})),Ar(uA,TO,(function(e,t){return Co()("activeLessons",t,e)})),Ar(uA,CO,(function(e,t){return Co()("lessons",t,e)})),Ar(uA,AO,(function(e,t){return Co()("term",t,e)})),uA)),PO=Na(xO),LO=Na(SO),MO=Na(TO),IO=Na(CO),RO=Na(AO),DO=Po()("rise/sessionPreferences/"),qO=DO("LOAD_SESSION_PREFERENCES"),jO=DO("SET_PREFERS_KEYBOARD_NAVIGATION"),BO=DO("SET_STARTING_COURSE_LESSON_SELECTED"),FO=Pa({prefersKeyboardNavigation:!1,startedCourseWithLessonSelected:!1},(Ar(lA={},qO,yo()),Ar(lA,jO,(function(e,t){return yo()(e,{prefersKeyboardNavigation:t})})),Ar(lA,BO,(function(e,t){return yo()(e,{startedCourseWithLessonSelected:t})})),lA)),UO=Hr()(Na(qO,null)),zO=Na(jO),HO=(Na(BO),"up"),VO="down",WO="rise/slidesUI/SET_SLIDE_DIRECTION",YO="rise/slidesUI/SET_EXITING_SLIDE_OFFSET",GO={slideDirection:HO,exitingSlideOffset:0},KO=(0,VA.handle)(GO,(Ar(cA={},WO,Bn()(Co()("slideDirection"))),Ar(cA,YO,Bn()(Co()("exitingSlideOffset"))),cA)),ZO=(0,VA.action)(WO),XO=(0,VA.action)(YO),$O=Po()("rise/ui/"),QO=$O("SET_LESSON_NAV_NEXT_BUTTON_UI"),JO=$O("SET_SKIP_TO_NAV_BUTTON_UI"),eN=(0,VA.handle)({lessonNavNextButton:null,skipToNavButton:null},(Ar(dA={},QO,Bn()(Co()("lessonNavNextButton"))),Ar(dA,JO,Bn()(Co()("skipToNavButton"))),dA)),tN=(0,VA.action)(QO),nN=(0,VA.action)(JO);function rN(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var iN=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rN(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):rN(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({course:DA,courseLabels:HA,courseProgress:Qu,features:YA,fonts:rO,global:oO,partnerContent:kO,search:NO,sessionPreferences:FO,slidesUI:KO,status:_A,ui:eN},{}),oN=(__webpack_require__.g.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,de()),aN=function e(t,n,r){var i;if("function"==typeof n&&"function"==typeof r||"function"==typeof r&&"function"==typeof arguments[3])throw new Error(cx(0));if("function"==typeof n&&void 0===r&&(r=n,n=void 0),void 0!==r){if("function"!=typeof r)throw new Error(cx(1));return r(e)(t,n)}if("function"!=typeof t)throw new Error(cx(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(cx(3));return a}function f(e){if("function"!=typeof e)throw new Error(cx(4));if(l)throw new Error(cx(5));var t=!0;return c(),u.push(e),function(){if(t){if(l)throw new Error(cx(6));t=!1,c();var n=u.indexOf(e);u.splice(n,1),s=null}}}function p(e){if(!hx(e))throw new Error(cx(7));if(void 0===e.type)throw new Error(cx(8));if(l)throw new Error(cx(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(cx(10));o=e,p({type:px.REPLACE})}function m(){var e,t=f;return e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(cx(11));function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}},e[dx]=function(){return this},e}return p({type:px.INIT}),(i={dispatch:p,subscribe:f,getState:d,replaceReducer:h})[dx]=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:px.INIT}))throw new Error(cx(12));if(void 0===n(void 0,{type:px.PROBE_UNKNOWN_ACTION()}))throw new Error(cx(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(cx(14))}i[u]=d,r=r||d!==c}return(r=r||a.length!==Object.keys(e).length)?i:e}}(iN),oN(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(cx(15))},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(i)}));return r=mx.apply(void 0,o)(n.dispatch),lx(lx({},n),{},{dispatch:r})}}}(wx.Z,_x(),(0,yx.Z)("run"),gx(),(function(e){var t=e.dispatch;return function(e){return function(n){"function"!=typeof Ca()(n)?e(n):Ca()(n).call(n,t)}}})))),sN=aN.dispatch;function uN(e,t){return e===t}function lN(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 cN(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 dN=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=cN(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]:uN,n=null,r=null;return function(){return lN(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}));function fN(e){return null==e?void 0:e.course}function pN(){return Jt((function(e){return fN(e)}))}function hN(e){return fN(e).trackingQuizId}function mN(e){return fN(e).coverImage}var vN=dN(mN,(function(e){return ZS(e)}));function gN(){return Jt((function(e){return function(e){var t=fN(e);return null==t?void 0:t.type}(e)}))}function yN(e){var t=fN(e);return(null==t?void 0:t.type)===Pb}function bN(){return Jt((function(e){return function(e){var t,n=fN(e);return null==n||null===(t=n.theme)||void 0===t?void 0:t.slideNavigationType}(e)}))}var _N=__webpack_require__(33610),wN=__webpack_require__.n(_N),kN=__webpack_require__(17919),EN=__webpack_require__.n(kN),xN=__webpack_require__(54228),SN=__webpack_require__.n(xN),TN=__webpack_require__(46376),CN=__webpack_require__.n(TN),AN=__webpack_require__(15598),ON=__webpack_require__.n(AN),NN=__webpack_require__(72038),PN=__webpack_require__.n(NN),LN=Un()("lessons"),MN=Uw()((function(e){return!!e}),["settings","passToContinue"]),IN=function(e){var t,n=e.course,r=e.courseProgress;return de()(_E(),si()((t=LN(r),de()(cu(),(function(e){return Br()([e,"passed"],t)}),Un()("id")))),si()(MN),LN)(n)||{}},RN=de()(cu(),Ra()),DN=de()(si()(KS),Un()("lessonsOnly")),qN=function(e){return function(t){return cu()(Br()(["lessons",t.id,"isComplete"],e))}},jN=function(e){var t=e.course,n=e.lesson;return bi()("id",n.id,_E()(Un()("lessonsOnly",t)))},BN=de()(cu(),bi()("type","section")),FN=function(e){var t=e.course,n=e.courseProgress,r=e.lesson,i=e.restrictingQuiz,o=(e.lxpEnabled,function(e){var t=e.courseProgress,n=e.lesson,r=e.restrictingQuiz,i=function(e){return Br()([e,"index"],LN(t))},o=i(Un()("id",n));return de()(PN()(o),i,Un()("id"))(r)?r:{}}({courseProgress:n,lesson:r,restrictingQuiz:i})),a=QS(t),s=a||RN(o),u=function(e){var t=e.course,n=e.courseProgress;return CN()(qN(n))(t.lessonsOnly)}({course:t,courseProgress:n}),l=BN(r)&&cu()(function(e){var t=e.lesson,n=e.courseProgress;return xl()(!1,["lessons",t.id,"isComplete"],n)}({lesson:r,courseProgress:n})),c=s&&l&&cu()(function(e){var t=e.lesson,n=e.currentLesson;return t&&bi()("id",t.id,n)}({lesson:r,currentLesson:u}));return{isRestricted:c,isRestrictedNotEnrolledCourse:false,isRestrictedNotEnrolledLP:false,restrictingQuiz:o,isRestrictedCourse:a,currentLesson:u}},UN=function(e){var t=e.labels,n=e.restrictions,r=t.lessonRestricted,i=t.quizRequirePassingScore,o=n.isRestrictedCourse,a=n.isRestrictedNotEnrolledCourse,s=n.isRestrictedNotEnrolledLP,u=n.restrictingQuiz,l=n.currentLesson,c=l&&SN()("id",u,l);return a?"Please save to My List to take this course":s?null:!o||o&&c?u.title?i.replace("quiz",'"'.concat(u.title,'"')):i:r},zN=kl()((function(e){return ts()(ON()(da()(["id"],e||{})))})),HN=function(e){var t=e.course,n=e.lesson;return de()(Rs(),zN(n),DN)(t)},VN=function(e){var t=e.course,n=e.lesson;return!function(e){var t=e.course,n=e.lesson;return bi()("id",n.id,Ll()(Un()("lessonsOnly",t)))}({course:t,lesson:n})&&t.lessonsOnly[Rs()(zN(n,t.lessonsOnly))]},WN=de()($o(),DN),YN=Uo()(Wo(),Ra()),GN=Uo()(Wo(),Ma()(!1)),KN=O_()(GN,"isComplete"),ZN=Uo()(O_()(Ma()(!1),"passed"),O_()(GN,"isComplete")),XN=M_()(2,(function(e){return CN()(Gr()(de()(Ma()(e),_E()),de()(ZN,Ll()),de()(KN,Ll())))})),$N=M_()(2,(function(e){return pa()(ms(),XN(e),so()([]),_E())})),QN=Bn()(M_()(2,(function(e){return Gr()(YN,Hr()(e),$N(e))}))),JN=function(e,t,n){if(!n)return{outOfAttempts:!1,quizPassed:!0};var r=Br()(["lessons",n],e),i=xl()(-1,["settings","retryCount"],t),o=xl()(0,["retryAttempts"],r),a=Br()(["passed"],r);return{outOfAttempts:Br()(["isComplete"],r)&&i>-1&&Ma()(Number(o),Number(i)),quizPassed:a}};function eP(e){return e.courseProgress}function tP(e){var t=eP(e);return null==t?void 0:t.currentLesson}function nP(e){var t=eP(e);return null==t?void 0:t.percentComplete}function rP(){return Jt((function(e){return nP(e)}))}var iP=dN(hN,fN,(function(e,t){var n=t.lessons;return Array.isArray(n)?OS()(n).call(n,(function(t){var n=t.id;return"quiz"===t.type&&n===e})):null}));var oP=dN(eP,iP,(function(e,t){return t?JN(e,t,t.id):null}));function aP(){return Jt((function(e){return oP(e)}))}function sP(e){var t=eP(e);return ix()?100===t.percentComplete:nx()}function uP(e){var t=eP(e);return null==t?void 0:t.lessons}function lP(e,t){var n=uP(t);return null==n?void 0:n[e]}function cP(e){return Jt((function(t){return lP(e,t)}))}var dP="quiz",fP="section",pP=xb()({ENROLLMENT:null,ORDER:null,QUIZ:null}),hP=function(e){return"/lessons/".concat(encodeURIComponent(e))},mP=bi()("type"),vP=mP(fP),gP=mP(dP),yP=qs()(["settings","passToContinue"],!0);function bP(){return dN((function(e){return e}),(function(e,t){return OP(t)}),(function(e,t){return Un()(e,t)}))}function _P(e){var t=(0,m.useMemo)((function(){return bP()}),[]);return Jt((function(n){return t(e,n)}))}function wP(){var e=bP();return dN(e,(function(e){return vP(e)}))}function kP(){var e=xP();return dN((function(e){return e}),(function(t,n){return e(n)}),(function(e,t){return function(e){return fN(e).navigationMode}(t)}),(function(e,t){return qP(t)}),(function(e,t){return uP(t)}),(function(e,t){return fN(t)}),(function(e,t){return function(e,t){return t.features[e]}("rise-com-lxp",t)}),(function(e,t,n,r,i,o,a){var s=i[e],u=i[t];if(e!==t&&(null==s||!s.isComplete)&&(null==s?void 0:s.index)>(null==u?void 0:u.index)){var l,c,d,f=null!==(l=null===(c=i[null==r?void 0:r.id])||void 0===c?void 0:c.index)&&void 0!==l?l:1/0,p="restricted"===n&&null!==(d=null==u?void 0:u.index)&&void 0!==d?d:1/0;if((null==s?void 0:s.index)>Math.min(f,p))return p<f?{type:pP.ORDER}:{type:pP.QUIZ,data:r.title}}return null}))}function EP(e){var t=(0,m.useMemo)((function(){return kP()}),[]);return Jt((function(n){return t(e,n)}))}function xP(){return dN(hN,uP,(function(e,t){return QN(t,e)}))}function SP(){var e=xP();return dN(e,OP,Un())}function TP(e){var t=(0,m.useMemo)((function(){return e=bP(),dN(e,lP,(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||gP(e)&&!s)}));var e}),[]);return Jt((function(n){return t(e,n)}))}function CP(e){var t=(0,m.useMemo)((function(){return e=bP(),dN(e,lP,(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&&(!gP(e)||s)}));var e}),[]);return Jt((function(n){return t(e,n)}))}var AP=dN(fN,(function(e){return Cu()([],"lessons",e)})),OP=dN(AP,(function(e){return e.reduce((function(e,t){return null!=t&&t.id&&(e[t.id]=t),e}),{})})),NP=dN(fN,(function(e){return Cu()([],"lessonsOnly",e)})),PP=dN(NP,(function(e){return e.reduce((function(e,t,n){return e[t.id]=n+1,e}),{})})),LP=dN(NP,(function(e){return gi()("id",e)})),MP=dN(NP,(function(e){return _E()(e)})),IP=dN(NP,si()((function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson}))),RP=dN(IP,$o()),DP=dN(AP,(function(e){return e.reduce((function(e,t){var n=e[e.length-1];return vP(t)||null==n?e.push([t.id]):n.push(t.id),e}),[])})),qP=dN(NP,uP,(function(e,t){return OS()(e).call(e,(function(e){var n;return gP(e)&&yP(e)&&!(null!==(n=t[e.id])&&void 0!==n&&n.isComplete)}))}));function jP(e){var t=(0,m.useMemo)(wP,[]);return Jt((function(n){return t(e[0],n)}))}function BP(e){var t=(0,m.useMemo)((function(){return bP()}),[]),n=(0,m.useMemo)((function(){return kP()}),[]);return Jt((function(r){var i=fN(r),o=t(e,r),a=(lP(e,r),n(e,r)),s=null!=(null==a?void 0:a.type);return(null==i?void 0:i.navigationMode)!==lS&&(null==i?void 0:i.markComplete)&&!s&&(null==o?void 0:o.type)!==dP&&!0}))}var FP=function(e,t){return wN()(t).call(t,(function(t){return t.id===e}))};function UP(){return dN((function(e){return e}),(function(e,t){return NP(t)}),(function(e,t){if("progress-summary"===e)return Ll()(t);var n=FP(e,t);return t[EN()(n)]}))}function zP(){return dN((function(e){return e}),(function(e,t){return NP(t)}),(function(e,t){var n=FP(e,t);return t[Rs()(n)]}))}function HP(e){return dN(e,(function(e,t){return IP(t)}),(function(e,t){return FP(null==e?void 0:e.id,t)+1}))}function VP(){return Jt((function(e){return DP(e)}))}function WP(){var e=(0,m.useMemo)((function(){return e=xP(),dN(sP,e,hN,(function(e,t,n){return e||!t&&!(null!=n)}));var e}),[]);return Jt((function(t){return e(t)}))}var YP=function(e,t){var n=Ca()(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}},GP=function(){var e,t=(e=bP(),dN(e,(function(e){var t,n;return null==e||null===(t=e.items)||void 0===t||null===(n=t.reduce(YP,{map:{},dividerNumber:0}))||void 0===n?void 0:Ca()(n)})));return dN((function(e,t){return t}),(function(e,n,r){return t(e,r)}),(function(e,t){return Un()(e,t)}))};function KP(e){var t;return null==e||null===(t=e.courseLabels)||void 0===t?void 0:t.labels}function ZP(){return Jt((function(e){return KP(e)}))}var XP=__webpack_require__(67294),$P=["Default","className"];function QP(e){return function(t){var n,r=t.Default,i=t.className,o=Wi(t,$P),a="brand--".concat(e),s=i?_t()(n="".concat(i," ")).call(n,a):a;return XP.createElement(r,yt({},o,{className:s}))}}QP("background"),QP("head");var JP=QP("ui"),eL=__webpack_require__(67294),tL=["targetColor"],nL=gt()((0,m.createContext)(null),{displayName:"CourseContext"});function rL(e){var t=e.children,n=e.course,r=e.partnerContent,i=e.search,o=(0,m.useMemo)((function(){return{course:n,partnerContent:r,search:i}}),[n,r,i]);return eL.createElement(nL.Provider,{value:o},t)}nL.Consumer;var iL=m.useContext.bind(null,nL);function oL(){return iL().course}function aL(){var e,t=oL();return"none"===t.selectedAuthorId?null:null===(e=t.authors)||void 0===e?void 0:OS()(e).call(e,(function(e){return e.id===t.selectedAuthorId||e.id===t.author}))}function sL(){var e=iL(),t=e.course,n=e.partnerContent;return CN()(bi()("id",t.selectedAuthorId),n.content)}function uL(){var e=oL().lessons;return(0,m.useMemo)((function(){return Array.isArray(e)?dr()(e).call(e,(function(e){return"section"!==e.type})).length:0}),[e])}function lL(e){var t,n=oL(),r=null===(t=n.theme)||void 0===t?void 0:t.lessonHeaderTextColor;return"string"!=typeof r?yS.LIGHT:r===yS.AUTO?function(e){var t=e.colorAccent,n=e.lessonHeaderColor;switch(e.lessonHeaderStyle){default:case rS.DARK:case rS.BLACK:case rS.IMAGE:return yS.LIGHT;case rS.LIGHT:case rS.GRAY:return yS.DARK;case rS.TINT:return GS(sT(t));case rS.ACCENT:return GS(t);case rS.COLOR:return GS(null!=n?n:t)}}(n.theme):r}var cL=(0,__webpack_require__(22175).setup)({el:"__",mod:"--",modValue:"-"});__webpack_require__(67294),cL("cover");var dL=__webpack_require__(30381),fL=__webpack_require__.n(dL);__webpack_require__(67294),cL("cover");__webpack_require__(67294),cL("cover");function pL(){return null}var hL=__webpack_require__(67294),mL=cL("cover");function vL(e){var t=e.format,n=void 0===t?"[Published] MMMM D, YYYY":t,r=oL().publishedAt;if(!r)return null;var i=fL()(r);return i.isValid()?hL.createElement("div",{className:mL("details-content-published-at")},i.format(n)):null}var gL=__webpack_require__(38439),yL=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return wr()(e=t.split(".")).call(e,-2).join(".")},bL=de()(yL,Hn),_L=function(e){if(!e||wL(e))return!1;"//"===wr()(e).call(e,0,2)&&(e="https:".concat(e));try{var t=new(e_())(e).hostname,n=yL(t);return n!==bL("ARTICULATE_DOMAIN")&&n!==bL("RISE_DOMAIN")}catch(e){return!1}},wL=function(e){return!!e&&"mailto:"===wr()(e).call(e,0,7)};function kL(e,t){var n=void 0!==ct()&&br()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return EL(e,t);var r=wr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Er()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return EL(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 EL(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 xL=function(e){var t=e.allowTabNavigation,n=e.className,r=void 0===n?"":n,i=e.externalLinksDisabled,o=e.forwardedRef,a=e.id,s=e.showExternalLinksModal,u=e.tagName,l=e.value,c=(0,m.useCallback)((function(e){var t=e.target.closest(".fr-view a");t&&t.hasAttribute("data-external")&&s()}),[s]),d=(0,m.useMemo)((function(){var e,n=ri(l);return function(e,t){var n=document.createElement("div");n.innerHTML=t;var r,i=kL(e);try{for(i.s();!(r=i.n()).done;){(0,r.value)(n)}}catch(e){i.e(e)}finally{i.f()}return n.innerHTML}(_t()(e=Array.prototype).call(e,SL,i?TL:[],t?AL:CL),n)}),[t,i,l]);return m.createElement("div",{"aria-hidden":!t||void 0,className:"".concat(r," brand--linkColor"),onClickCapture:i?c:void 0,id:a,ref:o},(0,m.createElement)(u,{className:"fr-view",dangerouslySetInnerHTML:{__html:d}}))};function SL(e){var t,n=kL(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 TL(e){var t,n=kL(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;_L(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 CL(e){var t,n=kL(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 AL(e){var t,n=kL(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()}}xL.defaultProps={allowTabNavigation:!0,tagName:"div"};var OL=Ek()({externalLinksDisabled:Br()(["course","externalLinksDisabled"])}),NL=de()(gL.default,Qt(OL,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}}))(xL),PL=function(e){return"<p><br></p>"===e?"":e},LL=__webpack_require__(67294);function ML(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function IL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ML(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):ML(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function RL(e,t){var n=(0,m.useMemo)((function(){var n;return matchMedia(_t()(n="(".concat(e,": ")).call(n,.0625*t,"em)"))}),[e,t]),r=Cr((0,m.useState)(n.matches),2),i=r[0],o=r[1];return(0,m.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 DL(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=RL(e,t);return LL.createElement(i,IL(IL({},r),{},Ar({},n,o)))}return a.displayName=_t()(o="".concat(r,"(")).call(o,i.displayName||i.name,")"),a}}function qL(e){return RL("max-width",e-1)}function jL(e,t,n){return DL("max-width",e-1,t,n)}var BL=qL.bind(null,1200),FL=(qL.bind(null,992),qL.bind(null,768)),UL=qL.bind(null,480),zL=cL("cover"),HL=function(){var e=oL(),t=BL(),n=e.description;return n?m.createElement("div",null,m.createElement("section",{className:zL("details-content-section")},t?m.createElement(pL,null):m.createElement(vL,null),m.createElement(NL,{className:zL("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:PL(n)}))):null},VL=function(e){if(!e)return"";var t=fL()(e),n=fL()(),r=fL()(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"))},WL=function(e){return fL()(e).isSameOrBefore(fL()().add(3,"d"),"days")},YL=__webpack_require__(67294),GL=["Default"];function KL(e){var t=e.Default,n=Wi(e,GL),r=n.dueAt,i=r&&WL(r)?"brand--background":"brand--color";return YL.createElement(t,yt({},n,{className:i}))}var ZL=__webpack_require__(67294),XL=["children"],$L={},QL=gt()((0,m.createContext)($L),{displayName:"BundleContext"});function JL(e){var t=e.children,n=Wi(e,XL);return ZL.createElement(QL.Provider,{value:n},t)}function eM(){return null}function tM(e){function t(t,n){var r,i=null!==(r=(0,m.useContext)(QL)[e])&&void 0!==r?r:eM;return ZL.createElement(i,yt({ref:n},t))}return t.displayName="BundleComponent(".concat(e,")"),(0,m.forwardRef)(t)}var nM=tM("CoverAction"),rM=function(e){return e.displayName||e.name||"Component"},iM=__webpack_require__(3522),oM=__webpack_require__.n(iM),aM=__webpack_require__(53735),sM=__webpack_require__.n(aM),uM=function(e,t){return m.createElement("mark",{key:t},e)},lM=Ja()((function(e,t){return sM()(new RegExp(oM()(t),"igm"),uM,e)})),cM=(kl()((function(e,t){return t.reduce((function(t,n){return t+n[e]}),0)})),__webpack_require__(56169)),dM=__webpack_require__.n(cM),fM=__webpack_require__(46164),pM=__webpack_require__.n(fM),hM=__webpack_require__(53485),mM=__webpack_require__.n(hM),vM=__webpack_require__(99062),gM=__webpack_require__.n(vM),yM=__webpack_require__(27632),bM=__webpack_require__.n(yM),_M=__webpack_require__(99325),wM=__webpack_require__.n(_M),kM=__webpack_require__(72956),EM=__webpack_require__.n(kM),xM=wM()(gM()),SM=Sa()(gM(),(function(){return{}})),TM=wM()(mM()),CM=pM()(dM()(TM),dM()(bM())),AM=(EM()(CM),Ja()((function(e,t,n){return n>=e&&n<t})),function(e){return e<10?"0".concat(e):String(e)}),OM=function(e){return Intl.NumberFormat(void 0,{style:"percent",maximumFractionDigits:2}).format(e)},NM=Po()("partner-content-course-author__"),PM=function(e){var t,n=e.partnerContentAuthors,r=e.color,i=e.darkText,o=e.learn,a=e.lesson,s=e.isOnePage,u=e.selectedContentId,l=CN()(bi()("id",u),n),c=Br()(["data","authors"],l),d=a?c:n,f=dr()(d).call(d,(function(e){return e.name})),p=eC()(NM("author-container"),Ar({},NM("author-container-padding-top"),i)),h=eC()((Ar(t={},NM("gray-text"),!o&&!s),Ar(t,NM("author--accent-light"),!DS(r)),t)),v=function(e){return"url(".concat(Kx({width:"76",height:"76",imageKey:e.image}),")")};return m.createElement("section",null,m.createElement("h2",{className:"visually-hidden"},"Authors"),m.createElement("ol",{className:p,role:"list"},Ca()(f).call(f,(function(e){return m.createElement("li",{key:e.name,className:NM("author"),role:"listitem"},m.createElement("div",{"aria-hidden":"true",className:NM("author-image"),style:{backgroundImage:v(e)}}),m.createElement("span",{className:h},e.name))}))))},LM=cL("cover"),MM=function(e){var t=e.avatar;return t?m.createElement("div",{className:LM("header-content-authors-avatar"),style:{backgroundImage:"url(".concat(Gn(t),")")}}):m.createElement("div",{className:LM("header-content-authors-avatar-fallback")},m.createElement(GC,{decorative:!0}))},IM=DB("CoverAuthors",(function(e){var t,n,r,i,o,a=e.className,s=null!==(t=oL())&&void 0!==t?t:{},u=s.color,l=s.partnerContentId,c=s.selectedAuthorId,d=null!==(n=aL())&&void 0!==n?n:{},f=d.authorName,p=d.avatar,h=(o=sL(),null!==(r=null==o||null===(i=o.data)||void 0===i?void 0:i.authors)&&void 0!==r?r:null),v=Boolean(l)&&!Wo()(h);if("none"===c)return null;var g=f||"Unknown User",y="By ".concat(g),b=LM("header-content-authors").mix(a);return v?m.createElement("div",{className:b},m.createElement(PM,{color:u,learn:!0,partnerContentAuthors:h})):m.createElement("div",{className:b},m.createElement(MM,{avatar:p}),m.createElement("div",{className:LM("header-content-authors-name")},m.createElement("span",{"aria-hidden":"true"},g),m.createElement("span",{className:"visually-hidden"},y)))})),RM=DB("CoverContentNoImage",(function(e){var t=e.className,n=e.children,r=eC()(t,"cover__header-content");return m.createElement("div",{className:r},n)})),DM=function(e){var t,n=e.children,r=(null!==(t=oL())&&void 0!==t?t:{}).coverImage,i=ZS(r);return m.createElement("div",{className:"cover__header-content",style:i},n)},qM=cL("cover"),jM=function(e){var t,n=e.hasOverlay,r=void 0!==n&&n,i=(null!==(t=oL())&&void 0!==t?t:{}).coverImage,o=i.alpha,a=i.media,s=ZS({alpha:o,media:a,hasOverlay:r});return m.createElement("div",{className:qM("header-graphic",{"dot-com":!1}),style:s})},BM=__webpack_require__(67294),FM=cL("cover"),UM=function(e){var t=e.children,n=!!sL(),r=FM("header-content-info",{rbc:n,riseCom:Vn});return BM.createElement("div",{className:r},t)},zM=tM("CoverProgress"),HM=cL("cover"),VM=DB("CoverTitle",(function(e){var t=e.className,n=oL().title;return m.createElement("h1",{className:HM("header-content-title").mix(t)},n)})),WM={SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_LEFT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_RIGHT_IMAGE:"LEFT_OVERLAY"};function YM(){var e,t=oL().coverPageType;return FL()&&null!==(e=WM[t])&&void 0!==e?e:t}var GM=function(){return m.createElement(m.Fragment,null,m.createElement(DM,null,m.createElement(UM,null,m.createElement(IM,null),m.createElement(VM,null),m.createElement(zM,null),m.createElement(nM,null))))},KM=function(){return m.createElement(m.Fragment,null,m.createElement(RM,null,m.createElement(UM,null,m.createElement(IM,null),m.createElement(VM,null),m.createElement(zM,null),m.createElement(nM,null))))},ZM=function(){return m.createElement(m.Fragment,null,m.createElement(jM,null),m.createElement(RM,null,m.createElement(UM,null,m.createElement(IM,null),m.createElement(VM,null),m.createElement(zM,null),m.createElement(nM,null))))},XM=function(){return m.createElement(m.Fragment,null,m.createElement(RM,null,m.createElement(UM,null,m.createElement(IM,null),m.createElement(VM,null),m.createElement(zM,null),m.createElement(nM,null))),m.createElement(jM,null))};function $M(e){switch(YM()){default:case pS.LEFT_OVERLAY:case pS.CENTERED_OVERLAY:return m.createElement(GM,e);case pS.LEFT:case pS.CENTERED:return m.createElement(KM,e);case pS.SPLIT_LEFT_IMAGE:case pS.TWO_THIRDS_LEFT_IMAGE:return m.createElement(XM,e);case pS.SPLIT_RIGHT_IMAGE:case pS.TWO_THIRDS_RIGHT_IMAGE:return m.createElement(ZM,e)}}function QM(e){return m.createElement("header",{className:"cover__header"},m.createElement($M,e))}var JM=__webpack_require__(21804),eI=__webpack_require__.n(JM),tI=__webpack_require__(67294),nI=cL("cover");function rI(e){var t=e.children,n=YM(),r=(0,m.useMemo)((function(){return eI()(n)}),[n]),i=nI(null,{layout:r});return tI.createElement("div",{id:"cover",className:i},t)}var iI=__webpack_require__(95425),oI=__webpack_require__.n(iI),aI=__webpack_require__(67294);function sI(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var uI=function(e){ut(n,e);var t=sI(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isSticky:!1},setTimeout((function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",r.onScrollRef=r.onScroll.bind(it(r)))}),10),r}return rt(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;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=Cu()(-1,"activeIndex",n),i=$o()(t);return-1===r?0:Rs()(r)===i?100:vE()("%","",Br()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=Cu()(0,"activeIndex",n),i=$o()(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 Cu()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return Cu()(0,"percentComplete",t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.items,i=t.menuOpen,o=t.mobileMenuOpen,a=this.state.isSticky,s=eC()("progress-wrap",{}),u=eC()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":a&&!o,"lesson--open":i&&!this.isLessonPreview(),"lesson--open-mobile":o&&!this.isLessonPreview()}),l=eC()("progress",{"progress--timeline":"timeline"===n,"progress--video":"video"===n}),c=this.progressValue(),d="timeline"===n&&r&&Ca()(r).call(r,(function(e){var t,n=eC()("progress__marker",{"progress__marker--active brand--background":parseInt(c)>=parseInt(wr()(t=e.linePosition).call(t,0,-1))});return aI.createElement("div",{className:n,style:{left:e.linePosition},key:e.id})})),f=aI.createElement("div",{className:s},aI.createElement("div",{className:l},aI.createElement("div",{className:"progress__container"},aI.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(c,"%,0px,0px)")}}),d)));return aI.createElement("div",{ref:function(t){return e.progresswrap=t}},f,aI.createElement(oI(),null,aI.createElement("div",{className:u},f)))}}]),n}(aI.Component),lI=__webpack_require__(67294);function cI(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var dI=cL("lesson-header"),fI=DB("LessonHeaderAuthor",(function(e){var t=e.avatar,n=e.authorName,r=e.className,i=void 0===r?"":r;return lI.createElement("div",{className:"lesson-header__author ".concat(i)},lI.createElement("img",{className:"lesson-header__author-img",src:Gn(t),alt:""}),lI.createElement("span",{className:"visually-hidden"},"by ",n),lI.createElement("span",{"aria-hidden":"true",className:"lesson-header__author-name"},n))})),pI=function(e){var t=e.showPartnerContent,n=void 0!==t&&t;return lI.createElement("div",{className:dI("author",{"partner-content":n})})},hI=function(){return lI.createElement("div",{className:"lesson-header__counter"})},mI=function(e){var t,n,r,i=e.lessonName,o=e.lessonPreposition,a=e.totalLessons,s=e.lessonNumber,u=e.showPartnerContent;return lI.createElement("div",{className:dI("counter",{"partner-content":u}).mix("brand--body brand--linkColor")},lI.createElement("div",{className:"lesson-header__count"},_t()(t=_t()(n=_t()(r="".concat(i," ")).call(r,s," ")).call(n,o," ")).call(t,a)))},vI=function(e){var t=e.description;return lI.createElement(NL,{className:"lesson-header__description brand--lbody brand--linkColor",value:t})},gI=function(e){var t=e.children;return lI.createElement("div",{className:"lesson-header__grouped-row"},t)},yI=function(e){var t=e.children,n=e.lessonHeaderLandmark,r=e.sectionStyles,i=e.topWrapClassName,o=e.topWrapStyles;return lI.createElement("section",{"aria-label":n,className:"page__header",style:r},lI.createElement("div",{className:"page__header-limit"},lI.createElement("div",{className:"page__header-container"},lI.createElement("div",{className:"lesson-header__row"},lI.createElement("div",{className:"lesson-header__main"},lI.createElement("div",{className:"lesson-header"},lI.createElement("div",{className:i,style:o},t)))))))},bI=function(e){var t=e.title;return lI.createElement(NL,{className:"lesson-header__title brand--lhead",tagName:"h1",value:t})},_I=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(Kx({width:"76",height:"76",imageKey:e.image}),")")},v=a===rS.TINT?{color:r}:null,g=n&&t&&l&&!u;return lI.createElement("div",{className:"lesson-header"},lI.createElement("div",{className:"lesson-header__top-wrap",style:v},lI.createElement(bI,{title:d}),u&&lI.createElement("div",{className:"lesson-header__partner-content"},Ca()(u).call(u,(function(e){return lI.createElement("div",{key:e.name,className:"lesson-header__partner-content-author"},lI.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:m(e)}}),lI.createElement("div",null,lI.createElement("span",{className:"visually-hidden"},"by ",e.name),lI.createElement("span",{"aria-hidden":"true"},e.name)))}))),lI.createElement("div",{className:"lesson-header__author-count-wrap"},g?lI.createElement(fI,{avatar:n,authorName:t}):lI.createElement(pI,null),c?lI.createElement(mI,{lessonName:p,lessonNumber:s,lessonPreposition:h,totalLessons:f}):lI.createElement(hI,null))),i&&lI.createElement(vI,{description:i}))},wI=(lI.Component,__webpack_require__(67294)),kI=cL("lesson-header"),EI=function(e){return"url(".concat(Kx({width:"76",height:"76",imageKey:null==e?void 0:e.image}),")")},xI=function(e){var t=e.partnerContentAuthors,n=Ca()(t).call(t,(function(e){return e.name})).join(", "),r=1===t.length;return wI.createElement("div",{className:kI("partner-content",{mobile:!0})},wI.createElement("div",{className:kI("partner-content-author",{single:r})},Ca()(t).call(t,(function(e){return wI.createElement("div",{key:e.name,className:kI("partner-content-author-img",{single:r}),style:{backgroundImage:EI(e)}})}))),wI.createElement("div",{className:kI("author-name"),"aria-hidden":"true"},n))},SI=function(e){var t=e.partnerContentAuthors;return wI.createElement("div",{className:kI("partner-content")},Ca()(t).call(t,(function(e){return wI.createElement("div",{key:e.name,className:kI("partner-content-author")},wI.createElement("div",{className:kI("partner-content-author-img"),style:{backgroundImage:EI(e)}}),wI.createElement("div",null,wI.createElement("span",{className:"visually-hidden"},"by ",e.name),wI.createElement("span",{className:kI("author-name"),"aria-hidden":"true"},e.name)))})))},TI=cL("lesson-header"),CI=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=!Wo()(s)&&u,p=n&&t&&u&&!f,h=p||f||l,v=l&&p;return m.createElement("div",{className:TI("content")},h&&m.createElement("div",{className:TI("info-row")},p?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(pI,null),f&&m.createElement(SI,{partnerContentAuthors:s}),v&&m.createElement("span",{"aria-hidden":"true",className:TI("info-row--divider")},"|"),l?m.createElement(mI,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(hI,null)),m.createElement("div",{className:TI("title-wrapper",{"no-info":!h})},m.createElement(bI,{title:c}),r&&m.createElement(vI,{description:r})))},AI=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,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Wo()(s);return m.createElement("div",{className:TI("content")},l?m.createElement(mI,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(hI,null),f&&m.createElement(fI,{avatar:n,authorName:t}),u&&p&&m.createElement(xI,{partnerContentAuthors:s}),m.createElement(bI,{title:c}),r&&m.createElement(vI,{description:r}))},OI=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,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Wo()(s);return m.createElement("div",{className:TI("content")},l?m.createElement(mI,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(hI,null),m.createElement(bI,{title:c}),f?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(pI,{showPartnerContent:p}),u&&p&&m.createElement(SI,{partnerContentAuthors:s}),r&&m.createElement(vI,{description:r}))},NI=function(e){var t=UL();return e.lessonHeaderSize!==iS.SMALL||t?t?m.createElement(AI,e):m.createElement(OI,e):m.createElement(CI,e)},PI=tM("LessonNav"),LI=function(e){return e===fS.FLOATING||e===fS.FLOATING_FULL};function MI(){var e=Jt((function(e){return e.course.buttonNavigationStyle}));return qL(480)&&e===fS.FLOATING?fS.FLOATING_FULL:e}var II=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 15",height:"15",width:"16",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{d:"M2.34315 7.34315L8 13L13.6569 7.34315",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),m.createElement("rect",{x:"7",y:"1",width:"2",height:"12",rx:"0.999999",fill:"currentColor"}))},RI=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 15 16",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{d:"M2 8L7.65685 13.6569L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},DI=cL("lesson-nav");function qI(e,t){var n=e.allowTooltip,r=e.buttonScheme,i=e.color,o=e.courseFinishLabel,a=e.onFocus,s=e.nextLesson,u=e.restrictionData,l=e.restrictionType,c=null==s?void 0:s.id,d=MI(),f=LI(d),p=r===dS.ACCENT,h=r===dS.TINT,v=h?US(i):i,g=f?II:RI,y=UL(),b={color:f&&h&&y?i:v,backgroundColor:h&&!f?i:null},_={backgroundColor:f&&(h||p)?i:null,borderColor:f&&h?i:null,color:f&&h?v:null};return m.createElement(PI,{allowTooltip:n,direction:"next",finish:!0,isFloating:f,linkStyles:_,navLessonId:c,onFocus:a,ref:t,restrictionData:u,restrictionType:l,wrapStyles:b},m.createElement("span",{className:DI("link-text").mix("brand--ui")},o),m.createElement(g,{className:DI("link-icon")}))}var jI=(0,m.forwardRef)(qI),BI=cL("lesson-nav");function FI(e,t){var n,r,i,o=e.allowTooltip,a=e.buttonScheme,s=e.color,u=e.lessonNameLabel,l=e.nextLesson,c=e.nextLessonNumber,d=e.onFocus,f=e.restrictionData,p=e.restrictionType,h=null==l?void 0:l.id,v=MI(),g=LI(v),y=KS(l)&&h,b=(null==l?void 0:l.title)||"",_=a===dS.ACCENT,w=a===dS.TINT,k=w?US(s):s,E=g?II:RI,x=UL(),S=y?_t()(n="".concat(u," ")).call(n,c," - "):"",T=g&&y?_t()(r="".concat(u," ")).call(r,c):_t()(i="".concat(S)).call(i,b),C={color:g&&w&&x?s:k,backgroundColor:w&&!g?s:null},A={backgroundColor:g&&(w||_)?s:null,borderColor:g&&w?s:null,color:g&&w?k:null};return m.createElement(PI,{allowTooltip:o,direction:"next",isFloating:g,linkStyles:A,navLessonId:h,onFocus:d,ref:t,restrictionData:f,restrictionType:p,wrapStyles:C},m.createElement("span",{className:BI("link-text").mix("brand--ui")},T),m.createElement(E,{className:BI("link-icon")}))}var UI=(0,m.forwardRef)(FI),zI=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",role:"img",viewBox:"0 0 16 15",height:"15",width:"16",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{d:"M13.6569 7.65685L8 2L2.34315 7.65686",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),m.createElement("rect",{x:"9",y:"14",width:"2",height:"12",rx:"0.999999",transform:"rotate(180 9 14)",fill:"currentColor"}))},HI=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 15 16",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{d:"M2 8L7.65685 2.34315L13.3137 8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))},VI=cL("lesson-nav"),WI=function(e,t){var n,r,i,o=e.allowTooltip,a=e.buttonScheme,s=e.color,u=e.courseHomeLabel,l=e.lessonNameLabel,c=e.onFocus,d=e.previousLesson,f=e.previousLessonNumber,p=null==d?void 0:d.id,h=MI(),v=LI(h),g=KS(d)&&p,y=(null==d?void 0:d.title)||u,b=v?zI:HI,_=a===dS.ACCENT,w=a===dS.TINT,k=w?US(s):s,E=UL(),x=g?_t()(n=_t()(r="".concat(l," ")).call(r,f," - ")).call(n,y):y,S=g&&v?_t()(i="".concat(l," ")).call(i,f):x,T={color:v&&w&&E?s:k,backgroundColor:w&&!v?s:null},C={backgroundColor:v&&(w||_)?s:null,borderColor:v&&w?s:null,color:v&&w?k:null};return m.createElement(PI,{allowTooltip:o,direction:"previous",isFloating:v,linkStyles:C,navLessonId:p,onFocus:c,wrapStyles:T,ref:t},v?m.createElement(m.Fragment,null,m.createElement("span",{className:VI("link-text").mix("brand--ui")},S),m.createElement(b,{className:VI("link-icon")})):m.createElement(m.Fragment,null,m.createElement(b,{className:VI("link-icon")}),m.createElement("span",{className:VI("link-text").mix("brand--ui")},S)))},YI=m.forwardRef(WI),GI=function(e){var t=(0,m.useRef)();return(0,m.useEffect)((function(){t.current=e})),t.current},KI="object"==typeof window,ZI=(__webpack_require__(38252),KI?window:null),XI=function(e){return!!e.addEventListener},$I=function(e){return!!e.on},QI=function(e,t,n,r){void 0===n&&(n=ZI),(0,m.useEffect)((function(){if(t&&n)return XI(n)?n.addEventListener(e,t,r):$I(n)&&n.on(e,t,r),function(){XI(n)?n.removeEventListener(e,t,r):$I(n)&&n.off(e,t,r)}}),[e,t,n,JSON.stringify(r)])};function JI(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,m.useRef)(),h=Math.PI*(Number(i)-Number(l)),v=h*(100-f)/100;return QI("transitionend",a,p.current),m.createElement("circle",{className:t,cx:n,cy:r,fill:"transparent",r:s,ref:p,strokeDasharray:h,strokeDashoffset:v,strokeLinecap:u,strokeWidth:l,transform:c})}var eR=Mb.COMPACT,tR=Mb.COVER,nR=Mb.OVERLAY,rR=Mb.SIDEBAR,iR=cL("progress-circle");function oR(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.color,i=e.isDark,o=e.isCurrent,a=e.isFailed,s=e.isPassed,u=e.navigationStyle,l=e.scope,c=e.value,d=oL().isLegacyCourse,f=Cr((0,m.useState)(100===c),2),p=f[0],h=f[1],v=GI(c),g=d||DS(r),y=l===nR,b=y&&u===cS.ACCENT,_=y&&u===cS.TINT,w=y&&u===cS.GRAY,k=y&&u===cS.LIGHT,E=y&&u===cS.IMAGE,x=iR({compact:l===eR,cover:l===tR,current:o,dark:i,light:!i&&!b,sidebar:l===rR,"accent-full-dark":b&&g,"accent-full-light":b&&!g}),S=iR("track",{dark:i,light:!i,"accent-full-dark":b&&g,"accent-full-light":b&&!g,image:E}),T=iR("runner",{dark:i,done:p,failed:a,light:!i&&!b,passed:s,unstarted:0===c,"accent-full-dark":b&&g,"accent-full-light":b&&!g,image:E,"failed-dark-style":(E||i||b)&&a,"failed-light-style":(w||_||k)&&a,"failed-image":E&&a}),C=iR("pass",{dark:i,done:p,light:!i,visible:s,"accent-dark":g,"accent-light":!g&&!b,"accent-full-dark":b&&g,"accent-full-light":b&&!g,"accent-tint-light":_&&!g,"gray-light-accent":w&&!g,image:E}),A=iR("fail",{dark:i,done:p,light:!i,visible:a,image:E,"accent-full":b});return(0,m.useEffect)((function(){if(100!==c&&100===v)h(!1);else if(100===c&&!p){var e=setTimeout((function(){return h(!0)}),300);return clearTimeout.bind(null,e)}}),[p,v,c]),m.createElement("svg",{"aria-hidden":t,"aria-label":n,className:x,fill:"none",focusable:"false",role:"img",style:{color:r},viewBox:"0 0 16 16",xmlns:"https://www.w3.org/2000/svg"},m.createElement("circle",{className:S,cx:"8",cy:"8",fill:"transparent",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)"}),m.createElement(JI,{className:T,cx:"8",cy:"8",diameter:"16",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)",value:c}),m.createElement("path",{className:C,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"}),m.createElement("path",{className:A,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 aR=__webpack_require__(67294);function sR(){return qL(960)}var uR=jL(960,"isMobile","Mobile");function lR(){return function(e){var t=e.course,n=e.search,r=e.isMobile;return t.type!==Pb&&((tT(t)||rT(t)&&!!r)&&iT(t)||n.active)}({course:oL(),isMobile:sR(),search:iL().search})}function cR(e){function t(t){var n=lR();return aR.createElement(e,yt({},t,{sidebarAvailable:n}))}return t.displayName="withNavSidebarAvailable(".concat(e.displayName||e.name,")"),t}function dR(){return function(e){var t=e.course,n=e.isMobile;return rT(t)&&iT(t)&&!n}({course:oL(),isMobile:sR()})}function fR(){return function(e){var t=e.course;return nT(t)&&iT(t)}({course:oL(),isMobile:sR()})}var pR=__webpack_require__(67294);function hR(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var mR=function(e){ut(n,e);var t=hR(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isSticky:!1},setTimeout((function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",r.onScrollRef=r.onScroll.bind(it(r)))}),10),r}return rt(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;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=Cu()(-1,"activeIndex",n),i=$o()(t);return-1===r?0:Rs()(r)===i?100:vE()("%","",Br()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=Cu()(0,"activeIndex",n),i=$o()(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 Cu()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return Cu()(0,"percentComplete",t)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.items,i=t.menuOpen,o=t.mobileMenuOpen,a=t.overlayNavIsOpen,s=t.sidebarAvailable,u=this.state.isSticky,l=eC()("progress-wrap",{}),c=eC()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":u&&!o&&!a,"lesson--open":i&&s&&!this.isLessonPreview(),"lesson--open-mobile":s&&o&&!this.isLessonPreview()}),d=eC()("progress",{"progress--timeline":"timeline"===n,"progress--video":"video"===n}),f=this.progressValue(),p="timeline"===n&&r&&Ca()(r).call(r,(function(e){var t,n=eC()("progress__marker",{"progress__marker--active brand--background":parseInt(f)>=parseInt(wr()(t=e.linePosition).call(t,0,-1))});return pR.createElement("div",{className:n,style:{left:e.linePosition},key:e.id})})),h=pR.createElement("div",{className:l},pR.createElement("div",{className:d},pR.createElement("div",{className:"progress__container"},pR.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(f,"%,0px,0px)")}}),p)));return pR.createElement("div",{ref:function(t){return e.progresswrap=t}},h,pR.createElement(oI(),null,pR.createElement("div",{className:c},h)))}}]),n}(pR.Component),vR=cR(mR),gR=JP,yR=JP,bR=JP,_R=JP,wR=JP,kR=JP,ER=JP,xR=JP,SR=JP,TR=JP,CR=__webpack_require__(67294);function AR(e){var t=e.children,n=e.className,r=e.height,i=e.width,o=e.viewBox;return CR.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 OR=__webpack_require__(67294);function NR(e){return OR.createElement(AR,yt({viewBox:"0 0 24 24"},e),OR.createElement("path",{d:"M1 10.9609L10 19.9609",stroke:"currentColor",strokeWidth:"1.5"}),OR.createElement("path",{d:"M1 11.9609L10 2.96094",stroke:"currentColor",strokeWidth:"1.5"}),OR.createElement("path",{d:"M2 11.5H23",stroke:"currentColor",strokeWidth:"1.5"}))}var PR=function(e){var t=e.className;return m.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"},m.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"}))},LR=__webpack_require__(67294);function MR(e){return LR.createElement(AR,yt({height:"12",width:"18",viewBox:"0 0 18 12"},e),LR.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 IR=__webpack_require__(67294);function RR(e){return IR.createElement(AR,yt({height:"6",width:"10",viewBox:"0 0 10 6"},e),IR.createElement("path",{d:"M9 1L5 5L1 1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}var DR=__webpack_require__(67294);function qR(e){return DR.createElement(AR,yt({height:"6",width:"10",viewBox:"0 0 10 6"},e),DR.createElement("path",{d:"M1 5L5 1L9 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}var jR=__webpack_require__(67294);function BR(e){return jR.createElement(AR,yt({height:"21",width:"20",viewBox:"0 0 20 21"},e),jR.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"}),jR.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"}),jR.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 FR=__webpack_require__(67294);function UR(e){return FR.createElement(QT,yt({},qa()(["Default"],e),{fill:"none",viewBox:"1 1 18 18"}),FR.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 zR=__webpack_require__(67294);function HR(e){return zR.createElement(QT,yt({},qa()(["Default"],e),{fill:"none",viewBox:"0 0 18 18"}),zR.createElement("circle",{cx:"9",cy:"9",r:"9",fill:"#74BF44"}),zR.createElement("path",{d:"M6.43994 9.12061L8.43994 11.1206L11.9399 7.62061",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}var VR=__webpack_require__(67294);function WR(e){return VR.createElement(AR,yt({height:"12",width:"12",viewBox:"0 0 12 12"},e),VR.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 YR=__webpack_require__(67294);function GR(e){return YR.createElement(AR,yt({height:"5",width:"10",viewBox:"0 0 10 5"},e),YR.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 KR=__webpack_require__(67294);function ZR(e){return KR.createElement(AR,yt({height:"18",width:"18",viewBox:"0 0 18 18"},e),KR.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"}),KR.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 XR=__webpack_require__(67294);function $R(e){return XR.createElement(AR,yt({height:"14",width:"20",viewBox:"0 0 20 14"},e),XR.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"}),XR.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 QR=__webpack_require__(67294);function JR(e){return QR.createElement(AR,yt({height:"10",width:"10",viewBox:"0 0 10 10"},e),QR.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"}))}var eD=cL("cover"),tD=DB("CoverDetailsSection",(function(e){var t=e.children,n=e.type;return m.createElement("section",{className:eD("details-content-section",{type:n})},t)})),nD=__webpack_require__(71066),rD=__webpack_require__.n(nD),iD=function(){function e(){et(this,e)}return rt(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:m_()(r=n.userAgent).call(r,"Firefox"))&&void 0!==e&&e}}]),e}();function oD(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function aD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oD(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):oD(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var sD=Bn()(Po()),uD=function(e){return function(t){var n;return _t()(n="".concat(e,"/")).call(n,t.id)}},lD=function(e){return function(t,n){return sc()(t,uD(n),hD(e,n))}},cD=function(){return Wo()(oE())},dD=function(e){var t=new Error("Nil token detected");return qy.addError(t,e),Ur().Rejected(t)},fD=function(e){return function(t){return function(n){return function(r){return Il(r,function(e,t){return Ek()(aD({data:(0,VA.action)(t),method:"POST",url:Ml(sD("/".concat(t)),Un()("url"),e)},da()(["headers","withCredentials"],e)))}(t,n),Gr()(cD,dD,e),lc()(function(e){return pa()(xl()({},["response","data"]),Ea()(Un()("type"),(0,VA.error)(e)))}(n),Sa()(lb()("data"),Un()("data"))),YT()(Gr()(Un()("error"),Ur().Rejected,Ur().of)),function(e,t){return function(n){return e.postRequest?e.postRequest(t,n):n}}(t,{type:n,payload:r}))}}}},pD=Ur().fromPromise((function(e){var t=e.url,n=e.method,r=e.data;if(iD.isFirefox){var i=new Blob([$i()(r)],{type:"application/json"}),o=window.navigator.sendBeacon(t,i);return qr().resolve({type:r.type,payload:aD(aD({},r.payload),{},{queued:o})})}return fetch(t,{method:n,credentials:"include",headers:{"Content-Type":"application/json"},body:$i()(r),keepalive:!0}).then((function(e){return e.json()})).then(oa()("data"))})),hD=M_()(3,fD(aE)),mD=M_()(3,fD(pD)),vD=function(e){return function(t,n){return rD()(t,uD(n),hD(e,n))}},gD=function(e){return{debounce:lD(e),send:hD(e),fetchWithKeepAlive:mD(e),throttle:vD(e)}},yD=gD({headers:function(){return{"x-rise-authoring-client":"f6caf3f0271b973547ac5ee58affc4fd758a850c"}},postRequest:function(e,t){return t},url:"".concat(Hn("RISE_RUNTIME_URI"),"/ducks"),withCredentials:!0}),bD=MT()({context:{app:{name:"rise-frontend"}},payload:{articulate_user:!!er()&&Rn()(er()).staff,userRole:er()?Rn()(er()).roles:[],subId:er()?Rn()(er()).tenantId:"",subPlan:nr().plan_id||"",subStatus:nr().status||""}}),_D=Po()("rise/track/")("TRACK"),wD=pa()(Ea()(lb()("userId"),Co()("userId",tr())),Sa()(Hr()(Vn),bD),yD.send(_D)),kD=Po()("partner-content-book-info__"),ED=Qt(null,{track:wD})((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=dr()(t).call(t,(function(e){return!Ra()(e.name)})),d=di()((function(e){return e.name}),c),f=d.length>1?ZA()(" & ",d):d[0],p="s"===wr()(f).call(f,-1)?"":"s",h=RS(n),v=eC()(Ar({},kD("book-image-block"),a&&!h),Ar({},kD("book-image-block")&&kD("dark-theme-book-image"),a&&h),Ar({},kD("book-image-course"),!a)),g=kD(a?"flex-block":"flex-course"),y=kD(a?"image-container-block":"image-container-course"),b=eC()(kD("small-text"),Ar({},kD("dark-theme"),h)),_=eC()(kD("black-text"),Ar({},kD("dark-theme"),h)),w=eC()(kD("button"),Ar({},kD("dark-theme-button"),h)),k=Kx({height:"210",width:"140",imageKey:r}),E=(0,m.useCallback)((function(){Vn}),[s,u,l]);return m.createElement("section",{className:g},m.createElement("h2",{className:"visually-hidden"},"Book Info"),m.createElement("div",{"aria-hidden":"true",className:y},r?m.createElement("img",{src:k,alt:"",className:v}):m.createElement("div",{className:v})),m.createElement("div",{className:kD("text-container")},m.createElement("p",{className:b},"From ",f,"'",p),m.createElement("p",{className:_},i),m.createElement("a",{className:w,href:o,onClick:E,target:"_blank",rel:"noopener noreferrer"},"Buy the book")))})),xD=Po()("partner-content-partner-info__"),SD=Qt(null,{track:wD})((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=Hx||Fx,n="NBIC_logo_light_bulb.png";return t?_t()(e="".concat(t,"/f:png,a:retain,s:cover,w:276,h:160/assets/rise/assets/partner-content/")).call(e,n):Gn("partnerContent/".concat(n))}():function(){var e,t="NBIC_logo_blue.svg";return jx?_t()(e="".concat(jx,"/assets/rise/assets/partner-content/")).call(e,t):Gn("partnerContent/".concat(t))}(),u=xD(n?"nbic-logo-light-bulb":"nbic-logo"),l=xD(n?"block-logo-container":"logo-container"),c=RS(t),d=eC()(xD("small-text"),Ar({},xD("dark-theme"),c)),f=eC()(xD("black-text"),Ar({},xD("dark-theme"),c)),p=eC()(xD("button"),Ar({},xD("dark-theme-button"),c)),h=(0,m.useCallback)((function(){Vn}),[i,o,a]);return m.createElement("section",{className:xD("flex")},m.createElement("h2",{className:"visually-hidden"},"Partner Info"),m.createElement("div",{"aria-hidden":"true",className:l},m.createElement("img",{src:s,alt:"",className:u})),m.createElement("div",{className:xD("text-container")},m.createElement("p",{className:d},"In partnership with"),m.createElement("p",{className:f},"Next Big Idea Club"),m.createElement("a",{className:p,href:r,onClick:h,rel:"noopener noreferrer",target:"_blank"},"Learn more")))})),TD=Po()("partner-content-author-card__"),CD=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=dr()(s).call(s,(function(e){return e.name})),h={courseId:t,partnerContentId:n.id,partnerContentInternalId:d,tenantId:i,contentSubtype:a},v=eC()(TD("flex"),TD("author-container")),g=function(e){return Kx({width:"122",height:"122",imageKey:e})};return m.createElement("ol",{className:"partner-content-author-card",role:"list"},m.createElement("li",{role:"listitem"},m.createElement("section",null,m.createElement("h2",{className:"visually-hidden"},"Authors"),Ca()(p).call(p,(function(e){return m.createElement("li",{key:e.name,className:v},function(e,t){return m.createElement("div",{"aria-hidden":"true",className:TD("image-container")},e?m.createElement("img",{src:g(e),alt:t,className:TD("author-image")}):m.createElement("div",{className:TD("author-image")}))}(e.image,e.name),m.createElement("p",{className:TD("author-name-text")},e.name))})))),m.createElement("li",{role:"listitem"},m.createElement(ED,{authors:s,bookImage:u,bookTitle:l,buyLink:c,publishedAt:r,trackingInfo:h})),m.createElement("li",{role:"listitem"},m.createElement(SD,{link:f,publishedAt:r,trackingInfo:h})))},AD=__webpack_require__(67294),OD=cL("cover"),ND=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=OD("details-content-aside",{logo:r});return AD.createElement("div",{className:s},AD.createElement(tD,{type:"partner-content"},AD.createElement(CD,{courseId:t,partnerContent:n,publishedAt:o,tenantId:a})))},PD=cL("cover"),LD=function(e){var t,n=e.className,r=void 0===n?PD("details-logo"):n,i=e.imageClassName,o=void 0===i?PD("details-logo-image"):i,a=null!==(t=oL())&&void 0!==t?t:{},s=xl()({},["media","image"],a),u=s.height,l=s.key,c=s.width;if(!l)return null;var d=Yx(s);return m.createElement("div",{className:r},m.createElement("img",{className:o,src:d,width:c,height:u,alt:""}))},MD=cL("cover"),ID=function(){var e=oL(),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=MD("details-row-logo",{"has-partner-content":o}),u=fL()(i),l=i&&u.isValid();return m.createElement("div",{className:MD("details-content-description-container",{published:l})},n&&m.createElement(LD,{className:s,imageClassName:MD("details-row-logo-image")}),m.createElement(tD,{type:a},m.createElement(vL,{format:"[Published — ] MMMM D, YYYY"}),m.createElement(NL,{className:MD("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:PL(t)})))},RD=["className","type"],DD=cL("cover"),qD=DB("CoverDetailsContentHeading",(function(e){var t=e.className,n=void 0===t?"":t,r=e.type,i=Wi(e,RD),o=qa()(["Default"],i);return m.createElement("header",yt({},o,{className:DD("details-content-heading",{type:r}).mix(n)}))})),jD=cL("cover"),BD=function(e){var t=e.children,n=e.title,r=e.type,i=oL(),o=i.description,a=i.media,s=i.partnerContentId,u=Boolean(s),l=xl()(void 0,["image","key"],a),c=!Wo()(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 m.createElement("section",{className:jD("details-content-section",{type:d})},m.createElement(qD,{type:r},m.createElement("h2",null,n)),t)},FD=cL("cover"),UD=function(){return m.createElement("svg",{"aria-hidden":"true",className:FD("header-star"),width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{d:"M9 0V18",strokeWidth:"0.75",strokeMiterlimit:"10"}),m.createElement("path",{d:"M18 9H0",strokeWidth:"0.75",strokeMiterlimit:"10"}),m.createElement("path",{d:"M15.3 15.3002L2.69995 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}),m.createElement("path",{d:"M2.69995 15.3002L15.3 2.7002",strokeWidth:"0.75",strokeMiterlimit:"10"}))},zD=qL.bind(null,480),HD=qL.bind(null,768),VD=(qL.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 WD(){var e,t=oL().coverPageType;return HD()&&null!==(e=VD[t])&&void 0!==e?e:t}var YD=__webpack_require__(67294),GD=cL("cover"),KD=function(){return null},ZD=function(){return YD.createElement(YD.Fragment,null,YD.createElement(DM,null,YD.createElement(UM,null,YD.createElement(zM,null),YD.createElement(UD,null),YD.createElement(IM,null),YD.createElement(VM,null),YD.createElement(nM,null))))},XD=function(){return YD.createElement(YD.Fragment,null,YD.createElement(RM,null,YD.createElement(UM,null,YD.createElement(zM,null),YD.createElement(UD,null),YD.createElement(IM,null),YD.createElement(VM,null),YD.createElement(nM,null))))},$D=function(){return YD.createElement(YD.Fragment,null,YD.createElement(jM,null),YD.createElement(RM,null,YD.createElement(UM,null,YD.createElement(zM,null),YD.createElement(UD,null),YD.createElement(IM,null),YD.createElement(VM,null),YD.createElement(nM,null))))},QD=function(){return YD.createElement(YD.Fragment,null,YD.createElement(RM,null,YD.createElement(UM,null,YD.createElement(zM,null),YD.createElement(UD,null),YD.createElement(IM,null),YD.createElement(VM,null),YD.createElement(nM,null))),YD.createElement(jM,null))},JD=function(){return YD.createElement(YD.Fragment,null,YD.createElement(RM,null,YD.createElement(UM,null,YD.createElement(zM,null),YD.createElement(UD,null),YD.createElement(IM,null),YD.createElement(VM,null),YD.createElement(nM,null))),YD.createElement("div",{className:"cover__header-graphic-wrap"},YD.createElement(jM,null)))};function eq(){switch(WD()){default:case"CENTERED_IMAGE":return YD.createElement(JD,null);case"CENTERED":case"CENTERED_ACCENT_TINT":return YD.createElement(XD,null);case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return YD.createElement(QD,null);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return YD.createElement($D,null);case"CENTERED_OVERLAY":return YD.createElement(ZD,null)}}function tq(){return YD.createElement("header",{className:GD("header",{meta:false})},YD.createElement(eq,{hasMetaData:false}),YD.createElement(KD,null))}var nq=__webpack_require__(67294),rq=cL("cover");function iq(e){var t=e.children,n=WD(),r=(0,m.useMemo)((function(){return eI()(n)}),[n]),i=rq(null,{layout:r});return nq.createElement("div",{id:"cover",className:i},t)}var oq=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=!Wo()(a)&&s,f=n&&t&&s&&!d,p=f||d||u,h=u&&f;return m.createElement("div",{className:"lesson-header__content"},p&&m.createElement("div",{className:"lesson-header__info-row"},f?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(pI,null),d&&m.createElement(SI,{partnerContentAuthors:a}),h&&m.createElement("span",{"aria-hidden":"true",className:"lesson-header__info-row--divider"},"|"),u?m.createElement(mI,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:c}):m.createElement(hI,null)),m.createElement("div",null,m.createElement(bI,{title:l})))},aq=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,m.useMemo)((function(){return n&&t&&s&&!f}),[n,t,s,f]),f=!Wo()(a);return m.createElement(m.Fragment,null,u?m.createElement(mI,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:c}):m.createElement(hI,null),d&&m.createElement(fI,{avatar:n,authorName:t}),s&&f&&m.createElement(xI,{partnerContentAuthors:a}),m.createElement(bI,{title:l}))},sq=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,m.useMemo)((function(){return n&&t&&s&&!f}),[n,t,s,f]),f=!Wo()(a);return m.createElement(m.Fragment,null,d?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(pI,null),s&&f&&m.createElement(SI,{partnerContentAuthors:a}),m.createElement(bI,{title:l}),u?m.createElement(mI,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:c}):m.createElement(hI,null))},uq=function(e){var t=zD();return e.lessonHeaderSize!==iS.SMALL||t?t?m.createElement(aq,e):m.createElement(sq,e):m.createElement(oq,e)},lq=Mb.COMPACT,cq=Mb.COVER,dq=Mb.SIDEBAR,fq=cL("progress-circle");function pq(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.isDark,i=e.isFailed,o=e.isPassed,a=e.scope,s=fq({compact:a===lq,cover:a===cq,dark:r,failed:i,light:!r,passed:o,sidebar:a===dq});return m.createElement("svg",{"aria-hidden":t,"aria-label":n,className:s,focusable:"false",viewBox:"0 0 7 7",xmlns:"http://www.w3.org/2000/svg"},m.createElement("circle",{cx:"3.5",cy:"3.5",r:"2.5"}))}var hq=__webpack_require__(67294),mq=["Default"];function vq(e){var t=e.Default,n=Wi(e,mq);return hq.createElement(t,yt({},n,{hasOverlay:!1}))}var gq=__webpack_require__(56524),yq=__webpack_require__.n(gq);function bq(e){var t;return m_()(t=["auto","hidden","scroll"]).call(t,e)}function _q(e,t){(0,m.useLayoutEffect)((function(){for(var n=e.current;n&&(n=n.parentElement);){var r=window.getComputedStyle(n);if(bq(r.overflowX)||bq(r.overflowY))return n.addEventListener("scroll",t),function(){return n.removeEventListener("scroll",t)}}}),[t,e])}var wq=cL("lesson-progress"),kq=Mb.COMOVERVIEW,Eq=Mb.COMPACT,xq=Mb.COVER,Sq=Mb.OVERLAY,Tq=Mb.SIDEBAR;function Cq(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,v=e.onMarkReset,g=e.onShowTooltip,y=e.percentComplete,b=e.progressGraphic,_=e.scope,w=(0,m.useRef)(),k=(0,m.useRef)(),E=(0,m.useRef)(),x=wq({compact:_===Eq,cover:_===xq&&!l,"legacy-comoverview":_===kq,"legacy-cover":_===xq&&l,inactive:r,overlay:_===Sq,sidebar:_===Tq&&!l,"legacy-sidebar":_===Tq&&l}),S=wq("graphic",{compact:_===Eq,cover:_===xq&&!l,"legacy-comoverview":_===kq,"legacy-cover":_===xq&&l,overlay:_===Sq,sidebar:_===Tq&&!l,"legacy-sidebar":_===Tq&&l}),T=wq("tooltip",{legacy:l}).toString(),C=(0,m.useCallback)((function(){i?null==v||v():null==h||h()}),[i,h,v]),A=(0,m.useCallback)((function(){r||(k.current=setTimeout((function(){null==g||g()}),600))}),[r,g]),O=(0,m.useCallback)((function(){clearTimeout(k.current),null==p||p()}),[p]),N=(0,m.useCallback)((function(){setTimeout((function(){if(d){var e,t=w.current.getBoundingClientRect(),n=E.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;gt()(E.current.style,{transform:_t()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}}),0)}),[d]);if((0,m.useLayoutEffect)((function(){return N()}),[N]),QI("resize",N,window),_q(w,O),t){var P=function(e){var t=e.canReset,n=e.percentComplete;return 100===n&&t?"Completed. Click to reset":100!==n||t?0===n?"Unstarted. Click to complete":"".concat(n,"% Completed. Click to complete"):"Completed"}({canReset:!0,percentComplete:y}),L=!s||false,M=wq("action",{disabled:L});return m.createElement("span",{className:x},m.createElement("button",{"aria-label":P,className:M,disabled:L,onBlur:p,onClick:C,onFocus:g,type:"button"},m.createElement("span",{className:S,onMouseEnter:A,onMouseLeave:O,ref:w},m.createElement(b,{"aria-hidden":"true",color:n,isDark:a,isCurrent:o,isFailed:u,isPassed:c,navigationStyle:f,scope:_,value:y}),s&&!r&&m.createElement(Aq,{className:T,dark:a,ref:E,scope:_,visible:d},P))))}var I=function(e){var t=e.isFailed,n=e.percentComplete,r=100===n;return t?"Failed":r?"Completed":0===n?"Unstarted":"".concat(n,"% Completed")}({isFailed:u,percentComplete:y});return m.createElement("span",{className:x},m.createElement("span",{className:S,onMouseEnter:A,onMouseLeave:O,ref:w},m.createElement(b,{"aria-label":I,color:n,isDark:a,isCurrent:o,isFailed:u,isPassed:c,navigationStyle:f,scope:_,value:y}),s&&!r&&m.createElement(Aq,{className:T,dark:a,ref:E,scope:_,visible:d},I)))}var Aq=(0,m.forwardRef)((function(e,t){var n=e.children,r=e.className,i=e.dark,o=e.scope,a=e.visible,s=(0,m.useMemo)((function(){return cL(r)}),[r]),u=s({compact:o===Eq,cover:o===xq,overlay:o===Sq,sidebar:o===Tq,visible:a}),l=s("inner",{dark:i,light:!i}),c=m.createElement("div",{"aria-hidden":"true",ref:t,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:yq()}},m.createElement("div",{style:{pointerEvents:"all"}},m.createElement("div",{className:u},m.createElement("div",{className:l},n))));return(0,v.createPortal)(c,document.getElementById("portal"))}));function Oq(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;return m.createElement(m.Fragment,null,m.createElement("span",{className:"overview-list-item__progress"},m.createElement(Cq,{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})),m.createElement("span",{className:"overview-list-item__title"},u))}var Nq=function(){return null},Pq=__webpack_require__(67294);function Lq(e){var t=e.className;return Pq.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},Pq.createElement("path",{d:"M3.33177 4.1487L6.48034 1.00013M9.6289 4.14869L6.48034 1.00013M6.48034 1.00013L6.47966 11.9601"}))}var Mq=__webpack_require__(67294);function Iq(e){return Mq.createElement(QT,yt({},qa()(["Default"],e),{viewBox:"0 3 16 10",fill:"none"}),Mq.createElement("path",{d:"M1.51472 7.99993H14.4853",stroke:"currentColor",strokeWidth:"0.75",strokeMiterlimit:"10"}),Mq.createElement("path",{d:"M9.50008 12.4994L14.5004 7.99932L9.50008 3.99973",stroke:"currentColor",strokeWidth:"0.75",strokeMiterlimit:"10"}))}var Rq=__webpack_require__(67294);function Dq(e){return Rq.createElement(QT,yt({viewBox:"0 0 25 16"},qa()(["Default"],e)),Rq.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 qq=__webpack_require__(67294);function jq(e){return qq.createElement(AR,yt({width:"14",height:"8",viewBox:"0 0 14 8"},e),qq.createElement("path",{clipRule:"evenodd",d:"M13 1L7 7L1 1",stroke:"currentColor"}))}var Bq=__webpack_require__(67294);function Fq(e){return Bq.createElement(QT,yt({},qa()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),Bq.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"white"}),Bq.createElement("path",{d:"M5 7.71429L7.54545 10L11.5 5.5",stroke:"white"}))}var Uq=__webpack_require__(67294);function zq(e){return Uq.createElement(QT,yt({},qa()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),Uq.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"}),Uq.createElement("circle",{cx:"8",cy:"7.5293",r:"7",stroke:"white"}))}var Hq=__webpack_require__(67294);function Vq(e){var t=e.className;return Hq.createElement("svg",{className:t,fill:"none",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},Hq.createElement("circle",{cx:"6",cy:"6",r:"5"}),Hq.createElement("path",{d:"M9.5 9.5L14 14"}))}var Wq=__webpack_require__(67294);function Yq(e){return Wq.createElement(QT,yt({},qa()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),Wq.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"white"}),Wq.createElement("path",{d:"M10 6L6 10",stroke:"white"}),Wq.createElement("path",{d:"M6 6L10 10",stroke:"white"}))}var Gq=__webpack_require__(67294);function Kq(e){var t=e.className;return Gq.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 10 7",xmlns:"http://www.w3.org/2000/svg"},Gq.createElement("path",{d:"M1 1.40002L5 5.40002L9 1.40002",strokeWidth:"1.6"}))}var Zq=__webpack_require__(67294);function Xq(e){return Zq.createElement(QT,yt({viewBox:"0 0 12 12"},qa()(["Default"],e)),Zq.createElement("path",{d:"M10.7425 0.742189L11.4496 1.4493L1.55012 11.3488L0.843012 10.6417L10.7425 0.742189Z",fill:"currentColor"}),Zq.createElement("path",{d:"M11.1571 10.6417L10.45 11.3488L0.550537 1.44929L1.25764 0.742188L11.1571 10.6417Z",fill:"currentColor"}))}var $q=qL.bind(null,1200),Qq=qL.bind(null,768),Jq=qL.bind(null,480),ej=cL("cover"),tj=function(){var e=oL(),t=$q(),n=e.description;return n?m.createElement("div",null,m.createElement("section",{className:ej("details-content-section")},t&&m.createElement(pL,null),m.createElement(NL,{className:ej("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:PL(n)}))):null},nj={SPLIT_LEFT:"LEFT",SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT:"LEFT",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY"};function rj(){var e,t=oL().coverPageType;return Qq()&&null!==(e=nj[t])&&void 0!==e?e:t}var ij=__webpack_require__(67294),oj=["Default"];function aj(e){var t,n=e.Default,r=Wi(e,oj),i=rj(),o=m_()(t=["SPLIT_RIGHT","SPLIT_RIGHT_IMAGE"]).call(t,i);return ij.createElement(n,yt({},r,{reverseColumns:o}))}var sj=function(e){var t,n=e.accentColor,r=e.hasOverlay,i=void 0!==r&&r,o=e.isShape,a=void 0!==o&&o,s=(null!==(t=oL())&&void 0!==t?t:{}).coverImage,u=s.alpha,l=s.media,c=a?{backgroundColor:n}:ZS({alpha:u,media:l,hasOverlay:i});return m.createElement("div",{className:"cover__header-graphic-container"},m.createElement("div",{className:"cover__header-graphic",style:c}))},uj=function(e){return m.createElement(pj,e,m.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},m.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"})))},lj=function(e){return m.createElement(pj,e,m.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},m.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"})))},cj=function(e){return m.createElement(pj,e,m.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},m.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"})))},dj=function(e){return m.createElement(pj,e,m.createElement("clipPath",{id:"cover-page-clip-path",clipPathUnits:"objectBoundingBox"},m.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"})))},fj={LEFT_OVERLAY:uj,LEFT:uj,CENTERED:lj,CENTERED_OVERLAY:lj,SPLIT_LEFT:cj,SPLIT_LEFT_IMAGE:cj,SPLIT_RIGHT:dj,SPLIT_RIGHT_IMAGE:dj},pj=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 m.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)},hj=function(e){var t=e.className,n=e.coverPageType;return Cu()(Hr()(null),n,fj)({className:t})};function mj(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function vj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mj(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):mj(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var gj=cL("cover"),yj=function(){return m.createElement("div",{className:gj("author-published-wrap")},m.createElement(IM,null),m.createElement(vL,null))},bj=function(e){var t=e.coverPageType,n=Jq();return m.createElement(DM,null,m.createElement(hj,{coverPageType:t}),m.createElement(UM,null,!n&&m.createElement(zM,null),m.createElement(yj,null),m.createElement(VM,null),n&&m.createElement(zM,null),m.createElement(nM,null)))},_j=function(e){var t=e.coverPageType,n=Jq();return m.createElement(RM,null,m.createElement(hj,{coverPageType:t}),m.createElement(UM,null,!n&&m.createElement(zM,null),m.createElement(yj,null),m.createElement(VM,null),n&&m.createElement(zM,null),m.createElement(nM,null)))},wj=function(e){var t=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(hj,{coverPageType:t}),m.createElement(sj,null),m.createElement(RM,null,m.createElement(UM,null,m.createElement(zM,null),m.createElement(yj,null),m.createElement(VM,null),m.createElement(nM,null))))},kj=function(e){var t=e.accentColor,n=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(RM,null,m.createElement(UM,null,m.createElement(zM,null),m.createElement(yj,null),m.createElement(VM,null),m.createElement(nM,null))),m.createElement(hj,{coverPageType:n}),m.createElement(sj,{accentColor:t,isShape:!0}))},Ej=function(e){var t=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(RM,null,m.createElement(UM,null,m.createElement(zM,null),m.createElement(yj,null),m.createElement(VM,null),m.createElement(nM,null))),m.createElement(hj,{coverPageType:t}),m.createElement(sj,null))},xj=function(e){var t=e.accentColor,n=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(hj,{coverPageType:n}),m.createElement(sj,{accentColor:t,isShape:!0}),m.createElement(RM,null,m.createElement(UM,null,m.createElement(zM,null),m.createElement(yj,null),m.createElement(VM,null),m.createElement(nM,null))))};function Sj(e){var t=rj(),n=vj(vj({},e),{},{coverPageType:t});switch(t){default:case pS.LEFT_OVERLAY:case pS.CENTERED_OVERLAY:return m.createElement(bj,n);case pS.LEFT:case pS.CENTERED:return m.createElement(_j,n);case pS.SPLIT_LEFT:return m.createElement(kj,n);case pS.SPLIT_LEFT_IMAGE:return m.createElement(Ej,n);case pS.SPLIT_RIGHT:return m.createElement(xj,n);case pS.SPLIT_RIGHT_IMAGE:return m.createElement(wj,n)}}var Tj=function(e){var t=oL().partnerContentId,n=sL(),r=!!(Boolean(t)&&n);return m.createElement("header",{className:gj("header",{"with-info":r})},m.createElement(Sj,e))},Cj=cL("cover"),Aj=function(e){var t=e.children,n=rj(),r=(0,m.useMemo)((function(){return eI()(n)}),[n]),i=Cj(null,{layout:r});return m.createElement("div",{id:"cover",className:i},t)},Oj=qB("AlignLeft"),Nj=qB("ArrowDown"),Pj=(qB("ArrowLeft"),qB("ArrowRight"),qB("ArrowUp")),Lj=(qB("Category"),qB("ChevronDown")),Mj=qB("ChevronUp"),Ij=(qB("Favorite"),qB("LessonsComplete")),Rj=qB("LessonsRequirement"),Dj=qB("QuestionBox"),qj=qB("QuizFailed"),jj=qB("QuizPassed"),Bj=qB("QuizRequirement"),Fj=qB("Search"),Uj=qB("ToggleDown"),zj=qB("Touch"),Hj=qB("VideoCamera"),Vj=qB("X");__webpack_require__(67294),cL("cover");function Wj(e){e.nextLesson,e.percentComplete,Jq();return null}var Yj=function(){return m.createElement("div",{className:"lesson-header__author--hidden"})},Gj=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=!Wo()(s)&&u,p=n&&t&&u&&!f,h=p||f||l,v=l&&p;return m.createElement("div",{className:"lesson-header__content"},h&&m.createElement("div",{className:"lesson-header__info-row"},p?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(Yj,null),f&&m.createElement(SI,{partnerContentAuthors:s}),v&&m.createElement("span",{"aria-hidden":"true",className:"lesson-header__info-row--divider"},"|"),l?m.createElement(mI,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(hI,null)),m.createElement("div",null,m.createElement(bI,{title:c}),r&&m.createElement(vI,{description:r})))},Kj=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,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Wo()(s);return m.createElement(m.Fragment,null,m.createElement(bI,{title:c}),m.createElement(gI,null,f?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(Yj,{showPartnerContent:p}),u&&p&&m.createElement(SI,{partnerContentAuthors:s}),l?m.createElement(mI,{lessonName:i,lessonNumber:o,lessonPreposition:a,showPartnerContent:p,totalLessons:d}):m.createElement(hI,null)),r&&m.createElement(vI,{description:r}))},Zj=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,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!Wo()(s);return m.createElement(m.Fragment,null,l?m.createElement(mI,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(hI,null),f?m.createElement(fI,{avatar:n,authorName:t}):m.createElement(Yj,null),u&&p&&m.createElement(xI,{partnerContentAuthors:s}),m.createElement(bI,{title:c}),r&&m.createElement(vI,{description:r}))},Xj=function(e){var t=UL();return e.lessonHeaderSize!==iS.SMALL||t?t?m.createElement(Zj,e):m.createElement(Kj,e):m.createElement(Gj,e)},$j=Mb.COMPACT,Qj=Mb.COVER,Jj=Mb.OVERLAY,eB=Mb.SIDEBAR,tB=cL("progress-circle");function nB(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.color,i=e.isDark,o=e.isFailed,a=e.isPassed,s=e.navigationStyle,u=e.scope,l=e.value,c=Cr((0,m.useState)(100===l),2),d=c[0],f=c[1],p=GI(l),h=DS(r),v=u===Jj,g=v&&s===cS.ACCENT,y=v&&s===cS.TINT,b=v&&s===cS.IMAGE,_=v&&s===cS.GRAY,w=v&&s===cS.LIGHT,k=tB({"accent-full-dark":g&&h,"accent-full-light":g&&!h,compact:u===$j,cover:u===Qj,dark:i,light:!i&&!g,sidebar:u===eB}),E=tB("track",{dark:i,light:!i,image:b,"accent-full-dark":g&&h,"accent-full-light":g&&!h}),x=tB("runner",{dark:i,done:d,failed:o,light:!i,passed:a,unstarted:0===l,image:b,"accent-full-dark":g&&h,"accent-full-light":g&&!h,"failed-dark-style":(b||i||g)&&o,"failed-light-style":(_||y||w)&&o,"failed-image":b&&o}),S=tB("pass",{dark:i,done:d,light:!i,visible:a,"accent-dark":h&&!g&&!b,"accent-light":!h&&!g,image:b,"accent-full-dark":g&&h,"accent-full-light":g&&!h}),T=tB("fail",{dark:i,done:d,light:!i,visible:o,image:b,"accent-full":g});(0,m.useEffect)((function(){100!==l&&100===p&&f(!1)}),[p,l]);var C=(0,m.useCallback)((function(){100===l&&f(!0)}),[l]);return m.createElement("svg",{"aria-hidden":t,"aria-label":n,className:k,fill:"none",focusable:"false",role:"img",viewBox:"0 0 15 15",xmlns:"https://www.w3.org/2000/svg"},m.createElement("circle",{className:E,cx:"7.5",cy:"7.5",fill:"transparent",r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)"}),m.createElement(JI,{className:x,cx:"7.5",cy:"7.5",diameter:"15",onTransitionEnd:C,r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)",value:l}),m.createElement("path",{className:S,d:"M5.36816 7.25119L7.03483 8.91815L9.9515 6.00098",strokeWidth:"1.50026"}),m.createElement("path",{className:T,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"}))}function rB(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.color,i=e.progress,o=void 0===i?0:i,a=e.runnerClass,s=e.trackClass;return m.createElement("div",{"aria-hidden":t,"aria-label":n,className:s,style:{color:r},role:"img"},m.createElement("div",{className:a,style:{width:"".concat(o,"%")}}))}var iB=function(e){var t=e.className,n=e.classProgressRunner,r=e.classProgressText,i=e.classProgressTrack,o=e.color,a=e.percentComplete,s=e.percentCompleteText;return m.createElement("div",{className:t},m.createElement("div",{className:r},s),m.createElement(rB,{"aria-hidden":"true",color:o,progress:a,runnerClass:n,trackClass:i}))},oB=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",role:"img",viewBox:"0 0 17 17",height:"17",width:"17",xmlns:"http://www.w3.org/2000/svg"},m.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"}))},aB=__webpack_require__(67294);function sB(e){return aB.createElement(QT,yt({},e,{viewBox:"0 0 16 8"}),aB.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 uB=__webpack_require__(67294);function lB(e){return uB.createElement(QT,yt({},qa()(["Default"],e),{viewBox:"0 0 16 8"}),uB.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 cB=function(e){var t=e.className;return m.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",version:"1.1",viewBox:"0 0 17 17",xmlns:"http://www.w3.org/2000/svg"},m.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"}))},dB=__webpack_require__(67294);function fB(e){return dB.createElement(AR,yt({height:"12",width:"16",viewBox:"0 0 16 12"},e),dB.createElement("path",{clipRule:"evenodd",d:"M9.6665 2H0.666504V0H9.6665V2ZM12.6665 6H0.666504V4H12.6665V6ZM0.666504 10H7.6665V8H0.666504V10Z",fill:"currentColor",fillRule:"evenodd"}))}var pB=__webpack_require__(67294);function hB(e){return pB.createElement(AR,yt({height:"8",width:"12",viewBox:"0 0 12 8"},e),pB.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 mB=__webpack_require__(67294);function vB(e){return mB.createElement(AR,yt({height:"8",width:"12",viewBox:"0 0 12 8"},e),mB.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 gB=__webpack_require__(67294);function yB(e){return gB.createElement(AR,yt({height:"21",width:"20",viewBox:"0 0 20 21"},e),gB.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"}),gB.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"}),gB.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 bB=__webpack_require__(67294);function _B(e){return bB.createElement(AR,yt({height:"15",width:"16",viewBox:"0 0 16 15"},e),bB.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 wB=__webpack_require__(67294);function kB(e){return wB.createElement(AR,yt({height:"18",width:"18",viewBox:"0 0 18 18"},e),wB.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"}),wB.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 EB=__webpack_require__(67294);function xB(e){return EB.createElement(AR,yt({height:"14",width:"20",viewBox:"0 0 20 14"},e),EB.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"}),EB.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 SB=__webpack_require__(67294);function TB(e){return SB.createElement(AR,yt({height:"14",width:"14",viewBox:"0 0 14 14"},e),SB.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 CB=__webpack_require__(67294),AB=["themeId"],OB=i,NB={classic:i,default:i,imaginative:s,organic:c},PB=gt()((0,m.createContext)(OB),{displayName:"ThemeContext"});function LB(e){var t,n=e.themeId,r=Wi(e,AB);return CB.createElement(PB.Provider,yt({},r,{value:null!==(t=NB[n])&&void 0!==t?t:OB}))}function MB(e){return CB.createElement(CB.Fragment,null,e.children)}function IB(){return null}function RB(e,t,n){function r(r,i){var o,a,s=(0,m.useContext)(PB),u=null!==(o=null==s||null===(a=s[e])||void 0===a?void 0:a[t])&&void 0!==o?o:n;return CB.createElement(u,yt({ref:i},r,{Default:n}))}return r.displayName="ThemeComponent(".concat(t,")"),(0,m.forwardRef)(r)}function DB(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:MB;return RB("components",e,t)}function qB(e){return RB("icons",e,IB)}function jB(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function BB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jB(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):jB(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var FB=(0,m.createContext)({});FB.displayName="FeatureFlagsContext";var UB=FB.Provider;FB.Consumer;function zB(){return(0,m.useContext)(FB)}function HB(e){return zB()[e]}function VB(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return function(n){var r=m.forwardRef((function(r,i){var o=HB(e),a=BB(BB({},r),{},Ar({},t,o));return m.createElement(n,yt({ref:i},a))}));return r.displayName="withFeatureFlag(".concat(n.displayName||n.name,")"),r}}var WB=VB("rise-com-lxp","lxpEnabled");function YB(e){return"/"===e.charAt(0)}function GB(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 KB=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],i=t&&t.split("/")||[],o=e&&YB(e),a=t&&YB(t),s=o||a;if(e&&YB(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?GB(i,c):".."===d?(GB(i,c),l++):l&&(GB(i,c),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&YB(i[0])||i.unshift("");var f=i.join("/");return n&&"/"!==f.substr(-1)&&(f+="/"),f};function ZB(e){return"/"===e.charAt(0)?e:"/"+e}function XB(e){return"/"===e.charAt(0)?e.substr(1):e}function $B(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 QB(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function JB(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 eF(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=(0,_.Z)({},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=KB(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i}function tF(){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 nF=!("undefined"==typeof window||!window.document||!window.document.createElement);function rF(e,t){t(window.confirm(e))}var iF="popstate",oF="hashchange";function aF(){try{return window.history.state||{}}catch(e){return{}}}function sF(e){void 0===e&&(e={}),nF||R(!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?rF:u,c=o.keyLength,d=void 0===c?6:c,f=e.basename?QB(ZB(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=$B(o,f)),eF(o,r,n)}function h(){return Math.random().toString(36).substr(2,d)}var m=tF();function v(e){(0,_.Z)(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)||w(p(e.state))}function y(){w(p(aF()))}var b=!1;function w(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 k=p(aF()),E=[k.key];function x(e){return f+JB(e)}function S(e){n.go(e)}var T=0;function C(e){1===(T+=e)&&1===e?(window.addEventListener(iF,g),i&&window.addEventListener(oF,y)):0===T&&(window.removeEventListener(iF,g),i&&window.removeEventListener(oF,y))}var A=!1;var O={length:n.length,action:"POP",location:k,createHref:x,push:function(e,t){var i="PUSH",o=eF(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=eF(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 uF="hashchange",lF={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+XB(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:XB,decodePath:ZB},slash:{encodePath:ZB,decodePath:ZB}};function cF(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function dF(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function fF(e){window.location.replace(cF(window.location.href)+"#"+e)}function pF(e){void 0===e&&(e={}),nF||R(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,i=void 0===r?rF:r,o=n.hashType,a=void 0===o?"slash":o,s=e.basename?QB(ZB(e.basename)):"",u=lF[a],l=u.encodePath,c=u.decodePath;function d(){var e=c(dF());return s&&(e=$B(e,s)),eF(e)}var f=tF();function p(e){(0,_.Z)(T,e),T.length=t.length,f.notifyListeners(T.location,T.action)}var h=!1,m=null;function v(){var e=dF(),t=l(e);if(e!==t)fF(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===JB(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=w.lastIndexOf(JB(t));-1===n&&(n=0);var r=w.lastIndexOf(JB(e));-1===r&&(r=0);var i=n-r;i&&(h=!0,k(i))}(e)}))}}(n)}}var g=dF(),y=l(g);g!==y&&fF(y);var b=d(),w=[JB(b)];function k(e){t.go(e)}var E=0;function x(e){1===(E+=e)&&1===e?window.addEventListener(uF,v):0===E&&window.removeEventListener(uF,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=cF(window.location.href)),n+"#"+l(s+JB(e))},push:function(e,t){var n="PUSH",r=eF(e,void 0,void 0,T.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=JB(r),i=l(s+t);if(dF()!==i){m=t,function(e){window.location.hash=e}(i);var o=w.lastIndexOf(JB(T.location)),a=w.slice(0,o+1);a.push(t),w=a,p({action:n,location:r})}else p()}}))},replace:function(e,t){var n="REPLACE",r=eF(e,void 0,void 0,T.location);f.confirmTransitionTo(r,n,i,(function(e){if(e){var t=JB(r),i=l(s+t);dF()!==i&&(m=t,fF(i));var o=w.indexOf(JB(T.location));-1!==o&&(w[o]=t),p({action:n,location:r})}}))},go:k,goBack:function(){k(-1)},goForward:function(){k(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}m.Component;m.Component;var hF=function(e,t){return"function"==typeof e?e(t):e},mF=function(e,t){return"string"==typeof e?eF(e,null,null,t):e},vF=function(e){return e},gF=m.forwardRef;void 0===gF&&(gF=vF);var yF=gF((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,o=B(e,["innerRef","navigate","onClick"]),a=o.target,s=(0,_.Z)({},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=vF!==gF&&t||n,m.createElement("a",s)}));var bF=gF((function(e,t){var n=e.component,r=void 0===n?yF:n,i=e.replace,o=e.to,a=e.innerRef,s=B(e,["component","replace","to","innerRef"]);return m.createElement(W.Consumer,null,(function(e){e||R(!1);var n=e.history,u=mF(hF(o,e.location),e.location),l=u?n.createHref(u):"",c=(0,_.Z)({},s,{href:l,navigate:function(){var t=hF(o,e.location);(i?n.replace:n.push)(t)}});return vF!==gF?c.ref=t||a:c.innerRef=a,m.createElement(r,c)}))})),_F=function(e){return e},wF=m.forwardRef;void 0===wF&&(wF=_F);var kF=wF((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,v=e.innerRef,g=B(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return m.createElement(W.Consumer,null,(function(e){e||R(!1);var n=c||e.location,i=mF(hF(h,n),n),y=i.pathname,b=y&&y.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),w=b?Z(n.pathname,{path:b,exact:u,sensitive:d,strict:f}):null,k=!!(l?l(w,n):w),E=k?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=k?(0,_.Z)({},p,{},a):p,S=(0,_.Z)({"aria-current":k&&r||null,className:E,style:x,to:i},g);return _F!==wF?S.ref=t||v:S.innerRef=v,m.createElement(bF,S)}))})),EF=["children","disabled","onClick","to"],xF=function(e){var t=e.children,n=e.disabled,r=e.onClick,i=e.to,o=Wi(e,EF);return n?m.createElement("a",yt({"aria-disabled":"true",role:"link"},o),t):m.createElement(bF,yt({onClick:r,to:i},o),t)},SF={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"}}},TF={checkboxSelect:"common.checkboxSelect",continueBtn:"common.continueBtn",dropdownClose:"common.dropdownClose",dropDownMenu:{item:"common.dropDownMenu.item",trigger:"common.dropDownMenu.trigger"},fileSelect:{btn:"common.fileSelect.btn"},folderTree:{rootFolder:"common.folderTree.rootFolder",caret:"common.folderTree.caret",icon:"common.folderTree.icon",item:"common.folderTree.item"}},CF={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"}},AF={container:"lessonPreview.container",previewIframe:"lessonPreview.previewIframe"},OF={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),PF=function(){return null},LF=DB("CoverAction",(function(e){var t=e.className,n=void 0===t?"":t,r=e.colorAccent,i=e.enrolled,o=e.favoritedAt,a=e.firstLessonId,s=e.isPreview,u=e.nextLessonId,l=e.percentComplete,c=(e.trackingQuizId,HB("rise-com-lxp"),ix()?100===l:nx()),d=null!=u,f=d?u:a,p=i||o||s||ix()||rx(),h=!s&&Vn,m=function(e){var t=e.isCourseComplete,n=e.percentCourseComplete,r=ZP(),i=r.courseDetails,o=r.courseResume,a=r.courseStart,s=r.processStartAgain;return{courseCTALabel:t?s:n>0?o:a,courseDetailsLabel:i}}({isCourseComplete:c,percentCourseComplete:l}),v=m.courseCTALabel,g="preview"===window.viewType||!0,y=eC()(n,"cover__header-content-action-link",{"cover__header-content-action-link--disabled":!g,"overview__start-again":h,"overview__button-enrolled":p}),b=eC()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--dark":!DS(r)});return v?NF.createElement("div",{className:"cover__header-content-action-wrapper"},NF.createElement(xF,{className:y,"data-ba":SF.course.overview.actionButton,disabled:!g,to:hP(f)},NF.createElement("span",{className:b,"data-ba":SF.course.overview.startButton},v)),NF.createElement(PF,null)):NF.createElement(PF,null)}));var MF=Qt((function(){var e=xP();return function(t){var n=fN(t),r=Br()(["theme","colorAccent"],n),i=MP(t),o=function(e){return e.global}(t),a=nP(t),s=mN(t)||{},u=Br()(["media","image","key"],s),l=e(t);return{colorAccent:r,coverImageKey:u,enrolled:n.enrolled,favoritedAt:n.favoritedAt,firstLessonId:null==i?void 0:i.id,isOnePage:n.type===Pb,isPreview:null==o?void 0:o.isPreview,navigation:n.navigation,nextLessonId:l,percentComplete:a,trackingQuizId:n.trackingQuizId}}}))(LF),IF=__webpack_require__(68434),RF="".concat(Hn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/certificate-icon.svg"),DF="".concat(Hn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/error_x.svg"),qF="".concat(Hn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/loading_spinner.svg"),jF="downloading",BF="error",FF="ok",UF="contained",zF=function(e){var t=e.type,n=Cr((0,m.useState)((function(){return WC()("certdownload-")})),1)[0],r=Cr((0,m.useState)(FF),2),i=r[0],o=r[1],a=(0,IF.Z)(i),s=(0,m.useRef)(),u="".concat(n,"-live"),l=eC()("certificateDownload",{certificateDownloadContained:t===UF}),c=(0,m.useCallback)((function(){o(jF)}),[]);return(0,m.useEffect)((function(){return i===jF&&a!==jF&&function(){if(Cx("downloadCertificate"))return Tx.downloadCertificate.apply(Tx,arguments)}().then((function(){o(FF)})).catch((function(e){(0,qb.isCancel)(e)?o(FF):o(BF)})),function(){!function(){if(Cx("downloadCertificateCancel"))Tx.downloadCertificateCancel.apply(Tx,arguments)}()}}),[a,i]),(0,m.useEffect)((function(){s.current&&(i===BF&&a!==BF||i===FF&&(a===BF||a===jF))&&s.current.focus()}),[a,i]),m.createElement("div",{className:l},m.createElement("div",{"aria-live":"polite",id:u,role:"status"},i===jF&&m.createElement("span",{className:"certificateDownload__downloading"},m.createElement("img",{alt:"",className:"animation-loading certificateDownload__downloadingImg",height:"15",src:qF,width:"15"}),"Downloading..."),i===BF&&m.createElement("span",{className:"certificateDownload__error"},m.createElement("img",{alt:"Error",className:"certificateDownload__errorImg",height:"15",src:DF,width:"15"}),m.createElement("span",{className:"visually-hidden"},"Failed to download certificate"))),(i===FF||i===BF)&&m.createElement("button",{"aria-controls":u,className:"certificateDownload__btn",onClick:c,ref:s,type:"button"},i===FF&&t===UF&&m.createElement("img",{alt:"",className:"certificateDownload__okImg",height:"15",src:RF,width:"15"}),i===FF?"Download certificate":"Retry download"))},HF=function(){return m.createElement(zF,{type:UF})},VF=(0,m.memo)(zF),WF=__webpack_require__(67031),YF=__webpack_require__.n(WF),GF=pa()(so()({}),Gk()(["first_name","last_name"]),ZA()(" "),YF()),KF=["className","decorative","size"],ZF=function(e){var t=e.className,n=e.decorative,r=e.size,i=Wi(e,KF),o=Br()(["avatars","medium"],i),a=n?"":GF(i)||"Unknown User";return o?m.createElement("img",{alt:a,className:t||"user-avatar",src:o,style:{height:r,width:r}}):m.createElement(GC,{decorative:n,height:r,title:a,width:r})},XF=__webpack_require__(67294),$F="".concat(KE("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),QF=cL("cover");var JF=__webpack_require__(67294),eU=cL("cover");var tU=DB("CoverDueDate",(function(e){var t=e.className,n=void 0===t?"":t,r=e.dueAt,i=Jt((function(e){return sP(e)})),o=aP(),a=null==o||o.quizPassed||o.outOfAttempts;if(!r||i&&a)return null;var s=WL(r);return JF.createElement("div",{className:eU("due-date",{urgent:s}).mix(n)},VL(r))}));var nU=Qt((function(e){return{dueAt:fN(e).dueAt}})),rU=nU(tU),iU=(__webpack_require__(67294),cL("cover"),DB("CoverProgress",(function(e){e.nextLesson,e.percentComplete;return null}))),oU=Qt((function(){var e=SP();return function(t){return{nextLesson:e(t),percentComplete:nP(t)}}})),aU=oU(iU),sU=__webpack_require__(67294),uU=cL("cover");function lU(){var e,t=oL().trackingCompletionPercentage,n=uL(),r=rP(),i=Math.ceil(t/100*n);if(null==t||null==i)return null;var o=r>=t,a=o?Ij:Rj;return sU.createElement("li",{className:uU("lesson-requirement"),role:"listitem"},sU.createElement(a,{className:uU("lesson-requirement-icon",{complete:o}).toString()}),sU.createElement("span",{className:uU("lesson-requirement-text")},"Complete",i===n?" all ":_t()(e=" ".concat(i," of ")).call(e,n," "),"lessons in this course"))}var cU={passed:jj,failed:qj,requirement:Bj};function dU(){var e,t=Jt((function(e){return iP(e)})),n=aP(),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=cU[u];return sU.createElement("li",{className:uU("quiz-requirement"),role:"listitem"},sU.createElement(l,{className:uU("quiz-requirement-icon",{type:u}).toString()}),sU.createElement("span",{className:uU("quiz-requirement-text")},r,null!=i&&sU.createElement(sU.Fragment,null,sU.createElement("span",{"aria-hidden":"true",className:uU("quiz-requirement-seperator")}," | "),"Score of ",i,"% or higher"),s&&sU.createElement("div",{className:uU("quiz-requirement-no-attempts")},"No attempts remaining")))}var fU="focus-lesson-content",pU="preview-open-sidebar-nav",hU="preview-open-overlay-nav",mU="preview-close-overlay-nav",vU="preview-show-lesson-nav",gU="preview-nav-open",yU="event-lesson-transition-start",bU="event-lesson-transition-end",_U="event-lesson-nav-prev-visible",wU="event-lesson-nav-prev-hidden",kU=__webpack_require__(16944),EU=__webpack_require__.n(kU),xU=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}()}(),SU="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,TU=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")(),CU="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(TU):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var AU=["top","right","bottom","left","width","height","size","weight"],OU="undefined"!=typeof MutationObserver,NU=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(){CU(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(){SU&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),OU?(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(){SU&&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=AU.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}(),PU=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},LU=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||TU},MU=BU(0,0,0,0);function IU(e){return parseFloat(e)||0}function RU(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+IU(e["border-"+n+"-width"])}),0)}function DU(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return MU;var r=LU(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]=IU(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=IU(r.width),u=IU(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=RU(r,"left","right")+o),Math.round(u+a)!==n&&(u-=RU(r,"top","bottom")+a)),!function(e){return e===LU(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 BU(i.left,i.top,s,u)}var qU="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof LU(e).SVGGraphicsElement}:function(e){return e instanceof LU(e).SVGElement&&"function"==typeof e.getBBox};function jU(e){return SU?qU(e)?function(e){var t=e.getBBox();return BU(0,0,t.width,t.height)}(e):DU(e):MU}function BU(e,t,n,r){return{x:e,y:t,width:n,height:r}}var FU=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=BU(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=jU(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}(),UU=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 PU(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);PU(this,{target:e,contentRect:n})},zU=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new xU,"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 LU(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new FU(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 LU(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 UU(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}(),HU="undefined"!=typeof WeakMap?new WeakMap:new xU,VU=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=NU.getInstance(),r=new zU(t,n,this);HU.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){VU.prototype[e]=function(){var t;return(t=HU.get(this))[e].apply(t,arguments)}}));var WU=void 0!==TU.ResizeObserver?TU.ResizeObserver:VU;function YU(e,t){var n=void 0!==ct()&&br()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return GU(e,t);var r=wr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Er()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return GU(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 GU(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 KU=new(EU()),ZU=new WU((function(e){var t,n=YU(e);try{for(n.s();!(t=n.n()).done;){var r,i=t.value;null===(r=KU.get(i.target))||void 0===r||r(i)}}catch(e){n.e(e)}finally{n.f()}}));function XU(e,t){(0,m.useEffect)((function(){if(e)return KU.set(e,t),function(){return KU.delete(e)}}),[e,t]),(0,m.useEffect)((function(){if(e)return ZU.observe(e),function(){return ZU.unobserve(e)}}),[e])}var $U=__webpack_require__(67294);function QU(){var e=Ge(),t=Cr((0,m.useState)(null),2),n=t[0],r=t[1],i=ZP(),o=(0,m.useCallback)((function(t){e(nN({offsetHeight:t.target.offsetHeight}))}),[e]);return(0,m.useLayoutEffect)((function(){if(n)return e(nN({offsetHeight:n.offsetHeight})),function(){return e(nN(null))}}),[e,n]),XU(n,o),$U.createElement("button",{className:"visually-hidden btn-skip-to-lesson brand--ui",onClick:JU,ref:r,type:"button"},$U.createElement("span",{className:"btn-skip-to-lesson__wrap"},null==i?void 0:i.courseSkipToLesson,$U.createElement("span",{"aria-hidden":"true"},$U.createElement(rC,{className:"btn-skip-to-lesson__icon"}))))}function JU(){document.dispatchEvent(new CustomEvent(fU))}var ez=__webpack_require__(60488),tz=__webpack_require__.n(ez),nz=__webpack_require__(54366),rz=__webpack_require__.n(nz),iz={keys:["End"],keyCode:rz().KEY_END},oz={keys:["Enter"],keyCode:rz().KEY_RETURN},az={keys:["Home"],keyCode:rz().KEY_HOME},sz={keys:["Tab"],keyCode:rz().KEY_TAB},uz={keys:[" "],keyCode:rz().KEY_SPACE},lz={keys:["Escape","Esc"],keyCode:rz().KEY_ESCAPE},cz={keys:["ArrowUp"],keyCode:rz().KEY_UP},dz={keys:["ArrowDown"],keyCode:rz().KEY_DOWN},fz={keys:["ArrowLeft"],keyCode:rz().KEY_LEFT},pz={keys:["ArrowRight"],keyCode:rz().KEY_RIGHT},hz=function(e){var t=e.keyCode,n=tz()(e);return function(e){return e.keyCode?e.keyCode===t:qn()(e.key,n)}},mz=function(e){return e.altKey||e.ctrlKey||e.metaKey},vz=(hz(iz),hz(oz)),gz=(hz(az),hz(sz)),yz=hz(uz),bz=hz(lz),_z=hz(cz),wz=hz(dz),kz=hz(fz),Ez=hz(pz),xz=Uo()(wz,Ez),Sz=Uo()(yz,vz),Tz=(Uo()(gz,vz),Uo()(Ez,_z)),Cz=Uo()(kz,wz),Az=Uo()(_z,wz),Oz=Uo()(_z,kz),Nz=Sa()(Sz),Pz=Ja()((function(e,t){0!==e.scrollTop&&(t.preventDefault(),e.scrollTop-=25)})),Lz=Ja()((function(e,t,n){t&&(n.preventDefault(),e.scrollTop+=25)})),Mz=__webpack_require__(67294),Iz=(0,m.createContext)(!1);function Rz(e){var t=e.children,n=e.inert,r=Dz();return Mz.createElement(Iz.Provider,{value:r||n},t)}Iz.Consumer;function Dz(){return(0,m.useContext)(Iz)}var qz=__webpack_require__(67294),jz=(0,m.forwardRef)((function(e,t){var n=e.children,r=e.className,i=e.dark,o=e.visible,a=(0,m.useMemo)((function(){return cL(r)}),[r]),s=qz.createElement("div",{"aria-hidden":"true",ref:t,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:yq()}},qz.createElement("div",{style:{pointerEvents:"all"}},qz.createElement("div",{className:a({visible:o})},qz.createElement("div",{className:a("inner",{dark:i,light:!i})},n))));return(0,v.createPortal)(s,document.getElementById("portal"))}));function Bz(e){var t,n,r,i=e.children,o=e.className,a=e.dark,s=e.lessonId,u=e.restriction,l=e.tooltipClassName,c=e.style,d=(0,m.useRef)(),f=(0,m.useRef)(),p=ZP(),h=_P(s).title,v=Dz(),g=Cr((0,m.useState)(!1),2),y=g[0],b=g[1],_=(0,m.useCallback)((function(){return b(!0)}),[]),w=(0,m.useCallback)((function(){return b(!1)}),[]),k=(0,m.useCallback)((function(){setTimeout(_,0)}),[_]),E=(0,m.useCallback)((function(e){bz(e)&&y&&(e.stopPropagation(),w())}),[w,y]),x=(0,m.useCallback)((function(){document.activeElement===d.current&&_()}),[_]),S=(0,m.useCallback)((function(){if(y){var e,t=d.current.getBoundingClientRect(),n=f.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;gt()(f.current.style,{transform:_t()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}}),[y]);((0,m.useEffect)((function(){v&&b(!1)}),[v]),(0,m.useLayoutEffect)((function(){return S()}),[S]),QI("resize",S,window),_q(d,w),u.type===pP.QUIZ)?n=_t()(r="".concat(p.quizRequirePassingScore,': "')).call(r,u.data,'"'):u.type===pP.ORDER?n=p.lessonRestricted:u.type===pP.ENROLLMENT&&(n="Please save to My List to take this course");return qz.createElement(qz.Fragment,null,qz.createElement("span",{"aria-disabled":!0,"aria-label":_t()(t="The ".concat(h," lesson is currently unavailable: ")).call(t,n,"."),className:o,onBlur:w,onFocus:k,onKeyDown:E,onMouseEnter:x,onMouseLeave:w,ref:d,role:"link",tabIndex:v?-1:0,style:c},i),qz.createElement(jz,{className:l,dark:a,ref:f,visible:y},n))}function Fz(e){var t=e.b,n=e.children,r=e.dark,i=e["data-direction"],o=e.isCurrentLesson,a=e.isTooltipEnabled,s=e.lessonId,u=e.onClick,l=e.onFocus,c=e.onHideProgressTooltip,d=e.onNavigate,f=e.onShowProgressTooltip,p=e.restriction,h=e.showProgressDelay,v=e.style,g=pN(),y=g.color,b=g.navigationStyle,_=b===cS.IMAGE,w=b===cS.ACCENT,k=b===cS.ACCENT&&DS(y),E=b===cS.TINT,x=Dz(),S=(0,m.useCallback)((function(e){u(e),o?(e.preventDefault(),JU()):d(s)}),[s,o,u,d]),T=Cr((0,m.useState)(!1),2),C=T[0],A=T[1],O=(0,m.useCallback)((function(e){!C&&a&&(null!=h?setTimeout(f,h):f()),null==l||l(e)}),[C,l,h,f,a]),N=(0,m.useCallback)((function(e){a&&bz(e)&&c()}),[c,a]),P=(0,m.useCallback)((function(){a&&A(!0)}),[a]),L=(0,m.useCallback)((function(){a&&A(!1)}),[a]),M=null!=(null==p?void 0:p.type),I=t("link",{"accent-full":w,"accent-full-dark":k,"accent-tint":E,active:o,dark:r,image:_,light:!r,restricted:M}).toString();return M?qz.createElement(Bz,yt({},e,{className:I,style:v})):qz.createElement(kF,{"aria-current":"page",className:I.toString(),"data-link":"lesson-link-item",onBlur:a?c:void 0,onClick:S,"data-ba":SF.course.lesson.nextLessonLink,"data-direction":i,onFocus:O,onKeyDown:N,onMouseDown:P,onMouseUp:L,style:v,tabIndex:x?-1:void 0,to:hP(s)},n)}function Uz(e){var t,n=e.className,r=e.dark,i=e.isCurrentLesson,o=e.last,a=e.lessonId,s=e.style,u=(0,m.useMemo)((function(){return cL(n)}),[n]),l=EP(a),c=null!=(null==l?void 0:l.type),d=(null!==(t=cP(a))&&void 0!==t?t:{}).isComplete,f=u({active:i,complete:void 0!==d&&d,dark:r,last:o,light:!r,restricted:c});return qz.createElement("div",{className:f},qz.createElement(Fz,yt({},e,{b:u,isCurrentLesson:i,restriction:l,style:s})))}jz.defaultProps={className:"lesson-link-item-tooltip"},Fz.defaultProps={onClick:Function.prototype,onNavigate:Function.prototype},Uz.defaultProps={className:"lesson-link-item"};var zz=__webpack_require__(67294),Hz=cL("lesson-nav"),Vz=function(e){var t=e.children,n=e.finish,r=e.lessonId,i=e.onFocus,o=e.style;if(r)return zz.createElement(Uz,yt({className:"lesson-nav-link",onFocus:i,tooltipClassName:"lesson-nav-link-tooltip",style:o},e));var a=n?"/lessons/progress-summary":"/";return zz.createElement("span",{className:"lesson-nav-link"},zz.createElement(bF,{className:"lesson-nav-link__link","data-direction":e["data-direction"],onFocus:i,style:o,to:a},t))};var Wz=de()(Qt((function(e){var t=fN(e),n=KP(e);return{buttonScheme:t.buttonScheme,color:t.color,labelLessonRestricted:n.lessonRestricted,labelQuizRequirePassingScore:n.quizRequirePassingScore}}),null,null,{forwardRef:!0}),m.forwardRef),Yz=Wz((function(e,t){var n,r,i=e.buttonScheme,o=e.children,a=e.color,s=e.direction,u=e.finish,l=e.linkStyles,c=e.navLessonId,d=e.onFocus,f=e.restrictionType,p=e.wrapStyles,h=null!=f,v=(0,m.useMemo)((function(){return DS(a)}),[a]),g=MI(),y=Hz(null,(Ar(n={},s,!0),Ar(n,"accent",i===dS.ACCENT),Ar(n,"accent-dark",i===dS.ACCENT&&v),Ar(n,"accent-light",i===dS.ACCENT&&!v),Ar(n,"dark",i===dS.DARK),Ar(n,"floating",g===fS.FLOATING),Ar(n,"floating-full",g===fS.FLOATING_FULL),Ar(n,"finish",u),Ar(n,"full",g===fS.FULL),Ar(n,"light",i===dS.LIGHT),Ar(n,"restricted",h),Ar(n,"tint",i===dS.TINT),n)),b=(Ar(r={className:y},"data-".concat(s,"-lesson"),!0),Ar(r,"style",p),r);return zz.createElement("div",yt({ref:t},b),zz.createElement(Vz,{"data-direction":s,lessonId:c,onFocus:d,finish:u,style:l},o))})),Gz=__webpack_require__(67294),Kz={CoverAction:MF,CoverCompletedInformation:function(){var e,t=pN(),n=t.certificateDownload,r=t.riseComCurrentUser,i=WP(),o=aP(),a=null===(e=null==o?void 0:o.quizPassed)||void 0===e||e;return i&&a&&!ix()&&"preview"!==window.viewType?XF.createElement("div",{className:QF("completed-info")},XF.createElement("div",{className:QF("completed-info-avatar")},XF.createElement(ZF,yt({},r,{decorative:!0})),XF.createElement("img",{className:QF("completed-info-trophy"),src:$F,alt:""})),XF.createElement("div",{className:QF("completed-info-label")},XF.createElement("span",{"aria-hidden":"true"},"Completed"),XF.createElement("span",{className:"visually-hidden"},"Course Completed")),n&&XF.createElement(VF,null)):null},CoverDueDate:rU,CoverProgress:aU,CoverRequirements:function(){var e=oL(),t=e.trackingCompletionPercentage,n=e.trackingQuizId;return null==t&&!n?null:sU.createElement("section",{className:uU("requirements-section")},sU.createElement("h2",{className:uU("requirements-title")},"Course Requirements"),sU.createElement("ul",{className:uU("requirements-list")},sU.createElement(lU,null),sU.createElement(dU,null)))},LessonNav:Yz};function Zz(e){var t=e.children;return Gz.createElement(JL,Kz,t)}var Xz=__webpack_require__(99376),$z=function(e,t,n){var r=(0,m.useRef)(void 0);r.current&&n(t,r.current)||(r.current=t),(0,m.useEffect)(e,r.current)},Qz=function(e,t){return e.every((function(e,n){return(0,Xz.D)(e,t[n])}))},Jz=function(e,t){$z(e,t,Qz)},eH=__webpack_require__(67294),tH={};function nH(e){var t=e.children,n=Ge(),r=zB();return Jz((function(){n(GA(r))}),[r]),t}function rH(e){var t,n=e.children,r=pN(),i=null!==(t=null==r?void 0:r.features)&&void 0!==t?t:tH;return eH.createElement(UB,{value:i},eH.createElement(nH,null,n))}var iH=__webpack_require__(57209),oH=__webpack_require__(71570),aH=__webpack_require__(49611),sH=__webpack_require__.n(aH),uH=__webpack_require__(31425),lH=__webpack_require__.n(uH);function cH(e){return null!=e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function dH(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function fH(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return dH(n.overflowY,t)||dH(n.overflowX,t)}return!1}function pH(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 hH=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(!cH(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,l=[],c=e;cH(c)&&s(c);){if((c=c.parentNode||c.host)===u){l.push(c);break}c===document.body&&fH(c)&&!fH(document.documentElement)||fH(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,L=C.bottom,M=C.left;if("if-needed"===n&&y>=0&&w>=0&&_<=f&&b<=d&&y>=N&&_<=L&&w>=M&&b<=P)return x;var I=getComputedStyle(T),R=parseInt(I.borderLeftWidth,10),D=parseInt(I.borderTopWidth,10),q=parseInt(I.borderRightWidth,10),j=parseInt(I.borderBottomWidth,10),B=0,F=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)B="start"===r?k:"end"===r?k-f:"nearest"===r?pH(h,h+f,f,D,j,h+k,h+k+v,v):k-f/2,F="start"===i?E:"center"===i?E-d/2:"end"===i?E-d:pH(p,p+d,d,R,q,p+E,p+E+g,g),B=Math.max(0,B+h),F=Math.max(0,F+p);else{B="start"===r?k-N-D:"end"===r?k-L+j+z:"nearest"===r?pH(N,L,A,D,j+z,k,k+v,v):k-(N+A/2)+z/2,F="start"===i?E-M-R:"center"===i?E-(M+O/2)+U/2:"end"===i?E-P+q+U:pH(M,P,O,R,q+U,E,E+g,g);var H=T.scrollLeft,V=T.scrollTop;k+=V-(B=Math.max(0,Math.min(V+B,T.scrollHeight-A+z))),E+=H-(F=Math.max(0,Math.min(H+F,T.scrollWidth-O+U)))}x.push({el:T,top:B,left:F})}return x};function mH(e){return e===Object(e)&&0!==Object.keys(e).length}var vH=function(e,t){if(mH(t)&&"function"==typeof t.behavior)return t.behavior(hH(e,t));var n=function(e){return!1===e?{block:"end",inline:"nearest"}:mH(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)}))}(hH(e,n),n.behavior)},gH=__webpack_require__(14935),yH=__webpack_require__.n(gH),bH=Ea()(Dx()(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i),Hr()("#FFF")),_H=oi()({color:bH}),wH=de()((function(e){var t,n=e.bodyTypeface,r=e.color,i=e.headingTypeface,o=e.uiTypeface;return m.createElement("div",{dangerouslySetInnerHTML:{__html:yH()({bodyTypeface:n,color:r,colorTransparent:r+"1A",colorRGB:null===(t=$x(r))||void 0===t?void 0:wr()(t).call(t,0,3),headingTypeface:i,uiTypeface:o})}})}),_H);wH.displayName="Branding",wH.propTypes={bodyTypeface:b().string,color:b().string.isRequired,headingTypeface:b().string,uiTypeface:b().string};var kH=(0,m.memo)(wH),EH=__webpack_require__(67294);function xH(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var SH="riseUnsupportedBrowser",TH={authoring:/Android|webOS|iPhone|iPad|iPod|BlackBerry|MSIE|Trident/,runtime:/MSIE/},CH=function(e){ut(n,e);var t=xH(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){return function(e){return new RegExp(TH[e],"i").test(window.navigator.userAgent)}(this.props.env)&&!window.sessionStorage.getItem(SH)?this.renderUnsupported():this.props.children}},{key:"renderUnsupported",value:function(){return EH.createElement("div",null,this.props.children,EH.createElement("div",{className:"browser-support"},EH.createElement("div",{className:"browser-support__inner"},EH.createElement("p",{className:"browser-support__text browser-support__text--full"},"Youre using an unsupported browser. For better results, use a modern browser. "),EH.createElement("p",{className:"browser-support__text browser-support__text--mobile"},"Unsupported browser"),EH.createElement("a",{href:"https://articulate.com/support/article/System-Requirements-for-Rise",rel:"noopener noreferrer",target:"_blank",className:"browser-support__link"},EH.createElement("span",null,"Learn more"),EH.createElement("i",{className:"icon icon-chevron-right"})),EH.createElement("div",{className:"browser-support__dismiss",onClick:this.handleDismiss.bind(this)},EH.createElement("span",{className:"browser-support__dismiss-icon"},"×")))))}},{key:"handleDismiss",value:function(){window.sessionStorage.setItem(SH,"true"),this.forceUpdate()}}]),n}(EH.Component),AH=__webpack_require__(67294);var OH=__webpack_require__(67294);function NH(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var PH=function(e){ut(n,e);var t=NH(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={failAttempt:!1,shouldShake:!1},r}return rt(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=eC()("brand--border","share-password-dialog",{"fail-password":n}),i=t?"You need a password to view this lesson. If you dont know it, ask the person who shared this with you.":"You need a password to view this course. If you dont know it, ask the person who shared this with you.";return OH.createElement("div",{className:r,ref:function(t){e.dialog=t}},OH.createElement("h1",{className:"heading"},"Enter Password"),OH.createElement("p",{className:"instructions"},i),OH.createElement("form",{onSubmit:this.onSubmitPassword.bind(this)},OH.createElement("label",{htmlFor:"share-password",className:"label"},"password"),OH.createElement("input",{id:"share-password",ref:"password",type:"password",className:"input"}),OH.createElement("div",{className:"dialog__toolbar"},OH.createElement("input",{type:"submit",className:"button brand--background",value:"View"}))))}}]),n}(OH.Component),LH=Qt((function(e){return{isOnePage:yN(e)}}))(PH),MH=function(e){return function(){return document.querySelector(e)}},IH=function(e){return wr()(Array.prototype).call(e)},RH="group",DH=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"}},qH=":focus{outline: none}",jH="focus-ring-style",BH=function(){return document.getElementById(jH)||FH()},FH=function(){var e=document.createElement("style");return e.id=jH,document.head.appendChild(e),e},UH=-1,zH=function(e){var t=e.target,n=BH();(gz(e)||Sz(e)&&!t.classList.contains("ignore-prefers"))&&(n.innerHTML="",sN(zO(!0)))},HH=function(e){return e?0:UH},VH=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})},WH=function(e){var t=e.element,n=e.selector,r=e.tabIndex;IH(t.querySelectorAll(n)).forEach((function(e){VH(e,r)}))},YH=function(e){IH(e.getElementsByTagName("*")).forEach((function(e){VH(e,UH)}))},GH=function(e){return function(t){var n,r,i=t.querySelectorAll('[tabindex = "0"]');return!!i.length&&(n=Hr()(e),r=i,Gr()(n,_E(),Ll())(r).focus(),!0)}},KH=GH(!0),ZH=(GH(!1),function(e){var t=e.list,n=e.index;n>=0&&n<$o()(t)&&t[n].focus()}),XH=function(e){var t=e.list,n=e.currentIndex,r=Rs()(n||0),i=r<$o()(t)?r:0;return ZH({list:t,index:i}),i},$H=function(e){var t=e.list,n=e.currentIndex,r=EN()(n||$o()(t));return ZH({list:t,index:r}),r},QH=function(e){return Zn()?e:((t=e)?"".concat(t," | "):"")+"Rise 360";var t},JH=(0,Sw.curryN)(1,(0,Sw.either)(Sw.isNil,Sw.isEmpty)),eV=__webpack_require__(67294),tV=gt()((0,m.createContext)(),{displayName:"BlockContext"});function nV(e){var t=e.block,n=e.children,r=Cr((0,m.useState)(t),2),i=r[0],o=r[1];return(0,m.useEffect)((function(){return o((function(e){return t||e}))}),[t]),eV.createElement(tV.Provider,{value:i},eV.createElement(gV,null==i?void 0:i.settings,n))}tV.Consumer;function rV(){return(0,m.useContext)(tV)}var iV=xb()({BRAND:null,COLOR:null,IMAGE:null,TINT:null}),oV=xb()({BRANDED:null,UNBRANDED:null}),aV=xb()({WHITE:null,TRANSPARENT:null}),sV={backgroundColor:"",backgroundMode:iV.COLOR,cardMode:aV.WHITE,entranceAnimation:!0,paddingBottom:3,paddingTop:3,styleMode:oV.BRANDED};var uV={360:{storyline:"#fafafa"},impact:{c:"#ececec",d:"#f5f5f5"},quote:{d:"#f5f5f5"}};function lV(e){switch(e.backgroundMode){case iV.COLOR:return e.backgroundColor;case iV.BRAND:return e.courseColor;case iV.TINT:return FS(e.courseColor)}}var cV=__webpack_require__(67294),dV=["children"];function fV(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function pV(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fV(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):fV(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var hV=gt()((0,m.createContext)(sV),{displayName:"BlockSettingsContext"});function mV(){return(0,m.useContext)(hV)}function vV(){var e=HB("rise-authoring-controls"),t=mV();return e?lV(t):t.backgroundColor}function gV(e){var t,n,r,i,o=e.children,a=Wi(e,dV),s=rV(),u=mV(),l=n_()(JH,a),c=null==s?null:(t=s.family,n=s.variant,null!==(r=null===(i=uV[t])||void 0===i?void 0:i[n])&&void 0!==r?r:"#ffffff"),d=pV(pV({},u),{},{backgroundColor:c},l);return cV.createElement(hV.Provider,{value:d},o)}hV.Consumer;var yV=__webpack_require__(67294);function bV(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var _V=function(e){ut(n,e);var t=bV(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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=qo()("component",this.props);return yV.createElement(X,yt({},i,{render:function(t){var i=t.match,o=yo()(n,{match:i,ref:function(t){return e.child=t}});return yV.createElement(r,o)}}))}}]),n}(yV.Component),wV=_V,kV=__webpack_require__(67294);function EV(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var xV=function(e){ut(n,e);var t=EV(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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=qo()("children",this.props);return kV.createElement(ne,r,n&&Ca()(e=kV.Children).call(e,n,(function(e){return null!==e&&kV.cloneElement(e,{ref:function(e){return t.child=e}})})))}}]),n}(kV.Component),SV=xV,TV=__webpack_require__(67294);function CV(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var AV=function(e){ut(n,e);var t=CV(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).handleTransition=r.handleTransition.bind(it(r)),r.onEnter=r.onEnter.bind(it(r)),r.onEntered=r.onEntered.bind(it(r)),r.onExit=r.onExit.bind(it(r)),r.onExited=r.onExited.bind(it(r)),r}return rt(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 TV.createElement(Zt,yt({addEndListener:this.handleTransition,onEntered:this.onEntered,onExited:this.onExited,unmountOnExit:!0},this.props),(function(n){return e.transitionState=n,t&&TV.cloneElement(TV.Children.only(t),{ref:function(t){return e.child=t}})}))}}]),n}(TV.Component);__webpack_require__(67294),cL("cover");tM("CoverCompletedInformation"),tM("CoverDueDate"),tM("CoverRequirements");var OV=__webpack_require__(67294),NV=cL("cover"),PV=function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasPartnerContent,i=e.publishedAt,o=e.tenantId;return r?OV.createElement(tD,{type:"partner-content"},OV.createElement(CD,{courseId:t,partnerContent:n,publishedAt:i,tenantId:o})):null},LV=DB("CoverCourseInfo",(function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasLogo,i=e.hasPartnerContent,o=e.publishedAt,a=e.tenantId,s=NV("details-content-aside",{logo:r});return OV.createElement("div",{className:s},Vn,OV.createElement(PV,{courseId:t,coursePartnerContent:n,hasPartnerContent:i,publishedAt:o,tenantId:a}),Vn,Vn)})),MV=LV,IV=cL("cover"),RV=DB("CoverDescription",(function(){var e=oL(),t=e.description,n=e.navigation?"description":"description-no-outline";return t?m.createElement("div",null,m.createElement(tD,{type:n},m.createElement(NL,{className:IV("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:PL(t)}))):null}));function DV(e){return gr(e)||Sl(e)||Sr(e)||Tr()}var qV=__webpack_require__(72895),jV=__webpack_require__.n(qV),BV=["icon"];function FV(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}m.Component;function UV(e){var t=e.icon,n=Wi(e,BV);switch(t){case Cb:return m.createElement(tC,n);case Ab:return m.createElement(rA,n);case Ob:return m.createElement(XC,n);case Nb:return m.createElement(iA,n);default:return m.createElement("i",{className:"icon icon-Master-02"})}}var zV=__webpack_require__(66261);function HV(){var e,t=se("/lessons/:currentLessonId");return null==t||null===(e=t.params)||void 0===e?void 0:e.currentLessonId}var VV=DB("LessonProgressGraphic");function WV(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=pN(),f=d.color,p=d.navigationStyle,h=(null!==(t=_P(i))&&void 0!==t?t:{}).type,v=cP(i),g=HV(),y=TP(i),b=CP(i),_=EP(i),w=null!=(null==_?void 0:_.type),k=null==v?void 0:v.isComplete,E=i===g,x=null!==(n=null==v?void 0:v.percentComplete)&&void 0!==n?n:0,S=(0,m.useCallback)((function(){sN(Ju({id:i,type:h}))}),[i,h]),T=(0,m.useCallback)((function(){sN(el({id:i,type:h}))}),[i,h]);return m.createElement(Cq,{canComplete:r,color:f,hasRestriction:w,isComplete:k,isCurrentLesson:E,isDark:o,isEnabled:a,isFailed:y,isPassed:b,isTooltipVisible:s,navigationStyle:p,onHideTooltip:u,onMarkComplete:S,onMarkReset:T,onShowTooltip:l,percentComplete:x,progressGraphic:VV,scope:c})}function YV(e){var t,n,r=e.className,i=e.id,o=e.last,a=oe(),s=HV(),u=pN(),l=u.color,c=u.navigationStyle,d=null!==(t=_P(i))&&void 0!==t?t:{},f=d.icon,p=d.title,h=cP(i),v=TP(i),g=CP(i),y=EP(i),b=null==h?void 0:h.isComplete,_=null!==(n=null==h?void 0:h.percentComplete)&&void 0!==n?n:0,w=null!=(null==y?void 0:y.type),k=Cr((0,m.useState)(!1),2),E=k[0],x=k[1],S=(0,m.useCallback)((function(){return x(!0)}),[]),T=(0,m.useCallback)((function(){return x(!1)}),[]),C=eC()("overview-list__li",{"overview-list__li--last":o}),A=eC()(r,"overview-list-item"),O=(0,m.useCallback)((function(e){var t=e.currentTarget.hash;e.preventDefault(),zV.ZP.Events.scrollEvent.register("end",(function(){a.push(wr()(t).call(t,1)),zV.ZP.Events.scrollEvent.remove("end")})),zV.ZP.animateScroll.scrollTo(0,{containerId:"overview"})}),[a]);return m.createElement("li",{className:C,role:"listitem"},m.createElement(Uz,{className:A,isTooltipEnabled:!0,lessonId:i,onBlur:T,onClick:O,onHideProgressTooltip:T,onShowProgressTooltip:S,tooltipClassName:"overview-list-item-tooltip",showProgressDelay:25},m.createElement(KV,{color:l,hasRestriction:w,isComplete:b,isCurrentLesson:i===s,isFailed:v,isPassed:g,isTooltipVisible:E,lessonId:i,lessonIcon:f,lessonTitle:p,navigationStyle:c,onHideTooltip:T,onShowTooltip:S,percentComplete:_,progressGraphic:GV,scope:Mb.COVER})))}var GV=DB("LessonProgressGraphic");var KV=DB("OverviewListItemLinkContent",(function(e){var t=e.isTooltipVisible,n=e.lessonIcon,r=e.lessonId,i=e.lessonTitle,o=e.onHideTooltip,a=e.onShowTooltip,s=e.scope;return m.createElement(m.Fragment,null,m.createElement("span",{"aria-hidden":"true",className:"overview-list-item__icon"},m.createElement(UV,{icon:n})),m.createElement("span",{className:"overview-list-item__title"},i),m.createElement(WV,{canComplete:!1,id:r,isDark:!1,isEnabled:!0,isTooltipVisible:t,onHideTooltip:o,onShowTooltip:a,scope:s}))})),ZV=["className"],XV=cL("overview-list"),$V=DB("OverviewListSectionTitle",(function(e){var t=e.className,n=void 0===t?"":t,r=Wi(e,ZV),i=qa()(["Default"],r);return m.createElement("h2",yt({},i,{className:"".concat(n," overview-list__section-title")}))}));var QV=(0,m.memo)(Qt((function(e){var t=fN(e),n=eP(e);return{course:t,courseProgress:n,lessons:AP(e),restrictingQuiz:IN({course:t,courseProgress:n})}}))((function(e){var t=e.courseProgress,n=e.lessons,r=ZP(),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 m.createElement("nav",{"aria-label":null==r?void 0:r.a11yRegionNavOverview,className:"overview-list"},Ca()(i).call(i,(function(e,n){var r=DV(e),i=r[0],o=void 0===i?{}:i,a=wr()(r).call(r,1),s=o.title,u="section"===o.type,l=u?a:e,c=XV("list",{sectionless:!u});return m.createElement("section",{key:n},u&&s&&m.createElement($V,null,s),m.createElement("ol",{className:c,role:"list"},Ca()(l).call(l,(function(e,n){var r=function(e,t){var n=Br()(["lessons",t],e),r=xl()(0,["percentComplete"],n),i=Br()(["passed"],n);return{isComplete:Br()(["isComplete"],n),percentComplete:r,passedQuiz:i}}(t,e.id),i=r.passedQuiz;return m.createElement(YV,{key:e.id,id:e.id,last:l.length>1&&n===l.length-1,passedQuiz:i})}))))})))})));var JV=cL("cover"),eW=DB("CoverDetails",(function(e){var t=e.reverseColumns,n=qL(1200),r=pN(),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=Jt((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)})),p=CN()(bi()("id",c),f),h=Boolean(u)&&p,v=xl()(void 0,["image","key"],a),g=!Wo()(v),y=!i||!s,b=!i&&!s,_=!!h,w=JV("details",{"rise-com":Vn,"rise-com-authoring":Vn}),k=JV("details-content-wrap",{columns:_,logo:g}),E=JV("details-content",{"no-description-or-outline":y}),x=JV("details-logo",{centered:b,"no-description-or-outline":y,"has-partner-content":Boolean(u)}),S=_&&m.createElement(MV,{courseId:o,coursePartnerContent:p,hasLogo:g,hasPartnerContent:h,publishedAt:l,tenantId:d});return m.createElement("section",{className:w},m.createElement("div",{className:k},!n&&t&&S,m.createElement("div",{className:E},m.createElement(LD,{className:x}),i&&m.createElement(RV,null),n&&S,s&&m.createElement(tD,{type:"outline"},m.createElement(QV,null))),!n&&!t&&S))}));var tW=DB("CoverHeader"),nW=Qt((function(e){var t=fN(e);return{accentColor:t.color,themeId:t.themeId,coverPageType:t.coverPageType}}))(tW),rW=DB("CoverLayout");function iW(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var oW=cL("cover-container"),aW=function(e){ut(n,e);var t=iW(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isEntering:!1,isExiting:!1},r.refMain=(0,m.createRef)(),r}return rt(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,nS)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},(function(){t.willExitTimeout=setTimeout(e,nS)}))}},{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=QH(_t()(e="".concat(s," - ")).call(e,u));return m.createElement(sH(),{title:l},m.createElement("main",{"aria-label":null==r?void 0:r.a11yRegionMainOverview,ref:this.refMain,tabIndex:"-1"},m.createElement("div",{className:oW({entering:o,exiting:a}),"data-ba":SF.course.overview.container},m.createElement(rW,null,m.createElement(nW,null),m.createElement(eW,null)))))}}]),n}(m.Component),sW=aW,uW=__webpack_require__(67294),lW=cL("courseExit");function cW(e){var t=oL(),n=ZP().courseExit,r=t.lmsOptions,i=void 0===r?{}:r;return e.enableExitCourse||i.enableExitCourse?uW.createElement("div",{className:lW("wrapper")},uW.createElement("button",{className:e.className||lW("button"),onClick:Kn,type:"button"},n)):null}var dW=__webpack_require__(19755),fW=__webpack_require__.n(dW),pW=function(e){var t="";return ma()((function(e,n){if("section"===n.type)return t=n.id,n.children=[],Po()(e,[n]);if(t){n.sectionId=t;var r=ts()(bi()("id",t))(e);return e[r].children=Po()(e[r].children,[n]),e}return Po()(e,[n])}),[],e)},hW=_l()(bi()("family","continue"),bi()("variant","continue")),mW=de()(Ga()(hW),Cu()([],"items")),vW=(0,Sw.equals)(null),gW=(0,Sw.complement)(vW),yW=__webpack_require__(67294),bW=cL("blocks-lesson-restart-button"),_W=function(e){var t=e.className,n=e.onClick,r=bW.mix(["brand--background",t]);return yW.createElement("button",{className:r,onClick:n,type:"button"},yW.createElement($C,{className:bW("icon")}),yW.createElement("span",null,"Restart"))},wW=["id"];function kW(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function EW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kW(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):kW(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var xW=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}};function SW(e,t,n){var r;if(e.length){var i=wr()(e).call(e,-1)[0];if(!TW(i.id,n))return e}var o=Ca()(r=function(e,t){var n,r=[],i=vs(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}(CW(n),wr()(t).call(t,e.length))).call(r,AW);return o.length?SW(_t()(e).call(e,o),t,n):e}var TW=function(e,t){return xl()(!1,["items",e,"isComplete"],t)},CW=function(e){return function(t){var n=t.family,r=t.items,i=xl()({},0,r);return"continue"===n&&!TW(i.id,e)}};function AW(e,t,n){var r=wr()(n).call(n,-1)[0]||{},i="continue"===r.family&&xl()(!1,["items",0,"type"],r);return"continue"===e.variant||i&&("completeBlock"!==i||t===n.length-1||t===n.length-2)?yo()(e,{requiresInteraction:!0}):e}function OW(e,t,n){var r=e.id,i=Wi(e,wW);if("continue"===i.family){var o=xl()("",["items",0,"type"],i);return yo()(EW({blockId:r},i),{canContinue:NW({continueType:o,blocks:t,progress:n}),lessonProgress:n,isComplete:TW(r,n)})}return EW({blockId:r},i)}var NW=function(e){var t=e.continueType,n=e.blocks,r=e.progress;switch(t){case"completeAll":return Ma()($o()(n),MW(r));case"completeBlock":return 0===n.length||TW(IW(n),r);default:return!0}},PW=de()(wi(),Un()("items")),LW=si()(bi()("isComplete",!0)),MW=de()($o(),(function(e){return de()(LW,PW)(e)})),IW=de()(Un()("id"),Ll()),RW=new RegExp(/^#([a-f0-9]{6}|[a-f0-9]{3})$/,"i"),DW=function(e,t){return RW.test(t)?t:e},qW=__webpack_require__(67294);function jW(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var BW=function(e){ut(n,e);var t=jW(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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?qW.createElement(NL,{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}(qW.Component),FW=/[0-9.]+/gi,UW=function(e){void 0===e&&(e="");var t=e.match(FW)||[],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[parseInt(r,10),parseInt(o,10),parseInt(s,10),parseFloat(l)]},zW=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)},HW=function(e){return zW(UW(e))},VW=__webpack_require__(67294),WW=["contrastRequirement","disabled","rule","style","tag"];function YW(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function GW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YW(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):YW(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function KW(e,t){var n=e.contrastRequirement,r=void 0===n?"bodyTextAA":n,i=e.disabled,o=void 0!==i&&i,a=e.rule,s=void 0===a?"color":a,u=e.style,l=e.tag,c=void 0===l?"div":l,d=Wi(e,WW),f=null==u?void 0:u.backgroundColor,p=null==u?void 0:u.backgroundImage,h=null==u?void 0:u[s],g=(0,m.useRef)(),y=(0,m.useCallback)((function(e,t,n,r,i){var a;if(!o){var s=(0,v.findDOMNode)(g.current),u=null!==(a=function(e,t,n,r,i,o){var a,s;if(null!=o){var u,l,c,d,f=r,p=i,h=n,m=getComputedStyle(o);if(![f,p,h].every(Boolean))f||(f=Zi()(u=m.getPropertyValue("--background-color")).call(u)),p||(p=Zi()(l=m.getPropertyValue("--background-image")).call(l)),h||(h=null!==(c=o.dataset.overridden)&&void 0!==c?c:HW(Zi()(d=m[e]).call(d)));if(p&&"none"!==p)return["#ffffff",h];if(f&&h&&!VS(h,f)[t]){var v=dr()(a=Ca()(s=m.getPropertyValue("--auto-contrast-fallback").split(",")).call(s,YF())).call(a,Boolean),g=IS(h)>=128?["#ffffff","#313537","#000000"]:["#000000","#313537","#ffffff"],y=_t()(v).call(v,g),b=OS()(y).call(y,(function(e){return VS(e,f)[t]}));if(null!=b)return[b,h]}}}(e,t,n,r,i,s))&&void 0!==a?a:[],l=Cr(u,2),c=l[0],d=l[1];w(Ar({},e,c)),x(d),null!=s&&(s.style[e]=null!=c?c:"",null==c?delete s.dataset.overridden:s.dataset.overridden=d)}}),[o]);(0,m.useImperativeHandle)(t,(function(){return{el:g.current,forceUpdate:y.bind(null,s,r,h,f,p)}}),[f,p,r,h,s,y]);var b=Cr((0,m.useState)(),2),_=b[0],w=b[1],k=Cr((0,m.useState)(),2),E=k[0],x=k[1];return(0,m.useLayoutEffect)((function(){y(s,r,h,f,p)}),[f,p,r,h,s,y]),VW.createElement(c,yt({ref:g,style:GW(GW({},u),_),"data-overridden":E},d))}var ZW=(0,m.forwardRef)(KW),XW=__webpack_require__(67294);function $W(e,t){var n=(0,m.useRef)(),r=HB("rise-authoring-controls");(0,m.useImperativeHandle)(t,(function(){var e;return null===(e=n.current)||void 0===e?void 0:e.el}));var i=mV(),o=i.accentColor,a=i.backgroundColor,s=i.backgroundImage,u=i.backgroundMode,l=i.cardMode,c=i.styleMode;return(0,m.useEffect)((function(){var e;null===(e=n.current)||void 0===e||e.forceUpdate()}),[o,a,s,u,l,c]),XW.createElement(ZW,yt({ref:n},e,{disabled:!r}))}var QW=(0,m.forwardRef)($W),JW=__webpack_require__(67294),eY=["className","tag","style"];function tY(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var nY=cL("block-brand");function rY(e,t){var n=e.className,r=void 0===n?"":n,i=e.tag,o=void 0===i?"div":i,a=e.style,s=Wi(e,eY),u=HB("rise-authoring-controls"),l=mV(),c=l.accentColor,d=l.styleMode,f=d===oV.BRANDED,p=d===oV.UNBRANDED,h=r,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tY(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):tY(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({},a);return u&&(h=nY({branded:f,unbranded:p}).mix(r),f&&null!=c&&gt()(m,{"--background-color-accent":c,"--background-color-accent-transparent":c+"1A","--border-color-accent":c,"--color-accent":c,"--color-accent-transparent":c+"1A"})),JW.createElement(o,yt({},s,{className:h,ref:t,style:m}))}var iY=(0,m.forwardRef)(rY),oY=__webpack_require__(67294),aY=["children","className","tag","type"],sY=qa()(["settings"]),uY=cL("block-wrapper"),lY=cL("bg");function cY(){var e,t=HB("rise-authoring-controls"),n=rV();if(!t)return null;var r=n.background,i=n.settings.backgroundMode,o=null==r||null===(e=r.media)||void 0===e?void 0:e.image;return i===iV.IMAGE?o:null}var dY=function(e,t){var n,r,i=HB("rise-authoring-controls"),o=mV(),a=e.children,s=e.className,u=e.tag,l=e.type,c=Wi(e,aY),d=o.backgroundMode,f=o.paddingTop,p=o.paddingBottom,h=d===iV.IMAGE,v=(0,m.useCallback)((function(e){return i?"".concat(e,"rem"):"".concat(10*e,"px")}),[i]),g=function(){var e,t=cY();if(!t)return null;var n=t.alpha,r=Yx(t);return[_t()(e="linear-gradient(rgba(0,0,0,".concat(n,"), rgba(0,0,0,")).call(e,n,"))"),"url('".concat(r,"')")].join(", ")}(),y=(r=cY(),bT(null==r?void 0:r.alt)),b=DW("",vV()),_={"--background-color":b,"--background-image":g,paddingBottom:v(p),paddingTop:v(f)};i||gt()(_,{backgroundColor:b});var w=b?zS(b):LS.LIGHT,k=(0,m.useCallback)((function(e){return!h&&e===w}),[h,w]),E=eC()(s,Ar({},"block-".concat(l),!!l)),x=i?uY({}).mix(lY({light:k(LS.LIGHT),med:k(LS.MED),dark:k(LS.DARK),"near-black":k(LS.NEAR_BLACK),image:h})):"",S=(0,m.useMemo)((function(){return(0,m.forwardRef)((function(e,t){return oY.createElement(QW,yt({ref:t,tag:u},e))}))}),[u]);return oY.createElement(iY,yt({},sY(c),{className:_t()(n="".concat(E," ")).call(n,x),ref:t,style:_,tag:S}),oY.createElement("span",{"aria-label":y,role:_T(y)}),a)},fY=(0,m.forwardRef)(dY),pY=__webpack_require__(94310),hY=__webpack_require__.n(pY),mY=__webpack_require__(67294),vY=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?mY.createElement(hY(),{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)?mY.createElement("div",null,o):o};vY.defaultProps={animateOnce:!0,duration:.75,offset:200,siblingDelay:0};var gY=vY,yY=__webpack_require__(67294);function bY(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var _Y=OF,wY=function(e){ut(n,e);var t=bY(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(it(r)),r.renderHeadingDelegate=r.renderHeading.bind(it(r)),r}return rt(n,[{key:"renderHeading",value:function(e){var t=e.heading,n=t||null;return yY.createElement(NL,{value:n})}},{key:"renderText",value:function(e){var t=e.paragraph;return yY.createElement(BW,{className:"block-text__col brand--body",value:t||""})}},{key:"render",value:function(){var e,t,n=this.props,r=n.items,i=n.type,o=n.heading,a=n.columns,s=n.settings,u=n.renderHeading,l=void 0===u?this.renderHeadingDelegate:u,c=n.renderText,d=void 0===c?this.renderTextDelegate:c,f=s.entranceAnimation,p=eC()("block-text block-text--".concat(i),{"block-text--no-animation":!f}),h=o?"heading"===o?"h2":"h3":"span";return yY.createElement(fY,{className:p},yY.createElement("div",{className:"block-text__container","data-ba":_Y.blockText},yY.createElement("div",{className:"block-text__row"},""!==o?Ca()(e=wr()(r).call(r,0,1)).call(e,(function(e){return yY.createElement("div",{className:"block-text__col brand--head",key:e.id},yY.createElement(h,null,l(e)))})):null),yY.createElement("div",{className:"block-text__row"},"heading"!==i?Ca()(t=wr()(r).call(r,0,a)).call(t,(function(e){return yY.createElement(m.Fragment,{key:e.id},d(e))})):null)))}}],[{key:"defaultProps",get:function(){return{type:"onecol",heading:"",columns:1,items:[]}}}]),n}(yY.Component),kY=function(e){return yY.createElement(wY,yt({type:"twocol",columns:2},e))},EY=function(e){return yY.createElement(wY,yt({type:"threecol",columns:3},e))},xY=function(e){return yY.createElement(wY,yt({type:"heading",heading:"heading"},e))},SY=function(e){return yY.createElement(wY,yt({type:"heading",heading:"subheading"},e))},TY=function(e){return yY.createElement(wY,yt({heading:"heading"},e))},CY=function(e){return yY.createElement(wY,yt({heading:"subheading"},e))},AY=function(e){ut(n,e);var t=bY(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(it(r)),r}return rt(n,[{key:"renderCaption",value:function(e){var t=e.caption;return yY.createElement(BW,{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.codeGroup,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=eC()("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 yY.createElement(fY,{className:m,"data-ba":_Y.blockText},yY.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o},yY.createElement("div",{className:"block-text__container"},Ca()(e=wr()(a).call(a,0,1)).call(e,(function(e){var t=DH(e);return yY.createElement("div",{className:"block-text__row",key:e.id},yY.createElement("div",{"aria-label":s,className:"block-text__col",role:RH},yY.createElement("figure",{"aria-labelledby":t.figcaptionId,className:"block-text__figure",role:"figure"},yY.createElement("pre",{className:"block-text__code","data-ba":_Y.blockText,style:{backgroundColor:DW(i,h)},dangerouslySetInnerHTML:{__html:ri(e.code)}}),e.caption&&yY.createElement("figcaption",{id:t.figcaptionId},c(e)))))})))))}}]),n}(yY.Component),OY=__webpack_require__(67294);function NY(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var PY,LY,MY,IY,RY=cL("block-impact"),DY=OF,qY=function(e){ut(n,e);var t=NY(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(it(r)),r}return rt(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=eC()("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?VY:OY.Fragment;return OY.createElement(a,null,OY.createElement(BW,{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=eC()("block-impact block-impact--".concat(s),{"block-impact--legacy":!i,"block-impact--no-animation":!d});return OY.createElement(fY,{className:f,"data-ba":DY.blockImpact},OY.createElement("div",{className:"block-impact__wrap"},OY.createElement("div",{className:"block-impact__container"},OY.createElement("div",{className:"block-impact__row"},Ca()(e=wr()(a).call(a,0,1)).call(e,(function(e){return OY.createElement(gY,{animateBlockEntrance:r,animateIn:t.getEntranceAnimationType(),duration:t.getEntranceAnimationDuration(),isLearner:o,key:e.id},OY.createElement("div",{className:"block-impact__col"},c(t.props,e)))}))))))}}],[{key:"defaultProps",get:function(){return{items:[],type:"a"}}}]),n}(OY.Component),jY=VB("rise-authoring-controls","fusion")(qY),BY=jY,FY=function(e){return OY.createElement(jY,yt({type:"b"},e))},UY=function(e){return OY.createElement(jY,yt({type:"c"},e))},zY=function(e){return OY.createElement(jY,yt({type:"d"},e))},HY=function(e){return OY.createElement(jY,yt({type:"note"},e))},VY=function(e){var t=e.children,n=HB("rise-authoring-controls"),r=mV(),i=r.accentColor,o=r.courseColor,a=r.styleMode,s=vV(),u=(0,m.useMemo)((function(){if(n){if(null==s)return"#000000b3";var e=zS(s);if(a===oV.BRANDED)switch(e){case LS.LIGHT:case LS.MED:return jS(.9,null!=i?i:o);case LS.DARK:return"#494949";case LS.NEAR_BLACK:return"#333333"}switch(e){case LS.LIGHT:return jS(.3,s);case LS.MED:return jS(-.2,s);case LS.DARK:case LS.NEAR_BLACK:return jS(-.4,s)}}}),[i,s,o,n,a]),l=RY("note-card",{legacy:!n}),c={"--background-color":u};return OY.createElement(QW,{className:l,style:c},OY.createElement("div",{className:"block-impact__note-icon"},OY.createElement("i",{className:"icon icon-info"})),t)},WY=__webpack_require__(27361),YY=__webpack_require__.n(WY),GY=__webpack_require__(46066),KY=__webpack_require__(67294),ZY=["className","children","tag"],XY=(Ar(MY={},oV.BRANDED,(Ar(PY={},LS.NEAR_BLACK,jS(.154)),Ar(PY,LS.DARK,jS(.117)),Ar(PY,LS.MED,Hr()("#ffffff")),Ar(PY,LS.LIGHT,Hr()("#ffffff")),PY)),Ar(MY,oV.UNBRANDED,(Ar(LY={},LS.NEAR_BLACK,jS(.1)),Ar(LY,LS.DARK,jS(-.4)),Ar(LY,LS.MED,jS(-.2)),Ar(LY,LS.LIGHT,jS(.3)),LY)),MY),$Y=(Ar(IY={},LS.NEAR_BLACK,"bg--near-black"),Ar(IY,LS.DARK,"bg--dark"),Ar(IY,LS.MED,"bg--med"),Ar(IY,LS.LIGHT,"bg--light"),IY);function QY(e,t){var n,r=HB("rise-authoring-controls"),i=mV(),o=e.className,a=void 0===o?"":o,s=e.children,u=e.tag,l=Wi(e,ZY),c=i.backgroundMode,d=i.cardMode,f=i.styleMode,p=null!==(n=vV())&&void 0!==n?n:"#ffffff",h=c===iV.IMAGE,m=d===aV.WHITE,v=[a,"block-card","bg"],g={};if(r)if(m)v.push("bg--light"),g["--background-color"]="#ffffff",g["--background-image"]="none";else if(h)v.push("block-card--bg-image","bg--dark");else{var y=zS(p),b=XY[f][y](p),_=zS(b);v.push($Y[_]),g["--background-color"]=b}else v.push("bg--light","block-card--legacy");return KY.createElement(QW,yt({},l,{className:v.join(" "),ref:t,style:g,tag:u}),s)}var JY=(0,m.forwardRef)(QY);function eG(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var tG=OF,nG=VB("rise-authoring-controls","fusion"),rG=function(e){var t=e.quote,n=e.name;return m.createElement("div",{className:"visually-hidden"},m.createElement(BW,{value:t}),m.createElement(BW,{value:n}))},iG=function(e){var t=e.avatar,n=e.alt,r=('""'===n?"":n)||"";return m.createElement("div",{"aria-hidden":!r,"aria-label":r,className:"block-quote__avatar",role:"img",style:{backgroundImage:"url('".concat(t||"","')")}})},oG=function(e){var t=e.type,n=e.animateBlockEntrance,r=e.avatar,i=e.children,o=e.alt,a=e.isLearner,s=eC()("block-quote__col",{"block-quote__col--no-avatar":!r}),u=eC()("block-quote__figure",{"brand--beforeColor":"b"===t}),l=r?m.createElement("div",{className:"block-quote__image"},m.createElement("div",{className:"block-quote__avatar-wrap"},"c"===t?m.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeInLeftSmall",isLearner:a},m.createElement(iG,{avatar:r,alt:o,title:o})):m.createElement(iG,{avatar:r,alt:o,title:o}))):null;return m.createElement("div",{className:"block-quote__container"},m.createElement("div",{className:"block-quote__row"},m.createElement("div",{className:s},m.createElement("div",{className:u},l,i))))},aG=function(e){var t=e.avatar,n=e.children,r=e.alt;return m.createElement("div",{className:"block-quote__figure"},m.createElement("div",{className:"block-quote__container"},m.createElement("div",{className:"block-quote__row"},m.createElement("div",{className:"block-quote__col"},t?m.createElement(iG,{avatar:t,alt:r}):null),m.createElement("div",{className:"block-quote__col"},n))))},sG=function(e){var t=e.background,n=e.avatar,r=e.children,i=e.alt;return m.createElement("div",{className:"block-quote__background",style:{backgroundImage:t?"url(".concat(t,")"):""}},m.createElement("div",{className:"block-quote__container"},m.createElement("div",{className:"block-quote__row"},m.createElement("div",{className:"block-quote__col"},m.createElement("div",{className:"block-quote__figure"},n?m.createElement(iG,{avatar:n,alt:i}):null,r)))))},uG=function(e){ut(n,e);var t=eG(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind(it(r)),r.renderCaptionDelegate=r.renderCaption.bind(it(r)),r}return rt(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=eC()("block-quote__text brand--linkColor",{"brand--head":"b"===n,"brand--body":"b"!==n,"block-quote__text--blank":""===r});return m.createElement(QW,{className:i,tag:BW,value:r})}},{key:"renderCaption",value:function(e,t){var n=e.type,r=t.name,i=eC()("block-quote__caption brand--linkColor",{"brand--head":"b"!==n,"brand--body":"b"===n,"block-quote__caption--blank":""===r});return m.createElement(QW,{className:i,value:r,tag:BW})}},{key:"render",value:function(){var e,t=this.props,n=t.animateBlockEntrance,r=t.fusion,i=t.isLearner,o=t.items,a=t.labels,s=t.settings,u=t.type,l=t.renderText,c=void 0===l?this.renderTextDelegate:l,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,p=s.entranceAnimation,h=Cr(o,1)[0],v=h.paragraph,g=h.name,y=h.avatar,b=h.background,_=YY()(y,"media.image"),w=Wx(_),k=YY()(y,"media.image.alt"),E=Yx(YY()(b,"media.image")),x=v||"",S=eC()("block-quote block-quote--".concat(u),{"block-quote--legacy":!r,"block-quote--no-animation":!p}),T=m.createElement("div",{"aria-hidden":"true",className:"block-quote__wrap"},m.createElement(gY,{animateBlockEntrance:n,animateIn:this.getQuoteEntranceAnimationType(),isLearner:i,siblingDelay:.15},c(this.props,h),f(this.props,h)));switch(u){case"d":e=m.createElement(aG,{type:u,avatar:w,alt:k},T);break;case"background":e=m.createElement(sG,{type:u,avatar:w,alt:k,background:E},T);break;default:e=m.createElement(oG,{type:u,animateBlockEntrance:n,avatar:w,alt:k,isLearner:i},T)}var C=a.quoteGroup;return m.createElement(fY,{"aria-label":C,className:S,"data-ba":tG.blockQuote,role:RH},e,m.createElement(rG,{name:g,quote:x}))}}],[{key:"defaultProps",get:function(){return{editable:!1,items:[],type:"a"}}}]),n}(m.Component),lG=nG(uG),cG=lG,dG=function(e){return m.createElement(lG,yt({type:"b"},e))},fG=function(e){return m.createElement(lG,yt({type:"c"},e))},pG=function(e){return m.createElement(lG,yt({type:"d"},e))},hG=function(e){return m.createElement(lG,yt({type:"background"},e))},mG=function(e){var t=e.onClick;return m.createElement("button",{"aria-label":"Next quote",className:"block-quote__arrow block-quote__arrow--next",onClick:t,type:"button"},m.createElement("span",{className:"block-quote__arrow-icon"}))},vG=function(e){var t=e.onClick;return m.createElement("button",{"aria-label":"Previous quote",className:"block-quote__arrow block-quote__arrow--prev",onClick:t,type:"button"},m.createElement("span",{className:"block-quote__arrow-icon"}))},gG=function(e){ut(n,e);var t=eG(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind(it(r)),r.renderCaptionDelegate=r.renderCaption.bind(it(r)),r.state={currentIndex:0,isDotKeyboardFocusDisabled:!1},r}return rt(n,[{key:"disableFocusForClonedSlides",value:function(){var e=this.state.currentIndex;IH(this.carousel.querySelectorAll(".slick-active.block-quote__slide")).forEach((function(t){parseInt(t.getAttribute("data-index"))!==e&&YH(t)}))}},{key:"disableCarouselDotsIfNecessary",value:function(){var e=this.sliderContainer.querySelector(".block-quote__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(YH(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"componentDidUpdate",value:function(){this.disableCarouselDotsIfNecessary(),this.disableFocusForClonedSlides()}},{key:"onKeyDown",value:function(e){var t=this.slider;Al()([[Ez,t.slickNext.bind(t)],[kz,t.slickPrev.bind(t)]])(e)}},{key:"renderText",value:function(e,t,n){var r=t.paragraph,i=n.allowTabNavigation,o=r||"",a=eC()("block-quote__text brand--body brand--linkColor",{"block-quote__text--blank":""===r});return m.createElement(BW,{className:a,value:o,allowTabNavigation:i,tag:BW})}},{key:"renderCaption",value:function(e,t,n){var r=t.name,i=n.allowTabNavigation,o=eC()("block-quote__caption brand--head brand--linkColor",{"block-quote__caption--blank":""===r});return m.createElement(BW,{className:o,value:r,allowTabNavigation:i})}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.fusion,i=t.isLearner,o=t.items,a=t.type,s=t.settings,u=t.editable,l=t.renderText,c=void 0===l?this.renderTextDelegate:l,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,p=s.entranceAnimation,h=s.showBorder,v=void 0===h||h,g=eC()("block-quote block-quote--".concat(a),{"block-quote--no-animation":!p,"block-quote--editable":u,"block-quote--show-border":v,"block-quote--legacy":!r}),y=this.state.currentIndex,b=Ca()(o).call(o,(function(t,r){var o=r===y,a=YY()(t.avatar,"media.image.alt"),s=YY()(t.avatar,"media.image"),u=Wx(s),l=t.paragraph||"",d={allowTabNavigation:o};return m.createElement("div",{className:"block-quote__slide",key:t.id},m.createElement("div",{className:"block-quote__figure"},u?m.createElement(iG,{avatar:u,alt:a}):null,m.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeInUp",siblingDelay:.25,isLearner:i},m.createElement(rG,{name:name,quote:l}),m.createElement("div",{"aria-hidden":"true"},c(e.props,t,d),f(e.props,t,d)))))})),_={slidesToShow:1,slidesToScroll:1,arrows:b.length>1,nextArrow:m.createElement(mG,null),prevArrow:m.createElement(vG,null),dots:b.length>1,dotsClass:"block-quote__dots-list brand--background-all brand--shadow-all",accessibility:!1,draggable:!u,beforeChange:function(t,n){var r=e.props,i=r.items;(0,r.onStep)(i[n]),e.setState({currentIndex:n})}};return m.createElement("div",{"aria-label":"Quote Carousel",className:"block-quote__slider-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.carousel=t},role:RH,tabIndex:0},m.createElement(fY,{className:g,"data-ba":tG.blockQuote},m.createElement("div",{className:"block-quote__wrap"},m.createElement("div",{className:"block-quote__container"},m.createElement("div",{className:"block-quote__row"},m.createElement("div",{className:"block-quote__col"},m.createElement(JY,{className:"block-quote__box",ref:function(t){e.sliderContainer=t}},m.createElement(GY.Z,yt({className:"block-quote__wrapper",ref:function(t){e.slider=t}},_),b))))))))}}],[{key:"defaultProps",get:function(){return{type:"carousel",items:[],onStep:Function.prototype}}}]),n}(m.Component),yG=nG(gG),bG=__webpack_require__(9449),_G=__webpack_require__.n(bG),wG=__webpack_require__(67294);function kG(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function EG(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var xG=OF,SG=VB("rise-authoring-controls","fusion"),TG=function(e){ut(n,e);var t=EG(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderItemDelegate=r.renderItem.bind(it(r)),r}return rt(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 wG.createElement(NG,e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.fusion,i=t.lessonId,o=t.blockId,a=t.isLearner,s=t.items,u=t.type,l=t.settings,c=t.editable,d=t.onStep,f=t.renderItem,p=void 0===f?this.renderItemDelegate:f,h=l.entranceAnimation,m=eC()("block-list block-list--".concat(u),{"block-list--no-animation":!h,"block-list--legacy":!r});return wG.createElement(fY,{className:m,"data-ba":xG.blockList},wG.createElement("div",{className:"block-list__container"},wG.createElement("div",{className:"block-list__row"},wG.createElement("div",{className:"block-list__col"},wG.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeInRight",className:"block-list__animated-item",isLearner:a,keepStructure:!0,siblingDelay:.25},wG.createElement("ul",{className:"block-list__list",role:"list"},Ca()(s).call(s,(function(t,n){return p(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kG(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):kG(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({key:t.id,index:n,lessonId:i,blockId:o,isDone:t.isDone,type:u,editable:c,nextNumber:e.nextNumber.bind(e),onStep:d},t))}))))))))}}],[{key:"defaultProps",get:function(){return{editable:!1,items:[],onStep:Function.prototype,type:"numbered"}}}]),n}(wG.Component),CG=SG(TG),AG=CG,OG=function(e){ut(n,e);var t=EG(n);function n(e){var r;et(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind(it(r));var i="checkboxes"===e.type?_G()():null;return r.state={labelId:i,isChecked:!1},r}return rt(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 wG.createElement(BW,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?wG.createElement("div",{id:i},r(t)):r(t)}},{key:"renderIdentifier",value:function(e){return"checkboxes"===this.props.type?null:wG.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=Po()("hidden "),g=oi()({allowTabNavigation:Hr()(!1),className:v},p),y=eC()("block-list__number",{"brand--background":!n}),b=wG.createElement(QW,{"aria-hidden":!0,className:y},h),_=wG.createElement(gC,{className:"block-list__bullet brand--color"}),w=eC()("block-list__checkbox",{"block-list__checkbox--checked":d,"block-list__checkbox--legacy":!n,"brand--background":!n&&d,"brand--border":!n}),k=wG.createElement("div",{className:w},wG.createElement(QW,{className:"block-list__checkbox__icon icon icon-checkmark-valid",contrastRequirement:"graphicalUiComponentsAA",tag:"i"}),wG.createElement("div",{"aria-checked":d,"aria-labelledby":f,className:"block-list__checkbox__hitarea",onClick:this.checkBox.bind(this),onKeyDown:Nz(this.checkBox.bind(this)),role:"checkbox",tabIndex:0})),E=Al()([[Ma()("numbered"),Hr()(b)],[Ma()("bulleted"),Hr()(_)],[Ma()("checkboxes"),Hr()(k)],[db(),Hr()(b)]]);return wG.createElement("li",{role:"listitem",ref:function(t){return e.animateRef=t},className:"block-list__item ".concat(u),style:l},wG.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}(wG.Component),NG=SG(OG),PG=function(e){return wG.createElement(CG,yt({type:"checkboxes"},e))},LG=function(e){return wG.createElement(CG,yt({type:"bulleted"},e))},MG=function(){return window.innerWidth},IG=function(){return window.innerHeight},RG=function(e,t,n){return n.setAttribute(e,t)},DG=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)}},qG=function(e,t){t.removeAttribute(e)},jG=function(e,t,n,r){r.style.setProperty(t,n,e)},BG=function(e){return document.createElement(e)},FG=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)},UG=function(e,t){return t.appendChild(e)},zG=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)},HG=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)},VG=function(e,t,n){var r=MG()/(e+n),i=IG()/(t+n);return Math.min(r,i)},WG=function(){var e,t,n,r,i,o,a,s,u,l,c={closeText:"Unzoom image",modalText:"Zoomed item",openText:"Zoom image",overlayBgColor:"#fff",overlayOpacity:1,transitionDuration:300,zoomMargin:0,zoomZindex:2147483647},d=[],f="UNLOADED",p=c.transitionDuration,h=function(e){var t,n,i=e?0:p,a=(t=r)?t.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},s=a.height,u=a.left,l=a.top,d=a.width,h=r,m=h.naturalHeight,v=h.naturalWidth,g=function(e,t){return function(e){return e.style}(t)[e]}("transform",r),y=KG.test(r.currentSrc);if("LOADED"!==f)n="scale(1) translate(0,0)"+(g?" ".concat(g):"");else{var b,_,w=YG(d,v,s,m,y,c.zoomMargin),k=(MG()/2-(u+d/2))/w,E=(IG()/2-(l+s/2))/w;n=_t()(b=_t()(_="scale(".concat(w,") translate(")).call(_,k,"px,")).call(b,E,"px)")+(g?" ".concat(g):"")}RG("style","position:absolute;"+"width:".concat(d,"px;")+"height:".concat(s,"px;")+"left:".concat(u,"px;")+"top:".concat(l,"px;")+"transition:transform ".concat(i,"ms ease;")+"-webkit-transform:".concat(n,";")+"-ms-transform:".concat(n,";")+"transform:".concat(n,";"),o)},m=function(){jG("","visibility","",r),f="UNLOADED",h(!0),x(),XG(u),u=void 0},v=function(){XG(n)},g=function(e){GG(e)&&(e.stopPropagation(),T())},y=function(){"LOADED"===f?T():"UNLOADING"===f&&h(!1)},b=function(){h(!0)},_=function(){XG(n)},w=function(){T()},k=function(){T()},E=function(){a=function(){var r=BG("div");RG("data-iz-overlay","",r),RG("style","position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;"+"z-index:".concat(c.zoomZindex,";"),r),FG("click",k,r),l=BG("div");var a=BG("div");return RG("aria-label",c.modalText,a),RG("aria-modal","true",a),RG("role","dialog",a),e=BG("div"),RG("tabindex","0",e),FG("focus",_,e),t=BG("div"),RG("tabindex","0",t),FG("focus",_,t),n=BG("button"),RG("aria-label",c.closeText,n),RG("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;",n),RG("type","button",n),FG("click",w,n),UG(n,a),o=BG("div"),UG(i,o),UG(o,a),UG(l,r),UG(e,r),UG(a,r),UG(t,r),r}(),UG(a,document.body),FG("keydown",g,document),FG("scroll",y,window),FG("resize",b,window),jG("","visibility","hidden",r),FG("transitionend",v,o),f="LOADED",h(!1),a&&DG((function(e){if(!ZG(e)){var t=function(e,t){return t.getAttribute(e)}("aria-hidden",e);t&&d.push([e,t]),RG("aria-hidden","true",e)}}),a),RG("style","position:absolute;top:0;right:0;bottom:0;left:0;"+"background-color:".concat(c.overlayBgColor,";")+"transition:opacity ".concat(p,"ms ease;")+"opacity:0;",l),jG("","opacity",c.overlayOpacity,l)},x=function(){var u,c;zG("resize",b,window),zG("scroll",y,window),zG("keydown",g,document),i&&zG("load",E,i),o&&(zG("transitionend",m,o),zG("transitionend",v,o)),n&&zG("click",w,n),e&&zG("focus",_,e),t&&zG("focus",_,t),a&&(zG("click",k,a),u=a,(c=document.body).contains(u)&&c.removeChild(u)),s&&s.removeListener(S),d=[],e=void 0,t=void 0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,l=void 0,f="UNLOADED"},S=function(){p=0},T=function(){var e;"LOADED"===f?(null==(e=n)||e.blur(),a&&DG((function(e){ZG(e)||qG("aria-hidden",e)}),a),d.forEach((function(e){var t=Cr(e,2),n=t[0],r=t[1];n&&RG("aria-hidden",r,n)})),d=[],FG("transitionend",m,o),f="UNLOADING",h(!1),jG("","opacity","0",l)):h(!1)};return(s=window.matchMedia("(prefers-reduced-motion:reduce)")).addListener(S),{cleanup:function(){x()},zoom:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("UNLOADED"===f){for(var o in r=e,u=t,n)c[o]=n[o];i=HG(!0,e),qG("id",i),RG("data-iz-zoomed","",i),jG("","max-width","100%",i),jG("","max-height","100%",i),jG("","width","100%",i),jG("","height","auto",i),FG("load",E,i)}}}},YG=function(e,t,n,r,i,o){return!i&&r&&t?function(e,t,n,r,i){var o=VG(t,r,i),a=t>r?t/e:r/n;return o>1?a:o*a}(e,t,n,r,o):VG(e,n,o)},GG=function(e){return"Escape"===e.key||27===e.keyCode},KG=/\.svg$/i,ZG=function(e){var t=e.tagName;return"SCRIPT"===t||"NOSCRIPT"===t||"STYLE"===t},XG=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)}.bind(null,{preventScroll:!0}),$G=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 m.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&&m.createElement("title",null,u),i&&m.createElement("desc",null,i),m.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"}))},QG=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.fileName,c=e.shouldFillWidth,d=e.imageKey,f=e.onLoad,p=e.src,h=(0,m.useRef)(),v=(0,m.useRef)(),g=(0,m.useRef)(),y=yT({alt:n,caption:s,fileName:l,key:d}),b=i&&!u,_=eC()("img-img",{"img-img--left":"left"===t,"img-img--right":"right"===t,"img-img--center":!t||"center"===t,"img-img--fill":c,"img--zoom":b});g.current=_;var w=Cr((0,m.useState)(_),2),k=w[0],E=w[1],x=(0,m.useCallback)((function(e){v.current.zoom(h.current,e.currentTarget,{})}),[]),S=(0,m.useCallback)((function(){E(g.current),null==f||f()}),[E,f]),T=(0,m.useCallback)((function(){var e=WG();return v.current=e,function(){e.cleanup()}}),[]),C=(0,m.useCallback)((function(){c||E(g.current)}),[E,c]);(0,m.useEffect)(T,[]),(0,m.useEffect)(C,[t]);var A=b?x:void 0;return m.createElement("div",{className:"img"},m.createElement("img",{alt:y,className:a?k:g.current,onClick:A,onLoad:f||S,ref:h,role:"img",src:p}),b&&m.createElement("button",{"aria-label":"Zoom image",className:"img__btn visually-hidden",onClick:x,type:"button"},m.createElement($G,{"aria-hidden":"true",className:"img__btn-symbol"})))},JG=(0,m.memo)(QG),eK=__webpack_require__(67294);function tK(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var nK=OF,rK=VB("rise-authoring-controls","fusion"),iK=function(e){ut(n,e);var t=tK(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(it(r)),r}return rt(n,[{key:"renderCaption",value:function(e,t){return eK.createElement(BW,{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.isLearner,o=e.items,a=e.type,s=e.settings,u=e.renderCaption,l=void 0===u?this.renderCaptionDelegate:u,c=s.backgroundColor,d=s.entranceAnimation,f=s.zoomOnClick,p=eC()("block-image block-image--".concat(a),{"block-image--no-animation":!d,"block-image--dark":RS(c),"block-image--legacy":!r}),h=o[0],m=h.id,v=h.caption,g=YY()(h,"media.image.alt"),y=YY()(h,"media.image.key"),b=Yx(YY()(h,"media.image")),_=DH({caption:v,editable:n,id:m}),w=YY()(h,"media.image.originalUrl");return eK.createElement(fY,{className:p,"data-ba":nK.blockImage},eK.createElement("div",{className:"block-image__container"},eK.createElement("div",{className:"block-image__row"},eK.createElement("div",{className:"block-image__col"},eK.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i,offset:300},eK.createElement(_.tagName,{"aria-labelledby":_.figcaptionId,className:"block-image__figure",role:_.role},eK.createElement("div",{className:"block-image__image"},eK.createElement(JG,{alt:g,caption:v,disableZoom:!f,fileName:w,imageKey:y,src:b})),(n||v)&&eK.createElement("figcaption",{id:_.figcaptionId},l(m,v))))))))}}],[{key:"defaultProps",get:function(){return{type:"hero",editable:!1,lessonId:"",blockId:"",items:[]}}}]),n}(eK.Component),oK=rK(iK),aK=function(e){ut(n,e);var t=tK(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderParagraphDelegate=r.renderParagraph.bind(it(r)),r.renderCaptionDelegate=r.renderCaption.bind(it(r)),r}return rt(n,[{key:"renderParagraph",value:function(e,t){return eK.createElement(BW,{className:"block-image__text brand--body brand--linkColor",value:t})}},{key:"renderCaption",value:function(e,t){return eK.createElement(BW,{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=YY()(n,"media.image.alt"),l=YY()(n,"media.image.key"),c=Yx(YY()(n,"media.image")),d=DH({caption:t,editable:o,id:e}),f=YY()(n,"media.image.originalUrl"),p=this.props,h=p.animateBlockEntrance,m=p.isLearner,v=p.settings.zoomOnClick;return eK.createElement(gY,{animateBlockEntrance:h,animateIn:"right"===r?"fadeInRight":"fadeInLeft",isLearner:m},eK.createElement(d.tagName,{"aria-labelledby":d.figcaptionId,className:"block-image__figure",role:d.role},eK.createElement("div",{className:"block-image__image"},eK.createElement(JG,{alt:u,caption:t,disableZoom:!v,fileName:f,imageKey:l,src:c})),(o||t)&&eK.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=eC()("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":RS(s)}),p=t[0],h=p.id,m=p.caption,v=p.paragraph;return eK.createElement(fY,{className:f,"data-ba":nK.blockImage},eK.createElement("div",{className:"block-image__container"},eK.createElement("div",{className:"block-image__row"},eK.createElement("div",{className:"block-image__col"},d?a(h,v):this.renderImage(h,m,p,"left")),eK.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}(eK.Component),sK=rK(aK),uK=function(e){ut(n,e);var t=tK(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(it(r)),r.renderOverlayDelegate=r.renderOverlay.bind(it(r)),r}return rt(n,[{key:"renderCaption",value:function(e,t){return eK.createElement(BW,{className:"block-image__caption brand--head brand--linkColor",value:t})}},{key:"renderOverlay",value:function(e,t){return eK.createElement(BW,{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 eK.createElement("div",{className:"block-image__container"},eK.createElement("div",{className:"block-image__row"},eK.createElement("div",{className:"block-image__col"},eK.createElement(gY,{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=eC()("block-image block-image--".concat(s),{"block-image--no-animation":!d,"block-image--legacy":!r,"block-image--dark":RS(c)}),m={opacity:f||.6,backgroundColor:p||"transparent"},v=o[0],g=v.id,y=v.caption,b=YY()(v,"media.image.key"),_=Yx(YY()(v,"media.image")),w=YY()(v,"media.image.alt"),k=YY()(v,"media.image.originalUrl"),E=yT({alt:w,caption:y,fileName:k,key:b}),x="overlay"===s,S=DH({caption:y,editable:n,id:g,isOverlayType:x});return eK.createElement(fY,{tag:S.tagName,"aria-labelledby":S.figcaptionId,className:h,"data-ba":nK.blockImage,role:S.role},function(e,t,n,r){return t?r:eK.createElement(gY,{animateBlockEntrance:e,animateIn:"fadeIn",isLearner:n,duration:1},r)}(t,x,i,eK.createElement("div",{className:"block-image__figure"},b&&eK.createElement("div",{className:"block-image__image",style:{backgroundImage:"url('".concat(_,"')")}},eK.createElement("img",{src:_,alt:E,role:"img"}),eK.createElement("div",{className:"block-image__overlay",style:m})),x?this.renderOverlayCaption(g,y,s):null)),!x&&(n||y)&&eK.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}(eK.Component),lK=rK(uK),cK=function(e){return eK.createElement(lK,yt({type:"overlay"},e))};function dK(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var fK=OF;var pK=de()(VB("rise-authoring-controls","fusion"),(function(e){var t=function(t){ut(r,t);var n=dK(r);function r(){var e,t;et(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,_t()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind(it(t)),t}return rt(r,[{key:"renderCaption",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return m.createElement(BW,{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 m.createElement(e,yt({},this.props,{renderCaption:n}))}}]),r}(m.Component);return t.displayName="withCaption(".concat(e.displayName||e.name,")"),t})),hK=function(e){ut(n,e);var t=dK(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isDotKeyboardFocusDisabled:!1},r}return rt(n,[{key:"componentDidUpdate",value:function(){var e=this.sliderContainer.querySelector(".block-gallery__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&(YH(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"onKeyDown",value:function(e){var t=this.slider;Al()([[Ez,t.slickNext.bind(t)],[kz,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={adaptiveHeight:!0,slidesToShow:1,slidesToScroll:1,arrows:n.length>1,nextArrow:m.createElement(mK,{menuOpen:o}),prevArrow:m.createElement(mK,{menuOpen:o,previous:!0}),dots:n.length>1,dotsClass:"block-gallery__dots-list brand--background-all brand--shadow-all",beforeChange:i};return m.createElement("div",{className:"block-gallery__slider-container",tabIndex:0,onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.sliderContainer=t}},m.createElement(GY.Z,yt({className:r,ref:function(t){e.slider=t}},a),n))}}]),n}(m.Component),mK=function(e){ut(n,e);var t=dK(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.menuOpen,n=e.onClick,r=e.previous,i=eC()("block-gallery__arrow",{"block-gallery__arrow--next":!r,"block-gallery__arrow--prev":r}),o=r?"Previous image":"Next image",a=window.document.documentMode,s=eC()("block-gallery__controls",{"block-gallery__controls--ie":a&&!t,"block-gallery__controls--ie-menu-open":a&&t});return m.createElement("div",{className:s},m.createElement("button",{className:i,onClick:n,type:"button","aria-label":o},m.createElement(QW,{className:"block-gallery__arrow-icon",contrastRequirement:"graphicalUiComponentsAA",rule:"borderColor",tag:"span"})))}}],[{key:"defaultProps",get:function(){return{previous:!1}}}]),n}(m.Component),vK=function(e){ut(n,e);var t=dK(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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 m.createElement(GY.Z,yt({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}(m.Component),gK=function(e){var t=e.children;return m.createElement("div",{className:"block-gallery__container"},m.createElement("div",{className:"block-gallery__row--slide-row"},m.createElement("div",{className:"block-gallery__col"},t)))},yK=function(e){ut(n,e);var t=dK(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={currentIndex:0},r}return rt(n,[{key:"componentDidUpdate",value:function(){var e=IH(this.carousel.querySelectorAll(".slick-slide.slick-active button")),t=IH(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=UH}))}},{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.state.currentIndex;return Ca()(e).call(e,(function(e,r){var i=e.id,o=e.caption,a=r===n,s=YY()(e,"media.image.alt"),u=YY()(e,"media.image.originalUrl"),l=YY()(e,"media.image.key"),c=Yx(YY()(e,"media.image"));return m.createElement("div",{key:i,className:"block-gallery__slide"},m.createElement(gK,null,m.createElement("div",{className:"block-gallery__figure"},m.createElement("div",{className:"block-gallery__image"},m.createElement(JG,{allowTabNavigation:a,alt:s,caption:o,disableZoom:!t,fileName:u,imageKey:l,src:c})))))}))}},{key:"renderCaptions",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.editable,i=n.renderCaption;return Ca()(e).call(e,(function(e,n){var o=e.id,a=e.caption,s=n===t;return m.createElement("div",{key:o,className:"block-gallery__slide"},a||r?m.createElement(gK,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.menuOpen,s=t.type,u=t.settings,l=u.entranceAnimation,c=u.zoomOnClick,d=eC()("block-gallery block-gallery--".concat(s),{"block-gallery--no-animation":!l,"block-gallery--legacy":!r});return m.createElement(fY,null,m.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",offset:200,isLearner:i},m.createElement("div",{className:d,"data-ba":fK.blockGallery,ref:function(t){e.carousel=t}},m.createElement(hK,{className:"block-gallery__images",beforeChange:this.handleSlideChangeBefore.bind(this),menuOpen:a},this.renderImages(o,c)),m.createElement(vK,{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}(m.Component),bK=pK(yK),_K=function(e){ut(n,e);var t=dK(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.editable,r=e.isLearner,i=e.items,o=e.settings,a=e.width,s=e.renderCaption,u=o.entranceAnimation,l=o.zoomOnClick,c=eC()("block-gallery block-gallery--".concat(function(e){switch(e){case 3:return"threecol";case 4:return"fourcol";default:return"twocol"}}(a)),{"block-gallery--no-animation":!u});return m.createElement(fY,{className:c,"data-ba":fK.blockGallery},m.createElement("div",{className:"block-gallery__container"},m.createElement("div",{className:"block-gallery__row"},m.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-gallery__col",isLearner:r,siblingDelay:.25},Ca()(i).call(i,(function(e){var r=e.id,i=e.caption,o=YY()(e,"media.image.alt"),a=YY()(e,"media.image.key"),u=Yx(YY()(e,"media.image")),c=DH({caption:i,editable:n,id:r}),d=YY()(e,"media.image.originalUrl");return m.createElement("div",{key:r,className:t?"":"block-gallery__col"},m.createElement(c.tagName,{"aria-labelledby":c.figcaptionId,className:"block-gallery__figure",role:c.role},a&&m.createElement(kK,{alt:o,caption:i,disableZoom:!l,fileName:d,imageKey:a,src:u}),(n||i)&&m.createElement("figcaption",{id:c.figcaptionId},s(r,i))))}))))))}}],[{key:"defaultProps",get:function(){return{blockId:"",items:[],lessonId:"",width:2}}}]),n}(m.Component),wK=pK(_K),kK=function(e){var t=e.alt,n=e.caption,r=e.disableZoom,i=e.fileName,o=e.imageKey,a=e.src,s=(0,m.useRef)(),u=(0,m.useRef)(),l=yT({alt:t,caption:n,fileName:i,key:o}),c=a?{backgroundImage:"url('".concat(a,"')")}:void 0,d=(0,m.useCallback)((function(e){u.current.zoom(s.current,e.currentTarget,{})}),[]);(0,m.useEffect)((function(){var e=WG();return u.current=e,function(){e.cleanup()}}),[]);var f=eC()("block-gallery__image",{"img--zoom":!r}),p=r?void 0:d;return m.createElement("div",{className:f,style:c},m.createElement("div",{className:"img"},m.createElement("img",{alt:l,onClick:p,ref:s,role:"img",src:a})),!r&&m.createElement("button",{"aria-label":"Zoom image",className:"img__btn visually-hidden",onClick:d,type:"button"},m.createElement($G,{"aria-hidden":"true",className:"img__btn-symbol"})))},EK=__webpack_require__(67294);function xK(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var SK=OF,TK=function(e){ut(n,e);var t=xK(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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=eC()("block-divider block-divider--".concat(a," brand--afterHead"),{"block-divider--no-animation":!c}),f="numbered"===a,p=eC()("block-divider__wrap",{"brand--beforeBorder brand--afterBackground":f}),h={backgroundColor:DW(n,l),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*u,"px")},m=f?EK.createElement("span",{className:"visually-hidden"},r," ",i):null;return EK.createElement("div",{className:d,"data-ba":SK.blockDivider,style:h},EK.createElement("div",{"aria-hidden":"true",className:p,"data-number":i}),m)}}],[{key:"defaultProps",get:function(){return{type:"divider"}}}]),n}(EK.Component),CK=function(e){return EK.createElement(TK,yt({type:"numbered"},e))},AK=function(e){return EK.createElement(TK,yt({type:"spacing"},e))},OK=__webpack_require__(53701),NK=__webpack_require__.n(OK),PK=__webpack_require__(6087),LK=__webpack_require__.n(PK),MK=__webpack_require__(79605),IK=__webpack_require__.n(MK),RK=__webpack_require__(29454),DK=__webpack_require__.n(RK),qK=__webpack_require__(17187);function jK(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var BK,FK,UK="change",zK=function(e){ut(n,e);var t=jK(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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(UK,e)}},{key:"removeChangeListener",value:function(e){this.removeListener(UK,e)}}]),n}(qK.EventEmitter),HK=new zK,VK=(wa()((function(e){return e.preventDefault()})),function(e){return function(t){return e(t),t.preventDefault()}}),WK=function(e){return function(t){e(t),t.preventDefault(),function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}(t)}},YK=[{title:"Course Overview",labels:_t()(BK=[{name:"courseStart",text:"START COURSE"},{name:"courseResume",text:"RESUME COURSE"}]).call(BK,[{name:"courseDetails",text:"DETAILS"}])},{title:"Global",labels:_t()(FK=[{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(FK,[])},{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."}]}],GK=pa()(di()(Un()("labels")),li(),di()((function(e){var t={};return t[e.name]=e.text,t})),kE())(YK);function KK(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var ZK=function(e){var t=e.currentTime,n=e.duration;return Math.round(t/n*100)||0},XK=function(e){ut(n,e);var t=KK(n);function n(){var e;return et(this,n),(e=t.call(this)).state={shouldLoadPlayheadPosition:!0,playheadPositionSaveThrottle:0},e.handleChange=e.handleChange.bind(it(e)),e.onPlayClick=e.onPlayClick.bind(it(e)),e}return rt(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(){HK.addChangeListener(this.handleChange)}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&HK.isPlaying&&(this.audio.pause(),HK.pause())}},{key:"componentWillUnmount",value:function(){var e=this.props.recordMediaPlayheadPosition;HK.pause(),HK.removeChangeListener(this.handleChange),e&&e(ZK(this.audio))}},{key:"handleChange",value:function(){HK.playerId===this.props.id&&(HK.isPlaying?this.audio.play():this.audio&&this.audio.pause(),this.audio&&(this.audio.muted=HK.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=HK.isPlaying&&HK.playerId===r,s=eC()("audio-player__play",{"audio-player__play--pause":a}),u=xl()(null,["audio","currentTime"],this),l=xl()(null,["audio","duration"],this),c=HH(n),d=i.audioPlayerGroup,f=i.pauseButtonLabel,p=i.playButtonLabel,h=i.seekSliderLabel;return m.createElement("div",{key:"player-"+r,className:"audio-player"},m.createElement("div",{"aria-hidden":!n,"aria-label":d,className:"audio-player__housing",onKeyDown:this.onKeyDown.bind(this),role:RH,tabIndex:c},m.createElement(QW,{"aria-label":a?f:p,className:s,onClick:this.onPlayClick,role:"button",tabIndex:c}),m.createElement(QW,{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)},m.createElement("div",{ref:function(t){return e.trackerbar=t},className:"audio-player__tracker-bar"}),m.createElement(QW,{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})),m.createElement("div",{className:"audio-player__timer"},this.state.currentTime)),m.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:Gn("".concat(o)),key:"audio-"+r}))}},{key:"onKeyDown",value:function(e){var t=this,n=WK(this.onPlayClick),r=WK((function(){return t.keySeek(5)})),i=WK((function(){return t.keySeek(-5)}));Al()([[Sz,n],[Tz,r],[Cz,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;HK.isPlaying&&HK.playerId!==i&&(HK.isPlaying=!1),HK.playerId=i,HK.isPlaying=!HK.isPlaying,HK.isPlaying?(a(n.timeMs(l)),r&&this.state.shouldLoadPlayheadPosition&&(this.audio.currentTime=c*r/100||0)):(o(n.timeMs(l)),s&&s(ZK(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}),HK.isPlaying&&HK.playerId!==t&&(HK.isPlaying=!1),HK.playerId=t,HK.isPlaying=!0,r(n.timeMs(o)),i&&i(ZK(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)})}},{key:"onEnded",value:function(e){this.audio.currentTime=0,this.setState({currentTime:n.calcTime(e.target.duration,e.target.currentTime)}),HK.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);Xn();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(ZK(e.target)),this.setState({playheadPositionSaveThrottle:a}))}},{key:"currentTime",value:function(){return n.timeMs(this.audio.currentTime)}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{audioPlayerGroup:GK.audioPlayerGroup,pauseButtonLabel:GK.pauseButtonLabel,playButtonLabel:GK.playButtonLabel,seekSliderLabel:GK.seekSliderLabel},mediaSrc:null,onEnd: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 wr()(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}(m.Component),$K=playerjs,QK=__webpack_require__.n($K),JK=__webpack_require__(8575),eZ=__webpack_require__(8727),tZ=__webpack_require__.n(eZ),nZ=Sb,rZ=Tb,iZ=(Co()("type","embed"),tZ()("type","embedType"),vE()(/http:/i,"https:"),pa()(xl()({},[0]),Uo()(Br()(["media","embed","embedType"]),Br()(["media","embed","type"])))),oZ=Uo()(Un()("embedType"),Un()("type")),aZ=(Uo()(de()(Dx()(nZ),ei),Dx()(rZ)),__webpack_require__(65605)),sZ=__webpack_require__(3362),uZ=__webpack_require__.n(sZ),lZ=__webpack_require__(98038),cZ=__webpack_require__.n(lZ),dZ=__webpack_require__(33796),fZ=__webpack_require__.n(dZ),pZ=__webpack_require__(54547),hZ=__webpack_require__.n(pZ),mZ=__webpack_require__(79963),vZ=__webpack_require__.n(mZ),gZ=__webpack_require__(60830),yZ=__webpack_require__.n(gZ),bZ=fZ()(Ma(),["http","https"]),_Z=to()(_E(),lo()(":")),wZ=to()(Ho()(hZ()(uZ()),bZ),cZ()),kZ=to()(vZ()(yZ()("//"),wZ),_Z),EZ=kl()((function(e){return to()(function(e){return Ea()((t=e,n=kZ,function(e){return!t(e)||n(e)}),Hr()(""));var t,n}(e),aZ.htmlDecode,ti)})),xZ=EZ(db()),SZ=__webpack_require__(67294);function TZ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var CZ=function(e){var t,n=Hn("CDN_USER_CONTENT_URI"),r=new RegExp(Hn("CDN_URI"),"g");return Zn()?e:r.test(e)?_t()(t="".concat(n)).call(t,JK.parse(e).path):e},AZ=de()(Sa()(Wr(),Gn),xZ),OZ=function(e){ut(n,e);var t=TZ(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isReady:!1,duration:0},r}return rt(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&&HK.isPlaying&&(this.player.pause(),HK.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"===oZ(t)&&this.teardownPlayer(),this.iFrameContainer&&a&&this.updateIframeFocusability({allowFocus:o})}},{key:"componentWillUnmount",value:function(){"video"===oZ(this.props.data)&&this.teardownPlayer()}},{key:"setupPlayer",value:function(){var e=this;this.player=new(QK().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;HK.isPlaying&&HK.playerId!==t&&(HK.isPlaying=!1),HK.playerId=t,HK.isPlaying=!0}),HK.addChangeListener(this.onChange=function(){var t=e.props.id;HK.playerId===t&&(HK.isPlaying?e.player.play():e.player.pause())})}},{key:"teardownPlayer",value:function(){HK.isPlaying=!1,this.onChange&&HK.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;WH({element:this.iFrameContainer,selector:"iframe",tabIndex:HH(t)})}},{key:"playerSupportsMethods",value:function(e){var t=this;return Wa()((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=WK(this.togglePlay.bind(this)),r=WK((function(){return t.keySeek(5)})),i=WK((function(){return t.keySeek(-5)})),o=WK((function(){return t.changeVolume(10)})),a=WK((function(){return t.changeVolume(-10)}));Al()([[yz,n],[Ez,r],[kz,i],[_z,o],[wz,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)return null;var l=xZ(a),c=n&&_L(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 SZ.createElement("h2",{className:"embed__provider"},SZ.createElement("a",{className:"brand--hoverColor","data-external":d,href:p,onClick:f,rel:h,role:m,tabIndex:HH(t),target:v},SZ.createElement("img",{className:"embed__providerIcon",src:u,alt:u?s:null}),SZ.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=oZ(i);if(!u&&"link"!==m)return null;var v=xZ(l),g=o&&_L(v),y=g?"":void 0,b=g?s:void 0,_=g?void 0:v,w=g?void 0:"noopener noreferrer",k=g?"button":void 0,E=g?void 0:"_blank";return SZ.createElement("div",{className:"embed__meta__content"},SZ.createElement("h2",{className:"embed__title brand--head"},SZ.createElement("a",{className:"brand--hoverColor","data-external":y,href:_,onClick:b,rel:w,role:k,tabIndex:HH(r),target:E},SZ.createElement(NL,{value:c}))),SZ.createElement(NL,{className:"embed__description brand--body brand--linkColor",value:d}),SZ.createElement("a",{className:"embed__readMore brand--hoverColor","data-external":y,href:_,onClick:b,rel:w,role:k,tabIndex:HH(r),target:E},"link"===m?_t()(e="".concat(p," ")).call(e,f):_t()(t="".concat(h," ")).call(t,f),SZ.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=r.description,c=r.src,d=r.thumbnail,f=r.title,p=a.embedLinkGroup,h=a.embedPlayerGroup,m=a.embedReadMore,v=oZ(r);if("iframe"===v){var g=document.createElement("div");g.innerHTML=ei(c);var y=g.firstChild,b=y&&y.tagName&&"iframe"===y.tagName.toLowerCase(),_=100,w=32,k=c;if(b){var E=y.width.match(/%/),x=parseInt(y.width);y.src=xZ(y.src),k=g.innerHTML,_=E?x/100*700:x||16,w=parseInt(y.height)}var S=b?"".concat(100*(w/_),"%"):"3rem",T=b?k:"<div>Error: Invalid iframe tag. Please check the iframe source.</div>";return SZ.createElement("div",{"aria-hidden":!n,"aria-label":h,className:"embed",role:RH},SZ.createElement("div",{className:"embed--iframe",dangerouslySetInnerHTML:{__html:T},style:{paddingBottom:S},ref:function(t){e.iFrameContainer=t}}))}if(o){var C,A=xZ(c),O=i&&_L(A),N=O?"":void 0,P=O?s:void 0,L=O?void 0:A,M=O?void 0:"noopener noreferrer",I=O?"button":void 0,R=O?void 0:"_blank";return SZ.createElement("div",{"aria-hidden":!n,"aria-label":NZ(a,v),className:"embed embed--link embed--rich",role:RH},this.renderProvider(),m_()(C=["link","photo"]).call(C,v)?SZ.createElement("a",{"data-external":N,href:L,onClick:P,rel:M,role:I,tabIndex:HH(n),target:R},SZ.createElement("img",{alt:d?f:null,className:"embed__img",src:CZ(d)})):this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:c,thumbnail:d,title:f,type:v}),this.renderMetaData())}if("link"===v){var D=xZ(c),q=i&&_L(D),j=q?"":void 0,B=q?s:void 0,F=q?void 0:D,U=q?void 0:"noopener noreferrer",z=q?"button":void 0,H=q?void 0:"_blank";return SZ.createElement("div",{"aria-hidden":!n,"aria-label":p,className:"embed embed--link brand--head brand--linkColor",role:RH},SZ.createElement(NL,{className:"embed__title brand--head",value:f}),SZ.createElement(NL,{className:"embed__description",value:l}),SZ.createElement("a",{className:"embed__readMore brand--hoverColor",dataExternal:j,href:F,onClick:B,rel:U,role:z,target:H},m))}return SZ.createElement("div",{className:"embed embed--media brand--head"},u?SZ.createElement(NL,{"aria-hidden":!n,className:"embed__title brand--head",value:f}):null,this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:c,thumbnail:d,title:f,type:v}))}},{key:"renderEmbedIframe",value:function(e){var t=this,n=e.allowTabNavigation,r=e.labels.embedPlayerGroup,i=e.src,o=e.thumbnail,a=e.title;if("photo"===e.type)return SZ.createElement("figure",{className:"embed__media-wrap embed__media-wrap--photo"},SZ.createElement(JG,{src:CZ(o),title:a,allowTabNavigation:n}));var s=iD.isIe11||iD.isEdge,u=eC()("embed__media-wrap",{"embed__media-wrap--ms_browser":s});return SZ.createElement("figure",{"aria-hidden":!n,"aria-label":r,className:u,onKeyDown:this.onKeyDown.bind(this),ref:function(e){t.iFrameContainer=e},tabIndex:HH(n)},SZ.createElement("iframe",{ref:function(e){t.media=e},className:"embed__media",src:AZ(i),alt:a,frameBorder:"0",scrolling:"no",onLoad:this.setupPlayer.bind(this),allowFullScreen:!0,title:a}))}}],[{key:"defaultProps",get:function(){return{allowTabNavigation:!0,labels:{embedReadMore:GK.embedReadMore,embedViewOn:"View on"},shouldPause:!1,showMetaData:!0}}}]),n}(SZ.Component),NZ=function(e,t){var n=e.embedLinkGroup,r=e.embedPhotoGroup,i=e.embedVideoGroup;switch(t){case"photo":return r;case"video":return i;default:return n}},PZ=Qt(Ek()({externalLinksDisabled:Br()(["course","externalLinksDisabled"])}),{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(OZ),LZ=__webpack_require__(78821),MZ=__webpack_require__.n(LZ),IZ=__webpack_require__(33072),RZ=__webpack_require__(59231);function DZ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var qZ=function(e){ut(n,e);var t=DZ(n);function n(e){var r;return et(this,n),Ar(it(r=t.call(this,e,[])),"seekDisabled",!1),Ar(it(r),"maxTime",0),r}return rt(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 l_(mt(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}(RZ.default.getComponent("SeekBar"));RZ.default.registerComponent("SeekBar",qZ);var jZ={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":"Kein Vollbild","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":"Forschrittsbalken","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."}'),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":"Non-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"}'),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."}'),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."}'),it:JSON.parse('{"Play":"Play","Pause":"Pausa","Current Time":"Orario attuale","Duration":"Durata","Remaining Time":"Tempo rimanente","Stream Type":"Tipo del Streaming","LIVE":"LIVE","Loaded":"Caricato","Progress":"Stato","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","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 lutilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo filmato."}'),ja: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.":"この動画に対して互換性のあるソースが見つかりませんでした"}'),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('{"Play":"Odtwarzaj","Pause":"Pauza","Current Time":"Aktualny czas","Duration":"Czas trwania","Remaining Time":"Pozostały czas","Stream Type":"Typ strumienia","LIVE":"NA ŻYWO","Loaded":"Załadowany","Progress":"Status","Fullscreen":"Pełny ekran","Non-Fullscreen":"Pełny ekran niedostępny","Mute":"Wyłącz dźwięk","Unmute":"Włącz dźwięk","Playback Rate":"Szybkość odtwarzania","Subtitles":"Napisy","subtitles off":"Napisy wyłączone","Captions":"Transkrypcja","captions off":"Transkrypcja wyłączona","Chapters":"Rozdziały","You aborted the media playback":"Odtwarzanie zostało przerwane","A network error caused the media download to fail part-way.":"Problemy z siecią spowodowały błąd przy pobieraniu 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 być załadowany, ponieważ wystąpił problem z siecią lub format 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 błędu funkcji, które nie są wspierane przez przeglądarkę.","No compatible source was found for this media.":"Dla tego materiału wideo nie znaleziono kompatybilnego źródła.","Play Video":"Odtwarzaj wideo","Close":"Zamknij","Modal Window":"Okno Modala","This is a modal window":"To jest okno modala","This modal can be closed by pressing the Escape key or activating the close button.":"Ten modal możesz zamknąć naciskając przycisk Escape albo wybierając przycisk Zamknij.",", opens captions settings dialog":", otwiera okno dialogowe ustawień transkrypcji",", opens subtitles settings dialog":", otwiera okno dialogowe napisów",", selected":", zaznaczone"}'),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."}'),"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":"退出全屏","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} 正在載入。"}')},BZ=__webpack_require__(67294);function FZ(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function UZ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var zZ="seek-tooltip--hidden",HZ=function(e){return Math.round(e.currentTime()/e.duration()*100)||0},VZ=function(e){ut(n,e);var t=UZ(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isReady:!1,shouldLoadPlayheadPosition:!1,playbackStarted:!1,playheadPositionSaveThrottle:0,showRestrictSeekTooltip:!1},r.showRestrictSeekTooltip=r.showRestrictSeekTooltip.bind(it(r)),r.updateSeekTooltip=r.updateSeekTooltip.bind(it(r)),r.getMaxTime=r.getMaxTime.bind(it(r)),r.onMediaStoreChange=r.onMediaStoreChange.bind(it(r)),r}return rt(n,[{key:"updateContentFocusability",value:function(){var e=this.props.allowTabNavigation;IH(this.container.getElementsByTagName("button")).forEach((function(t){VH(t,HH(e))})),WH({element:this.container,selector:".vjs-progress-holder",tabIndex:HH(e)}),WH({element:this.container,selector:".vjs-volume-bar",tabIndex:HH(e)}),WH({element:this.container,selector:".vjs-volume-menu-button",tabIndex:HH(e)})}},{key:"componentDidUpdate",value:function(e){this.updateContentFocusability(),!e.shouldPause&&this.props.shouldPause&&HK.isPlaying&&(this.video.player.pause(),HK.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.percentComplete,l=n.progressChanged,c=n.recordMediaPlayheadPosition,d=n.type;if(this.setState({shouldLoadPlayheadPosition:!0}),this.wasPaused=!1,this.seeking=!1,this.setMaxTime(o),this.updateContentFocusability(),i){var f=this.video.player.controlBar.progressControl.seekBar;f.disableSeek(),f.on("showRestrictSeekTooltip",(function(t,n){return e.showRestrictSeekTooltip(n)})),this.configureSeekDiv()}t.ready((function(){t.el_&&(t.el_.removeAttribute("role"),t.el_.removeAttribute("aria-label")),u&&u<100&&"customVideo"!==d&&(t.play(),t.currentTime(o),t.pause()),t.on("timeupdate",e.videoUpdate=function(){Xn();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 d=t.ended()&&!e.seeking,f=!a&&!e.seeking;if(!i||d||f){n>e.maxTime&&e.setMaxTime(n);var p=n/o*100;d&&(p=100),l&&l({currentTime:n,percentComplete:p}),s%5==0&&e.state.playheadPositionSaveThrottle!==s&&c&&(c(HZ(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})})),t.on("play",this.videoPlay=function(){e.seeking=!1,e.showRestrictSeekTooltip(!1)}),t.on("playing",this.videoPlaying=function(){HK.isPlaying&&HK.playerId!==a&&(HK.isPlaying=!1),HK.playerId=a,HK.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(){HK.playerId===a&&(HK.isPlaying=!1),c&&c(HZ(t))}),t.on("seeking",this.videoSeeking=function(){e.seeking=!0}),t.on("seeked",this.videoSeeked=function(){e.restrictingSeek=!1,e.seekTimeout&&clearTimeout(e.seekTimeout),c&&c(HZ(t)),e.seekTimeout=setTimeout((function(){e.seeking=!1}),1e3)}),t.on("fullscreenchange",s),t.on("keyup",zH),t.on("contextmenu",(function(e){e.preventDefault()})),HK.addChangeListener(this.onMediaStoreChange)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onFullScreenChange,n=e.recordMediaPlayheadPosition,r=this.video.player;n&&n(HZ(r)),HK.isPlaying=!1,HK.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.videoPlayerGroup,i=this.state,o=i.isReady,a=i.showRestrictSeekTooltip,s=i.playbackStarted,u=eC()("video-a11y figure-video",{"figure-video--visible":o,"figure-video--restrict-seek":a,"video-playback-started":s});return BZ.createElement("div",{"aria-hidden":!n,"aria-label":r,className:"figure-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.container=t},role:"region"},BZ.createElement("figure",{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||Gn(r);return BZ.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=de()(MZ()(1),Un()("pathname"),JK.parse),f=c?d(this.props.src):this.props.src,p=c?this.props.poster:Gn(this.props.poster),h=c?this.props.src:Gn(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=iD.isSafariVersion13OrLower||iD.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:jZ,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?FZ(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):FZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({className:"figure-video__video",key:_t()(e=_t()(t="".concat(u,"-")).call(t,f,"-")).call(e,a),options:y,poster:p,ref:function(e){return n.video=e}},g),_=BZ.createElement("track",{kind:"captions",label:"English",src:c?l:Gn(l),srcLang:"en"}),w="".concat(h,"?v=1");return BZ.createElement(IZ.Z,b,BZ.createElement("source",{src:w,type:m}),!s&&l&&_,s&&Ca()(s).call(s,this.renderCaptionTrack))}},{key:"onKeyDown",value:function(e){var t=this;if(!WZ(e)){var n=WK(this.togglePlay.bind(this)),r=this.toggleFullScreen.bind(this),i=WK((function(){return t.keySeek(5)})),o=WK((function(){return t.keySeek(-5)}));Al()([[yz,n],[vz,r],[Tz,i],[Cz,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(!iD.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(zZ),e),n.appendChild(this.seekDiv),v.render(BZ.createElement(HC,null),this.seekDiv)}},{key:"showRestrictSeekTooltip",value:function(e){this.props.canRestrictSeek&&this.seekDiv&&e!==this.state.showRestrictSeekTooltip&&(e?this.seekDiv.classList.remove(zZ):this.seekDiv.classList.add(zZ),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;HK.playerId===e&&(HK.isPlaying?t.play():t.pause())}}}],[{key:"defaultProps",get:function(){return{autoplay:!1,allowTabNavigation:!0,currentTime:0,labels:{videoPlayerGroup:GK.videoPlayerGroup},onFullScreenChange:function(){},percentComplete:0,progressChanged:Function.prototype,shouldPause:!1}}}]),n}(BZ.Component),WZ=function(e){var t=e.target.className,n=Az(e)&&m_()(t).call(t,"vjs-volume-bar");return Sz(e)&&(m_()(t).call(t,"vjs-control")||m_()(t).call(t,"vjs-big-play-button"))||n},YZ=__webpack_require__(67294);function GZ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var KZ=function(e){return e&&(e.key||e.src)&&!e.isProcessing&&!e.error},ZZ=function(e){ut(n,e);var t=GZ(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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=_t()(t="audio-".concat(a,"-")).call(t,i);if(KZ(s))return YZ.createElement(XK,{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.onLoad,u=n.opts,l=e.image,c=null!==(t=null==l?void 0:l.align)&&void 0!==t?t:o,d="image-".concat(a),f=u.disableZoom;if(KZ(l))return YZ.createElement(JG,{align:c,asyncCn:i,key:d,src:Yx(l),alt:l.alt,disableZoom:f,allowTabNavigation:r,onLoad:s,imageKey:l.key,shouldFillWidth:l.fillWidth})}},{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,Sa()(Hr()(n),pM()("-".concat(n))))(_t()(t="video-".concat(u,"-")).call(t,l));if(KZ(i))return YZ.createElement(VZ,{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(KZ(u))return YZ.createElement(PZ,{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=eC()({"media-group":n});return YZ.createElement("div",{className:r},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}(YZ.Component),XZ=__webpack_require__(74633),$Z=__webpack_require__.n(XZ);function QZ(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 JZ=de()(ZA()(""),Ha()($Z(),0)),eX=(de()(ZA()(" "),di()(JZ),lo()(" ")),de()(JZ,fo()),__webpack_require__(5238)),tX=__webpack_require__.n(eX),nX=__webpack_require__(23493),rX=__webpack_require__.n(nX),iX=__webpack_require__(67294);function oX(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function aX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oX(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):oX(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function sX(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var uX,lX,cX,dX,fX=OF,pX=function(e){ut(n,e);var t=sX(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.blockId,r=e.defaultBackgroundColor,i=void 0===r?"":r,o=e.editable,a=e.isLearner,s=e.items,u=e.lessonId,l=e.onStep,c=e.settings,d=e.enableVideoPlaybackSpeed,f=c.paddingTop,p=c.paddingBottom,h=c.backgroundColor,m=c.entranceAnimation,v=c.accordionBehavior,g=void 0===v?"keepOpen":v,y=eC()("blocks-accordion",{"blocks-accordion--no-animation":!m}),b={backgroundColor:DW(i,h),paddingTop:"".concat(10*f,"px"),paddingBottom:"".concat(10*p,"px")};return iX.createElement("div",{className:y,"data-ba":fX.blockAccordion,style:b},iX.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:a,duration:.75},iX.createElement("div",{className:"blocks-accordion__container"},iX.createElement("div",{className:"blocks-accordion__row"},iX.createElement("div",{className:"blocks-accordion__col"},iX.createElement(vX,{keepOpen:"keepOpen"===g,lessonId:u,blockId:n,items:s,editable:o,settings:c,onStep:l,enableVideoPlaybackSpeed:d}))))))}}],[{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(iX.Component),hX={isOpen:!1,isActive:!1},mX=function(e,t){return t.reduce(function(e){return function(t,n){var r=n.id;return gt()({},t,Ar({},r,e[r]||hX))}}(e),{})},vX=function(e){ut(n,e);var t=sX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).props.items;return r.state={itemStatusMap:mX({},s)},r}return rt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.items,n=$o()(t)!==$o()(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=IK()((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:pi()(i,e)})}}},{key:"rebuildItemStatusMap",value:function(e){var t=this.state.itemStatusMap;this.setState({itemStatusMap:mX(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:pi()(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.labels,a=t.lessonId,s=t.blockId,u=t.enableVideoPlaybackSpeed,l=this.state.itemStatusMap,c=r.zoomOnClick;return iX.createElement("div",{className:"blocks-accordion__wrapper"},Ca()(n).call(n,(function(t,n){return iX.createElement(gX,{blockId:s,disableZoom:!c,editable:i,focused:l[t.id].isActive,index:n,item:aX(aX({},t),{},{enableVideoPlaybackSpeed:u}),key:t.id,labels:o,lessonId:a,onClick:e.handleItemClick.bind(e,n),open:l[t.id].isOpen})})))}}],[{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",keepOpen:!1,onStep:Function.prototype}}}]),n}(iX.Component),gX=function(e){ut(n,e);var t=sX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).id=_G()(),r.toggle=r.toggle.bind(it(r)),r.renderDescription=r.renderDescription.bind(it(r)),r.renderTitle=r.renderTitle.bind(it(r)),r}return rt(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=HK.playerId;open&&i&&m_()(i).call(i,n)&&NK()(i).call(i,r)&&HK.pause(),this.props.onClick(),e.preventDefault()}},{key:"renderTitle",value:function(e){var t=this.props.item.title;return iX.createElement(NL,{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 iX.createElement(BW,{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.labels,c=n.open,d=n.renderDescription,f=void 0===d?this.renderDescription:d,p=n.renderTitle,h=void 0===p?this.renderTitle:p,m=s.settings,v=void 0===m?{}:m,g=s.media,y=void 0===g?{}:g,b=s.enableVideoPlaybackSpeed,_=gt()({},v,{disableZoom:o,fullEmbed:!0}),w=eC()("blocks-accordion__item",{"blocks-accordion__item--closed":!c}),k=eC()("blocks-accordion__header",{"brand--border":c&&u}),E=eC()("blocks-accordion__content",{"blocks-accordion__content--will-enter":c,"brand--border":c&&u}),x=eC()("blocks-accordion__media","blocks-accordion__".concat(yX(y))),S="title-".concat(this.id),T="panel-".concat(this.id);return iX.createElement("section",{className:w},iX.createElement("div",{role:"heading","aria-level":"2"},iX.createElement("button",{"aria-controls":T,"aria-expanded":c,className:k,onClick:this.toggle,onKeyDown:!i&&Nz(this.toggle)||null,type:"button"},h(S),iX.createElement("span",{"aria-hidden":"true",className:"blocks-accordion__toggler"},c?"":"+"))),iX.createElement("section",{"aria-labelledby":S,className:E,id:T,ref:function(e){t.content=e}},f(),iX.createElement("div",{className:x},iX.createElement(ZZ,{asyncImgCn:!0,className:"blocks-accordion__img",enableVideoPlaybackSpeed:b,index:_t()(e="".concat(r,"-")).call(e,a),labels:l,media:y,opts:_}))))}}],[{key:"defaultProps",get:function(){return{editable:!1,onClick:function(){},lessonId:"",blockId:"",open:null}}}]),n}(iX.Component),yX=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"},bX=function(e){ut(n,e);var t=sX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderDescription=r.renderDescription.bind(it(r));var s=r.props.activeIndex;return r.state={activeIndex:s,activeTouch:!1,activeMouse:!1},r.tabs=[],r.id=_G()(),r}return rt(n,[{key:"componentDidMount",value:function(){this.setContentActive(),this.handleControls(),this.sweetScroll=new(tX())({duration:600,verticalScroll:!1,horizontalScroll:!0},this.tabsHeaderEl),this.tabsHeaderEl.addEventListener("scroll",this.tabScroll=rX()(this.handleControls.bind(this),50)),window.addEventListener("resize",this.tabResize=rX()(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=HK.playerId;this.state.activeIndex!=e&&r&&m_()(r).call(r,n)&&HK.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?yl():DK())(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=VK((function(){var r=$H({list:n.tabs,currentIndex:e});n.setActive(r,t)})),i=VK((function(){var r=XH({list:n.tabs,currentIndex:e});n.setActive(r,t)}));Al()([[kz,r],[Ez,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=eC()("blocks-tabs__header-wrap",{touch:i,mouse:o&&a});return iX.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this),onTouchStart:this.handleTouchStart.bind(this)},iX.createElement("div",{className:"blocks-tabs__header",ref:function(e){t.tabsHeaderEl=e},role:"tablist"},Ca()(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=eC()("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=pa()(LK()(/<mark>/),$o(),ra()(13),yl()(30))(s),p=pa()(ni,Bn()(Ja()(QZ))(f),(function(e){return"<span>".concat(e,"</span>")}))(s),h=_t()(o="tab-".concat(t.id,"-")).call(o,i),m=_t()(a="tabpanel-".concat(t.id,"-")).call(a,i);return iX.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"})}))),iX.createElement("div",{className:"blocks-tabs__controls",ref:function(e){t.tabControls=e}},iX.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")},iX.createElement(mC,{className:"blocks-tabs__arrow-icon"})),iX.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")},iX.createElement(mC,{className:"blocks-tabs__arrow-icon blocks-tabs__arrow-icon--next"}))))}},{key:"renderDescription",value:function(e){var t=e.description;return iX.createElement(BW,{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.renderDescription,l=void 0===u?this.renderDescription:u,c=this.state.activeIndex===t,d=e.media,f=void 0===d?{}:d,p=e.settings,h=void 0===p?{}:p,m=e.enableVideoPlaybackSpeed,v=eC()("blocks-tabs__content-item",{"blocks-tabs__content-item--will-enter":c}),g=gt()({},h,{disableZoom:n,fullEmbed:!0}),y=_t()(r="tabpanel-".concat(this.id,"-")).call(r,t),b=_t()(i="tab-".concat(this.id,"-")).call(i,t);return iX.createElement("div",{"aria-labelledby":b,className:v,id:y,key:y,role:"tabpanel",tabIndex:c?0:void 0},l(e),iX.createElement("div",{className:"blocks-tabs__".concat(yX(f))},iX.createElement(ZZ,{asyncImgCn:!0,className:"blocks-tabs__img",index:_t()(o="".concat(s,"-")).call(o,t),media:f,opts:g,enableVideoPlaybackSpeed:m})))}},{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=eC()("blocks-tabs",{"blocks-tabs--no-animation":!f}),m={backgroundColor:DW(i,d),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*c,"px")},v=a.length>0?wr()(a).call(a,0,30):[],g=eC()("blocks-tabs__container",{"blocks-tabs--single":1===v.length});return iX.createElement("div",{className:h,"data-ba":fX.blockTabs,style:m},iX.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:350},iX.createElement("div",{className:g},iX.createElement("div",{className:"blocks-tabs__row"},iX.createElement("div",{className:"blocks-tabs__col"},iX.createElement("div",{className:"blocks-tabs__wrapper",ref:function(t){e.container=t}},this.renderHeader(v),iX.createElement("div",{className:"blocks-tabs__content"},Ca()(v).call(v,(function(t,n){return e.renderItem(aX(aX({},t),{},{enableVideoPlaybackSpeed:u}),n,!p)})))))))))}}],[{key:"defaultProps",get:function(){return{items:[],activeIndex:0,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(iX.Component),_X=["media","storyline"],wX=xl()(null,["payload","result"]),kX=Br()(_X),EX=Br()(_t()(uX=[]).call(uX,_X,["thumbnail"])),xX=Br()(_t()(lX=[]).call(lX,_X,["meta","version"])),SX=xl()(null,_t()(cX=[]).call(cX,_X,["src"])),TX=Br()(["payload","result","completion"]),CX=Br()(_t()(dX=[]).call(dX,_X,["processing"])),AX=xl()(!1,["payload","result","score"]),OX=Ja()((function(e,t){if(!t)return!1;var n=e.majorLimit,r=e.minorLimit,i=Cr(t.split("."),2),o=i[0],a=i[1],s=parseInt(o)===n&&a>=r;return o>n||s})),NX={mobile:"?forcemobile=1&devicepreview=1&phone=1&rise=true",tablet:"?forcemobile=1&devicepreview=1&rise=true"},PX=OX({majorLimit:3,minorLimit:13}),LX=function(e,t,n){var r,i=t&&function(e){var t=_E()(e.split("-"));return NX[t]}(n);return i?_t()(r="".concat(e)).call(r,i):"".concat(e,"?rise=true")},MX=__webpack_require__(67294);function IX(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var RX=function(e){ut(n,e);var t=IX(n);function n(){var e;return et(this,n),(e=t.call(this)).state={fullscreen:!1,reopenMenu:!1},e.iframe=null,e.canFullscreen=e.canFullscreen.bind(it(e)),e.handleCourseUpdate=e.handleCourseUpdate.bind(it(e)),e.handleFullscreenEnter=e.handleFullscreenEnter.bind(it(e)),e.handleFullscreenExit=e.handleFullscreenExit.bind(it(e)),e.handleMessages=e.handleMessages.bind(it(e)),e.renderItem=e.renderItem.bind(it(e)),e}return rt(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=_E()(t),i=de()(PX,xX);Ea()(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=_E()(n);if(i===e.windowName&&TX(e)){var a=wX(e),s=a.score,u=a.success;if(AX(e))tx(i,u,!0,100*s.scaled);else tx(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.defaultBackgroundColor,r=void 0===n?"":n,i=e.isLesson,o=e.isLearner,a=e.items,s=e.labels.storylineGroup,u=e.settings,l=e.takingSnapshot,c=_E()(a),d=u.paddingTop,f=u.paddingBottom,p=u.backgroundColor,h=u.mediaWidth,m=void 0===h?"0":h,v={backgroundColor:DW(r,p),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px"),display:i&&!SX(c)?"none":"block"},g=eC()("blocks-storyline__wrapper",{"blocks-storyline__wrapper--small":"0"===m,"blocks-storyline__wrapper--medium":"1"===m,"blocks-storyline__wrapper--full":"2"===m,"blocks-storyline__wrapper--snapshot":l});return MX.createElement("div",{className:"blocks-storyline",style:v},MX.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:o},MX.createElement("div",{"aria-label":s,className:g,role:"group"},l?this.renderThumbnail(c):this.renderStorylineBlock(c))))}},{key:"renderStorylineBlock",value:function(e){return CX(e)?this.renderProcessing():SX(e)?this.renderItem(e):this.renderEmpty()}},{key:"renderThumbnail",value:function(e){var t,n=EX(e),r=_t()(t="".concat(Hn("CDN_USER_CONTENT_URI"),"/")).call(t,n);return MX.createElement("img",{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=kX(e),u=s.src,l=s.meta,c=s.title,d=l.player,f=LX(u,o,a),p=d.height/d.width,h={paddingBottom:"".concat(100*p,"%")},m=eC()("blocks-storyline__item__iframe",{"blocks-storyline__item__iframe--fullscreen":n});return MX.createElement("div",{className:"blocks-storyline__item",style:h},MX.createElement("iframe",{allowtransparency:"true",ref:function(e){return t.iframe=e},name:i,className:m,src:Gn(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}(MX.Component),DX=__webpack_require__(67294);function qX(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var jX=OF,BX=function(e){ut(n,e);var t=qX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderDescriptionDelegate=r.renderDescription.bind(it(r)),r}return rt(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 DX.createElement(NL,{className:"blocks-button__description brand--head brand--linkColor",value:n})}},{key:"getButton",value:function(e,t,n,r){return DX.createElement("span",{className:t,dangerouslySetInnerHTML:{__html:r},onClick:e,onKeyDown:Nz(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=eC()("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 DX.createElement(bF,{className:c,dangerouslySetInnerHTML:{__html:o},onClick:function(){return f(s)},role:"button",style:l,to:m})}if("exit-course"===a)return this.getButton(Kn,c,l,o);var v=EZ(Hr()("email"!==a),s);if("email"===a){var g,y=iD.isIphoneSafari?"_top":"_self";return DX.createElement("a",{className:c,dangerouslySetInnerHTML:{__html:o},href:_t()(g="mailto:".concat(v,"?subject=")).call(g,i),style:l,tabIndex:0,target:y})}var b=this.props,_=b.externalLinksDisabled,w=b.showExternalLinksModal,k=_&&_L(v),E=k?void 0:v,x=""===E?"#":E,S=dT()(x)?"_blank":void 0,T="_blank"===S?"noopener noreferrer":void 0,C=k?"button":void 0,A=k?w:void 0;return DX.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?wr()(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",_=eC()("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:DW(o,v),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*m,"px")};return DX.createElement("div",{className:_,"data-ba":jX.blockButton,style:w},DX.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:u,offset:100},Ca()(p).call(p,(function(t){var n=t.id,i=t.label,o=t.type,u=t.destination,l=t.description,c=QZ(ti(i),18);return DX.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}(DX.Component),FX=Qt(Ek()({externalLinksDisabled:Br()(["course","externalLinksDisabled"])}),{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(BX),UX=FX,zX=function(e){ut(n,e);var t=qX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderButtonDelegate=r.renderButton.bind(it(r)),r}return rt(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 DX.createElement(FX,{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=eC()("blocks-buttonstack",{"blocks-buttonstack--no-animation":!f}),h={backgroundColor:DW(r,d),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*c,"px")},v={buttonColor:a.buttonColor||this.props.color,buttonStyle:a.buttonStyle};return DX.createElement("div",{className:p,style:h},DX.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i},Ca()(o).call(o,(function(e){return DX.createElement(m.Fragment,{key:e.id},u(e,v))}))))}}],[{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(DX.Component),HX=__webpack_require__(42317),VX=__webpack_require__.n(HX),WX=Po()("partner-content-block-card__"),YX=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,v={blockId:n,courseId:r,partnerContentId:p,tenantId:a,contentSubtype:u};return m.createElement("section",null,m.createElement("h2",{className:"visually-hidden"},"More Info"),m.createElement("ol",{className:"partner-content-block-card",role:"list"},m.createElement("li",{role:"listitem"},m.createElement(ED,{authors:l,backgroundColor:t,block:!0,bookImage:c,bookTitle:d,buyLink:f,publishedAt:o,trackingInfo:v})),m.createElement("li",{role:"listitem"},m.createElement("div",{className:WX("divider")})),m.createElement("li",{role:"listitem"},m.createElement(SD,{backgroundColor:t,block:!0,link:h,publishedAt:o,trackingInfo:v}))))},GX=__webpack_require__(67294);function KX(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var ZX=OF,XX=function(e){ut(n,e);var t=KX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(it(r)),r}return rt(n,[{key:"renderCaption",value:function(e){var t=e.caption;return GX.createElement(QW,{className:"block-audio__caption brand--body brand--linkColor",tag:BW,value:t})}},{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=_t()(t=_t()(n="".concat(a,"-")).call(n,i,"-")).call(t,f),b=xl()(0,["items",i,"items",f,"audioVideoPlayhead"],u);return GX.createElement("div",{key:f,className:"block-audio__item"},s?GX.createElement(XK,{audioVideoPlayhead:b,key:y,id:y,labels:o,mediaSrc:g,onEnd:this.handleOnEnd.bind(this,f),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=eC()("block-audio",{"block-audio--no-animation":!o}),s=i.length>0?wr()(i).call(i,0,1):[];return GX.createElement(fY,{className:a,"data-ba":ZX.blockAudio},GX.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:r,offset:150},GX.createElement("div",{className:"block-audio__wrapper"},Ca()(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}(GX.Component),$X=function(e){ut(n,e);var t=KX(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind(it(r)),r}return rt(n,[{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=xl()(0,["items",n,"items",h,"audioVideoPlayhead"],s),k=CN()(bi()("id",g),a)||{},E=GX.createElement("div",null,GX.createElement("img",{className:"block-video__poster",src:y,alt:"Video Poster"})),x=GX.createElement("div",null,GX.createElement("div",{className:"block-video__placeholder"})),S=GX.createElement("div",null,GX.createElement(VZ,{audioVideoPlayhead:w,canAdjustPlaybackSpeed:i,canRestrictSeek:l.forwardSeekRestricted&&!r,captionUID:p,captions:f,id:v,key:v,labels:o,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;return GX.createElement(BW,{className:"block-audio__caption brand--body brand--linkColor",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=c.backgroundColor,m=c.mediaWidth,v=void 0===m?"1":m,g=e.id,y=e.media,b=e.partnerContentId,_=y.customVideo,w=void 0===_?{}:_,k=y.tmp,E=void 0===k?{}:k,x=y.video,S=void 0===x?{}:x,T=lb()("poster",S)?S:yo()(S,w),C=lb()("poster",E.video||{})&&E.video,A=Zn()?T:C||T,O=A.captionUID,N=A.captions,P=A.key,L=A.poster,M=A.src,I=A.subtitle,R={captionUID:O,captions:N,id:g,key:P,keyId:_t()(t=_t()(n="".concat(o,"-")).call(n,a,"-")).call(t,g),partnerContentId:b,poster:L,src:M,subtitle:I},D=CN()(bi()("id",b),u)||{},q=D&&!Ra()(D),j=eC()("block-video__item",{"block-video__item--small":"0"===v,"block-video__item--medium":"1"===v,"block-video__item--full":"2"===v});return GX.createElement("div",{key:g,className:j,"data-ba":ZX.blockVideo},s&&this.renderVideo(R),GX.createElement("div",{className:"block-video__wrapper"},p(e)),q&&GX.createElement(YX,{backgroundColor:h,blockId:a,courseId:i,partnerContent:D,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.defaultBackgroundColor,i=void 0===r?"":r,o=t.isLearner,a=t.items,s=t.settings,u=s.paddingTop,l=s.paddingBottom,c=s.backgroundColor,d=s.entranceAnimation,f=eC()("block-video",{"block-video--no-animation":!d}),p={backgroundColor:DW(i,c),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*l,"px")},h=a.length>0?wr()(a).call(a,0,1):[];return GX.createElement("div",{className:f,style:p},GX.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:250},Ca()(h).call(h,(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}(GX.Component),QX=function(e){ut(n,e);var t=KX(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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.showBorder,p=void 0===f||f,h=eC()("block-embed__item",{"block-embed__item--border":p});return GX.createElement("section",{key:r,className:h,"data-ba":ZX.blockEmbed},u&&GX.createElement(PZ,{id:_t()(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.defaultBackgroundColor,o=void 0===i?"":i,a=t.isLearner,s=t.items,u=t.settings,l=u.paddingTop,c=u.paddingBottom,d=u.backgroundColor,f=u.entranceAnimation,p=u.mediaWidth,h=void 0===p?0:p,m="link"!==iZ(s),v=eC()("block-embed",{"block-video--no-animation":!f}),g=eC()("block-embed__wrapper",{"block-embed__wrapper--medium":m&&"1"===h,"block-embed__wrapper--full":m&&"2"===h}),y={backgroundColor:DW(o,d),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*c,"px")},b=s.length>0?wr()(s).call(s,0,1):[];return GX.createElement("div",{className:v,style:y},GX.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:a,offset:300},GX.createElement("div",{className:g},Ca()(b).call(b,(function(t){return e.renderItem(t,r)})))))}}],[{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:""}}}]),n}(GX.Component),JX=function(e){ut(n,e);var t=KX(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{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=o[0].media.attachment;return GX.createElement("div",{style:this.styles(a,r)},GX.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i},GX.createElement("div",{className:"block-text--onecol"},GX.createElement("div",{className:"block-text__container"},GX.createElement("div",{className:"block-text__row"},GX.createElement("div",{className:"block-text__col"},this.renderAttachment(s)))))))}},{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.showExternalLinksModal,u=Gn(t),l=a?"":void 0,c=a?s:void 0,d=a?void 0:u,f=a?void 0:"noopener noreferrer",p=a?"button":void 0,h=a?void 0:"_blank";return GX.createElement("a",{className:"block-attachment brandHover","data-external":l,download:r,href:d,onClick:c,rel:f,role:p,target:h},GX.createElement("div",{className:"block-attachment__main"},GX.createElement("div",{className:"block-attachment__icon"},this.fileIcon(n)),GX.createElement("div",{className:"block-attachment__info brand--head"},GX.createElement(NL,{className:"block-attachment__title",value:r}),GX.createElement("div",{className:"block-attachment__size"},VX()(i,{round:1})))),GX.createElement("div",{className:"block-attachment__rest"},GX.createElement(EC,{className:"brandHover__target--fill"})))}},{key:"renderNoFile",value:function(){return GX.createElement("div",{className:"block-attachment block-attachment--none","data-ba":ZX.blockAttachment},GX.createElement("div",{className:"block-attachment__main"},GX.createElement("div",{className:"block-attachment__icon"},GX.createElement(CC,{"aria-label":"File"})),GX.createElement("div",{className:"block-attachment__info brand--head"},GX.createElement("div",{className:"block-attachment__title"},"File Attachment Block"),GX.createElement("div",{className:"block-attachment__size"},"No file added"))))}},{key:"fileIcon",value:function(e){return/excel|spreadsheet/.test(e)?GX.createElement(LC,{"aria-label":"Microsoft Excel Spreadsheet"}):/pdf/.test(e)?GX.createElement(OC,{"aria-label":"PDF File"}):/word/.test(e)?GX.createElement(AC,{"aria-label":"Microsoft Word Document"}):/powerpoint|presentation/.test(e)?GX.createElement(NC,{"aria-label":"PowerPoint Presentation"}):/rtf|richtext/.test(e)?GX.createElement(PC,{"aria-label":"Rich Text File"}):/zip/.test(e)?GX.createElement(MC,{"aria-label":"ZIP File"}):GX.createElement(CC,{"aria-label":"File"})}},{key:"styles",value:function(e,t){return{backgroundColor:DW(t,e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}}]),n}(GX.Component),e$=Qt(Ek()({externalLinksDisabled:Br()(["course","externalLinksDisabled"])}),{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(JX),t$=TF,n$=function(e){var t=e.bgColor,n=void 0===t?"brand":t,r=e.href,i=e.onClick,o=e.text,a=eC()("continue-btn","brand--ui",{"continue-btn--gray":"gray"===n,"continue-btn--black":"black"===n,"brand--background":"brand"===n});return r?m.createElement(bF,{className:a,onClick:i,to:r},o):m.createElement("button",{className:a,"data-ba":t$.continueBtn,onClick:i,type:"button"},o)},r$=function(e){var t=e.bgType,n=e.text,r=e.iconType,i=void 0===r?"locked":r,o=eC()("continue-hint",{"continue-hint--bg-transparent":"transparent"===t});return m.createElement("div",{className:o},m.createElement("div",{className:"continue-hint__content"},n),"locked"===i&&m.createElement(UC,{"aria-label":"Closed padlock",className:"continue-hint__icon"}))};function i$(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.items,l=void 0===u?[]:u,c=e.onStep,d=void 0===c?Function.prototype:c,f=e.settings,p=(0,m.useRef)(),h=GI(a),v=Rr().announcePolite,g=l[0]||{},y=g.buttonColor,b=g.completeHint,_=g.id,w=g.title,k=!g.type||r,E=(0,m.useCallback)((function(){var e=p.current;e&&(e.setAttribute("aria-live","off"),e.setAttribute("role","status"),e.setAttribute("tabindex","-1"),e.innerHTML="Continued",e.focus()),d({id:_})}),[_,d]);return(0,m.useEffect)((function(){!h&&a&&(null==v||v("Additional lesson content has been loaded."))}),[a,h,v]),m.createElement(m.Fragment,null,!a&&m.createElement("div",{style:o$(f,o)},m.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:s,offset:25},m.createElement("div",{className:"block-text--onecol"},m.createElement("div",{className:"block-text__container"},m.createElement("div",{className:"block-text__row"},m.createElement("div",{className:"block-text__col"},k&&m.createElement(n$,{bgColor:y,onClick:E,text:w}),!k&&m.createElement(r$,{text:b}))))))),m.createElement("div",{className:"abs-center-x visually-hidden-always",ref:p}))}function o$(e,t){return{backgroundColor:DW(t,e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}var a$=__webpack_require__(23279),s$=__webpack_require__.n(a$),u$=(0,y.shape)({image:(0,y.shape)({key:y.string,originalUrl:y.string,src:y.string,thumbnail:y.string,type:y.string,useCrushedKey:y.bool})}),l$=(0,y.oneOf)([void 0,"description","fullimage","image"]),c$=(0,y.shape)({description:y.string,media:u$,type:l$});(0,y.shape)({back:c$,front:c$,id:y.string});function d$(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var f$=OF,p$=cL("flashcard"),h$=function(e){ut(n,e);var t=d$(n);function n(){var e,r;et(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Ar(it(r=t.call.apply(t,_t()(e=[this]).call(e,o))),"state",{areSidesReady:!0,flipped:!1,hasFlippedOnce:!1,isMounted:!1}),Ar(it(r),"handleFlip",(function(e){e&&e.target.closest("a")||window.getSelection().toString()||r.setState({areSidesReady:!1,flipped:!r.state.flipped,hasFlippedOnce:!0})})),Ar(it(r),"handleTouchEnd",(function(e){e.stopPropagation()})),Ar(it(r),"handleSideReady",(function(){r.setState({areSidesReady:!0})})),r}return rt(n,[{key:"render",value:function(){var e=this.handleFlip,t=this.handleSideReady,n=this.handleTouchEnd,r=this.props,i=r.allowTabNavigation,o=r.backDescription,a=r.backImgAlt,s=r.backImgUrl,u=r.backType,l=r.forceFlipped,c=r.frontDescription,d=r.frontImgAlt,f=r.frontImgUrl,p=r.frontType,h=r.hintText,v=r.prefersKeyboardNavigation,g=r.settingShowHint,y=r.size,b=r.type,_=this.state,w=_.areSidesReady,k=_.flipped,E=_.isMounted,x=l||k,S=p$({large:"large"===y,small:"small"===y,flipped:x,stack:"stack"===b});return m.createElement("li",{"aria-hidden":!i,className:S,onClick:e,onTouchEnd:n,role:"listitem"},m.createElement(_$,{allowTabNavigation:i,blockType:b,description:c,hintText:h,imgAlt:d,imgUrl:f,isActiveSide:!x,isAriaHidden:x&&E&&w,isFlipped:x,onFlip:e,onReady:t,prefersKeyboardNavigation:v,settingShowHint:g,side:"front",size:y,type:p}),m.createElement(_$,{allowTabNavigation:i,blockType:b,description:o,hintText:h,imgAlt:a,imgUrl:s,isActiveSide:x,isAriaHidden:!x&&E&&w,isFlipped:x,onFlip:e,onReady:t,prefersKeyboardNavigation:v,settingShowHint:g,side:"back",size:y,type:u}))}},{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}(m.PureComponent);Ar(h$,"defaultProps",{allowTabNavigation:!0,backType:"description",forceFlipped:!1,frontType:"description",onStep:Function.prototype,settingShowHint:!0});var m$=cL("flashcard-side"),v$=cL("flashcard-side-flip"),g$=function(e){ut(n,e);var t=d$(n);function n(){var e,r;et(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Ar(it(r=t.call.apply(t,_t()(e=[this]).call(e,o))),"state",n.initialState),Ar(it(r),"longBottomObserver",void 0),Ar(it(r),"readyTimeout",void 0),Ar(it(r),"refDescription",(0,m.createRef)()),Ar(it(r),"refDescriptionBottom",(0,m.createRef)()),Ar(it(r),"refSide",(0,m.createRef)()),Ar(it(r),"handleUpdatesDescription",(function(e,t){var n=it(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()})),Ar(it(r),"handleUpdatesDescriptionSize",(function(e,t){var i=n.descriptionActionTypes,o=i.INSERTING,a=i.DELETING,s=it(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)})),Ar(it(r),"checkDescriptionSize",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.descriptionActionTypes.DELETING,i=it(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)}})),Ar(it(r),"scrollDescriptionToTop",(function(){var e=r.refDescription.current;r.state.isLong&&e&&(e.scrollTop=0)})),Ar(it(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)}})),Ar(it(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})),Ar(it(r),"setScrollbarWidth",(function(){var e=r.refDescription.current;if(e){var t=e.offsetWidth-e.clientWidth;t>0&&r.setState({scrollbarWidthOffset:t})}})),r}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.allowTabNavigation,n=e.description,r=e.hintText,i=e.imgAlt,o=e.imgUrl,a=e.isActiveSide,s=e.isAriaHidden,u=e.isFlipped,l=e.onFlip,c=e.prefersKeyboardNavigation,d=e.settingShowHint,f=e.side,p=e.size,h=e.type,v=this.refDescription,g=this.refDescriptionBottom,y=this.refSide,b=this.state,_=b.isAtLongOverflowBottom,w=b.isLong,k=b.isLongOverflow,E=b.scrollbarWidthOffset,x="front"===f,S="small"===p,T="large"===p,C="description"===h,A="fullimage"===h,O="image"===h,N=x?"Front of card":"Back of card",P=x?"Flip to back":"Flip to front",L=m$({back:"back"===f,flipped:u,front:x,fullimage:A}),M=m$("content",{small:S,large:T,front:x,fullimage:A,image:O,"long-overflow":k,"long-overflow-bottom":_}),I=v$(),R=v$("btn",{"visually-hidden":!d,"prefers-keyboard":c}),D=v$("icon"),q=v$("tooltip"),j=m$("img",{small:S,large:T,centered:O,full:A}),B=m$("description",{long:w&&!k,"long-overflow":k,short:!w,large:T}).mix("brand--head"),F=m$("description-bottom"),U=null==E?void 0:{right:E};return m.createElement("div",{"aria-hidden":s,"aria-roledescription":"flip card",className:L,ref:y,tabIndex:"-1"},m.createElement("span",{className:"visually-hidden-always"},N),m.createElement("div",{className:M},(A||O)&&m.createElement(w$,{alt:i,className:j,url:o}),C&&m.createElement("div",{className:B,ref:v,tabIndex:a&&k?0:void 0},m.createElement(NL,{allowTabNavigation:t&&!s,value:n}),k&&m.createElement("div",{className:F,ref:g})),m.createElement("div",{className:I,style:U},m.createElement("button",{"aria-label":P,className:R,onClick:l,tabIndex:t&&a?0:-1,type:"button"},m.createElement(JC,{className:D})),m.createElement("div",{"aria-hidden":"true",className:q},r))))}},{key:"componentDidMount",value:function(){this.checkDescriptionSize(this.props),this.checkDescriptionSizeDebounced=s$()(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}(m.PureComponent);Ar(g$,"descriptionActionTypes",{INITIAL:"INITIAL",INSERTING:"INSERTING",DELETING:"DELETING"}),Ar(g$,"initialState",{descriptionAction:g$.descriptionActionTypes.INITIAL,isAtLongOverflowBottom:!1,isLong:!1,isLongOverflow:!1,scrollbarWidthOffset:void 0});var y$,b$,_$=(y$=g$,b$=(0,m.forwardRef)((function(e,t){var n=Rr();return m.createElement(y$,yt({},e,n,{ref:t}))})),b$.displayName="withAriaLive(".concat(y$.displayName||y$.name,")"),b$),w$=function(e){var t=e.alt,n=e.className,r=e.url,i=function(e){return e&&'""'!==Zi()(e).call(e)?e:""}(t);return m.createElement(m.Fragment,null,m.createElement("img",{alt:i,className:n,src:r}),!i&&m.createElement("span",{className:"visually-hidden-always"},"No image alternative text"))},k$=function(e){ut(n,e);var t=d$(n);function n(){var e,r;et(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Ar(it(r=t.call.apply(t,_t()(e=[this]).call(e,o))),"state",{prefersKeyboardNavigation:!0}),Ar(it(r),"handleKeyDown",(function(e){r.state.prefersKeyboardNavigation||mz(e)||r.setState({prefersKeyboardNavigation:!0})})),Ar(it(r),"handleMouseDown",(function(){r.state.prefersKeyboardNavigation&&r.setState({prefersKeyboardNavigation:!0})})),r}return rt(n,[{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.labels,s=e.onStep,u=e.settings,l=e.stack,c=this.state.prefersKeyboardNavigation,d=u.backgroundColor,f=u.entranceAnimation,p=u.paddingBottom,h=u.paddingTop,v=u.showHint,g=eC()("block-flashcards",{"blocks-flashcard--column":!l,"blocks-flashcard--stack":l,"block-flashcards--no-animation":!f}),y={backgroundColor:DW(r,d),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*p,"px")},b=o.length>2?"small":"large",_=l?"Flashcard carousel":"Flashcard grid";return m.createElement("div",{"aria-label":_,className:g,"data-ba":f$.blockFlashcards,role:"group",style:y},l?m.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i,offset:400},m.createElement(E$,{items:o,labels:a,onStep:s,showHint:v})):m.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-flashcards__animation",isLearner:i,siblingDelay:.25},m.createElement("ol",{className:"block-flashcards__wrapper",role:"list"},Ca()(o).call(o,(function(e){var t,n,r,i,o,u,l,d,f,p,h,g,y,_;return m.createElement(h$,{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===(i=r.image)||void 0===i?void 0:i.alt,backImgUrl:Yx(null==e||null===(o=e.back)||void 0===o||null===(u=o.media)||void 0===u?void 0:u.image),backType:null==e||null===(l=e.back)||void 0===l?void 0:l.type,frontDescription:null==e||null===(d=e.front)||void 0===d?void 0:d.description,frontImgAlt:null==e||null===(f=e.front)||void 0===f||null===(p=f.media)||void 0===p||null===(h=p.image)||void 0===h?void 0:h.alt,frontImgUrl:Yx(null==e||null===(g=e.front)||void 0===g||null===(y=g.media)||void 0===y?void 0:y.image),frontType:null==e||null===(_=e.front)||void 0===_?void 0:_.type,hintText:null==a?void 0:a.blocksClickToFlip,id:null==e?void 0:e.id,key:null==e?void 0:e.id,onStep:s,prefersKeyboardNavigation:c,settingShowHint:v,size:b,type:"grid"})})))))}},{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}(m.Component);Ar(k$,"defaultProps",{editable:!1,items:[],onStep:Function.prototype,stack:!1});var E$=function(e){ut(n,e);var t=d$(n);function n(){var e,r;et(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return Ar(it(r=t.call.apply(t,_t()(e=[this]).call(e,o))),"handleKeyDown",(function(e){r.state.prefersKeyboardNavigation||mz(e)||r.setState({prefersKeyboardNavigation:!0})})),Ar(it(r),"handleMouseDown",(function(){r.state.prefersKeyboardNavigation&&r.setState({prefersKeyboardNavigation:!0})})),r.state={current:1,prefersKeyboardNavigation:!1},r}return rt(n,[{key:"handleBeforeChange",value:function(e,t){var n=this;this.sliderInfo.setCurrent(t+1),setTimeout((function(){n.setState({current:t+1})}),500)}},{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.prefersKeyboardNavigation,l=n.length,c={dots:!1,draggable:!1,swipe:!1,speed:500,slidesToShow:1,slidesToScroll:1,fade:!0,infinite:!1,arrows:!0,beforeChange:this.handleBeforeChange.bind(this),nextArrow:m.createElement(S$,{current:s,labels:r,length:l}),prevArrow:m.createElement(S$,{previous:!0,current:s,labels:r,length:l})};return m.createElement("section",{className:"block-flashcards-slider block-flashcards-slider--full-carousel"},m.createElement("div",{className:"block-flashcards-slider__wrap"},m.createElement(GY.Z,yt({className:"block-flashcards-slider__slides"},c),Ca()(n).call(n,(function(e,t){var n,a,l,c,d,f,p,h,v,g,y,b,_,w;return m.createElement("div",{className:"block-flashcards-slider__slide",key:"flashcard-".concat(t)},m.createElement(h$,{allowTabNavigation:s===Rs()(t),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===(l=a.media)||void 0===l||null===(c=l.image)||void 0===c?void 0:c.alt,backImgUrl:Yx(null==e||null===(d=e.back)||void 0===d||null===(f=d.media)||void 0===f?void 0:f.image),backType:null==e||null===(p=e.back)||void 0===p?void 0:p.type,frontDescription:null==e||null===(h=e.front)||void 0===h?void 0:h.description,frontImgAlt:null==e||null===(v=e.front)||void 0===v||null===(g=v.media)||void 0===g||null===(y=g.image)||void 0===y?void 0:y.alt,frontImgUrl:Yx(null==e||null===(b=e.front)||void 0===b||null===(_=b.media)||void 0===_?void 0:_.image),frontType:null==e||null===(w=e.front)||void 0===w?void 0:w.type,hintText:null==r?void 0:r.blocksClickToFlip,key:null==e?void 0:e.id,id:null==e?void 0:e.id,onStep:i,prefersKeyboardNavigation:u,settingShowHint:o,size:"large",type:"stack"}))}))),m.createElement(x$,{ref:function(t){e.sliderInfo=t},labels:r,current:s,itemCount:n.length})))}},{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}(m.Component);Ar(E$,"defaultProps",{items:[],onStep:Function.prototype});var x$=function(e){ut(n,e);var t=d$(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={current:e.current},r}return rt(n,[{key:"setCurrent",value:function(e){this.setState({current:e})}},{key:"render",value:function(){var e,t,n=this.props,r=n.itemCount,i=n.labels,o=void 0===i?{}:i,a=this.state.current,s=100*(a/r).toFixed(2),u={width:"".concat(s,"%")},l=o.blocksPreposition,c=void 0===l?"of":l;return m.createElement("div",{className:"block-flashcards-slider__info"},m.createElement("div",{className:"block-flashcards-slider__progress"},m.createElement("p",{className:"block-flashcards-slider__progress-text brand--body brand--linkColor"},_t()(e=_t()(t="".concat(a," ")).call(t,c," ")).call(e,r)),m.createElement("div",{className:"block-flashcards-slider__progress-line brand--background",style:u})))}}]),n}(m.Component),S$=function(e){ut(n,e);var t=d$(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.current,n=e.labels,r=e.length,i=e.onClick,o=e.previous,a=n.nextFlashCardLabel,s=n.previousFlashCardLabel,u=1===t,l=t===r,c=eC()("block-flashcards-slider__controls",{"block-flashcards-slider__controls--beginning":u,"block-flashcards-slider__controls--end":l}),d=eC()("brand--background block-flashcards-slider__arrow",{"block-flashcards-slider__arrow--next":!o,"block-flashcards-slider__arrow--prev":o}),f=eC()("icon",{"icon-chevron-right":!o,"icon-chevron-left":o}),p=o&&u||!o&&l;return m.createElement("div",{className:c},m.createElement("div",{"aria-disabled":p,"aria-label":o?s:a,className:d,onClick:i,onKeyDown:Nz(i),role:"button",tabIndex:p?-1:0},m.createElement("i",{className:f})))}}]),n}(m.Component);Ar(S$,"defaultProps",{previous:!1,onClick:function(){},current:0,length:-1});var T$=__webpack_require__(69983),C$=__webpack_require__.n(T$),A$=__webpack_require__(76290),O$=__webpack_require__.n(A$),N$=function(e){var t=e.canProceed,n=e.canSubmit,r=e.onNext,i=e.onSubmit,o=e.quizNext,a=e.quizSubmit,s=e.allowNext,u=void 0!==s&&s,l=!t||void 0,c=!(n&&!t)||void 0,d=(0,m.useRef)(),f=GI(t);(0,m.useEffect)((function(){u&&!f&&t&&setTimeout((function(){var e,t;null===(e=d.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),0)}),[u,t,f]);var p=eC()("quiz-card__actions",{"quiz-card__actions--proceed":t}),h=eC()("quiz-card__button",{"brand--background":!c,"quiz-card__button--disabled":c}),v=eC()("quiz-card__button","quiz-card__button--next","brand_ui",{"brand--background":t,"visually-hidden-always":!t});return m.createElement("div",{className:p},m.createElement("div",{className:"quiz-card__submit brand--ui"},m.createElement("button",{"aria-hidden":c,className:h,disabled:c,onClick:i,type:"button"},a)),m.createElement("br",{role:"presentation",className:"visually-hidden-always"}),u&&m.createElement("div",{className:"quiz-card__next brand--ui"},m.createElement("button",{"aria-hidden":l,className:v,disabled:l,onClick:r,ref:d,type:"button"},o)))},P$=__webpack_require__(67294),L$=function(e){var t=e.isActive,n=e.isComplete;return eC()("quiz-card",{"quiz-card--active":t,"quiz-card--done":n})},M$=function(e){var t=e.children,n=e.isActive,r=e.isComplete;return P$.createElement("div",{"aria-hidden":!n||void 0,className:L$({isActive:n,isComplete:r})},P$.createElement("div",{className:"quiz-card__container"},P$.createElement("div",{className:"quiz-card__row"},P$.createElement("div",{className:"quiz-card__main"},t))))},I$=yA.FILL_IN_THE_BLANK,R$=yA.MATCHING,D$=yA.MULTIPLE_CHOICE,q$=yA.MULTIPLE_RESPONSE,j$="Correct answer";function B$(e){var t,n=e.answers;return dr()(t=Ca()(n).call(n,(function(e){return null==e?void 0:e.title}))).call(t,Boolean).join(", ")}function F$(e){var t,n=e.answers,r=e.correct,i=null!=r?(0,Sw.propEq)("id",r):(0,Sw.propEq)("correct",!0);return null===(t=OS()(n).call(n,i))||void 0===t?void 0:t.title}function U$(e){var t,n=e.answers,r=e.selection;return null==n||null===(t=n[r])||void 0===t?void 0:t.title}function z$(e,t){return dr()(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 H$(e){var t=e.corrects;return z$((function(e){var n;return Array.isArray(t)?null===(n=m_()(t))||void 0===n?void 0:n.call(t,e.id):e.correct}),e.answers)}function V$(e){var t=e.answers,n=e.selection;return z$((function(e,t){return m_()(n).call(n,t)}),t)}function W$(e){var t=e.correctAnswer,n=e.selectedAnswer,r=e.correctLabel;return t&&n?(void 0===r?j$:r)+": "+ti(t)+". "+"Your answer: "+ti(n)+".":null}function Y$(e){var t,n=e.isComplete,r=e.item,i=e.selection;if(!r||!n)return null;var o=null!==(t=null==r?void 0:r.answers)&&void 0!==t?t:[],a=null==r?void 0:r.correct,s=null==r?void 0:r.corrects;switch(r.type){case R$:return function(e){var t=e.answers,n=e.selection,r=(0,Sw.invertObj)(n);return Ca()(t).call(t,(function(e,n){var i,o,a,s,u=null!==(i=null==e?void 0:e.title)&&void 0!==i?i:"",l=null!==(o=null==e?void 0:e.matchTitle)&&void 0!==o?o:"",c=null==r?void 0:r[n];return"Match Item: "+l+". Correct answer: "+u+". Your answer: "+(null!==(a=null==t||null===(s=t[c])||void 0===s?void 0:s.title)&&void 0!==a?a:"")+"."})).join(" ")}({answers:o,selection:i});case I$:return W$({correctAnswer:B$({answers:o}),selectedAnswer:i,correctLabel:"Acceptable responses"});case D$:return W$({correctAnswer:F$({answers:o,correct:a}),selectedAnswer:U$({answers:o,selection:i})});case q$:return W$({correctAnswer:H$({corrects:s,answers:o}),selectedAnswer:V$({answers:o,selection:i})})}return null}var G$=function(e){var t=e.canProceed,n=e.feedbackGroup,r=e.feedbackRef,i=e.feedbackValue,o=e.hasFeedback,a=e.isActive,s=e.isComplete,u=e.isCorrect,l=e.item,c=e.quizCorrect,d=e.quizIncorrect,f=e.selection,p=Rr(),h=p.announcePolite,v=p.clearAnnouncements,g=GI(t),y=u?c:d,b=(0,m.useCallback)((function(){var e=Y$({isComplete:s,item:l,selection:f}),t=i?ti(i):"";h(y+". "+e+" "+t)}),[h,i,s,l,y,f]);(0,m.useLayoutEffect)((function(){!g&&t&&setTimeout(b,0)}),[t,g,b]),(0,m.useEffect)((function(){return v}),[v]);var _=eC()("quiz-card__feedback",{"quiz-card__feedback--active":t,"quiz-card__feedback--frame":o}),w=eC()("quiz-card__feedback-icon",{"quiz-card__feedback-icon--correct brand--color":u});return m.createElement(m.Fragment,null,m.createElement("div",{className:_,"aria-hidden":!a||void 0,ref:r},m.createElement("div",{className:"quiz-card__main--feedback"},m.createElement("div",{"aria-label":n,className:"quiz-card__feedback-wrap",role:"group"},m.createElement("div",{className:w},m.createElement("i",{"aria-hidden":"true",className:u?"icon icon-Master-05":"icon icon-Master-06"})),m.createElement("div",{className:"quiz-card__feedback-label brand--head"},y),m.createElement("div",null,m.createElement(NL,{allowTabNavigation:s&&a,className:"quiz-card__feedback-text brand--body brand--linkColor",value:i}))))))},K$=__webpack_require__(67294),Z$=function(e){var t=e.hasNoBorder,n=e.type;return eC()("quiz-card__interactive",{"quiz-card__interactive--no-border":t,"quiz-card__interactive--fill":"FILL_IN_THE_BLANK"===n})},X$=function(e){var t=e.children,n=e.hasNoBorder,r=e.type;return K$.createElement("div",{className:Z$({hasNoBorder:n,type:r})},t)},$$=__webpack_require__(69879),Q$=__webpack_require__.n($$),J$=__webpack_require__(74646),eQ=__webpack_require__.n(J$),tQ=__webpack_require__(52788),nQ=__webpack_require__.n(tQ),rQ=__webpack_require__(83023),iQ=__webpack_require__.n(rQ),oQ=kl()((function(e,t){return to()(nQ()(null),iQ()(e,t))})),aQ=__webpack_require__(67294),sQ=to()(eQ()(["tmp"]),xl()({},["media"])),uQ=Q$()(sQ,CM),lQ=oQ(pM()(uQ,CM),(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 aQ.createElement("div",{className:"quiz-card__media"},aQ.createElement(ZZ,{allowTabNavigation:t,blockId:n,enableVideoPlaybackSpeed:r,index:i,labels:o,media:a,opts:s}))})),cQ=lQ,dQ=__webpack_require__(7578),fQ=__webpack_require__.n(dQ),pQ=function(e,t){var n=(0,IF.Z)(t);(0,m.useEffect)((function(){!n&&t&&e&&fQ()(e.focus)&&e.focus()}),[t,n,e])},hQ=function(e){var t,n,r=e.isActive,i=e.num,o=e.total,a=e.quizQuestion,s=(0,m.useRef)();return pQ(s.current,r),m.createElement("div",{className:"quiz-card__number"},m.createElement("h1",{className:"visually-hidden-always",ref:s,tabIndex:UH},_t()(t="Question ".concat(i," of ")).call(t,o)),m.createElement("div",{"aria-hidden":"true",className:"quiz-card__step-label brand--body"},a),m.createElement("div",{"aria-hidden":"true",className:"quiz-card__counter brand--color brand--ui"},_t()(n="".concat(AM(i),"/")).call(n,AM(o))))},mQ=__webpack_require__(67294),vQ=function(e){var t=e.allowTabNavigation,n=e.id,r=e.value;return mQ.createElement(NL,{allowTabNavigation:t,className:"quiz-card__title brand--body brand--linkColor",id:n,value:r})},gQ={ANY:"ANY",CORRECT_INCORRECT:"CORRECT_INCORRECT",CHOICE:"CHOICE"},yQ={label:"Any Response",prop:"feedback"},bQ=(Al()([[Ma()(gQ.ANY),Hr()(yQ)],[Ma()(gQ.CHOICE),Hr()({label:"By Choice",prop:"choice"})],[Ma()(gQ.CORRECT_INCORRECT),Hr()({correctProp:"feedbackCorrect",incorrectProp:"feedbackIncorrect",label:"Correct / Incorrect",type:"CORRECT_INCORRECT"})],[db(),Hr()(yQ)]]),gQ),_Q=function(e){var t,n,r=e.allowTabNavigation,i=e.isComplete,o=e.isCorrect,a=e.onChange,s=e.onEnterToSubmit,u=e.options,l=e.questionHtmlId,c=e.quizAcceptableResponses,d=e.quizAnswerPlaceholder,f=e.revealAnswers,p=e.value,h=(0,m.useRef)(),v=Cr((0,m.useState)((function(){return WC()("fitb-")})),1)[0],g="".concat(v,"-feedback"),y="".concat(v,"-acceptable"),b="".concat(v,"-input"),_=i?_t()(t="".concat(g," ")).call(t,y):void 0,w=i?void 0:d,k=r?0:UH,E=f===hA||f===vA,x=f===hA||o&&f===vA,S=eC()("quiz-fill__icon",{"quiz-fill__icon--visible":i}),T=eC()("quiz-fill__options",{"quiz-fill__options--visible":i}),C=(0,m.useCallback)((function(e){a(e.currentTarget.value)}),[a]),A=(0,m.useCallback)((function(e){vz(e)&&s(e)}),[s]),O=i?void 0:C,N=i?void 0:A;return m.createElement("div",{className:"quiz-fill"},m.createElement("div",{className:"quiz-fill__container"},m.createElement("input",{"aria-labelledby":l,"aria-describedby":_,"aria-hidden":!r,"aria-readonly":i,autoComplete:"off",className:"quiz-fill__input brand--body ignore-prefers",id:b,onChange:O,onKeyDown:N,placeholder:w,readOnly:i,ref:h,tabIndex:k,type:"text",value:p}),E&&m.createElement("div",{className:S,id:g},o&&m.createElement(fC,{"aria-label":"Correct",className:"brand--fill"}),!o&&m.createElement(fA,{"aria-label":"Incorrect"}))),x&&i&&m.createElement("div",{className:T,id:y},_t()(n="".concat(c,": ")).call(n,wQ(u))))};_Q.defaultProps={onChange:Rl,onEnterToSubmit:Rl};var wQ=de()(ZA()(", "),di()(de()(YF(),Cu()("","title")))),kQ=_Q,EQ=__webpack_require__(34226),xQ=__webpack_require__.n(EQ),SQ=__webpack_require__(43083),TQ=__webpack_require__.n(SQ);TQ().dynamicDrop(!0);var CQ=TQ(),AQ=__webpack_require__(43931),OQ=__webpack_require__.n(AQ),NQ=__webpack_require__(67294);function PQ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var LQ=Jo()(["draggableOptions","autoScroll","container"]),MQ=OQ()(LQ),IQ=Sa()(Wo(),(function(){return document.querySelector(".page-wrap, .block-knowledge__wrapper, .question-banks-draw-dialog")})),RQ=sa()(LQ,IQ),DQ=function(e){ut(n,e);var t=PQ(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isDragging:!1,x:0,y:0,zIndex:0},r.handleEnd=r.handleEnd.bind(it(r)),r.handleMove=r.handleMove.bind(it(r)),r.handleStart=r.handleStart.bind(it(r)),r}return rt(n,[{key:"componentDidMount",value:function(){this.interact=CQ(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 NQ.cloneElement(NQ.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(qr())((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=RQ(this.props);this.interact.draggable(yo()({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,MQ(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=xl()("",["props","className"],t);return eC()(r,{draggable:n,"draggable--dragging":this.state.isDragging})}},{key:"getStyle",value:function(){var e=xl()({},["props","style"],this.props.children);return yo()(e,function(e){var t,n=e.x,r=e.y,i=e.zIndex;return{transform:_t()(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}(NQ.Component),qQ=__webpack_require__(67294);function jQ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var BQ=function(e){ut(n,e);var t=jQ(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isActive:!1},r.handleEnter=r.handleEnter.bind(it(r)),r.handleLeave=r.handleLeave.bind(it(r)),r.handleDrop=r.handleDrop.bind(it(r)),r}return rt(n,[{key:"componentDidMount",value:function(){this.interact=CQ(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 qQ.cloneElement(qQ.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(yo()({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=xl()("",["props","className"],r);return eC()(o,Ar({droppable:i,"droppable--active":e},n,e))}},{key:"getStyle",value:function(){return xl()({},["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}(qQ.Component),FQ=__webpack_require__(67294);function UQ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var zQ,HQ=So()(di()),VQ=de()(cu(),Ra()),WQ=gi()("title"),YQ=function(e){ut(n,e);var t=UQ(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isDragging:!1},r.setDrag=r.setDrag.bind(it(r)),r}return rt(n,[{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=eJ({isMatched:s,prefersKeyboardNavigation:p,willBeReplaced:v});return FQ.createElement(Gt,{className:this.state.isDragging?"".concat(y," dragging"):y,component:"li",onKeyDown:f,style:{height:u}},FQ.createElement(AV,{key:i},FQ.createElement(DQ,{childRef:function(t){e.listItem=t},isEnabled:o,key:i,nextIndex:l,onDragEnd:c,onDragStart:d,prevIndex:h,setDrag:this.setDrag},FQ.createElement("div",{className:"quiz-match__item-wrapper","aria-hidden":!g,tabIndex:HH(g)},FQ.createElement(ZQ,{className:$Q({isKeySelected:a})}),FQ.createElement("div",{className:"quiz-match__item-content"},FQ.createElement(nA,{className:"quiz-match__item-sortable"}),FQ.createElement(SC,{className:"quiz-match__item-sortable--dots"}),FQ.createElement("span",{"data-match-content":!0},m))))))}}]),n}(FQ.Component),GQ=function(e){ut(n,e);var t=UQ(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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 FQ.createElement(BQ,{activeClassName:"quiz-match__item--active",childRef:function(t){e.listItem=t},isEnabled:o,key:i,onDrop:s,onEnter:c,onLeave:d},FQ.createElement("li",{"aria-hidden":!h,className:tJ({prefersKeyboardNavigation:f}),onKeyDown:u,onKeyUp:l,style:{height:a},tabIndex:HH(h)},FQ.createElement(XQ,{className:QQ({isSelectable:!n})}),FQ.createElement("div",{className:"quiz-match__item-content"},FQ.createElement("span",{"data-match-content":!0},p))))}}]),n}(FQ.Component),KQ=function(e){ut(n,e);var t=UQ(n);function n(e){var r;return et(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=rX()(r.handleResize.bind(it(r)),100),r.handleCancelKeyDrop=r.handleCancelKeyDrop.bind(it(r)),r.handleIntersect=r.handleIntersect.bind(it(r)),r.observer=new IntersectionObserver(r.handleIntersect,{rootMargin:"10000px"}),r}return rt(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(!Ra()(l)||i)if(f){var h=(t=c,function(e,n){var r=Cr(n,2),i=r[0],o=r[1],a=os()(Number(i),e),s=os()(Number(o),t);return a===s?e:ws(a,s,e)}),m=ms()(l).reduce(h,n);this.setState({titleIndices:m})}else if(i){var v=iJ({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;Ma()(WQ(t),WQ(n))||this.setHeights();var r=this.state,i=r.dragIndex,o=r.dropZoneIndex;Wa()(xM,[i,o])&&(this.props.onMatch({dragIndex:i,dropZoneIndex:o}),this.setState({dragIndex:null,dropZoneIndex:null}))}},{key:"render",value:function(){var e=this;return FQ.createElement("div",{className:this.getClassName(),ref:function(t){e.el=t}},this.buildResultsList(),this.buildMovableList(),this.buildMatchList())}},{key:"getClassName",value:function(){return eC()("quiz-match",{"quiz-match--completed":this.props.isComplete,"quiz-match--hidden":!this.state.isLoaded})}},{key:"buildResultsList",value:function(){var e=HQ(this.buildResultItem.bind(this));return de()(rJ,e,xs)(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===vA,c=n&&(i===hA||l),d=eC()("quiz-match__item-feedback",{"quiz-match__item-feedback--hidden":!c});return c?u?FQ.createElement("li",{className:d,key:e,style:{height:a}},FQ.createElement(fC,{"aria-label":"Check mark",className:"brand--fill"})):l?FQ.createElement("li",{className:d,key:e,style:{height:a}},FQ.createElement(fA,{"aria-label":"Check mark"})):FQ.createElement("li",{className:d,key:e,style:{height:a}},FQ.createElement("span",{className:"quiz-match__item-feedback-bubble"},Rs()(os()(s,r)))):FQ.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=de()(nJ,HQ((function(t,n){return FQ.createElement(YQ,yt({key:"movable-item-".concat(n),nextIndex:n,prevIndex:h,ref:function(t){e.moveableItems[n]=t}},t))})));return m(HQ((function(t,u){var m=Br()([t],r),v=m.id,g=m.title,y=xM(c)&&u===h&&h!==os()(c,p);return{allowMovableKeySelect:l,allowTabNavigation:n,height:d,id:v,isEnabled:i&&!o,isKeySelected:t===f,isMatched:xM(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))}},{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=de()(nJ,HQ((function(t,n){return FQ.createElement(GQ,yt({key:"match-item-".concat(n),ref:function(t){e.matchItems[n]=t}},t))})));return c(HQ((function(t,o){var s=Br()([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=VK((function(){return r.keySelectMovableAtIndex(e)})),a=VK((function(){return $H({list:r.moveableItems,currentIndex:t})})),s=VK((function(){return XH({list:r.moveableItems,currentIndex:t})})),u=VK((function(){return!i&&ZH({list:r.matchItems,index:t})}));Al()([[yz,o],[wz,s],[_z,a],[Ez,u]])(n)}},{key:"handleMatchKeyDown",value:function(e,t,n){var r=this,i=this.props,o=i.canSubmit,a=i.onEnterToSubmit;if(o&&vz(n))a(n);else{var s=VK((function(){return r.keySelectMatch(e,t)})),u=VK((function(){return $H({list:r.matchItems,currentIndex:t})})),l=VK((function(){return XH({list:r.matchItems,currentIndex:t})})),c=VK((function(){return ZH({list:r.moveableItems,index:t})}));Al()([[Sz,s],[wz,l],[_z,u],[kz,c]])(n)}}},{key:"handleMatchKeyUp",value:function(e){Sz(e)&&this.resetKeySelection()}},{key:"handleCancelKeyDrop",value:function(e){("mousedown"===e.type||bz(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=ma()((function(e,t){return Math.max(e,t.offsetHeight+32)}),0,e);this.setState({height:t,isLoaded:!0})}}]),n}(FQ.Component),ZQ=function(e){var t=e.className;return FQ.createElement("svg",{className:t,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},FQ.createElement("title",null,"Draggable item"),FQ.createElement("desc",null,"Rectangular shape with an arrow on the right side"),FQ.createElement("polygon",{points:"0,0 298.5,0 312,27.5 298.5,54 0,54"}),FQ.createElement("rect",{x:"0",y:"0",width:"5",height:"54"}))},XQ=function(e){var t=e.className;return FQ.createElement("svg",{className:t,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},FQ.createElement("title",null,"Drop zone item"),FQ.createElement("desc",null,"Rectangular shape with a fish-tail shape on the left side"),FQ.createElement("polygon",{points:"0,0 314,0 314,54 0,54 13.5,27.5 0,0"}))},$Q=function(e){var t=e.isKeySelected;return eC()("quiz-match__item-arrow",{"quiz-match__item-arrow--selected":t})},QQ=function(e){var t=e.isSelectable;return eC()("quiz-match__item-tail",{"quiz-match__item-tail--selectable":t})},JQ=iD.isIe11||iD.isEdge,eJ=function(e){var t=e.isMatched,n=e.prefersKeyboardNavigation,r=e.willBeReplaced;return eC()("quiz-match__item quiz-match__item--draggable",{"quiz-match__item--matched":t,"quiz-match__item--faded":r,"quiz-match__item--ms_browser-focus":n&&JQ})},tJ=function(e){var t=e.prefersKeyboardNavigation;return eC()("quiz-match__item quiz-match__item--immobile",{"quiz-match__item--ms_browser-focus":t&&JQ})},nJ=function(e){return FQ.createElement("ul",{className:"quiz-match__list brand--body"},e)},rJ=function(e){return FQ.createElement("ul",{className:"quiz-match__list quiz-match__list--results"},e)},iJ=function(e){var t=e.titleIndices,n=e.nextTitleIndices,r=e.isNewRetake,i=e.isLearner;if(r&&i)return n;var o=O$()(t,n),a=xQ()(t,n);return VQ(a)?O$()(a,t):VQ(o)?li()(gO()(o,t)):t},oJ="NEXT",aJ="PREV",sJ=(Ar(zQ={},oJ,(function(e,t){return t===e-1?0:t+1})),Ar(zQ,aJ,(function(e,t){return 0===t?e-1:t-1})),zQ),uJ=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.onChange,d=e.onEnterToSubmit,f=e.onNav,p=e.prefersKeyboardNavigation,h=e.renderOptionText,v=e.revealAnswers,g=e.title,y=Cr((0,m.useState)((function(){return WC()("qmc-")})),1)[0],b=(0,m.useRef)(),_=(0,IF.Z)(l),w=o&&v===hA,k="".concat(y,"-label"),E=w?"".concat(y,"-result"):void 0,x=o?"true":"false",S=t&&(l||u&&0===i)?0:UH,T=v==vA,C=v===hA||T&&a||T&&s&&l,A=o&&s&&C,O=o&&!s&&C,N=eC()("quiz-multiple-choice-option-wrap",{"quiz-multiple-choice-option-wrap--complete":o}),P=eC()("quiz-multiple-choice-option",{"is-complete":o,"is-correct":A,"is-incorrect":O,"is-selected":l,"quiz-multiple-choice-option--keyboard":p}),L=eC()("quiz-multiple-choice-option__dot",{"quiz-multiple-choice-option__dot--active":l&&!o}),M=eC()("quiz-multiple-choice-option__check",{"quiz-multiple-choice-option__check--active":A}),I=eC()("quiz-multiple-choice-option__x",{"quiz-multiple-choice-option__x--active":O||o&&l&&!s}),R=eC()("quiz-multiple-choice-option__border",{"brand--beforeBorder":o&&C&&l&&s}),D=(0,m.useCallback)((function(e){e.target===e.currentTarget&&(vz(e)?d(e):xz(e)?(e.preventDefault(),f(oJ)):Oz(e)?(e.preventDefault(),f(aJ)):yz(e)&&(e.preventDefault(),c({selectedIndex:i})))}),[i,c,d,f]),q=(0,m.useCallback)((function(e){"A"!==e.target.tagName&&c({selectedIndex:i})}),[i,c]),j=o?void 0:q,B=o?void 0:D;return(0,m.useEffect)((function(){t&&!_&&l&&b.current&&b.current.focus()}),[t,l,_]),m.createElement("div",{className:N,onClick:j},m.createElement("div",{"aria-checked":l,"aria-describedby":E,"aria-disabled":x,"aria-labelledby":k,className:P,onKeyDown:B,ref:b,role:"radio",tabIndex:S},m.createElement("div",{className:"quiz-multiple-choice-option__indicator",style:{color:n}},m.createElement(gC,{className:L}),m.createElement(dC,{className:M}),m.createElement(TC,{"aria-hidden":"true",className:I})),m.createElement("div",{className:R})),m.createElement("div",{className:"quiz-multiple-choice-option__text brand--body",id:k},h({optionId:r,title:g})),w&&m.createElement("div",{className:"visually-hidden-always",id:E},l&&s&&"Correctly selected",l&&!s&&"Incorrectly selected",!l&&s&&"Incorrectly unselected",!l&&!s&&"Correctly unselected"))},lJ=function(e){var t=e.allowTabNavigation,n=e.color,r=e.correctId,i=e.isComplete,o=e.isCorrect,a=e.onChange,s=e.onEnterToSubmit,u=e.options,l=void 0===u?[]:u,c=e.prefersKeyboardNavigation,d=e.questionHtmlId,f=e.renderOptionText,p=e.revealAnswers,h=e.selectedIndex,v=(0,m.useCallback)((function(e){var t=l.length;1!==t&&a({selectedIndex:sJ[e](t,h||0)})}),[a,l.length,h]);return m.createElement("div",{"aria-labelledby":d,role:"radiogroup"},Ca()(l).call(l,(function(e,u,l){return m.createElement(uJ,{allowTabNavigation:t,color:n,id:e.id,index:u,isComplete:i,isCorrect:o,isCorrectOption:r===e.id,isFirst:0===u,isFresh:-1===h||null==h,isLast:u===l.length-1,isSelected:h===u,key:e.id,onChange:a,onEnterToSubmit:s,onNav:v,prefersKeyboardNavigation:c,renderOptionText:f,revealAnswers:p,title:e.title})})))},cJ=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.onChange,l=e.onEnterToSubmit,c=e.prefersKeyboardNavigation,d=e.renderOptionText,f=e.revealAnswers,p=e.title,h=Cr((0,m.useState)((function(){return WC()("qmr-")})),1)[0],v=i&&f===hA,g="".concat(h,"-label"),y=v?"".concat(h,"-result"):void 0,b=i?"true":"false",_=t?0:UH,w=f==vA,k=f===hA||w&&o||w&&!o&&s,E=eC()("quiz-multiple-response-option-wrap",{"quiz-multiple-response-option-wrap--complete":i}),x=eC()("quiz-multiple-response-option",{"quiz-multiple-response-option--complete":i,"quiz-multiple-response-option--keyboard":c,"quiz-multiple-response-option--selected":s,"quiz-multiple-response-option--correct":i&&a&&k,"quiz-multiple-response-option--incorrect":i&&!a&&k}),S=eC()("quiz-multiple-response-option__border",{"brand--beforeBorder":i&&k&&a&&s}),T=(0,m.useCallback)((function(e){vz(e)?l(e):yz(e)&&(e.preventDefault(),u({optionIndex:r}))}),[r,l,u]),C=(0,m.useCallback)((function(e){"A"!==e.target.tagName&&u({optionIndex:r})}),[r,u]),A=i?void 0:C,O=i?void 0:T;return m.createElement("li",{className:E,onClick:A,role:"listitem"},m.createElement("div",{"aria-checked":s,"aria-describedby":y,"aria-disabled":b,"aria-labelledby":g,className:x,onKeyDown:O,role:"checkbox",tabIndex:_},m.createElement("div",{className:"quiz-multiple-response-option__indicator"},m.createElement(dC,{className:"quiz-multiple-response-option__check"}),m.createElement(TC,{"aria-hidden":"true",className:"quiz-multiple-response-option__x",height:"8",width:"8"})),m.createElement("div",{className:S})),m.createElement("div",{className:"quiz-multiple-response-option__text brand--body",id:g},d({optionId:n,title:p})),v&&m.createElement("div",{className:"visually-hidden-always",id:y},s&&a&&"Correctly checked",s&&!a&&"Incorrectly checked",!s&&a&&"Incorrectly unchecked",!s&&!a&&"Correctly unchecked"))},dJ=function(e){var t=e.allowTabNavigation,n=e.correctIds,r=void 0===n?[]:n,i=e.isComplete,o=e.isCorrect,a=e.onChange,s=e.onEnterToSubmit,u=e.options,l=void 0===u?[]:u,c=e.prefersKeyboardNavigation,d=e.renderOptionText,f=e.revealAnswers,p=e.selectedIndices,h=void 0===p?[]:p;return m.createElement("ul",{role:"list"},Ca()(l).call(l,(function(e,n){return m.createElement(cJ,{allowTabNavigation:t,id:e.id,index:n,isComplete:i,isCorrect:o,isCorrectOption:qn()(e.id,r),isSelected:qn()(n,h),key:e.id,onChange:a,onEnterToSubmit:s,prefersKeyboardNavigation:c,renderOptionText:d,revealAnswers:f,title:e.title})})))},fJ=__webpack_require__(7772),pJ=__webpack_require__.n(fJ),hJ=__webpack_require__(36218),mJ=__webpack_require__.n(hJ),vJ=pJ()(Wr()),gJ=si()(bi()("correct",!0)),yJ=de()(Sa()(Ma()(-1),Hr()(0)),ts()(bi()("correct",!0))),bJ=function(e){return{MATCHING:Wr(),FILL_IN_THE_BLANK:kJ,MULTIPLE_CHOICE:Wr(),MULTIPLE_RESPONSE:Wr()}[e]},_J=de()(gi()("id"),gJ),wJ=de()(_E(),_J),kJ=si()(bi()("correct",!0)),EJ=de()(Un()("id"),_E()),xJ=de()($o(),Zo()),SJ=wa()((function(e){return e.preventDefault()})),TJ=wa()((function(e){return e.stopPropagation()})),CJ=de()(TJ,SJ);Br()(["target","value"]);function AJ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var OJ=OF,NJ=yA.FILL_IN_THE_BLANK,PJ=yA.MATCHING,LJ=yA.MULTIPLE_RESPONSE,MJ=bQ.CHOICE,IJ=bQ.CORRECT_INCORRECT,RJ={FILL_IN_THE_BLANK:"Knowledge Check: Fill In The Blank",MATCHING:"Knowledge Check: Matching",MULTIPLE_CHOICE:"Knowledge Check: Multiple Choice",MULTIPLE_RESPONSE:"Knowledge Check: Multiple Response"},DJ=xl()(null,[0,"type"]),qJ=function(e){ut(n,e);var t=AJ(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).state={selectedAnswer:null,selectedIndices:[],chosen:!1,answered:!1,fillInValue:"",matches:{}},r.retakeAnimationStageOne=null,r.retakeAnimationStageTwo=null,r.takeAgainRef=(0,m.createRef)(),r.getSelection=r.getSelection.bind(it(r)),r.handleFillIn=r.handleFillIn.bind(it(r)),r.handleChoiceSelect=r.handleChoiceSelect.bind(it(r)),r.handleMatch=r.handleMatch.bind(it(r)),r.handleMultipleResponseChange=r.handleMultipleResponseChange.bind(it(r)),r.handleRetake=r.handleRetake.bind(it(r)),r.renderQuestionTitle=r.renderQuestionTitle.bind(it(r)),r.renderMultipleResponseOptionText=r.renderMultipleResponseOptionText.bind(it(r)),r.renderMultipleChoiceOptionText=r.renderMultipleChoiceOptionText.bind(it(r)),r}return rt(n,[{key:"componentDidUpdate",value:function(e,t){if(t.answered&&!this.state.answered)this.getType()!==NJ&&KH(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 NJ:return this.state.fillInValue;case PJ:return this.state.matches;case LJ: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=de()(Co()(t,n),n_()(Ma()(n)),SM)(r);this.setState({matches:i})}},{key:"handleMultipleResponseChange",value:function(e){var t=e.optionIndex,n=this.state.selectedIndices,r=m_()(n).call(n,t)?O$()([t]):gO()(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()===NJ&&KH(e.wrapper),e.retakeAnimationStageTwo=null}))}),950)}},{key:"renderQuestionTitle",value:function(e,t){var n=e.title;return m.createElement(BW,{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.feedbackGroup,f=u.quizCorrect,p=u.quizIncorrect,h=u.quizSubmit,v=u.quizTakeAgain,g=e.id,y=e.media,b=e.settings,_=e.type,w=this.getIsCorrect({item:e}),k=this.getCanSubmit({item:e}),E=this.onSubmit.bind(this,g,k),x=this.getFeedback({item:e,isCorrect:w,selectedAnswer:i}),S="q-".concat(g),T=this.getSelection({item:e}),C=eC()("block-knowledge__retake-container",{"block-knowledge__retake-container--active":n}),A=eC()("block-knowledge__retake","brand--hoverColor",{"block-knowledge__retake--active":n&&!r});return m.createElement(M$,{key:g,isActive:!0},c(e,S),m.createElement(cQ,{blockId:a,enableVideoPlaybackSpeed:s,labels:u,media:y,opts:b}),m.createElement(X$,{type:_},this.renderType({isCorrect:w,item:e,onSubmit:E,canSubmit:k,questionHtmlId:S})),m.createElement(N$,{canProceed:n,canSubmit:k,onSubmit:E,quizSubmit:h}),m.createElement(G$,{canProceed:n,hasFeedback:!!x,isActive:n,isComplete:n,isCorrect:w,item:e,feedbackGroup:d,feedbackValue:x,quizCorrect:f,quizIncorrect:p,selection:T}),m.createElement("div",{className:C},m.createElement("button",{"aria-hidden":!n||void 0,className:A,onClick:this.handleRetake,tabIndex:n?void 0:-1,type:"button",ref:this.takeAgainRef},m.createElement("div",{className:"block-knowledge__retake-content"},m.createElement("div",{className:"block-knowledge__retake-text brand--ui"},v),m.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 NJ:return function(e){var t=e.answers,n=e.fillInValue,r=e.isCaseSensitive?YF():de()(YF(),fo());return pa()(di()(Cu()("","title")),di()(r),qn()(r(n)))(t)}({answers:kJ(s),fillInValue:r,isCaseSensitive:l});case PJ:return Es(i);case LJ:return function(e){var t=e.answers,n=e.selectedIndices;return Ma()(mJ()(vJ,n),de()(mJ()(vJ),di()(de()(Bn()(ts())(t),bi()("id"))),_J)(t))}({answers:s,selectedIndices:a});default:return o===yJ(s)}}},{key:"getType",value:function(){var e=this.props.items;return DJ(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 NJ:return cu()(Ra()(o))&&cu()(i);case PJ:return xJ(a)===$o()(n);case LJ:return cu()(Ra()(u))&&cu()(i);default:return cu()(Wo()(s))&&cu()(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 MJ:return xl()("",[r,"feedback"],i);case IJ:return n?a:s;default:return o}}},{key:"getTypeLabel",value:function(){var e=this.getType();return e&&RJ[e]||"Knowledge Check"}},{key:"renderMultipleResponseOptionText",value:function(e,t){var n=t.title;return m.createElement(BW,{className:"cursorAuto",value:n,onClick:CJ,component:"span"})}},{key:"renderMultipleChoiceOptionText",value:function(e,t){var n=t.title;return m.createElement(BW,{className:"quiz-multiple-choice-option__label brand--body cursorAuto",value:n,onClick:CJ,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.color,u=a.isLearner,l=a.labels,c=a.prefersKeyboardNavigation,d=a.renderMultipleResponseOptionText,f=void 0===d?this.renderMultipleResponseOptionText:d,p=a.renderMultipleChoiceOptionText,h=void 0===p?this.renderMultipleChoiceOptionText:p,v=this.state,g=v.answered,y=v.fillInValue,b=v.matches,_=v.retake,w=v.selectedAnswer,k=v.selectedIndices,E=n.answers,x=void 0===E?[]:E,S=n.type,T=l.quizAcceptableResponses,C=l.quizAnswerPlaceholder,A=xs(x),O=A,N=C$()(A);switch(S){case NJ:return m.createElement(kQ,{allowTabNavigation:!0,isComplete:g,isCorrect:t,onChange:this.handleFillIn,onEnterToSubmit:r,options:kJ(x),revealAnswers:hA,questionHtmlId:o,quizAcceptableResponses:T,quizAnswerPlaceholder:C,value:y});case PJ:return m.createElement(KQ,{allowTabNavigation:!0,answers:bJ(S)(x),canSubmit:i,isActive:!0,isComplete:g,isLearner:u,matchIndices:O,matches:b,onEnterToSubmit:r,onMatch:this.handleMatch,prefersKeyboardNavigation:!0,revealAnswers:hA,titleIndices:N,isKnowledgeCheck:!0,isRetake:_});case LJ:return m.createElement(dJ,{allowTabNavigation:!0,correctIds:_J(x),isComplete:g,isCorrect:t,onChange:this.handleMultipleResponseChange,onEnterToSubmit:r,options:x,prefersKeyboardNavigation:c,renderOptionText:f.bind(this,n),revealAnswers:hA,selectedIndices:k});default:return m.createElement(lJ,{allowTabNavigation:!0,color:s,correctId:wJ(x)||EJ(x),isComplete:g,isCorrect:t,onChange:this.handleChoiceSelect,onEnterToSubmit:r,options:x,prefersKeyboardNavigation:c,questionHtmlId:o,renderOptionText:h.bind(this,n),revealAnswers:hA,selectedIndex:w})}}},{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=this.state,l=u.answered,c=u.retake,d=s.paddingTop,f=s.paddingBottom,p=s.backgroundColor,h=s.entranceAnimation,v=eC()("block-knowledge",{"block-knowledge--no-animation":!h,"block-knowledge--answered":l,"block-knowledge--retake":c}),g={backgroundColor:DW(i,p),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")},y=a.length>0?wr()(a).call(a,0,1):[];return m.createElement("div",{className:v,"data-ba":OJ.blockKnowledge,style:g,ref:function(t){e.block=t}},m.createElement(gY,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o},m.createElement("div",{className:"block-knowledge__container"},m.createElement("div",{className:"block-knowledge__row"},m.createElement("div",{className:"block-knowledge__col"},m.createElement("div",{"aria-label":this.getTypeLabel(),className:"block-knowledge__wrapper",ref:function(t){e.wrapper=t}},Ca()(y).call(y,(function(t){return e.renderQuestion(t)}))))))))}}],[{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(m.Component),jJ=__webpack_require__(55130),BJ=__webpack_require__.n(jJ);function FJ(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var UJ=function(e){ut(n,e);var t=FJ(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={hasOverflow:!1},r.refWrap=(0,m.createRef)(),r.refBubbleWrap=(0,m.createRef)(),r.renderOverflowMask=r.renderOverflowMask.bind(it(r)),r.handleScroll=r.handleScroll.bind(it(r)),r.handleBubbleClick=r.handleBubbleClick.bind(it(r)),r.handleKeyDown=r.handleKeyDown.bind(it(r)),r.handleNextClick=r.handleNextClick.bind(it(r)),r.handlePreviousClick=r.handlePreviousClick.bind(it(r)),r}return rt(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,v=eC()("bubble",{"bubble--active":u}),g=HJ({x:p,y:h}),y=VJ({fusion:s,hasOverflow:this.state.hasOverflow,x:p,y:h}),b={borderColor:r},_=c.labeledGraphicBubbleLabel,w=m.createElement("div",{ref:this.refWrap,className:v,style:g},m.createElement("div",{"aria-hidden":!u,"aria-label":_,className:y,id:l,onClick:this.handleBubbleClick,onKeyDown:this.handleKeyDown,ref:this.refBubbleWrap,style:b,tabIndex:"-1"},m.createElement(NL,{allowTabNavigation:u,className:"bubble__title brand--head",value:f}),i&&this.renderControls(),m.createElement("button",{"aria-label":"Close modal",className:"bubble__close",onClick:d,type:"button"},m.createElement(yC,{className:"bubble__close-icon"})),m.createElement("div",{className:"bubble__content",ref:function(e){t.contentRef=e}},m.createElement("div",{className:"bubble__media"},Ca()(e=m.Children).call(e,o,(function(e){return e&&u?m.createElement("div",{className:"bubble__figure"},e):null}))),m.createElement(NL,{allowTabNavigation:u,className:"bubble__description brand--body brand--linkColor",value:a}))));return window.matchMedia("(max-width: 767px)").matches?m.createElement(oI(),null,m.createElement(iY,null,w)):w}},{key:"renderControls",value:function(){var e=this.props.labels,t=e.labeledGraphicPreviousMarkerLabel,n=e.labeledGraphicNextMarkerLabel;return m.createElement("div",{className:"bubble__controls"},m.createElement("button",{"aria-label":t,className:"bubble__prev brand--hoverColor",onClick:this.handlePreviousClick,type:"button"},m.createElement("i",{className:"icon icon-chevron-left"})),m.createElement("button",{"aria-label":n,className:"bubble__next brand--hoverColor",onClick:this.handleNextClick,type:"button"},m.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=rX()(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=Lz(t,n),i=Pz(t);Al()([[wz,r],[_z,i]])(e)}),l=BJ()(Hr()(i));Al()([[l(kz),s],[l(Ez),a],[bz,o],[Az,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}(m.Component),zJ=VB("rise-authoring-controls","fusion")(UJ),HJ=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},VJ=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"),eC()("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--light":t})},WJ=["children","className","contentFocused"],YJ=["children","className","side"],GJ=function(e){var t=e.children,n=e.className,r=e.contentFocused,i=void 0!==r&&r,o=Wi(e,WJ),a=eC()("authoring-tooltip",Ar({},n,n),{"content-focused":i});return m.createElement("div",yt({className:a},o),t)},KJ=function(e){var t=e.children,n=e.className,r=e.side,i=Wi(e,YJ),o=eC()("authoring-tooltip__content","authoring-tooltip__content--".concat(r),Ar({},n,n));return m.createElement("span",yt({},i,{className:o}),t)},ZJ=__webpack_require__(67294);function XJ(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function $J(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var QJ=de()((function(e){return e.substr(1)}),Un()("path"),JK.parse),JJ=function(e){ut(n,e);var t=$J(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={style:{}},r}return rt(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=yT({alt:p,fileName:m,key:h}),b=gT(f),_=eC()("labeled-graphic-canvas__figure",{"labeled-graphic-canvas__figure--editable":i}),w=Yx(h?f:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XJ(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):XJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({key:QJ(v)},f));return ZJ.createElement("div",{className:n||"labeled-graphic-canvas"},ZJ.createElement("div",{className:"labeled-graphic-canvas__item"},ZJ.createElement("div",{className:"labeled-graphic-canvas__bounds"},ZJ.createElement("figure",{className:_},g&&i?ZJ.createElement(GJ,{className:"item-media__tooltip"},ZJ.createElement("div",{onClick:l,className:"labeled-graphic-canvas__alt-tag"},"ALT"),ZJ.createElement(KJ,{side:"top"},"Edit alt text")):[],o&&ZJ.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}),ZJ.createElement("ol",{role:"list"},r)))))}}]),n}(ZJ.Component),e0={"01":"Plus","02":"Dot","03":"Information","04":"Question Mark","05":"Check Mark","06":"X","07":"Heart","08":"Map Location","09":"Left Arrow",10:"Right Arrow",11:"Up Arrow",12:"Down Arrow",13:"Up Left Arrow",14:"Up Right Arrow",15:"Down Left Arrow",16:"Down Right Arrow",17:"1",18:"2",19:"3",20:"4",21:"5",22:"6",23:"7",24:"8",25:"9",26:"0"},t0=__webpack_require__(67294);function n0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var r0=function(e){ut(n,e);var t=n0(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={dragging:!1,hovering:!1,isComplete:!1,isDragged:!1,offsetX:0,offsetY:0,wasDragged:!1},r.onClick=r.onClick.bind(it(r)),r}return rt(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.markerClassName,c=n.onFocus,d=n.labels,f=n.styles,p=n.title,h=n.useLocalStateForCompletion,m=e0[i]||"",v=h?this.state.isComplete:a,g=function(e){var t,n,r,i,o=e.icon,a=e.label,s=e.title,u=e.viewed;return _t()(t=_t()(n=_t()(r=_t()(i=[]).call(i,a||[])).call(r,s||[])).call(n,o||[])).call(t,u?"Viewed":"Not Viewed").join(", ")}({icon:m,label:d&&d.labeledGraphicMarkerLabel||"",title:p,viewed:v}),y=eC()("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=eC()("labeled-graphic-marker__pin",(Ar(e={},"".concat(l,"--hover"),!s&&this.state.hovering),Ar(e,"".concat(l,"--normal"),!s),Ar(e,"".concat(l,"--selected"),s),e));return t0.createElement("button",{"aria-expanded":o,"aria-label":g,"aria-controls":r,className:y,onClick:this.onClick,onContextMenu:this.onItemRelease.bind(this),onFocus:c,onKeyDown:Nz(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"},t0.createElement("span",{className:b},t0.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;iD.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=_t()(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}(t0.Component);function i0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var o0=function(e){var t=e.accentColor;return{accentColor:e.fontColor,fontColor:t}},a0=kl()(de()(ba()(yo()),(function(e){return Sa()(Hr()(e),o0)}))),s0=function(e){ut(n,e);var t=i0(n);function n(e){var r;et(this,n),r=t.call(this,e);var i=e.isLearner;return r.afterAnimatedIn=r.afterAnimatedIn.bind(it(r)),r.createMarker=r.createMarker.bind(it(r)),r.onBubbleClose=r.onBubbleClose.bind(it(r)),r.onMarkerFocus=r.onMarkerFocus.bind(it(r)),r.markerRefs={},r.state={showMarkers:!i,uniqId:_G()()},r}return rt(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,v=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,L=this.state,M=L.showMarkers,I=L.uniqId,R=n||o,D=Boolean(P),q=s?"#FFFFFF":P||R,j=eC()("map-item",{"map-item--animated":!s}),B=r?"fadeIn":"none",F=r?1:0,U=p.length>1,z="lg-".concat(I),H=D?function(e){return RS(e)?"#FFFFFF":"#000000"}(q):s?"#000000":"#FFFFFF",V=a0(!D&&!s,{accentClassName:z,accentColor:q,fontColor:H});return m.createElement(m.Fragment,null,this.renderMarkerStyles(V),m.createElement(gY,{afterAnimatedIn:this.afterAnimatedIn,animateBlockEntrance:!f,animateIn:B,duration:f?0:F,initiallyVisible:!r,isLearner:d,offset:300},m.createElement(JJ,{canvasClassNames:a,editable:s,imageLoaded:l,lesson:v,media:g,onCreateMarker:this.createMarker,onShowAltDialog:E,ref:function(t){e.canvas=t}},Ca()(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,v=t.y,g={top:v+"%",left:p+"%"},E=Br()(["items",u,"isComplete"],S),C=T===u,A="bubble-".concat(u);return m.createElement("li",{className:j,key:u,role:"listitem"},m.createElement(r0,{ariaControls:A,editable:s,icon:l,isActive:T===u,isComplete:E,isSelected:C,isVisible:M,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&&m.createElement(zJ,{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:v},d?m.createElement(ZZ,{hasPadding:!1,index:_t()(r=_t()(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,v=qS("#000000",p),g=qS("#FFFFFF",h);return m.createElement("style",null,_t()(t=_t()(n=_t()(r=_t()(i=_t()(o=_t()(a=_t()(s=_t()(u=_t()(l=_t()(c=_t()(d="\n .".concat(f,"--normal {\n background-color: ")).call(d,v,";\n color: ")).call(c,g,";\n }\n\n .")).call(l,f,"--selected {\n background-color: ")).call(u,g,";\n color: ")).call(s,v,";\n }\n\n .")).call(a,f,"--selected:before {\n border-color: ")).call(o,v," !important;\n }\n\n .")).call(i,f,"--hover {\n background-color: ")).call(r,v,";\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:_G()(),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}(m.Component),u0=s0,l0=__webpack_require__(67294);function c0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var d0="page-wrap--noscroll",f0=function(e){ut(n,e);var t=c0(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={imageLoaded:!1},r.closeOpenedBubble=r.closeOpenedBubble.bind(it(r)),r.handleDocumentClick=r.handleDocumentClick.bind(it(r)),r.handleMarkerClick=r.handleMarkerClick.bind(it(r)),r.onItemSelected=r.onItemSelected.bind(it(r)),r.onNextClick=r.onNextClick.bind(it(r)),r.onPreviousClick=r.onPreviousClick.bind(it(r)),r.setImageLoaded=r.setImageLoaded.bind(it(r)),r}return rt(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.parentId,o=t.settings,a=(void 0===o?{}:o).mediaWidth,s=void 0===a?"2":a,u=n?r[0].id:this.state.selectedItemId,l=eC()("view-labeled-graphic",{"view-labeled-graphic--small":"0"===s,"view-labeled-graphic--medium":"1"===s,"view-labeled-graphic--full":"2"===s});return l0.createElement("div",{"aria-label":"Labeled Graphic",className:l,role:"group"},l0.createElement(u0,yt({},this.props,{canvasClassNames:this.getCanvasClassNames(),editable:!1,imageLoaded:e,markerDelay:1e3,onClose:this.closeOpenedBubble,onItemSelected:this.onItemSelected,onNextClick:this.onNextClick,onPreviousClick:this.onPreviousClick,parentId:i,selected:u})))}},{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?Yx(t):r;o.src=a,o.onload=function(){clearTimeout(i),e.setImageLoaded()}}},{key:"getCanvasClassNames",value:function(){return eC()("labeled-graphic-canvas",{"labeled-graphic-canvas--visible":this.state.imageLoaded})}},{key:"onNextClick",value:function(e){var t=this.props.items,n=Un()("id",t[Rs()(e)]||t[0]);this.onItemSelected(n)}},{key:"onPreviousClick",value:function(e){var t=this.props.items,n=Un()("id",t[EN()(e)]||t[EN()($o()(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),de()(o,CN()((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(d0)}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(d0)}this.setState({selectedItemId:void 0})}}],[{key:"defaultProps",get:function(){return{onItemSelected:Function.prototype,onStep:Function.prototype}}}]),n}(l0.Component),p0=__webpack_require__(67294),h0=OF,m0=function(e){var t=e.blockId,n=e.progress,r=Br()(["items",t],n);return p0.createElement(fY,{className:"block-labeled-graphic","data-ba":h0.blockLabeledGraphic},p0.createElement(f0,yt({},e,{editable:!1,isBlock:!0,parentId:t,progress:r})))},v0=__webpack_require__(80409),g0=__webpack_require__.n(v0),y0=__webpack_require__(67294);function b0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var _0=function(e){ut(n,e);var t=b0(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.current,r=e.description,i=e.entered,o=e.fade,a=e.hasNavigation,s=e.index,u=e.initiating,l=e.media,c=e.position,d=c.next,f=c.prev,p=e.previous,h=e.title,m=e.type,v=!Wo()(f)&&!Wo()(d),g=Po()("process-card__"),y=eC()("process-card",{"process-card--initiating":u,"process-card--entered":i,"process-card--intro":"intro"===m,"process-card--summary":"summary"===m,"process-card--active":n===s,"process-card--prev-active":p===s,"process-card--next":n+1===s,"process-card--prev":n-1===s,"process-card--slide-fade":o}),b=Al()([[PN()(s),Hr()({transform:"translate3d(".concat(d,"px, 0px, 0px)")})],[ls()(s),Hr()({transform:"translate3d(-".concat(f,"px, 0px, 0px)")})],[db(),Hr()(null)]])(n),_={className:y,style:v?b:null};return y0.createElement("div",_,y0.createElement("div",{className:"process-card__inner"},y0.createElement("div",null,"step"===m&&C0(this.props,g),h&&A0(this.props,g),l&&x0(this.props,g),r&&k0(this.props,g),a&&"intro"===m&&T0(this.props,g),"intro"!==m&&t,a&&"summary"===m&&S0(this.props,g))))}},{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}}]),n}(y0.Component),w0=function(e){ut(n,e);var t=b0(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.current,r=e.description,i=e.entered,o=e.hasNavigation,a=e.index,s=e.initiating,u=e.media,l=e.title,c=e.type,d=e.width,f=Al()([[PN()(a),Hr()({transform:"translate3d(".concat(d,"px, 0px, 0px)")})],[ls()(a),Hr()({transform:"translate3d(-".concat(d,"px, 0px, 0px)")})],[db(),Hr()(null)]])(n),p=eC()("process-card-mobile",{"process-card-mobile--entered":i,"process-card-mobile--intro":"intro"===c,"process-card-mobile--summary":"summary"===c,"process-card-mobile--active":n===a,"process-card-mobile--initiating":s}),h=Po()("process-card-mobile__");return y0.createElement("div",{className:p,style:f},y0.createElement("div",{className:"process-card-mobile__inner"},y0.createElement("div",null,"step"===c&&C0(this.props,h),l&&A0(this.props,h),u&&x0(this.props,h),r&&k0(this.props,h),o&&"intro"===c&&T0(this.props,h),"intro"!==c&&t,o&&"summary"===c&&S0(this.props,h),E0(this.props,h))))}},{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}}]),n}(y0.Component),k0=function(e,t){var n=e.current,r=e.description,i=e.index;return y0.createElement(NL,{allowTabNavigation:n===i,className:"".concat(t("description")," brand--body"),value:r})},E0=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.showHelp,a=i.processSwipe,s=eC()(t("help"),Ar({},"".concat(t("help"),"--show"),n===r&&o));return y0.createElement("div",{className:s},y0.createElement("span",null,a," ",y0.createElement(pC,null)))},x0=function(e,t){var n,r,i=e.blockId,o=e.current,a=e.enableVideoPlaybackSpeed,s=e.id,u=e.index,l=e.media,c=e.onMediaLoad,d=e.settings.zoomOnClick,f=o===u,p=pi()(Co()("pause",!0),l);return y0.createElement("div",{className:t("media")},y0.createElement(ZZ,{allowTabNavigation:f,defaultAlign:"center",enableVideoPlaybackSpeed:a,hasPadding:!1,index:_t()(n=_t()(r="".concat(i,"-")).call(r,s,"-")).call(n,u),media:f?l:p,onLoad:f&&c?c:Hr(),opts:{disableZoom:!d}}))},S0=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.onRestartClick,a=i.processStartAgain,s=n===r?0:UH,u={className:"".concat(t("restart")," brand--color"),onClick:o,onKeyDown:Nz(o),role:"button",tabIndex:s};return y0.createElement("div",u,y0.createElement("span",{className:"brand--ui"},a),y0.createElement("i",{className:"icon icon-reload"}))},T0=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.onNextClick,a=i.processStart,s=n===r?0:UH,u={className:"".concat(t("button")," brand--background brand--ui"),onClick:o,onKeyDown:Nz(o),role:"button",tabIndex:s};return y0.createElement("button",yt({},u,{type:"button"}),y0.createElement("span",null,a," ",y0.createElement(pC,null)))},C0=function(e,t){var n,r=e.labels,i=e.number,o=e.settings,a=r.processStepName,s=o.stepLabel||a;return y0.createElement("div",{className:"".concat(t("number")," brand--background brand--head")},y0.createElement("p",null,_t()(n="".concat(s," ")).call(n,i)))},A0=function(e,t){return y0.createElement("div",{className:"".concat(t("title")," brand--head")},y0.createElement("h2",null,e.title))},O0=__webpack_require__(67294);function N0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var P0=function(e){ut(n,e);var t=N0(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"onClick",value:function(){var e=this.props,t=e.onClick;e.opacity>.5&&t()}},{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.offset,s=e.opacity,u=e.scroll,l=e.sidebar,c=e.top,d=e.type,f="next"===d,p="prev"===d,h=p&&"prev"===i||f&&"next"===i||"both"===i,m=u.active?r+l:t,v=u.active?r+a:t,g=Al()([[bi()("active",!0),Hr()(c)],[bi()("end",!0),Hr()(n)],[db(),Hr()(null)]])(u),y=eC()("process-arrow",{"process-arrow--left":p,"process-arrow--right":f,"process-arrow--hidden":h,"process-arrow--scrolling":u.active,"process-arrow--disabled":s<=.5}),b={left:p?m:null,opacity:u.end?s:null,right:f?v:null,top:g},_={className:y,key:"arrow",onClick:this.onClick.bind(this),role:"button",style:b};return O0.createElement(Gt,{component:"div"},!o&&O0.createElement(Xt,{classNames:"process-arrow",timeout:{enter:300,exit:200}},O0.createElement("div",_,O0.createElement(pC,null))))}},{key:"shouldComponentUpdate",value:function(e){var t=function(e,t){return de()(cu(),bi()(e,t))};return Al()([[t("absolute",this.props.absolute),Hr()(!0)],[t("fixed",this.props.fixed),Hr()(!0)],[t("isSliding",this.props.isSliding),Hr()(!0)],[t("opacity",this.props.opacity),Hr()(!0)],[t("scroll",this.props.scroll),Hr()(!0)],[t("top",this.props.top),Hr()(!0)],[db(),Hr()(!1)]])(e)}}]),n}(O0.Component),L0=__webpack_require__(88524),M0=__webpack_require__.n(L0),I0=__webpack_require__(67294);function R0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var D0=function(e){ut(n,e);var t=R0(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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:Al()([[M0()(c/2),Hr()(0)],[C_()(u-c/2),Hr()(f)],[db(),Hr()(d)]])(s),width:c}}},{key:"getItemPosition",value:function(){var e=this.props,t=e.current,n=e.isFirst?t+1:t,r=this.refs["item-".concat(n)];return r?n>=10?r.offsetLeft+3:r.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)}},{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=eC()("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:!Wo()(s)&&s>0?f:{transform:"translate3d(0px, 0px, 0px)"},ref:function(e){return t.counter=e}},m={className:"process-counter__active brand--border",style:Wo()(l)?null:p};return I0.createElement("div",{className:d},I0.createElement("div",h,I0.createElement("div",m),Ca()(e=ds()(1,c)).call(e,this.renderItem.bind(this))))}},{key:"renderItem",value:function(e){var t=this.props,n=t.current,r=t.hasSummary,i=t.length,o=r&&e===i,a=t.isFirst?n+1:n,s=iD.isMobile,u={className:eC()("process-counter__item",{"process-counter__item--active":e===a,"process-counter__item--double":e>=10,"process-counter__item--disabled":s}),onClick:!s&&this.handleSlide.bind(this,e),key:e,ref:"item-".concat(e)},l=o?I0.createElement(dC,{className:"process-counter__check"}):e;return I0.createElement("div",u,I0.createElement("span",null,l))}}]),n}(I0.Component),q0=function(e){return function(t){e.setState({xTouchDown:t.touches[0].clientX,yTouchDown:t.touches[0].clientY})}},j0=function(e){return function(t){e.setState({xTouchMove:t.touches[0].clientX,yTouchMove:t.touches[0].clientY})}},B0=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=Bn()(PN()),s=Bn()(ls()),u=U0(e);if(Math.abs(i)>Math.abs(o))Al()([[a(r),t],[s(-r),n],[db(),Hr()()]])(i),u()}}},F0=function(e){return function(){U0(e)}},U0=function(e){return function(){e.setState({xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null})}};var z0=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={touchstart:q0(t),touchmove:j0(t),touchend:B0(t,n,r,i),touchcancel:F0(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)}}},H0=__webpack_require__(67294);function V0(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function W0(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V0(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):V0(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function Y0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var G0=function(e){ut(n,e);var t=Y0(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={arrow:{absolute:null,bottom:null,fixed:null,hidden:"prev",opacity:null,top:null},initiating:!0,scroll:{active:!1,auto:!1,end:!1},position:{next:null,prev:null},sidebar:null,slide:{active:!1,current:0,fade:!1,previous:null},style:null,width:{card:null,wrapper:null}},r.handleIntersect=r.handleIntersect.bind(it(r)),r.handleRestart=r.handleRestart.bind(it(r)),r.handleScroll=r.handleScroll.bind(it(r)),r.renderStep=r.renderStep.bind(it(r)),r.setArrows=r.setArrows.bind(it(r)),r.setHeight=r.setHeight.bind(it(r)),r.setPosition=r.setPosition.bind(it(r)),r.setWidth=r.setWidth.bind(it(r)),r.slideTo=r.slideTo.bind(it(r)),r.observer=new IntersectionObserver(r.handleIntersect,{rootMargin:"10000px"}),r}return rt(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=rX()(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,v.findDOMNode)(this.refs["slide-0"]).offsetHeight,a=this.container===window?"body, html":this.container,s=yo()(this.state.arrow,{hidden:"prev"}),u=yo()(this.state.scroll),l={active:!1,auto:!1,end:!1},c=yo()(this.state.slide,{fade:!0}),d={active:!1,current:0,fade:!0,previous:r.length-1},f=yo()(d,{fade:!1}),p=function(){e.setState({scroll:l,slide:d}),e.afterSlideRef=setTimeout(e.setArrows,300)};this.setState({scroll:u({auto:!0}),slide:c,style:{height:o}},(function(){fW()(a).stop().animate({scrollTop:i},300,p)})),this.slideRef=setTimeout((function(){return e.setState({slide:f})}),700),this.arrowAnimRef=setTimeout((function(){return e.setState({arrow:s})}),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,v.findDOMNode)(this.refs["slide-".concat(r)]),a=(0,v.findDOMNode)(this.refs["arrow-".concat(i)]),s=a&&a.firstChild||null;if(!n.auto&&o&&s){var u=o.getBoundingClientRect(),l=u.height,c=u.top,d=s.getBoundingClientRect().top,f=460-l,p=.005*(c-f+200),h=yo()(n),m=yo()(t);c<80&&c>f?this.setState({scroll:h({active:!0,end:!1})}):c<=f?this.setState({scroll:h({active:!1,end:!0}),arrow:m({opacity:p,top:d})}):this.setState({scroll:h({active:!1,end:!1}),arrow:m({opacity:p,top:d})})}}},{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:"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=tc()(v,g,r),b=d<23?y:g0()(r[0],y),_=eC()("process-block",{"process-block--with-sidebar":n&&a>0}),w={className:eC()("process-block__inner",{"process-block__inner--fade":c||o}),ref:function(t){return e.inner=t},style:u};return H0.createElement("div",{className:_},H0.createElement("div",w,this.renderArrow("prev"),f?Ca()(b).call(b,this.renderStep):Ca()(y).call(y,this.renderStep),this.renderArrow("next")))}},{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.menuOpen,u=a.steps,l=this.container&&this.container!==window,c=u.length>1?n.hidden:"both",d=W0(W0({},n),{},{hidden:c,isSliding:o.active,offset:l?this.container.offsetWidth-this.container.clientWidth:0,onClick:this.handleSlide.bind(this,e),opacity:n.opacity>=0?n.opacity:0,ref:"arrow-".concat(e),scroll:r,sidebar:s?i:0,type:e});return H0.createElement(P0,d)}},{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!Wo()(CN()(bi()("type",e),p))},S=x("intro"),T=x("summary"),C=S?r:r+1,A=si()(bi()("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.handleSlide.bind(this,"next"),onRestartClick:this.handleRestart,number:C,position:v,previous:w,ref:"slide-".concat(r),settings:f,title:o,type:a,width:k,wrapperWidth:E},N={current:b,hasSummary:T,isFirst:!S,length:A,slideTo:this.slideTo};return H0.createElement(_0,O,H0.createElement(D0,N))}},{key:"setArrows",value:function(){var e=this.state,t=e.arrow,n=t.hidden,r=t.opacity,i=e.sidebar,o=e.slide.current,a=this.props.menuOpen,s="prev"===n?"next":"prev",u=(0,v.findDOMNode)(this.refs["slide-".concat(o)]),l=(0,v.findDOMNode)(this.refs["arrow-".concat(s)]),c=l&&l.firstChild||null,d=Bn()(C_()),f=a?i:0,p=window.innerWidth;if(u&&c){var h=u.getBoundingClientRect(),m=h.height,g=h.left,y=h.width,b=c.getBoundingClientRect(),_=b.top,w=(p-y-g)/2-b.width,k=Al()([[d(1280+f),Hr()(w+20)],[d(1350+f),Hr()(w)],[db(),Hr()(g-f-170)]])(p),E=Al()([[d(1280+f),Hr()(w+20)],[d(1350+f),Hr()(w+40)],[db(),Hr()(g-f-130)]])(p);this.setState({arrow:{absolute:k,bottom:m-220,fixed:E,hidden:n,opacity:r,top:_}})}}},{key:"setHeight",value:function(e){var t=this.state.slide.current,n=(0,v.findDOMNode)(this.refs["slide-".concat(t)]),r="function"==typeof e?e:Hr();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,v.findDOMNode)(this.refs["slide-".concat(e)]),r=this.container&&this.container!==window?this.container.getBoundingClientRect().left:0,i=n&&n.offsetWidth||0,o=t&&t.offsetWidth||0,a=t&&n,s=a&&(o-i)/2+i/2,u=a&&(o-i)/2+1.5*i,l={card:n&&n.offsetWidth,wrapper:t&&t.offsetWidth},c={prev:u,next:s};t&&n&&this.setState({position:c,sidebar:r,width:l})}},{key:"slideTo",value:function(e,t){var n=this;if(!this.state.slide.active){var r=this.props,i=r.getScrollTop,o=r.onStep,a=r.steps,s=i(),u=(0,v.findDOMNode)(this.refs["slide-".concat(e)]).offsetHeight,l=this.container===window?"body, html":this.container,c=yo()(this.state.scroll),d={active:!1,auto:!1,end:!1},f=yo()(this.state.arrow),p=yo()({current:e,previous:t,fade:!1}),h=a[e],m=Al()([[Ma()(0),Hr()({hidden:"prev"})],[Ma()(a.length-1),Hr()({hidden:"next"})],[db(),Hr()({hidden:null})]])(e),g=function(){n.setState({scroll:d}),n.afterSlideRef=setTimeout(n.setArrows,400)};this.setState({scroll:c({auto:!0}),slide:p({active:!0}),style:{height:u}},(function(){fW()(l).stop().animate({scrollTop:s},300,g)})),this.slideRef=setTimeout((function(){return n.setState({slide:p({active:!1})})}),600),this.arrowAnimRef=setTimeout((function(){return n.setState({arrow:f(m)})}),300),o&&o(h)}}}]),n}(H0.Component),K0=function(e){ut(n,e);var t=Y0(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={current:0,fade:!1,height:null,help:!1,helped:!1,initiating:!0,width:null,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},r.handleRestart=r.handleRestart.bind(it(r)),r.preventScroll=r.preventScroll.bind(it(r)),r.renderStep=r.renderStep.bind(it(r)),r.setHeight=r.setHeight.bind(it(r)),r.setPosition=r.setPosition.bind(it(r)),r.setWidth=r.setWidth.bind(it(r)),r}return rt(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.isPreview,n=document.getElementsByClassName("page-wrap")[0],r=this.handleSlide.bind(this,"prev"),i=this.handleSlide.bind(this,"next"),o=function(){return e.setState({initiating:!1})};this.container=t?n:window,this.swipeEvents=z0(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"),fW()(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,n=this.props,r=n.getScrollTop,i=n.onStep,o=n.steps,a=this.state.current,s=r(),u="next"===e?a+1:a-1;if(!(u<=-1||u>=o.length)){var l=o[u],c=this.container===window?"body, html":this.container,d=this.refs["slide-".concat(u)],f=d&&d.firstChild.offsetHeight||null,p=function(){t.preventScroll("end"),t.showHelp()};this.setState({current:u,height:f},(function(){t.preventScroll("start"),fW()(c).stop().animate({scrollTop:s},300,p)})),i&&i(l)}}},{key:"preventScroll",value:function(e){this.container!==window&&("start"===e&&iD.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?0:r-1,c=u?s:r+2,d=tc()(l,c,t),f=s<3?d:gO()(t[0],d),p={className:eC()("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 H0.createElement("div",{className:"process-block-mobile"},H0.createElement("div",p,u?Ca()(f).call(f,this.renderStep):Ca()(d).call(d,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!Wo()(CN()(bi()("type",e),p))},w=_("intro"),k=_("summary"),E=w?r:r+1,x=si()(bi()("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.handleSlide.bind(this,"next"),onRestartClick:this.handleRestart,number:E,settings:f,showHelp:g&&y,title:o,type:a,width:this.inner&&this.inner.offsetWidth},T={current:v,hasSummary:k,isFirst:!w,length:x};return H0.createElement("div",{key:r,ref:"slide-".concat(r)},H0.createElement(w0,S,H0.createElement(D0,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:Hr();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!==(!Wo()(CN()(bi()("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.menuOpen!==this.props.menuOpen||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}(H0.Component),Z0=__webpack_require__(67294);function X0(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var $0=function(e){ut(n,e);var t=X0(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={entered:!1,visible:!1},r.getScrollTop=r.getScrollTop.bind(it(r)),r.handleEntranceEnd=r.handleEntranceEnd.bind(it(r)),r.handleScroll=r.handleScroll.bind(it(r)),r.triggerSlide=r.triggerSlide.bind(it(r)),r}return rt(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onStep,n=e.previewType,r=document.getElementsByClassName("page-wrap")[0];this.container=Wo()(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,v.findDOMNode)(this),r=fW()(n).offset().top,i=10*e;return t===window?r-i:fW()(t).scrollTop()+r-fW()(t).offset().top-i}},{key:"getSteps",value:function(){var e,t=this.props.items,n=CN()(bi()("type","intro"),t),r=CN()(bi()("type","summary"),t),i=si()(bi()("type","step"),t),o=_t()(e=[n]).call(e,Tl(i),[r]),a=n_()(bi()("isHidden",!0),o);return Ca()(a).call(a,(function(e,t){return Co()("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.menuOpen,s=t.onStep,u=t.previewType,l=t.settings,c=t.enableVideoPlaybackSpeed,d=this.state,f=d.entered,p=d.visible,h=this.getSteps(),m=!Wo()(u),v=n?"fadeIn":"none",g=m&&n?1:0,y={afterAnimatedIn:this.handleEntranceEnd,animateBlockEntrance:m,animateIn:v,duration:g,initiallyVisible:!n,isLearner:i,offset:300},b={className:"process-block-wrapper",ref:function(t){return e.wrapper=t}},_={blockId:r,entered:f,getScrollTop:this.getScrollTop,labels:o,menuOpen:a,onStep:s,isPreview:m,settings:l,steps:h,visible:p,enableVideoPlaybackSpeed:c},w=Co()("ref",(function(t){return e.process=t}),_),k=Co()("ref",(function(t){return e.processMobile=t}),_),E=Z0.createElement(G0,w),x=Z0.createElement(K0,k);return Z0.createElement(gY,y,Z0.createElement("div",yt({"aria-label":"Process",role:"group"},b),iD.isMobile?x:E))}},{key:"setProgress",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.getSteps(),i=si()(bi()("isHidden",!0),t),o=r[0]?gO()(r[0]):Wr();de()(di()(n),o)(i)}},{key:"shouldComponentUpdate",value:function(e,t){return e.menuOpen!==this.props.menuOpen||e.settings!==this.props.settings||t.entered!==this.state.entered||t.visible!==this.state.visible}},{key:"triggerSlide",value:function(e){iD.isMobile?this.processMobile.handleSlide(e):this.process.handleSlide(e)}}]),n}(Z0.Component),Q0=__webpack_require__(67294);function J0(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function e1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var t1=OF,n1=function(e){ut(n,e);var t=e1(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"onKeyDown",value:function(e){Al()([[Ez,this.triggerSlide.bind(this,"next")],[kz,this.triggerSlide.bind(this,"prev")]])(e)}},{key:"render",value:function(){var e=this,t=this.props.settings,n=t.paddingBottom,r=t.paddingTop,i={paddingBottom:"".concat(10*n,"px"),paddingTop:"".concat(10*r,"px")},o={className:"block-process",onKeyDown:this.onKeyDown.bind(this),style:i,tabIndex:0},a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J0(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):J0(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({ref:function(t){return e.process=t}},this.props);return Q0.createElement("div",yt({},o,{"data-ba":t1.blockProcess}),Q0.createElement($0,a))}},{key:"triggerSlide",value:function(e){this.process.triggerSlide(e)}}]),n}(Q0.Component),r1=__webpack_require__(15636),i1=__webpack_require__.n(r1),o1=__webpack_require__(709),a1=__webpack_require__.n(o1),s1=__webpack_require__(70682),u1=__webpack_require__.n(s1),l1=$a()(Wo()),c1=function(e){var t=d1(e)[0],n=(t||{}).feedback,r=pa()(da()(["action","emotion","goTo","nextSlide"]),Oo()({description:n,type:"dialogue"}));return t?[t,r(t)]:[r(e)]},d1=function(e){return[e.responses[e.response]]},f1=function(e){var t=O_()(l1,"response"),n=bi()("hasFeedback",!0),r=function(t){return de()(g0()(e),t)};return Al()([[n,r(c1)],[t,r(d1)],[db(),u1()]])(e)},p1=Ja()((function(e,t){if(t){var n=t.scene,r=t.slide,i=ts()(bi()("id",n),e),o=Cu()([],"slides",e[i]);return{scene:i,slide:ts()(bi()("id",r),o)}}})),h1=__webpack_require__(43656),m1=__webpack_require__.n(h1),v1=pa()(Un()("filters"),si()(bi()("name","rise_emotion")),$a()(Ra())),g1=pa()(Un()("filters"),CN()(bi()("name","rise_emotion")),Un()("value")),y1=de()(m1(),Un()("pathname"),JK.parse),b1=pa()(Un()("poses"),si()(v1),di()((function(e){return[g1(e),e]})),rs(),pi()((function(e){return pa()(Co()("key",y1(e.src)),Co()("thumbnailKey",y1(e.thumbnail)))(e)}))),_1=__webpack_require__(67294);function w1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var k1=function(e){return Gr()(Wo(),Wr(),e)},E1=$a()(Ra()),x1=$a()(Wo()),S1=_l()(x1,E1),T1=So()(ma()),C1=function(e){ut(n,e);var t=w1(n);function n(e){var r;et(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(it(r)),r.fetchCharacterPose=r.fetchCharacterPose.bind(it(r)),r.getCharacterPose=r.getCharacterPose.bind(it(r)),r.onClick=r.onClick.bind(it(r)),r.onFocus=r.onFocus.bind(it(r)),r.onInit=r.onInit.bind(it(r)),r.onResize=r.onResize.bind(it(r)),r.onResponseClick=r.onResponseClick.bind(it(r)),r.onTryAgainClick=r.onTryAgainClick.bind(it(r)),r.renderBackground=r.renderBackground.bind(it(r)),r.renderButton=r.renderButton.bind(it(r)),r.renderDetails=r.renderDetails.bind(it(r)),r.renderDialogues=r.renderDialogues.bind(it(r)),r.renderEnd=r.renderEnd.bind(it(r)),r.renderPose=r.renderPose.bind(it(r)),r.renderResponse=r.renderResponse.bind(it(r)),r.renderText=r.renderText.bind(it(r)),r.resetSlide=r.resetSlide.bind(it(r)),r.resetSlides=r.resetSlides.bind(it(r)),r.setNextSlide=r.setNextSlide.bind(it(r)),r}return rt(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialState,n=e.items,r=de()(lb()("poses"),Cu()({},"character"),_E());S1(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=xl()([],[i,"slides"],t),s=xl()(null,[o,"goTo"],a),u=xl()(null,[o,"type"],a);n&&("end"===s&&"text"===u||!s&&!u)&&i1()(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=_t()(n="".concat(e,".")).call(n,t),s=[a,"response"],u=[a,"hasFeedback"],l=xl()(null,s,this.state.slides),c=xl()(!1,u,this.state.slides),d=Cu()("neutral","emotion",o),f=Gr()(Hr()(c),xl()(d,["responses",l,"emotion"]),Hr()(d)),p=pa()(xl()(null,["poses",f(o)]),k1(Gx));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=da()(["id","name","poses","src"]);Ca()(n).call(n,(function(e){var n,o=e.character,a=e.id;return S1(o)&&t(o.id).then((function(e){return Co()("poses",b1(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=xl()([],[n,"slides"],e),s=xl()(!0,[r,"hasCharacter"],a);return x1(i)&&cu()(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"===Cu()(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=pa()(p1(i),(function(e){return{activeScene:e.scene,activeSlide:e.slide}})),g=Al()([[Hr()(f&&d),Hr()(m)],[Hr()(f&&!d),Hr()(h)],[db(),Hr()(p)]]),y=Gr()(Hr()(c),Hr()(m),Hr()({activeScene:0,activeSlide:0})),b=Al()([[Ma()("slide"),la()(v,[t])],[Ma()("next"),g],[Ma()("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&&i1()(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=_t()(t="".concat(i,".")).call(t,o),u=Co()("response",e),l=Co()("hasFeedback",!0),c=oi()(Ar({},"".concat(s),u)),d=oi()(Ar({},"".concat(s),l)),f=de()(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=_t()(e="".concat(n,".")).call(e,r),a=Oo()({hasFeedback:null,response:null}),s=oi()(Ar({},"".concat(o),a));this.setState({slides:s(i)})}},{key:"render",value:function(){var e,t=this.props,n=t.isPDF,r=t.items,i=t.menuOpen,o=this.state,a=o.activeScene,s=o.activeSlide,u=o.initiated,l=(r[a]||{}).slides,c=l&&l[s],d=de()(E1,Cu()({},"character"),_E()),f=de()(lb()("poses"),Cu()({},"character"),_E()),p=de()(wi(),xl()({},["character","poses"])),h=de()(li(),wi(),di()(p)),m={"aria-label":"Scenario",className:eC()("scenario-block",{"scenario-block--initiated":u,"scenario-block--mobile":iD.isMobile,"scenario-block--sidebar-open":i,"scenario-block--loading":d(r)&&!f(r)}),ref:"scenario",role:"group",style:window.innerWidth<480?{height:window.innerHeight}:null,tabIndex:0},v=pa()(_E(),xl()(null,["background","media","image"]),k1(Yx)),g=Al()([[Wo(),this.renderEnd],[bi()("type","dialogue"),this.renderDialogues],[bi()("type","text"),this.renderText],[db(),Hr()(null)]]),y=c&&"text"===c.type&&!c.hasCharacter,b=eC()("scenario-block__character",{"scenario-block__character--hidden":y});return _1.createElement("div",null,_1.createElement("div",m,_1.createElement("div",{className:"scenario-block__spinner"}),_1.createElement("div",{className:"scenario-block__background-wrapper"},S1(r)&&Ca()(r).call(r,this.renderBackground)),_1.createElement("img",{alt:"",onLoad:this.onInit,src:v(r)}),_1.createElement("div",{className:"scenario-block__inner"},_1.createElement("div",{className:b},f(r)&&Ca()(e=h(r)).call(e,this.renderPose)),_1.createElement(Gt,null,S1(r)&&g(c)))),n&&c&&this.renderDetails(c))}},{key:"renderBackground",value:function(e,t){var n=this.state.activeScene,r=e.id,i=xl()(null,["background","media","image"],e),o={className:eC()("scenario-block__background",Ar({},"scenario-block__background--active",n===t)),key:r,style:i&&{backgroundImage:"url(".concat(Yx(i),")")}};return i&&_1.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?_1.createElement("span",null,r," ",_1.createElement("i",{className:"icon icon-reload"})):_1.createElement("span",null,n),l={className:"scenario-block__dialogue__button",key:"button",onClick:"tryAgain"===i?de()(this.onFocus,this.onTryAgainClick):de()(this.onFocus,la()(this.onClick,[o,a]))};return _1.createElement(Gt,null,_1.createElement(Xt,s,_1.createElement("button",yt({},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 _1.createElement("span",{key:e},e," ",_1.createElement(_C,null)," ",t)},u=pa()(p1(t),(function(e){var t,n=e.scene,r=e.slide;return _t()(t="Scene ".concat(n+1," Slide ")).call(t,r+1)})),l=function(e,t){var n=t.goTo,r=t.nextSlide;return Al()([[Ma()("next"),la()(s,[e,"Next Slide"])],[Ma()("end"),la()(s,[e,"End of Scenario"])],[db(),la()(s,[e,u(r||{})])]])(n)},c="text"===a?l("Continue",e):Ca()(o).call(o,(function(e,t){return l(t,e)}));return _1.createElement("div",{className:"scenario-block__pdf-details"},_1.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=a1()(v+y-60),E=eC()("scenario-block__dialogue",(Ar(r={},"scenario-block__dialogue--response",Wo()(a)),Ar(r,"scenario-block__dialogue--faded",n<s-1),r)),x=Al()([[Hr()(f),Hr()(null)],[Ma()(s),Hr()({top:"".concat(_,"px")})],[Ma()(s-1),Hr()({top:"".concat(w,"px")})],[Ma()(s-2),Hr()({top:"".concat(k,"px")})],[db(),Hr()({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=_1.createElement("div",{className:"scenario-block__dialogue__bubble brand--body"},_1.createElement(NL,{value:i}));return _1.createElement(Xt,T,_1.createElement("div",null,_1.createElement("div",S,S1(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[_t()(t="".concat(r,".")).call(t,i)]||{},l=de()(li(),f1,yo()(u))(e),c=u.hasFeedback,d=u.response,f=(s[d]||{}).feedback,p=Wo()(d)&&E1(s),h=c?l.length-1:l.length,m=(1===h&&Ra()(s)||2===h&&E1(s))&&c,v={count:h,firstKey:xl()(null,[0,"id"],l),hasFeedback:c&&S1(f)},g={classNames:"scenario-block__content-",key:a,timeout:400},y=_1.createElement("div",{className:"scenario-block__dialogues__bottom"},_1.createElement("div",{className:"scenario-block__dialogues__bottom__inner"},_1.createElement("div",{className:"scenario-block__dialogues__responses"},_1.createElement(Gt,null,Ca()(s).call(s,this.renderResponse)))));return _1.createElement(Xt,g,_1.createElement("div",{className:"scenario-block__dialogues scenario-block__content"},_1.createElement("div",{className:"scenario-block__dialogues__inner"},_1.createElement("div",{className:"scenario-block__dialogues__top"},_1.createElement("div",{className:"scenario-block__dialogues__top__inner"},_1.createElement(Gt,null,Ca()(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=de()(this.onFocus,la()(this.onClick,["end",null])),i=eC()(["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:Nz(r),role:"button",tabIndex:0};return _1.createElement(Xt,o,_1.createElement("div",{className:i,key:"end"},_1.createElement("div",{className:"scenario-block__text__inner"},_1.createElement("div",{className:"scenario-block__text__title brand--head"},_1.createElement("h2",null,t)),_1.createElement("div",a,_1.createElement("span",null,n),_1.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&&Gx(e),a=_l()(bi()("name","style")),s=a(bi()("value","left_aligned")),u=a(bi()("value","right_aligned")),l=eC()("scenario-block__character__inner",{"scenario-block__character__inner--active":n===o,"scenario-block__character__inner--right":CN()(u,r),"scenario-block__character__inner--left":CN()(s,r)});return _1.createElement("div",{className:l,key:_t()(t="".concat(i,"-")).call(t,Math.random())},_1.createElement("img",{alt:"",role:"img",src:o}))}},{key:"renderResponse",value:function(e,t){var n=e.description,r=this.props.isPDF?Hr()():de()(this.onFocus,la()(this.onResponseClick,[t])),i={className:eC()(["scenario-block__response","scenario-block__response--".concat(t),"brand--body"]),onClick:r,onKeyDown:Nz(r),role:"button",tabIndex:0},o={appear:!0,classNames:"scenario-block__response-",key:t,timeout:{enter:1600,exit:400}};return _1.createElement(Xt,o,_1.createElement("div",i,_1.createElement("div",{className:"scenario-block__response__inner"},_1.createElement("div",{className:"scenario-block__response__number"},t+1),_1.createElement(NL,{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=eC()("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=_1.createElement("div",{className:"scenario-block__text__title brand--head"},_1.createElement("h2",null,_1.createElement(NL,{value:a}))),h=_1.createElement("div",{className:"scenario-block__text__description brand--body"},_1.createElement(NL,{value:t})),m=de()(this.onFocus,la()(this.onClick,[n,o])),v={className:"scenario-block__text__continue brand--background brand--ui",onClick:m,onKeyDown:Nz(m),role:"button",tabIndex:0},g={className:"scenario-block__text__end",onClick:m,onKeyDown:Nz(m),role:"button",tabIndex:0},y=_1.createElement("button",yt({},v,{type:"button"}),_1.createElement("span",null,u)),b=_1.createElement("div",g,_1.createElement("span",null,l),_1.createElement("i",{className:"icon icon-reload"}));return _1.createElement(Xt,f,_1.createElement("div",{className:d,key:i},_1.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=_t()(n="".concat(e,".")).call(n,t);this.setState({slides:Co()(i,{hasFeedback:!1,response:null},r)})}},{key:"resetSlides",value:function(){var e=this.props.items;this.setState({slides:T1((function(e,t,n){return pa()(Un()("slides"),T1((r=n,function(e,t,n){var i;return Co()(_t()(i="".concat(r,".")).call(i,n),{hasFeedback:!1,response:null},e)}),{}),Oo()(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=_t()(e="".concat(r,".")).call(e,i),d=Co()("hasFeedback",!0),f=oi()(Ar({},c,d));"dialogue"===l&&Ra()(u)&&this.setState({slides:f(o)})}},{key:"shouldComponentUpdate",value:function(e,t){return e.items!==this.props.items||e.menuOpen!==this.props.menuOpen||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}(_1.Component),A1=__webpack_require__(67294);function O1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var N1=OF,P1=function(e){ut(n,e);var t=O1(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.isLearner,r=e.previewType,i=e.settings,o=!Wo()(r),a=t?"fadeIn":"none",s=o&&t?1:0,u=i.backgroundColor,l=i.paddingBottom,c=i.paddingTop,d={backgroundColor:u,paddingBottom:"".concat(10*l,"px"),paddingTop:"".concat(10*c,"px")},f={animateBlockEntrance:o,animateIn:a,duration:s,initiallyVisible:!t,isLearner:n,offset:300};return A1.createElement("div",{className:"block-scenario","data-ba":N1.blockScenario,style:d},A1.createElement(gY,f,A1.createElement(C1,this.props)))}}]),n}(A1.Component),L1=__webpack_require__(67294);function M1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var I1=function(e){ut(n,e);var t=M1(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isMoving:!1,failed:!1,position:{x:0,y:0},reset:!0},r}return rt(n,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.setState({reset:!1})}),300),CQ(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),CQ(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=_t()(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=eC()("playing-card playing-card--draggable",{"playing-card--legacy":!a,"playing-card--moving":n,"playing-card--fail":r,reset:i});return L1.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()}},L1.createElement(JY,{className:"playing-card__content brand--border"},L1.createElement(NL,{className:"playing-card__title brand--head",value:l}),L1.createElement("div",{className:"playing-card__handle"}),L1.createElement("div",{className:"playing-card__status brand--background"},L1.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}(L1.Component),R1=VB("rise-authoring-controls","fusion")(I1),D1=__webpack_require__(67294),q1=function(e){var t=e.allowTabNavigation,n=void 0===t||t,r=e.onClick,i=e.onFocus,o=void 0===i?Rl:i,a=e.text;return D1.createElement("button",{"aria-hidden":!n,className:"restart-button button brand--hoverColor",onClick:r,onFocus:o,tabIndex:HH(n),type:"button"},D1.createElement("div",{className:"restart-button__content"},D1.createElement("span",{className:"restart-button__text brand--ui"},a),D1.createElement("i",{"aria-hidden":"true",className:"restart-button__icon icon icon-reload"})))},j1=__webpack_require__(67294);function B1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var F1=function(e){return eC()("deck",{"deck--complete":bi()("percentViewed",100,e)})},U1=function(e){var t=e.item,n=e.progress;return bi()("lastIncorrectCardId",String(t.id),n)},z1=bi()("percentViewed",100),H1=function(e){ut(n,e);var t=B1(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).cardRefs=[],r}return rt(n,[{key:"startKeyDrop",value:function(){var e=_E()(this.cardRefs);e&&e.onStartSortAttempt()}},{key:"endKeyDrop",value:function(){var e=_E()(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=z1(a);return j1.createElement("div",{className:F1(a)},j1.createElement("div",{className:"deck__spacer"}),j1.createElement("div",{"aria-hidden":!u,className:"deck__cardholder"},j1.createElement("div",{className:"deck__title brand--ui"},function(e){var t,n=e.progress,r=e.count;return _t()(t="".concat(Cu()(0,"correctlyAnswered",n),"/")).call(t,r)}({progress:a,count:n})," ",i.sortingCardsCorrect),j1.createElement(q1,{allowTabNavigation:u,onClick:la()(s,[o]),text:i.sortingReplay})),j1.createElement("div",{className:"deck__content"},Ca()(r).call(r,(function(t,n){return j1.createElement(R1,{id:t.id,isDeckTopCard:e.cardRefs[n]===_E()(e.cardRefs),isIncorrect:U1({item:t,progress:a}),key:t.id,ref:function(t){e.cardRefs[n]=t},title:t.title})}))))}}]),n}(j1.Component);H1.defaultProps={onReplay:Function.prototype};var V1=__webpack_require__(67294);function W1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Y1=function(e){ut(n,e);var t=W1(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isSuccess:!1,showFocusOutline:!0},r.handleDragEnter=r.handleDragEnter.bind(it(r)),r.handleDragLeave=r.handleDragLeave.bind(it(r)),r.handleMouseDrop=r.handleMouseDrop.bind(it(r)),r.handleKeyboardDrop=r.handleKeyboardDrop.bind(it(r)),r}return rt(n,[{key:"focus",value:function(){this.pileContent.focus()}},{key:"componentDidMount",value:function(){CQ(this.pile).dropzone({overlap:"pointer"}).on("dragenter",this.handleDragEnter).on("dragleave",this.handleDragLeave).on("drop",this.handleMouseDrop)}},{key:"componentWillUnmount",value:function(){CQ(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=VK(this.handleKeyboardDrop),o=VK(r),a=VK(n);Al()([[Sz,i],[kz,o],[Ez,a]])(e)}},{key:"onKeyUp",value:function(e){Sz(e)&&this.props.onKeyDropEnd()}},{key:"handleDragEnter",value:function(e){var t=CQ.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=eC()("pile",{"pile--legacy":!n,"drop-success":a}),l=eC()("pile__content",{"drop-animating":!s});return V1.createElement("div",{className:u,ref:function(t){return e.pile=t}},V1.createElement("div",{className:"pile__wrapwrap"},V1.createElement("div",{className:"pile__wrap"},V1.createElement("div",{className:"pile__message"},V1.createElement(NL,{className:"pile__title brand--head",value:r})),V1.createElement("div",{className:l,onKeyDown:this.onKeyDown.bind(this),onKeyUp:this.onKeyUp.bind(this),ref:function(t){return e.pileContent=t},tabIndex:0},o&&V1.createElement(R1,{id:o.id,title:o.title})),V1.createElement("div",{className:"pile__background"}))))}}],[{key:"defaultProps",get:function(){return{onCardDrop:Function.prototype}}}]),n}(V1.Component),G1=VB("rise-authoring-controls","fusion")(Y1),K1=__webpack_require__(67294);function Z1(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var X1=OF,$1=So()(di()),Q1=function(e){var t=e.items,n=e.progress;return si()(function(e){return function(t){return cu()(xl()(!1,["items",t.id,"isViewed"],e))}}(n),t)},J1=function(e){ut(n,e);var t=Z1(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={items:C$()(e.items)},r.pileRefs=[],r}return rt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){if(Un()("retryAttempts",this.props.progress)!==Un()("retryAttempts",e.progress))this.setState({items:C$()(e.items)});else{var t=di()(function(e){return function(t){return pa()(CN()(bi()("id",t.id)),yo()(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=Q1({items:n,progress:s});return K1.createElement("div",{"aria-label":d,className:(e=i,eC()("sorting",{"sorting-dark-theme":e})),"data-ba":X1.blockSortingActivity,role:"group"},K1.createElement("div",{className:"sorting__row"},K1.createElement(H1,{count:n.length,id:o,items:f,labels:a,onReplay:l,progress:s,ref:function(e){t.deck=e}})),K1.createElement("div",{className:"sorting__row"},$1((function(e,n){return K1.createElement(G1,{deckTopCard:f&&f[0],id:e.id,key:e.id,lessonId:o,onCardDrop:u,onNavigateToNext:function(){return XH({list:t.pileRefs,currentIndex:n})},onNavigateToPrevious:function(){return $H({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}(K1.Component),e2=__webpack_require__(67294),t2=function(e){var t=e.blockId,n=e.lessonId;return function(e){var r=e.itemId,i=e.isCorrect;return sN(function(e){var t=e.lessonId,n=Wi(e,Gs);return function(e){return e(nl({id:t,updateFn:(r=n,i=r.itemId,o=r.blockId,a=r.isCorrect,pa()(sa()(Jo()(["items",o]),Ws({itemId:i,isCorrect:a})),dl))}));var r,i,o,a}}({itemId:r,lessonId:n,blockId:t,isCorrect:i}))}},n2=function(e){var t=e.blockId,n=e.lessonId;return function(){return sN(function(e){var t=e.lessonId,n=Wi(e,Ys);return function(e){return e(nl({id:t,updateFn:(r=n,i=r.blockId,sa()(Jo()(["items",i]),Vs))}));var r,i}}({lessonId:n,blockId:t}))}},r2=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=Un()("backgroundColor",s),l=RS(u),c=e.onCardDrop||t2,d=e.onReplay||n2;return e2.createElement(fY,{type:"sorting-activity"},e2.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:!0},e2.createElement(J1,{hasDarkBackground:l,id:n,items:r,labels:i,onCardDrop:c(e),onReplay:d(e),piles:o,progress:xl()({},["items",n],a)})))},i2=!("undefined"==typeof window||!window.document||!window.document.createElement);var o2=void 0;function a2(){return void 0===o2&&(o2=function(){if(!i2)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}()),o2}function s2(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function u2(e){this.target=e,this.events={}}u2.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]},u2.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},u2.prototype.add=function(e,t,n){var r=this,i=this.getEventHandlers(e,n);s2(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,s2(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 l2="__consolidated_events_handlers__";function c2(e,t,n,r){e[l2]||(e[l2]=new u2(e));var i=function(e){if(e)return a2()?e:!!e.capture}(r);return e[l2].add(t,n,i)}var d2=__webpack_require__(21960),f2=__webpack_require__.n(d2);function p2(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 h2="above",m2="inside",v2="below",g2="invisible";function y2(e){if(e)try{m.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 b2(e){return"string"==typeof e.type}var _2=void 0,w2=[];function k2(e){w2.push(e),_2||(_2=setTimeout((function(){_2=null;for(var e=void 0;e=w2.shift();)e()}),0));var t=!0;return function(){if(t){t=!1;var n=w2.indexOf(e);-1!==n&&(w2.splice(n,1),!w2.length&&_2&&(clearTimeout(_2),_2=null))}}}var E2=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 x2={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},S2=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),E2(t,[{key:"componentWillMount",value:function(){y2(this.props.children)}},{key:"componentDidMount",value:function(){var e=this;t.getWindow()&&(this.cancelOnNextTick=k2((function(){e.cancelOnNextTick=null,function(e,t){if(e&&!b2(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=c2(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=c2(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)})))}},{key:"componentWillReceiveProps",value:function(e){y2(e.children)}},{key:"componentDidUpdate",value:function(){var e=this;t.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=k2((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?g2:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom||e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom||e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?m2:e.viewportBottom<e.waypointTop?v2:e.waypointTop<e.viewportTop?h2:g2}(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===m2?this.props.onEnter.call(this,i):r===m2&&this.props.onLeave.call(this,i);var o=r===v2&&n===h2,a=r===h2&&n===v2;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:m2,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:m2,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+p2(c.topOffset,u),viewportBottom:l+u-p2(d,u)}}},{key:"render",value:function(){var e=this,t=this.props.children;if(!t)return m.createElement("span",{ref:this.refElement,style:{fontSize:0}});if(b2(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return m.cloneElement(t,{ref:n})}return m.cloneElement(t,{innerRef:this.refElement})}}]),t}(void 0!==m.PureComponent?m.PureComponent:m.Component);S2.propTypes={children:f2().node,debug:f2().bool,onEnter:f2().func,onLeave:f2().func,onPositionChange:f2().func,fireOnRapidScroll:f2().bool,scrollableAncestor:f2().any,horizontal:f2().bool,topOffset:f2().oneOfType([f2().string,f2().number]),bottomOffset:f2().oneOfType([f2().string,f2().number])},S2.above=h2,S2.below=v2,S2.inside=m2,S2.invisible=g2,S2.getWindow=function(){if("undefined"!=typeof window)return window},S2.defaultProps=x2,S2.displayName="Waypoint";var T2=S2,C2=__webpack_require__(93530),A2=__webpack_require__.n(C2),O2=__webpack_require__(11865),N2=__webpack_require__.n(O2),P2=__webpack_require__(68929),L2=__webpack_require__.n(P2),M2=(Ja()((function(e,t){return pa()(ms(),di()(e),rs())(t)})),de()($o(),Zo())),I2=function(e,t,n){var r={};for(var i in n)r[e(i)]=t(n[i]);return r},R2=Al()([[bM(),function(e){return I2(L2(),R2,e)}],[A2(),function(e){return di()(R2,e)}],[db(),Wr()]]),D2=Al()([[bM(),function(e){return I2(N2(),D2,e)}],[A2(),function(e){return di()(D2,e)}],[db(),Wr()]]),q2=__webpack_require__(67294);function j2(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var B2=function(e){ut(n,e);var t=j2(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"renderMedia",value:function(e,t){if(M2(e)){var n=e.embed?oZ(e.embed):void 0,r=eC()({"timeline-card__audio":e.audio,"timeline-card__visual":e.image||e.video,"timeline-card__linkEmbed":"link"===n,"timeline-card__videoEmbed":"video"===n}),i=pi()(Co()("pause",!0),e);return q2.createElement("div",{className:r},q2.createElement(ZZ,{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=Cu()({},"media",t),u=da()(["audio"],s),l=da()(["embed"],s),c=da()(["image","video"],s),d=eC()("timeline-card",{"timeline-card--active":n});return q2.createElement("div",{className:d,"data-id":o,ref:this.props.innerRef},q2.createElement(JY,{className:"timeline-card__body brand--beforeBackground",onFocus:i},q2.createElement("div",{className:"timeline-card__main-wrap"},q2.createElement("div",{className:"timeline-card__main"},q2.createElement("div",{className:"timeline-card__date brand--color brand--body"},q2.createElement("h2",null,t.date)),q2.createElement("div",{className:"timeline-card__title brand--head"},q2.createElement("h3",null,q2.createElement(NL,{value:t.title}))),r?this.renderMedia(u,a):null,r?this.renderMedia(l,a):null,q2.createElement(NL,{className:"timeline-card__description brand--body brand--linkColor",value:t.description}),r?this.renderMedia(c):null))))}}]),n}(q2.Component),F2=__webpack_require__(67294);function U2(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var z2=OF,H2=function(e){ut(n,e);var t=U2(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).renderCard=r.renderCard.bind(it(r)),r}return rt(n,[{key:"onEnterMarker",value:function(e,t,n){var r=n.previousPosition,i=this.props,o=i.id,a=i.onEnter;r===T2.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===T2.below&&r===T2.inside&&u>-1){var l=mi()(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||Ma()(Un()("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=F2.createElement(B2,{enableVideoPlaybackSpeed:r,isActive:this.isActive(t),item:e,labels:s,loadMedia:!0,onFocus:u,lessonNumber:i});return o&&a?F2.createElement(gY,{animateBlockEntrance:!0,animateIn:"fadeIn",className:"timeline__animate",isLearner:!0},l):o&&!a?l:F2.createElement(T2,{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.timelineLandmark,a=eC()("page__content-container",{timeline__block:r,"timeline-dark-theme":n});return F2.createElement("div",{"aria-label":o,className:a,"data-ba":z2.blockTimeline,role:"group"},F2.createElement("div",{className:"timeline__wrapper"},F2.createElement("div",{className:"timeline"},F2.createElement("ul",{className:"timeline__container",role:"list"},Ca()(i).call(i,(function(t,n){return F2.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}(F2.Component),V2=__webpack_require__(67294),W2=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=Un()("backgroundColor",u),c=RS(l);return V2.createElement(fY,{settings:u,type:"timeline"},V2.createElement(gY,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:!0},V2.createElement(H2,{enableVideoPlaybackSpeed:r,hasDarkBackground:c,id:n,isBlock:!0,isLearner:i,items:o,labels:a,progress:xl()({},["items",n],s)})))};W2.defaultProps={isLearner:!0};var Y2=W2,G2=__webpack_require__(33670),K2=__webpack_require__.n(G2),Z2=__webpack_require__(11419),X2=__webpack_require__.n(Z2),$2=__webpack_require__(80921),Q2=__webpack_require__.n($2),J2=(__webpack_require__(53171),__webpack_require__(89875)),e3=__webpack_require__.n(J2),t3=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 n3(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 r3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i3(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 o3(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 a3="undefined"!=typeof process&&process.env&&"production",s3=function(e){function t(){var n,r;r3(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=i3(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},i3(r,n)}return o3(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(!Q2()(o,e.legend))return!0;if(!Q2()(r,e.options))return!0;var u=this.transformDataProp(e);return!Q2()(this.shadowDataProp,u)||!Q2()(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=t3({},e,{datasets:e.datasets&&e.datasets.map((function(e){return t3({},e)}))}),e}},t.prototype.checkDatasets=function(e){var n="production"!==a3&&"prod"!==a3,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=X2().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=e3()(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=n3(t,["data"]);return t3({},n,r)}return t}));n.datasets;var a=n3(n,["datasets"]);this.chartInstance.config.data=t3({},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||Q2()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new(X2())(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 m.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(m.Component);s3.getLabelAsKey=function(e){return e.label},s3.propTypes={data:K2().oneOfType([K2().object,K2().func]).isRequired,getDatasetAtEvent:K2().func,getElementAtEvent:K2().func,getElementsAtEvent:K2().func,height:K2().number,legend:K2().object,onElementsClick:K2().func,options:K2().object,plugins:K2().arrayOf(K2().object),redraw:K2().bool,type:function(e,t,n){if(!X2().controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:K2().number,datasetKeyProvider:K2().func},s3.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:s3.getLabelAsKey};!function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}(m.Component);var u3=function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}return o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))},t}(m.Component),l3=function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}return o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(m.Component),c3=function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}return o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(m.Component),d3=(function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}(m.Component),function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(m.Component),function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(m.Component),function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(m.Component),function(e){function t(){return r3(this,t),i3(this,e.apply(this,arguments))}o3(t,e),t.prototype.render=function(){var e=this;return m.createElement(s3,t3({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(m.Component),X2().defaults,__webpack_require__(5086)),f3=__webpack_require__.n(d3);function p3(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var h3=function(e){ut(n,e);var t=p3(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).handleMouseEnter=r.handleMouseEnter.bind(it(r)),r.handleMouseLeave=r.handleMouseLeave.bind(it(r)),r}return rt(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=!Wo()(t)&&t!==r,s=eC()("block-chart__cartesianLegendItem",{"block-chart__cartesianLegendItem--unfocused":a});return m.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},m.createElement("dt",{className:"block-chart__cartesianLegendTerm"},n,"."),m.createElement("dd",{className:"block-chart__cartesianLegendDefn"},i,m.createElement("span",{className:"block-chart__cartesianLegendDefnPipe"},"|"),m.createElement("span",{className:"block-chart__cartesianLegendDefnVal"},o)))}}]),n}(m.PureComponent),m3=h3,v3=function(e){var t=e.activeIndex,n=e.labels,r=e.letters,i=e.onEvent,o=U_()(e),a=f3()(r,f3()(n,o));return Ra()(a)?null:m.createElement("dl",{"aria-hidden":"true",className:"block-chart__cartesianLegend"},Ca()(a).call(a,(function(e,n){var r=Cr(e,2),o=r[0],a=Cr(r[1],2),s=a[0],u=a[1];return m.createElement(m3,{activeIndex:t,identifier:o,index:n,key:o,label:s,onEvent:i,value:u})})))},g3=(0,m.memo)(v3),y3=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)))},b3=function(e,t,n){return void 0===n&&(n=0),Number(((1-n)*e+n*t).toFixed(2))},_3=function(e,t,n){var r=$x(e),i=r[0],o=r[1],a=r[2],s=r[3],u=$x(t),l=u[0],c=u[1],d=u[2],f=u[3],p=zW([y3(i,l,n),y3(o,c,n),y3(a,d,n),b3(s,f,n)]);return 1===s&&1===f?p.slice(0,7):p},w3=function(e){var t=e.activeIndex,n=e.settings,r=n.backgroundColor,i=n.chartColor,o=n.lineCurve,a=U_()(e),s=e.variant,u=i,l=i;if(!Wo()(t)){var c=_3(i,r||"#fff",.7);u=c,l=Ms(c,i,a.length,t)}return"bar"===s?{backgroundColor:l,borderColor:u,data:a,hoverBackgroundColor:l,hoverBorderColor:l}:{borderColor:u,cubicInterpolationMode:"linear"===o?"default":"monotone",data:a,lineTension:"linear"===o?0:void 0,pointBackgroundColor:l,pointBorderColor:l,pointBorderWidth:0,pointHitRadius:20,pointHoverBackgroundColor:i,pointHoverBorderColor:i,pointHoverBorderWidth:0,pointRadius:4}},k3=__webpack_require__(32423),E3=__webpack_require__.n(k3),x3={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:LK()(/([^\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=Sa()(A2(),ZA()(" "),r);return _t()(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}};function S3(e){var t=e.children,n=function(e){var t=e.onEvent,n=e.shouldAnimate,r=U_()(e),i=HB("rise-authoring-controls"),o=mV(),a=o.backgroundMode,s=o.styleMode,u=vV(),l=(0,m.useMemo)((function(){return Ns(r)}),[r]);return(0,m.useMemo)((function(){var e,r=zS(u),o=a!==iV.IMAGE&&r===LS.LIGHT,c=s===oV.UNBRANDED,d=n?1e3:0,f=o?"#313537":"#fff",p=o?"#000":"#fff",h=o?"#fff":"#313537",m=e=c?o?"#00000080":"#ffffff80":o?"#e1e1e1":"#ffffff80";if(l&&(m=c?o?"#0000001a":"#ffffffe9":o?"#c9c9c9":"#ffffffe9"),!i){var v=RS(u);f=v?"#fff":"#313537",e=v?"#ffffff33":"#0000001a",m=l?v?"#ffffff66":"#00000040":v?"#ffffff33":"#0000001a"}return Il(x3,E3()(["animation","duration"],d),E3()(["defaultFontColor"],f),E3()(["onClick"],t),E3()(["onHover"],t),E3()(["scales","xAxes",0,"gridLines","color"],e),E3()(["scales","xAxes",0,"ticks","minor","fontColor"],f),E3()(["scales","yAxes",0,"gridLines","color"],e),E3()(["scales","yAxes",0,"gridLines","zeroLineColor"],m),E3()(["scales","yAxes",0,"ticks","minor","fontColor"],f),E3()(["tooltips","backgroundColor"],p),E3()(["tooltips","titleFontColor"],h))}),[l,u,a,i,t,n,s])}({onEvent:e.onEvent,shouldAnimate:e.shouldAnimate,values:U_()(e)});return t(n)}var T3=__webpack_require__(39138),C3=__webpack_require__.n(T3),A3=vE()(/<mark>|<\/mark>/gm,""),O3=de()((function(e){return C3()(e,{length:30})}),A3,Un()("type")),N3=de()(so()(0),parseFloat,Un()("value")),P3=function(e){return{labels:Ca()(e).call(e,O3),values:Ca()(e).call(e,N3)}},L3=Ja()((function(e,t,n){var r=C3()(t,{length:e});return n?lM(r,n):r})),M3={bar:function(e){return"Bar chart with the following items: ".concat(e)},line:function(e){return"Line chart with the following items: ".concat(e)},pie:function(e){return"Pie chart with the following items: ".concat(e)}},I3=function(e,t){var n=Ca()(t).call(t,(function(e){var t;return _t()(t="".concat(e.type,": ")).call(t,e.value)})).join(", ");return M3[e](n)};function R3(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var D3=function(e){var t=function(t){ut(r,t);var n=R3(r);function r(){var e,t;et(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,_t()(e=[this]).call(e,o))).handleEvent=t.handleEvent.bind(it(t)),t.state={activeIndex:null},t}return rt(r,[{key:"handleEvent",value:function(e){this.setState({activeIndex:e})}},{key:"render",value:function(){return m.createElement(e,yt({},this.props,{activeIndex:this.state.activeIndex,onEvent:this.handleEvent}))}}]),r}(m.PureComponent);return t.displayName="ChartEvents(".concat(rM(e),")"),t};function q3(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var j3=function(e){var t=function(t){ut(r,t);var n=q3(r);function r(){var e,t;et(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,_t()(e=[this]).call(e,o))).chartRef=(0,m.createRef)(),t.handleResize=t.handleResize.bind(it(t)),t}return rt(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 m.createElement(e,yt({},this.props,{onResize:this.handleResize,ref:this.chartRef}))}}]),r}(m.PureComponent);return t.displayName="ChartUpdater(".concat(rM(e),")"),t};function B3(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var F3="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),U3=function(e){ut(n,e);var t=B3(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).handleEvent=r.handleEvent.bind(it(r)),r.handleResize=r.handleResize.bind(it(r)),r.wrapRef=(0,m.createRef)(),r.state={labelYTop:"50%"},r}return rt(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new WU(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:"buildDataset",value:function(e){var t=this.props,n=t.activeIndex,r=t.settings,i=t.variant;return w3({activeIndex:n,settings:r,values:e,variant:i})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(xl()(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=xl()({},["scales","y-axis-0"],e),n=t.bottom,r=t.top;Go()(n)&&Go()(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.onEvent,u=e.search,l=e.shouldAnimate,c=e.valuesLabel,d=e.variant,f=this.state.labelYTop,p=L3(80,a,u),h=L3(30,c,u),v=P3(o),g=r?[]:wr()(F3).call(F3,0,o.length),y=r?v.labels:g,b=i?U_()(v):Ls(0,o.length),_=this.buildDataset(b),w="line"===d?l3:c3,k=I3(d,o);return m.createElement("div",{className:"block-chart__cartesian"},m.createElement("div",{"aria-label":k,className:"block-chart__cartesianChart",ref:this.wrapRef,role:"img"},m.createElement(S3,{onEvent:this.handleEvent,shouldAnimate:l,values:b},(function(e){return m.createElement(w,{data:{labels:y,datasets:[_]},options:e,ref:n})})),h&&TM(h)&&m.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelY",style:{top:f}},h)),p&&TM(p)&&m.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelX"},p),!r&&m.createElement(g3,{activeIndex:t,labels:v.labels,letters:g,onEvent:s,values:b}))}}]),n}(m.PureComponent),z3=Ek()({search:xl()("",["search","term"])}),H3=de()(D3,function(e,t,n){return DL("min-width",e,t,n)}(960,"isDesktop","Desktop"),j3,gL.default,Qt(z3))(U3);function V3(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var W3=function(e){ut(n,e);var t=V3(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).handleMouseEnter=r.handleMouseEnter.bind(it(r)),r.handleMouseLeave=r.handleMouseLeave.bind(it(r)),r}return rt(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=!Wo()(t)&&t!==r,a=eC()("block-chart__circleLegendItem",{"block-chart__circleLegendItem--unfocused":o});return m.createElement("div",{className:a,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},m.createElement("svg",{"aria-hidden":"true",className:"block-chart__circleLegendSymbol",fill:n,focusable:"false",viewBox:"0 0 10 10"},m.createElement("rect",{width:"10",height:"10",rx:"1.5"})),m.createElement("div",{className:"block-chart__circleLegendText"},i))}}]),n}(m.PureComponent),Y3=W3,G3=function(e){var t=e.activeIndex,n=e.colors,r=e.labels,i=e.onEvent,o=f3()(r,n);return Ra()(o)?null:m.createElement("div",{"aria-hidden":"true",className:"block-chart__circleLegend"},Ca()(o).call(o,(function(e,n){var r=Cr(e,2),o=r[0],a=r[1];return m.createElement(Y3,{activeIndex:t,backgroundColor:a,index:n,key:o,onEvent:i,text:o})})))},K3=(0,m.memo)(G3);function Z3(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function X3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Z3(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Z3(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var $3=O_()(M0()(Ua(),0),"value"),Q3=function(e){var t=dr()(e).call(e,$3),n=P3(t),r=Ca()(t).call(t,Un()("color"));return X3(X3({},n),{},{colors:r})},J3=(__webpack_require__(59523),__webpack_require__(36945)),e6=__webpack_require__.n(J3),t6=function(e){var t=xl()(0,["dataIndex"],e),n=xl()({},["dataset"],e),r=xl()("#000",["backgroundColor",t],n);return RS(r)?"#fff":"#313537"},n6=function(e,t,n){return"numeric"===e?String(t):OM(t/e6()(n.dataset.data))},r6=function(e,t,n){var r,i=xl()(0,[0,"index"],t),o=xl()("",["labels",i],n),a=xl()([1],["datasets",0,"data"],n),s=a[i],u="numeric"===e?String(s):OM(s/e6()(a));return _t()(r="".concat(o,": ")).call(r,u)},i6=function(e,t){var n=xl()(0,["dataIndex"],t),r=xl()([1],["dataset","data"],t),i=r[n],o=Wo()(e)&&i/e6()(r)>=.06;return e===n||o},o6=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:t6,display:i6.bind(null,t),font:{size:12,style:"bold"},formatter:n6.bind(null,r)}},responsive:!1,rotation:.25*Math.PI,tooltips:{backgroundColor:"#000",callbacks:{label:function(){return null},title:r6.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}}},a6=function(e){var t=e.activeIndex,n=e.colors,r=e.settings.backgroundColor,i=U_()(e),o=Wo()(t)?n:Ca()(n).call(n,(function(e,n){return n===t?e:_3(e,r||"#fff",.5)}));return{backgroundColor:o,hoverBackgroundColor:o,borderWidth:0,data:i}};function s6(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var u6=function(e){ut(n,e);var t=s6(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).handleEvent=r.handleEvent.bind(it(r)),r.wrapRef=(0,m.createRef)(),r}return rt(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new WU(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:"buildDataset",value:function(e){var t=e.colors,n=U_()(e),r=this.props,i=r.activeIndex,o=r.settings;return a6({activeIndex:i,colors:t,settings:o,values:n})}},{key:"buildOptions",value:function(){var e=this.props,t=e.activeIndex,n=e.settings,r=e.shouldAnimate;return o6({activeIndex:t,onEvent:this.handleEvent,settings:n,shouldAnimate:r})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(xl()(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.onEvent,a=e.variant,s=Q3(i),u=s.colors,l=s.labels,c=U_()(s),d=r?c:Ls(0,i.length),f=this.buildOptions(),p=this.buildDataset({colors:u,values:d}),h=I3(a,i);return m.createElement("div",{"aria-label":h,className:"block-chart__circle",role:"img"},m.createElement("div",{className:"block-chart__circleChart",ref:this.wrapRef},m.createElement(u3,{data:{labels:l,datasets:[p]},options:f,ref:n})),m.createElement(K3,{activeIndex:t,colors:u,labels:l,onEvent:o}))}}]),n}(m.PureComponent),l6=de()(D3,j3,gL.default)(u6);function c6(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var d6=OF,f6=de()(RS,Un()("backgroundColor")),p6=function(e){ut(n,e);var t=c6(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).handleAnimationEnd=r.handleAnimationEnd.bind(it(r)),r.renderTitle=r.renderTitle.bind(it(r)),r.state={isVisible:!r.props.animateBlockEntrance},r}return rt(n,[{key:"handleAnimationEnd",value:function(){this.setState({isVisible:!0})}},{key:"renderTitle",value:function(){var e=this.props.title;return m.createElement(NL,{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.settings,l=e.title,c=e.valuesLabel,d=e.variant,f=e.renderTitle,p=void 0===f?this.renderTitle:f,h=this.state.isVisible,v=f6(u),g=eC()("block-chart__container",{"block-chart__container--darkTheme":!i&&v});return m.createElement(fY,{type:"chart"},m.createElement(gY,{afterAnimatedIn:this.handleAnimationEnd,animateBlockEntrance:t,animateIn:"fadeIn",initiallyVisible:!t,isLearner:o},m.createElement("div",{className:g,"data-ba":d6.blockChart},m.createElement("div",{className:"block-chart__row"},m.createElement("div",{className:"block-chart__rowInner"},(!r&&l||r)&&m.createElement("h2",{className:"block-chart__title brand--head"},p()),m.createElement("div",{className:"block-chart__chart"},m.cloneElement(m.Children.only(n),{hasDarkBgColor:v,isVisible:h,items:a,itemsLabel:s,settings:u,shouldAnimate:t,valuesLabel:c,variant:d})))))))}}]),n}(m.PureComponent),h6=VB("rise-authoring-controls","fusion")(p6),m6=__webpack_require__(67294);function v6(e){var t=function(t){return m6.createElement(h6,t,m6.createElement(e,null))};return t.displayName="ChartWrap(".concat(rM(e),")"),t}var g6=v6(H3),y6=v6(l6),b6=__webpack_require__(67294);function _6(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function w6(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_6(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):_6(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function k6(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var E6=si()(bi()("variant","storyline")),x6=pa()(E6,$o(),PN()(1)),S6=function(e){ut(n,e);var t=k6(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e,t=this.props,n=t.dividerNumber,r=t.family,i=t.handleStorylineFullscreen,o=t.menuOpen,a=t.partnerContent,s=t.variant,u=t.enableVideoPlaybackSpeed,l=_t()(e="".concat(r," ")).call(e,s),c=w6(w6({},qa()(["handleStorylineFullscreen","dividerNumber"],this.props)),{},{variant:s,enableVideoPlaybackSpeed:u,partnerContent:a});switch(l){case"text paragraph":case"text table":return b6.createElement(wY,c);case"text heading paragraph":return b6.createElement(TY,c);case"text subheading paragraph":return b6.createElement(CY,c);case"text heading":return b6.createElement(xY,c);case"text subheading":return b6.createElement(SY,c);case"text two column":return b6.createElement(kY,c);case"text three column":return b6.createElement(EY,c);case"text code":case"multimedia code":return b6.createElement(AY,c);case"impact a":return b6.createElement(BY,c);case"impact b":return b6.createElement(FY,c);case"impact c":return b6.createElement(UY,c);case"impact d":return b6.createElement(zY,c);case"impact note":return b6.createElement(HY,c);case"quote a":return b6.createElement(cG,c);case"quote b":return b6.createElement(dG,c);case"quote c":return b6.createElement(fG,c);case"quote d":return b6.createElement(pG,c);case"quote background":return b6.createElement(hG,c);case"quote carousel":return b6.createElement(yG,c);case"list numbered":return b6.createElement(AG,c);case"list checkboxes":return b6.createElement(PG,c);case"list bulleted":return b6.createElement(LG,c);case"image hero":return b6.createElement(oK,c);case"image full":return b6.createElement(lK,c);case"image text aside":return b6.createElement(sK,c);case"image text overlay":return b6.createElement(cK,c);case"gallery centered":case"gallery full":return b6.createElement(bK,c);case"gallery two column":return b6.createElement(wK,c);case"gallery three column":return b6.createElement(wK,yt({width:3},c));case"gallery four column":return b6.createElement(wK,yt({width:4},c));case"divider divider":return b6.createElement(TK,c);case"divider numbered divider":return b6.createElement(CK,yt({number:n},c));case"divider spacing divider":return b6.createElement(AK,c);case"360 storyline":return b6.createElement(RX,yt({},c,{isLesson:!0,menuOpen:o,handleStorylineFullscreen:i,hasManySlBlocks:this.hasManySlBlocks.bind(this)}));case"interactive accordion":return b6.createElement(pX,c);case"interactive tabs":return b6.createElement(bX,c);case"interactive-fullscreen labeledgraphic":return b6.createElement(m0,c);case"interactive-fullscreen process":return b6.createElement(n1,c);case"interactive-fullscreen scenario":return b6.createElement(P1,c);case"interactive-fullscreen sorting":return b6.createElement(r2,c);case"interactive-fullscreen timeline":return b6.createElement(Y2,c);case"buttons button":return b6.createElement(UX,c);case"buttons button stack":return b6.createElement(zX,c);case"flashcard flashcard":return b6.createElement(k$,c);case"flashcard stack":return b6.createElement(k$,yt({stack:!0},c));case"knowledge knowledge":case"knowledgeCheck multiple choice":case"knowledgeCheck multiple response":case"knowledgeCheck fillin":case"knowledgeCheck matching":return b6.createElement(qJ,c);case"continue continue":return b6.createElement(i$,c);case"multimedia audio":return b6.createElement(XX,c);case"multimedia video":return b6.createElement($X,c);case"multimedia custom video":return b6.createElement($X,yt({},c,{type:"customVideo"}));case"multimedia embed":return b6.createElement(QX,c);case"multimedia attachment":return b6.createElement(e$,c);case"chart bar":case"chart line":return b6.createElement(g6,c);case"chart pie":return b6.createElement(y6,c);default:return"Unknown type: ".concat(l)}}},{key:"hasManySlBlocks",value:function(){var e=this.props.items;return e&&x6(e)}}]),n}(b6.Component);function T6(e){return b6.createElement(nV,{block:e},b6.createElement(S6,e))}var C6=_l()(xM,(function(e){return e.getBoundingClientRect().bottom-e.offsetHeight/4<=window.innerHeight}));function A6(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var O6=function(e){ut(n,e);var t=A6(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).wrapRef=(0,m.createRef)(),r.check=r.check.bind(it(r)),r.onScroll=rX()(r.check,100),r}return rt(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 m.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&&C6(e.current)&&(this.rmScrollListener(),this.props.onViewed())}}]),n}(m.Component),N6=__webpack_require__(67294);function P6(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var L6=function(e){ut(n,e);var t=P6(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){return N6.createElement(O6,{onViewed:this.handleViewed.bind(this,this.props.children.props),isFirstLesson:this.props.isFirstLesson},this.modifiedChildren())}},{key:"modifiedChildren",value:function(){return N6.cloneElement(N6.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}(N6.Component),M6=(b().arrayOf,b().func,b().node,b().oneOfType,__webpack_require__(16392),__webpack_require__(65814),__webpack_require__(191),__webpack_require__(79098)),I6=__webpack_require__.n(M6),R6=__webpack_require__(40731),D6=__webpack_require__.n(R6),q6=__webpack_require__(1667),j6=__webpack_require__.n(q6),B6=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 pa().apply(void 0,n)(e)},F6=j6()(de()(fo(),Un()("title"))),U6=function e(t){return function(n){var r=CN()(bi()("id",n),t),i=B6(t,I6()(Gr()(bi()("parentId",n),pa()(Un()("id"),e(t)),Hr()([]))),F6);return Co()("subfolders",i,r)}},z6=pa()((function(e){var t=D6()(Un()("id"),e||[]);return ma()(function(e){return function(t,n){return e[n.parentId]?t:gO()(n,t)}}(t),[],e)}),gi()(["id"])),H6=pa()((function(e){return{folders:e,ids:z6(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 de().apply(void 0,Tl(Nl()(1,t)))(Ll()(t))}(F6,di()(U6(t)),n)})),V6="owner",W6="manager",Y6="editor",G6="viewer",K6=[G6,Y6,W6,V6],Z6=function(e){var t=e.effectiveRole,n=e.requiredRole;return os()(t,K6)>=os()(n,K6)};function X6(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var $6=Al()([[PS()(String),Wr()],[Wo(),Hr()(void 0)],[lb()("displayName"),Un()("displayName")],[lb()("name"),Un()("name")],[db(),Hr()("Component")]]),Q6=qa()(["enableClickOutside","hideScroll","onClickOutside","preventDefault","stopPropagation"]),J6=function(e){ut(n,e);var t=X6(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).onBodyMouseDownDelegate=r.onBodyMouseDown.bind(it(r)),r.onBodyClickDelegate=r.onBodyClick.bind(it(r)),r.addDomEvents(),r}return rt(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 m.createElement(e,Q6(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,v.findDOMNode)(this);return t&&!this.cancel&&null!==n&&n!==e&&!n.contains(e)}}]),n}(m.Component);J6.defaultProps={onClickOutside:Hr()(),preventDefault:!0,stopPropagation:!0};var e4=J6.prototype;gt()(e4,{addDomEvents:la()(e4.setupDomEvents,[!0]),removeDomEvents:la()(e4.setupDomEvents,[!1])});var t4=function(e){return function(t){ut(r,t);var n=X6(r);function r(){return et(this,r),n.apply(this,arguments)}return rt(r,[{key:"Child",get:function(){return e}}],[{key:"displayName",get:function(){return"ClickableOutside(".concat($6(e),")")}}]),r}(J6)},n4=t4("div"),r4=(t4("span"),t4("form"),["active","align","children","className","onClose","role","slideIn"]);function i4(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}function o4(e,t){var n=void 0!==ct()&&br()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return a4(e,t);var r=wr()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Er()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a4(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 a4(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 s4=cL("bc-dropdown"),u4=new(R_()),l4=function e(t){return null==t?0:t.offsetLeft+e(t.offsetParent)},c4=rX()((function(){var e,t=o4(U_()(u4).call(u4));try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(e){t.e(e)}finally{t.f()}}),250);window.addEventListener("resize",c4),window.addEventListener("orientationchange",c4);var d4=function(e){ut(n,e);var t=i4(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).posRef=m.createRef(),r.update(r.props),r}return rt(n,[{key:"componentDidUpdate",value:function(e){this.update(this.props,e)}},{key:"componentWillUnmount",value:function(){u4.delete(this)}},{key:"fitOnScreen",value:function(){var e=this.props.fit,t=this.posRef.current;if(e&&null!=t){gt()(t.style,{left:"",right:""});var n=Cr(l4(t)+t.offsetWidth-window.innerWidth+20>0?["auto","0"]:["",""],2),r=n[0],i=n[1];gt()(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=Wi(e,r4),c=s4("pos",{inactive:!t,active:t,left:"right"!==n,right:"right"===n}),d=s4({inactive:!t,active:t,alignLeft:"left"===n,alignCenter:"center"===n,alignRight:"right"===n,slideIn:u,inPlace:!u});return m.createElement("div",{className:i||s4("wrap")},m.createElement("div",{ref:this.posRef,className:c},m.createElement(n4,yt({"aria-hidden":!t,className:d,enableClickOutside:t,onClickOutside:o,role:s},qa()(["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?u4.set(this,this.fitOnScreen.bind(this)):!t&&r&&u4.delete(this)}}]),n}(m.Component);gt()(d4.prototype,{componentDidMount:d4.prototype.fitOnScreen,componentDidUpdate:d4.prototype.fitOnScreen}),d4.defaultProps={align:"center"};var f4=cL("breadcrumb"),p4=function(){return m.createElement("span",{className:f4("caret")},m.createElement(vC,null))},h4=["menu"],m4=function(e){var t=e.menu,n=Wi(e,h4);return m.createElement(t,da()(["category","depth","id","isDeleted","type","effectiveRole"],n))},v4=cL("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=Wo()(i),d=function(e){var t=e.allowViewer,n=e.effectiveRole,r=e.id,i=e.type;return Wo()(r)||!("shared"===i)||Z6({effectiveRole:n,requiredRole:t?G6:Y6})}({allowViewer:n,effectiveRole:r,id:i,type:l}),f=(0,m.useCallback)((function(e){d&&a(e)}),[d,a]),p=(0,m.useCallback)((function(e){13===e.keyCode&&f(e)}),[f]),h={className:v4({active:t,root:(c||"deleted"===i)&&t,disabled:!d}),onClick:f,onKeyPress:p,role:"listitem","aria-current":t?"page":null};return m.createElement("li",h,m.createElement("span",{className:v4("label")},o),u&&t&&m.createElement(m4,e),s&&!t&&m.createElement(p4,null))}).defaultProps={allowViewer:!1};So()(i1());var g4=__webpack_require__(51010),y4=__webpack_require__.n(g4),b4=function(e,t){return e&t?3&e:0},_4=function(e){return function(t){13===t.keyCode&&e()}},w4=(Hr()(),$a()(Wo())),k4=$a()(Ra()),E4=_l()(w4,k4),x4=(Uo()(Wo(),Ra()),cL("folder-tree")),S4=function(e){var t=e.isOpen,n=e.onFolderToggle,r=x4("folder","caret",{open:t}),i={className:x4("folder","caretWrap").toString(),onClick:n,onKeyPress:_4(n),role:"button"};return m.createElement("div",yt({},i,{"data-ba":TF.folderTree.caret}),m.createElement("div",{className:r}))},T4=cL("folder-tree"),C4=function(e){var t=e.active,n=e.category,r=e.itemId,i=e.menu,o=e.setMenuActive,a=e.type,s=(0,m.useMemo)((function(){return t===r}),[t,r]),u=T4("folderOptions",{active:s}),l=(0,m.useCallback)((function(){return o(!1)}),[o]),c=(0,m.useCallback)((function(){return o(!0)}),[o]);return m.createElement("div",{className:u},m.createElement(i,{category:n,className:T4("folderMenu").toString(),id:r,onClose:l,onOpen:c,type:a}))},A4=cL("folder-tree"),O4=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,v=Cr((0,m.useState)(!1),2),g=v[0],y=v[1],b=Boolean(f)&&"folder"===c,_=(0,m.useMemo)((function(){return t===l}),[t,l]),w=eC()(i,A4("folder",{active:_,forceHover:s,hideCaret:!u,dndEnabled:b}).toString(),Ar({},n,_));return m.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&&m.createElement("div",{className:A4("folder","drop-mask"),onDragOver:function(e){e.preventDefault()},onDrop:function(e){y(!1),null==f||f(e)},onDragLeave:function(){return y(!1)}}),r)},N4=cL("folder-tree"),P4=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=Cr((0,m.useState)(!1),2),c=l[0],d=l[1],f=u.id,p=u.title,h=u.icon,v=(0,m.useCallback)((function(){return a(u)}),[a,u]),g=(0,m.useCallback)(_4(v),[v]),y=(0,m.useCallback)(null==o?void 0:o(f),[o,f]),b=da()(["active","activeClassName","className"],e),_=da()(["active","activeClassName","category","className","menu","type"],e);return m.createElement(O4,yt({},b,{"data-ba":TF.folderTree.rootFolder,"data-ba-name":p,forceHover:c,hasItems:!Ra()(n),itemId:f,itemType:"folder",onClick:v,onDrop:y,onKeyPress:g}),m.createElement(S4,{isOpen:r,onFolderToggle:s}),h&&m.createElement("div",{className:N4("folderIcon")},h),m.createElement("div",{className:N4("folderNameWrap")},m.createElement("div",{className:N4("folderName")},p)),!t&&i&&m.createElement(C4,yt({},_,{itemId:f,setMenuActive:d})))},L4=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return de()(Sa()(Hr()(t),n_()(bi()("deleted",!0))),si()(bi()("folderId",e)))},M4=function(e,t,n){return function(r){de()(n,O$()([e]))(t),r.stopPropagation()}},I4=function(e,t,n){return function(r){de()(n,gO()(e))(t),r.stopPropagation()}},R4=function(e){var t=e||[],n=t.effectiveRole,r=function(e){return{editor:Z6({effectiveRole:e,requiredRole:Y6}),manager:Z6({effectiveRole:e,requiredRole:W6}),owner:Z6({effectiveRole:e,requiredRole:V6})}}(t.type!==j5?V6: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}},D4=cL("folder-tree"),q4=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,v=t.setOpenFolders,g=t.showItems,y=s.id,b=s.title,_=s.subfolders,w=s.type,k=Cr((0,m.useState)(!1),2),E=k[0],x=k[1],S=Cr((0,m.useState)(m_()(h).call(h,y)),2),T=S[0],C=S[1];(0,m.useEffect)((function(){C(m_()(h).call(h,y))}),[y,h]);var A=(0,m.useCallback)(M4(y,h,v),[y,h,v]),O=(0,m.useCallback)(I4(y,h,v),[y,h,v]),N=(0,m.useCallback)((function(){return"folder"===l?f(s):p(s)}),[s,f,p,l]),P=(0,m.useCallback)(R4(s).canCreate?null==d?void 0:d(s.id):null,[s,d]),L=g?L4(y)(u):[],M=(0,m.useMemo)((function(){return"".concat(21*(o+2),"px")}),[o]),I=(0,m.useMemo)((function(){return T?A:O}),[T,A,O]),R=D4("folderWrap",{open:T}),D=E4(_)||E4(L),q=(0,m.useCallback)(_4(N),[_4,N]),j="team"===w?eA:DC,B=da()(["active","activeClassName","className"],t),F=da()(["active","activeClassName","category","className","menu","type"],t),U=da()(["active","activeClassName","category","className","disableRootMenu","folders","id","items","itemIcon","menu","onDrop","onFolderClick","onItemClick","openFolders","root","setOpenFolders","showItems","type"],t);return m.createElement("div",{id:_t()(n="".concat(r,"-qbf-")).call(n,y),key:y,className:R,"data-ba-name":b,"data-ba":TF.folderTree.item},m.createElement(O4,yt({},B,{forceHover:E,hasItems:D,itemId:y,itemType:l,onClick:N,onKeyPress:q,paddingLeft:M,onDrop:P}),m.createElement(S4,{isOpen:T,onFolderToggle:I}),m.createElement("div",{className:D4("folderIcon").toString()},"folder"===l?m.createElement(j,{"data-ba":TF.folderTree.icon}):m.createElement(a,{"data-ba":TF.folderTree.icon})),m.createElement("div",{className:D4("folderNameWrap").toString()},m.createElement("div",{className:D4("folderName").toString()},b)),c&&m.createElement(C4,yt({},F,{itemId:y,setMenuActive:x}))),_&&Ca()(_).call(_,(function(t){return m.createElement(e,yt({key:t.id},U,{item:t,index:o+1,itemType:"folder"}))})),L&&Ca()(L).call(L,(function(t){return m.createElement(e,yt({key:t.id},U,{item:t,index:o+1,itemType:"item"}))})))},j4=cL("folder-tree"),B4=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,m.useMemo)((function(){return H6(t)}),[t]),l=(0,m.useMemo)((function(){return function(e){var t=B6(e,gi()("id"));return si()((function(e){return null===e.folderId||!qn()(e.folderId,t)}))}(t)(r)}),[t,r]),c=Cr((0,m.useState)(m_()(i).call(i,"root")),2),d=c[0],f=c[1],p=s?L4(n)(r):[];(0,m.useEffect)((function(){f(m_()(i).call(i,"root"))}),[i]);var h=(0,m.useCallback)(M4("root",[],a),[n,i,a]),v=(0,m.useCallback)(I4("root",i,a),[p,n,i,a]),g=j4("folderWrap",{open:d}),y=da()(["active","activeClassName","category","className","disableRootMenu","folders","id","items","itemIcon","menu","onDrop","onFolderClick","onItemClick","openFolders","root","setOpenFolders","showItems","type"],e);return m.createElement("div",{id:"".concat(n,"-qbf-root"),className:g},o&&m.createElement(P4,yt({onFolderToggle:d?h:v,isOpen:d},y)),Ca()(u).call(u,(function(e){return m.createElement(q4,yt({key:e.id},y,{item:e,itemType:"folder"}))})),s&&l&&Ca()(l).call(l,(function(e){return m.createElement(q4,yt({key:e.id},y,{item:e,itemType:"item"}))})))},F4=(0,m.memo)(B4),U4=b().shape({id:b().string.isRequired,folderId:b().string,title:b().string}),z4=b().shape({id:b().string.isRequired,parentId:b().string,title:b().string,type:b().oneOf(["team","personal"])}),H4=(b().shape({id:b().string,title:b().string.isRequired,icon:b().node}),b().any,b().oneOf(["team","personal"]),b().string,b().string,b().string,b().bool,b().arrayOf(z4).isRequired,b().string.isRequired,b().arrayOf(b().string),b().arrayOf(U4),b().elementType,b().elementType,b().func,b().func.isRequired,b().func,b().bool,b().func,b().bool,b().oneOf(["team","personal"]),b().bool,cL("folder-tree")),V4=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=CN()(bi()("id",t),n);return void 0===o?[]:e(o.parentId,n,_t()(r=[o]).call(r,Tl(i)))},W4=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=Cr((0,m.useState)(l?i:[]),2),d=c[0],f=c[1],p=u===n&&t,h=(0,m.useMemo)((function(){return p}),[p]),v=Cr((0,m.useState)(!1),2),g=v[0],y=v[1];(0,m.useEffect)((function(){s(a?"deleted":u,d)}),[a,d,s,u]);var b=o?V4(h,r):[];(0,m.useEffect)((function(){y(!1)}),[h]),(0,m.useEffect)((function(){var e;o&&!g&&(de()(f,(e=gi()("id",r),si()((function(t){return"root"===t||m_()(e).call(e,t)}))),KT(),Sa()((function(e){return e.length>0}),gO()("root")),li(),Bn()(gO())(d),y4(),gi()("id"))(b),y(!0))}),[o,g,d,b,r,f]);var _=da()(["activeClassName","category","className","disableRootMenu","folders","id","items","itemIcon","menu","onDrop","onFolderClick","onItemClick","root","showItems","type"],e);return m.createElement("div",{className:H4("wrap")},m.createElement(F4,yt({},_,{active:h,openFolders:d,setOpenFolders:f})))};W4.defaultProps={initialFolders:["root"],items:[],openToActive:!1,reportOpenFolders:function(){},showItems:!1,viewingTree:!0};cL("folder"),cL("folder-list");var Y4=__webpack_require__(78045),G4=__webpack_require__.n(Y4),K4=__webpack_require__(33367),Z4=__webpack_require__.n(K4),X4=["children","enableHover"];function $4(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$4(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):$4(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function J4(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var e5=cL("table"),t5=[1,2],n5=Un()("sortable"),r5=_l()(n5,bi()("sortDirection",1)),i5=_l()(n5,bi()("sortDirection",2)),o5=_l()(n5,de()(Un()("hover"),Z4()(1))),a5=Al()([[r5,Hr()("ascending")],[i5,Hr()("descending")],[db(),Hr()("none")]]),s5=pa()(os()(Ua(),t5),Gr()(Ma()(t5.length-1),Hr()(0),Rs()),Un()(Ua(),t5)),u5=qa()(["onSort","sortable","sortDirection","sortKey","className"]),l5=function(e){return m.createElement("table",yt({className:"table"},e))},c5=function(e){ut(n,e);var t=J4(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).onMouseOverDelegate=r.onMouseOver.bind(it(r)),r.onMouseOutDelegate=r.onMouseOut.bind(it(r)),r.renderChildDelegate=r.renderChild.bind(it(r)),r.state={hoverIndex:-1},r}return rt(n,[{key:"onMouseOver",value:function(e){var t=e.currentTarget.children,n=e.target,r=ts()((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=Wi(e,X4),i=n?this.onMouseOutDelegate:void 0,o=n?this.onMouseOverDelegate:void 0,a=Q4(Q4({},r),{},{onMouseOut:i,onMouseOver:o});return m.createElement("tbody",a,Ca()(m.Children).call(m.Children,t,this.renderChildDelegate))}},{key:"renderChild",value:function(e,t){return(0,m.cloneElement)(e,{hover:t===this.state.hoverIndex})}}]),n}(m.Component),d5=function(e){return m.createElement("td",yt({className:eC()(e5("cell").toString(),e5("td").toString(),e.className)},qa()(["className"],e)))},f5=function(e){ut(n,e);var t=J4(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).state={hover:!1},r.onClickDelegate=r.onClick.bind(it(r)),r.onMouseEnterDelegate=r.onMouseEnter.bind(it(r)),r.onMouseLeaveDelegate=r.onMouseLeave.bind(it(r)),r}return rt(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=s5(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=eC()(n,e5("cell").toString(),e5("thcol",{ascHover:_l()(o5,r5)(this.props),descHover:_l()(o5,i5)(this.props),hover:o5(this.props),asc:r5(this.props),desc:i5(this.props),sortable:n5(this.props)}).toString());return m.createElement("th",yt({"aria-sort":a5(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},u5(this.props)))}}]),n}(m.Component);f5.defaultProps={sortable:!1,sortDirection:0,onSort:Hr()()},gt()(f5.prototype,{onMouseEnter:la()(f5.prototype.onMouse,[!0]),onMouseLeave:la()(f5.prototype.onMouse,[!1])});var p5=function(e){return m.createElement("thead",e)},h5=function(e){return m.createElement("tr",e)},m5=cL("question-bank-list"),v5=xl()("",["links","micro"]),g5=function(e){var t,n=e.profile,r=e.updateCol;if(!n)return m.createElement("span",null,"Loading...");var i=_t()(t="".concat(n.firstName," ")).call(t,n.lastName),o=v5(n);return m.createElement("div",{className:m5("avatar")},r&&m.createElement("span",null,"Updated by: "),m.createElement("span",{className:m5("avatar","icon"),style:{backgroundImage:"url(".concat(o,")")}}),m.createElement("span",{className:m5("avatar","name")},i))},y5=function(e,t){return t[e]},b5=cL("question-bank-list"),_5=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,v=l.lastEditedBy,g=l.questions,y=l.title,b=l.updatedAt,_=y5(f,u),w=y5(v,u),k=(0,m.useCallback)((function(){return s(l)}),[s,l]),E=lb()(h,o),x=e5("tr",{active:t===h,deleted:p}),S=w5(b);return m.createElement(h5,{className:x,key:i,onClick:p?null:k},m.createElement(d5,null,m.createElement("div",{className:b5("title")},m.createElement("span",{className:b5("titleText")},y),E&&m.createElement(k5,null))),m.createElement(d5,{className:b5("colQuestions").toString()},r(g.length)),n&&m.createElement(d5,{className:b5("colOwner").toString()},m.createElement(g5,{profile:_})),m.createElement(d5,{className:b5("colUpdated").toString()},w&&"team"===d?c(S,m.createElement(g5,{profile:w,updateCol:!0})):S),m.createElement(d5,{className:b5("menuTd").toString()},a&&m.createElement(E5,yt({isLocked:E},e,l))))},w5=function(e){return fL()(e).format("M/D/YY @ h:mma")},k5=function(){return m.createElement("div",{className:b5("editing"),"data-testid":"editing"},m.createElement("span",{className:b5("editingIcon")},m.createElement(uC,null)),"Editing")},E5=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,m.useCallback)((function(){return s(null)}),[s]),c=(0,m.useCallback)((function(){return s(r)}),[r,s]);return m.createElement("div",{className:b5("menuWrap")},m.createElement(o,{authorId:a.authorId,category:"questionBanks",className:eC()(b5("menu").toString(),e5("menu").toString()),effectiveRole:n,id:r,isDeleted:t,isLocked:i,onClose:l,onOpen:c,type:u,scrollableAreaSelector:".question-banks"}))};_5.defaultProps={locks:{}};var x5=_5,S5=__webpack_require__(47648),T5=__webpack_require__.n(S5),C5=function(e){var t=e.columns.title,n=T5()(e),r=e.setSort,i={className:e5("th").toString(),onSort:r,sortDirection:b4(n,4),sortKey:4,sortable:!0};return m.createElement(f5,i,t)},A5=Po()("queston-bank-list__"),O5=function(e){var t=e.columns.owner,n=T5()(e),r=e.setSort,i={className:eC()(e5("th").toString(),A5("colOwner")),onSort:r,sortDirection:b4(n,16),sortKey:16,sortable:!0};return m.createElement(f5,i,t)},N5=cL("question-bank-list"),P5=function(e){var t=e.columns.lastUpdated,n=T5()(e),r=e.setSort,i={className:eC()(e5("th").toString(),N5("colUpdated").toString()),onSort:r,sortDirection:b4(n,8),sortKey:8,sortable:!0};return m.createElement(f5,i,t)},L5=cL("question-bank-list"),M5=function(e){var t=Cr((0,m.useState)(null),2),n=t[0],r=t[1],i=Cr((0,m.useState)(5),2),o=i[0],a=i[1],s=e.columns.questions,u=e.displayOwnerColumn,l=e.label,c=e.profiles,d=R5(e.questionBanks,c,o);return m.createElement("div",{className:L5()},m.createElement("div",{className:L5("label")},l),m.createElement(l5,null,m.createElement("colgroup",null,m.createElement("col",null),m.createElement("col",{className:L5("colQuestions")}),u&&m.createElement("col",{className:L5("colOwner")}),m.createElement("col",{className:L5("colUpdated")}),m.createElement("col",{className:L5("colMenu")})),m.createElement(p5,{className:e5("thead").toString()},m.createElement(h5,null,m.createElement(C5,yt({sort:o,setSort:a},e)),m.createElement(f5,{className:e5("th").toString()},s),u&&m.createElement(O5,yt({sort:o,setSort:a},e)),m.createElement(P5,yt({sort:o,setSort:a},e)),m.createElement(f5,null))),m.createElement(c5,null,Ca()(d).call(d,(function(t,i){var o;return m.createElement(x5,yt({key:_t()(o="".concat(i,"-")).call(o,t.id),index:i,row:t,active:n,setActive:r},e))})))))},I5=function(e){return pa()(Un()("authorId"),Un()(Ua(),e),sO()([Un()("firstName"),Un()("lastName")]),ZA()(" "))},R5=function(e,t,n){switch(n){case 5:return mJ()(pJ()(de()(fo(),Un()("title"))),e);case 6:return mJ()(G4()(de()(fo(),Un()("title"))),e);case 9:return mJ()(pJ()(Un()("updatedAt")),e);case 10:return mJ()(G4()(Un()("updatedAt")),e);case 17:return mJ()(pJ()(I5(t)),e);case 18:return mJ()(G4()(I5(t)),e);default:return e}};M5.defaultProps={hasDropdownMenu:!0};var D5,q5=(Ar(D5={},yA.FILL_IN_THE_BLANK,"fillin"),Ar(D5,yA.MATCHING,"matching"),Ar(D5,yA.MULTIPLE_CHOICE,"multiple choice"),Ar(D5,yA.MULTIPLE_RESPONSE,"multiple response"),D5),j5="team",B5=function(e){var t=e.drawCount,n=e.questions,r=e.drawnQuestions,i=void 0===r?[]:r;if(i.length===t)return null;return de()(Ex()("index",(function(e){return ts()(bi()("id",e.id),n)})),(function(e){return e[Math.floor(Math.random()*e.length)]}),n_()(O_()(Bn()(qn())(i),"id")))(n)},F5=function(e){return Co()("audioVideoPlayhead",e)},U5=function(e){var t=e.blockId,n=e.itemId,r=e.playheadPercentage;return t?sa()(Jo()(["items",t,"items",n]),F5(r)):F5(r)},z5=function(e){var t=e.blockId,n=e.lessonId,r=e.itemId,i=e.playheadPercentage;return rl({id:n,updateFn:U5({blockId:t,lessonId:n,itemId:r,playheadPercentage:i})})},H5=__webpack_require__(67294);function V5(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function W5(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V5(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):V5(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var Y5=CF,G5=["timeline"],K5="draw from question bank",Z5=function(e){var t=e.animateBlockEntrance,n=e.block,r=e.color,i=e.courseId,o=e.courseTitle,a=e.enableVideoPlaybackSpeed,s=e.handleNavigate,u=e.handleStorylineFullscreen,l=e.index,c=e.isFirstLesson,d=e.labels,f=e.lessonId,p=e.lessonProgress,h=e.loadMedia,v=e.match,g=e.menuOpen,y=e.onContinue,b=e.partnerContent,_=e.prefersKeyboardNavigation,w=e.previewType,k=e.publishedAt,E=e.tenantId,x=n.blockId,S=n.family,T=n.items,C=n.variant,A="block-".concat(x),O=Ge(),N=function(e,t){var n=(0,m.useMemo)((function(){return GP()}),[]);return Jt((function(r){return n(e,t,r)}))}(f,x),P=Cr((0,m.useState)({}),2),L=P[0],M=P[1],I=(0,m.useCallback)((function(e){var t=C===K5?T[0]:CN()(bi()("id",e),T);O(ru({id:x,lessonId:f,items:[t]})),"continue"===S&&y(x,e)}),[x,O,S,T,f,y,C]),R=(0,m.useCallback)((function(){return O(ru({id:x,lessonId:f,items:T}))}),[x,O,T,f]),D=(0,m.useCallback)((function(e){var t,n=null==T||null===(t=T[0])||void 0===t?void 0:t.id;n&&O(z5({blockId:x,itemId:n,lessonId:f,playheadPercentage:e}))}),[x,O,f,T]),q=yo()(qa()(["type"],n),{animateBlockEntrance:t,color:r,courseId:i,courseTitle:o,dividerNumber:N,enableVideoPlaybackSpeed:a,family:S,handleNavigate:s,handleStorylineFullscreen:u,isLearner:!0,labels:d,lessonId:f,loadMedia:h,match:v,menuOpen:g,partnerContent:b,prefersKeyboardNavigation:_,previewType:w,progress:p,publishedAt:k,recordMediaPlayheadPosition:D,tenantId:E});if("knowledgeCheck"===S&&C===K5){var j=L[x],B=null,F=T[0];if(!j&&F.questions?(B=B5(F),M(W5(W5({},L),{},Ar({},x,B)))):B=j,B&&(q.originalVariant=q.variant,q.variant=q5[B.type],q.items=[B]),!B)return H5.createElement("div",null)}var U=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))&&!m_()(G5).call(G5,n)}({family:S,variant:C}),z=U?L6:O6;return H5.createElement("div",{className:"noOutline","data-ba-index":l,"data-ba":Y5.block,"data-block-id":x,key:A},H5.createElement(z,{isFirstLesson:c,onStep:I,onViewed:R},H5.createElement(T6,q)))};function X5(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var $5=AF,Q5=function(e){ut(n,e);var t=X5(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).state={randomQuestions:{},transitioning:!1},r.onRestartClick=r.onRestartClick.bind(it(r)),r.handleContinue=r.handleContinue.bind(it(r)),r}return rt(n,[{key:"componentDidUpdate",value:function(){this.scrollIfContinued()}},{key:"onRestartClick",value:function(){var e;this.state.transitioning||(this.setState({transitioning:!0}),null===(e=this.props.history)||void 0===e||e.push("/"))}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.lessonProgress,r=e.isOnePage,i=e.isSlidesMode,o=e.sectionRef,a=eC()("blocks-lesson",t,{"blocks-lesson--one-page":r}),s=null==n?void 0:n.isComplete;return m.createElement("section",{className:a,"data-ba":$5.container,ref:o},this.renderBlocks(),r&&!i&&s&&m.createElement(_W,{onClick:this.onRestartClick}))}},{key:"renderBlocks",value:function(){var e,t;return dr()(e=Ca()(t=SW([],this.props.blocks,this.props.lessonProgress)).call(t,this.buildBlock.bind(this,this.props.lessonProgress))).call(e,gW)}},{key:"handleContinue",value:function(e,t){var n=this.props,r=n.blocks,i=n.history,o=n.lessonProgress,a=n.nextLesson;TW(t,o)||(this.continueFromId=e),pa()(Ll(),bi()("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,v=i.match,g=i.menuOpen,y=i.partnerContent,b=i.prefersKeyboardNavigation,_=i.previewType,w=i.publishedAt,k=i.tenantId,E=OW(t,wr()(r).call(r,0,-1),e);return m.createElement(Z5,{animateBlockEntrance:o,block:E,color:a,courseId:s,courseTitle:u,enableVideoPlaybackSpeed:l,handleNavigate:c,handleStorylineFullscreen:d,index:n,isFirstLesson:!0,key:E.blockId,labels:f,lessonId:p,lessonProgress:e,loadMedia:h,match:v,menuOpen:g,onContinue:this.handleContinue,partnerContent:y,prefersKeyboardNavigation:b,previewType:_,publishedAt:w,tenantId:k})}},{key:"scrollIfContinued",value:function(){if(this.continueFromId){var e=this.props.blocks,t=ts()(bi()("id",this.continueFromId),e),n=Rs()(t),r=xl()(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;zV.ZP.animateScroll.scrollTo(a+i.scrollTop,{smooth:!0,containerId:"page-wrap"})}delete this.continueFromId}}}]),n}(m.Component),J5=de()(re,Qt((function(e){return{isOnePage:yN(e)}}))),e9=J5(Q5),t9=__webpack_require__(67294),n9=cL("page"),r9=function(e){var t=e.type,n=e.children;return t9.createElement("div",{className:n9({lessonTypeQuiz:"quiz"===t}),"data-type":t,"data-page":!0},n)},i9=function(e){var t=e.type,n=e.children,r="video"===t||"embed"===t||"blocks"===t||"progress-summary"===t,i=eC()("page__wrapper",{"page__wrapper--white":r});return t9.createElement("div",{className:i},n)},o9=function(e){var t=e.type,n=e.children,r=eC()("page__content",{"page__content--timeline":"timeline"===t});return t9.createElement("div",{className:r},n)},a9=__webpack_require__(67294);function s9(e){var t=e.children,n=(0,m.useRef)(),r=ZP(),i=(0,m.useCallback)((function(){var e,t;null===(e=n.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);return QI(fU,i,document),a9.createElement("main",{"aria-label":null==r?void 0:r.a11yRegionMainLesson,className:"lesson-main",ref:n,tabIndex:"-1"},t)}var u9=__webpack_require__(73969),l9=__webpack_require__(98114),c9=__webpack_require__(38324);function d9(){return Jt((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:HO}(e)}))}var f9=__webpack_require__(67294),p9=cL("blocks-lesson-slide"),h9="#fff",m9=function(e,t){var n,r=e.animateBlockEntrance,i=e.color,o=e.courseId,a=e.courseTitle,s=e.enableVideoPlaybackSpeed,u=e.handleNavigate,l=e.handleStorylineFullscreen,c=e.isFirstLesson,d=e.isSlidesMode,f=e.labels,p=e.lessonId,h=e.lessonProgress,v=e.loadMedia,g=e.menuOpen,y=e.nextLesson,b=e.onContinue,_=e.partnerContent,w=e.prefersKeyboardNavigation,k=e.previewType,E=e.publishedAt,x=e.slide,S=e.transitionState,T=e.tenantId;(0,m.useImperativeHandle)(t,(function(){return C.current}));var C=(0,m.useRef)(),A=d9(),O=Jt((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)})),N=_t()(n="".concat(S,"-")).call(n,A),P=p9("wrapper",{exiting:"exiting"===S}),L=x.blocks,M=x.lastBlock,I=(0,m.useCallback)((function(e){e===(null==M?void 0:M.id)&&b()}),[M,b]),R=p9("inner",Ar({},N,!0)),D=(0,m.useCallback)((function(e){var t;if((null==e||null===(t=e.settings)||void 0===t?void 0:t.backgroundMode)===iV.COLOR){var n=e.settings,r=n.backgroundColor;return lV({backgroundMode:n.backgroundMode,backgroundColor:r,courseColor:i})}return h9}),[i]),q=(0,m.useMemo)((function(){return D(x.blocks[0])}),[D,x]),j=(0,m.useMemo)((function(){return D(x.blocks[x.blocks.length-1])}),[D,x]),B=p9("lesson",{slides:d}).toString();return f9.createElement("div",{className:P,style:{top:O}},f9.createElement("div",{className:R},f9.createElement("div",{className:p9("background-top"),style:{backgroundColor:q}}),f9.createElement("div",{className:p9("background-bottom"),style:{backgroundColor:j}}),f9.createElement("div",{className:B,ref:C},Ca()(L).call(L,(function(e,t){return f9.createElement(Z5,{animateBlockEntrance:r,block:e,blocks:x,color:i,courseId:o,courseTitle:a,defaultBackgroundColor:h9,enableVideoPlaybackSpeed:s,handleNavigate:u,handleStorylineFullscreen:l,index:t,isFirstLesson:c,isSlidesMode:d,key:e.blockId,labels:f,lessonId:p,lessonProgress:h,loadMedia:v,menuOpen:g,nextLesson:y,onContinue:I,partnerContent:_,prefersKeyboardNavigation:w,previewType:k,publishedAt:E,tenantId:T})})))))},v9=(0,m.forwardRef)(m9),g9=__webpack_require__(32250),y9=__webpack_require__.n(g9),b9=__webpack_require__(70902),_9=__webpack_require__(67294),w9=cL("blocks-slide-indicator"),k9=function(e,t){var n=e.active,r=e.onClick,i=e.slideIndex,o=bN()===hS.NUMBERS,a=i+1,s=(0,m.useCallback)((function(){return r(i)}),[r,i]),u=w9("wrapper"),l=w9("button",{active:n,number:o}),c=w9("circle",{active:n}),d=w9("number",{active:n}),f=o?_9.createElement("span",{"aria-hidden":"true",className:d},a):_9.createElement(gC,{className:c});return _9.createElement("li",{className:u,ref:t,role:"listitem"},_9.createElement("button",{className:l,onClick:s,type:"button"},f,_9.createElement("span",{className:"visually-hidden-always"},"Slide ",a),n&&_9.createElement("span",{className:"visually-hidden-always"},"(current)")))},E9=(0,m.forwardRef)(k9),x9=["tablet-portrait","tablet-landscape","mobile-portrait","mobile-landscape"],S9=function(e){return m_()(x9).call(x9,e)},T9=__webpack_require__(67294),C9=cL("blocks-slide-controls"),A9=function(e){var t=e.activeSlideIndex,n=e.numberOfSlides,r=e.onSlideClick,i=e.previewType,o=(0,m.useRef)(),a=(0,m.useRef)(),s=Cr((0,m.useState)(!1),2),u=s[0],l=s[1],c=Cr((0,m.useState)(!1),2),d=c[0],f=c[1];(0,m.useEffect)((function(){var e=o.current,t=a.current;if(e&&t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=n.bottom-38,s=n.top+38;r.bottom>i?e.scrollBy({top:r.bottom-i,left:0,behavior:"smooth"}):r.top<s&&e.scrollBy({top:r.top-s,left:0,behavior:"smooth"})}}),[t]);var p=(0,m.useCallback)((function(){var e=o.current;e&&(l(e.scrollTop>8),f(e.clientHeight+e.scrollTop<e.scrollHeight))}),[]);(0,b9.Z)(p);var h=(0,m.useCallback)(s$()(p,100),[p]);XU(o.current,p);var v=C9("slide-controls",{hidden:S9(i)});return T9.createElement("div",{className:v},T9.createElement("div",{className:C9("page-control-wrapper")},T9.createElement("div",{className:C9("page-control-inner-wrapper")},T9.createElement("div",{className:C9("page-control"),onScroll:h,ref:o},T9.createElement("ol",{className:C9("slide-dot-wrapper"),role:"list"},y9()((function(e){var n=e===t;return T9.createElement(E9,{active:n,key:e,onClick:r,ref:n?a:null,slideIndex:e})}),n))),T9.createElement("div",{className:C9("overlay-top",{visible:u})}),T9.createElement("div",{className:C9("overlay-bottom",{visible:d})}))))},O9=__webpack_require__(67294),N9=cL("slide-navigation-button"),P9=function(e){var t=e.ariaLabel,n=e.children,r=e.className,i=e.onClick,o=e.previewType,a=N9("button",{"touch-preview":S9(o)}).mix(r);return O9.createElement("button",{"aria-label":t,className:a,onClick:i,type:"button"},O9.createElement("div",{className:N9("icon-wrapper")},n))},L9=__webpack_require__(67294),M9=cL("slides-restart-button"),I9=function(e){var t=e.onClick,n=e.previewType,r=Cr((0,m.useState)(),2),i=r[0],o=r[1];(0,b9.Z)((function(){return o(!0)}));var a=M9("button",{mounted:i,"touch-preview":S9(n)});return L9.createElement("button",{"aria-label":"Restart",className:a,onClick:t,type:"button"},L9.createElement("div",{className:M9("icon-wrapper")},L9.createElement(QC,{className:M9("restart-icon")})))},R9=matchMedia("(prefers-reduced-motion)");function D9(){return R9.matches}var q9=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e3,i=(0,m.useState)(!1),o=Cr(i,2),a=o[0],s=o[1],u=(0,m.useState)(),l=Cr(u,2),c=l[0],d=l[1],f=(0,m.useCallback)((function(){clearTimeout(c);var e=setTimeout((function(){return s(!1)}),r);d(e)}),[c,r]),p=(0,m.useCallback)((function(e){if(0===e.deltaMode){var r=Math.abs(e.deltaY);if(a)r<50?(clearTimeout(c),s(!1)):f();else if(r>100){var i=e.deltaY>0?n:t;s(!0),f(),i()}}}),[f,a,n,t,c]);(0,m.useEffect)((function(){if(e&&t&&n)return e.addEventListener("wheel",p,{passive:!0}),function(){return e.removeEventListener("wheel",p,{passive:!0})}}),[n,t,p,e])},j9=__webpack_require__(67294),B9=["blocks"],F9=cL("blocks-lesson-slides"),U9="top",z9="middle",H9="bottom",V9=".page-wrap",W9=function(){var e,t;null===(e=document.querySelector("main"))||void 0===e||null===(t=e.focus)||void 0===t||t.call(e,{preventScroll:!0})},Y9=function(e,t){var n=e.blocks,r=Wi(e,B9);(0,m.useImperativeHandle)(t,Function.prototype,[]);var i=(0,m.useRef)(),o=oe(),a=Ge(),s=Cr((0,m.useState)(0),2),u=s[0],l=s[1],c=Cr((0,m.useState)(!0),2),d=c[0],f=c[1],p=Cr((0,m.useState)(U9),2),h=p[0],v=p[1],g=Cr((0,m.useState)(),2),y=g[0],b=g[1],_=Cr((0,m.useState)(!1),2),w=_[0],k=_[1],E=r.lessonProgress,x=r.previewType,S=D9()?.01:600,T=(0,m.useMemo)((function(){var e;return Il(Ca()(e=SW([],n,E)).call(e,function(e){return function(t,n,r){return OW(t,wr()(r).call(r,0,-1),e)}}(E)),si()(gW),D6()(Un()("blockId")))}),[n,E]),C=(0,m.useCallback)((function(e){return pa()(si()((function(e){return T[e.id]})),di()((function(e){return yo()(e,T[e.id])})),(t=e,function(e){return{blocks:e,lastBlock:t[t.length-1]}}))(e);var t}),[T]),A=(0,m.useMemo)((function(){var e;return Ca()(e=function(e){return ma()(xW,{slides:[],currentSlide:[]},e).slides}(n)).call(e,C)}),[n,C]),O=A.length,N=A[u],P=S9(x),L=bN()!==hS.NONE;(0,c9.Z)((function(){var e=setTimeout((function(){return f(!1)}),S+100);b(e),W9()}),(function(){y&&(clearTimeout(y),b(void 0))}));var M=(0,m.useCallback)((function(e){var t,n,r,o=null!==(t=null===(n=i.current)||void 0===n||null===(r=n.getBoundingClientRect())||void 0===r?void 0:r.top)&&void 0!==t?t:0;a(XO(o)),l(e),document.querySelector(V9).scrollTop=0,setTimeout(W9,S)}),[a,S]),I=(0,m.useCallback)((function(){d||(f(!0),o.push("/"))}),[o,d]),R=(0,m.useCallback)((function(){d||(u>0?(a(ZO(VO)),M(u-1)):I())}),[M,a,u,d,I]),D=(0,m.useCallback)((function(){!d&&u<O-1&&(a(ZO(HO)),M(u+1))}),[M,a,O,u,d]),q=(0,m.useCallback)((function(e){e===u||d||(a(ZO(e<u?VO:HO)),M(e))}),[M,a,u,d]),j=(0,m.useCallback)((function(){return f(!0)}),[]),B=(0,m.useCallback)((function(){f(!1),k(!1)}),[]),F=(0,m.useCallback)((function(){var e,t,n,r,o=null!==(e=null===(t=document.querySelector(V9))||void 0===t?void 0:t.getBoundingClientRect().height)&&void 0!==e?e:0;return(null!==(n=null===(r=i.current)||void 0===r?void 0:r.getBoundingClientRect().height)&&void 0!==n?n:0)>o}),[]),U=(0,m.useCallback)((function(){P||(F()&&h!==U9||(0===u?I:R)())}),[F,P,R,h,u,I]),z=(0,m.useCallback)((function(){P||(F()&&h!==H9||D())}),[F,P,D,h]),H=(0,m.useCallback)((function(){w?k(!1):U()}),[w,U]),V=(0,m.useCallback)((function(){w?k(!1):z()}),[w,z]),W=(0,m.useCallback)((function(e){var t=document.querySelector("main");e.target===t&&R()}),[R]),Y=(0,m.useCallback)((function(e){var t=document.querySelector("main");e.target===t&&D()}),[D]);(0,l9.Z)("ArrowUp",Wr(),H),(0,l9.Z)("ArrowDown",Wr(),V),(0,l9.Z)("ArrowLeft",Wr(),W),(0,l9.Z)("ArrowRight",Wr(),Y);var G=(0,m.useCallback)((function(e){var t=e.target,n=t.scrollHeight,r=t.scrollTop,i=t.clientHeight,o=Math.round(n-r),a=o===n?U9:o===i?H9:z9;a!==h&&(v(a),k(!0))}),[h]);(0,u9.default)("scroll",G,document.querySelector(V9)),q9(document.querySelector(V9),U,z,S+100);var K=u===O-1;return j9.createElement(j9.Fragment,null,j9.createElement("main",{"aria-label":"Slide ".concat(u+1),tabIndex:"-1"},j9.createElement(Gt,null,j9.createElement(Zt,{key:u,mountOnEnter:!0,onExited:B,onExiting:j,timeout:S,unmountOnExit:!0},(function(e){return j9.createElement(v9,yt({},r,{onContinue:D,ref:i,slide:N,transitionState:e}))})))),j9.createElement("div",{"aria-label":"Slide controls",role:"region"},L&&j9.createElement(A9,{activeSlideIndex:u,numberOfSlides:O,onSlideClick:q,previewType:x}),j9.createElement(P9,{ariaLabel:"Previous Slide",className:F9("prev-button"),onClick:R,previewType:x},j9.createElement(sC,{className:F9("arrow-icon")})),!K&&j9.createElement(P9,{ariaLabel:"Next Slide",className:F9("next-button"),onClick:D,previewType:x},j9.createElement(iC,{className:F9("arrow-icon")})),K&&j9.createElement(I9,{onClick:I,previewType:x})))},G9=(0,m.forwardRef)(Y9),K9=__webpack_require__(67294),Z9=rS.TINT,X9=Qt((function(e){return{partnerContent:xl()([],["partnerContent","content"],e)}}))((function(e){var t=e.animateBlockEntrance,n=e.color,r=e.colorAccentTint,i=e.courseId,o=e.courseTitle,a=e.data,s=e.enableVideoPlaybackSpeed,u=e.handleNavigate,l=e.handleStorylineFullscreen,c=e.labels,d=e.lessonHeader,f=e.lessonHeaderStyle,p=e.lessonHasContinues,h=e.lessonHeaderWrapClasses,v=e.lessonProgress,g=e.loadMedia,y=e.match,b=e.menuButtons,_=e.menuOpen,w=e.nextComponent,k=e.nextLesson,E=e.partnerContent,x=e.prefersKeyboardNavigation,S=e.previewType,T=e.previousComponent,C=e.publishedAt,A=e.tenantId,O=a.id,N=a.items,P=a.settings,L=a.type,M=(null==P?void 0:P.playbackMode)===Lb,I=(0,m.useMemo)((function(){return!p||Un()("isComplete",v)}),[p,v]),R=(0,m.useMemo)((function(){return f===Z9?r:n}),[n,r,f]),D={animateBlockEntrance:t,blocks:N,color:n,courseId:i,courseTitle:o,enableVideoPlaybackSpeed:s,handleNavigate:u,handleStorylineFullscreen:l,isFirstLesson:!0,isSlidesMode:M,labels:c,lessonId:O,lessonProgress:v,loadMedia:g,match:y,menuOpen:_,nextLesson:k,partnerContent:E,previewType:S,prefersKeyboardNavigation:x,publishedAt:C,tenantId:A,type:L};return K9.createElement(r9,{type:L},T,K9.createElement(i9,{type:L},b,M?K9.createElement(o9,null,K9.createElement(G9,D)):K9.createElement(s9,null,K9.createElement("div",{className:h,style:{color:R}},d),K9.createElement(o9,null,K9.createElement(e9,D)))),I&&w)})),$9=__webpack_require__(67294);function Q9(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var J9=function(e){ut(n,e);var t=Q9(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).type=iZ(e.items),r.state={isLoaded:"video"!==r.type},r}return rt(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.id;"video"===this.type&&setTimeout((function(){e.setState({isLoaded:!0})}),800),sN(function(e){return function(t){return t(nl({id:e,updateFn:iu}))}}(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=Br()([0,"media","embed"],n),o=Br()([0,"settings","showMetaData"],n);return $9.createElement("section",{"aria-label":"URL/Embed Content",className:"embed-lesson"},$9.createElement("div",{className:"embed-lesson__item",key:t},$9.createElement("div",{className:"embed-lesson__row"},$9.createElement("div",{className:"embed-lesson__main"},$9.createElement(PZ,{data:i,isLesson:!0,labels:r,showMetaData:o})))))}}]),n}($9.Component),e8=(b().any,b().array,b().object,__webpack_require__(67294)),t8=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.menuButtons,d=e.nextComponent,f=e.previousComponent;return e8.createElement(r9,{type:o},f,e8.createElement(i9,{type:o},c,e8.createElement(s9,null,e8.createElement("div",{className:u,style:{color:t}},s),e8.createElement(o9,null,e8.createElement(J9,{id:r,items:i,labels:a,lessonProgress:l})))),d)},n8=__webpack_require__(67294);function r8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var i8=function(e){ut(n,e);var t=r8(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).onItemSelected=r.onItemSelected.bind(it(r)),r}return rt(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=eC()("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 n8.createElement("section",{"aria-label":"Labeled Graphic Content",className:"page__content"},n8.createElement("div",{className:c},n8.createElement(f0,d)))}},{key:"onItemSelected",value:function(e){var t=this.props.id;sN(function(e){var t=e.id,n=e.itemId;return function(e){return e(nl({id:t,updateFn:uu(n)}))}}({id:t,itemId:e}))}}]),n}(n8.Component),o8=__webpack_require__(67294),a8=function(e){var t=e.color,n=e.labels,r=e.lessonHeader,i=e.lessonHeaderWrapClasses,o=e.lessonProgress,a=e.menuButtons,s=e.nextComponent,u=e.previousComponent,l=e.data,c=l.id,d=l.items,f=l.media,p=l.type;return o8.createElement(r9,{type:p},u,o8.createElement(i9,{type:p},a,o8.createElement(s9,null,o8.createElement("div",{className:i,style:{color:t}},r),o8.createElement(o9,null,o8.createElement(i8,{id:c,items:d,labels:n,lessonProgress:o,image:f.image})))),s)},s8=__webpack_require__(67294);function u8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var l8=function(e){ut(n,e);var t=u8(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={hide:!1},r}return rt(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.processNextStep,a=t.onClick,s=t.type,u=this.state.hide,l="next"===s,c=l&&!i&&!r,d=eC()("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 s8.createElement("div",{"aria-hidden":!n,className:d,onClick:a,onKeyDown:Nz(a),ref:function(t){e.controlDiv=t},role:"button",tabIndex:HH(n)},s8.createElement("div",{className:"process__control-content","data-next-step":o},s8.createElement("div",{className:"process__control-animation"},s8.createElement("i",{className:f}))))}}]),n}(s8.Component),c8=__webpack_require__(67294);function d8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var f8=function(e){var t=e.processStepName,n=e.index,r=e.processStepPreposition,i=e.steps;return c8.createElement("div",{className:"card__side"},c8.createElement("div",{className:"card__step-label brand--background brand--body"},t," ",n," ",r," ",i))},p8=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 c8.createElement("div",{className:"card__main"},c8.createElement(NL,{className:"card__title brand-afterBackground brand--lhead",tagName:"h1",value:l}),c8.createElement("div",{className:"card__media"},o?c8.createElement(ZZ,{defaultAlign:"center",index:"".concat(r),labels:i,media:a,opts:u,onFullScreenChange:s,allowTabNavigation:t,lessonNumber:c}):null),c8.createElement(NL,{className:"card__description brand--lbody brand--linkColor",value:n,allowTabNavigation:t}))},h8=function(e){ut(n,e);var t=d8(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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 c8.createElement("div",{className:"card"},c8.createElement("div",{className:"card__container"},c8.createElement("div",{className:"card__row"},c8.createElement(f8,{processStepName:i,index:t,processStepPreposition:o,steps:r}),c8.createElement(p8,this.props))))}}],[{key:"defaultProps",get:function(){return{settings:{}}}}]),n}(c8.Component),m8=__webpack_require__(67294),v8=function(e){var t,n,r=e.current,i=e.labels,o=i.processComplete,a=i.processLessonName;return _t()(t=_t()(n="".concat(a," ")).call(n,r," ")).call(t,o)},g8=function(e){var t=e.applySafariLandscapeHack,n=e.children,r=e.current,i=e.labels,o=e.onReplay,a=eC()("process-end__footer",{"process-end__footer--mobile-safari-landscape":t});return m8.createElement("div",{className:"process-end"},m8.createElement("div",{className:"process-end__container"},m8.createElement("div",{className:"process-end__message"},m8.createElement("h1",{className:"process-end__text brand--ui"},v8({current:r,labels:i})))),m8.createElement(q1,{onClick:o,text:i.processStartAgain}),m8.createElement("div",{className:a},n))},y8=__webpack_require__(67294);function b8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var _8=function(e){ut(n,e);var t=b8(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(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 y8.createElement("div",{className:"process-header"},y8.createElement("div",{className:"process-header__container"},y8.createElement("div",{className:"process-header__limit"},y8.createElement("div",{className:"process-header__row"},y8.createElement("div",{className:"process-header__main"},y8.createElement("div",{className:"process-header__top-wrap brand--afterBackground"},y8.createElement(NL,{className:"process-header__title brand--lhead",tagName:"h1",value:c}),i&&r?y8.createElement("div",{className:"process-header__author brand--ui"},y8.createElement("img",{src:ox("".concat(i)),alt:""}),y8.createElement("span",{className:"visually-hidden"},"by ",r),y8.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 y8.createElement("div",{className:"process-header__counter brand--body"},y8.createElement("div",{className:"process-header__count"},_t()(t=_t()(n=_t()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s)))}({lessonName:f,lessonNumber:u,lessonPreposition:p,totalLessons:d})),Ca()(e=y8.Children).call(e,o,(function(e){return e&&e.type===XK?y8.createElement("div",{className:"process-header__audio"},e):null})),y8.createElement(NL,{className:"process-header__description brand--lbody editor-text brand--linkColor",value:a,allowTabNavigation:n}))),o)))}}]),n}(y8.Component),w8=__webpack_require__(67294);function k8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var E8=MH(".next-lesson__link"),x8=MH(".restart-button"),S8=xl()(0,["lessonProgress","activeIndex"]),T8=function(e){ut(n,e);var t=k8(n);function n(e){var r;return et(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(it(r)),r.handleReplay=r.handleReplay.bind(it(r)),r.handleScroll=r.handleScroll.bind(it(r)),r.leftSwipe=r.nextSlide.bind(it(r)),r.nextSlide=r.nextSlide.bind(it(r)),r.previousSlide=r.previousSlide.bind(it(r)),r.renderItem=r.renderItem.bind(it(r)),r.rightSwipe=r.previousSlide.bind(it(r)),r.handleAnimationEnd=r.handleAnimationEnd.bind(it(r)),r}return rt(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-(iD.isIphoneSafari?94:50);this.controls.style.transform="translate3d(0, ".concat(r,"px, 0)")}}},{key:"componentDidMount",value:function(){var e=this.controlsContainer;this.swipeEvents=z0(e,this,this.leftSwipe,this.rightSwipe),this.swipeEvents.addListeners(),document.addEventListener("keydown",this.handleKeyDown),iD.isSafari9&&(this.scrollRef=rX()(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),iD.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 w8.createElement("section",{"aria-label":i,className:this.getClassName({isAtStart:n,isAtEnd:r}),ref:function(e){t.controlsContainer=e}},this.renderControls({isAtStart:n,isAtEnd:r}),w8.createElement("div",{className:"process__wrap"},this.renderStart(),Ca()(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 w8.createElement(oI(),null,w8.createElement("div",{className:this.getMenuClassName()},w8.createElement("div",{ref:function(e){t.controls=e},className:u,style:l},w8.createElement("div",{ref:function(e){t.nextContainer=e}},w8.createElement(l8,{allowTabNavigation:!r,atStart:n,labels:a,onClick:this.nextSlide,ref:function(e){t.nextControl=e},isTransitioning:c,type:"next"})),w8.createElement("div",{ref:function(e){t.previousContainer=e}},w8.createElement(l8,{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 w8.createElement("div",{"aria-hidden":!f,className:this.getItemClassName(0),ref:function(t){e["item-".concat(0)]=t}},w8.createElement("div",{className:"process__item-wrap"},w8.createElement(_8,{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=Rs()(t),l=S8(this.props),c=u===l;return w8.createElement("div",{"aria-hidden":!c,className:this.getItemClassName(u),key:"item-".concat(e.id),ref:function(e){n["item-".concat(u)]=e}},w8.createElement("div",{className:"process__item-wrap"},w8.createElement(h8,{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=t.nextComponent,s=Rs()(r.length);return w8.createElement("div",{"aria-hidden":!this.isAtEnd(),className:this.getItemClassName(s),ref:function(t){e["item-".concat(s)]=t}},w8.createElement("div",{className:"process__item-wrap"},w8.createElement(g8,{applySafariLandscapeHack:n,current:o,labels:i,onReplay:this.handleReplay},a)))}},{key:"preventFocusOnOverflowElements",value:function(){var e=HH(this.isAtEnd());VH(E8(),e),VH(x8(),e)}},{key:"focusNextElement",value:function(){var e=this.nextControl,t=this.previousControl;if(this.isAtEnd()){var n=E8();n?n.focus():t.focus()}else this.isAtStart()&&e.focus()}},{key:"updateFocusForActiveCard",value:function(){!KH(this["item-".concat(S8(this.props))])&&this.isAtStart()&&this.focusNextElement()}},{key:"handleAnimationEnd",value:function(e){var t=e.animationName,n=qn()(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 eC()("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 eC()("process__controls",{"process__controls--at-start":t,"process__controls--at-end":n})}},{key:"getItemClassName",value:function(e){var t=S8(this.props);return eC()("process__item",{"process__item--active":e===t,"process__item--done":e<t,"process__item--next":EN()(e)===t})}},{key:"getMenuClassName",value:function(){var e=this.props,t=e.menuOpen,n=e.mobileMenuOpen,r=!!document.querySelector(".lesson--preview");return eC()("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,EN()(Cu()(0,"activeIndex",n)));this.setState({resetContentFocus:!0}),sN(function(e){var t=e.activeIndex,n=e.id;return function(e){return e(nl({id:n,updateFn:fu(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,Rs()(Cu()(0,"activeIndex",r))),o=Br()([EN()(i),"id"],n);this.setState({resetContentFocus:!0}),sN(function(e){var t=e.activeIndex,n=e.id,r=e.itemId;return function(e){return e(nl({id:n,updateFn:pu({activeIndex:t,itemId:r})}))}}({activeIndex:i,id:t,itemId:o}))}}},{key:"handleKeyDown",value:function(e){Al()([[kz,this.previousSlide],[Ez,this.nextSlide]])(e)}},{key:"slidePrep",value:function(){HK.pause(),this.setState({xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null})}},{key:"handleReplay",value:function(){sN(function(e){var t=e.id;return function(e){return e(nl({id:t,updateFn:du}))}}({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=xl()(0,["lessonProgress","activeIndex"],e);if(t!==xl()(0,["lessonProgress","activeIndex"],this.props)){var n=document.querySelector(".page-wrap"),r=n.scrollTop,i=this.props.previousComponent?70:0;this["item-".concat(t)].scrollTop=r-i,n.scrollTop=i,this.preventFocusOnOverflowElements()}}},{key:"isAtStart",value:function(){return cu()(Un()("activeIndex",this.props.lessonProgress))}},{key:"isAtEnd",value:function(){var e=this.props,t=e.items,n=e.lessonProgress;return bi()("activeIndex",Rs()(t.length),n)}}]),n}(w8.Component),C8=DB("Progress"),A8=__webpack_require__(67294);function O8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var N8=function(e){return function(t){ut(r,t);var n=O8(r);function r(e){var t;return et(this,r),(t=n.call(this,e)).state={orientation:{},navigationHidden:{}},t.applySafariLandscapeHack=t.applySafariLandscapeHack.bind(it(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 rt(r,[{key:"componentDidMount",value:function(){iD.isIphoneSafari&&(this.applySafariLandscapeHack(),this.root.addEventListener("resize",this.resizeRef=rX()(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 A8.createElement(e,yt({},this.props,{applySafariLandscapeHack:"landscape"===this.state.orientation&&0!==this.state.difference,safariLandscapeHackOffset:this.state.difference}))}}]),r}(A8.Component)},P8=__webpack_require__(67294),L8=N8(T8),M8=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.menuButtons,h=e.menuOpen,m=e.mobileMenuOpen,v=e.nextComponent,g=e.prefersKeyboardNavigation,y=e.previousComponent,b=e.showLessonCount,_=e.totalLessons;return P8.createElement(r9,{type:u},y,P8.createElement(i9,{type:u},p,P8.createElement(s9,null,P8.createElement(o9,{type:u,items:a},P8.createElement(C8,{id:o,items:a,lessonProgress:d,menuOpen:h,mobileMenuOpen:m,type:"process"}),P8.createElement(L8,{authorName:t,avatar:n,description:i,id:o,items:a,labels:l,loadMedia:f,lessonNumber:c,lessonProgress:d,menuOpen:h,mobileMenuOpen:m,nextComponent:v,prefersKeyboardNavigation:g,previousComponent:y,showLessonCount:b,title:s,totalLessons:_,type:u})))))},I8=__webpack_require__(67294),R8=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 I8.createElement("svg",{viewBox:"0 0 26 24",width:o,height:s,"aria-label":t,className:eC()("i i-checkedbox",u),focusable:c,role:f},n&&I8.createElement("title",null,n),r&&I8.createElement("desc",null,r),I8.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"}))},D8=__webpack_require__(67294),q8=function(e){var t=e.percentComplete,n=e.trackingCompletionPercentage;return Wo()(n)?null:D8.createElement("div",{className:"progress-summary__requirement"},D8.createElement("div",{className:"progress-summary__requirement-stats-wrap"},D8.createElement("h2",{className:"progress-summary__requirement-title"},"Completion Requirement"),D8.createElement("div",{className:"progress-summary__requirement-stats"},D8.createElement("div",null,n,"% Completion"),D8.createElement("div",null,"You completed: ",D8.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},t,"%")))),D8.createElement(B8,{requirementMet:n<=t}))},j8=function(e){var t=e.outOfAttempts,n=e.quizPassed,r=e.quizPassingScore,i=e.quizScore,o=e.quizTitle,a=e.trackingQuizId;return a?D8.createElement("div",{className:"progress-summary__requirement"},D8.createElement("div",{className:"progress-summary__requirement-stats-wrap"},D8.createElement("h2",{className:"progress-summary__requirement-title"},"Quiz Requirement"),D8.createElement("div",{className:"progress-summary__requirement-stats"},D8.createElement("div",null,"Score of ",r,"% on ",o),Wo()(i)?D8.createElement("div",null,D8.createElement(bF,{className:"progress-summary__requirement-stats-link brand--color",to:"/lessons/".concat(a)},"View quiz")):D8.createElement("div",null,"You scored ",D8.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},i,"%"))),t&&D8.createElement("span",{className:"progress-summary__requirement-no-attempts"},"No attempts remaining.")),D8.createElement(B8,{requirementMet:n})):null},B8=function(e){return e.requirementMet?D8.createElement(R8,{"aria-label":"Requirement completed, check mark",className:"progress-summary__requirement-checkbox-checked"}):D8.createElement("div",{"aria-label":"Requirement not completed, empty square",className:"progress-summary__requirement-checkbox-empty",role:"img"})},F8=function(e){var t=e.dueAt;return t?m.createElement("div",{className:"progress-summary__header-due brand--color brand--border"},VL(t)):null},U8=__webpack_require__(40725),z8=__webpack_require__.n(U8),H8=__webpack_require__(67294);function V8(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var W8,Y8=["#eb524d","#ffac02","#ffcc00","#28cea9","#4fbdf4","#6788e4"],G8=function(e){ut(n,e);var t=V8(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).state={run:!1,recycle:!0},r.startConfetti=r.startConfetti.bind(it(r)),r}return rt(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 H8.createElement("div",{className:"progress-summary__confetti"},H8.createElement(z8(),{width:window.innerWidth,height:window.innerHeight,recycle:t,run:n,numberOfPieces:500,gravity:.4,colors:Y8}))}}]),n}(H8.Component),K8=G8,Z8=__webpack_require__(7737),X8=__webpack_require__.n(Z8),$8=__webpack_require__(92077),Q8=__webpack_require__.n($8),J8=__webpack_require__(46088),e7=__webpack_require__.n(J8),t7=__webpack_require__(92148),n7=__webpack_require__.n(t7),r7=__webpack_require__(79005),i7=__webpack_require__.n(r7),o7=__webpack_require__(47187),a7=__webpack_require__.n(o7),s7=__webpack_require__(2507),u7=__webpack_require__.n(s7),l7=__webpack_require__(19206),c7=__webpack_require__.n(l7),d7=__webpack_require__(40636),f7=__webpack_require__.n(d7),p7=__webpack_require__(11806),h7=__webpack_require__.n(p7),m7=__webpack_require__(58e3),v7=__webpack_require__.n(m7),g7=__webpack_require__(25786),y7=__webpack_require__.n(g7),b7=__webpack_require__(29732),_7=__webpack_require__.n(b7),w7=["alt"];function k7(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function E7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k7(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):k7(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var x7=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var S7=h7()(x7),T7=function(e){return!SS()(Number(e))},C7=i7()(2,(function(e){var t=_7()(T7,f7()(e));return v7()(S7,a7()({h:t,height:t,w:t,width:t}),y7(),c7()(u7()(":")),u7()(","))})),A7=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 _t()(r=_t()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,C7(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var O7="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 N7=n7()(_t()(W8=["imagesUri","imageKey","hidpi","style"]).call(W8,x7)),P7=function(e){return E7(E7({},e.style),A7(e))},L7=function(e){var t=e.alt,n=Wi(e,w7);return m.createElement("span",gt()({"aria-label":t,className:O7,role:"img",style:P7(n)},N7(n)))};L7.defaultProps={alt:"Image",imagesUri:"",style:{}};var M7=L7,I7=__webpack_require__(61050),R7=__webpack_require__.n(I7),D7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 13",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M8 1.62L13.37.17a.5.5 0 0 1 .63.483v8.581a1 1 0 0 1-.74.966L8 11.62v-10zm-1.57 0v10L1.169 10.2a1 1 0 0 1-.74-.966V.653A.5.5 0 0 1 1.06.17l5.37 1.45z"}))};D7.displayName="IconBookFilled",D7.defaultProps={desc:"Solid colored book",height:"12",title:"Book",width:"14"};var q7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 11 8",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))};q7.displayName="IconCheckMark",q7.defaultProps={desc:"A check mark",height:"8",title:"Check mark",width:"11"};var j7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cct-".concat(u),c="ccd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 15 15",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.5 15a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zM5.458 7.008a.89.89 0 0 0-1.208 0 .776.776 0 0 0 0 1.141l1.708 1.615a.89.89 0 0 0 1.208 0l3.584-3.386a.776.776 0 0 0 0-1.142.89.89 0 0 0-1.208 0l-2.98 2.816-1.104-1.044z"}))};j7.displayName="IconCheckmarkCircle",j7.defaultProps={desc:"Checkmark inside of a solid circle",height:"15",title:"Checkmark Circle",width:"15"};var B7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cdt-".concat(u),c="cdd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 8 5",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M1.46.582a.65.65 0 1 0-.92.919l3 3a.65.65 0 0 0 .92 0L7.5 1.46a.65.65 0 1 0-.92-.92L4 3.122 1.46.582z"}))};B7.displayName="IconChevronDown",B7.defaultProps={desc:"Chevron pointing downwards",height:"5",title:"Chevron down",width:"8"};var F7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 6 10",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",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"}))};F7.displayName="IconChevronLeftRounded",F7.defaultProps={desc:"Rounded chevron pointing left",height:"10",title:"Rounded chevron left",width:"6"};var U7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cdt-".concat(u),c="cdd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 13 13",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{clipRule:"evenodd",d:"M6.5 11.375C3.81875 11.375 1.625 9.18125 1.625 6.5C1.625 3.81875 3.81875 1.625 6.5 1.625C9.18125 1.625 11.375 3.81875 11.375 6.5C11.375 9.18125 9.18125 11.375 6.5 11.375ZM6.5 0C2.925 0 0 2.925 0 6.5C0 10.075 2.925 13 6.5 13C10.075 13 13 10.075 13 6.5C13 2.925 10.075 0 6.5 0Z",fill:"currentColor",fillRule:"evenodd"}),m.createElement("path",{clipRule:"evenodd",d:"M7.3125 3.25H5.6875V7.3125H9.75V5.6875H7.3125V3.25Z",fill:"currentColor",fillRule:"evenodd"}))};U7.displayName="IconClock",U7.defaultProps={desc:"An analog clock",height:"13",title:"Clock",width:"13"};var z7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 14",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("g",{transform:"translate(-18 -659)"},m.createElement("path",{fill:"currentColor",d:"M31.7,659.3 C31.3,658.9 30.7,658.9 30.3,659.3 L25,664.6 L19.7,659.3 C19.3,658.9 18.7,658.9 18.3,659.3 C17.9,659.7 17.9,660.3 18.3,660.7 L23.6,666 L18.3,671.3 C17.9,671.7 17.9,672.3 18.3,672.7 C18.5,672.9 18.7,673 19,673 C19.3,673 19.5,672.9 19.7,672.7 L25,667.4 L30.3,672.7 C30.5,672.9 30.8,673 31,673 C31.2,673 31.5,672.9 31.7,672.7 C32.1,672.3 32.1,671.7 31.7,671.3 L26.4,666 L31.7,660.7 C32.1,660.3 32.1,659.7 31.7,659.3"})))};z7.displayName="IconClose",z7.defaultProps={desc:"Image of an X",height:"14",title:"Close",width:"14"};var H7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cdt-".concat(u),c="cdd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.59335 0.966685L13.9267 3.63335C14.3798 3.85851 14.6664 4.32072 14.6667 4.82669V11.18C14.6664 11.686 14.3798 12.1482 13.9267 12.3734L8.59335 15.04C8.21777 15.228 7.77559 15.228 7.40001 15.04L2.06668 12.3734C1.61401 12.1453 1.32982 11.6802 1.33335 11.1734V4.82669C1.33361 4.32072 1.62024 3.85851 2.07335 3.63335L7.40668 0.966685C7.78043 0.780962 8.21959 0.780962 8.59335 0.966685Z",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M1.54669 4.10669L8.00003 7.33336L14.4534 4.10669",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),m.createElement("path",{d:"M8 15.1733V7.33331",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}))};function V7(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))}}H7.displayName="IconCube",H7.defaultProps={desc:"Image of a cube",height:"16",title:"Cube",width:"16"};V7(".IconError_iconError__1pbVY{color:#d0021b}",{insertAt:"top"});var W7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 18 18",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",d:"m9 0a9 9 0 0 0-9 9 9 9 0 0 0 9 9 9 9 0 0 0 9-9 9 9 0 0 0-9-9zm-0.73438 4h1.6309v4.0039c0 0.425-0.0205 0.841-0.0625 1.25-0.042 0.408-0.097969 0.84083-0.16797 1.2988h-1.1699c-0.07-0.457-0.12597-0.89083-0.16797-1.2988a12.206 12.206 0 0 1-0.0625-1.25v-4.0039zm0.79883 8.1133a1.06 1.06 0 0 1 0.74805 0.30859 1.06 1.06 0 0 1 0.30859 0.74805 1.07 1.07 0 0 1-0.30859 0.75 1.077 1.077 0 0 1-0.74805 0.30078 1.095 1.095 0 0 1-0.75977-0.30078 0.995 0.995 0 0 1-0.22461-0.33398 1.069 1.069 0 0 1-0.080078-0.41602c0-0.145 0.027078-0.28111 0.080078-0.41211a0.987 0.987 0 0 1 0.22461-0.33594 1.103 1.103 0 0 1 0.75977-0.30859z"}))};W7.displayName="IconError",W7.defaultProps={className:"IconError_iconError__1pbVY",desc:"A red circle with a white exclamation point in the middle",height:"18",title:"Error",width:"18"};var Y7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cdt-".concat(u),c="cdd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("svg",{fill:"none",height:"9",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},m.createElement("path",{clipRule:"evenodd",d:"M7.99992 1.33337L1.33325 4.66671L7.99992 8.00004L14.6666 4.66671L7.99992 1.33337Z",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),m.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"40%"},m.createElement("path",{d:"M1.33325 1.33331L7.99992 4.66665L14.6666 1.33331",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),m.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"60%"},m.createElement("path",{d:"M1.33325 0.999634L7.99992 4.33297L14.6666 0.999634",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})))};Y7.displayName="IconFilter",Y7.defaultProps={desc:"Three squares stacked on one another",height:"16",title:"Filter",width:"16"};var G7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 14 13",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.15 0C8.838 0 7.7.7 7 1.75 6.3.7 5.162 0 3.85 0 1.75 0 0 1.75 0 3.85c0 3.85 7 9.538 7 9.538S14 7.7 14 3.85C14 1.75 12.25 0 10.15 0"}))};G7.displayName="IconHeartFilled",G7.defaultProps={desc:"Solid colored heart",height:"15",title:"Heart",width:"16"};var K7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 16 15",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{stroke:"currentColor",fill:"none",fillRule:"evenodd",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"}))};K7.displayName="IconHeartOutline",K7.defaultProps={desc:"Outline of a heart",height:"15",title:"Heart",width:"16"};var Z7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cdt-".concat(u),c="cdd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{clipRule:"evenodd",d:"M2 4C2 2.89543 2.89543 2 4 2H12C13.1046 2 14 2.89543 14 4V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V4Z",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),m.createElement("path",{d:"M2 6H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),m.createElement("path",{d:"M6 14V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};Z7.displayName="IconLayout",Z7.defaultProps={desc:"Rounded square with header and sidebar dividers",height:"16",title:"Layout",width:"16"};V7(".IconLearningPath_defaultFill__3ksqg{color:#adaeaf}",{insertAt:"top"});var X7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="lpt-".concat(u),c="lpd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 9 9",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("g",{fill:"none",fillRule:"evenodd"},m.createElement("path",{fill:"currentColor",d:"M7 2h2v7H2V7h5V2z"}),m.createElement("path",{fill:"currentColor",d:"M0 0h7v7H0z"}),m.createElement("path",{fill:"#000f20",opacity:"0.505",d:"M0 0h7v7H0z"})))};X7.displayName="IconLearningPath",X7.defaultProps={className:"IconLearningPath_defaultFill__3ksqg",desc:"Two stacked squares",height:"9",title:"Learning Path",width:"9"};var $7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 16 16",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{fill:"currentColor",d:"M15.2,12.8l-2.9-2.9c0.5-1,0.9-2,0.9-3.2c0-3.6-2.9-6.5-6.5-6.5c-3.6,0-6.5,2.9-6.5,6.5s2.9,6.5,6.5,6.5c1.7,0,3.2-0.6,4.4-1.7l2.8,2.8c0.4,0.4,1,0.4,1.4,0C15.6,13.8,15.6,13.2,15.2,12.8z M6.7,11.2c-2.5,0-4.5-2-4.5-4.5s2-4.5,4.5-4.5s4.5,2,4.5,4.5S9.1,11.2,6.7,11.2z"}))};$7.displayName="IconSearch",$7.defaultProps={desc:"Magnifying glass",height:"16",title:"Search",width:"16"};var Q7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="cdt-".concat(u),c="cdd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,fill:"none",focusable:"false",height:i,role:o,viewBox:"0 0 17 11",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("path",{d:"M5.99992 7.62108L3.8786 9.7424L1.75728 7.62108",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),m.createElement("path",{d:"M3.8786 1.99976L3.8786 8.99976",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),m.createElement("path",{d:"M9.35638 5.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),m.createElement("path",{d:"M9.35638 1.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),m.createElement("path",{d:"M9.35638 9.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};Q7.displayName="IconSortDesc",Q7.defaultProps={desc:"Downward arrow with three horizontal lines",height:"11",title:"SortDesc",width:"17"};var J7=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,o=e.role,a=e.title,s=e.width,u=Cr((0,m.useState)((function(){return R7()()})),1)[0],l="hft-".concat(u),c="hfd-".concat(u);return m.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":c,"aria-hidden":t,"aria-labelledby":l,className:n,focusable:"false",height:i,role:o,viewBox:"0 0 32 32",width:s},m.createElement("title",{id:l},a),m.createElement("desc",{id:c},r),m.createElement("g",{fill:"none",fillRule:"evenodd",transform:"rotate(-90 15.5 15.5)"},m.createElement("circle",{cx:"15",cy:"16",r:"15",stroke:"currentColor",opacity:"0.083",strokeWidth:"2"}),m.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M31 16a1 1 0 0 1-2 0c0-7.732-6.268-14-14-14a1 1 0 0 1 0-2c8.837 0 16 7.163 16 16z"})))};function eee(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}function tee(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))}}J7.displayName="IconSpinner",J7.defaultProps={desc:"Hollow circle fading from transparent to gray",height:"32",title:"Spinner",width:"32"};var nee="styles_wrap__6_qdv",ree="styles_content__nx_52",iee="styles_image__32Tdo",oee="styles_title__NDffz",aee="styles_titleClamp__1-eSv",see="styles_score__2FWHt",uee="styles_scoreText__2FWJg",lee="styles_scoreWrap__3GrXD",cee="styles_lessonsInfo__SbVMH",dee="styles_pipe__1XBpq",fee="styles_lpIcon__3XeRQ",pee="styles_imageOverlay__RSsiC",hee="styles_imageOverlayStarted__17CIL",mee="styles_imageOverlayAssignedToMe__1pYS_",vee="styles_statusText__1q5C8",gee="styles_statusTextNoProgress__39xCR",yee="styles_status__1VLZS",bee="styles_completedStatus__A0RxX",_ee="styles_learningPathBadge__3vO-1",wee="styles_progressBarWrap__24ETA",kee="styles_heartWrap__217al",Eee="styles_heartFilled__35Shx",xee="styles_heartOutline__2fakg",See="styles_completedAt__2Iu7h",Tee="styles_due__SPTRi",Cee="styles_dueUrgent__1j39c",Aee="styles_downloadCertWrap__1wv7-";tee(".styles_content__nx_52,.styles_wrap__6_qdv{display:flex;flex-direction:column}.styles_wrap__6_qdv{height:360px;border-radius:6px;background-color:#fff;cursor:pointer;box-shadow:0 2px 25px 0 rgba(0,0,0,.1);transition:box-shadow .3s,transform .3s;position:relative;width:100%}.styles_wrap__6_qdv:hover{box-shadow:0 .2rem 4rem 0 rgba(0,0,0,.15);transform:translate3d(0,-1rem,0)}.styles_image__32Tdo{min-height:14.8rem;width:100%;border-top-left-radius:6px;border-top-right-radius:6px;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;background-color:var(--color-accent)}.styles_content__nx_52{box-sizing:border-box;height:100%;width:100%;padding:1.5rem 3.5rem 2rem 2.5rem;position:relative}.styles_title__NDffz{max-height:9.45rem;height:9.45rem;font-size:1.8rem;line-height:1.33;font-weight:700;color:#313537;overflow-wrap:break-word;margin-top:.5rem;overflow:hidden}.styles_titleClamp__1-eSv>div{display:none!important}.styles_score__2FWHt,.styles_scoreText__2FWJg{font-weight:700;color:#313537}.styles_scoreText__2FWJg{margin-left:.4rem}.styles_scoreWrap__3GrXD{margin-top:.5rem;color:#666;font-size:1.2rem}.styles_lessonsInfo__SbVMH{font-size:1.2rem;letter-spacing:.05rem;position:absolute;bottom:2rem;color:#313537}.styles_pipe__1XBpq{margin:0 .25rem}.styles_lpIcon__3XeRQ{display:inline-flex;margin-right:.4rem;color:#adaeaf}.styles_imageOverlay__RSsiC{position:absolute;width:100%;min-height:14.8rem}.styles_imageOverlayStarted__17CIL{min-height:14.8rem;width:100%;opacity:.15;background-image:linear-gradient(180deg,transparent,rgba(0,0,0,.83),#000)}.styles_imageOverlayAssignedToMe__1pYS_{min-height:14.8rem;width:100%;opacity:.5;background-image:linear-gradient(180deg,transparent,#000)}.styles_statusText__1q5C8{display:flex;color:#fff;align-items:center;position:absolute;bottom:2.5rem;left:1rem}.styles_statusTextNoProgress__39xCR{bottom:1.2rem}.styles_status__1VLZS{padding-left:.5rem;text-transform:capitalize}.styles_completedStatus__A0RxX{display:flex;color:#fff;align-items:center;position:absolute;top:1rem;right:1rem}.styles_learningPathBadge__3vO-1{display:flex;color:#313537;border-radius:.6rem;padding:.4rem .6rem;font-size:8px;text-transform:uppercase;letter-spacing:.3px;font-weight:700;background-color:#fff;align-items:center;position:absolute;top:1rem;left:1rem}.styles_progressBarWrap__24ETA{position:absolute;left:0;bottom:1rem;width:calc(100% - 2rem);margin:0 1rem}.styles_heartWrap__217al{position:absolute;top:1rem;right:1rem;width:2rem;height:2rem;display:flex;justify-content:center;align-items:center}.styles_heartWrap__217al:hover{cursor:pointer}.styles_heartWrap__217al:hover .styles_heartFilled__35Shx{color:var(--color-accent-focus)}.styles_heartWrap__217al:hover .styles_heartOutline__2fakg{color:#313537}.styles_heartFilled__35Shx{color:var(--color-accent)}.styles_heartOutline__2fakg{color:#979797}.styles_completedAt__2Iu7h{margin-top:1rem;color:#6a737c;font-size:1.2rem}.styles_due__SPTRi{display:inline-block;font-size:1rem;font-weight:900;letter-spacing:.05rem;text-transform:uppercase;line-height:1.2;color:#313537;border:1px solid #979797;padding:.5rem .7rem;border-radius:.4rem}.styles_dueUrgent__1j39c{color:var(--color-accent);border-color:var(--color-accent)}.styles_downloadCertWrap__1wv7-{position:absolute;bottom:2rem}@media (max-width:580px){.styles_progressBarWrap__24ETA{bottom:1.5rem;margin:0 2rem;width:calc(100% - 4rem)}.styles_statusText__1q5C8{left:2rem}}",{insertAt:"top"});var Oee="ProgressBar_progressBarBase__1njSY",Nee="ProgressBar_progressBarWrap__1dSL2",Pee="ProgressBar_progressBar__14M3v";tee(".ProgressBar_progressBarBase__1njSY{height:.5rem;border-radius:10rem}.ProgressBar_progressBarWrap__1dSL2{position:relative;width:100%;background:hsla(0,0%,98%,.5)}.ProgressBar_progressBar__14M3v{background:#fff}",{insertAt:"top"});var Lee=function(e){var t=e.progress,n=X8()(Oee,Nee),r=X8()(Oee,Pee);return m.createElement("div",{className:n,role:"progressbar","aria-valuenow":t,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement("div",{className:r,style:{width:"".concat(t,"%")}}))},Mee=function(e){ut(n,e);var t=eee(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).onClick=r.onClick.bind(it(r)),r.onKeyDown=r.onKeyDown.bind(it(r)),r.toggleFavorite=r.toggleFavorite.bind(it(r)),r.renderProgress=r.renderProgress.bind(it(r)),r.renderDueStatus=r.renderDueStatus.bind(it(r)),r.renderAssignedOrCompleted=r.renderAssignedOrCompleted.bind(it(r)),r.renderLessonsInfo=r.renderLessonsInfo.bind(it(r)),r}return rt(n,[{key:"onClick",value:function(){var e=this.props,t=e.disable,n=e.onClick;t||n()}},{key:"onKeyDown",value:function(e){var t;m_()(t=[13,32]).call(t,e.keyCode)&&(e.preventDefault(),this.onClick())}},{key:"toggleFavorite",value:function(e){var t=this.props,n=t.favoritedAt,r=t.onAddFavorite,i=t.onRemoveFavorite;e.stopPropagation(),n?i():r()}},{key:"renderProgress",value:function(){var e=this.props,t=e.disable,n=e.progress;return n&&!t?m.createElement("div",{className:wee},m.createElement(Lee,{progress:n})):null}},{key:"renderDueStatus",value:function(){var e=this.props,t=e.completedAt,n=e.isUrgent,r=e.labelDue,i=e.labelCompleted,o=null!=t,a=X8()(Tee,Ar({},Cee,n));return o?m.createElement("div",{className:See},i):r?m.createElement("div",null,m.createElement("div",{className:a},r)):null}},{key:"renderAssignedOrCompleted",value:function(){var e=this.props,t=e.labelAssignedToMe,n=e.completedAt,r=e.progress,i=null!=n,o=X8()(vee,Ar({},gee,!r));return i?m.createElement("div",{className:bee},m.createElement(j7,{width:22,height:22,decorative:!0})):m.createElement("div",{className:o},m.createElement(D7,{decorative:!0}),m.createElement("span",{className:yee},t))}},{key:"renderLessonsInfo",value:function(){var e=this.props,t=e.labelCount,n=e.durationHidden,r=e.labelDuration;return m.createElement("div",{className:cee},t,!n&&m.createElement(m.Fragment,null,m.createElement("span",{className:dee,"aria-hidden":"true"},"|"),r))}},{key:"render",value:function(){var e,t=this.props,n=t.cardImageKey,r=t.certDownloadComp,i=t.color,o=t.completedAt,a=t.coverImageKey,s=t.enrolledAt,u=t.favoritedAt,l=t.imagesUri,c=t.isLearningPath,d=t.labelHeartFilled,f=t.labelHeartOutline,p=t.labelLearningPath,h=t.labelQuizScore,v=t.noCertDownload,g=t.noFavoriteBtn,y=t.progress,b=t.score,_=t.title,w=t.extraScoreText,k=null!=o,E=s||k,x=X8()((Ar(e={},hee,!!y||k),Ar(e,mee,s&&!k),e)),S=n||a;return m.createElement("div",{"aria-label":_,className:nee,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"link",tabIndex:"0"},m.createElement(M7,{className:iee,b:"fff",f:"jpg",h:150,imagesUri:l,imageKey:S,style:{backgroundColor:i},w:300,s:"cover"}),(k||s||y||c)&&m.createElement("div",{className:pee},m.createElement("div",{className:x}),c&&m.createElement("div",{className:_ee},m.createElement(X7,{height:7,width:7,className:fee,decorative:!0})," ",p),this.renderProgress(),E&&this.renderAssignedOrCompleted()),m.createElement("div",{className:ree},!g&&m.createElement("div",{className:kee,onClick:this.toggleFavorite,onKeyDown:this.toggleFavorite,role:"button",tabIndex:"0"},u?m.createElement(G7,{title:d,className:Eee}):m.createElement(K7,{title:f,className:xee})),this.renderDueStatus(),m.createElement("div",{className:oee},m.createElement(e7(),{className:aee,lines:4},_)),k&&null!=b&&m.createElement("div",{className:lee},h," ",m.createElement("span",{className:see},Q8()(b).divide(100).format("0%")),w&&m.createElement("span",{className:uee},w)),!k||v?this.renderLessonsInfo():m.createElement("div",{className:Aee},m.createElement(r,null))))}}]),n}(m.Component);Mee.defaultProps={cardImageKey:null,certDownloadComp:function(){return null},color:"#ff6602",completedAt:null,coverImageKey:null,disable:!1,durationHidden:!1,enrolledAt:null,favoritedAt:null,imagesUri:"",isLearningPath:!1,isUrgent:!1,labelAssignedToMe:"Assigned To Me",labelCompleted:"",labelCount:"",labelDuration:"",labelHeartFilled:"Remove from my list",labelHeartOutline:"Add to my list",labelLearningPath:"Learning path",labelQuizScore:"Quiz Score",noCertDownload:!1,noFavoriteBtn:!1,onAddFavorite:Function.prototype,onClick:Function.prototype,onRemoveFavorite:Function.prototype,progress:0,score:null,title:"",extraScoreText:""};var Iee=Mee,Ree=cL("progress-summary-card"),Dee=function(e){var t=e.completeLabel,n=e.isComplete,r=e.isUrgent,i=e.completedDate,o=e.labelDue;return n?m.createElement("div",{className:"progress-summary-card__completed-label"},t,m.createElement("span",{className:"progress-summary-card__completed-date"},i)):o?m.createElement("div",{className:eC()("progress-summary-card__due-label",Ar({},"brand--color",r))},o):null},qee=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,v=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,L=void 0===P?"":P,M=e.onClick,I=void 0===M?Rl:M,R=e.progress,D=void 0===R?0:R,q=e.title,j=void 0===q?"":q,B=null!==s,F=(0,m.useCallback)((function(){d||null==I||I()}),[d,I]),U=(0,m.useCallback)((function(e){yz(e)&&e.preventDefault(),!d&&vz(e)&&(null==I||I())}),[d,I]),z=n||l,H="".concat(Math.round(D),"% Complete"),V="".concat(fL()(new Date(s)).format("MM/DD/YY")),W=Ree("card",{disabled:d}),Y=Ree("image-overlay",{"not-started":!(D||B),"in-progress-completed":D||B});return m.createElement("div",{"aria-hidden":y,className:W,onClick:F},m.createElement("div",{className:"progress-summary-card__content"},m.createElement("button",{"aria-disabled":d,className:eC()("progress-summary-card__title-button",Ar({},r,r)),tabIndex:y?-1:void 0,role:"link",type:"button",onKeyDown:U},m.createElement("span",{className:"progress-summary-card__title"},j||"(No Title)")),m.createElement("div",{className:"progress-summary-card__course-info"},k&&m.createElement("div",{className:"progress-summary-card__hide"},L),v&&m.createElement("div",{className:"progress-summary-card__hide"},T),Boolean(D)&&!d&&!s&&m.createElement("span",{className:"progress-summary-card__hide"},H),!p&&!B&&m.createElement("div",{className:"progress-summary-card__duration"},N),m.createElement(Dee,{isComplete:B,isUrgent:x,completedDate:V,labelDue:A,completeLabel:"Completed: "}))),m.createElement("div",{className:"progress-summary-card__image-wrap"},m.createElement(M7,{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}),m.createElement("div",{className:Y}),m.createElement("div",{className:"progress-summary-card__image-overlay-bottom-bar"},Boolean(D)&&!d&&!B&&m.createElement("div",{"aria-hidden":"true",className:"progress-summary-card__progress-bar-wrap"},m.createElement("div",{className:"progress-summary-card__wrap-light"},m.createElement("div",{className:"progress-summary-card__progress-bar",style:{width:"".concat(D,"%")}}))))))},jee=__webpack_require__(67294),Bee=Hn("IMAGES_URI"),Fee=["cardImageKey","color","coverImageKey","progress","score","title"],Uee=function(e,t){return 1===e?t:_t()(t).call(t,"s")},zee=xl()([],["course","course","lessons"]),Hee=function(e){return de()(_E(),n_()(Uo()(bi()("type","section"),O_()(qn()(Ua(),e),"id"))),zee)},Vee=function(e){var t=zee(e),n=e.trackingQuizId,r=e.score;if(n&&t.length){var i=CN()(bi()("id",n),t),o=i.settings;return r<(o=void 0===o?{}:o).passingScore&&i}},Wee=de()(CN()($a()(bi()("type","section"))),zee),Yee=M_()(2,(function(e){return de()(Cu()("","id"),CN()(Boolean),sO()([Hee(e),Vee,Wee]))})),Gee=function(e){var t,n=fL().duration(e),r=n.hours(),i=n.minutes(),o=_t()(t="".concat(r," ")).call(t,Uee(r,"hr")),a="".concat(i," min");return r>=100?"100+ hrs":r>0&&i>0?[o,a].join(" "):r>0?o:a},Kee=Qt(Un()("learningPathUpNext"))((function(e){var t,n,r=e.color,i=e.learningPathComplete,o=e.learningPathId,a=e.isSuccess,s=e.nextCourse,u=e.nextCourse,l=(u=void 0===u?{}:u).dueAt,c=u.courseId,d=void 0===c?"":c,f=u.lessonCount,p=u.lessonsCompleted,h=void 0===p?[]:p,v=u.sourceType,g=u.timeToComplete,y=HB("rise-com-lxp"),b=(0,m.useMemo)((function(){return Yee(h,s)}),[s,h]);Wo()(s.color)&&(s.color=r);var _=da()(Fee,s),w=(0,m.useCallback)((function(){var e;"PACKAGE"===v?(top.sessionStorage.setItem("upNextCourseId",d),top.location.assign("/learning-path/".concat(o))):function(){Cx("goToLearn")&&Tx.goToLearn.apply(Tx,arguments)}(_t()(e="".concat(d,"/lessons/")).call(e,b))}),[d,o,b,v]);return a&&!i&&jee.createElement("div",{className:"progress-summary__lp-next"},jee.createElement("div",{className:"progress-summary__lp-next-inner"},jee.createElement("div",{className:"progress-summary__lp-next-label"},"Next up ",jee.createElement(aC,{className:"progress-summary__lp-next-label-icon",decorative:!0})),y?jee.createElement("div",{className:"progress-summary__lp-next-cardV2"},jee.createElement(qee,yt({imagesUri:Bee,labelCount:_t()(t="".concat(f," ")).call(t,Uee(f,"lesson")),labelDue:VL(l),labelDuration:Gee(g),noFavoriteBtn:!0,noCertDownload:!0,onClick:w},_))):jee.createElement("div",{className:"progress-summary__lp-next-card"},jee.createElement(Iee,yt({imagesUri:Bee,labelCount:_t()(n="".concat(f," ")).call(n,Uee(f,"lesson")),labelDue:VL(l),labelDuration:Gee(g),noFavoriteBtn:!0,noCertDownload:!0,onClick:w},_)))))})),Zee=__webpack_require__(67294),Xee="".concat(Hn("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),$ee=de()($o(),si()(Un()("isComplete")),wi()),Qee=Qt(de()(da()(["learningPathComplete","lpHasFailedQuiz"]),Un()("learningPathUpNext")),(function(e,t){var n=t.course,r=n.riseComCourseId,i=n.riseComLearningPathId;return{fetchLpUpNext:de()(e,mO,Hr()({courseId:r,learningPathId:i}))}}))((function(e){var t=e.color,n=e.course,r=void 0===n?{}:n,i=e.courseProgress,o=void 0===i?{}:i,a=e.fetchLpUpNext,s=e.lessons,u=void 0===s?[]:s,l=e.learningPathComplete,c=e.lpHasFailedQuiz,d=o.lessons,f=void 0===d?{}:d,p=o.percentComplete,h=r.dueAt,v=r.certificateDownload,g=r.completionCelebration,y=r.lessonsOnly,b=void 0===y?[]:y,_=r.riseComLearningPathId,w=r.trackingCompletionPercentage,k=r.trackingQuizId,E=Wo()(w)&&Wo()(k),x=E?100===p:nx(),S=b.length,T=$ee(f);(0,m.useEffect)((function(){_&&a()}),[]);var C=(0,m.useMemo)((function(){return x?r.completedAt?r.completedAt:new Date:null}),[r.completedAt,x]),A=(0,m.useMemo)((function(){return CN()(_l()(bi()("type","quiz"),bi()("id",k)),u)}),[k,u]),O=(0,m.useMemo)((function(){return Cu()(void 0,"title",A)}),[A]),N=(0,m.useMemo)((function(){return xl()(100,["settings","passingScore"],A)}),[A]),P=xl()(null,["lessons",k,"passed"],o),L=(0,m.useMemo)((function(){return de()(Gr()(bi()("percentComplete",100),Un()("score"),Hr()(null)),xl()({},["lessons",k]))(o)}),[o,k]),M=JN(o,A,k).outOfAttempts,I=!k||P,R=eC()("progress-summary",{"progress-summary__no-req":E});return Zee.createElement(sH(),{title:QH(r.title+" - Progress Summary")},Zee.createElement("div",{className:R},x&&g&&I&&Zee.createElement(K8,null),Zee.createElement("header",{className:"progress-summary__header"},Zee.createElement("h1",{className:"progress-summary__header-title"},x&&!E&&I?"Congratulations!":"Progress Summary"),E?Zee.createElement("div",{className:"progress-summary__lessons-completed"},"You've completed ",T," of ",S," lessons."):x?Zee.createElement("div",{className:"progress-summary__header-completion-date"},I&&Zee.createElement("img",{className:"progress-summary__header-trophy",src:Xee,alt:"trophy"}),fL()(C).format("MMMM Do, YYYY")):Zee.createElement(F8,{dueAt:h})),Zee.createElement("section",{className:"progress-summary__section"},!E&&x&&Zee.createElement("div",{className:"progress-summary__requirements-met"},"You've met all the requirements."),E?!_&&Zee.createElement(bF,{to:"/",className:"progress-summary__start-over"},"Start Over",Zee.createElement("i",{className:"progress-summary__start-over-icon icon icon-reload"})):Zee.createElement("div",{className:"progress-summary__requirements"},Zee.createElement(q8,{percentComplete:p,trackingCompletionPercentage:w}),Zee.createElement(j8,{outOfAttempts:M,quizPassed:P,quizPassingScore:N,quizScore:L,quizTitle:O,trackingQuizId:k})),(x||E)&&Zee.createElement("div",{className:"progress-summary__completion-controls"},Zee.createElement("button",{role:"link",className:"progress-summary__btn-back progress-summary__completion-control brand--background",onClick:Ax,type:"button"},"Back to my learning"),x&&(!_&&v||_&&l)&&v&&I&&!c&&Zee.createElement("span",{className:"progress-summary__completion-control"},Zee.createElement(HF,null)))),x&&!!_&&Zee.createElement(Kee,{color:t,learningPathId:_})))})),Jee=__webpack_require__(67294),ete=["menuButtons","previousComponent"],tte=function(e){var t=e.menuButtons,n=e.previousComponent,r=Wi(e,ete);return Jee.createElement(r9,{type:nte.type},n,Jee.createElement(i9,{type:nte.type},t,Jee.createElement(o9,{type:nte.type},Jee.createElement(Qee,r))))},nte={id:"progress-summary",type:"progress-summary",title:"Progress Summary",description:"Summary of course progress"},rte=__webpack_require__(68621),ite=__webpack_require__.n(rte),ote=__webpack_require__(4549),ate=__webpack_require__.n(ote),ste=__webpack_require__(68959),ute=__webpack_require__.n(ste);function lte(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function cte(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lte(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):lte(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var dte=de()(YF(),fo()),fte=xl()(!1,["settings","isCaseSensitive"]),pte=function(e){return Gr()(Hr()(fte(e)),YF(),dte)},hte=function(e){var t=e.item,n=e.itemProgress;return Un()("text",n)&&function(e){var t=e.item,n=e.itemProgress;return Il(t,Cu()([],"answers"),di()(de()(pte(t),Un()("title"))),qn()(Ml(pte(t),Un()("text"),n)))}({item:t,itemProgress:n})},mte=function(e){var t,n,r,i=e.item,o=e.itemProgress;return Ma()(Un()("selectedIndex",o),(n=(t=i).answers,r=t.correct,ts()(bi()("id",r),n)))},vte=pJ()(Wr()),gte=Bn()(ts()),yte=function(e){var t,n=e.item,r=e.itemProgress;return Ma()((t=r,mJ()(vte,Cu()([],"selectedIndices",t))),function(e){return Il(e,Cu()([],"corrects"),di()(de()(gte(Cu()([],"answers",e)),bi()("id"))),si()(C_()(0)),mJ()(vte))}(n))},bte=function(e){return Il(e,de()(xs,Cu()([],"answers")),oa()("matchIndices"),Ex()("titleIndices",de()(C$(),Un()("matchIndices"))),yo()(e))},_te=xl()(!1,["settings","shuffleAnswerChoices"]),wte=function(e){return Al()([[bi()("type",yA.MATCHING),bte],[function(){return _te(e)},oi()({answers:C$()})],[db(),Wr()]])},kte=Ex()("items",(function(e){var t=e.items,n=(e.progress||{}).items,r=de()(String,Un()("id")),i=As(n,Un()("isComplete")),o=Os(r,i)(t),a=de()(cu(),Un()("isComplete")),s=As(n,a),u=Os(r,s)(t);return _t()(o).call(o,C$()(u))})),Ete=kl()((function(e){return ite()(function(e){return de()(Ho()(CN(),e),bi()("id"),Un()("id"))}(e),Wr())})),xte=pa()(lc()(Un()("answers"),Un()("answers")),ate()(kl()((function(e){return di()(function(e){return de()(ate()(Oo()),Ete(e))}(e))}))),oa()("answers")),Ste=Ho()((function(e){return di()((t=e,pa()(Ete(t),ite()(xte,ate()(Oo())),ate()(Oo()))));var t})),Tte=si()(bi()("drawn",!0)),Cte=ts()(bi()("type",yA.DRAW_FROM_QUESTION_BANK)),Ate=function(e){return function(t,n,r){var i=n.id,o=e.originalItemProgress,a={};o&&(a=o[r]||{});var s=de()(CN()(bi()("index",r)),wi())(e.items);return t[i]=cte(cte(cte({},a),s),{},{id:i,index:r}),t}},Ote=function(e){var t=e.questionIndexList,n=e.items,r=e.progress;return cte(cte({},r),{},{questionsDrawn:!0,questionList:t,items:n.reduce(Ate(r),{})})},Nte=function(e){for(var t=e.id,n=e.items,r=e.progress,i=e.updateProgress,o=Tl(n),a=Cte(o),s=[],u=0,l=function(){for(var e,t=Cr(ute()(a,o),2),n=t[0],i=DV(t[1]),l=i[0],c=wr()(i).call(i,1),d=l.drawCount,f=l.questions,p=[],h=[],m=[];p.length<d;)if(r.questionsDrawn){var v=r.questionList[u];i1()((function(e){var t,n=f[e];p.push(cte(cte({},n),{},{drawn:!0,id:_t()(t="".concat(l.id,"-")).call(t,n.id)}))}),v),m.push.apply(m,Tl(v))}else{var g,y=B5({drawCount:d,questions:f,drawnQuestions:h});p.push(cte(cte({},y),{},{drawn:!0,id:_t()(g="".concat(l.id,"-")).call(g,y.id)})),h.push(y.id),m.push(y.index)}o=_t()(e=[]).call(e,Tl(n),p,Tl(c)),s.push(m),u++,a=Cte(o)};-1!==a;)l();var c=Ote({questionIndexList:s,items:o,progress:r});return i({id:t,currentLesson:t,type:"quiz",updateFn:function(){return c}}),{items:o,progress:c}},Pte=xl()(!1,["settings","randomizeQuestionOrder"]),Lte=pa()(Sa()(Pte,kte),(function(e){return oi()({items:di()(wte(e))})(e)}),Un()("items"));function Mte(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Ite=yA.FILL_IN_THE_BLANK,Rte=yA.MATCHING,Dte=yA.MULTIPLE_RESPONSE,qte=bQ.CHOICE,jte=bQ.CORRECT_INCORRECT,Bte=Po()("quiz-item__"),Fte=xl()(0,["progress","activeIndex"]),Ute=de()($o(),Zo(),Cu()({},"matches")),zte=0,Hte=1,Vte=2,Wte=function(e){ut(n,e);var t=Mte(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).getSelection=r.getSelection.bind(it(r)),r.onChoiceSelect=r.onChoiceSelect.bind(it(r)),r.onFillInChange=r.onFillInChange.bind(it(r)),r.onAnimationStart=r.onAnimate.bind(it(r),Hte),r.onAnimationEnd=r.onAnimate.bind(it(r),Vte),r.onMatchSet=r.onMatchSet.bind(it(r)),r.onNextClick=r.onNextClick.bind(it(r)),r.onResponseToggle=r.onResponseToggle.bind(it(r)),r.onSubmit=r.onSubmit.bind(it(r)),r.state={startTime:Date.now(),matches:{},animating:{}},r}return rt(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 Ite:return xM(Un()("text",t));case Rte:return Ute(t)===$o()(Un()("answers",n));case Dte:return de()(_l()(xM,TM),Un()("selectedIndices"))(t);default:return xM(Un()("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 qte:return xl()("",[n,"feedback"],i);case jte:return t?a:s;default:return o}}},{key:"getIndex",value:function(){return this.props.hasStart?Rs()(this.props.index):this.props.index}},{key:"getIsComplete",value:function(e){var t=e.itemProgress;return Cu()(!1,"isComplete",t)}},{key:"getIsDoneCard",value:function(){return this.getIndex()<Fte(this.props)}},{key:"getIsCorrect",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case Ite:return hte({item:n,itemProgress:t});case Rte:return function(e){var t=e.itemProgress;return Es(Cu()({},"matches",t))}({itemProgress:t});case Dte:return function(e){var t=e.item,n=e.itemProgress;return Un()("selectedIndices",n)&&yte({item:t,itemProgress:n})}({item:n,itemProgress:t});default:return mte({item:n,itemProgress:t})}}},{key:"getItemProgress",value:function(e){var t=e.props;return xl()({},["items",t.item.id],t.progress)}},{key:"getSelection",value:function(e){var t=e.itemProgress;switch(this.props.item.type){case Ite:return t.text;case Rte:return t.matches;case Dte:return t.selectedIndices;default:return t.selectedIndex}}},{key:"hasNoBorder",value:function(){return qn()(this.props.item.type,[Ite,Rte])}},{key:"isNewlyActive",value:function(e){var t=e.prevProps,n=Fte(this.props),r=Fte(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=Fte(this.props),u=i||3;HK.pause(),zV.zW.scrollEvent.register("end",(function(){zV.zW.scrollEvent.remove("end"),e(t),a({activeIndex:Rs()(s),id:r})})),zV.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=Cu()(-1,"retryCount",c),_=parseInt(b,10),w=parseInt(l,10),k=Ma()(_,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===hA||v===vA)return d(E);t.onNextClick(d,E)}}}},{key:"onAnimate",value:function(e){var t=this;this.setState({animating:e},(function(){e===Vte&&t.setState({animating:zte})}))}},{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===Fte(this.props),r=this.getItemProgress({props:this.props}),i=this.getIsComplete({itemProgress:r}),o=this.getIsDoneCard(),a=eC()(e(t),{"animation--start":o&&this.state.animating===Hte,"animation--end":o&&this.state.animating===Vte}),s=o?this.onAnimationStart:void 0,u=o?this.onAnimationEnd:void 0;return m.createElement("div",{className:a,onAnimationStart:s,onAnimationEnd:u},m.createElement("div",{className:Bte("card-wrap")},m.createElement(M$,{isActive:n,isComplete:i},m.createElement("div",{style:n||i?void 0:{display:"none"}},this.renderItem()))))}},{key:"renderDefault",value:function(){return m.createElement("div",{className:Bte("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.feedbackGroup,p=s.quizAcceptableResponses,h=s.quizAnswerPlaceholder,v=s.quizCorrect,g=s.quizIncorrect,y=s.quizNext,b=s.quizRestart,_=s.quizQuestion,w=s.quizSubmit,k=o.id,E=o.media,x=o.title,S=c.revealAnswers,T=void 0===S?mA:S,C=this.getIndex(),A=C===Fte(this.props),O=this.getItemProgress({props:this.props}),N=this.getIsComplete({itemProgress:O}),P=this.getIsCorrect({itemProgress:O}),L=A&&N&&(T==hA||T==vA),M=A&&!N&&this.getCanSubmit({itemProgress:O}),I=this.onSubmit({canSubmit:M,isCorrect:P,itemProgress:O}),R=Un()("selectedIndex",O),D=this.getFeedback({isCorrect:P,selectedIndex:R}),q="q-".concat(k),j=this.getSelection({itemProgress:O}),B=eC()("quiz-card__retake-container",{"quiz-card__retake-container--active":N}),F=eC()("quiz-card__retake","brand--hoverColor",{"quiz-card__retake--active":N});return m.createElement(m.Fragment,null,m.createElement(hQ,{isActive:A,num:r?C:C+1,quizQuestion:_,total:$o()(a)}),m.createElement(vQ,{allowTabNavigation:A,id:q,value:x}),m.createElement(cQ,{allowTabNavigation:A,enableVideoPlaybackSpeed:n,index:String(C),labels:s,media:E,opts:c}),m.createElement(X$,{hasNoBorder:this.hasNoBorder()},this.renderType({canSubmit:M,isActive:A,isComplete:N,isCorrect:P,itemProgress:O,onSubmit:I,revealAnswers:T,questionHtmlId:q,quizAcceptableResponses:p,quizAnswerPlaceholder:h})),m.createElement(G$,{canProceed:L,feedbackGroup:f,feedbackRef:function(t){e.feedback=t},feedbackValue:D,hasFeedback:!!D,isActive:A,isComplete:N,isCorrect:P,item:o,progress:O,quizCorrect:v,quizIncorrect:g,selection:j}),m.createElement(N$,{allowNext:!u,canProceed:L,canSubmit:M,item:o,onNext:d?this.onNextFeedbackClick.bind(this,A):null,onSubmit:I,quizNext:100===l.percentComplete&&i?b:y,quizSubmit:w}),u&&m.createElement("div",{className:B},m.createElement("button",{className:F,onClick:u,type:"button"},m.createElement("div",{className:"quiz-card__retake-content"},m.createElement("div",{className:"quiz-card__retake-text brand--ui"},"TAKE AGAIN"),m.createElement("i",{className:"quiz-card__retake-icon icon icon-reload"})))))}},{key:"renderMCOptionText",value:function(e,t){var n=t.title;return m.createElement(NL,{allowTabNavigation:e,className:"quiz-multiple-choice-option__label brand--body",value:n})}},{key:"renderMROptionText",value:function(e,t){var n=t.title;return m.createElement(NL,{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.onSubmit,s=e.revealAnswers,u=e.questionHtmlId,l=e.quizAcceptableResponses,c=e.quizAnswerPlaceholder,d=this.props,f=d.color,p=d.item,h=d.prefersKeyboardNavigation,v=p.answers,g=p.correct,y=p.corrects,b=p.matchIndices,_=p.titleIndices,w=n&&!r;switch(p.type){case Ite:return m.createElement(kQ,{allowTabNavigation:n,isComplete:r,isCorrect:i,onChange:this.onFillInChange,onEnterToSubmit:a,options:v,revealAnswers:s,questionHtmlId:u,quizAcceptableResponses:l,quizAnswerPlaceholder:c,value:Cu()("","text",o)});case Rte:return m.createElement(KQ,{allowTabNavigation:w,answers:v,canSubmit:t,isActive:n,isComplete:r,matches:Cu()({},"matches",o),matchIndices:b,onEnterToSubmit:a,onMatch:this.onMatchSet,prefersKeyboardNavigation:h,revealAnswers:s,titleIndices:_});case Dte:return m.createElement(dJ,{allowTabNavigation:n,correctIds:y,isComplete:r,isCorrect:i,onChange:this.onResponseToggle,onEnterToSubmit:a,options:v,prefersKeyboardNavigation:h,renderOptionText:this.renderMROptionText.bind(this,n),revealAnswers:s,selectedIndices:Un()("selectedIndices",o)});default:return m.createElement(lJ,{allowTabNavigation:w,color:f,correctId:g,isComplete:r,isCorrect:i,onChange:this.onChoiceSelect,onEnterToSubmit:a,options:v,prefersKeyboardNavigation:h,questionHtmlId:u,renderOptionText:this.renderMCOptionText.bind(this,n),revealAnswers:s,selectedIndex:Un()("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?mA:o;if(this.getIndex()===Fte(this.props)&&a!==mA){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;zV.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;zV.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:hA},showNextButton:!0,submitAction:function(){return[]}}}}]),n}(m.Component),Yte=__webpack_require__(67294);function Gte(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kte(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gte(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Gte(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}function Zte(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Xte=xl()(0,["progress","activeIndex"]),$te=function(e){return function(t){return eC()("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})}},Qte=xl()(0,["progress","retryAttempts"]),Jte=function(e){ut(n,e);var t=Zte(n);function n(e){var r;et(this,n),r=t.call(this,e);var i=e.updateProgress,o=Nte(Kte(Kte({},e),{},{updateProgress:i})),a=Kte(Kte({},e),o);return r.state={items:Lte(a),progress:a.progress},r}return rt(n,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this.props.updateProgress;if(Qte(this.props)!==Qte(e)){var n=Nte(Kte(Kte({},e),{},{updateProgress:t})),r=Kte(Kte({},e),n);this.setState({items:Lte(r),progress:r.progress})}else{var i=function(e){for(var t=e.items,n=e.currentItems,r=e.progress,i=Tl(t),o=Cte(i);-1!==o;){var a,s=Cr(ute()(o,i),2),u=s[0],l=s[1],c=m1()(l),d=Tte(n);i=_t()(a=[]).call(a,Tl(u),Tl(d),Tl(c)),o=Cte(i)}return{items:i,progress:Ote({items:i,progress:r})}}(Kte(Kte({},e),{},{currentItems:this.state.items})),o=i.items,a=i.progress,s=Ste(this.state.items,o);this.setState({items:s,progress:a})}}},{key:"render",value:function(){var e=this.props,t=e.labels.quizLandmark,n=e.quizEnd,r=e.quizHeader,i=this.state.items,o=Xte(this.state),a=function(e){return{start:e<2?0:e-2,end:e+2}}(o),s=a.start,u=a.end,l=wr()(i).call(i,s,u);return Yte.createElement("section",{"aria-label":t,className:"quiz","data-quiz":!0},Yte.createElement("div",{className:"quiz__wrap"},r&&o<2?this.renderStart():null,Ca()(l).call(l,this.renderItem.bind(this,s)),n&&this.renderEnd()))}},{key:"renderEnd",value:function(){var e=this.props.quizEnd,t=this.state.items,n=Xte(this.state),r=$te(n),i=t.length+1;return Yte.createElement("div",{className:r(i)},Yte.createElement("div",{className:"quiz__item-wrap"},e(t)))}},{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.previousComponent,g=r.prefersKeyboardNavigation,y=r.progress,b=r.quizHeader,_=r.settings,w=r.title,k=this.state.items,E=Xte(this.state),x=$te(E);return Yte.createElement(Wte,{color:i,enableVideoPlaybackSpeed:o,getClassName:x,hasStart:!!b,id:a,index:n+e,isCard:!0,isQuestionBankQuiz:s,item:t,items:k,key:"item-".concat(t.id),labels:u,onChoiceSelect:c,onFillInChange:d,onMatchSet:f,onResponseToggle:p,prefersKeyboardNavigation:g,progress:y,quizTop:v?73:void 0,reportAnswer:l,retryAttempts:Qte({progress:y}),scrollId:"page-wrap",settings:_,setNextIndex:h,submitAction:m,title:w})}},{key:"renderStart",value:function(){var e=this.props.quizHeader,t=this.state.items,n=Xte(this.state),r=$te(n);return Yte.createElement("div",{className:r(0)},Yte.createElement("div",{className:"quiz__item-wrap"},e(t)))}}],[{key:"defaultProps",get:function(){return{updateProgress:Rl}}}]),n}(Yte.Component),ene=__webpack_require__(67294);function tne(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var nne=function(e){ut(n,e);var t=tne(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).animationTimeout=null,r.state={animated:!1,counted:!1},r}return rt(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=eC()("odometer__score brand--ui",{"odometer__score--pass":l,"odometer__score--fail":!1===l}),f=eC()("odometer__score-percent",{"odometer__score-percent--hidden":c});return ene.createElement("div",{className:"odometer"},ene.createElement("canvas",{className:"odometer__canvas",id:"odometer",width:r,height:n}),ene.createElement("canvas",{className:"odometer__fail",id:"fail",width:"170",height:"170"}),ene.createElement("canvas",{className:"odometer__pass",id:"pass",width:"170",height:"170"}),ene.createElement("div",{className:d},ene.createElement("div",{className:"odometer__score-label"},a),ene.createElement("div",{className:"odometer__pass-label brand--color"},s),ene.createElement("div",{className:"odometer__fail-label"},s),ene.createElement("div",{ref:function(t){e.scorePercent=t},className:f})),ene.createElement("div",{ref:function(t){e.passmark=t},className:"odometer__passmark"},ene.createElement("div",{className:"odometer__passlabel brand--ui"},o),ene.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",jV()(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),jV()(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:Rl,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}(ene.Component);function rne(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var ine=function(e){ut(n,e);var t=rne(n);function n(){var e,r;et(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,_t()(e=[this]).call(e,o))).animationTimeout=null,r.state={showFooter:!1},r.headingRef=(0,m.createRef)(),r.showFooter=r.showFooter.bind(it(r)),r.onTryAgainFocus=r.onTryAgainFocus.bind(it(r)),r}return rt(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&&fQ()(this.headingRef.current.focus)&&this.headingRef.current.focus()}},{key:"showFooter",value:function(){var e=this;this.animationTimeout=setTimeout((function(){e.setState({showFooter:!0})}),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,v=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=_t()(e="".concat(T," ")).call(e,f,"%");return m.createElement("div",{className:one({isAtEnd:u})},m.createElement("div",{className:"quiz-results__header"},m.createElement("h1",{className:"quiz-results__label noOutline brand--ui",ref:this.headingRef,tabIndex:UH},S),m.createElement("div",{className:"quiz-results__passing"},m.createElement("div",{className:"odometer__passlabel brand--ui"},x),m.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(y,"%")))),m.createElement("div",{className:"visually-hidden"},m.createElement("div",null,A),m.createElement("div",null,"".concat(C?"Passed":"Failed")),m.createElement("div",null,_t()(t="".concat(x," ")).call(t,y,"%"))),m.createElement("div",{"aria-hidden":"true",className:"quiz-results__results"},m.createElement(nne,{atEnd:u,color:i,complete:d,isPass:C,onAnimationDone:this.showFooter,quizScore:T,quizPassing:x,score:f,scoreLabel:A,passingScore:y})),une({allowTabNavigation:r,continueType:o,currentPassingScore:a,id:s,isAtEnd:u,labels:l,mode:p,nextLesson:h,nextLessonRestrictions:v,onNextClick:g,onTryAgainFocus:this.onTryAgainFocus,retryAttempts:b,retryCount:_,showFooter:E,showNavigationButtons:w,sidebarEnabled:k}))}}]),n}(m.Component),one=function(e){var t=e.isAtEnd;return eC()("quiz-results",{"quiz-results--active":t})},ane=function(e){var t=e.isAtEnd,n=e.showFooter;return eC()("quiz-results__footer",{"quiz-results__footer--active":t,"quiz-results__footer--hidden":!n})},sne=function(e){var t=e.currentPassingScore,n=e.id;return function(){return sN(function(e){var t=e.currentPassingScore,n=e.id;return function(e){return e(nl({id:n,updateFn:jl(t)}))}}({currentPassingScore:t,id:n}))}},une=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,v=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&&!v),x=E&&Vn;return m.createElement("div",{className:ane({isAtEnd:o,showFooter:h})},(-1===p||f<p)&&m.createElement(q1,{allowTabNavigation:t,onClick:sne({currentPassingScore:r,id:i}),onFocus:d,text:k}),E&&y&&u&&m.createElement(r$,{bgType:"transparent",text:UN({labels:a,restrictions:l})}),E&&!y&&u&&m.createElement(n$,{href:"/lessons/".concat(encodeURIComponent(u)),onClick:c,text:w}),x&&m.createElement(n$,{href:"/lessons/progress-summary",onClick:c,text:_}))},lne=__webpack_require__(67294),cne=["nextComponent"],dne=function(e){var t=e.nextComponent,n=Wi(e,cne),r=n.isAtEnd,i=GI(r),o=HB("rise-course-navigation");return(0,m.useLayoutEffect)((function(){if(!i&&r&&!o){var e=document.querySelector("[data-page]:first-child [data-next-lesson]");e&&(e.style.display="flex")}}),[r,i,o]),lne.createElement("div",{"aria-hidden":!n.allowTabNavigation,className:"quiz-end"},lne.createElement("div",{className:"quiz-end__container"},lne.createElement(ine,n)),lne.createElement("div",{className:"quiz-end__footer"},r&&t))},fne=de()(Ho()(PN(),0),Cu()(0,"retryAttempts")),pne=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return fne(t)?r:n},hne=function(e){var t,n,r,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.totalLessons;return m.createElement("div",{className:"quiz-header__count"},_t()(t=_t()(n=_t()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s))},mne=function(e){var t=e.id,n=e.lessonProgress;return function(){return sN(Dl({activeIndex:Math.max(0,Rs()(Cu()(0,"activeIndex",n))),id:t}))}},vne=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.lessonName,l=s.lessonPreposition,c=s.quizStart,d=s.quizTakeAgain,f=e.lessonNumber,p=e.lessonProgress,h=e.showAuthor,v=e.showLessonCount,g=e.title,y=e.totalLessons,b=(0,m.useRef)(),_=t&&fne(p);return(0,m.useEffect)((function(){_&&b&&b.current&&fQ()(b.current.focus)&&b.current.focus()}),[_,b]),m.createElement("div",{"aria-hidden":!t,className:"quiz-header"},m.createElement("div",{className:"quiz-header__container"},m.createElement("div",{className:"quiz-header__limit"},m.createElement("div",{className:"quiz-header__row"},m.createElement("div",{className:"quiz-header__main"},m.createElement("div",{className:"quiz-header__top-wrap brand--afterBackground"},m.createElement("h1",{className:"noOutline",ref:b,tabIndex:UH},m.createElement(NL,{className:"quiz-header__title brand--lhead",value:ri(g)})),h&&r&&n?m.createElement("div",{className:"quiz-header__author brand--ui"},m.createElement("img",{src:ox("".concat(r)),alt:""}),m.createElement("span",{className:"visually-hidden"},"by ",n),m.createElement("span",{"aria-hidden":"true"},n)):null,m.createElement("div",{className:"quiz-header__counter brand--body"},a&&v&&hne({lessonName:u,lessonNumber:f,lessonPreposition:l,totalLessons:y}))),m.createElement(NL,{className:"quiz-header__description brand--lbody brand--linkColor",value:i,allowTabNavigation:t}),m.createElement("button",{className:"quiz-header__start-quiz brand--color",onClick:t?mne({id:o,lessonProgress:p}):Rl,tabIndex:HH(t),type:"button"},m.createElement("span",{className:"brand--ui"},pne({lessonProgress:p,quizStart:c,quizTakeAgain:d})),m.createElement("i",{className:"icon icon-chevron-right"})))))))},gne=function(e){var t=e.itemId,n=e.text;return sa()(Jo()(["items",t]),Gr()(la()(Ra(),[n]),qa()(["text"]),Co()("text",n)))},yne=function(e){var t=e.itemId,n=e.dragIndex,r=e.dropZoneIndex;return sa()(Jo()(["items",t,"matches"]),de()(Co()(n,r),n_()(Ma()(r)),SM))},bne=function(e){var t=e.itemId,n=e.selectedIndex;return sa()(Jo()(["items",t]),Co()("selectedIndex",n))},_ne=function(e){return Jo()(["items",e])},wne=function(e){return de()(_ne(e),ta()("selectedIndices"))},kne=function(e){var t,n=e.itemId,r=e.selectedIndex;return de()(Sa()((t=n,de()(Ra(),OQ()(wne(t)))),function(e){return sa()(_ne(e),qa()(["selectedIndices"]))}(n)),function(e){var t=e.itemId,n=e.selectedIndex;return sa()(wne(t),de()(Gr()(qn()(n),O$()(u1()(n)),gO()(n)),Sa()(Wo(),(function(){return[]}))))}({itemId:n,selectedIndex:r}))},Ene=__webpack_require__(67294),xne=xl()(0,["lessonProgress","activeIndex"]),Sne=xl()(0,["lessonProgress","retryAttempts"]),Tne=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.nextComponent,c=e.nextLesson,d=e.nextLessonRestrictions,f=e.onNextClick,p=e.settings,h=p.continueType,m=p.passingScore,v=p.retryCount,g=e.showNavigationButtons,y=e.sidebarEnabled,b=t.length+1===xne(e);return Ene.createElement(dne,{allowTabNavigation:b,color:n,continueType:h,current:a,currentPassingScore:r,id:i,isAtEnd:b,labels:o,length:t.length,lessonProgress:s,mode:u,nextComponent:l,nextLesson:c,nextLessonRestrictions:d,onNextClick:f,passingScore:m,retryAttempts:Sne({lessonProgress:s}),retryCount:Number(v),showNavigationButtons:g,sidebarEnabled:y})}},Cne=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===xne(e);return Ene.createElement(vne,{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})}},Ane={setFillInText:function(e){var t=e.id,n=e.itemId,r=e.text;return function(e){return e(nl({id:t,type:"quiz",updateFn:gne({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(nl({id:t,type:"quiz",updateFn:yne({itemId:n,dragIndex:r,dropZoneIndex:i})}))}},setNextIndex:Dl,setSelectedIndex:function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e(nl({id:t,type:"quiz",updateFn:bne({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(nl({id:n,type:"quiz",updateFn:Bl({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(nl({id:t,type:"quiz",updateFn:kne({itemId:n,selectedIndex:r})}))}},updateLessonProgress:nl},One=ze(null,Ane)((function(e){var t=e.color,n=e.id,r=e.items,i=e.labels,o=e.lessonProgress,a=e.previousComponent,s=e.setFillInText,u=e.setMatchItems,l=e.setNextIndex,c=e.setSelectedIndex,d=e.settings,f=e.submitAnswer,p=e.title,h=e.toggleSelectedIndex,m=e.updateLessonProgress;return Ene.createElement(Jte,{color:t,id:n,items:r,labels:i,onChoiceSelect:c,onFillInChange:s,onMatchSet:u,onResponseToggle:h,onSetIndex:l,onSubmit:f,previousComponent:a,progress:o,reportAnswer:ax,quizEnd:Tne(e),quizHeader:Cne(e),settings:d,title:p,updateProgress:m})})),Nne=__webpack_require__(67294);function Pne(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Lne=function(e){var t,n=e.id,r=e.passingScore;return Ho()(so(),(t={id:n,passingScore:r},ZE("getMasteryScore")?GE.getMasteryScore(t):t.passingScore))},Mne=function(e){var t=e.id,n=e.settings,r=e.lessonProgress,i=void 0===r?{}:r;return sa()(Jo()(["passingScore"]),Lne(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pne(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Pne(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({id:t},i)),n)},Ine=function(e){var t=e.authorName,n=e.avatar,r=e.color,i=e.continueComponent,o=e.data,a=o.description,s=o.id,u=o.items,l=o.settings,c=o.title,d=o.type,f=e.enableVideoPlaybackSpeed,p=e.isLesson,h=e.labels,m=e.lessonNumber,v=e.lessonProgress,g=e.menuButtons,y=e.menuOpen,b=e.mobileMenuOpen,_=e.mode,w=e.nextComponent,k=e.nextLesson,E=e.nextLessonRestrictions,x=e.onNextClick,S=e.overlayNavIsOpen,T=e.prefersKeyboardNavigation,C=e.previousComponent,A=e.showAuthor,O=e.showLessonCount,N=e.showNavigationButtons,P=e.sidebarEnabled,L=e.totalLessons;return Nne.createElement(r9,{type:d},C,Nne.createElement(i9,{type:d},g,Nne.createElement(s9,null,Nne.createElement(o9,{type:d,items:u},Nne.createElement(C8,{id:s,lessonProgress:v,menuOpen:y,mobileMenuOpen:b,overlayNavIsOpen:S,type:"quiz"}),Nne.createElement(One,{authorName:t,avatar:n,color:r,currentPassingScore:l.passingScore,description:a,enableVideoPlaybackSpeed:f,id:s,isLesson:p,items:u,labels:h,lessonNumber:m,lessonProgress:v,menuOpen:y,mobileMenuOpen:b,mode:_,nextComponent:i||w,nextLesson:k,nextLessonRestrictions:E,onNextClick:x,prefersKeyboardNavigation:T,previousComponent:C,settings:Mne({id:s,lessonProgress:v,settings:l}),showAuthor:A,showLessonCount:O,showNavigationButtons:N,sidebarEnabled:P,title:c,totalLessons:L})))))},Rne=__webpack_require__(13311),Dne=__webpack_require__.n(Rne);var qne=__webpack_require__(67294),jne=function(e){return qne.createElement("section",{"aria-label":"Sorting Activity Content",className:"sorting-lesson"},qne.createElement(J1,yt({},e,{onCardDrop:de()(sN,bu),onReplay:de()(sN,gu)})))},Bne=__webpack_require__(67294),Fne=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,d=e.menuButtons,f=e.nextComponent,p=e.previousComponent;return Bne.createElement(r9,{type:a},p,Bne.createElement(i9,{type:a},d,Bne.createElement(s9,null,Bne.createElement("div",{className:l,style:{color:t}},u),Bne.createElement(o9,{type:a},Bne.createElement(jne,{id:r,items:i,labels:s,progress:c,piles:o})))),Un()("isComplete",c)?f:null)},Une=__webpack_require__(67294);function zne(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Hne=pa()(Un()("linePosition"),parseFloat),Vne=j6()(Hne),Wne=de()(sN,wu),Yne=de()(sN,wu),Gne=function(e){ut(n,e);var t=zne(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.id,r=Br()([0,"id"],t);Wne({id:n,payload:{activeIndex:0,itemId:r}})}},{key:"render",value:function(){var e=this.props.items;return Une.createElement("section",{"aria-label":"Timeline Content",className:"timeline-lesson"},Une.createElement(H2,yt({},this.props,{isLearner:!0,items:Vne(e),progress:Un()("lessonProgress",this.props),onEnter:Wne,onLeave:Yne})))}}]),n}(Une.Component),Kne=__webpack_require__(67294),Zne=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,d=e.menuButtons,f=e.nextComponent,p=e.previousComponent;return Kne.createElement(r9,{type:o},p,Kne.createElement(i9,{type:o},d,Kne.createElement(s9,null,Kne.createElement("div",{className:u,style:{color:t}},s),Kne.createElement(o9,{type:o},Kne.createElement(Gne,{id:r,items:i,labels:a,lessonProgress:l,loadMedia:c})))),f)},Xne={addEventListeners:function(e,t){e.addEventListener("animationend",t,!1)},removeEventListeners:function(e,t){e.removeEventListener("animationend",t,!1)}},$ne=__webpack_require__(67294);function Qne(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Jne=function(e){ut(n,e);var t=Qne(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={load:!1},r}return rt(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=xl()(0,["audioVideoPlayhead"],r),l=Un()("currentTime",r),c=Br()(["video","key"],a),d=Br()(["lessonProgress","percentComplete"],r),f=Br()(["video","poster"],a),p=eC()("video-lesson",{"video-lesson--visible":this.state.load});return $ne.createElement("div",null,$ne.createElement("div",{className:"page__content-container"},$ne.createElement("section",{"aria-label":"Video Content",className:p},this.state.load?$ne.createElement("div",{className:"video-lesson__item"},$ne.createElement(VZ,{audioVideoPlayhead:u,canAdjustPlaybackSpeed:t,canRestrictSeek:s.forwardSeekRestricted,currentTime:l,id:o,labels:n,percentComplete:d,poster:f,progressChanged:ere(o),recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,o),src:c})):null)))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){sN(z5({lessonId:e,playheadPercentage:t}))}}],[{key:"defaultProps",get:function(){return{lessonProgress:{audioVideoPlayhead:0,currentTime:0,percentComplete:0}}}}]),n}($ne.Component),ere=Ro()(2,(function(e,t){var n=t.currentTime,r=t.percentComplete;return sN(function(e){var t=e.currentTime,n=e.id,r=e.percentComplete;return function(e){return e(nl({id:n,updateFn:Pu({currentTime:t,percentComplete:r})}))}}({id:e,currentTime:n,percentComplete:r}))})),tre=__webpack_require__(67294),nre=function(e){var t=e.color,n=e.data,r=e.labels,i=e.lessonHeader,o=e.lessonHeaderWrapClasses,a=e.lessonProgress,s=e.menuButtons,u=e.nextComponent,l=e.prefersKeyboardNavigation,c=e.previousComponent,d=e.enableVideoPlaybackSpeed;return tre.createElement(r9,{type:n.type},c,tre.createElement(i9,{type:n.type},s,tre.createElement(s9,null,tre.createElement("div",{className:o,style:{color:t}},i),tre.createElement(o9,null,tre.createElement(Jne,{data:n,labels:r,lessonProgress:a,prefersKeyboardNavigation:l,enableVideoPlaybackSpeed:d})))),u)},rre=cL("lesson-nav"),ire=function(e,t){var n,r,i,o,a=e.allowTooltip,s=e.buttonScheme,u=e.color,l=e.courseHomeLabel,c=e.lessonNameLabel,d=e.lessonPrepositionLabel,f=e.onFocus,p=e.previousLesson,h=e.previousLessonNumber,v=e.totalLessons,g=null==p?void 0:p.id,y=MI(),b=LI(y),_=KS(p)&&g,w=(null==p?void 0:p.title)||l,k=s===dS.TINT,E=k?US(u):u,x=_?_t()(n=_t()(r=_t()(i="".concat(h," ")).call(i,d," ")).call(r,v," — ")).call(n,w):w,S=b&&_?_t()(o="".concat(c," ")).call(o,h):x,T={color:k?E:null};return m.createElement(PI,{allowTooltip:a,direction:"previous",linkStyles:T,navLessonId:g,onFocus:f,ref:t},b?m.createElement(m.Fragment,null,m.createElement("span",{className:rre("link-text")},S),m.createElement(Pj,{className:rre("link-icon")})):m.createElement(m.Fragment,null,m.createElement(Pj,{className:rre("link-icon")}),m.createElement("span",{className:rre("link-text")},S)))},ore=DB("LessonNavPrevious",m.forwardRef(ire));var are=Qt((function(){var e=UP(),t=HP(UP());return function(n,r){var i=r.lessonId,o=fN(n),a=e(i,n)||{},s=t(i,n),u=KP(n),l=RP(n);return{buttonNavigationStyle:o.buttonNavigationStyle,buttonScheme:o.buttonScheme,color:o.color,courseHomeLabel:u.courseHome,lessonNameLabel:u.lessonName,lessonPrepositionLabel:u.lessonPreposition,previousLesson:a,previousLessonNumber:s,totalLessons:l}}}),null,null,{forwardRef:!0})(ore),sre=function(e,t){var n=(0,m.useState)(null),r=n[0],i=n[1];return(0,m.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},ure=function(e){(0,m.useEffect)(e,[])},lre=function(e){var t=(0,m.useRef)(e);t.current=e,ure((function(){return function(){return t.current()}}))},cre=__webpack_require__(96026),dre=__webpack_require__.n(cre),fre=cL("lesson-nav"),pre=function(e,t){var n,r,i,o,a=e.allowTooltip,s=e.buttonScheme,u=e.color,l=e.lessonNameLabel,c=e.lessonPrepositionLabel,d=e.nextLesson,f=e.nextLessonNumber,p=e.onFocus,h=e.restrictionData,v=e.restrictionType,g=e.totalLessons,y=null==d?void 0:d.id,b=MI(),_=LI(b),w=KS(d)&&y,k=(null==d?void 0:d.title)||"",E=s===dS.TINT,x=E?US(u):u,S=w?_t()(n=_t()(r=_t()(i="".concat(f," ")).call(i,c," ")).call(r,g," — ")).call(n,k):k,T=_&&w?_t()(o="".concat(l," ")).call(o,f):S,C={color:E?x:null};return m.createElement(PI,{allowTooltip:a,direction:"next",linkStyles:C,navLessonId:y,onFocus:p,ref:t,restrictionData:h,restrictionType:v},_?m.createElement(m.Fragment,null,m.createElement("span",{className:fre("link-text")},T),m.createElement(Nj,{className:fre("link-icon")})):m.createElement(m.Fragment,null,m.createElement(Nj,{className:fre("link-icon")}),m.createElement("span",{className:fre("link-text")},T)))},hre=DB("LessonNavNext",(0,m.forwardRef)(pre)),mre=dre()(0,1,.01);function vre(){var e=zP(),t=HP(zP()),n=kP();return function(r,i){var o=i.lessonId,a=fN(r),s=e(o,r)||{},u=t(o,r),l=KP(r),c=n(s.id,r),d=RP(r);return{buttonNavigationStyle:a.buttonNavigationStyle,buttonScheme:a.buttonScheme,color:a.color,lessonNameLabel:l.lessonName,lessonPrepositionLabel:l.lessonPreposition,nextLesson:s,nextLessonNumber:u,restrictionData:null==c?void 0:c.data,restrictionType:null==c?void 0:c.type,totalLessons:d}}}var gre=Qt(vre)((function(e){var t=e.dispatch,n=(0,m.useRef)(),r=sre(n,{threshold:mre}),i=HV();return(0,m.useLayoutEffect)((function(){var e=n.current.closest("[data-lesson-id]");e&&i===e.dataset.lessonId&&t(tN({intersectionRect:null==r?void 0:r.intersectionRect}))}),[i,t,r]),lre((function(){return t(tN(null))})),m.createElement(hre,yt({ref:n},e))})),yre=Qt(vre,null,null,{forwardRef:!0})(hre),bre=cL("lesson-nav"),_re=function(e,t){var n=e.allowTooltip,r=e.buttonScheme,i=e.color,o=e.courseFinishLabel,a=e.onFocus,s=e.restrictionData,u=e.restrictionType,l=r===dS.TINT,c=l?US(i):i,d=MI(),f=LI(d),p={color:l?c:null};return m.createElement(PI,{allowTooltip:n,direction:"next",finish:!0,linkStyles:p,onFocus:a,ref:t,restrictionData:s,restrictionType:u},f?m.createElement(m.Fragment,null,m.createElement("span",{className:bre("link-text")},o),m.createElement(Nj,{className:bre("link-icon")})):m.createElement(m.Fragment,null,m.createElement(Nj,{className:bre("link-icon")}),m.createElement("span",{className:bre("link-text")},o)))},wre=DB("LessonNavFinish",(0,m.forwardRef)(_re));var kre=Qt((function(e){var t,n=fN(e),r=KP(e);return{buttonNavigationStyle:n.buttonNavigationStyle,buttonScheme:n.buttonScheme,color:n.color,courseFinishLabel:null!==(t=r.courseFinish)&&void 0!==t?t:"Finish"}}))(wre),Ere=__webpack_require__(67294),xre=DB("LessonHeader"),Sre=cL("lesson-header"),Tre=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=a.lessonHeaderLandmark,c=e.lessonHeaderColor,d=e.lessonHeaderImage,f=e.lessonHeaderImageOverlayStyle,p=e.lessonHeaderSize,h=e.lessonHeaderStyle,v=e.partnerContentAuthors,g=e.totalLessons,y=e.lessonNumber,b=e.showAuthor,_=e.showLessonCount,w=e.title,k=HB("rise-auto-calc-contrast"),E=gN()===Pb,x=h===rS.TINT?{color:i}:null,S=lL(),T=h===rS.IMAGE,C=h===rS.ACCENT&&DS(i),A=h===rS.COLOR&&DS(c),O=f===rS.ACCENT,N=T&&O&&DS(i)||C||A,P=Sre("top-wrap",{"bg-light":!N,"bg-dark":N}),L=(0,m.useMemo)((function(){if(h===rS.COLOR)return{backgroundColor:c};var e=Br()(["media","image"],d),t=d.alpha,n=S===yS.LIGHT?tS:"#fff";return e&&h===rS.IMAGE?eS({alpha:t,color:k?n:tS,url:Yx(e)}):void 0}),[k,c,d,h,S]);return Ere.createElement(Ere.Fragment,null,Ere.createElement(yI,{sectionStyles:L,lessonHeaderLandmark:l,lessonHeaderTextColor:S,topWrapStyles:x,topWrapClassName:P},Ere.createElement(xre,{authorName:t,avatar:n,description:o,lessonName:s,lessonNumber:y,lessonHeaderSize:p,lessonHeaderTextColor:S,lessonPreposition:u,partnerContentAuthors:v,showAuthor:b,showLessonCount:_&&!E,title:w,totalLessons:g})),r)},Cre=__webpack_require__(67294),Are=DB("CoverSVG"),Ore=cL("theme-lesson-header-one-page"),Nre=cL("page"),Pre=Ore("main").mix("lesson-header__main"),Lre=Ore("container").mix(Nre("header-container")),Mre=function(e){var t,n=e.course,r="organic"===(null==n||null===(t=n.theme)||void 0===t?void 0:t.themeId)?"#f8f8f8":"#fff",i=(null==n?void 0:n.coverPageType)===pS.WHITE,o=(null==n?void 0:n.coverPageType)===pS.IMAGE,a=(null==n?void 0:n.coverPageType)===pS.ACCENT,s=a?null==n?void 0:n.color:r,u=Ore("wrapper",{accent:a,white:i}),l=o?ZS(null==n?void 0:n.coverImage):{backgroundColor:s};return Cre.createElement("div",{className:u,style:l},Cre.createElement("div",{className:Lre},Cre.createElement("div",{className:Pre},Cre.createElement(IM,null),Cre.createElement(VM,null))),Cre.createElement(Are,{coverPageType:"LEFT"}))},Ire=__webpack_require__(67294);function Rre(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Dre=iS.LARGE,qre=iS.SMALL,jre=rS.ACCENT,Bre=rS.BLACK,Fre=rS.COLOR,Ure=rS.DARK,zre=rS.GRAY,Hre=rS.IMAGE,Vre=rS.LIGHT,Wre=rS.TINT,Yre=cL("lesson-header-wrap"),Gre=function(e){ut(n,e);var t=Rre(n);function n(e){var r;et(this,n),r=t.call(this,e);var i=e.course,o=e.isProgressSummary,a=e.lessonProgress,s=e.match.params,u=Cu()(null,"index",a),l=o?nte:xl()({},["lessons",u],i),c={course:i,lesson:l},d=o?null:VN(c);return r.state={hasTransitioned:!1,lessonNumber:o?0:HN(c),mode:s.mode||"",model:l,next:d,nextNumber:HN({course:i,lesson:d}),scrollPosition:0,totalLessons:WN(i)},r}return rt(n,[{key:"componentDidMount",value:function(){var e=this.props.match.params.id;this.setState({hasTransitioned:!0}),this.props.isProgressSummary||function(e){if(ZE("startLesson"))GE.startLesson(e)}(e),this.props.isProgressSummary||sN(tl(e)),this.props.isCourseNavigationEnabled||fW()("[data-page]:first-child [data-previous-lesson]").hide().attr("data-scrolling","true")}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=Cu()(null,"index",n),i=xl()(null,["lessons",r],t),o=VN({course:t,lesson:i});i&&this.setState({model:i,next:o})}}},{key:"componentDidUpdate",value:function(e,t){var n,r,i=this,o=null===(n=e.lessonProgress)||void 0===n?void 0:n.isComplete,a=null===(r=this.props.lessonProgress)||void 0===r?void 0:r.isComplete;o||!a||this.props.isCourseNavigationEnabled||this.displayFlex(fW()("[data-page]:first-child [data-next-lesson]")),this.props.didNavigate&&!t.hasTransitioned&&this.state.hasTransitioned&&setTimeout((function(){i.props.onFocusPageTop()}),0)}},{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentWillEnter",value:function(e){fW()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){if(this.props.isCourseNavigationEnabled)this.setState({hasTransitioned:!0});else{var e=fW()("[data-page]:first-child [data-previous-lesson]"),t=fW()("[data-page]:first-child [data-next-lesson]"),n=document.getElementsByClassName("page-wrap");if(this.setState({hasTransitioned:!0}),e.length>0){var r=e.outerHeight();this.displayFlex(e),fW()(n).scrollTop(r),fW()("[data-lesson-header]").css({top:r}),e.removeAttr("data-scrolling")}t.length>0&&(t.hide(),this.displayFlex(t))}}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;fW()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),window.dispatchEvent(new CustomEvent(yU)),fW()(v.findDOMNode(this)).scrollTop(this.lastScrollPosition)}},{key:"transitionComplete",value:function(){var e=v.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=v.findDOMNode(this);if(a){var s=_t()(n="page ".concat(o,"-")).call(n,e);a.className=s,Xne.addEventListeners(a,(function n(){a.className="enter"===e?"page ".concat(o,"-complete"):"page",Xne.removeEventListeners(a,n),window.dispatchEvent(new CustomEvent(bU)),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 Ire.createElement(tte,yt({},this.props,n));switch(t){case"blocks":return Ire.createElement(X9,yt({},n,{handleNavigate:this.props.handleNavigate,animateBlockEntrance:r.animateBlockEntrance,isFirstLesson:jN({course:r,lesson:i})}));case"map":return Ire.createElement(a8,n);case"process":return Ire.createElement(M8,n);case"timeline":return Ire.createElement(Zne,n);case"quiz":return Ire.createElement(Ine,n);case"sorting":return Ire.createElement(Fne,n);case"screencast":case"slidecast":case"video":return Ire.createElement(nre,n);case"embed":return Ire.createElement(t8,n);default:return null}}},{key:"render",value:function(){var e,t=this.state,n=t.lessonNumber,r=t.mode,i=t.model,o=t.next,a=t.scrollPosition,s=t.totalLessons,u=this.props,l=u.allowRestrictedTooltip,c=u.course,d=u.courseProgress,f=u.handleStorylineFullscreen,p=u.isAutoCalcContrastEnabled,h=u.isMobileHeader,m=u.isProgressSummary,v=u.labels,g=u.lessonHeaderTextColor,y=u.lessonProgress,b=u.location,_=u.lxpEnabled,w=u.match,k=u.menuButtons,E=u.menuOpen,x=u.mobileMenuOpen,S=u.overlayNavIsOpen,T=u.previewType,C=u.sessionPreferences.prefersKeyboardNavigation,A=u.sidebarEnabled,O=u.themeId,N=i.author,P=i.selectedAuthorId,L=i.settings,M=void 0===L?{}:L,I=i.type,R=c.authors,D=c.color,q=c.colorAccentTint,j=c.enableVideoPlaybackSpeed,B=c.id,F=c.lessonHeaderImage,U=c.lessonHeaderSize,z=c.lessonHeaderStyle,H=c.publishedAt,V=c.showAuthor,W=c.showLessonCount,Y=c.showNavigationButtons,G=c.tenantId,K=c.theme,Z=c.type,X=K.lessonHeaderColor,$=K.navigationType,Q=xl()([],["partnerContent","content"],this.props),J=!Ra()(Q),ee=J?CN()(bi()("id",P),Q):{},te=J?xl()(void 0,["data","authors"],ee):void 0,ne=DS(D),re=DS(X),ie=function(e){var t=e.authors,n=e.author,r=e.selectedAuthorId;return Dne()(t,{id:r||n})||{}}({authors:R,author:N,selectedAuthorId:P}),oe=ie.avatar,ae=ie.authorName,se=IN({course:c,courseProgress:d}),ue=m?{}:FN({course:c,courseProgress:d,lesson:o,lxpEnabled:_,restrictingQuiz:se}),le="quiz"===I&&"continue"===M.continueType,ce=mW(i),de=o&&"preview-lesson"!==r&&Y&&!le,fe=(null===(e=i.settings)||void 0===e?void 0:e.playbackMode)===Lb,pe=!this.props.isCourseNavigationEnabled&&"preview-lesson"!==r&&Y&&!fe?Ire.createElement(are,{lessonId:i.id}):null,he=!this.props.isCourseNavigationEnabled&&de,me=!this.props.isCourseNavigationEnabled&&Vn,ve=he?Ire.createElement(gre,{allowTooltip:l,lessonId:i.id}):me?Ire.createElement(kre,null):null,ge=Z===Pb?Mre:Tre,ye=Ire.createElement(ge,{authorName:ae,avatar:oe,color:D,course:c,description:i.description,labels:v,lessonHeaderColor:X,lessonHeaderImage:F,lessonHeaderStyle:z,lessonHeaderSize:U,lessonNumber:n,partnerContentAuthors:te,showAuthor:V,showLessonCount:W,themeId:O,title:i.title,totalLessons:s},!m&&Ire.createElement(C8,{id:i.id,items:i.items,lessonProgress:y,menuOpen:E,mobileMenuOpen:x,navigationType:$,overlayNavIsOpen:S,scrollPosition:a,type:i.type})),be=Yre({small:U===qre&&!h,large:U===Dre&&!h,mobile:h,accent:z===jre,black:z===Bre,tint:z===Wre,dark:z===Ure,gray:z===zre,light:z===Vre,custom:z===Fre,image:z===Hre,text:p&&g.toLowerCase(),"bg-light":z===jre&&!ne||z===Fre&&!re,"bg-dark":z===jre&&ne||z===Fre&&re}),_e={authorName:ae,avatar:oe,color:D,colorAccentTint:q,courseId:B,courseTitle:c.title,data:i,enableVideoPlaybackSpeed:j,handleStorylineFullscreen:f,isLesson:KS(i),labels:v,lessonHeader:ye,lessonHeaderImage:F,lessonHeaderStyle:z,lessonHeaderWrapClasses:be,lessonHasContinues:ce,lessonNumber:n,lessonProgress:y,loadMedia:this.state.hasTransitioned,location:b,match:w,menuButtons:k,menuOpen:E,mobileMenuOpen:x,mode:r,nextComponent:ve,nextLesson:Cu()(null,"id",o),nextLessonRestrictions:ue,overlayNavIsOpen:S,partnerContent:Q,publishedAt:H,prefersKeyboardNavigation:C,previewType:T,previousComponent:pe,scrollPosition:a,showAuthor:V,showLessonCount:W,showNavigationButtons:Y,sidebarEnabled:A,tenantId:G,totalLessons:s};return Ire.createElement(sH(),{title:QH(i.title+" - "+c.title)},Ire.createElement("div",{"data-lesson-id":w.params.id},this.renderLessonType({type:I,props:_e,course:c,model:i})))}}]),n}(Ire.Component),Kre=de()(VB("rise-course-navigation","isCourseNavigationEnabled"),VB("rise-auto-calc-contrast","isAutoCalcContrastEnabled"),(function(e){function t(t,n){t.targetColor;var r=Wi(t,tL),i=lL();return eL.createElement(e,yt({},r,{ref:n,lessonHeaderTextColor:i}))}return gt()((0,m.forwardRef)(t),{displayName:"withLessonHeaderTextColor(".concat(e.displayName||e.name,")")})}),WB),Zre=Kre(Gre),Xre={threshold:.2},$re=function(e){var t,n=Cr((0,m.useState)(),2),r=n[0],i=n[1],o=(0,m.useRef)(null);return o.current=(t=function(e){var t=Cr(e,1)[0];return i(null==t?void 0:t.isIntersecting)},new IntersectionObserver(t,Xre)),(0,m.useEffect)((function(){return o.current.observe(e.current),function(){o.current.disconnect()}}),[e]),r},Qre=cL("navButtonsFull"),Jre=function(e){var t,n,r,i=e.children,o=e.wrapStyles,a=e.navPrevEnabled,s=e.navNextEnabled,u=e.navFinishEnabled,l=(0,m.useRef)(null),c=(0,m.useRef)(null),d=HV(),f=$re(c),p=(t=Cr((0,m.useState)(!1),2),n=t[0],r=t[1],QI(yU,(function(){return r(!0)})),QI(bU,(function(){return r(!1)})),n),h=(0,m.useCallback)((function(){var e;null===(e=l.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})}),[]);QI(vU,h),function(e){var t=e.isVisible;lre((function(){return window.dispatchEvent(new CustomEvent(wU))})),(0,m.useEffect)((function(){var e=t?_U:wU;window.dispatchEvent(new CustomEvent(e))}),[t])}({isVisible:f}),(0,m.useEffect)((function(){if(!p&&c.current){var e,t,n,r=(null!==(e=null===(t=c.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:0)+1;null===(n=l.current)||void 0===n||n.scrollTo({top:r})}}),[p,c]);var v=Qre("navPrev",{visible:f,hide:p});return m.createElement("div",{className:"page-wrap",id:"page-wrap",ref:l,style:o},m.createElement("div",{className:Qre()},a&&m.createElement("div",{className:v},m.createElement(are,{ref:c,lessonId:d})),i,s&&m.createElement(gre,{lessonId:d}),u&&m.createElement(kre,{lessonId:d})))},eie=function(e){ure((function(){e()}))},tie=cL("navButtonsFloating"),nie=function(e){var t=e.transitionIn,n=e.buttonType,r=e.children,i={entered:tie(n,{entered:!0}),exiting:tie(n,{exiting:!0}),exited:tie(n,{exited:!0})};return m.createElement(Zt,{in:t,timeout:250},(function(e){return m.createElement("div",{className:i[e]},r)}))},rie=function(e){var t=e.children,n=e.wrapStyles,r=e.navPrevEnabled,i=e.navNextEnabled,o=e.navFinishEnabled,a=(0,m.useRef)(),s=(0,m.useRef)(),u=(0,m.useRef)(),l=(0,m.useRef)(),c=(0,m.useRef)(),d=(0,m.useRef)(),f=HV(),p=function(e){var t=e.topRef,n=e.bottomRef,r=e.pageWrapRef,i=$re(t),o=$re(n),a=Cr((0,m.useState)(!1),2),s=a[0],u=a[1],l=Cr((0,m.useState)(!1),2),c=l[0],d=l[1],f=Cr((0,m.useState)(!1),2),p=f[0],h=f[1],v=(0,m.useCallback)((function(){var e;null===(e=r.current)||void 0===e||e.scrollTo({top:2,behavior:"smooth"})}),[r]);eie(v),QI(yU,(function(){u(!0)}));var g=m.useCallback((function(){v(),u(!1)}),[v]);return QI(bU,g),(0,m.useEffect)((function(){d(o&&!s),h(i&&!s)}),[o,i,s]),{showPrev:p,showNext:c}}({topRef:c,bottomRef:d,pageWrapRef:a}),h=p.showNext,v=p.showPrev,g=(0,m.useCallback)((function(){var e;null===(e=a.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"})}),[]),y=(0,m.useCallback)((function(){var e,t,n=null===(e=a.current)||void 0===e?void 0:e.scrollHeight;null===(t=a.current)||void 0===t||t.scrollTo({top:n,behavior:"smooth"})}),[]);return QI(vU,g),m.createElement("div",{className:"page-wrap",id:"page-wrap",ref:a,style:n},m.createElement("div",{ref:c,className:tie("top")}),m.createElement(nie,{transitionIn:v&&r,buttonType:"prev"},m.createElement(are,{ref:s,lessonId:f,onFocus:g})),t,m.createElement(nie,{transitionIn:h&&(i||o),buttonType:"next"},i?m.createElement(yre,{lessonId:f,onFocus:y,ref:u}):o?m.createElement(kre,{lessonId:f,onFocus:y,ref:l}):null),m.createElement("div",{ref:d,className:tie("bottom")}))},iie=fS.FULL,oie=fS.FLOATING,aie=cL("lessonNavigation"),sie=function(e){var t=e.children,n=e.wrapStyles,r=(0,m.createRef)();return m.createElement("div",{className:"page-wrap",id:"page-wrap",ref:r,style:n},t)},uie=function(e){var t=e.children,n=e.wrapStyles,r=oL().buttonNavigationStyle,i=ae().pathname,o=oL(),a=o.showNavigationButtons,s=o.settings,u=(s=void 0===s?{}:s).continueType,l=s.playbackMode,c=o.type,d=qL(480),f=HV(),p=_P(f),h=cP(f),v=Cr((0,m.useState)(r),2),g=v[0],y=v[1];(0,m.useEffect)((function(){r!==g&&(y(r),window.dispatchEvent(new CustomEvent(vU)))}),[r,g]);var b="quiz"===c&&"continue"===u,_=!mW(p)||h.isComplete,w=p&&VN({course:o,lesson:p}),k="progress-summary"===f,E="preview-lesson"===f,x=!(k||l===Lb),S=w&&!(E||b)&&_,T=!w&&_&&Vn,C=aie("wrapper",{full:r===iie||d,floating:r===oie&&!d}),A=a?r!==oie||d?Jre:rie:sie;return m.createElement("div",{className:C},m.createElement(A,{wrapStyles:n,navPrevEnabled:x,navNextEnabled:S,navFinishEnabled:T},m.createElement(Gt,{component:"div"},m.createElement(AV,{key:i},t))))},lie=__webpack_require__(67294),cie=gt()((0,m.createContext)(null),{displayName:"CompactNavControlContext"});function die(e){var t=e.children,n=e.collapseNav,r=e.expandNav;return lie.createElement(cie.Provider,{value:{expandNav:r,collapseNav:n}},t)}cie.Consumer;var fie=m.useContext.bind(null,cie);function pie(e){return null==e?void 0:e.search}function hie(){return Jt((function(e){return pie(e)}))}var mie=dN((function(e){var t=pie(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 vie(e){var t=(0,m.useMemo)((function(){return dN((function(e){return e}),(function(e,t){return mie(t)}),(function(e,t){return null==t?void 0:t[e]}))}),[]);return Jt((function(n){return t(e,n)}))}var gie=DB("NavCompactHeaderCounter",(function(e){var t,n,r,i=e.className,o=void 0===i?"":i,a=e.lessonPosition,s=e.labelLessonName,u=e.labelLessonPreposition,l=e.totalLessons;return a<=0?null:m.createElement("div",{className:"".concat(o," nav-compact__header-counter")},_t()(t=_t()(n=_t()(r="".concat(s," ")).call(r,a," ")).call(n,u," ")).call(t,l))})),yie=DB("NavCompactHeaderProgress",(function(e){var t=e.className,n=void 0===t?"":t,r=e.classProgressRunner,i=e.classProgressText,o=e.classProgressTrack,a=e.color,s=e.percentComplete,u=e.percentCompleteText,l=e.navExpanded;return m.createElement("div",{className:"".concat(n," nav-compact__header-progress")},m.createElement("div",{className:i},u),m.createElement(rB,{"aria-hidden":l,"aria-label":u,color:a,progress:s,runnerClass:r,trackClass:o}))}));var bie=Qt((function(){var e=dN(tP,PP,(function(e,t){return Cu()(-1,e,t)}));return function(t){var n=fN(t),r=nP(t),i=KP(t),o=LP(t),a=e(t),s=vN(t),u=pie(t);return{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.allowSearch,r=e.color,i=e.coverImageBgStyle,o=e.dispatch,a=e.isExpanded,s=e.labelLessonComplete,u=e.labelLessonName,l=e.labelLessonPreposition,c=e.lessonPosition,d=e.lessonsOnlyIds,f=e.navigationMode,p=e.navigationStyle,h=e.percentComplete,v=e.searchActive,g=e.title,y=(0,m.useMemo)((function(){return XS(p)}),[p]),b=(0,m.useMemo)((function(){return oT(p)}),[p]),_=(0,m.useMemo)((function(){return aT(p)}),[p]),w=(0,m.useMemo)((function(){return DS(r)}),[r]),k=fie(),E=(0,m.useCallback)((function(){a?k.collapseNav():k.expandNav()}),[a,k]),x=_t()(t="".concat(h,"% ")).call(t,s),S=a?"Collapse course outline":"Expand course outline",T=eC()("nav-compact__header",{"nav-compact__header--collapsed":!a,"nav-compact__header--dark":y,"nav-compact__header--light":!y,"nav-compact__header--accent":_}),C=eC()("nav-compact__header-image",{"nav-compact__header-image--collapsed":!a}),A=eC()("nav-compact__header-inner",{"nav-compact__header-inner--dark":y,"nav-compact__header-inner--accent":_,"nav-compact__header-inner--accent-dark":_&&w,"nav-compact__header-inner--accent-light":_&&!w,"nav-compact__header-inner--light":!y,"nav-compact__header-inner--image":b}),O=eC()("nav-compact__header-control",{"nav-compact__header-control--image":b,"nav-compact__header-control--dark":y&&!b}),N=eC()("brand--head","nav-compact__header-title-link",{"nav-compact__header-title-link--collapsed":!a}),P=eC()("nav-compact__header-progress-text",{"nav-compact__header-progress-text--collapsed":!a}),L=eC()("nav-compact__header-progress-track",{"nav-compact__header-progress-track--collapsed":!a,"nav-compact__header-progress-track--image":b,"nav-compact__header-progress-track--accent":_,"nav-compact__header-progress-track--dark":y}),M=eC()("nav-compact__header-progress-runner",{"nav-compact__header-progress-runner--collapsed":!a,"nav-compact__header-progress-runner--image":b,"nav-compact__header-progress-runner--accent":_}),I=eC()("nav-compact__header-strip",{"nav-compact__header-strip--accent":_,"nav-compact__header-strip--accent-dark":_&&w,"nav-compact__header-strip--accent-light":_&&!w}),R=(0,m.useCallback)((function(){o(LO(!v))}),[o,v]);return m.createElement("section",{"aria-label":"Course Information",className:T,style:{color:r}},b&&i&&m.createElement("div",{className:C,style:{backgroundImage:i}}),m.createElement("div",{className:A},m.createElement("div",{className:I},m.createElement("div",{className:"nav-compact__header-controls"},n&&"restricted"!==f&&a&&m.createElement("button",{"aria-label":"Show Search Bar",className:"".concat(O," nav-compact__header-search"),onClick:R,type:"button"},m.createElement(Fj,{className:"nav-compact__header-control-icon nav-compact__header-search-icon"})),m.createElement("button",{"aria-controls":"nav-compact-outline","aria-label":S,"aria-expanded":a,className:"".concat(O," nav-compact__header-toggle"),onClick:E,type:"button"},a&&m.createElement(Lj,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}),!a&&m.createElement(Mj,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}))),m.createElement(gie,{lessonPosition:c,labelLessonName:u,labelLessonPreposition:l,totalLessons:d.length})),m.createElement("div",{className:"nav-compact__header-title"},m.createElement(bF,{className:N,to:"/"},g)),m.createElement(yie,{classProgressRunner:M,classProgressText:P,classProgressTrack:L,color:r,percentComplete:h,percentCompleteText:x,navExpanded:a})))}));function _ie(e){var t,n=e.id,r=e.isEnabled,i=e.isSectionLesson,o=e.last,a=pN().navigationStyle,s=(null!==(t=_P(n))&&void 0!==t?t:{}).title,u=HV(),l=BP(n),c=(0,m.useMemo)((function(){return XS(a)}),[a]),d=n===u,f=QZ(s||"",45),p=Cr((0,m.useState)(!1),2),h=p[0],v=p[1],g=(0,m.useCallback)((function(){return v(!0)}),[]),y=(0,m.useCallback)((function(){return v(!1)}),[]),b=i?"nav-compact__outline-section-item":"nav-compact__outline-item",_=m.createElement(WV,{canComplete:l,isDark:c,id:n,isEnabled:r,isTooltipVisible:h,onShowTooltip:g,onHideTooltip:y,scope:Mb.COMPACT});return m.createElement("li",{className:"nav-compact__outline-list-item",role:"listitem"},m.createElement(Uz,{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 wie=cL("nav-compact"),kie=function(e){var t=e.id,n=pN().navigationStyle,r=_P(t),i=null==r?void 0:r.title,o=(0,m.useMemo)((function(){return XS(n)}),[n]),a=wie("outline-section-empty",{dark:o,light:!o});return m.createElement("div",{className:a},m.createElement("span",null,i))};var Eie=Qt((function(){var e=bP();return function(t,n){var r=fN(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.navigationStyle,o=e.themeId,a=e.title,s=Cr((0,m.useState)(!0),2),u=s[0],l=s[1],c=Cr((0,m.useState)(),2),d=c[0],f=c[1],p=(0,m.useRef)(),h=(0,m.useMemo)((function(){return XS(i)}),[i]),v="sublistCompact-".concat(t),g=eC()("nav-compact__outline-section-toggle-icon",{"nav-compact__outline-section-toggle-icon--collapsed":!u,"nav-compact__outline-section-toggle-icon--dark":h,"nav-compact__outline-section-toggle-icon--light":!h}),y=eC()("nav-compact__outline-section-list",{"nav-compact__outline-section-list--collapsed":!u}),b=eC()("nav-compact__outline-section-toggle",{"nav-compact__outline-section-toggle--collapsed":!u,"nav-compact__outline-section-toggle--dark":h,"nav-compact__outline-section-toggle--light":!h}),_=(0,m.useCallback)((function(){l((function(e){return!e}))}),[]);return(0,m.useLayoutEffect)((function(){var e=setTimeout((function(){p.current&&f(p.current.scrollHeight)}),0);return function(){clearTimeout(e)}}),[r.length,o]),m.createElement(m.Fragment,null,m.createElement("button",{"aria-label":"Toggle section: ".concat(a),"aria-controls":v,"aria-expanded":u,className:b,onClick:_,tabIndex:n?void 0:-1,type:"button"},m.createElement("span",{className:"nav-compact__outline-section-toggle-text"},a),m.createElement(Uj,{className:g})),m.createElement(Rz,{inert:!u},m.createElement("ol",{"aria-hidden":!u||void 0,className:y,id:v,ref:p,role:"list",style:{maxHeight:d}},Ca()(r).call(r,(function(e,t){return m.createElement(_ie,{id:e,isEnabled:n&&u,isSectionLesson:!0,key:e,last:t===r.length-1})})))))})),xie=function(e){var t=e.index,n=e.isEnabled,r=DV(e.lessonIds),i=r[0],o=wr()(r).call(r,1),a="nav-compact__outline-item nav-compact__outline-section";return Ra()(o)?m.createElement("li",{className:a,role:"listitem"},m.createElement(kie,{id:i})):m.createElement("li",{className:a,role:"listitem"},m.createElement(Eie,{id:i,index:t,isEnabled:n,lessonIds:o}))},Sie=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return jP(r)?m.createElement(xie,{index:t,isEnabled:n,lessonIds:r}):Ca()(r).call(r,(function(e,t){return m.createElement(_ie,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})}))},Tie=DB("NavCompactOutline",(function(e){var t=e.color,n=e.className,r=void 0===n?"":n,i=e.isEnabled,o=e.lessonIdGroups,a=e.navigationStyle,s=(0,m.useMemo)((function(){return XS(a)}),[a]),u=(0,m.useMemo)((function(){return DS(t)}),[t]),l=eC()(r,"nav-compact__outline",{"nav-compact__outline--collapsed":!i,"nav-compact__outline--dark":s,"nav-compact__outline--light":!s,"nav-compact__outline--accent-light":!u,"nav-compact__outline--accent-dark":u});return m.createElement("section",{"aria-label":"Course Outline",className:l,id:"nav-compact-outline",style:{color:t}},TM(o)&&m.createElement("ol",{className:"nav-compact__outline-list",role:"list"},Ca()(o).call(o,(function(e,t){return Ra()(e)?null:m.createElement(Sie,{index:t,isEnabled:i,key:t,lessonIds:e})}))))}));var Cie=Qt((function(e){var t=fN(e),n=DP(e);return{color:t.color,lessonIdGroups:n,navigationStyle:t.navigationStyle}}))(Tie),Aie=cL("nav-compact"),Oie="nav-content-compact",Nie=function(e,t){var n=e.children,r=e["aria-label"],i=e.className,o=e.id,a=e.style;return HB("rise-course-navigation")?m.createElement("div",{className:i,id:o,ref:t,style:a},n):m.createElement("nav",{id:o,"aria-label":r,className:i,ref:t,style:a},n)},Pie=(0,m.forwardRef)(Nie);var Lie=de()(Qt((function(e){var t=fN(e).navigationStyle,n=function(e){var t,n,r;return"FULL"===fN(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{navigationStyle:t,translateY:n}}),null,null,{forwardRef:!0}),m.forwardRef),Mie=Lie((function(e,t){var n=e.navigationStyle,r=e.translateY,i=e.isExpanded,o=ZP(),a=(0,m.useMemo)((function(){return XS(n)}),[n]),s=(0,m.useMemo)((function(){return aT(n)}),[n]),u=Aie({collapsed:!i,dark:a,"dark-accent":a&&s,light:!a,"light-accent":!a&&s}),l=Aie("wrap",{collapsed:!i}),c={transform:"translateY(".concat(r,"px)")};return m.createElement(Pie,{"aria-label":null==o?void 0:o.a11yRegionNavLesson,className:u,id:Oie,ref:t,style:c},m.createElement("div",{className:l},m.createElement(bie,{isExpanded:i}),m.createElement(Rz,{inert:!i},m.createElement(Cie,{isEnabled:i}))))})),Iie=__webpack_require__(67294),Rie=gt()((0,m.createContext)(null),{displayName:"OverlayNavControlContext"});function Die(e){var t=e.children,n=e.closeNav,r=e.openNav,i=Cr((0,m.useState)(!1),2),o=i[0],a=i[1],s=(0,m.useCallback)((function(){a(!0)}),[]),u=(0,m.useCallback)((function(){a(!1)}),[]);return QI(hU,(0,m.useCallback)(r,[r])),QI(mU,(0,m.useCallback)(n,[n])),Iie.createElement(Rie.Provider,{value:{closeNav:n,openNav:r,openSearch:s,closeSearch:u,searchActive:o}},t)}Rie.Consumer;var qie=m.useContext.bind(null,Rie),jie=cL("nav-overlay"),Bie=function(e){var t,n=e.className,r=pN().color,i=ZP().lessonComplete,o=rP(),a=_t()(t="".concat(o,"% ")).call(t,i),s=jie("header-progress-runner"),u=jie("header-progress-text"),l=jie("header-progress-track");return m.createElement("div",{className:jie("header-progress").mix(n)},m.createElement(rB,{"aria-hidden":!0,color:r,progress:o,runnerClass:s,trackClass:l}),m.createElement("div",{className:u},a))},Fie=cL("nav-overlay"),Uie=function(e){var t=e.isExpanded,n=pN(),r=n.allowSearch,i=n.color,o=n.navigationMode,a=n.navigationStyle,s=n.title,u=qie(),l=(0,m.useRef)(),c=Fie("header-control-btn",{dark:a===cS.DARK,image:a===cS.IMAGE,"accent-full-dark":a===cS.ACCENT&&DS(i)});return(0,m.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]),m.createElement("section",{"aria-label":"Course Information"},m.createElement("div",{className:Fie("header-container")},m.createElement("div",{className:Fie("header-controls")},m.createElement("button",{"aria-controls":"nav-content-overlay","aria-label":"Close overlay navigation",className:c,onClick:u.closeNav,ref:l,type:"button"},m.createElement(Vj,{className:Fie("header-close-icon")})),r&&"restricted"!==o&&m.createElement("button",{"aria-label":"Show Search Bar",className:c,onClick:u.openSearch,type:"button"},m.createElement(Fj,{className:Fie("header-search-icon")}))),m.createElement("div",{className:Fie("header-title-progress-container")},m.createElement("div",{className:Fie("header-title")},m.createElement(bF,{className:Fie("header-title-link").mix("brand--head"),to:"/"},s)),m.createElement(Bie,null))))},zie=["icon"],Hie=function(e){var t=e.icon,n=Wi(e,zie);switch(t){case Ab:return m.createElement(zj,n);case Ob:return m.createElement(Dj,n);case Nb:return m.createElement(Hj,n);default:return m.createElement(Oj,n)}},Vie=cL("nav-overlay"),Wie=DB("NavOverlayOutlineLesson",(function(e){var t=e.first,n=e.id,r=e.isEnabled,i=e.isSectionLesson,o=e.last,a=pN().navigationStyle,s=_P(n),u=s.icon,l=s.title,c=qie(),d=BP(n),f=XS(a),p=Vie("outline-item",{section:i}),h=Vie("outline-item-link-icon",{dark:f,light:!f,quiz:"Quiz"===u}),v=(0,m.useCallback)((function(){return c.closeNav()}),[c]),g=Cr((0,m.useState)(!1),2),y=g[0],b=g[1],_=(0,m.useCallback)((function(){return b(!0)}),[]),w=(0,m.useCallback)((function(){return b(!1)}),[]),k=m.createElement(WV,{canComplete:d,id:n,isDark:f,isEnabled:r,isTooltipVisible:y,onHideTooltip:w,onShowTooltip:_,scope:Mb.OVERLAY});return m.createElement("li",{className:Vie("outline-list-item",{first:t,last:o}),role:"listitem"},m.createElement(Uz,{className:p.toString(),dark:f,isTooltipEnabled:!d,lessonId:n,onHideProgressTooltip:w,onNavigate:v,onShowProgressTooltip:_,showProgressDelay:null,tooltipClassName:Vie("outline-item-tooltip").toString()},m.createElement(Hie,{className:h,icon:u}),m.createElement("span",{className:Vie("outline-lesson-title")},l),!d&&k),d&&k)})),Yie=cL("nav-overlay"),Gie=function(e){var t=_P(e.id).title;return m.createElement("span",{className:Yie("outline-section-text")},t)},Kie=cL("nav-overlay"),Zie=function(e){var t=e.id,n=e.isEnabled,r=e.lessonIds,i=_P(t).title,o=(0,m.useRef)();return m.createElement(m.Fragment,null,m.createElement("span",{className:Kie("outline-section-text")},i),m.createElement("div",{className:Kie("outline-section-divider")}),m.createElement("ol",{className:Kie("outline-section-list"),ref:o,role:"list"},Ca()(r).call(r,(function(e,t){return m.createElement(Wie,{id:e,isEnabled:n,isSectionLesson:!0,key:e,last:t===r.length-1})}))))},Xie=cL("nav-overlay"),$ie=function(e){var t=e.index,n=e.isEnabled,r=DV(e.lessonIds),i=r[0],o=wr()(r).call(r,1),a=Xie("outline-item").mix("nav-overlay__outline-section");return Ra()(o)?m.createElement("li",{className:a,role:"listitem"},m.createElement(Gie,{id:i})):m.createElement("li",{className:a,role:"listitem"},m.createElement(Zie,{id:i,isEnabled:n,index:t,lessonIds:o}))},Qie=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return jP(r)?m.createElement($ie,{index:t,isEnabled:n,lessonIds:r}):Ca()(r).call(r,(function(e,t){return m.createElement(Wie,{id:e,isEnabled:n,isSectionLesson:!1,key:e,first:0===t,last:t===r.length-1})}))},Jie=cL("nav-overlay"),eoe=DB("NavOverlayOutline",(function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=pN(),o=i.color,a=i.navigationStyle,s=VP(),u=XS(a),l=a===cS.LIGHT,c=oT(a),d=a===cS.ACCENT,f=a===cS.TINT,p=a===cS.GRAY,h=Jie("outline",{"accent-full":d,"accent-tint":f,dark:u,gray:p,image:c,light:l}).mix(n);return m.createElement("section",{"aria-label":"Course Outline",className:h,id:"nav-compact-outline",style:{color:o}},TM(s)&&m.createElement("ol",{className:Jie("outline-list"),role:"list"},Ca()(s).call(s,(function(e,t){return Ra()(e)?null:m.createElement(Qie,{index:t,isEnabled:r,key:"lessonIdGroup-".concat(t),lessonIds:e})}))))})),toe=eoe,noe=Array.isArray,roe=function(e){return!Wo()(e)&&"object"===ft(e)},ioe=function(e){return"string"==typeof e},ooe=function(e,t){return function(n,r){var i=qn()(r,e);return roe(n)?aoe(e,t)(n):!(!i||!ioe(n))&&!Ra()(LK()(t,(0,aZ.htmlDecode)(n)))}},aoe=function(e,t){return function(n){return pa()(pi(),wi(),qn()(!0))(ooe(e,t),n)}},soe=aoe,uoe=function(e,t){return function(n,r){var i=qn()(r,e);return noe(n)?wi()(loe(e,t)(n)):roe(n)?loe(e,t)(n):i&&ioe(n)?$o()(LK()(t,(0,aZ.htmlDecode)(n))):0}},loe=function(e,t){return function(n){return pi()(uoe(e,t),n)}},coe=function e(t){return noe(t)?di()(e,t):roe(t)?e(wi()(t)):function(e){return"number"==typeof e}(t)?t:void 0},doe=function(e,t){return function(n){return pa()(loe(e,t),wi(),di()(coe),li(),ma()(yl(),0),(function(e){return Co()("results",e,n)}))(n)}},foe=function(e,t,n){return function(r,i){var o=qn()(i,e);return noe(r)?wi()(poe(e,t,n)(r)):roe(r)?poe(e,t,n)(r):o&&ioe(r)?vE()(t,n,(0,aZ.htmlDecode)(r)):r}},poe=function(e,t,n){return function(r){return pi()(foe(e,t,n),r)}},hoe=poe,moe=function(e,t,n){var r=["caption","code","description","heading","message","name","paragraph","title","type"];if(Ra()(e))return!1;var i=e.replace(/[-[\]{}()"'*+?.,\\^$|#\s]/g,"\\$&"),o=new RegExp("(".concat(i,")(?![^<]*>)"),"ig"),a=hoe(r,o,(function(e){return"<mark>".concat(e,"</mark>")})),s=di()(a,t),u=soe(r,o),l=doe(r,o);n(e,pa()(si()(u),di()(l))(t),s)},voe=zV.ZP.animateScroll,goe=cL("nav-overlay"),yoe=function(){var e=Ge(),t=qie(),n=pN(),r=n.color,i=n.lessons,o=n.navigationStyle,a=Cr((0,m.useState)(""),2),s=a[0],u=a[1],l=(0,m.useRef)(),c=ZP(),d=null==c?void 0:c.search,f=goe("search-close-btn",{dark:o===cS.DARK,image:o===cS.IMAGE,"accent-full-dark":o===cS.ACCENT&&DS(r)}),p=goe("search-clear-btn",{dark:o===cS.DARK,image:o===cS.IMAGE,"accent-full-dark":o===cS.ACCENT&&DS(r)}),h=(0,m.useCallback)((function(){t.closeSearch(),e([PO(!0),LO(!1),RO(null)])}),[e,t]),v=(0,m.useCallback)((function(){var e,t;u(""),null===(e=l.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);(0,m.useEffect)((function(){var e,t;null===(e=l.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);var g=(0,m.useCallback)((function(e){bz(e)&&h()}),[h]);(0,u9.default)("keydown",g);var y=(0,m.useCallback)((function(e){u(e.target.value)}),[]),b=(0,m.useCallback)((function(n){if(n.preventDefault(),s){t.closeNav(),t.closeSearch(),moe(s,i,(function(t,n,r){e([RO(t),MO(n),IO(r),LO(!0)]),voe.scrollToTop({duration:500,smooth:!0})}))}}),[e,t,i,s]);return m.createElement("div",{className:goe("search")},m.createElement("div",{className:goe("search-header")},m.createElement("button",{className:f,onClick:h,type:"button"},m.createElement(Vj,{className:goe("search-close-icon")}))),m.createElement("div",{className:goe("search-body")},m.createElement("form",{autoComplete:"off",onSubmit:b},m.createElement("div",{className:goe("search-container")},m.createElement(Fj,{className:goe("search-icon")}),m.createElement("input",{"aria-label":"Search",className:goe("search-input").mix("brand--ui"),name:"search",onChange:y,placeholder:d,ref:l,type:"input",value:s}),s&&m.createElement("button",{className:p,onClick:v,type:"button"},m.createElement(Vj,{className:goe("search-clear-icon").toString()}))),m.createElement("div",{className:goe("search-actions")},m.createElement("button",{className:goe("search-submit-btn").mix("brand--ui"),type:"submit"},d)))))};var boe=cL("nav-overlay"),_oe="nav-content-overlay",woe=function(e,t){var n=e.children,r=e["aria-hidden"],i=e["aria-label"],o=e.className,a=e.id,s=e.style;return HB("rise-course-navigation")?m.createElement("div",{"aria-hidden":r,className:o,id:a,ref:t,role:"dialog",style:s},n):m.createElement("nav",{id:a,"aria-hidden":r,"aria-label":i,className:o,ref:t,role:"dialog",style:s},n)},koe=(0,m.forwardRef)(woe),Eoe=function(e){var t=e.isExpanded,n=qie(),r=jP(VP()[0]),i=(0,m.useCallback)((function(e){bz(e)&&n.closeNav()}),[n]);(0,u9.default)("keydown",i);var o=boe("body",{section:r});return m.createElement(m.Fragment,null,m.createElement(Uie,{isExpanded:t}),m.createElement("div",{className:o},m.createElement(toe,{isEnabled:t})))},xoe=function(e){var t,n=e.isImage,r=e.children,i=(null!==(t=pN())&&void 0!==t?t:{}).coverImage,o=i.alpha,a=i.media,s=n?ZS({alpha:o,media:a}):null;return m.createElement("div",{className:boe("content",{graphic:n}),"data-nav-scrollable":!0,id:"nav-content",style:s},r)},Soe=function(e){var t=e.isExpanded,n=pN(),r=ZP(),i=qie(),o=n.color,a=n.colorAccentTint,s=n.navigationStyle,u=s===cS.ACCENT,l=s===cS.TINT,c=DS(o),d=XS(s),f=s===cS.GRAY,p=s===cS.LIGHT,h=oT(s),v=boe({"accent-full-dark":u&&c,"accent-full-light":u&&!c,"accent-tint":l,collapsed:!t,dark:d,light:p,gray:f,image:h}),g=(0,m.useMemo)((function(){return l?{color:a}:u?{color:o}:null}),[o,a,l,u]),y=function(){var e=(0,m.useRef)(null);function t(t){var n=e.current.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, [role="link"]'),r=n[0],i=n[n.length-1];gz(t)&&(t.shiftKey?document.activeElement===r&&(i.focus(),t.preventDefault()):document.activeElement===i&&(r.focus(),t.preventDefault()))}return(0,m.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}();return m.createElement(koe,{id:_oe,"aria-label":null==r?void 0:r.a11yRegionNavLesson,"aria-hidden":!t,className:v,ref:y,role:"dialog",style:g},m.createElement(xoe,{isImage:h},i.searchActive?m.createElement(yoe,null):m.createElement(Eoe,{isExpanded:t})))},Toe=__webpack_require__(67294),Coe=gt()((0,m.createContext)(null),{displayName:"SidebarNavControlContext"});function Aoe(e){var t=e.children,n=e.openMenu,r=e.closeMenu;return QI(pU,Toe.useCallback(n,[n])),Toe.createElement(Coe.Provider,{value:{openMenu:n,closeMenu:r}},t)}Coe.Consumer;var Ooe=m.useContext.bind(null,Coe),Noe=cL("nav-sidebar-search"),Poe=DB("NavSidebarSearch",(function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=Ge(),o=GI(r),a=pN().lessons,s=hie(),u=ZP(),l=(0,m.useRef)(),c=Noe({disabled:!r}).mix(n),d=Noe("icon"),f=Noe("input"),p=Noe("close"),h=Noe("close-icon"),v=null==s?void 0:s.term,g=r?void 0:"disabled",y=Cr((0,m.useState)(""),2),b=y[0],_=y[1],w=null==u?void 0:u.search,k=(0,m.useCallback)((function(){i([PO(!0),LO(!1),RO(null)]),_("")}),[i]),E=(0,m.useCallback)((function(e){bz(e)&&k()}),[k]),x=(0,m.useCallback)((function(e){null!=v&&i(RO(null)),_(e.target.value)}),[i,v]),S=(0,m.useCallback)((function(e){e.preventDefault();moe(b,a,(function(e,t,n){return i([RO(e),MO(t),IO(n)])}))}),[i,a,b]);return(0,m.useEffect)((function(){!o&&r&&l.current.focus()}),[r,o]),(0,m.useEffect)((function(){v&&v!==b&&_(v)}),[b,v]),m.createElement("form",{autoComplete:"off",className:c,onSubmit:S},m.createElement(Fj,{className:d}),m.createElement("input",{"aria-label":"Search",className:f,disabled:g,name:"search",onChange:x,onKeyDown:E,placeholder:w,ref:l,type:"search",value:b}),m.createElement("button",{"aria-label":"Close the search form",className:p,onClick:k,type:"reset"},m.createElement(Vj,{className:h})))}));function Loe(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Moe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Loe(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Loe(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}var Ioe=cL("nav-sidebar-header"),Roe=cL("nav-sidebar-header-ghost"),Doe=DB("NavSidebarHeaderProgress",(function(e){var t=e.className,n=e.classProgressRunner,r=e.classProgressText,i=e.classProgressTrack,o=e.color,a=e.percentComplete,s=e.percentCompleteText;return m.createElement("div",{className:t},m.createElement(rB,{"aria-hidden":"true",color:o,progress:a,runnerClass:n,trackClass:i}),m.createElement("div",{className:r},s))})),qoe=DB("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=Ge(),c=Cr((0,m.useState)(""),2),d=c[0],f=c[1],p=Cr((0,m.useState)({height:0,width:0}),2),h=p[0],v=p[1],g=Cr((0,m.useState)(h),2),y=g[0],b=g[1],_=Cr((0,m.useState)(h),2),w=_[0],k=_[1],E=Jt((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,m.useRef)(),S=(0,m.useRef)(),T=(0,m.useRef)(),C=Cr((0,m.useState)(null),2),A=C[0],O=C[1],N=pN(),P=ZP(),L=rP(),M=hie(),I=UL(),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,B=null==N?void 0:N.title,F=null==N?void 0:N.isLegacyCourse,U=(0,m.useMemo)((function(){return oT(j)}),[j]),z=(0,m.useMemo)((function(){return F||DS(D)}),[D,F]),H=dR(),V=GI(M),W=null!==(t=(null==M?void 0:M.active)||H)&&void 0!==t&&t,Y=Cr((0,m.useState)(!0),2),G=Y[0],K=Y[1],Z=Cr((0,m.useState)(null),2),X=Z[0],$=Z[1],Q=Ioe({compact:o,searching:W,transition:G}).mix(r),J=Ioe("inner",{compact:o,"dark-accent":z,"light-accent":!z}),ee=Ioe("content",{compact:o,hidden:W}),te=Ioe("graphic",{"dark-accent":z,image:U,"light-accent":!z}),ne=Ioe("progress-runner",{image:U}),re=Ioe("progress-text",{compact:o,image:U}),ie=Ioe("progress-track",{image:U}),oe=Ioe("search-area",{hidden:!W}),ae=Ioe("search-btn",{hidden:W}),se=Ioe("search-icon",{"light-accent":!z,"dark-accent":z,image:U}),ue=Ioe("title",{compact:o,image:U}).mix("brand--head"),le=Roe({compact:o,searching:W}),ce=_t()(n="".concat(L,"% ")).call(n,null==P?void 0:P.lessonComplete),de=a&&!W?void 0:-1,fe=a&&!W?void 0:-1,pe=Br()(["media","image","alt"],q),he=(0,m.useMemo)((function(){return bT(pe)}),[pe]),me=(0,m.useMemo)((function(){return _T(he)}),[he]),ve=(0,m.useMemo)((function(){var e={};return U&&gt()(e,ZS(Moe(Moe({},q),{},{hasOverlay:null==i?q.hasOverlay:i}))),W&&(e.height=y.height),e}),[q,U,i,W,y.height]),ge=(0,m.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]);m.useEffect((function(){f(o&&I?QZ(B,45):B)}),[B,o,I]);var ye=W?void 0:{height:w.height},be=(0,m.useCallback)((function(){b(h),l(LO(!0))}),[l,h]);(0,m.useLayoutEffect)((function(){$(document.querySelector("[data-nav-scrollable]"))}),[]);var _e=(sre(x,{root:X,threshold:0})||{}).isIntersecting,we=void 0!==_e&&_e,ke=GI(we);(0,m.useEffect)((function(){ke&&!we?u(!0):!ke&&we&&u(!1)}),[we,ke,u]);var Ee=(0,m.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};v(r),b(r),o||k(r)}),[o,s]);XU(A,Ee),(0,m.useLayoutEffect)((function(){var e,t=null==X?void 0:X.scrollTop;(X||t>0)&&(X.scrollTop=0);var n={height:null!==(e=null==A?void 0:A.scrollHeight)&&void 0!==e?e:0,width:null!=s?s:0};v(n),b(n),k(n)}),[X,s,A]),(0,m.useEffect)((function(){R&&null!=V&&V.active&&!M.active&&S.current.focus()}),[R,M,V]),(0,m.useEffect)((function(){W?K(!0):o&&K(!1)}),[W,o]);var xe=(0,m.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){X.scrollTop-=t.height-n.top+5}}}),[X,o,A]);return QI("focusin",xe,X),(0,m.useEffect)((function(){return f(B)}),[B]),m.createElement(m.Fragment,null,m.createElement("div",{className:le,ref:x,style:ye}),m.createElement("div",{className:Q,ref:T,style:ge},m.createElement("div",{className:J,ref:O,style:{color:D}},m.createElement("div",{"aria-label":he,className:te,role:me,style:ve}),R&&m.createElement("button",{"aria-label":"Show search bar",className:ae,onClick:be,ref:S,tabIndex:de,type:"button"},m.createElement(Fj,{className:se})),m.createElement("div",{className:oe},m.createElement(Poe,{isEnabled:a&&W})),m.createElement("div",{className:ee},m.createElement(bF,{className:ue,tabIndex:fe,to:"/"},d),m.createElement(Doe,{classProgressRunner:ne,classProgressText:re,classProgressTrack:ie,color:D,percentComplete:L,percentCompleteText:ce})))))})),joe=qoe,Boe=cL("nav-sidebar");function Foe(e){var t,n,r=e.id,i=e.isEnabled,o=e.isSectionLesson,a=e.last,s=pN().navigationStyle,u=null!==(t=_P(r))&&void 0!==t?t:{},l=u.icon,c=u.title,d=Ooe(),f=HV(),p=sR(),h=BP(r),v=r===f,g=(0,m.useMemo)((function(){return XS(s)}),[s]),y=o?"nav-sidebar__outline-section-item":"nav-sidebar__outline-item",b=eC()("".concat(y,"-link-icon"),(Ar(n={},"".concat(y,"-link-icon--dark"),g),Ar(n,"".concat(y,"-link-icon--light"),!g),n)),_=m.createElement(Hie,{className:b,icon:l}),w=Cr((0,m.useState)(!1),2),k=w[0],E=w[1],x=(0,m.useCallback)((function(){return E(!0)}),[]),S=(0,m.useCallback)((function(){return E(!1)}),[]),T=m.createElement(WV,{canComplete:h,id:r,isDark:g,isEnabled:i,isTooltipVisible:k,onHideTooltip:S,onShowTooltip:x,scope:Mb.SIDEBAR});return m.createElement("li",{className:Boe("outline-list-item",{last:a}),role:"listitem"},m.createElement(Uz,{className:y,dark:g,isCurrentLesson:v,isTooltipEnabled:!h,lessonId:r,onHideProgressTooltip:S,onNavigate:function(){v&&p&&d.closeMenu()},onShowProgressTooltip:x,showProgressDelay:0,tooltipClassName:"".concat(y,"-tooltip")},_,c,!h&&T),h&&T)}var Uoe=Qt((function(){var e=bP();return function(t,n){var r=fN(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,title:i.title}}}))((function(e){var t=e.navigationStyle,n=e.title,r=(0,m.useMemo)((function(){return XS(t)}),[t]),i=eC()("nav-sidebar__outline-section-text",{"nav-sidebar__outline-section-text--dark":r,"nav-sidebar__outline-section-text--light":!r});return m.createElement("span",{className:i},n)}));var zoe=Qt((function(){var e=bP();return function(t,n){var r=fN(t),i=e(n.id,t);return{navigationStyle:r.navigationStyle,themeId:r.themeId,title:i.title}}}))((function(e){var t,n=e.index,r=e.isEnabled,i=e.lessonIds,o=e.navigationStyle,a=e.themeId,s=e.title,u=Cr((0,m.useState)(!0),2),l=u[0],c=u[1],d=Cr((0,m.useState)(),2),f=d[0],p=d[1],h=(0,m.useRef)(),v=(0,m.useMemo)((function(){return XS(o)}),[o]),g="sidebar-sublist-".concat(n),y=null===(t=h.current)||void 0===t?void 0:t.clientWidth,b=eC()("nav-sidebar__outline-section-toggle-icon",{"nav-sidebar__outline-section-toggle-icon--collapsed":!l,"nav-sidebar__outline-section-toggle-icon--dark":v,"nav-sidebar__outline-section-toggle-icon--light":!v}),_=eC()("nav-sidebar__outline-section-list",{"nav-sidebar__outline-section-list--collapsed":!l}),w=eC()("nav-sidebar__outline-section-toggle",{"nav-sidebar__outline-section-toggle--dark":v,"nav-sidebar__outline-section-toggle--light":!v}),k=(0,m.useCallback)((function(){c((function(e){return!e}))}),[]);return(0,m.useLayoutEffect)((function(){var e=setTimeout((function(){h.current&&p(h.current.scrollHeight)}),0);return function(){clearTimeout(e)}}),[i.length,y,a]),m.createElement(m.Fragment,null,m.createElement("button",{"aria-label":"Toggle section: ".concat(s),"aria-controls":g,"aria-expanded":l,className:w,onClick:k,tabIndex:r?void 0:-1,type:"button"},m.createElement("span",{className:"nav-sidebar__outline-section-toggle-text"},s),m.createElement(Uj,{className:b})),m.createElement(Rz,{inert:!l},m.createElement("ol",{"aria-hidden":!l||void 0,className:_,id:g,ref:h,role:"list",style:{maxHeight:f}},Ca()(i).call(i,(function(e,t){return m.createElement(Foe,{id:e,isEnabled:r&&l,isSectionLesson:!0,key:e,last:t===i.length-1})})))))})),Hoe=function(e){var t=e.index,n=e.isEnabled,r=DV(e.lessonIds),i=r[0],o=wr()(r).call(r,1),a="nav-sidebar__outline-item nav-sidebar__outline-section";return Ra()(o)?m.createElement("li",{className:a,role:"listitem"},m.createElement(Uoe,{id:i})):m.createElement("li",{className:a,role:"listitem"},m.createElement(zoe,{id:i,index:t,isEnabled:n,lessonIds:o}))},Voe=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return jP(r)?m.createElement(Hoe,{index:t,isEnabled:n,lessonIds:r}):Ca()(r).call(r,(function(e,t){return m.createElement(Foe,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})}))},Woe=DB("NavSidebarOutline",(function(e){var t=e.className,n=void 0===t?"":t,r=e.color,i=e.isEnabled,o=e.isLegacyCourse,a=e.lessonIdGroups,s=e.navigationStyle,u=GI(i),l=Cr((0,m.useState)(!i),2),c=l[0],d=l[1],f=(0,m.useRef)(),p=(0,m.useMemo)((function(){return XS(s)}),[s]),h=(0,m.useMemo)((function(){return o||DS(r)}),[r,o]),v=eC()(n,"nav-sidebar__outline",{"nav-sidebar__outline--dark":p,"nav-sidebar__outline--light":!p,"nav-sidebar__outline--hidden":c,"nav-sidebar__outline--safari":iD.isSafari,"nav-sidebar__outline--accent-light":!h,"nav-sidebar__outline--accent-dark":h}),g=eC()("nav-sidebar__outline-list",{"nav-sidebar__outline-list--disabled":!i,"nav-sidebar__outline-list--hidden":c});return(0,m.useEffect)((function(){var e;return u&&!i?e=setTimeout((function(){d(!0)}),350):!u&&i&&c&&d(!1),function(){clearTimeout(e)}}),[i,c,u]),m.createElement("section",{"aria-label":"Course Outline",className:v,id:"nav-sidebar-outline",style:{color:r}},TM(a)&&m.createElement("ol",{className:g,ref:f,role:"list"},Ca()(a).call(a,(function(e,t){return Ra()(e)?null:m.createElement(Voe,{index:t,isEnabled:i,key:t,lessonIds:e})}))))}));var Yoe=Qt((function(e){var t=fN(e),n=DP(e);return{color:t.color,isLegacyCourse:t.isLegacyCourse,lessonIdGroups:n,navigationStyle:t.navigationStyle}}))(Woe),Goe=(0,Sw.complement)(Sw.isEmpty),Koe=(0,Sw.complement)(Sw.isNil),Zoe=cL("nav-sidebar-result"),Xoe=function(e){var t,n,r,i=e.id,o=e.index,a=e.isEnabled,s=pN(),u=ZP(),l=se(),c=vie(i),d=(null==l||null===(t=l.params)||void 0===t?void 0:t.id)===i,f=d?"page":void 0,p=null==c?void 0:c.icon,h=null==c?void 0:c.title,v=null!==(n=null==c?void 0:c.results)&&void 0!==n?n:0,g=1===v?null==u?void 0:u.result:null==u?void 0:u.results,y=null==s?void 0:s.color,b=null==s?void 0:s.navigationStyle,_=a?void 0:-1,w={animationDelay:"".concat(o/10,"s")},k=(0,m.useMemo)((function(){return XS(b)}),[b]),E=Zoe(),x=Zoe("inner",{active:d}),S=Zoe("link",{dark:k,light:!k}),T=Zoe("icon"),C=Zoe("title"),A=Zoe("count");return m.createElement("li",{className:E,role:"listitem",style:w},m.createElement("div",{className:x,style:{color:y}},m.createElement(bF,{"aria-current":f,className:S,tabIndex:_,to:hP(i)},m.createElement(Hie,{className:T,icon:p}),m.createElement("span",{className:C},h),m.createElement("span",{className:A},_t()(r="".concat(v," ")).call(r,g)))))},$oe=cL("nav-sidebar-results"),Qoe=function(e){var t,n,r,i=e.isEnabled,o=pN(),a=hie(),s=ZP(),u=null!==(t=null==a?void 0:a.activeLessons)&&void 0!==t?t:[],l=null==a?void 0:a.term,c=Goe(u),d=Koe(l),f=null!==(n=null==s?void 0:s.noResults)&&void 0!==n?n:"",p=null==o?void 0:o.navigationStyle,h=(0,m.useMemo)((function(){return XS(p)}),[p]),v=$oe(),g=$oe("message",{dark:h,light:!h}),y=$oe("term"),b=$oe("list");return m.createElement("div",{className:v},!c&&d&&m.createElement("div",{className:g},f," ",m.createElement("span",{className:y},'"',l,'"')),c&&d&&m.createElement("ol",{className:b,role:"list"},Ca()(r=dr()(u).call(u,BN)).call(r,(function(e,t){return m.createElement(Xoe,{key:e.id,isEnabled:i,id:e.id,index:t})}))))},Joe=cL("nav-sidebar"),eae="nav-content-sidebar",tae=function(e){var t=e.children,n=e["aria-hidden"],r=e["aria-label"],i=e.className,o=e.isNavOpen;return HB("rise-course-navigation")?m.createElement(Rz,{inert:!o},m.createElement(Gt,null,m.createElement(Zt,{in:o,mountOnEnter:!0,unmountOnExit:!0,timeout:300},m.createElement("div",{"aria-hidden":n,className:i},t)))):m.createElement("nav",{"aria-hidden":n,"aria-label":r,className:i},t)},nae=function(e){var t,n=e.isExpanded,r=pN(),i=hie(),o=ZP(),a=Cr((0,m.useState)(!1),2),s=a[0],u=a[1],l=Cr((0,m.useState)(0),2),c=l[0],d=l[1],f=(0,m.useRef)(null);(0,m.useLayoutEffect)((function(){var e;f&&null!=f&&f.current&&d(null===(e=f.current)||void 0===e?void 0:e.scrollWidth)}),[s,n,f,h,d]);var p=null==r?void 0:r.navigationStyle,h=null!==(t=null==i?void 0:i.active)&&void 0!==t&&t,v=h||n?void 0:"true",g=(0,m.useMemo)((function(){return XS(p)}),[p]),y=(0,m.useMemo)((function(){return oT(p)}),[p]),b=Joe(),_=Joe("header"),w=Joe("body"),k=Joe("content",{collapsed:!n,dark:g,light:!g,image:y,searching:h});return m.createElement(tae,{"aria-hidden":v,"aria-label":null==o?void 0:o.a11yRegionNavLesson,className:b,isNavOpen:n},m.createElement("div",{className:k,"data-nav-scrollable":!0,id:eae},m.createElement(joe,{className:_,isCompact:s,isEnabled:n,navRefWidth:c,setIsCompact:u}),m.createElement("div",{className:w,ref:f},m.createElement(Yoe,{isEnabled:n&&!h}),m.createElement(Qoe,{isEnabled:n&&h}))))};function rae(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var iae,oae=SF.course.lesson,aae=function(e){ut(n,e);var t=rae(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return m.createElement("div",{className:t,"data-ba":oae.container,"data-lesson":!0,ref:this.props.contentRef},n)}}]),n}(m.Component),sae=function(e){ut(n,e);var t=rae(n);function n(){return et(this,n),t.apply(this,arguments)}return rt(n,[{key:"render",value:function(){var e=this.props.onMobileMenuActiveClick;return m.createElement("div",{className:"lesson__content",onClick:e},this.props.children)}}]),n}(m.Component),uae="Toggle ".concat("Course Navigation"),lae=cL("nav-control"),cae=function(e){var t,n,r,i=e["aria-controls"],o=e.isNavOpen,a=e.toggleNav,s=oL(),u=qL(768),l=s.navigationType!==oS.COMPACT||u,c=(t=Cr((0,m.useState)(!1),2),n=t[0],r=t[1],QI(_U,(function(){return r(!0)})),QI(wU,(function(){return r(!1)})),n);return m.createElement("div",{className:lae("wrapper",{navPrevVisible:c})},l&&m.createElement("div",{className:lae("menu")},m.createElement("button",{className:lae("button"),"aria-controls":i,"aria-expanded":o,"aria-label":uae,onClick:a,type:"button"},m.createElement(qC,{className:"page-menu-toggle__icon"}))),m.createElement(cW,null))},dae=["buttonNavigationStyle","navigationType"],fae=cL("course-navigation"),pae=oS.COMPACT,hae=oS.OVERLAY,mae=oS.SIDEBAR,vae=(Ar(iae={},pae,Oie),Ar(iae,mae,eae),Ar(iae,hae,_oe),iae),gae=function(e){var t=e.children,n=(0,m.useRef)(),r=oL(),i=r.buttonNavigationStyle,o=r.navigationType,a=Wi(r,dae),s=o===mae&&a.sidebarMode===gS,u=Cr((0,m.useState)(s),2),l=u[0],c=u[1],d=(0,m.useCallback)((function(){return c(!0)}),[]),f=(0,m.useCallback)((function(){return c(!1)}),[]),p=(0,m.useCallback)((function(){return l?f():d()}),[l,f,d]),h=hie().active,v=iT(a),g=qL(768),y=ZP(),b=function(e){var t=e.hasSearchResults,n=e.courseNavType,r=e.openNav,i=e.closeNav,o=Cr((0,m.useState)(t),2),a=o[0],s=o[1];return(0,m.useEffect)((function(){var e=n===hae;a&&!t&&n!==mae?(i(),s(!1)):a&&e?r():s(t)}),[t,n,r,i,a]),a}({hasSearchResults:h,courseNavType:o,openNav:d,closeNav:f}),_=(0,m.useMemo)((function(){return b||o===pae&&g?mae:o}),[o,b,g]);QI(gU,d);var w=(0,m.useMemo)((function(){return vae[_]}),[_]),k=fae(null==_?void 0:_.toLowerCase(),{navOpen:l,searchOpen:h&&l,courseNavType:null==o?void 0:o.toLowerCase()}),E=fae("lessonNav",{type:null==i?void 0:i.toLowerCase()});return v?m.createElement("div",{className:k},m.createElement("div",{className:E},m.createElement("nav",{"aria-label":null==y?void 0:y.a11yRegionNavLesson},m.createElement(cae,{"aria-controls":w,toggleNav:p,isNavOpen:l}),_===mae&&m.createElement(nae,{isExpanded:l,closeNav:f}),_===pae&&m.createElement(die,{collapseNav:f,expandNav:d},m.createElement(Mie,{isExpanded:l,ref:n})),_===hae&&m.createElement(Die,{closeNav:f,openNav:d},m.createElement(Soe,{isExpanded:l}))),t)):t};function yae(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var bae=M_()(2,(function(e){return"progress-summary"===e?Hr()(1/0):function(e){return ts()(bi()("id",e))}(e)})),_ae=n_()(bi()("type","section")),wae=function(e){ut(n,e);var t=yae(n);function n(e){var r,i;et(this,n),i=t.call(this,e);var o=e.course,a=e.lessons,s=e.match.params;return i.refCompactNav=(0,m.createRef)(),i.refPageWrap=(0,m.createRef)(),i.refPageTop=(0,m.createRef)(),i.state={activeSections:Ca()(r=dr()(a).call(a,(function(e){return"section"===e.type}))).call(r,(function(e){return e.id})),compactNavIsExpanded:!1,isProgressSummary:Vn,isPreviewLesson:"preview-lesson"===s.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:JS(o),mobileMenuIsOpen:!1,overlayNavIsOpen:!1,selectedIndex:bae(s.id)(a),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},i.root=window,i.closeMenu=i.closeMenu.bind(it(i)),i.handleCloseOverlayNav=i.handleCloseOverlayNav.bind(it(i)),i.handleOpenOverlayNav=i.handleOpenOverlayNav.bind(it(i)),i.handleCollapseCompactNav=i.handleCollapseCompactNav.bind(it(i)),i.handleExpandCompactNav=i.handleExpandCompactNav.bind(it(i)),i.handleFocusPageTop=i.handleFocusPageTop.bind(it(i)),i.openMenu=i.openMenu.bind(it(i)),i.handleLabelGraphicMarkerClick=i.handleLabelGraphicMarkerClick.bind(it(i)),i.handleMenuToggle=i.handleMenuToggle.bind(it(i)),i.handleNavHover=i.handleNavHover.bind(it(i)),i.handleNavigate=i.handleNavigate.bind(it(i)),i.getNavigateDirection=i.getNavigateDirection.bind(it(i)),i.handleNavigateTransitionEnd=i.handleNavigateTransitionEnd.bind(it(i)),i.handlePageWrapScroll=i.handlePageWrapScroll.bind(it(i)),i.handleStorylineFullscreen=i.handleStorylineFullscreen.bind(it(i)),i.renderCompact=i.renderCompact.bind(it(i)),i.renderOverlay=i.renderOverlay.bind(it(i)),i.renderSidebar=i.renderSidebar.bind(it(i)),i.setRefPageWrap=i.setRefPageWrap.bind(it(i)),i}return rt(n,[{key:"componentDidMount",value:function(){this.swipeEvents=z0(this.node,this,this.handleMenuToggle,Function.prototype),this.displayFloatingButtons(),document.addEventListener("labeledGraphicMarkerClick",this.handleLabelGraphicMarkerClick)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t,n,r,i,o=this;if(e.match.params.id!==this.props.match.params.id){var a=Po()((t=e.lessons,n=e.match.params.id,r=de()(CN()(bi()("id",n)),Un()("children")),(i=de()(CN()(r),si()(bi()("type","section")),pW)(t))?[i.id]:[]),this.state.activeSections);this.setState({activeSections:a,isProgressSummary:false}),this.displayFloatingButtons()}var s=e.overlayAvailable&&e.search.active&&!this.props.search.active,u=e.compactAvailable&&e.search.active&&!this.props.search.active,l=e.compactAvailable&&e.isMobile&&!this.props.isMobile;(u||l||s)&&this.setState({menuIsOpen:!e.isMobile,mobileMenuIsOpen:e.isMobile,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},(function(){o.resetSwipeListeners()}))}},{key:"componentDidUpdate",value:function(e){var t,n,r,i;(null===(t=e.course)||void 0===t||null===(n=t.theme)||void 0===n?void 0:n.buttonNavigationStyle)!==(null===(r=this.props.course)||void 0===r||null===(i=r.theme)||void 0===i?void 0:i.buttonNavigationStyle)&&this.displayFloatingButtons()}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef),this.swipeEvents.removeListeners(),document.removeEventListener("labeledGraphicMarkerClick",this.handleLabelGraphicMarkerClick)}},{key:"handleLabelGraphicMarkerClick",value:function(){this.state.compactNavIsExpanded&&this.setState({compactNavIsExpanded:!1})}},{key:"getNavigateDirection",value:function(){var e=this.props.match.params,t=this.state.selectedIndex;return bae(e.id)(this.props.lessons)<t?"page-transition-back":"page-transition"}},{key:"handleFocusPageTop",value:function(){var e,t;this.props.course.type===Pb||(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,n=this.props.lessons,r=this.state,i=r.isProgressSummary,o=r.selectedIndex,a=bae(e)(n);this.forwardTransition=!i&&("progress-summary"===e||o<a),this.setState({mobileMenuIsOpen:!1,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null,selectedIndex:a},(function(){t.resetSwipeListeners()}))}},{key:"handleNavigateTransitionEnd",value:function(){var e=this,t=this.props.match.params,n=bae(t.id)(this.props.lessons);this.setState({selectedIndex:n,mobileMenuIsOpen:!1,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},(function(){e.resetSwipeListeners()}))}},{key:"handleMenuToggle",value:function(){var e=this,t=this.state,n=t.menuIsOpen,r=t.mobileMenuIsOpen,i=t.overlayNavIsOpen;this.props.overlayAvailable?this.setState({overlayNavIsOpen:!i}):this.setState({menuIsOpen:!n,mobileMenuIsOpen:window.innerWidth<960&&!r,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},(function(){e.resetSwipeListeners()}))}},{key:"handleOpenOverlayNav",value:function(){this.setState({overlayNavIsOpen:!0})}},{key:"handleCloseOverlayNav",value:function(){this.setState({overlayNavIsOpen:!1})}},{key:"handleCollapseCompactNav",value:function(){this.setState({compactNavIsExpanded:!1})}},{key:"handleExpandCompactNav",value:function(){this.setState({compactNavIsExpanded:!0})}},{key:"handlePageWrapScroll",value:function(){this.displayFloatingButtons()}},{key:"setRefPageWrap",value:function(e){var t=e?(0,v.findDOMNode)(e):null;this.refPageWrap.current=t}},{key:"displayFloatingButtons",value:function(){var e=this.props.match.params.id,t=this.refPageWrap.current;if(t&&!this.props.isCourseNavigationEnabled){var n=t.querySelector('[data-lesson-id="'.concat(e,'"] .lesson-nav--previous.lesson-nav--floating')),r=t.querySelector('[data-lesson-id="'.concat(e,'"] .lesson-nav--next.lesson-nav--floating'));if(n){var i=0===t.scrollTop&&"true"!==n.dataset.scrolling;n.dataset.visible=i,n.dataset.hidden=!i}if(r){var o=Math.ceil(t.scrollTop)+t.offsetHeight>=t.scrollHeight;r.dataset.visible=o,r.dataset.hidden=!o}}}},{key:"handleStorylineFullscreen",value:function(e){this.setState({menuDisabled:e,menuIsOpen:!e})}},{key:"resetSwipeListeners",value:function(){this.state.mobileMenuIsOpen?this.swipeEvents.addListeners():this.swipeEvents.removeListeners()}},{key:"allowTabNavigation",value:function(){var e=this.props,t=e.sidebarAvailable,n=e.isMobile,r=this.state,i=r.isPreviewLesson,o=r.menuIsOpen,a=r.mobileMenuIsOpen;return!i&&t&&(n?a:o)}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"renderMenuButtons",value:function(){var e;if(this.props.isCourseNavigationEnabled)return null;var t=this.props,n=t.compactAvailable,r=t.course,i=t.labels,o=t.overlayAvailable,a=t.sidebarAvailable,s=this.state.overlayNavIsOpen,u=r.color,l=r.lessonHeaderStyle,c=r.lmsOptions,d=void 0===c?{}:c,f=null===(e=r.theme)||void 0===e?void 0:e.lessonHeaderColor,p=d.enableExitCourse,h=i.courseExit,v=this.allowTabNavigation(),g="Toggle ".concat("Course Navigation"),y=l===rS.ACCENT&&DS(u),b=l===rS.COLOR&&DS(f),_=l===rS.IMAGE,w=l===rS.DARK||l===rS.BLACK||y||b||_,k=eC()("page-menu-toggle",{"page-menu-toggle--dark":w}),E=o?_oe:n?Oie:eae;return m.createElement("div",{className:"page__menu"},(a&&!n||!s&&o)&&m.createElement("button",{"aria-controls":E,"aria-expanded":v,"aria-label":g,className:k,onClick:this.handleMenuToggle,type:"button"},m.createElement(qC,{className:"page-menu-toggle__icon"})),m.createElement(cW,{enableExitCourse:p,className:"courseExit courseExit--mobile",text:h}))}},{key:"renderCompact",value:function(){var e=this.state.compactNavIsExpanded;return m.createElement(die,{collapseNav:this.handleCollapseCompactNav,expandNav:this.handleExpandCompactNav},m.createElement(Mie,{isExpanded:e,ref:this.refCompactNav}))}},{key:"renderOverlay",value:function(){var e=this.state.overlayNavIsOpen;return m.createElement(Die,{closeNav:this.handleCloseOverlayNav,openNav:this.handleOpenOverlayNav},m.createElement(Soe,{isExpanded:e}))}},{key:"renderSidebar",value:function(){var e=this.allowTabNavigation(),t=this.props.search.active;return m.createElement(Aoe,{openMenu:this.openMenu,closeMenu:this.closeMenu},m.createElement(nae,{isExpanded:e,searchActive:t}))}},{key:"render",value:function(){var e,t,n,r=this,i=this.props,o=i.applySafariLandscapeHack,a=i.compactAvailable,s=i.course,u=i.courseProgress,l=i.didNavigate,c=i.labels,d=i.isMobile,f=i.isMobileHeader,p=i.lessons,h=i.location,v=i.match,g=i.overlayAvailable,y=i.partnerContent,b=i.previewType,_=i.safariLandscapeHackOffset,w=i.search,k=i.sessionPreferences,E=i.sidebarAvailable,x=i.themeId,S=i.isEntering,T=i.isExiting,C=this.state,A=C.isPreviewLesson,O=C.isProgressSummary,N=C.isRestrictedNavHovering,P=C.menuIsOpen,L=C.mobileMenuIsOpen,M=C.overlayNavIsOpen,I=s.lmsOptions,R=(void 0===I?{}:I).enableExitCourse,D=function(e){var t=e.course,n=e.search;return pa()(Co()("lessons",n.lessons),Co()("lessonsOnly",_ae(n.lessons)))(t)}({course:s,search:w}),q=this.renderMenuButtons(),j=s.type===Pb,B=E&&P&&!A,F=E&&L&&!A,U=j&&(null===(e=$S(s))||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.playbackMode)===Lb?"-slide":"",z="lesson--entering".concat(U),H="lesson--exiting".concat(U),V=eC()("lesson",(Ar(n={},z,S),Ar(n,H,T),Ar(n,"lesson--preview",A),Ar(n,"lesson--open",B&&!this.props.isCourseNavigationEnabled),Ar(n,"lesson--open-mobile",d&&F&&!this.props.isCourseNavigationEnabled),n)),W=o&&!j?{paddingBottom:_}:{},Y={allowRestrictedTooltip:!N,course:w.active&&!Ra()(w.lessons)?D:s,didNavigate:l,handleNavigate:this.handleNavigate,isMobileHeader:f,isProgressSummary:O,key:h.pathname,labels:c,lessonProgress:u.lessons[v.params.id],match:v,menuButtons:j?void 0:q,menuOpen:!A&&P,mobileMenuOpen:L,navigateDirection:this.getNavigateDirection,onFocusPageTop:this.handleFocusPageTop,onNavigateTransitionEnd:this.handleNavigateTransitionEnd,onNavMouse:this.handleNavHover,overlayAvailable:g,overlayNavIsOpen:M,partnerContent:y,previewType:b,courseProgress:u,sessionPreferences:k,sidebarAvailable:E,themeId:x},G=O?{courseProgress:u,lessons:p}:{};return m.createElement("div",{className:eC()("page-lesson-wrap",{"course-navigation-feature":this.props.isCourseNavigationEnabled})},!j&&m.createElement(m.Fragment,null,m.createElement("div",{className:"visually-hidden-always",ref:this.refPageTop,tabIndex:"-1"},"Top of page"),m.createElement(QU,null)),m.createElement("div",{className:"page-lesson"},m.createElement(aae,{className:V,contentRef:function(e){return r.node=e}},!this.props.isCourseNavigationEnabled&&!j&&m.createElement(m.Fragment,null,m.createElement(Rz,{inert:d?!F:!B},m.createElement(Gt,null,m.createElement(Zt,{in:E,mountOnEnter:!0,unmountOnExit:!0,timeout:300},this.renderSidebar))),a&&this.renderCompact(),g&&this.renderOverlay()),m.createElement("div",{className:"lesson__wrap",ref:function(e){return r.wrap=e}}),m.createElement(sae,{onMobileMenuActiveClick:this.closeMenu},m.createElement("div",{className:"page-view page-view--visible"},this.props.isCourseNavigationEnabled&&!j?m.createElement(gae,null,m.createElement(uie,{wrapStyles:W},m.createElement(Zre,yt({},Y,G,{isMobile:this.props.isMobile})))):m.createElement(m.Fragment,null,m.createElement(cW,{enableExitCourse:R,className:"courseExit courseExit--standard",text:c.courseExit}),m.createElement(Gt,{component:"div",className:"page-wrap",id:"page-wrap",onScroll:this.handlePageWrapScroll,ref:this.setRefPageWrap,style:W},m.createElement(AV,{key:h.pathname},m.createElement(Zre,yt({},Y,G,{isMobile:this.props.isMobile}))))))))))}},{key:"openMenu",value:function(){var e=this.props.isMobile;this.setState({menuIsOpen:!e,mobileMenuIsOpen:e,overlayNavIsOpen:!0})}},{key:"closeMenu",value:function(){var e=this.state.mobileMenuIsOpen;return this.handleCollapseCompactNav(),e?this.handleMenuToggle:Function.prototype}}],[{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),n}(m.Component),kae=de()(uR,cR,(function(e){function t(t){var n=fR();return aR.createElement(e,yt({},t,{overlayAvailable:n}))}return t.displayName="withNavOverlayAvailable(".concat(e.displayName||e.name,")"),t}),(function(e){function t(t){var n=dR();return aR.createElement(e,yt({},t,{compactAvailable:n}))}return t.displayName="withNavCompactAvailable(".concat(e.displayName||e.name,")"),t}),VB("rise-course-navigation","isCourseNavigationEnabled"),jL(480,"isMobileHeader","Mobile"));function Eae(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var xae=N8(kae(wae)),Sae=function(e){ut(n,e);var t=Eae(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={isEntering:!1,isExiting:!1},r}return rt(n,[{key:"displayFlex",value:function(e){e.style.display="flex"}},{key:"updatePrevLinkDisplayAndScrollPosition",value:function(e){var t=e.previousLessonLink,n=e.pageWrap;this.displayFlex(t),t.dataset.scrolling="true";var r=t.offsetHeight;n.scrollTop=r;var i=document.querySelector("[data-lesson-header]");i&&(i.style.top="".concat(r,"px")),delete t.dataset.scrolling}},{key:"updateNextLinkDisplay",value:function(e){var t=this,n=e.nextLessonLink;this.navButtonTimeout=setTimeout((function(){t.displayFlex(n)}),50)}},{key:"componentDidMount",value:function(){var e=document.querySelector(".page__content");if(e&&e.classList.add("page__content--appear"),!this.props.isCourseNavigationEnabled){var t=document.querySelector("[data-page]:first-child [data-previous-lesson]"),n=document.querySelector("[data-page]:first-child [data-next-lesson]"),r=document.querySelector(".page-wrap");r&&(t?this.updatePrevLinkDisplayAndScrollPosition({previousLessonLink:t,pageWrap:r}):r.scrollTop=0,n&&this.updateNextLinkDisplay({nextLessonLink:n}))}}},{key:"componentDidEnter",value:function(){this.setState({isEntering:!1})}},{key:"componentDidUpdate",value:function(e){if(!this.props.isCourseNavigationEnabled){var t,n,r=document.querySelector("[data-page]:first-child [data-previous-lesson]"),i=document.querySelector("[data-page]:first-child [data-next-lesson]"),o=document.querySelector(".page-wrap"),a=null==e||null===(t=e.course)||void 0===t?void 0:t.showNavigationButtons,s=null===(n=this.props.course)||void 0===n?void 0:n.showNavigationButtons;!1===a&&s&&(r&&this.updatePrevLinkDisplayAndScrollPosition({previousLessonLink:r,pageWrap:o}),i&&this.updateNextLinkDisplay({nextLessonLink:i}))}}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({isEntering:!0},(function(){t.willEnterTimeout=setTimeout(e,nS)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},(function(){t.willExitTimeout=setTimeout(e,nS)}))}},{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 m.createElement(xae,yt({isEntering:t,isExiting:n},this.props))}}]),n}(m.Component),Tae=VB("rise-course-navigation","isCourseNavigationEnabled")(Sae),Cae=__webpack_require__(67294),Aae=function(e){var t=e.location,n=t.pathname.split("/")[1];return Cae.createElement(Gt,{component:"div",className:"transition-group"},Cae.createElement(AV,{key:n},Cae.createElement(SV,{location:t},Cae.createElement(wV,{exact:!0,path:"/",component:sW,childProps:e}),Cae.createElement(wV,{exact:!0,path:"/:mode",component:sW,childProps:e}),Cae.createElement(wV,{exact:!0,path:"/lessons/:id",component:Tae,childProps:e}),Cae.createElement(wV,{path:"/lessons/:id/:mode",component:Tae,childProps:e}))))};function Oae(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Nae=cL("one-page-cover"),Pae=cL("cover"),Lae=function(e){ut(n,e);var t=Oae(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={entering:!1,exiting:!1},r.refMain=(0,m.createRef)(),r.onKeyUp=r.onKeyUp.bind(it(r)),r.onWheel=r.onWheel.bind(it(r)),r}return rt(n,[{key:"componentDidMount",value:function(){var e,t;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(){this.setState({entering:!1})}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({entering:!0},(function(){var n=D9()?.01:nS;t.willEnterTimeout=setTimeout(e,n)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({exiting:!0},(function(){var n=D9()?.01:nS;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:"getLessonPath",value:function(){var e=this.props.course,t=$S(e),n=null==t?void 0:t.id;return hP(n)}},{key:"transitionToLessonContent",value:function(){var e=this.getLessonPath();this.props.history.push(e)}},{key:"onKeyUp",value:function(e){var t=this.state,n=t.entering,r=t.exiting;n||r||"ArrowDown"!==e.key&&"ArrowRight"!==e.key||(document.removeEventListener("keyup",this.onKeyUp),this.transitionToLessonContent())}},{key:"onWheel",value:function(e){var t=this.state,n=t.entering,r=t.exiting;S9(this.props.previewType)||n||r||0==e.deltaMode&&e.deltaY>100&&(document.removeEventListener("wheel",this.onWheel,{passive:!0}),this.transitionToLessonContent())}},{key:"render",value:function(){var e,t,n=this.props,r=n.course,i=n.labels,o=this.state,a=o.entering,s=o.exiting,u=(null==r?void 0:r.coverPageType)===pS.WHITE,l=(null==r?void 0:r.coverPageType)===pS.IMAGE,c=(null==r?void 0:r.coverPageType)===pS.ACCENT,d=c?null==r?void 0:r.color:"#fff",f=$S(r),p=(null==f||null===(e=f.settings)||void 0===e?void 0:e.playbackMode)===Lb,h=l?ZS(null==r?void 0:r.coverImage):{backgroundColor:d},v=p?"slide":"fade",g="entering-".concat(v),y="exiting-".concat(v),b=Nae("wrapper",(t={},Ar(t,g,a),Ar(t,y,s),Ar(t,"white",u),Ar(t,"accent",c),t)).mix(Pae("header-content"));return m.createElement("main",{"aria-label":null==i?void 0:i.a11yRegionMainLesson,className:b,ref:this.refMain,style:h,tabIndex:"-1"},m.createElement(UM,null,m.createElement(IM,null),m.createElement(VM,null)),m.createElement("div",{className:Nae("start-wrapper")},m.createElement(bF,{"aria-label":"Start",className:Nae("start-link"),to:this.getLessonPath()},m.createElement(II,{className:Nae("start-icon")}))))}}]),n}(m.Component);var Mae=Qt((function(e){return{labels:KP(e)}}),null,null,{forwardRef:!0})(Lae),Iae=__webpack_require__(67294);function Rae(e,t){var n=sr()(e);if(lr()){var r=lr()(e);t&&(r=dr()(r).call(r,(function(t){return pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Dae=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?Rae(Object(n),!0).forEach((function(t){Ar(e,t,n[t])})):mr()?Object.defineProperties(e,mr()(n)):Rae(Object(n)).forEach((function(t){Object.defineProperty(e,t,pr()(n,t))}))}return e}({history:oe()},e);return Iae.createElement(Gt,{component:"div",className:"transition-group"},Iae.createElement(AV,{key:n},Iae.createElement(SV,{location:t},Iae.createElement(wV,{exact:!0,path:"/",component:Mae,childProps:r}),Iae.createElement(wV,{exact:!0,path:"/:mode",component:Mae,childProps:r}),Iae.createElement(wV,{exact:!0,path:"/lessons/:id",component:Tae,childProps:r}))))},qae=null,jae=null;try{qae=new Function("return function* () {}")().constructor,jae=(0,Sw.is)(qae)}catch(e){jae=Sw.F}var Bae=(0,Sw.curryN)(1,(0,Sw.either)((0,Sw.pipe)(Sw.type,(0,Sw.identical)("GeneratorFunction")),jae)),Fae=(0,Sw.curryN)(1,(0,Sw.pipe)(Sw.type,(0,Sw.identical)("AsyncFunction"))),Uae=(0,Sw.anyPass)([(0,Sw.pipe)(Sw.type,(0,Sw.identical)("Function")),Bae,Fae]),zae=(0,Sw.curryN)(1,Uae(Array.isArray)?Array.isArray:(0,Sw.pipe)(Sw.type,(0,Sw.identical)("Array"))),Hae=(0,Sw.complement)(zae),Vae=(0,Sw.when)(Hae,Sw.of);function Wae(e){var t=function(){if("undefined"==typeof Reflect||!Je())return!1;if(Je().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Je()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=mt(e);if(t){var i=mt(this).constructor;n=Je()(r,arguments,i)}else n=r.apply(this,arguments);return pt(this,n)}}var Yae=SF.course,Gae=gt()(document.createElement("div"),{id:"portal"});function Kae(e){(null!=e?e:document.body).appendChild(Gae),Gae.style.display=e?"":"none"}Kae();var Zae=function(e){ut(n,e);var t=Wae(n);function n(e){var r;return et(this,n),(r=t.call(this,e)).state={didNavigate:!1,previewType:"",failAttempt:!1,scrollTo:null,showPasswordDialog:!0},r.onSharePasswordSubmit=r.onSharePasswordSubmit.bind(it(r)),r.onFavoriteAdded=r.onFavoriteAdded.bind(it(r)),r.onFavoriteRemoved=r.onFavoriteRemoved.bind(it(r)),r}return rt(n,[{key:"componentWillMount",value:function(){var e;iD.isIe11&&document.documentElement.classList.add("ie11"),iD.isSafari9&&document.documentElement.classList.add("safari9"),iD.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),iD.isSafari&&"iframe"===this.props.match.params.mode&&lH().enable(),window.addEventListener("message",this.handleMessages.bind(this)),e=BH(),document.addEventListener("mousedown",(function(){setTimeout((function(){e.innerHTML=qH}),0),sN(zO(!1))})),window.addEventListener("keydown",zH)}},{key:"componentDidMount",value:function(){var e=this;document.documentElement.lang=this.props.languageCode,this.removeRouteListener=this.props.history.listen((function(){e.setState({didNavigate:!0})})),Ox("favoriteAdded",this.onFavoriteAdded),Ox("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){sN(function(){return Na(bA,{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)),Nx("favoriteAdded",this.onFavoriteAdded),Nx("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;Vae(n).forEach((function(e){var n=e.type,r=e.data;if(function(e){var t;return m_()(t=["preview:menuOpen","preview:navigate","preview:overlayNavOpen","preview:overlayNavClose","preview:scrollto","preview:showLessonNav","preview:themeUpdate","preview:update","preview:navOpen"]).call(t,e)}(n)){if("preview:update"===n&&t.setState({previewType:r}),"preview:themeUpdate"===n&&t.handleThemePreviewUpdate(r),"preview:menuOpen"===n&&window.dispatchEvent(new CustomEvent(pU)),"preview:navigate"===n){var s=r.type;(function(e,t){return!("firstLesson"===e&&m_()(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(gU)),"preview:overlayNavOpen"===n&&window.dispatchEvent(new CustomEvent(hU)),"preview:overlayNavClose"===n&&window.dispatchEvent(new CustomEvent(mU)),"preview:showLessonNav"===n&&window.dispatchEvent(new CustomEvent(vU)),"preview:scrollto"===n&&"string"==typeof r.target){var u=document.querySelector(r.target);u&&vH(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=Co()("theme",r,t),a=VT(i,o),s=new(Ur())((function(e,t){tO(n,t)}));this.cancelThemePreviewUpdate=s.fork(console.warn,(function(){sN(zA({course:a,fonts:n}))}))}},{key:"onSharePasswordSubmit",value:function(e){var t,n=this;return(t=e.value,ZE("verifySharePassword")?GE.verifySharePassword(t):qr().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(){sN(Na(Lx,void 0))}},{key:"onFavoriteRemoved",value:function(){sN(Na(Mx,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.labels,f=e.lessons,p=e.location,h=e.partnerContent,v=e.search,g=e.sessionPreferences,y=this.state,b={course:n,courseProgress:c,didNavigate:y.didNavigate,labels:d,lessons:f,location:p,partnerContent:h,previewType:y.previewType,search:v,sessionPreferences:g,themeId:s},_={bodyTypeface:i,color:o,headingTypeface:a,uiTypeface:l},w=(null==n?void 0:n.isLegacyCourse)||DS(o),k=u===Pb,E=eC()("theme",t,s,{"dark-accent":w,"light-accent":!w,"one-page":k});return m.createElement(rL,{course:n,partnerContent:h,search:v},m.createElement(LB,{themeId:s},m.createElement(gV,{courseColor:o},m.createElement(sH(),{title:QH(n.title)},m.createElement("div",{id:"innerApp",className:E,"data-ba":Yae.container,ref:Kae},m.createElement(kH,_),m.createElement(CH,{env:"runtime"},k?m.createElement(Dae,b):m.createElement(Aae,b)))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&!!ZE("isShare")&&GE.isShare()&&(!!e||!!ZE("isPasswordProtected")&&GE.isPasswordProtected()),i=this.onSharePasswordSubmit;return r?m.createElement(LH,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(m.Component);Zae.prototype.cancelThemePreviewUpdate=Function.prototype;var Xae=de()((function(e){function t(t,n){var r,i=(r=HB("big-head-mode"),eC()({bigHeadMode:r}));return AH.createElement(e,yt({},t,{ref:n,easterEggClassNames:i}))}return gt()((0,m.forwardRef)(t),{displayName:"withEasterEggClassNames(".concat(e.displayName||e.name,")")})}),re),$ae=Xae(Zae),Qae=__webpack_require__(67294),Jae=function(){return Qae.createElement(sH(),{title:QH()},Qae.createElement("div",null,Qae.createElement("div",{className:"not-found"},Qae.createElement("div",{className:"not-found__copy"},Qae.createElement("h1",{className:"not-found__copy--heading"},"Hmm..."),Qae.createElement("div",null,"We can't seem to find the page you're looking for.")))))},ese=["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"],tse=function(e){var t;return eC()("button",(Ar(t={},e.className,!Wo()(e.className)),Ar(t,"button--default",void 0===e.mode),Ar(t,"button--extraPadding",e.extraPadding),Ar(t,"button--sidebar brand--ui",e.sidebar),Ar(t,"button--header",e.header),Ar(t,"button--header-done",e.headerDone),Ar(t,"button--outline",e.outline),Ar(t,"button--outline button--outline-transparent",e.outlineTransparent),Ar(t,"button--condensed",e.condensed),Ar(t,"button--inverted",e.inverted),Ar(t,"button--inline","inline"===e.mode),Ar(t,"button--next",e.next),Ar(t,"button--disabled",e.disabled),Ar(t,"button--controls",e.controls),Ar(t,"brand--ui",e.accent),Ar(t,"brand--background brand--border",e.branded),t))},nse=function(e){var t=e.icon;return t?m.createElement("i",{className:"button__icon icon-".concat(t)}):null},rse=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,v=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=Wi(e,ese),P=p||"button";return"button"!==P||O||(O="button"),m.createElement(P,yt({"aria-controls":n,"aria-expanded":r,"aria-hidden":i,"aria-label":o,"aria-pressed":a,className:tse({accent:t,branded:s,className:u,condensed:c,controls:d,disabled:f,extraPadding:h,header:v,headerDone:g,inverted:b,mode:_,next:w,outline:S,outlineTransparent:T,sidebar:C}),disabled:f,onClick:k,onMouseDown:x,tabIndex:A,type:O},N),m.createElement(nse,{icon:y}),function(e){var t,n=e.onlyIcon,r=e.children;return Ca()(t=m.Children).call(t,r,(function(e){return n&&void 0===e.type?null:e}))}({onlyIcon:E,children:l}))};rse.defaultProps={onClick:Function.prototype,onMouseDown:Function.prototype};var ise,ose=rse,ase=cL("curtain"),sse=function(e){var t=e.loadingText,n=e.showHeader,r=e.status,i=Cr((0,m.useState)(!1),2),o=i[0],a=i[1],s=function(){return a(!0)},u=bi()("status","error"),l=bi()("status","fatalError"),c=_l()(u,bi()("reconnectFailed",!0));return(0,m.useEffect)((function(){return ise=setTimeout(s,1e4),function(){clearTimeout(ise)}}),[]),(0,m.useEffect)((function(){if("error"===r){var e=new Error("There was a socket connection error. The renderReconnect curtain was displayed");ip.logger.error(e.message,e)}}),[r]),Al()([[l,cse],[c,fse],[u,dse],[db(),lse(t)]])({showHeader:n,status:r,reconnectFailed:o})},use=function(){return window.location.reload(!0)},lse=function(e){return function(t){var n=t.showHeader;return m.createElement("div",{className:ase("container",{"show-header":n})},m.createElement("div",{className:ase()},m.createElement("div",{className:ase("spinner")}),m.createElement("div",{className:ase("text")},e||"Your content is loading.")))}},cse=function(e){var t=e.showHeader;return m.createElement("div",{className:ase("container",{"show-header":t})},m.createElement("div",{className:ase()},m.createElement("div",{className:ase("title")},"Something went wrong."),m.createElement("div",{className:ase("description")},"Click to refresh and try again."),m.createElement(ose,{headerDone:!0,onClick:use},"Refresh")))},dse=function(e){var t=e.showHeader;return m.createElement("div",{className:ase("container",{"show-header":t})},m.createElement("div",{className:ase()},m.createElement("div",{className:ase("spinner",{reconnect:!0})}),m.createElement("div",{className:ase("title")},"Your computer is offline."),m.createElement("div",{className:ase("description")},"Attempting to reconnect…")))},fse=function(e){var t=e.showHeader;return m.createElement("div",{className:ase("container",{"show-header":t})},m.createElement("div",{className:ase()},m.createElement("div",{className:ase("title")},"Your session has timed out."),m.createElement("div",{className:ase("description")},"Click refresh to restart your session."),m.createElement(ose,{headerDone:!0,onClick:use},"Refresh")))},pse=(0,m.memo)(sse),hse=__webpack_require__(67294);function mse(){return Jt((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 vse(){var e=Ge(),t=(0,m.useCallback)((function(){e(function(){return Na(bA,{coverLoaded:arguments.length>0&&void 0!==arguments[0]&&arguments[0]})}(!0))}),[e]),n=mse(),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?Yx(l):d,p=setTimeout(t,5e3),h=new Image;h.src=f,h.onload=function(){clearTimeout(p),t()}}else t()}}(0,iH.v6)({ignoreSFC:!0,pureRender:!0});var gse=(0,oH.w)((function(){!function(){var e=Ge();(0,m.useEffect)((function(){e(UA()),e(UO())}),[e])}(),vse();var e=mse(),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,m.useEffect)((function(){s&&window.parent!==window&&window.parent.postMessage({type:"course:ready"},window.location.origin)}),[s]),o?hse.createElement(Jae,null):u?hse.createElement(pse,{status:status}):hse.createElement($ae,e)})),yse=Pn();!function(e){if(ZE("onCreateHistory"))GE.onCreateHistory(e)}(yse),(0,v.render)(m.createElement(m.Suspense,{fallback:null},m.createElement(ye,{store:aN},m.createElement(Zz,null,m.createElement(Ir,null,m.createElement(rH,null,m.createElement(Y,{history:yse},m.createElement(X,{path:"/",component:gse}))))))),document.getElementById("app"))}()})();