AnonSec Team
Server IP : 72.167.149.90  /  Your IP : 216.73.216.228
Web Server : Apache
System : Linux server.zoomride.app 4.18.0-553.158.1.el8_10.x86_64 #1 SMP Wed Aug 26 03:18:33 EDT 2026 x86_64
User : zoomride2022 ( 1001)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0700) :  /home/zoomride2022/.trash/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/zoomride2022/.trash/main.bundle.js
/*! For license information please see runtime.4b1a2cdc691c89da4448.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),c=n(84449),l=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)),c=h(u)?u:d;return l((function(){return a((c(),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,c(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(c(e,t),c(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),l((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)})),l((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(c(r,e),c(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((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(c(r,e),c(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=l(t);function f(){!s&&o&&a&&c(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)),l((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),c=n(60068),l=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=c(e);return t.reduceRight(f("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=c(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()},c={Array:function(e,t){return e.length===t.length&&l(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&&l(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 l(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):(c[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 c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(c).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+c(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=c},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),c=function(e){return l((function(){return e}))};function l(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 l((function(){var n=t(e());if(!u(l,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 l(a(t,e))},ap:function(e){if(!u(l,e))throw new TypeError("IO.ap: IO required");return t((function(t){return e.map(t)}))},of:c,chain:t}}l.of=c,l.type=o,l["@@implements"]=r(["ap","chain","map","of"]),e.exports=l},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),c=n(81250),l=n(47929),d=n(3189),f=o((function(e,t){return typeof t===e})),p=function(e){return l(u(h),Math.max,0,d(e))},h=i([[f("object"),p],[f("function"),s],[c,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),c=n(45724);e.exports=u(3,(function(e,t){return c(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),c=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=c},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,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){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,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=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")}(),c=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},l=r("function"!=typeof Object.keys||u?function(e){if(Object(e)!==e)return[];var t,n,r=[],l=u&&o(e);for(t in e)!i(t,e)||l&&"length"===t||(r[r.length]=t);if(a)for(n=s.length-1;n>=0;)i(t=s[n],e)&&!c(r,t)&&(r[r.length]=t),n-=1;return r}:function(e){return Object(e)!==e?[]:Object.keys(e)});e.exports=l},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),c=n(83444),l=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}),{},c(t));default:return o(e,t)}})));e.exports=l},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 c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function 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:l(l({},this.props.options),{},{controlBar:l(l({},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 c=a(0,e-u);i[o].timeout=setTimeout(s.bind(null,o),c)}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),c=n(2167),l=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)),c=h(u)?u:d;return l((function(){return a((c(),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,c(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(c(e,t),c(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),l((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)})),l((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(c(r,e),c(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((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(c(r,e),c(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=l(t);function f(){!s&&o&&a&&c(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),c=n(48326),l=n(32126),d=function(e){return f((function(){return e}))};function f(e){var t;if(!c(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(!c(n))throw new TypeError("IO."+t+": Function required");return f(u(n,e))}}function h(t){return function(n){if(!c(n))throw new TypeError("IO."+t+": Function required");return f((function(){var r=n(e());if(!l(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(!l(f,t))throw new TypeError("IO.ap: IO required");return f((function(){var n=e();if(!c(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),c=n(31646),l=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=c(e);return t.reduceRight(f("sequence",l),n([]))},traverse:function(e,t,n){var r=c(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,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){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,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=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)},89894: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=l;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===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=c(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 c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l="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(N([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e,t){function n(i,o,a,s){var u=c(e[i],e,o);if("throw"!==u.type){var l=u.arg,d=l.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){l.value=e,a(l)}),(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=c(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 N(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}},E(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new k(u(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(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=N,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"),c=r.call(a,"finallyLoc");if(u&&c){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(!c)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:N(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},8678:function(e,t,n){"use strict";n.d(t,{f7:function(){return r},r5:function(){return s},y:function(){return u}});var r,i=n(70655),o=n(49015),a=n(40812);function s(e,t){var n=(0,i.__assign)((0,i.__assign)({},t),{version:e.sdkVersion,onReady:function(e){e()}});return Object.defineProperty(n,"_setDebug",{get:function(){return o.yD},enumerable:!1}),n}function u(e,t,n){var r=e[t];e[t]=n,r&&r.q&&r.q.forEach((function(e){return(0,a.Z)(e,"onReady callback threw an error:")()}))}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(r||(r={}))},49647:function(e,t,n){"use strict";n.d(t,{MI:function(){return a},WQ:function(){return d},d8:function(){return s},ej:function(){return u},oX:function(){return l}});var r,i=n(13842),o=n(64828),a=o.WT;function s(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 u(e){return(0,o.MY)(document.cookie,e)}function c(e,t){s(e,"",0,t)}function l(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_"+(0,o.DO)(),n="test";s(t,n,o.WT,e);var r=u(t)===n;return c(t,e),r}catch(e){return i.j.error(e),!1}}function d(){if(void 0===r){for(var e="dd_site_test_"+(0,o.DO)(),t=window.location.hostname.split("."),n=t.pop();t.length&&!u(e);)n=t.pop()+"."+n,s(e,"test",o.WT,{domain:n});c(e,{domain:n}),r=n}return r}},18679:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r,i=n(49015),o=n(55801),a=n(73473),s=n(82027),u=n(54343);function c(){var e;return r||(e=new a.y((function(){if(window.fetch)return(0,o.S)(window,"fetch",(function(t){return function(n,r){var o,a=(0,i.L6)(l,null,[e,n,r]);return a?(o=t.call(this,a.input,a.init),(0,i.L6)(d,null,[e,o,a])):o=t.call(this,n,r),o}})).stop})),r=e),r}function l(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=(0,u.D5)("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:(0,s.$I)(),url:i};return e.notify(o),o}function d(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=(0,s._J)(r.startClocks.timeStamp,(0,s.n$)()),"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((0,i.zk)(r),(0,i.zk)(r))}},5343:function(e,t,n){"use strict";n.d(t,{S:function(){return d}});var r,i=n(70655),o=n(49015),a=n(55801),s=n(73473),u=n(82027),c=n(54343),l=new WeakMap;function d(){var e;return r||(e=new s.y((function(){var t=(0,a.L)(XMLHttpRequest.prototype,"open",{before:f}).stop,n=(0,a.L)(XMLHttpRequest.prototype,"send",{before:function(){p.call(this,e)}}).stop,r=(0,a.L)(XMLHttpRequest.prototype,"abort",{before:h}).stop;return function(){t(),n(),r()}})),r=e),r}function f(e,t){l.set(this,{state:"open",method:e,url:(0,c.D5)(t)})}function p(e){var t=this,n=l.get(this);if(n){var r=n;r.state="start",r.startTime=(0,u._q)(),r.startClocks=(0,u.$I)(),r.isAborted=!1,r.xhr=this;var s=!1,c=(0,a.L)(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&d()}}).stop,d=(0,o.zk)((function(){if(t.removeEventListener("loadend",d),c(),!s){s=!0;var o=n;o.state="complete",o.duration=(0,u._J)(r.startClocks.timeStamp,(0,u.n$)()),o.status=t.status,e.notify((0,i.__assign)({},o))}}));this.addEventListener("loadend",d),e.notify(r)}}function h(){var e=l.get(this);e&&(e.isAborted=!0)}},7063:function(e,t,n){"use strict";n.d(t,{HZ:function(){return f},Jj:function(){return l},fP:function(){return d}});var r=n(70655),i=n(49647),o=n(40812),a=n(13842),s=n(64828),u=n(60469),c=n(25039),l={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function d(e,t){var n;if(e&&e.clientToken){if(void 0===e.sampleRate||(0,s.zz)(e.sampleRate))return(0,u.V$)(e.enableExperimentalFeatures),(0,r.__assign)((0,r.__assign)({},(0,c.h)(e,t)),{beforeSend:e.beforeSend&&(0,o.Z)(e.beforeSend,"beforeSend threw an error:"),cookieOptions:f(e),sampleRate:null!==(n=e.sampleRate)&&void 0!==n?n:100,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16*s.Tn,eventRateLimiterThreshold:3e3,maxInternalMonitoringMessagesPerPage:15,flushTimeout:30*s.WT,maxBatchSize:50,maxMessageSize:256*s.Tn});a.j.error("Sample Rate should be a number between 0 and 100")}else a.j.error("Client Token is not configured, we will not send any data.")}function f(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=(0,i.WQ)()),t}},99176:function(e,t,n){"use strict";n.d(t,{Ez:function(){return c},tR:function(){return u}});var r=n(82027),i=n(54343),o=n(64828),a={logs:"logs",rum:"rum",sessionReplay:"session-replay"},s={logs:"logs",rum:"rum",sessionReplay:"replay"},u="datadoghq.com";function c(e,t,n,c,l){var d=e.site,f=void 0===d?u:d,p=e.clientToken,h=f.split("."),m=h.pop(),v="https://"+(a[n]+".browser-intake-"+h.join("-")+"."+m)+"/api/v2/"+s[n],g=e.proxyUrl&&(0,i.D5)(e.proxyUrl);return{build:function(){var e="ddsource="+(l||"browser")+"&ddtags="+encodeURIComponent(["sdk_version:"+t.sdkVersion].concat(c).join(","))+"&dd-api-key="+p+"&dd-evp-origin-version="+encodeURIComponent(t.sdkVersion)+"&dd-evp-origin=browser&dd-request-id="+(0,o.DO)();"rum"===n&&(e+="&batch_time="+(0,r.n$)());var i=v+"?"+e;return g?g+"?ddforward="+encodeURIComponent(i):i},buildIntakeUrl:function(){return g?g+"?ddforward":v}}}},60469:function(e,t,n){"use strict";var r;function i(e){Array.isArray(e)&&(r||(r=new Set(e)),e.filter((function(e){return"string"==typeof e})).forEach((function(e){r.add(e)})))}n.d(t,{V$:function(){return i}})},95528:function(e,t,n){"use strict";n.d(t,{MS:function(){return i}});var r=n(13842);function i(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(a("env",t)),n&&o.push(a("service",n)),r&&o.push(a("version",r)),i&&o.push(a("datacenter",i)),o}var o=/[^a-z0-9_:./-]/;function a(e,t){var n=200-e.length-1;return(t.length>n||o.test(t))&&r.j.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}},25039:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(70655),i=n(8678),o=n(64828),a=n(99176),s=n(95528);function u(e,t){var n=(0,s.MS)(e),u=function(e,t,n){if(t.buildMode===i.f7.E2E_TEST){var o=function(e){return{build:function(){return e},buildIntakeUrl:function(){return e}}};return{logsEndpointBuilder:o("<<< E2E LOGS ENDPOINT >>>"),rumEndpointBuilder:o("<<< E2E RUM ENDPOINT >>>"),sessionReplayEndpointBuilder:o("<<< E2E SESSION REPLAY ENDPOINT >>>"),internalMonitoringEndpointBuilder:o("<<< E2E INTERNAL MONITORING ENDPOINT >>>")}}var s={logsEndpointBuilder:(0,a.Ez)(e,t,"logs",n),rumEndpointBuilder:(0,a.Ez)(e,t,"rum",n),sessionReplayEndpointBuilder:(0,a.Ez)(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return(0,r.__assign)((0,r.__assign)({},s),{internalMonitoringEndpointBuilder:(0,a.Ez)((0,r.__assign)((0,r.__assign)({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return s}(e,t,n),c=(0,o.TT)(u).map((function(e){return e.buildIntakeUrl()})),l=function(e,t,n,i){if(!e.replica)return;var s=(0,r.__assign)((0,r.__assign)({},e),{site:a.tR,clientToken:e.replica.clientToken}),u={logsEndpointBuilder:(0,a.Ez)(s,t,"logs",i),rumEndpointBuilder:(0,a.Ez)(s,t,"rum",i),internalMonitoringEndpointBuilder:(0,a.Ez)(s,t,"logs",i,"browser-agent-internal-monitoring")};return n.push.apply(n,(0,o.TT)(u).map((function(e){return e.buildIntakeUrl()}))),(0,r.__assign)({applicationId:e.replica.applicationId},u)}(e,t,c,n);return(0,r.__assign)((0,r.__assign)({isIntakeUrl:function(e){return c.some((function(t){return 0===e.indexOf(t)}))}},u),{replica:l})}},86296:function(e,t,n){"use strict";n.d(t,{a:function(){return d},v:function(){return c}});var r=n(70655),i=n(49015),o=n(1307),a=n(37697),s=n(73473),u=n(64828),c={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},l={};function d(e){var t=e.map((function(e){return l[e]||(l[e]=function(e){var t=new s.y((function(){var n=console[e];return console[e]=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(console,r);var s=(0,a.Xp)();(0,i.L6)((function(){t.notify(f(r,e,s))}))},function(){console[e]=n}}));return t}(e)),l[e]}));return s.$.apply(void 0,t)}function f(e,t,n){var i={message:(0,r.__spreadArrays)(["console "+t+":"],e).map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return(0,a.jN)((0,o._)(e));return(0,u.lh)(e,void 0,2)}(e)})).join(" "),api:t};if(t===c.error){var s=(0,u.sE)(e,(function(e){return e instanceof Error}));i.stack=s?(0,a.P3)((0,o._)(s)):void 0,i.handlingStack=n}return i}},21315:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(37697),i=n(82027),o=n(95618);function a(e){return(0,o.h)((function(t,n){var o=(0,r.wl)(t,n,"Uncaught"),a=o.stack,s=o.message,u=o.type;e.notify({message:s,stack:a,type:u,source:r.zH.SOURCE,startClocks:(0,i.$I)(),originalError:n,handling:r.Xw.UNHANDLED})}))}},49015:function(e,t,n){"use strict";n.d(t,{L6:function(){return m},ot:function(){return g},py:function(){return p},tV:function(){return v},yD:function(){return b},zk:function(){return h}});var r,i=n(70655),o=n(13842),a=n(37697),s=n(64828),u=n(76876),c=n(1307),l=n(84512);!function(e){e.info="info",e.error="error"}(r||(r={}));var d,f={maxMessagesPerPage:0,sentMessageCount:0};function p(e){var t;if((0,u.x)()){var n=(0,u.A)();d=function(e){return n.send("internal_log",i(e))}}else if(e.internalMonitoringEndpointBuilder){var r=(0,l.g)(e);d=function(e){return r.add(i(e))}}function i(e){return(0,s.$e)({date:(new Date).getTime()},void 0!==t?t():{},e)}return(0,s.f0)(f,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function h(e){return function(){return m(e,this,arguments)}}function m(e,t,n){try{return e.apply(t,n)}catch(e){_(e);try{g(e)}catch(e){_(e)}}}function v(e,t){!function(e,t){f.debugMode&&o.j.log("[MONITORING MESSAGE]",e,t)}(e,t),y((0,i.__assign)((0,i.__assign)({message:e},t),{status:r.info}))}function g(e){y((0,i.__assign)((0,i.__assign)({},function(e){if(e instanceof Error){var t=(0,c._)(e);return{error:{kind:t.name,stack:(0,a.P3)(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+(0,s.lh)(e)}}(e)),{status:r.error}))}function y(e){d&&f.sentMessageCount<f.maxMessagesPerPage&&(f.sentMessageCount+=1,d(e))}function b(e){f.debugMode=e}function _(e){f.debugMode&&o.j.error("[INTERNAL ERROR]",e)}},84512:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var r=n(53789),i=n(62097);function o(e){var t,n=o(e.internalMonitoringEndpointBuilder);function o(t){return new r.E(new i.a(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=o(e.replica.internalMonitoringEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}},49739:function(e,t,n){"use strict";n.d(t,{TK:function(){return o}});var r=n(49647),i=n(23063);function o(e){var t=(0,r.ej)(i.sV),n=(0,r.ej)("_dd"),o=(0,r.ej)("_dd_r"),a=(0,r.ej)("_dd_l");if(!t){var s={};n&&(s.id=n),a&&/^[01]$/.test(a)&&(s.logs=a),o&&/^[012]$/.test(o)&&(s.rum=o),(0,i.En)(s,e)}}},23063:function(e,t,n){"use strict";n.d(t,{En:function(){return g},jx:function(){return p},sV:function(){return d},w3:function(){return b}});var r,i=n(49647),o=n(63002),a=n(64828),s=n(49015),u=n(57479),c=/^([a-z]+)=([a-z0-9-]+)$/,l="&",d="_dd_s",f=[];function p(e,t){var n;if(void 0===t&&(t=0),r||(r=e),e===r)if(t>=100)v();else{var i,o=b();if(h()){if(o.lock)return void m(e,t);if(i=a.DO(),o.lock=i,y(o,e.options),(o=b()).lock!==i)return void m(e,t)}var s=e.process(o);if(h()&&(o=b()).lock!==i)m(e,t);else{if(s&&g(s,e.options),h()&&(!s||!_(s))){if((o=b()).lock!==i)return void m(e,t);delete o.lock,y(o,e.options),s=o}null===(n=e.after)||void 0===n||n.call(e,s||o),v()}}else f.push(e)}function h(){return(0,o.m)()}function m(e,t){setTimeout((0,s.zk)((function(){p(e,t+1)})),10)}function v(){r=void 0;var e=f.shift();e&&p(e)}function g(e,t){_(e)?function(e){(0,i.d8)(d,"",0,e)}(t):(e.expire=String(Date.now()+u.sr),y(e,t))}function y(e,t){(0,i.d8)(d,function(e){return a.qP(e).map((function(e){return e[0]+"="+e[1]})).join(l)}(e),u.sr,t)}function b(){var e=(0,i.ej)(d),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(l)||c.test(e))}(e)&&e.split(l).forEach((function(e){var n=c.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function _(e){return a.Qr(e)}},5135:function(e,t,n){"use strict";n.d(t,{HX:function(){return f}});var r=n(64828),i=n(49015),o=n(73072),a=n(82027),s=n(49739),u=n(57479),c=r.yR,l=u.TN,d=[];function f(e,t,n){(0,s.TK)(e);var f=(0,u.vH)(e,t,n);d.push((function(){return f.stop()}));var p,h,m=new o.W(l);function v(){return{id:f.getSession().id,trackingType:f.getSession()[t]}}return d.push((function(){return m.stop()})),f.renewObservable.subscribe((function(){m.setCurrent(v(),(0,a._q)())})),f.expireObservable.subscribe((function(){m.closeCurrent((0,a._q)())})),f.expandOrRenewSession(),m.setCurrent(v(),(0,a.cQ)().relative),p=function(){return f.expandOrRenewSession()},h=r.yw(window,["click","touchstart","keydown","scroll"],p,{capture:!0,passive:!0}).stop,d.push(h),function(e){var t=(0,i.zk)((function(){"visible"===document.visibilityState&&e()})),n=r.Oo(document,"visibilitychange",t).stop;d.push(n);var o=setInterval(t,c);d.push((function(){clearInterval(o)}))}((function(){return f.expandSession()})),{findActiveSession:function(e){return m.find(e)},renewObservable:f.renewObservable,expireObservable:f.expireObservable}}},57479:function(e,t,n){"use strict";n.d(t,{TN:function(){return c},sr:function(){return u},vH:function(){return l}});var r=n(49647),i=n(73473),o=n(64828),a=n(49015),s=n(23063),u=15*o.yR,c=4*o.dV;function l(e,t,n){var u=new i.y,l=new i.y,d=setInterval((0,a.zk)((function(){(0,s.jx)({options:e,process:function(e){return m(e)?void 0:{}},after:p})})),r.MI),f=function(){var e=(0,s.w3)();if(m(e))return e;return{}}();function p(e){return m(e)||(e={}),h()&&(!function(e){return f.id!==e.id||f[t]!==e[t]}(e)?f=e:(f={},l.notify())),e}function h(){return void 0!==f[t]}function m(e){return(void 0===e.created||Date.now()-Number(e.created)<c)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:o.P2((0,a.zk)((function(){var r;(0,s.jx)({options:e,process:function(e){var i=p(e);return r=function(e){var r=n(e[t]),i=r.trackingType,a=r.isTracked;e[t]=i,a&&!e.id&&(e.id=o.DO(),e.created=String(Date.now()));return a}(i),i},after:function(e){r&&!h()&&function(e){f=e,u.notify()}(e),f=e}})})),r.MI).throttled,expandSession:function(){(0,s.jx)({options:e,process:function(e){return h()?p(e):void 0}})},getSession:function(){return f},renewObservable:u,expireObservable:l,stop:function(){clearInterval(d)}}}},1307:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r="?";function i(e){var t=[],n=l(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=o.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),i=t[2]&&0===t[2].indexOf("eval"),s=a.exec(t[2]);i&&s&&(t[2]=s[1],t[3]=s[2],t[4]=s[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||r,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=s.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||r,line:+t[3],url:t[2]}}(e)||function(e){var t=u.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,i=c.exec(t[3]);n&&i&&(t[3]=i[1],t[4]=i[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||r,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=r),t.push(n))})),{message:l(e,"message"),name:l(e,"name"),stack:t}}var o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/;var s=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function l(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}},95618:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(55801),i=n(1307),o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function a(e){var t=function(e){return(0,r.L)(window,"onerror",{before:function(t,n,r,a,s){var u;if(s)u=(0,i._)(s),e(u,s);else{var c,l={url:n,column:a,line:r},d=t;if("[object String]"==={}.toString.call(t)){var f=o.exec(d);f&&(c=f[1],d=f[2])}e(u={name:c,message:"string"==typeof d?d:void 0,stack:[l]},t)}}})}(e).stop,n=function(e){return(0,r.L)(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=(0,i._)(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}},68783:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var r=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}()},63002:function(e,t,n){"use strict";function r(){return Boolean(document.documentMode)}function i(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}n.d(t,{m:function(){return i},w:function(){return r}})},40812:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13842);function i(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];try{return e.apply(void 0,n)}catch(e){r.j.error(t,e)}}}},73072:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(82027),i=n(64828).yR,o=function(){function e(e){var t=this;this.expireDelay=e,this.previousContexts=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),i)}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=(0,r._q)()-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}()},26839:function(e,t,n){"use strict";function r(){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}}}n.d(t,{W:function(){return r}})},28393:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(64828),i=n(37697),o=n(82027);function a(e,t,n){var a=0,s=!1;return{isLimitReached:function(){if(0===a&&setTimeout((function(){a=0}),r.yR),(a+=1)<=t||s)return s=!1,!1;if(a===t+1){s=!0;try{n({message:"Reached max number of "+e+"s by minute: "+t,source:i.zH.AGENT,startClocks:(0,o.$I)()})}finally{s=!1}}return!0}}}},13842:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)}},37697:function(e,t,n){"use strict";n.d(t,{P3:function(){return c},Xp:function(){return d},Xw:function(){return r},jN:function(){return l},wl:function(){return u},zH:function(){return s}});var r,i=n(49015),o=n(1307),a=n(64828),s={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source"};function u(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:c(e),handlingStack:r,type:e.name}:{message:n+" "+(0,a.lh)(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function c(e){var t=l(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 l(e){return(e.name||"Error")+": "+e.message}function d(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){(0,a.ZT)()}return(0,i.L6)((function(){var n=(0,o._)(t);n.stack=n.stack.slice(2),e=c(n)})),e}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(r||(r={}))},55801:function(e,t,n){"use strict";n.d(t,{L:function(){return o},S:function(){return i}});var r=n(49015);function i(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 o(e,t,n){var o=n.before,a=n.after;return i(e,t,(function(e){return function(){var t,n=arguments;return o&&(0,r.L6)(o,this,n),"function"==typeof e&&(t=e.apply(this,n)),a&&(0,r.L6)(a,this,n),t}}))}},17442:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(64828);function i(e,t,n){var i=(0,r.I8)(e),s=n(i);return t.forEach((function(t){var n=o(e,t),s=o(i,t),u=(0,r.oL)(n),c=(0,r.oL)(s);c===u?a(e,t,s):"object"!==u||"undefined"!==c&&"null"!==c||a(e,t,{})})),s}function o(e,t){for(var n=e,r=0,i=t.split(".");r<i.length;r++){var o=i[r];if(!s(n,o))return;n=n[o]}return n}function a(e,t,n){for(var r=e,i=t.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!s(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function s(e,t){return"object"==typeof e&&null!==e&&t in e}},73473:function(e,t,n){"use strict";n.d(t,{$:function(){return i},y:function(){return r}});var r=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 i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new r((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}},82027:function(e,t,n){"use strict";n.d(t,{$I:function(){return d},Cn:function(){return m},DY:function(){return o},QA:function(){return s},_J:function(){return p},_q:function(){return l},c0:function(){return u},cQ:function(){return f},n$:function(){return c},ni:function(){return h}});var r,i=n(64828);function o(e){return{relative:e,timeStamp:a(e)}}function a(e){var t=Date.now()-performance.now();return t>v()?Math.round(t+e):function(e){return Math.round(v()+e)}(e)}function s(){return Math.round(Date.now()-(v()+performance.now()))}function u(e){return(0,i.hj)(e)?(0,i.NM)(1e6*e,0):e}function c(){return Date.now()}function l(){return performance.now()}function d(){return{relative:l(),timeStamp:c()}}function f(){return{relative:0,timeStamp:v()}}function p(e,t){return t-e}function h(e){return e-v()}function m(e){return e<i.P5}function v(){return void 0===r&&(r=performance.timing.navigationStart),r}},54343:function(e,t,n){"use strict";n.d(t,{D5:function(){return o},P$:function(){return s},jv:function(){return a},ye:function(){return u}});var r,i=n(64828);function o(e){return c(e,(0,i.Dp)()).href}function a(e){try{return!!c(e)}catch(e){return!1}}function s(e){return(0,i.j1)(c(e))}function u(e){var t=c(e).pathname;return"/"===t[0]?t:"/"+t}function c(e,t){if(function(){if(void 0!==r)return r;try{var e=new URL("http://test/path");return r="http://test/path"===e.href}catch(e){r=!1}return r}())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,i=n.createElement("a");if(void 0!==t){var o=(n=document.implementation.createHTMLDocument("")).createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}},64828:function(e,t,n){"use strict";n.d(t,{$e:function(){return F},DO:function(){return p},Dp:function(){return A},E5:function(){return S},I8:function(){return B},MY:function(){return L},NM:function(){return m},Oo:function(){return M},P2:function(){return d},P5:function(){return c},Q8:function(){return N},Qr:function(){return C},Rf:function(){return O},TT:function(){return x},Tm:function(){return D},Tn:function(){return l},WT:function(){return a},ZT:function(){return v},_g:function(){return r},_z:function(){return I},dF:function(){return w},dV:function(){return u},f0:function(){return f},hj:function(){return k},j1:function(){return P},lh:function(){return g},oL:function(){return j},q9:function(){return b},qP:function(){return T},sE:function(){return _},xd:function(){return i},y7:function(){return h},yR:function(){return s},yw:function(){return R},zz:function(){return E}});var r,i,o=n(49015),a=1e3,s=60*a,u=60*s,c=365*(24*u),l=1024;function d(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 f(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])}))}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 h(e){return 0!==e&&100*Math.random()<=e}function m(e,t){return+e.toFixed(t)}function v(){}function g(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];y(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&y(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 y(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function b(e,t){return-1!==e.indexOf(t)}function _(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function w(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(t(r,n,e))return r}}function E(e){return k(e)&&e>=0&&e<=100}function k(e){return"number"==typeof e}function x(e){return Object.keys(e).map((function(t){return e[t]}))}function S(e,t){return Object.keys(e).some((function(n){return e[n]===t}))}function T(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function C(e){return 0===Object.keys(e).length}function N(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}function O(){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 A(){return P(window.location)}function P(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}function L(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}function I(e,t){var n=e.charCodeAt(t-1);return n>=55296&&n<=56319?e.slice(0,t+1):e.slice(0,t)}function M(e,t,n,r){return R(e,[t],n,r)}function R(e,t,n,r){var i=void 0===r?{}:r,a=i.once,s=i.capture,u=i.passive,c=(0,o.zk)(a?function(e){d(),n(e)}:n),l=u?{capture:s,passive:u}:s;t.forEach((function(t){return e.addEventListener(t,c,l)}));var d=function(){return t.forEach((function(t){return e.removeEventListener(t,c,l)}))};return{stop:d}}function D(e,t){document.readyState===e||"complete"===document.readyState?t():M(window,"complete"===e?"load":"DOMContentLoaded",t,{once:!0})}function j(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function Z(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]=Z(i[o],t[o],n);return i}var a="object"===j(e)?e:{};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=Z(a[s],t[s],n));return a}}function B(e){return Z(void 0,e)}function F(){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=Z(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"}(r||(r={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(i||(i={}))},53789:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var r=n(70655),i=n(13842),o=n(64828),a=n(49015),s=/[^\u0000-\u007F]/,u=function(){function e(e,t,n,r,i,a){void 0===a&&(a=o.ZT),this.request=e,this.maxSize=t,this.bytesLimit=n,this.maxMessageSize=r,this.flushTimeout=i,this.beforeUnloadCallback=a,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,r.__spreadArrays)(this.pushOnlyBuffer,(0,o.TT)(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 s.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,o=n.messageBytesSize;o>=this.maxMessageSize?i.j.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB."):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(o)&&this.flush("willReachedBytesLimitWith"),this.push(r,o,t),this.isFull()&&this.flush("isFull"))},e.prototype.process=function(e){var t=(0,o.lh)(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((0,a.zk)((function(){e.flush("flushPeriodically"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&((0,o.Oo)(window,"beforeunload",this.beforeUnloadCallback),(0,o.Oo)(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")})),(0,o.Oo)(window,"beforeunload",(function(){return e.flush("beforeunload")})))},e}()},76876:function(e,t,n){"use strict";n.d(t,{A:function(){return i},x:function(){return o}});var r=n(64828);function i(){var e=(0,r.Rf)().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function o(){var e=i();return!!e&&(0,r.q9)(e.getAllowedWebViewHosts(),window.location.hostname)}},62097:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(49015),i=!1,o=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var o=this.endpointBuilder.build(),s=!!navigator.sendBeacon&&t<this.bytesLimit;if(s)try{if(navigator.sendBeacon(o,e))return}catch(e){!function(e){a||(a=!0,(0,r.ot)(e))}(e)}var u=new XMLHttpRequest;u.addEventListener("loadend",(0,r.zk)((function(e){return function(e){var a=null==e?void 0:e.currentTarget;a.status>=200&&a.status<300||i||(i=!0,(0,r.tV)("XHR fallback failed",{on_line:navigator.onLine,size:t,url:o,try_beacon:s,flush_reason:n,event:{is_trusted:e.isTrusted,total:e.total,loaded:e.loaded},request:{status:a.status,ready_state:a.readyState,response_text:a.responseText.slice(0,512)}}))}(e)}))),u.open("POST",o,!0),u.send(e)},e}(),a=!1},19201:function(e,t,n){"use strict";n.d(t,{P:function(){return p}});var r=n(23896),i=n(97796),o=n(20598),a=n(5549),s=n(7451),u=n(24670),c=n(94090),l=n(22941),d=n(46319),f=n(90259);function p(e){var t=!1,n=(0,r.W)(),p={},h=new i.S,m=function(e,t,n,r){void 0===n&&(n=(0,o.I8)(y())),void 0===r&&(r=(0,a.n$)()),h.add((function(){return m(e,t,n,r)}))},v=function(){},g=new f.Yd((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return m.apply(void 0,e)}));function y(){return{view:{referrer:document.referrer,url:window.location.href},context:n.get()}}return(0,s.r)({logger:g,init:(0,u.zk)((function(n){if((0,c.x)()&&(n=function(e){return(0,o.f0)({},e,{clientToken:"empty"})}(n)),function(e){if(t)return e.silentMultipleInit||l.j.error("DD_LOGS is already initialized."),!1;return!0}(n)){var r=(0,d.uc)(n);r&&(m=e(r,y,g).handleLog,v=function(){return(0,o.I8)(n)},h.drain(),t=!0)}})),getLoggerGlobalContext:(0,u.zk)(n.get),setLoggerGlobalContext:(0,u.zk)(n.set),addLoggerGlobalContext:(0,u.zk)(n.add),removeLoggerGlobalContext:(0,u.zk)(n.remove),createLogger:(0,u.zk)((function(e,t){return void 0===t&&(t={}),p[e]=new f.Yd((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return m.apply(void 0,e)}),e,t.handler,t.level,t.context),p[e]})),getLogger:(0,u.zk)((function(e){return p[e]})),getInitConfiguration:(0,u.zk)((function(){return v()}))})}},59004:function(e,t,n){"use strict";n.d(t,{z:function(){return g}});var r=n(30527),i=n(94090),o=n(95928),a=n(77377),s=n(55203),u=n(43008),c=n(36080),l=n(30241),d=n(7710),f=n(60314),p=n(71616),h=n(75379),m=n(42508),v=n(42862);function g(e,t,n){var g=new p.j,y=function(e){var t,n=(0,o.VL)(e);if((0,i.x)()){var r=(0,i.A)();n.observable.subscribe((function(e){return r.send("internal_telemetry",e)}))}else{var s=(0,a.W)(e,e.rumEndpointBuilder,null===(t=e.replica)||void 0===t?void 0:t.rumEndpointBuilder);n.observable.subscribe((function(t){return s.add(t,(0,o.VG)(e))}))}return n}(e);y.setContextProvider((function(){var e,t,n,r,i,o;return{application:{id:null===(e=(0,u.l)())||void 0===e?void 0:e.application_id},session:{id:null===(t=_.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(r=null===(n=(0,u.l)())||void 0===n?void 0:n.view)||void 0===r?void 0:r.id},action:{id:null===(o=null===(i=(0,u.l)())||void 0===i?void 0:i.user_action)||void 0===o?void 0:o.id}}})),(0,d.t8)(e,g),(0,f.o)(e,g),(0,c.J)(e,g),(0,l.R)(e,g);var b=(0,h.RY)(g).handleLog,_=(0,r.oX)(e.cookieOptions)&&!(0,i.x)()?(0,s.a3)(e):(0,s.yZ)(e);return(0,u.u)(_,e,g,t,n),(0,i.x)()?(0,v.o)(g):(0,m.T)(e,g),{handleLog:b}}},43008:function(e,t,n){"use strict";n.d(t,{l:function(){return d},u:function(){return l}});var r=n(88828),i=n(5549),o=n(20598),a=n(16402),s=n(90259),u=n(75379),c=n(85566);function l(e,t,n,l,f){var p=s.n$.concat(["custom"]),h={};p.forEach((function(e){h[e]=(0,r.K)(e,t.eventRateLimiterThreshold,(function(e){return(0,c.i)(e,n)}))})),n.subscribe(0,(function(r){var c,p,m,v=r.rawLogsEvent,g=r.messageContext,y=void 0===g?void 0:g,b=r.savedCommonContext,_=void 0===b?void 0:b,w=r.logger,E=void 0===w?f:w,k=(0,i.ni)(v.date),x=e.findTrackedSession(k);if(x){var S=_||l(),T=(0,o.$e)({service:t.service,session_id:x.id,view:S.view},S.context,d(k),v,E.getContext(),y);!(0,u.QO)(v.status,s.W7.http,E)||!1===(null===(c=t.beforeSend)||void 0===c?void 0:c.call(t,T))||(null===(p=T.error)||void 0===p?void 0:p.origin)!==a.zH.AGENT&&(null!==(m=h[T.status])&&void 0!==m?m:h.custom).isLimitReached()||n.notify(1,T)}}))}function d(e){var t=window.DD_RUM;return t&&t.getInternalContext?t.getInternalContext(e):void 0}},46319:function(e,t,n){"use strict";n.d(t,{uc:function(){return u}});var r=n(20598),i=n(92849),o=n(22941),a=n(10369),s=32*r.Tn;function u(e){var t=(0,i.fP)(e),n=c(e.forwardConsoleLogs,(0,r.TT)(o.v),"Forward Console Logs"),u=c(e.forwardReports,(0,r.TT)(a._),"Forward Reports");if(t&&n&&u)return e.forwardErrorsToLogs&&!(0,r.q9)(n,o.v.error)&&n.push(o.v.error),(0,r.f0)({forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:n,forwardReports:u,requestErrorResponseLengthLimit:s},t)}function c(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every((function(e){return(0,r.q9)(t,e)}))?"all"===e?t:(0,r.R1)(e):void o.j.error("".concat(n,' should be "all" or an array with allowed values "').concat(t.join('", "'),'"'))}},71616:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=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}()},90259:function(e,t,n){"use strict";n.d(t,{W7:function(){return c},Yd:function(){return d},i8:function(){return u},n$:function(){return l}});var r=n(23896),i=n(20598),o=n(16402),a=n(24670),s=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},u={debug:"debug",error:"error",info:"info",warn:"warn"},c={console:"console",http:"http",silent:"silent"},l=Object.keys(u),d=function(){function e(e,t,n,o,a){void 0===n&&(n=c.http),void 0===o&&(o=u.debug),void 0===a&&(a={}),this.handleLogStrategy=e,this.handlerType=n,this.level=o,this.contextManager=(0,r.W)(),this.contextManager.set((0,i.f0)({},a,t?{logger:{name:t}}:void 0))}return e.prototype.log=function(e,t,n){void 0===n&&(n=u.info),this.handleLogStrategy({message:e,context:(0,i.I8)(t),status:n},this)},e.prototype.debug=function(e,t){this.log(e,t,u.debug)},e.prototype.info=function(e,t){this.log(e,t,u.info)},e.prototype.warn=function(e,t){this.log(e,t,u.warn)},e.prototype.error=function(e,t){var n={error:{origin:o.zH.LOGGER}};this.log(e,(0,i.$e)(n,t),u.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},s([a.Th],e.prototype,"log",null),e}()},36080:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r,i=n(22941),o=n(74460),a=n(5549),s=n(16402),u=n(90259),c=((r={})[i.v.log]=u.i8.info,r[i.v.debug]=u.i8.debug,r[i.v.info]=u.i8.info,r[i.v.warn]=u.i8.warn,r[i.v.error]=u.i8.error,r);function l(e,t){var n=(0,o.a)(e.forwardConsoleLogs).subscribe((function(e){t.notify(0,{rawLogsEvent:{date:(0,a.n$)(),message:e.message,origin:s.zH.CONSOLE,error:e.api===i.v.error?{origin:s.zH.CONSOLE,stack:e.stack}:void 0,status:c[e.api]}})}));return{stop:function(){n.unsubscribe()}}}},75379:function(e,t,n){"use strict";n.d(t,{QO:function(){return d},RY:function(){return l}});var r,i=n(22941),o=n(20598),a=n(5549),s=n(16402),u=n(90259),c=((r={})[u.i8.debug]=0,r[u.i8.info]=1,r[u.i8.warn]=2,r[u.i8.error]=3,r);function l(e){return{handleLog:function(t,n,r,c){var l=t.context;d(t.status,u.W7.console,n)&&(0,i.j)(t.status,t.message,(0,o.$e)(n.getContext(),l)),e.notify(0,{rawLogsEvent:{date:c||(0,a.n$)(),message:t.message,status:t.status,origin:s.zH.LOGGER},messageContext:l,savedCommonContext:r,logger:n})}}}function d(e,t,n){var r=n.getHandler(),i=Array.isArray(r)?r:[r];return c[e]>=c[n.getLevel()]&&(0,o.q9)(i,t)}},7710:function(e,t,n){"use strict";n.d(t,{t8:function(){return l}});var r=n(9692),i=n(23756),o=n(16402),a=n(36721),s=n(24670),u=n(20598),c=n(90259);function l(e,t){var n=(0,r.S)().subscribe((function(e){"complete"===e.state&&p("xhr",e)})),l=(0,i.y)().subscribe((function(e){"complete"===e.state&&p("fetch",e)}));function p(n,r){function i(e){t.notify(0,{rawLogsEvent:{message:"".concat(f(n)," error ").concat(r.method," ").concat(r.url),date:r.startClocks.timeStamp,error:{origin:o.zH.NETWORK,stack:e||"Failed to load"},http:{method:r.method,status_code:r.status,url:r.url},status:c.i8.error,origin:o.zH.NETWORK}})}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(d(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((0,s.zk)((function(e){e.done?c():(i.push(e.value),(o+=e.value.length)>t?c():a())})),(0,s.zk)((function(e){return n(e)})))}function c(){var e;if(r.cancel().catch(u.ZT),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((0,s.zk)((function(e){return n(d(e,t))})),(0,s.zk)((function(e){return n("Unable to retrieve response: ".concat(e))})))}(r.response,e,i):r.error&&function(e,t,n){n(d((0,o.P3)((0,a._)(e)),t))}(r.error,e,i))}return{stop:function(){n.unsubscribe(),l.unsubscribe()}}}function d(e,t){return e.length>t.requestErrorResponseLengthLimit?"".concat(e.substring(0,t.requestErrorResponseLengthLimit),"..."):e}function f(e){return"xhr"===e?"XHR":"Fetch"}},30241:function(e,t,n){"use strict";n.d(t,{R:function(){return c}});var r,i=n(10369),o=n(16402),a=n(5549),s=n(90259),u=((r={})[i._.cspViolation]=s.i8.error,r[i._.intervention]=s.i8.error,r[i._.deprecation]=s.i8.warn,r);function c(e,t){var n=(0,i.v)(e.forwardReports).subscribe((function(e){var n,r=e.message,i=u[e.type];i===s.i8.error?n={kind:e.subtype,origin:o.zH.REPORT,stack:e.stack}:e.stack&&(r+=" Found in ".concat((0,o.u5)(e.stack))),t.notify(0,{rawLogsEvent:{date:(0,a.n$)(),message:r,origin:o.zH.REPORT,error:n,status:i}})}));return{stop:function(){n.unsubscribe()}}}},60314:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r=n(96618),i=n(31877),o=n(16402),a=n(90259);function s(e,t,n){void 0===n&&(n=new r.y),e.forwardErrorsToLogs&&(0,i.L)(n);var s=n.subscribe((function(e){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{kind:e.type,origin:o.zH.SOURCE,stack:e.stack},origin:o.zH.SOURCE,status:a.i8.error}})}));return{stop:function(){s.unsubscribe()}}}},55203:function(e,t,n){"use strict";n.d(t,{a3:function(){return o},yZ:function(){return a}});var r=n(33045),i=n(20598);function o(e){var t=(0,r.HX)(e.cookieOptions,"logs",(function(t){return function(e,t){var n=function(e){return"0"===e||"1"===e}(t)?t:s(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 a(e){var t="1"===s(e)?{}:void 0;return{findTrackedSession:function(){return t}}}function s(e){return(0,i.y7)(e.sampleRate)?"1":"0"}},85566:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(16402),i=n(90259);function o(e,t){t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:{origin:r.zH.AGENT},origin:r.zH.AGENT,status:i.i8.error}})}},1908:function(e,t,n){"use strict";n.d(t,{fy:function(){return s}});var r=n(7451),i=n(20598),o=n(19201),a=n(59004),s=(n(90259),(0,o.P)(a.z));(0,r.y)((0,i.Rf)(),"DD_LOGS",s)},42508:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(77377);function i(e,t){var n,i=(0,r.W)(e,e.logsEndpointBuilder,null===(n=e.replica)||void 0===n?void 0:n.logsEndpointBuilder);t.subscribe(1,(function(e){i.add(e)}))}},42862:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var r=n(94090);function i(e){var t=(0,r.A)();e.subscribe(1,(function(e){t.send("log",e)}))}},7451:function(e,t,n){"use strict";n.d(t,{r:function(){return a},y:function(){return s}});var r=n(62342),i=n(24670),o=n(20598);function a(e){var t=(0,o.f0)({version:"4.11.4",onReady:function(e){e()}},e);return Object.defineProperty(t,"_setDebug",{get:function(){return i.yD},enumerable:!1}),t}function s(e,t,n){var i=e[t];e[t]=n,i&&i.q&&i.q.forEach((function(e){return(0,r.Z)(e,"onReady callback threw an error:")()}))}},30527:function(e,t,n){"use strict";n.d(t,{MI:function(){return a},WQ:function(){return d},d8:function(){return s},ej:function(){return u},oX:function(){return l}});var r,i=n(22941),o=n(20598),a=o.WT;function s(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 u(e){return(0,o.MY)(document.cookie,e)}function c(e,t){s(e,"",0,t)}function l(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat((0,o.DO)()),n="test";s(t,n,o.WT,e);var r=u(t)===n;return c(t,e),r}catch(e){return i.j.error(e),!1}}function d(){if(void 0===r){for(var e="dd_site_test_".concat((0,o.DO)()),t=window.location.hostname.split("."),n=t.pop();t.length&&!u(e);)n="".concat(t.pop(),".").concat(n),s(e,"test",o.WT,{domain:n});c(e,{domain:n}),r=n}return r}},23756:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r,i=n(34474),o=n(24670),a=n(96618),s=n(5549),u=n(35949);function c(){var e;return r||(e=new a.y((function(){if(window.fetch)return(0,i.Su)(window,"fetch",(function(t){return function(n,r){var i,a=(0,o.L6)(l,null,[e,n,r]);return a?(i=t.call(this,a.input,a.init),(0,o.L6)(d,null,[e,i,a])):i=t.call(this,n,r),i}})).stop})),r=e),r}function l(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=(0,u.D5)("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:(0,s.$I)(),url:i};return e.notify(o),o}function d(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=(0,s._J)(r.startClocks.timeStamp,(0,s.n$)()),"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((0,o.zk)(r),(0,o.zk)(r))}},9692:function(e,t,n){"use strict";n.d(t,{S:function(){return d}});var r,i=n(34474),o=n(24670),a=n(96618),s=n(5549),u=n(35949),c=n(20598),l=new WeakMap;function d(){var e;return r||(e=new a.y((function(){var t=(0,i.Lm)(XMLHttpRequest.prototype,"open",{before:f}).stop,n=(0,i.Lm)(XMLHttpRequest.prototype,"send",{before:function(){p.call(this,e)}}).stop,r=(0,i.Lm)(XMLHttpRequest.prototype,"abort",{before:h}).stop;return function(){t(),n(),r()}})),r=e),r}function f(e,t){l.set(this,{state:"open",method:e,url:(0,u.D5)(t.toString())})}function p(e){var t=this,n=l.get(this);if(n){var r=n;r.state="start",r.startTime=(0,s._q)(),r.startClocks=(0,s.$I)(),r.isAborted=!1,r.xhr=this;var a=!1,u=(0,i.Lm)(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&d()}}).stop,d=(0,o.zk)((function(){if(t.removeEventListener("loadend",d),u(),!a){a=!0;var i=n;i.state="complete",i.duration=(0,s._J)(r.startClocks.timeStamp,(0,s.n$)()),i.status=t.status,e.notify((0,c.mv)(i))}}));this.addEventListener("loadend",d),e.notify(r)}}function h(){var e=l.get(this);e&&(e.isAborted=!0)}},92849:function(e,t,n){"use strict";n.d(t,{fP:function(){return c}});var r=n(30527),i=n(62342),o=n(22941),a=n(20598),s=n(17976),u=n(90419);function c(e){var t,n;if(e&&e.clientToken)if(void 0===e.sampleRate||(0,a.zz)(e.sampleRate)){if(void 0===e.telemetrySampleRate||(0,a.zz)(e.telemetrySampleRate))return(0,s.V$)(e.enableExperimentalFeatures),(0,a.f0)({beforeSend:e.beforeSend&&(0,i.Z)(e.beforeSend,"beforeSend threw an error:"),cookieOptions:l(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:(0,s.W_)("lower-batch-size")?10*a.Tn:16*a.Tn,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*a.WT,batchMessagesLimit:50,messageBytesLimit:256*a.Tn},(0,u.h)(e));o.j.error("Telemetry Sample Rate should be a number between 0 and 100")}else o.j.error("Sample Rate should be a number between 0 and 100");else o.j.error("Client Token is not configured, we will not send any data.")}function l(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=(0,r.WQ)()),t}},83649:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(5549),i=n(35949),o=n(20598),a=n(48780),s={logs:"logs",rum:"rum",sessionReplay:"session-replay"},u={logs:"logs",rum:"rum",sessionReplay:"replay"};function c(e,t,n){var c=e.site,l=void 0===c?a.D_:c,d=e.clientToken,f=l.split("."),p=f.pop(),h="".concat(s[t],".browser-intake-").concat(f.join("-"),".").concat(p),m="https://".concat(h,"/api/v2/").concat(u[t]),v=e.proxyUrl&&(0,i.D5)(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(d)+"&dd-evp-origin-version=".concat(encodeURIComponent("4.11.4"))+"&dd-evp-origin=browser"+"&dd-request-id=".concat((0,o.DO)());"rum"===t&&(e+="&batch_time=".concat((0,r.n$)()));var i="".concat(m,"?").concat(e);return v?"".concat(v,"?ddforward=").concat(encodeURIComponent(i)):i},buildIntakeUrl:function(){return v?"".concat(v,"?ddforward"):m},endpointType:t}}},17976:function(e,t,n){"use strict";var r;function i(e){Array.isArray(e)&&(r||(r=new Set(e)),e.filter((function(e){return"string"==typeof e})).forEach((function(e){r.add(e)})))}function o(e){return!!r&&r.has(e)}n.d(t,{V$:function(){return i},W_:function(){return o}})},48780:function(e,t,n){"use strict";n.d(t,{DZ:function(){return r},D_:function(){return i},y7:function(){return o}});var r="datad0g.com",i="datadoghq.com",o="ddog-gov.com"},20837:function(e,t,n){"use strict";n.d(t,{MS:function(){return i}});var r=n(22941);function i(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(a("env",t)),n&&o.push(a("service",n)),r&&o.push(a("version",r)),i&&o.push(a("datacenter",i)),o}var o=/[^a-z0-9_:./-]/;function a(e,t){var n=200-e.length-1;(t.length>n||o.test(t))&&r.j.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var i=t.replace(/,/g,"_");return"".concat(e,":").concat(i)}},90419:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(20598),i=n(83649),o=n(20837),a=n(48780);function s(e){var t=(0,o.MS)(e),n=function(e,t){return{logsEndpointBuilder:(0,i.E)(e,"logs",t),rumEndpointBuilder:(0,i.E)(e,"rum",t),sessionReplayEndpointBuilder:(0,i.E)(e,"sessionReplay",t)}}(e,t),s=(0,r.TT)(n).map((function(e){return e.buildIntakeUrl()})),u=function(e,t,n){if(!e.replica)return;var o=(0,r.f0)({},e,{site:a.D_,clientToken:e.replica.clientToken}),s={logsEndpointBuilder:(0,i.E)(o,"logs",n),rumEndpointBuilder:(0,i.E)(o,"rum",n)};return t.push.apply(t,(0,r.TT)(s).map((function(e){return e.buildIntakeUrl()}))),(0,r.f0)({applicationId:e.replica.applicationId},s)}(e,s,t);return(0,r.f0)({isIntakeUrl:function(e){return s.some((function(t){return 0===e.indexOf(t)}))},replica:u,site:e.site||a.D_},n)}},74460:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var r=n(36721),i=n(16402),o=n(96618),a=n(20598),s=n(22941),u=n(24670),c={};function l(e){var t=e.map((function(e){return c[e]||(c[e]=function(e){var t=new o.y((function(){var n=console[e];return console[e]=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n.apply(console,r);var a=(0,i.Xp)();(0,u.L6)((function(){t.notify(d(r,e,a))}))},function(){console[e]=n}}));return t}(e)),c[e]}));return o.$.apply(void 0,t)}function d(e,t,n){var o,u=e.map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return(0,i.jN)((0,r._)(e));return(0,a.lh)(e,void 0,2)}(e)})).join(" ");if(t===s.v.error){var c=(0,a.sE)(e,(function(e){return e instanceof Error}));o=c?(0,i.P3)((0,r._)(c)):void 0,u="console error: ".concat(u)}return{api:t,message:u,stack:o,handlingStack:n}}},31877:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(16402),i=n(5549),o=n(56633);function a(e){return(0,o.h)((function(t,n){var o=(0,r.wl)(t,n,"Uncaught"),a=o.stack,s=o.message,u=o.type;e.notify({message:s,stack:a,type:u,source:r.zH.SOURCE,startClocks:(0,i.$I)(),originalError:n,handling:"unhandled"})}))}},10369:function(e,t,n){"use strict";n.d(t,{_:function(){return s},v:function(){return u}});var r=n(16402),i=n(24670),o=n(96618),a=n(20598),s={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function u(e){var t,n=[];(0,a.q9)(e,s.cspViolation)&&n.push(t=new o.y((function(){var e=(0,i.zk)((function(e){t.notify(function(e){var t=s.cspViolation,n="'".concat(e.blockedURI,"' blocked by '").concat(e.effectiveDirective,"' directive");return{type:s.cspViolation,subtype:e.effectiveDirective,message:"".concat(t,": ").concat(n),stack:c(e.effectiveDirective,"".concat(n,' of the policy "').concat((0,a._z)(e.originalPolicy,100,"..."),'"'),e.sourceFile,e.lineNumber,e.columnNumber)}}(e))}));return(0,a.Oo)(document,"securitypolicyviolation",e).stop})));var r=e.filter((function(e){return e!==s.cspViolation}));return r.length&&n.push(function(e){var t=new o.y((function(){if(window.ReportingObserver){var n=(0,i.zk)((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:c(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)),o.$.apply(void 0,n)}function c(e,t,n,i,o){return n&&(0,r.P3)({name:e,message:t,stack:[{func:"?",url:n,line:i,column:o}]})}},60009:function(e,t,n){"use strict";n.d(t,{TK:function(){return o}});var r=n(30527),i=n(64114);function o(e){var t=(0,r.ej)(i.sV),n=(0,r.ej)("_dd"),o=(0,r.ej)("_dd_r"),a=(0,r.ej)("_dd_l");if(!t){var s={};n&&(s.id=n),a&&/^[01]$/.test(a)&&(s.logs=a),o&&/^[012]$/.test(o)&&(s.rum=o),(0,i.En)(s,e)}}},8501:function(e,t,n){"use strict";n.d(t,{T:function(){return i},s:function(){return o}});var r=n(20598),i=4*r.dV,o=15*r.yR},64114:function(e,t,n){"use strict";n.d(t,{En:function(){return g},jx:function(){return p},sV:function(){return d},w3:function(){return b}});var r,i=n(30527),o=n(7445),a=n(24670),s=n(20598),u=n(8501),c=/^([a-z]+)=([a-z0-9-]+)$/,l="&",d="_dd_s",f=[];function p(e,t){var n;if(void 0===t&&(t=0),r||(r=e),e===r)if(t>=100)v();else{var i,o=b();if(h()){if(o.lock)return void m(e,t);if(i=s.DO(),o.lock=i,y(o,e.options),(o=b()).lock!==i)return void m(e,t)}var a=e.process(o);if(h()&&(o=b()).lock!==i)m(e,t);else{if(a&&g(a,e.options),h()&&(!a||!_(a))){if((o=b()).lock!==i)return void m(e,t);delete o.lock,y(o,e.options),a=o}null===(n=e.after)||void 0===n||n.call(e,a||o),v()}}else f.push(e)}function h(){return(0,o.m)()}function m(e,t){setTimeout((0,a.zk)((function(){p(e,t+1)})),10)}function v(){r=void 0;var e=f.shift();e&&p(e)}function g(e,t){_(e)?function(e){(0,i.d8)(d,"",0,e)}(t):(e.expire=String(Date.now()+u.s),y(e,t))}function y(e,t){(0,i.d8)(d,function(e){return s.qP(e).map((function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)})).join(l)}(e),u.s,t)}function b(){var e=(0,i.ej)(d),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(l)||c.test(e))}(e)&&e.split(l).forEach((function(e){var n=c.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function _(e){return s.Qr(e)}},33045:function(e,t,n){"use strict";n.d(t,{HX:function(){return p}});var r=n(20598),i=n(58312),o=n(5549),a=n(24670),s=n(60009),u=n(34664),c=n(8501),l=r.yR,d=c.T,f=[];function p(e,t,n){(0,s.TK)(e);var c=(0,u.v)(e,t,n);f.push((function(){return c.stop()}));var p,h,m=new i.W(d);function v(){return{id:c.getSession().id,trackingType:c.getSession()[t]}}return f.push((function(){return m.stop()})),c.renewObservable.subscribe((function(){m.add(v(),(0,o._q)())})),c.expireObservable.subscribe((function(){m.closeActive((0,o._q)())})),c.expandOrRenewSession(),m.add(v(),(0,o.cQ)().relative),p=function(){return c.expandOrRenewSession()},h=r.yw(window,["click","touchstart","keydown","scroll"],p,{capture:!0,passive:!0}).stop,f.push(h),function(e){var t=(0,a.zk)((function(){"visible"===document.visibilityState&&e()})),n=r.Oo(document,"visibilitychange",t).stop;f.push(n);var i=setInterval(t,l);f.push((function(){clearInterval(i)}))}((function(){return c.expandSession()})),{findActiveSession:function(e){return m.find(e)},renewObservable:c.renewObservable,expireObservable:c.expireObservable}}},34664:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var r=n(30527),i=n(24670),o=n(96618),a=n(20598),s=n(8501),u=n(64114);function c(e,t,n){var c=new o.y,l=new o.y,d=setInterval((0,i.zk)((function(){(0,u.jx)({options:e,process:function(e){return m(e)?void 0:{}},after:p})})),r.MI),f=function(){var e=(0,u.w3)();if(m(e))return e;return{}}();function p(e){return m(e)||(e={}),h()&&(!function(e){return f.id!==e.id||f[t]!==e[t]}(e)?f=e:(f={},l.notify())),e}function h(){return void 0!==f[t]}function m(e){return(void 0===e.created||Date.now()-Number(e.created)<s.T)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:a.P2((0,i.zk)((function(){var r;(0,u.jx)({options:e,process:function(e){var i=p(e);return r=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=a.DO(),e.created=String(Date.now()));return o}(i),i},after:function(e){r&&!h()&&function(e){f=e,c.notify()}(e),f=e}})})),r.MI).throttled,expandSession:function(){(0,u.jx)({options:e,process:function(e){return h()?p(e):void 0}})},getSession:function(){return f},renewObservable:c,expireObservable:l,stop:function(){clearInterval(d)}}}},95928:function(e,t,n){"use strict";n.d(t,{Sz:function(){return y},VG:function(){return v},VL:function(){return m},eJ:function(){return g}});var r,i=n(22941),o=n(16402),a=n(20598),s=n(48780),u=n(36721),c=n(96618),l=n(5549),d=n(24670),f=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],p=[s.y7],h={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1};function m(e){var t,n=new c.y;return h.telemetryEnabled=(0,a.y7)(e.telemetrySampleRate),r=function(r){!(0,a.q9)(p,e.site)&&h.telemetryEnabled&&n.notify(function(e){return(0,a.$e)({type:"telemetry",date:(0,l.n$)(),service:"browser-sdk",version:"4.11.4",source:"browser",_dd:{format_version:2},telemetry:e},void 0!==t?t():{})}(r))},(0,d.P_)(y),(0,a.f0)(h,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){t=e},observable:n}}function v(e){return e.site===s.DZ}function g(e,t){(0,d.DV)(i.v.debug,e,t),b((0,a.f0)({message:e,status:"debug"},t))}function y(e){b((0,a.f0)({status:"error"},function(e){if(e instanceof Error){var t=(0,u._)(e);return{error:{kind:t.name,stack:(0,o.P3)(_(t))},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught ".concat((0,a.lh)(e))}}(e)))}function b(e){r&&h.sentEventCount<h.maxEventsPerPage&&(h.sentEventCount+=1,r(e))}function _(e){return e.stack=e.stack.filter((function(e){return!e.url||f.some((function(t){return(0,a.Ny)(e.url,t)}))})),e}},36721:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r="?";function i(e){var t=[],n=l(e,"stack");return n&&n.split("\n").forEach((function(e){var n=function(e){var t=o.exec(e);if(!t)return;var n=t[2]&&0===t[2].indexOf("native"),i=t[2]&&0===t[2].indexOf("eval"),s=a.exec(t[2]);i&&s&&(t[2]=s[1],t[3]=s[2],t[4]=s[3]);return{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||r,line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){var t=s.exec(e);if(!t)return;return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||r,line:+t[3],url:t[2]}}(e)||function(e){var t=u.exec(e);if(!t)return;var n=t[3]&&t[3].indexOf(" > eval")>-1,i=c.exec(t[3]);n&&i&&(t[3]=i[1],t[4]=i[2],t[5]=void 0);return{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||r,line:t[4]?+t[4]:void 0,url:t[3]}}(e);n&&(!n.func&&n.line&&(n.func=r),t.push(n))})),{message:l(e,"message"),name:l(e,"name"),stack:t}}var o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/\((\S*)(?::(\d+))(?::(\d+))\)/;var s=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;var u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function l(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}},56633:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(34474),i=n(36721),o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function a(e){var t=function(e){return(0,r.Lm)(window,"onerror",{before:function(t,n,r,a,s){var u;if(s)u=(0,i._)(s),e(u,s);else{var c,l={url:n,column:a,line:r},d=t;if("[object String]"==={}.toString.call(t)){var f=o.exec(d);f&&(c=f[1],d=f[2])}e(u={name:c,message:"string"==typeof d?d:void 0,stack:[l]},t)}}})}(e).stop,n=function(e){return(0,r.Lm)(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=(0,i._)(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}},97796:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var r=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}()},7445:function(e,t,n){"use strict";function r(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}n.d(t,{m:function(){return r}})},62342:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(22941);function i(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];try{return e.apply(void 0,n)}catch(e){r.j.error(t,e)}}}},58312:function(e,t,n){"use strict";n.d(t,{W:function(){return s}});var r=n(5549),i=n(20598),o=1/0,a=i.yR,s=function(){function e(e){var t=this;this.expireDelay=e,this.entries=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),a)}return e.prototype.add=function(e,t){var n=this,r={context:e,startTime:t,endTime:o,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=o);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===o&&t.close(e)},e.prototype.findAll=function(e){return void 0===e&&(e=o),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=(0,r._q)()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<e;)this.entries.pop()},e}()},23896:function(e,t,n){"use strict";function r(){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}}}n.d(t,{W:function(){return r}})},88828:function(e,t,n){"use strict";n.d(t,{K:function(){return a}});var r=n(16402),i=n(5549),o=n(20598);function a(e,t,n){var a=0,s=!1;return{isLimitReached:function(){if(0===a&&setTimeout((function(){a=0}),o.yR),(a+=1)<=t||s)return s=!1,!1;if(a===t+1){s=!0;try{n({message:"Reached max number of ".concat(e,"s by minute: ").concat(t),source:r.zH.AGENT,startClocks:(0,i.$I)()})}finally{s=!1}}return!0}}}},22941:function(e,t,n){"use strict";n.d(t,{j:function(){return i},v:function(){return r}});var r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(r,e)||(e=r.log),i[e].apply(i,t)};i.debug=console.debug.bind(console),i.log=console.log.bind(console),i.info=console.info.bind(console),i.warn=console.warn.bind(console),i.error=console.error.bind(console)},16402:function(e,t,n){"use strict";n.d(t,{P3:function(){return u},Xp:function(){return d},jN:function(){return l},u5:function(){return c},wl:function(){return s},zH:function(){return a}});var r=n(36721),i=n(24670),o=n(20598),a={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function s(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:u(e),handlingStack:r,type:e.name}:{message:"".concat(n," ").concat((0,o.lh)(t)),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function u(e){var t=l(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 c(e){var t;return null===(t=/@ (.+)/.exec(e))||void 0===t?void 0:t[1]}function l(e){return"".concat(e.name||"Error",": ").concat(e.message)}function d(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){(0,o.ZT)()}return(0,i.L6)((function(){var n=(0,r._)(t);n.stack=n.stack.slice(2),e=u(n)})),e}},34474:function(e,t,n){"use strict";n.d(t,{Lm:function(){return o},Su:function(){return i}});var r=n(24670);function i(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 o(e,t,n){var o=n.before,a=n.after;return i(e,t,(function(e){return function(){var t,n=arguments;return o&&(0,r.L6)(o,this,n),"function"==typeof e&&(t=e.apply(this,n)),a&&(0,r.L6)(a,this,n),t}}))}},24670:function(e,t,n){"use strict";n.d(t,{DV:function(){return f},L6:function(){return d},P_:function(){return s},Th:function(){return c},yD:function(){return u},zk:function(){return l}});var r,i=n(22941),o=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))},a=!1;function s(e){r=e}function u(e){a=e}function c(e,t,n){var i=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=r?l(i):i;return n.apply(this,e)}}function l(e){return function(){return d(e,this,arguments)}}function d(e,t,n){try{return e.apply(t,n)}catch(e){if(f(i.v.error,e),r)try{r(e)}catch(e){f(i.v.error,e)}}}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];a&&i.j.apply(void 0,o([e,"[MONITOR]"],t,!1))}},96618:function(e,t,n){"use strict";n.d(t,{$:function(){return i},y:function(){return r}});var r=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 i(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new r((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}},5549:function(e,t,n){"use strict";function r(){return Date.now()}function i(){return performance.now()}function o(){return{relative:i(),timeStamp:r()}}function a(){return{relative:0,timeStamp:l()}}function s(e,t){return t-e}function u(e){return e-l()}var c;function l(){return void 0===c&&(c=performance.timing.navigationStart),c}n.d(t,{$I:function(){return o},_J:function(){return s},_q:function(){return i},cQ:function(){return a},n$:function(){return r},ni:function(){return u}})},35949:function(e,t,n){"use strict";n.d(t,{D5:function(){return o}});var r,i=n(20598);function o(e){return a(e,(0,i.Dp)()).href}function a(e,t){if(function(){if(void 0!==r)return r;try{var e=new URL("http://test/path");return r="http://test/path"===e.href}catch(e){r=!1}return r}())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,i=n.createElement("a");if(void 0!==t){var o=(n=document.implementation.createHTMLDocument("")).createElement("base");o.href=t,n.head.appendChild(o),n.body.appendChild(i)}return i.href=e,i}},20598:function(e,t,n){"use strict";n.d(t,{$e:function(){return P},DO:function(){return d},Dp:function(){return x},I8:function(){return A},MY:function(){return S},Ny:function(){return E},Oo:function(){return C},P2:function(){return u},Qr:function(){return w},R1:function(){return L},Rf:function(){return k},TT:function(){return b},Tn:function(){return s},WT:function(){return i},ZT:function(){return p},_z:function(){return T},dV:function(){return a},f0:function(){return c},lh:function(){return h},mv:function(){return l},q9:function(){return v},qP:function(){return _},sE:function(){return g},y7:function(){return f},yR:function(){return o},yw:function(){return N},zz:function(){return y}});var r=n(24670),i=1e3,o=60*i,a=60*o,s=1024;function u(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 c(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 l(e){return c({},e)}function d(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,d)}function f(e){return 0!==e&&100*Math.random()<=e}function p(){}function h(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];m(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,a=[!1,void 0];"object"==typeof e&&m(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 m(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function v(e,t){return-1!==e.indexOf(t)}function g(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}function y(e){return function(e){return"number"==typeof e}(e)&&e>=0&&e<=100}function b(e){return Object.keys(e).map((function(t){return e[t]}))}function _(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}function w(e){return 0===Object.keys(e).length}function E(e,t){return e.slice(0,t.length)===t}function k(){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 x(){return function(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}(window.location)}function S(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")).exec(e);return n?n[1]:void 0}function T(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 C(e,t,n,r){return N(e,[t],n,r)}function N(e,t,n,i){var o=void 0===i?{}:i,a=o.once,s=o.capture,u=o.passive,c=(0,r.zk)(a?function(e){d(),n(e)}:n),l=u?{capture:s,passive:u}:s;t.forEach((function(t){return e.addEventListener(t,c,l)}));var d=function(){return t.forEach((function(t){return e.removeEventListener(t,c,l)}))};return{stop:d}}function O(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]=O(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]=O(s[u],t[u],n));return s}}function A(e){return O(void 0,e)}function P(){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=O(e,o))}return e}function L(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)}},21871:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(22941),i=n(20598),o=n(24670),a=/[^\u0000-\u007F]/,s=function(){function e(e,t,n,r,o,a){void 0===a&&(a=i.ZT),this.request=e,this.batchMessagesLimit=t,this.batchBytesLimit=n,this.messageBytesLimit=r,this.flushTimeout=o,this.beforeUnloadCallback=a,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((0,i.TT)(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 a.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),i=n.processedMessage,o=n.messageBytesCount;o>=this.messageBytesLimit?r.j.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(o)&&this.flush("batch_bytes_limit"),this.push(i,o,t),this.isFull()&&this.flush("batch_messages_limit"))},e.prototype.process=function(e){var t=(0,i.lh)(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((0,o.zk)((function(){e.flush("batch_flush_timeout"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&((0,i.Oo)(window,"beforeunload",this.beforeUnloadCallback),(0,i.Oo)(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibility_hidden")})),(0,i.Oo)(window,"beforeunload",(function(){return e.flush("before_unload")})))},e}()},94090:function(e,t,n){"use strict";n.d(t,{A:function(){return i},x:function(){return o}});var r=n(20598);function i(){var e=(0,r.Rf)().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function o(e){var t;void 0===e&&(e=null===(t=(0,r.Rf)().location)||void 0===t?void 0:t.hostname);var n=i();return!!n&&n.getAllowedWebViewHosts().some((function(t){var n=t.replace(/\./g,"\\.");return new RegExp("^(.+\\.)*".concat(n,"$")).test(e)}))}},19753:function(e,t,n){"use strict";n.d(t,{Ec:function(){return s}});var r=n(17976),i=n(95928),o=n(20598),a="datadog-browser-sdk-failed-send-beacon";function s(e,t,n){if((0,r.W_)("failed-sendbeacon")){var s={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(a,"-").concat((0,o.DO)()),JSON.stringify(s)):(0,i.eJ)("failed sendBeacon",s)}}},57932:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(95928),i=n(19753),o=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var o=this.endpointBuilder.build();if(!!navigator.sendBeacon&&t<this.bytesLimit)try{if(navigator.sendBeacon(o,e))return;(0,i.Ec)(this.endpointBuilder.endpointType,t,n)}catch(e){!function(e){a||(a=!0,(0,r.Sz)(e))}(e)}var s=new XMLHttpRequest;s.open("POST",o,!0),s.send(e)},e}(),a=!1},77377:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(21871),i=n(57932);function o(e,t,n){var o,a=s(t);function s(t){return new r.E(new i.a(t,e.batchBytesLimit),e.batchMessagesLimit,e.batchBytesLimit,e.messageBytesLimit,e.flushTimeout)}return n&&(o=s(n)),{add:function(e,t){void 0===t&&(t=!0),a.add(e),o&&t&&o.add(e)}}}},80103:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var r={buildMode:"release",sdkVersion:"4.5.0"}},64622:function(e,t,n){"use strict";n.d(t,{_:function(){return b}});var r=n(70655),i=n(26839),o=n(68783),a=n(82027),s=n(64828),u=n(76876),c=n(49015),l=n(8678),d=n(37697),f=n(13842),p=n(49647),h=n(7063),m=n(4193),v=n(48439),g=n(21806),y=n(80103);function b(e,t,n){var b=(void 0===n?{}:n).ignoreInitIfSyntheticsWillInjectRum,_=void 0===b||b,w=!1,E=(0,i.W)(),k={},x=function(){},S=function(){},T=new o.S,C=function(e,t){void 0===t&&(t=(0,a.n$)()),T.add((function(){return C(e,t)}))},N=function(e,t){void 0===t&&(t=(0,a.$I)()),T.add((function(){return N(e,t)}))},O=function(e,t){void 0===t&&(t=P()),T.add((function(){return O(e,t)}))},A=function(e,t){void 0===t&&(t=P()),T.add((function(){return A(e,t)}))};function P(){return(0,s.I8)({context:E.get(),user:k})}function L(n,r,i){var o=e(n,r,(function(){return{user:k,context:E.get(),hasReplay:!!t.isRecording()||void 0}}),t,i);N=o.startView,O=o.addAction,A=o.addError,C=o.addTiming,x=o.getInternalContext,T.drain(),t.onRumStart(o.lifeCycle,n,o.session,o.parentContexts)}return(0,l.r5)(y.H,{init:(0,c.zk)((function(e){if(!_||!(0,v.Y9)()){if((0,u.x)())e=function(e){return(0,r.__assign)((0,r.__assign)({},e),{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sampleRate:100})}(e);else if(!function(e){if(!(0,p.oX)((0,h.HZ)(e)))return f.j.warn("Cookies are not authorized, we will not send any data."),!1;if("file:"===window.location.protocol)return f.j.error("Execution is not allowed in the current context."),!1;return!0}(e))return;if(function(e){if(w)return e.silentMultipleInit||f.j.error("DD_RUM is already initialized."),!1;return!0}(e)){var t=(0,g.A)(e);if(t){var n=(0,c.py)(t);if(t.trackViewsManually){var i=T;T=new o.S,N=function(e){L(t,n,e)},i.drain()}else L(t,n);S=function(){return(0,s.I8)(e)},w=!0}}}})),addRumGlobalContext:(0,c.zk)(E.add),removeRumGlobalContext:(0,c.zk)(E.remove),getRumGlobalContext:(0,c.zk)(E.get),setRumGlobalContext:(0,c.zk)(E.set),getInternalContext:(0,c.zk)((function(e){return x(e)})),getInitConfiguration:(0,c.zk)((function(){return S()})),addAction:(0,c.zk)((function(e,t){O({name:e,context:(0,s.I8)(t),startClocks:(0,a.$I)(),type:m.Us.CUSTOM})})),addError:function(e,t){var n=(0,d.Xp)();(0,c.L6)((function(){A({error:e,handlingStack:n,context:(0,s.I8)(t),startClocks:(0,a.$I)()})}))},addTiming:(0,c.zk)((function(e,t){C(e,t)})),setUser:(0,c.zk)((function(e){var t=function(e){if("object"!=typeof e||!e)return;var t=(0,s.I8)(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?k=t:f.j.error("Unsupported user:",e)})),removeUser:(0,c.zk)((function(){k={}})),startView:(0,c.zk)((function(e){N(e)})),startSessionReplayRecording:(0,c.zk)(t.start),stopSessionReplayRecording:(0,c.zk)(t.stop)})}},72686:function(e,t,n){"use strict";n.d(t,{i:function(){return k}});var r=n(76876),i=n(64828),o=n(34250),a=n(38163),s=n(15454),u=n(17933),c=n(76861),l=n(75689),d=n(27817),f=n(49987),p=n(93647),h=n(19987),m=n(12051),v=n(42264),g=n(71126),y=n(44717),b=n(82063),_=n(48387),w=n(66460),E=n(3766);function k(e,t,n,k,x){var S=new l.j,T=(0,r.x)()?(0,y.j5)():(0,y.oi)(e,S),C=(0,o.y)(),N=(0,E.t)(location);t.setExternalContextProvider((function(){var t;return(0,i.$e)({application_id:e.applicationId,session:{id:null===(t=T.findTrackedSession())||void 0===t?void 0:t.id}},A.findView(),{view:{name:null}})}));var O=function(e,t,n,i,o,a){var c,l=(0,d.uP)(e),f=(0,w.Y)(e,o,n),p=(0,u.RQ)();(0,r.x)()?(0,_.i)(e):c=(0,b.u)(t,e).stop;return(0,s.Y)(t,e,i,l,f,a),{parentContexts:l,foregroundContexts:p,urlContexts:f,stop:function(){null==c||c(),l.stop(),p.stop()}}}(S,e,location,T,N,n),A=O.parentContexts,P=O.foregroundContexts,L=O.urlContexts;(0,m.V)(S,T),(0,v._)(S);var I=(0,g.m)(S,e,location,C,N,P,k,x),M=I.addTiming,R=I.startView,D=(0,h.W)(S,P).addError,j=(0,p.E)(S,C,e,P).addAction;(0,f.b_)(S,e,T),(0,a.X_)(S,e);var Z=(0,c.A)(e.applicationId,T,A,L);return{addAction:j,addError:D,addTiming:M,startView:R,lifeCycle:S,parentContexts:A,session:T,getInternalContext:Z.get}}},34250:function(e,t,n){"use strict";n.d(t,{q:function(){return a},y:function(){return o}});var r=n(73473),i=n(49015);function o(){var e=a(),t=new r.y((function(){if(e){var n=new e((0,i.zk)((function(){return t.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return t}function a(){var e,t=window;if(t.Zone){var n=t.Zone.__symbol__("MutationObserver");e=t[n]}return e||(e=t.MutationObserver),e}},3766:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(70655),i=n(73473),o=n(55801),a=n(64828);function s(e){var t=(0,r.__assign)({},e),n=new i.y((function(){var e,t,n,r,i,u=(e=s,t=(0,o.L)(history,"pushState",{after:e}).stop,n=(0,o.L)(history,"replaceState",{after:e}).stop,r=(0,a.Oo)(window,"popstate",e).stop,{stop:function(){t(),n(),r()}}).stop,c=(i=s,(0,a.Oo)(window,"hashchange",i)).stop;return function(){u(),c()}}));function s(){if(t.href!==e.href){var i=(0,r.__assign)({},e);n.notify({newLocation:i,oldLocation:t}),t=i}}return n}},38163:function(e,t,n){"use strict";n.d(t,{X_:function(){return p},ed:function(){return f},wM:function(){return d}});var r=n(70655),i=n(49015),o=n(64828),a=n(82027),s=n(75689),u=n(62515),c=n(8884);function l(){return void 0!==window.performance&&"getEntries"in performance}function d(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function f(){return"function"==typeof PerformanceEntry}function p(e,t){var n;if(n=function(n){m(e,t,[n])},(0,o.Tm)("interactive",(function(){var e,t={entryType:"resource",initiatorType:u.nX,traceId:(0,c.ai)(document)};if(d("navigation")&&performance.getEntriesByType("navigation").length>0){var i=performance.getEntriesByType("navigation")[0];e=(0,r.__assign)((0,r.__assign)({},i.toJSON()),t)}else{var o=h();e=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},o),{decodedBodySize:0,duration:o.responseEnd,name:window.location.href,startTime:0}),t)}n(e)})),l()&&m(e,t,performance.getEntries()),window.PerformanceObserver){var s=(0,i.zk)((function(n){return m(e,t,n.getEntries())})),f=["resource","navigation","longtask","paint"],p=["largest-contentful-paint","first-input","layout-shift"];try{p.forEach((function(e){new PerformanceObserver(s).observe({type:e,buffered:!0})}))}catch(e){f.push.apply(f,p)}new PerformanceObserver(s).observe({entryTypes:f}),l()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}d("navigation")||function(e){function t(){e((0,r.__assign)((0,r.__assign)({},h()),{entryType:"navigation"}))}(0,o.Tm)("complete",(function(){setTimeout((0,i.zk)(t))}))}((function(n){m(e,t,[n])})),d("first-input")||function(e){var t=Date.now(),n=!1,r=(0,o.yw)(window,["click","mousedown","keydown","touchstart","pointerdown"],(function(e){if(e.cancelable){var t={entryType:"first-input",processingStart:(0,a._q)(),startTime:e.timeStamp};"pointerdown"===e.type?i(t):s(t)}}),{passive:!0,capture:!0}).stop;function i(e){(0,o.yw)(window,["pointerup","pointercancel"],(function(t){"pointerup"===t.type&&s(e)}),{once:!0})}function s(i){if(!n){n=!0,r();var o=i.processingStart-i.startTime;o>=0&&o<Date.now()-t&&e(i)}}}((function(n){m(e,t,[n])}))}function h(){var e={},t=performance.timing;for(var n in t)if((0,o.hj)(t[n])){var r=n,i=t[r];e[r]=0===i?0:(0,a.ni)(i)}return e}function m(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&&!(0,u.JV)(e,t.name)}(t,e)}));r.length&&e.notify(s.Y.PERFORMANCE_ENTRIES_COLLECTED,r)}},15454:function(e,t,n){"use strict";n.d(t,{Y:function(){return b}});var r,i=n(70655),o=n(28393),a=n(82027),s=n(76876),u=n(64828),c=n(17442),l=n(13842),d=n(4193),f=n(80103),p=n(48439),h=n(62590),m=n(75689),v=n(44717);!function(e){e.SYNTHETICS="synthetics",e.USER="user",e.CI_TEST="ci_test"}(r||(r={}));var g=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],y=(0,i.__spreadArrays)(g,["context"]);function b(e,t,n,i,b,_){var w,E=function(e){t.notify(m.Y.RAW_ERROR_COLLECTED,{error:e})},k=((w={})[d.D$.ERROR]=(0,o.K)(d.D$.ERROR,e.eventRateLimiterThreshold,E),w[d.D$.ACTION]=(0,o.K)(d.D$.ACTION,e.eventRateLimiterThreshold,E),w),x=(0,p.OT)(),S=(0,h.q)();t.subscribe(m.Y.RAW_RUM_EVENT_COLLECTED,(function(o){var p,h=o.startTime,w=o.rawRumEvent,E=o.domainContext,T=o.savedCommonContext,C=o.customerContext,N=i.findView(h),O=b.findUrl(h),A=n.findTrackedSession(w.type!==d.D$.VIEW?h:void 0);if(A&&N&&O){var P=i.findAction(h),L=T||_(),I={_dd:{format_version:2,drift:(0,a.QA)(),session:{plan:A.hasReplayPlan?v.DV.REPLAY:v.DV.LITE},browser_sdk_version:(0,s.x)()?f.H.sdkVersion:void 0},application:{id:e.applicationId},date:(0,a.n$)(),service:e.service,source:"browser",session:{id:A.id,type:x?r.SYNTHETICS:S?r.CI_TEST:r.USER},synthetics:x,ci_test:S},M=(p=w,-1!==[d.D$.ERROR,d.D$.RESOURCE,d.D$.LONG_TASK].indexOf(p.type)?(0,u.$e)(I,O,N,P,w):(0,u.$e)(I,O,N,w));M.context=(0,u.$e)(L.context,C),"has_replay"in M.session||(M.session.has_replay=L.hasReplay),(0,u.Qr)(L.user)||(M.usr=L.user),function(e,t,n,r){var i;if(t){var o=(0,c.O)(e,e.type===d.D$.VIEW?g:y,(function(e){return t(e,n)}));if(!1===o&&e.type!==d.D$.VIEW)return!1;!1===o&&l.j.warn("Can't dismiss view events using beforeSend!")}return!(null===(i=r[e.type])||void 0===i?void 0:i.isLimitReached())}(M,e.beforeSend,E,k)&&((0,u.Qr)(M.context)&&delete M.context,t.notify(m.Y.RUM_EVENT_COLLECTED,M))}}))}},62590:function(e,t,n){"use strict";function r(){var e,t=null===(e=window.Cypress)||void 0===e?void 0:e.env("traceId");if("string"==typeof t)return{test_execution_id:t}}n.d(t,{q:function(){return r}})},21806:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(70655),i=n(13842),o=n(64828),a=n(7063),s=n(80103);function u(e){var t,n;if(e.applicationId)if(void 0===e.replaySampleRate||(0,o.zz)(e.replaySampleRate)){if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins))return void i.j.error("Allowed Tracing Origins should be an array");if(0!==e.allowedTracingOrigins.length&&void 0===e.service)return void i.j.error("Service need to be configured when tracing is enabled")}var u=(0,a.fP)(e,s.H);if(u)return(0,r.__assign)((0,r.__assign)({},u),{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:(0,o.E5)(a.Jj,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:a.Jj.MASK_USER_INPUT})}else i.j.error("Replay Sample Rate should be a number between 0 and 100");else i.j.error("Application ID is not configured, no RUM data will be collected.")}},17933:function(e,t,n){"use strict";n.d(t,{RQ:function(){return a}});var r=n(82027),i=n(64828),o=[];function a(){document.hasFocus()&&s();var e,t,n=(e=s,(0,i.Oo)(window,"focus",(function(t){t.isTrusted&&e()}))).stop,r=(t=u,(0,i.Oo)(window,"blur",(function(e){e.isTrusted&&t()}))).stop;return{isInForegroundAt:c,selectInForegroundPeriodsFor:l,stop:function(){o=[],n(),r()}}}function s(){if(!(o.length>2500)){var e=o[o.length-1],t=(0,r._q)();void 0!==e&&void 0===e.end||o.push({start:t})}}function u(){if(0!==o.length){var e=o[o.length-1],t=(0,r._q)();void 0===e.end&&(e.end=t)}}function c(e){for(var t=o.length-1;t>=0;t--){var n=o[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 l(e,t){for(var n=e+t,i=[],a=Math.max(0,o.length-500),s=o.length-1;s>=a;s--){var u=o[s];if(void 0!==u.end&&e>u.end)break;if(!(n<u.start)){var c=e>u.start?e:u.start,l=(0,r._J)(e,c),d=void 0===u.end||n<u.end?n:u.end,f=(0,r._J)(c,d);i.unshift({start:(0,r.c0)(l),duration:(0,r.c0)(f)})}}return i}},76861:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(70655);function i(e,t,n,i){return{get:function(o){var a=n.findView(o),s=i.findUrl(o),u=t.findTrackedSession(o);if(u&&a&&s){var c=n.findAction(o);return{application_id:e,session_id:u.id,user_action:c?{id:c.action.id}:void 0,view:(0,r.__assign)((0,r.__assign)({},a.view),s.view)}}}}}},75689:function(e,t,n){"use strict";var r;n.d(t,{Y:function(){return r},j:function(){return i}}),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"}(r||(r={}));var i=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}()},27817:function(e,t,n){"use strict";n.d(t,{uP:function(){return c}});var r=n(57479),i=n(64828),o=n(73072),a=n(75689),s=r.TN,u=5*i.yR;function c(e){var t=new o.W(s),n=new o.W(u);function r(e){return{view:{id:e.id,name:e.name}}}return e.subscribe(a.Y.VIEW_CREATED,(function(e){t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(a.Y.VIEW_UPDATED,(function(e){var n=t.getCurrent();n&&n.view.id===e.id&&t.setCurrent(r(e),e.startClocks.relative)})),e.subscribe(a.Y.VIEW_ENDED,(function(e){var n=e.endClocks;t.closeCurrent(n.relative)})),e.subscribe(a.Y.AUTO_ACTION_CREATED,(function(e){n.setCurrent(function(e){return{action:{id:e.id}}}(e),e.startClocks.relative)})),e.subscribe(a.Y.AUTO_ACTION_COMPLETED,(function(e){if(n.getCurrent()){var t=e.startClocks.relative+e.duration;n.closeCurrent(t)}})),e.subscribe(a.Y.AUTO_ACTION_DISCARDED,(function(){n.clearCurrent()})),e.subscribe(a.Y.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()}}}},49987:function(e,t,n){"use strict";n.d(t,{b_:function(){return l}});var r=n(5343),i=n(64828),o=n(18679),a=n(75689),s=n(62515),u=n(98049),c=1;function l(e,t,n){var c=(0,u.Sf)(t,n);!function(e,t,n){var o=(0,r.S)().subscribe((function(r){var o=r;if((0,s.JV)(t,o.url))switch(o.state){case"start":n.traceXhr(o,o.xhr),o.requestIndex=d(),e.notify(a.Y.REQUEST_STARTED,{requestIndex:o.requestIndex});break;case"complete":n.clearTracingIfNeeded(o),e.notify(a.Y.REQUEST_COMPLETED,{duration:o.duration,method:o.method,requestIndex:o.requestIndex,spanId:o.spanId,startClocks:o.startClocks,status:o.status,traceId:o.traceId,type:i.xd.XHR,url:o.url,xhr:o.xhr})}}))}(e,t,c),function(e,t,n){var r=(0,o.y)().subscribe((function(r){var o=r;if((0,s.JV)(t,o.url))switch(o.state){case"start":n.traceFetch(o),o.requestIndex=d(),e.notify(a.Y.REQUEST_STARTED,{requestIndex:o.requestIndex});break;case"complete":n.clearTracingIfNeeded(o),e.notify(a.Y.REQUEST_COMPLETED,{duration:o.duration,method:o.method,requestIndex:o.requestIndex,responseType:o.responseType,spanId:o.spanId,startClocks:o.startClocks,status:o.status,traceId:o.traceId,type:i.xd.FETCH,url:o.url,response:o.response,init:o.init,input:o.input})}}))}(e,t,c)}function d(){var e=c;return c+=1,e}},93647:function(e,t,n){"use strict";n.d(t,{E:function(){return c}});var r=n(70655),i=n(82027),o=n(64828),a=n(4193),s=n(75689),u=n(61023);function c(e,t,n,i){return e.subscribe(s.Y.AUTO_ACTION_COMPLETED,(function(t){return e.notify(s.Y.RAW_RUM_EVENT_COLLECTED,l(t,i))})),n.trackInteractions&&(0,u.d)(e,t,n),{addAction:function(t,n){e.notify(s.Y.RAW_RUM_EVENT_COLLECTED,(0,r.__assign)({savedCommonContext:n},l(t,i)))}}}function l(e,t){var n=d(e)?{action:{error:{count:e.counts.errorCount},id:e.id,loading_time:(0,i.c0)(e.duration),long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}}}:void 0,r=d(e)?void 0:e.context,s=(0,o.$e)({action:{id:(0,o.DO)(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:a.D$.ACTION},n),u=t.isInForegroundAt(e.startClocks.relative);return void 0!==u&&(s.view={in_foreground:u}),{customerContext:r,rawRumEvent:s,startTime:e.startClocks.relative,domainContext:d(e)?{event:e.event}:{}}}function d(e){return e.type!==a.Us.CUSTOM}},36:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(64828),i=n(63002),o="data-dd-action-name";function a(e,t){return s(e,o)||t&&s(e,t)||f(e,t,l)||f(e,t,d)||""}function s(e,t){var n;if(function(){void 0===c&&(c="closest"in HTMLElement.prototype);return c}())n=e.closest("["+t+"]");else for(var r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return h(p(n.getAttribute(t).trim()))}var u,c,l=[function(e,t){if(function(){void 0===u&&(u="labels"in HTMLInputElement.prototype);return u}()){if("labels"in e&&e.labels&&e.labels.length>0)return m(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&e.ownerDocument.querySelector('label[for="'+e.id.replace('"','\\"')+'"]');return n&&m(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 m(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 m(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 m(e.options[0],t)}],d=[function(e,t){return m(e,t)}];function f(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 h(p(u))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function p(e){return e.replace(/\s+/g," ")}function h(e){return e.length>100?(0,r._z)(e,100)+" [...]":e}function m(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(0,i.w)()&&r("script, style"),r("[data-dd-action-name]"),t&&r("["+t+"]"),n}return e.textContent}}},61023:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var r=n(64828),i=n(82027),o=n(4193),a=n(75689),s=n(59691),u=n(64203),c=n(36),l=10*r.WT;function d(e,t,n){var s=n.actionNameAttribute,d=function(e,t){var n,r;return{create:function(o,a,s){if(!n){var c=new f(e,o,a,s);n=c,r=(0,u.pj)(e,t,(function(e){if(e.hadActivity){var t=(0,i._J)(c.startClocks.timeStamp,e.end);t>=0?c.complete(t):c.discard()}else c.discard();n=void 0}),l).stop}},discardCurrent:function(){n&&(r(),n.discard(),n=void 0)}}}(e,t);e.subscribe(a.Y.VIEW_CREATED,(function(){d.discardCurrent()}));var p=(0,r.Oo)(window,"click",(function(e){if(e.target instanceof Element){var t=(0,c.u)(e.target,s);t&&d.create(o.Us.CLICK,t,e)}}),{capture:!0}).stop;return{stop:function(){d.discardCurrent(),p()}}}var f=function(){function e(e,t,n,o){this.lifeCycle=e,this.type=t,this.name=n,this.event=o,this.id=(0,r.DO)(),this.startClocks=(0,i.$I)(),this.eventCountsSubscription=(0,s.S)(e),this.lifeCycle.notify(a.Y.AUTO_ACTION_CREATED,{id:this.id,startClocks:this.startClocks})}return e.prototype.complete=function(e){var t=this.eventCountsSubscription.eventCounts;this.lifeCycle.notify(a.Y.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(a.Y.AUTO_ACTION_DISCARDED),this.eventCountsSubscription.stop()},e}()},19987:function(e,t,n){"use strict";n.d(t,{W:function(){return f}});var r=n(70655),i=n(73473),o=n(21315),a=n(1307),s=n(37697),u=n(64828),c=n(4193),l=n(75689),d=n(26266);function f(e,t){var n=new i.y;return(0,d.U)(n),(0,o.L)(n),n.subscribe((function(t){return e.notify(l.Y.RAW_ERROR_COLLECTED,{error:t})})),function(e,t){return e.subscribe(l.Y.RAW_ERROR_COLLECTED,(function(n){var i=n.error,o=n.customerContext,a=n.savedCommonContext;e.notify(l.Y.RAW_RUM_EVENT_COLLECTED,(0,r.__assign)({customerContext:o,savedCommonContext:a},function(e,t){var n={date:e.startClocks.timeStamp,error:{id:(0,u.DO)(),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:c.D$.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}}}(i,t)))})),{addError:function(t,n){var i=t.error,o=t.handlingStack,u=t.startClocks,c=t.context,d=function(e,t,n){var i=e instanceof Error?(0,a._)(e):void 0;return(0,r.__assign)((0,r.__assign)({startClocks:n,source:s.zH.CUSTOM,originalError:e},(0,s.wl)(i,e,"Provided",t)),{handling:s.Xw.HANDLED})}(i,o,u);e.notify(l.Y.RAW_ERROR_COLLECTED,{customerContext:c,savedCommonContext:n,error:d})}}}(e,t)}},26266:function(e,t,n){"use strict";n.d(t,{U:function(){return a}});var r=n(86296),i=n(82027),o=n(37697);function a(e){var t=(0,r.a)([r.v.error]).subscribe((function(t){return e.notify({startClocks:(0,i.$I)(),message:t.message,stack:t.stack,source:o.zH.CONSOLE,handling:o.Xw.HANDLED,handlingStack:t.handlingStack})}));return{stop:function(){t.unsubscribe()}}}},12051:function(e,t,n){"use strict";n.d(t,{V:function(){return s}});var r=n(82027),i=n(64828),o=n(4193),a=n(75689);function s(e,t){e.subscribe(a.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(n){for(var s=0,u=n;s<u.length;s++){var c=u[s];if("longtask"!==c.entryType)break;var l=t.findTrackedSession(c.startTime);if(!l||l.hasLitePlan)break;var d=(0,r.DY)(c.startTime),f={date:d.timeStamp,long_task:{id:(0,i.DO)(),duration:(0,r.c0)(c.duration)},type:o.D$.LONG_TASK};e.notify(a.Y.RAW_RUM_EVENT_COLLECTED,{rawRumEvent:f,startTime:d.relative,domainContext:{performanceEntry:c.toJSON()}})}}))}},22076:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(62515);function i(e){if(performance&&"getEntriesByName"in performance){var t=performance.getEntriesByName(e.url,"resource");if(t.length&&"toJSON"in t[0]){var n,i=t.map((function(e){return e.toJSON()})).filter(r.H).filter((function(t){return n=t,r=e.startClocks.relative,i=o({startTime:e.startClocks.relative,duration:e.duration}),a=1,n.startTime>=r-a&&o(n)<=i+a;var n,r,i,a}));return 1===i.length?i[0]:2===i.length&&o((n=i)[0])<=n[1].startTime?i[1]:void 0}}}function o(e){return e.startTime+e.duration}},42264:function(e,t,n){"use strict";n.d(t,{_:function(){return d}});var r=n(70655),i=n(64828),o=n(82027),a=n(38163),s=n(4193),u=n(75689),c=n(22076),l=n(62515);function d(e){e.subscribe(u.Y.REQUEST_COMPLETED,(function(t){e.notify(u.Y.RAW_RUM_EVENT_COLLECTED,function(e){var t=e.type===i.xd.XHR?i._g.XHR:i._g.FETCH,n=(0,c.E)(e),r=n?(0,o.DY)(n.startTime):e.startClocks,a=n?p(n):void 0,u=function(e){if(!e.traceId||!e.spanId)return;return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString()}}}(e),l=(0,i.$e)({date:r.timeStamp,resource:{id:(0,i.DO)(),type:t,duration:(0,o.c0)(e.duration),method:e.method,status_code:e.status,url:e.url},type:s.D$.RESOURCE},u,a);return{startTime:r.relative,rawRumEvent:l,domainContext:{performanceEntry:n&&h(n),xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}}(t))})),e.subscribe(u.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];"resource"!==i.entryType||(0,l.Nx)(i)||e.notify(u.Y.RAW_RUM_EVENT_COLLECTED,f(i))}}))}function f(e){var t=(0,l.PB)(e),n=p(e),r=function(e){return e.traceId?{_dd:{trace_id:e.traceId}}:void 0}(e),a=(0,o.DY)(e.startTime),u=(0,i.$e)({date:a.timeStamp,resource:{id:(0,i.DO)(),type:t,url:e.name},type:s.D$.RESOURCE},r,n);return{startTime:a.relative,rawRumEvent:u,domainContext:{performanceEntry:h(e)}}}function p(e){return{resource:(0,r.__assign)({duration:(0,l.O0)(e),size:(0,l.pe)(e)},(0,l.zd)(e))}}function h(e){return(0,a.ed)()&&e instanceof PerformanceEntry&&e.toJSON(),e}},62515:function(e,t,n){"use strict";n.d(t,{H:function(){return m},JV:function(){return b},Nx:function(){return f},O0:function(){return p},PB:function(){return l},nX:function(){return u},pe:function(){return y},zd:function(){return h}});var r=n(70655),i=n(64828),o=n(54343),a=n(49015),s=n(82027),u="initial_document",c=[[i._g.DOCUMENT,function(e){return u===e}],[i._g.XHR,function(e){return"xmlhttprequest"===e}],[i._g.FETCH,function(e){return"fetch"===e}],[i._g.BEACON,function(e){return"beacon"===e}],[i._g.CSS,function(e,t){return/\.css$/i.test(t)}],[i._g.JS,function(e,t){return/\.js$/i.test(t)}],[i._g.IMAGE,function(e,t){return(0,i.q9)(["image","img","icon"],e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)}],[i._g.FONT,function(e,t){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)}],[i._g.MEDIA,function(e,t){return(0,i.q9)(["audio","video"],e)||null!==/\.(mp3|mp4)$/i.exec(t)}]];function l(e){var t=e.name;if(!(0,o.jv)(t))return(0,a.tV)('Failed to construct URL for "'+e.name+'"'),i._g.OTHER;for(var n=(0,o.ye)(t),r=0,s=c;r<s.length;r++){var u=s[r],l=u[0];if((0,u[1])(e.initiatorType,n))return l}return i._g.OTHER}function d(){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 f(e){return"xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType}function p(e){var t=e.duration,n=e.startTime,r=e.responseEnd;return 0===t&&n<r?(0,s.c0)((0,s._J)(n,r)):(0,s.c0)(t)}function h(e){var t=m(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,c=t.secureConnectionStart,l=t.connectEnd,f=t.requestStart,p=t.responseStart,h={download:g(n,p,t.responseEnd),first_byte:g(n,f,p)};return l!==r&&(h.connect=g(n,u,l),d(u,c,l)&&(h.ssl=g(n,c,l))),s!==r&&(h.dns=g(n,a,s)),v(e)&&(h.redirect=g(n,i,o)),h}}function m(e){if(d(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!v(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t<e.startTime&&(t=e.startTime),n<e.startTime&&(n=e.fetchStart),d(e.startTime,t,n,e.fetchStart))return(0,r.__assign)((0,r.__assign)({},e),{redirectEnd:n,redirectStart:t})}}function v(e){return e.fetchStart!==e.startTime}function g(e,t,n){return{duration:(0,s.c0)((0,s._J)(t,n)),start:(0,s.c0)((0,s._J)(e,t))}}function y(e){if(e.startTime<e.responseStart)return e.decodedBodySize}function b(e,t){return t&&!e.isIntakeUrl(t)}},27043:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r,i,o=n(64828);function a(e){return void 0===e&&(e=window),r||("hidden"===document.visibilityState?r={timeStamp:0}:(r={timeStamp:1/0},i=(0,o.yw)(e,["pagehide","visibilitychange"],(function(e){"pagehide"!==e.type&&"hidden"!==document.visibilityState||(r.timeStamp=e.timeStamp,i())}),{capture:!0}).stop)),r}},32161:function(e,t,n){"use strict";n.d(t,{p4:function(){return c}});var r=n(70655),i=n(64828),o=n(82027),a=n(75689),s=n(27043),u=10*i.yR;function c(e,t){var n;function c(e){n=(0,r.__assign)((0,r.__assign)({},n),e),t(n)}var l=function(e,t){return{stop:e.subscribe(a.Y.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,c).stop,d=function(e,t){var n=(0,s.L)();return{stop:e.subscribe(a.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=(0,i.sE)(e,(function(e){return"paint"===e.entryType&&"first-contentful-paint"===e.name&&e.startTime<n.timeStamp&&e.startTime<u}));r&&t(r.startTime)})).unsubscribe}}(e,(function(e){return c({firstContentfulPaint:e})})).stop,f=function(e,t,n){var r=(0,s.L)(),o=1/0,c=(0,i.yw)(t,["pointerdown","keydown"],(function(e){o=e.timeStamp}),{capture:!0,once:!0}).stop,l=e.subscribe(a.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var t=(0,i.dF)(e,(function(e){return"largest-contentful-paint"===e.entryType&&e.startTime<o&&e.startTime<r.timeStamp&&e.startTime<u}));t&&n(t.startTime)})).unsubscribe;return{stop:function(){c(),l()}}}(e,window,(function(e){c({largestContentfulPaint:e})})).stop,p=function(e,t){var n=(0,s.L)();return{stop:e.subscribe(a.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(e){var r=(0,i.sE)(e,(function(e){return"first-input"===e.entryType&&e.startTime<n.timeStamp}));if(r){var a=(0,o._J)(r.startTime,r.processingStart);t({firstInputDelay:a>=0?a:0,firstInputTime:r.startTime})}})).unsubscribe}}(e,(function(e){c({firstInputDelay:e.firstInputDelay,firstInputTime:e.firstInputTime})})).stop;return{stop:function(){l(),d(),f(),p()}}}},22908:function(e,t,n){"use strict";n.d(t,{L:function(){return l}});var r=n(64828),i=n(82027),o=n(38163),a=n(4193),s=n(75689),u=n(59691),c=n(64203);function l(e,t,n,l,d){var f,p={eventCounts:{errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0}},h=(0,u.S)(e,(function(e){p.eventCounts=e,n()})).stop,m=function(e,t,n,r,o){var s=n===a.p7.INITIAL_LOAD,u=!0,l=[];function d(){!u&&!s&&l.length>0&&o(Math.max.apply(Math,l))}return{stop:(0,c.pj)(e,t,(function(e){u&&(u=!1,e.hadActivity&&l.push((0,i._J)(r.timeStamp,e.end)),d())})).stop,setLoadEvent:function(e){s&&(s=!1,l.push(e),d())}}}(e,t,l,d,(function(e){p.loadingTime=e,n()})),v=m.stop,g=m.setLoadEvent;return(0,o.wM)("layout-shift")?(p.cumulativeLayoutShift=0,f=function(e,t){var n=0,i=(u=0,{update:function(e){void 0===o||e.startTime-a>=r.WT||e.startTime-o>=5*r.WT?(o=a=e.startTime,u=e.value):(u+=e.value,a=e.startTime)},value:function(){return u}});var o,a,u;return{stop:e.subscribe(s.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(e){for(var o=0,a=e;o<a.length;o++){var s=a[o];"layout-shift"!==s.entryType||s.hadRecentInput||(i.update(s),i.value()>n&&(n=i.value(),t((0,r.NM)(n,4))))}})).unsubscribe}}(e,(function(e){p.cumulativeLayoutShift=e,n()})).stop):f=r.ZT,{stop:function(){h(),v(),f()},setLoadEvent:g,viewMetrics:p}}},71542:function(e,t,n){"use strict";n.d(t,{qZ:function(){return p}});var r=n(70655),i=n(64828),o=n(82027),a=n(49015),s=n(13842),u=n(4193),c=n(75689),l=n(32161),d=n(22908),f=5*i.yR;function p(e,t,n,r,i,s){var d,p=function(r){var i=h(t,n,e,u.p7.INITIAL_LOAD,(0,o.cQ)(),r),a=(0,l.p4)(t,(function(e){i.updateTimings(e),i.scheduleUpdate()})).stop;return{initialView:i,stop:a}}(s),v=p.stop,g=p.initialView,y=function(){t.subscribe(c.Y.SESSION_RENEWED,(function(){g.end(),g=b(void 0,g.name)})),t.subscribe(c.Y.BEFORE_UNLOAD,(function(){g.end(),g.triggerUpdate()}));var e=window.setInterval((0,a.zk)((function(){g.triggerUpdate()})),f);return{stop:function(){clearInterval(e)}}}().stop;function b(r,i){return h(t,n,e,u.p7.ROUTE_CHANGE,r,i)}return i&&(d=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)&&m(n.hash)!==m(t.hash)))return g.end(),g.triggerUpdate(),void(g=b())}))}(r)),{addTiming:function(e,t){void 0===t&&(t=(0,o.n$)()),g.addTiming(e,t),g.scheduleUpdate()},startView:function(e,t){g.end(t),g.triggerUpdate(),g=b(t,e)},stop:function(){null==d||d.unsubscribe(),v(),y(),g.end()}}}function h(e,t,n,u,l,f){void 0===l&&(l=(0,o.$I)());var p,h=(0,i.DO)(),m={},v={},g=0,y=(0,r.__assign)({},n);e.notify(c.Y.VIEW_CREATED,{id:h,name:f,startClocks:l});var b=(0,i.P2)((0,a.zk)(T),3e3,{leading:!1}),_=b.throttled,w=b.cancel,E=(0,d.L)(e,t,_,u,l),k=E.setLoadEvent,x=E.stop,S=E.viewMetrics;function T(){g+=1;var t=void 0===p?(0,o.n$)():p.timeStamp;e.notify(c.Y.VIEW_UPDATED,(0,r.__assign)((0,r.__assign)({},S),{customTimings:v,documentVersion:g,id:h,name:f,loadingType:u,location:y,startClocks:l,timings:m,duration:(0,o._J)(l.timeStamp,t),isActive:void 0===p}))}return T(),{name:f,scheduleUpdate:_,end:function(t){void 0===t&&(t=(0,o.$I)()),p=t,x(),e.notify(c.Y.VIEW_ENDED,{endClocks:p})},triggerUpdate:function(){w(),T()},updateTimings:function(e){m=e,void 0!==e.loadEvent&&k(e.loadEvent)},addTiming:function(e,t){var n=(0,o.Cn)(t)?t:(0,o._J)(l.timeStamp,t);v[function(e){var t=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_");t!==e&&s.j.warn("Invalid timing name: "+e+", sanitized to: "+t);return t}(e)]=n}}}function m(e){var t=e.indexOf("?");return t<0?e:e.slice(0,t)}},71126:function(e,t,n){"use strict";n.d(t,{m:function(){return u}});var r=n(82027),i=n(64828),o=n(4193),a=n(75689),s=n(71542);function u(e,t,n,u,l,d,f,p){return e.subscribe(a.Y.VIEW_UPDATED,(function(t){return e.notify(a.Y.RAW_RUM_EVENT_COLLECTED,function(e,t,n){var a=n.getReplayStats(e.id),s={_dd:{document_version:e.documentVersion,replay_stats:a},date:e.startClocks.timeStamp,type:o.D$.VIEW,view:{action:{count:e.eventCounts.userActionCount},cumulative_layout_shift:e.cumulativeLayoutShift,dom_complete:(0,r.c0)(e.timings.domComplete),dom_content_loaded:(0,r.c0)(e.timings.domContentLoaded),dom_interactive:(0,r.c0)(e.timings.domInteractive),error:{count:e.eventCounts.errorCount},first_contentful_paint:(0,r.c0)(e.timings.firstContentfulPaint),first_input_delay:(0,r.c0)(e.timings.firstInputDelay),first_input_time:(0,r.c0)(e.timings.firstInputTime),is_active:e.isActive,name:e.name,largest_contentful_paint:(0,r.c0)(e.timings.largestContentfulPaint),load_event:(0,r.c0)(e.timings.loadEvent),loading_time:c((0,r.c0)(e.loadingTime)),loading_type:e.loadingType,long_task:{count:e.eventCounts.longTaskCount},resource:{count:e.eventCounts.resourceCount},time_spent:(0,r.c0)(e.duration),in_foreground_periods:t.selectInForegroundPeriodsFor(e.startClocks.relative,e.duration)},session:{has_replay:!!a||void 0}};(0,i.Qr)(e.customTimings)||(s.view.custom_timings=(0,i.Q8)(e.customTimings,r.c0));return{rawRumEvent:s,startTime:e.startClocks.relative,domainContext:{location:e.location}}}(t,d,f))})),(0,s.qZ)(n,e,u,l,!t.trackViewsManually,p)}function c(e){return(0,i.hj)(e)&&e<0?void 0:e}},44717:function(e,t,n){"use strict";n.d(t,{DV:function(){return r},j5:function(){return c},oi:function(){return u}});var r,i,o=n(5135),a=n(64828),s=n(75689);function u(e,t){var n=(0,o.HX)(e.cookieOptions,"rum",(function(t){return function(e,t){var n;n=function(e){return e===i.NOT_TRACKED||e===i.TRACKED_REPLAY||e===i.TRACKED_LITE}(t)?t:(0,a.y7)(e.sampleRate)?(0,a.y7)(e.replaySampleRate)?i.TRACKED_REPLAY:i.TRACKED_LITE:i.NOT_TRACKED;return{trackingType:n,isTracked:l(n)}}(e,t)}));return n.expireObservable.subscribe((function(){t.notify(s.Y.SESSION_EXPIRED)})),n.renewObservable.subscribe((function(){t.notify(s.Y.SESSION_RENEWED)})),{findTrackedSession:function(e){var t=n.findActiveSession(e);if(t&&l(t.trackingType))return{id:t.id,hasReplayPlan:t.trackingType===i.TRACKED_REPLAY,hasLitePlan:t.trackingType===i.TRACKED_LITE}}}}function c(){var e={id:"00000000-aaaa-0000-aaaa-000000000000",hasReplayPlan:!0,hasLitePlan:!1};return{findTrackedSession:function(){return e}}}function l(e){return e===i.TRACKED_LITE||e===i.TRACKED_REPLAY}!function(e){e[e.LITE=1]="LITE",e[e.REPLAY=2]="REPLAY"}(r||(r={})),function(e){e.NOT_TRACKED="0",e.TRACKED_REPLAY="1",e.TRACKED_LITE="2"}(i||(i={}))},48439:function(e,t,n){"use strict";n.d(t,{OT:function(){return i},Y9:function(){return o}});var r=n(49647);function i(){var e=window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,r.ej)("datadog-synthetics-public-id"),t=window._DATADOG_SYNTHETICS_RESULT_ID||(0,r.ej)("datadog-synthetics-result-id");if("string"==typeof e&&"string"==typeof t)return{test_id:e,result_id:t,injected:o()}}function o(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||(0,r.ej)("datadog-synthetics-injects-rum"))}},8884:function(e,t,n){"use strict";n.d(t,{ai:function(){return o}});var r=n(64828),i=2*r.yR;function o(e){var t=function(e){var t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]");return a(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=s(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=s(r))return n;if(!u(r))break}}(e);if(!t)return;return a((0,r.MY)(t,"trace-id"),(0,r.MY)(t,"trace-time"))}(e);if(t&&!(t.traceTime<=Date.now()-i))return t.traceId}function a(e,t){var n=t&&Number(t);if(e&&n)return{traceId:e,traceTime:n}}function s(e){if(e&&function(e){return"#comment"===e.nodeName}(e)){var t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function u(e){return"#text"===e.nodeName}},98049:function(e,t,n){"use strict";n.d(t,{Sf:function(){return s}});var r=n(70655),i=n(64828),o=n(54343);function a(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0)}function s(e,t){return{clearTracingIfNeeded:a,traceFetch:function(n){return u(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,r.__assign)({},n.init);var o=[];n.init.headers instanceof Headers?n.init.headers.forEach((function(e,t){o.push([t,e])})):Array.isArray(n.init.headers)?n.init.headers.forEach((function(e){o.push(e)})):n.init.headers&&Object.keys(n.init.headers).forEach((function(e){o.push([e,n.init.headers[e]])})),n.init.headers=o.concat((0,i.qP)(e))}}))},traceXhr:function(n,r){return u(e,n,t,(function(e){Object.keys(e).forEach((function(t){r.setRequestHeader(t,e[t])}))}))}}}function u(e,t,n,r){var i;void 0!==c()&&function(e,t){for(var n=(0,o.P$)(t),r=0,i=e.allowedTracingOrigins;r<i.length;r++){var a=i[r];if(n===a||a instanceof RegExp&&a.test(n))return!0}return!1}(e,t.url)&&n.findTrackedSession()&&(t.traceId=new l,t.spanId=new l,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 c(){return window.crypto||window.msCrypto}var l=function(){function e(){this.buffer=new Uint8Array(8),c().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}()},59691:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(64828),i=n(4193),o=n(75689);function a(e,t){void 0===t&&(t=r.ZT);var n={errorCount:0,longTaskCount:0,resourceCount:0,userActionCount:0},a=e.subscribe(o.Y.RUM_EVENT_COLLECTED,(function(e){switch(e.type){case i.D$.ERROR:n.errorCount+=1,t(n);break;case i.D$.ACTION:n.userActionCount+=1,t(n);break;case i.D$.LONG_TASK:n.longTaskCount+=1,t(n);break;case i.D$.RESOURCE:n.resourceCount+=1,t(n)}}));return{stop:function(){a.unsubscribe()},eventCounts:n}}},66460:function(e,t,n){"use strict";n.d(t,{Y:function(){return u}});var r=n(57479),i=n(73072),o=n(82027),a=n(75689),s=r.TN;function u(e,t,n){var r,u=new i.W(s);e.subscribe(a.Y.VIEW_ENDED,(function(e){var t=e.endClocks;u.closeCurrent(t.relative)})),e.subscribe(a.Y.VIEW_CREATED,(function(e){var t=e.startClocks,i=n.href;u.setCurrent(l({url:i,referrer:r||document.referrer}),t.relative),r=i}));var c=t.subscribe((function(e){var t=e.newLocation,n=u.getCurrent();if(n){var r=(0,o._q)();u.closeCurrent(r),u.setCurrent(l({url:t.href,referrer:n.view.referrer}),r)}}));function l(e){return{view:{url:e.url,referrer:e.referrer}}}return{findUrl:function(e){return u.find(e)},stop:function(){c.unsubscribe(),u.stop()}}}},64203:function(e,t,n){"use strict";n.d(t,{pj:function(){return s}});var r=n(49015),i=n(82027),o=n(73473),a=n(75689);function s(e,t,n,s){var u=function(e,t){var n=new o.y((function(){var n,i=[],o=0;return i.push(t.subscribe((function(){return r(o)})),e.subscribe(a.Y.PERFORMANCE_ENTRIES_COLLECTED,(function(e){e.some((function(e){return"resource"===e.entryType}))&&r(o)})),e.subscribe(a.Y.REQUEST_STARTED,(function(e){void 0===n&&(n=e.requestIndex),r(++o)})),e.subscribe(a.Y.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 o,a=!1,s=setTimeout((0,r.zk)((function(){return d({hadActivity:!1})})),100),u=n&&setTimeout((0,r.zk)((function(){return d({hadActivity:!0,end:(0,i.n$)()})})),n),c=e.subscribe((function(e){var t=e.isBusy;clearTimeout(s),clearTimeout(o);var n=(0,i.n$)();t||(o=setTimeout((0,r.zk)((function(){return d({hadActivity:!0,end:n})})),100))})),l=function(){a=!0,clearTimeout(s),clearTimeout(o),clearTimeout(u),c.unsubscribe()};function d(e){a||(l(),t(e))}return{stop:l}}(u,n,s)}},87553:function(e,t,n){"use strict";n.d(t,{Y5:function(){return o.Y},_r:function(){return r._},iB:function(){return i.i},q5:function(){return a.q}});var r=n(64622),i=n(72686),o=n(75689),a=(n(44717),n(34250))},4193:function(e,t,n){"use strict";var r,i,o;n.d(t,{D$:function(){return r},Us:function(){return o},p7:function(){return i}}),function(e){e.ACTION="action",e.ERROR="error",e.LONG_TASK="long_task",e.VIEW="view",e.RESOURCE="resource"}(r||(r={})),function(e){e.INITIAL_LOAD="initial_load",e.ROUTE_CHANGE="route_change"}(i||(i={})),function(e){e.CLICK="click",e.CUSTOM="custom"}(o||(o={}))},82063:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var r=n(53789),i=n(62097),o=n(64828),a=n(75689),s=n(4193);function u(e,t){var n=function(e,t){var n,s=c(e.rumEndpointBuilder,(function(){return t.notify(a.Y.BEFORE_UNLOAD)})),u=e.replica;void 0!==u&&(n=c(u.rumEndpointBuilder));function c(t,n){return new r.E(new i.a(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout,n)}function l(e){return(0,o.$e)(e,{application:{id:u.applicationId}})}var d=!1;return{add:function(e){d||(s.add(e),n&&n.add(l(e)))},stop:function(){d=!0},upsert:function(e,t){d||(s.upsert(e,t),n&&n.upsert(l(e),t))}}}(e,t);return t.subscribe(a.Y.RUM_EVENT_COLLECTED,(function(e){e.type===s.D$.VIEW?n.upsert(e,e.view.id):n.add(e)})),{stop:function(){return n.stop()}}}},48387:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(76876),i=n(75689);function o(e){var t=(0,r.A)();e.subscribe(i.Y.RUM_EVENT_COLLECTED,(function(e){t.send("rum",e)}))}},51140:function(e,t,n){"use strict";n.d(t,{N:function(){return u}});var r=n(76876),i=n(64828),o=n(87553),a=n(98290),s=n(85233);function u(e,t){if(void 0===t&&(t=s.gm),(0,r.x)())return{start:i.ZT,stop:i.ZT,getReplayStats:function(){},onRumStart:i.ZT,isRecording:function(){return!1}};var n={status:0},u=function(){n={status:1}},c=function(){n={status:0}};return{start:function(){return u()},stop:function(){return c()},getReplayStats:a.MA,onRumStart:function(r,a,s,l){r.subscribe(o.Y5.SESSION_EXPIRED,(function(){2!==n.status&&3!==n.status||(c(),n={status:1})})),r.subscribe(o.Y5.SESSION_RENEWED,(function(){1===n.status&&u()})),u=function(){var o=s.findTrackedSession();o&&o.hasReplayPlan?2!==n.status&&3!==n.status&&(n={status:2},(0,i.Tm)("interactive",(function(){2===n.status&&t((function(t){if(2===n.status)if(t){var i=e(r,a,s,l,t).stop;n={status:3,stopRecording:i}}else n={status:0}}))}))):n={status:1}},c=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&u()},isRecording:function(){return 3===n.status}}}},38527:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(70655),i=n(87553),o=n(95314),a=n(85233),s=n(35554),u=n(48533);function c(e,t,n,c,l){var d=(0,a.cW)(e,t.applicationId,n,c,(function(e,n,r,i){return(0,s.lW)(t.sessionReplayEndpointBuilder,e,n,r,i)}),l),f=d.addRecord,p=d.stop;function h(e){f((0,r.__assign)((0,r.__assign)({},e),{timestamp:Date.now()}))}var m=(0,o.IM)({emit:h,defaultPrivacyLevel:t.defaultPrivacyLevel}),v=m.stop,g=m.takeFullSnapshot,y=m.flushMutations,b=e.subscribe(i.Y5.VIEW_ENDED,(function(){y(),h({type:u.o.ViewEnd})})).unsubscribe,_=e.subscribe(i.Y5.VIEW_CREATED,g).unsubscribe;return{stop:function(){b(),_(),v(),p()}}}},91249:function(e,t,n){"use strict";n.d(t,{$n:function(){return a},B2:function(){return f},Bq:function(){return p},Eo:function(){return c},M_:function(){return h},OT:function(){return g},Xn:function(){return v},Yg:function(){return d},aN:function(){return u},k6:function(){return m},nw:function(){return l},zu:function(){return s},zx:function(){return o}});var r=n(70655),i=n(7063),o=(0,r.__assign)((0,r.__assign)({},i.Jj),{IGNORE:"ignore",HIDDEN:"hidden"}),a="data-dd-privacy",s="allow",u="mask",c="mask-user-input",l="hidden",d="dd-privacy-allow",f="dd-privacy-mask",p="dd-privacy-mask-user-input",h="dd-privacy-hidden",m="***",v="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",g={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0}},95314:function(e,t,n){"use strict";n.d(t,{IM:function(){return r.I}});var r=n(31470);n(41493),n(86833)},33156:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(64828),i=n(49015);function o(e){var t=r.ZT,n=[];function o(){t(),e(n),n=[]}return{addMutations:function(e){0===n.length&&(t=function(e){var t=window;if(t.requestIdleCallback){var n=t.requestIdleCallback((0,i.zk)(e),{timeout:100});return function(){return t.cancelIdleCallback(n)}}var r=t.requestAnimationFrame((0,i.zk)(e));return function(){return t.cancelAnimationFrame(r)}}(o)),n.push.apply(n,e)},flush:o,stop:function(){t()}}}},71572:function(e,t,n){"use strict";n.d(t,{F5:function(){return f},_p:function(){return p}});var r=n(64828),i=n(49015),o=n(87553),a=n(91249),s=n(44803),u=n(38136),c=n(41493),l=n(86914),d=n(33156);function f(e,t,n){var f=(0,o.q5)();if(!f)return{stop:r.ZT};var p=(0,d.W)((function(e){!function(e,t,n){var r=e.filter((function(e){return document.contains(e.target)&&(0,u.GW)(e.target)&&(0,s.IE)(e.target,n)!==a.zx.HIDDEN})),i=function(e,t){for(var n=new Set,r=new Map,i=function(e){(0,l.Ed)(e.addedNodes,(function(e){n.add(e)})),(0,l.Ed)(e.removedNodes,(function(t){n.has(t)||r.set(t,e.target),n.delete(t)}))},o=0,d=e;o<d.length;o++){i(d[o])}var f=Array.from(n);p=f,p.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 p;for(var h=new Set,m=[],v=0,g=f;v<g.length;v++){var y=g[v];if(!E(y)){var b=(0,s.IE)(y.parentNode,t);if(b!==a.zx.HIDDEN&&b!==a.zx.IGNORE){var _=(0,c.eD)(y,{document:document,serializedNodeIds:h,parentNodePrivacyLevel:b});_&&m.push({nextId:k(y),parentId:(0,u.SI)(y.parentNode),node:_})}}}var w=[];return r.forEach((function(e,t){(0,u.lq)(t)&&w.push({parentId:(0,u.SI)(e),id:(0,u.SI)(t)})})),{adds:m,removes:w,hasBeenSerialized:E};function E(e){return(0,u.lq)(e)&&h.has((0,u.SI)(e))}function k(e){for(var t=e.nextSibling;t;){if((0,u.lq)(t))return(0,u.SI)(t);t=t.nextSibling}return null}}(r.filter((function(e){return"childList"===e.type})),n),o=i.adds,d=i.removes,f=i.hasBeenSerialized,p=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)})),c=0,l=o;c<l.length;c++){var d=l[c];if(d.target.textContent!==d.oldValue){var f=(0,s.IE)(d.target.parentNode,t);f!==a.zx.HIDDEN&&f!==a.zx.IGNORE&&r.push({id:(0,u.SI)(d.target),value:null!==(n=(0,s.FB)(d.target,!1,f))&&void 0!==n?n:null})}}return r}(r.filter((function(e){return"characterData"===e.type&&!f(e.target)})),n),h=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,l=i;a<l.length;a++){var d=l[a];if(d.target.getAttribute(d.attributeName)!==d.oldValue){var f=(0,s.IE)(d.target,t),p=(0,c.cJ)(d.target,f,d.attributeName),h=void 0;if("value"===d.attributeName){var m=(0,u.Bu)(d.target,f);if(void 0===m)continue;h=m}else h=p&&"string"==typeof p?p:null;var v=o.get(d.target);v||(v={id:(0,u.SI)(d.target),attributes:{}},n.push(v),o.set(d.target,v)),v.attributes[d.attributeName]=h}}return n}(r.filter((function(e){return"attributes"===e.type&&!f(e.target)})),n);if(!(p.length||h.length||d.length||o.length))return;t({adds:o,removes:d,texts:p,attributes:h})}(e.concat(h.takeRecords()),t,n)})),h=new f((0,i.zk)(p.addMutations));return h.observe(document,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),e.onFlush(p.flush),{stop:function(){h.disconnect(),p.stop()}}}var p=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}()},51924:function(e,t,n){"use strict";n.d(t,{mv:function(){return h}});var r,i=n(70655),o=n(64828),a=n(49015),s=n(91249),u=n(44803),c=n(38136),l=n(86833),d=n(86914),f=n(71572),p=n(25523);function h(e){var t,n,r,h,y=(t=e.mutationController,n=e.mutationCb,r=e.defaultPrivacyLevel,(0,f.F5)(t,n,r).stop),b=function(e){var t=(0,o.P2)((0,a.zk)((function(t){var n=t.target;if((0,c.lq)(n)){var r=(0,d.z6)(t)?t.changedTouches[0]:t,i=r.clientX,o=r.clientY,a={id:(0,c.SI)(n),timeOffset:0,x:i,y:o};if(window.visualViewport){var s=(0,p.nw)(i,o),u=s.visualViewportX,f=s.visualViewportY;a.x=u,a.y=f}e([a],(0,d.z6)(t)?l.yh.TouchMove:l.yh.MouseMove)}})),50,{trailing:!1}).throttled;return(0,o.yw)(document,["mousemove","touchmove"],t,{capture:!0,passive:!0}).stop}(e.mousemoveCb),_=function(e,t){var n=function(n){var r=n.target;if((0,u.IE)(r,t)!==s.zx.HIDDEN&&(0,c.lq)(r)){var i=(0,d.z6)(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,l={id:(0,c.SI)(r),type:m[n.type],x:o,y:a};if(window.visualViewport){var f=(0,p.nw)(o,a),h=f.visualViewportX,v=f.visualViewportY;l.x=h,l.y=v}e(l)}};return(0,o.yw)(document,Object.keys(m),n,{capture:!0,passive:!0}).stop}(e.mouseInteractionCb,e.defaultPrivacyLevel),w=function(e,t){var n=(0,o.P2)((0,a.zk)((function(n){var r=n.target;if(r&&(0,u.IE)(r,t)!==s.zx.HIDDEN&&(0,c.lq)(r)){var i=(0,c.SI)(r);r===document?e({id:i,x:(0,p.$1)(),y:(0,p.X_)()}):e({id:i,x:r.scrollLeft,y:r.scrollTop})}})),100).throttled;return(0,o.Oo)(document,"scroll",n,{capture:!0,passive:!0}).stop}(e.scrollCb,e.defaultPrivacyLevel),E=function(e){var t=(0,o.P2)((0,a.zk)((function(){var t=(0,p.gp)(),n=(0,p.fM)();e({height:Number(t),width:Number(n)})})),200).throttled;return(0,o.Oo)(window,"resize",t,{capture:!0,passive:!0}).stop}(e.viewportResizeCb),k=function(e,t){function n(e){var n=e.target,i=(0,u.IE)(n,t);if(n&&n.tagName&&(0,o.q9)(v,n.tagName)&&i!==s.zx.HIDDEN){var a,l=n.type;if("radio"===l||"checkbox"===l){if((0,u.gR)(n,i))return;a={isChecked:n.checked}}else{var f=(0,c.Bu)(n,i);if(void 0===f)return;a={text:f}}r(n,a);var p=n.name;"radio"===l&&p&&n.checked&&(0,d.Ed)(document.querySelectorAll('input[type="radio"][name="'+p+'"]'),(function(e){e!==n&&r(e,{isChecked:!1})}))}}function r(t,n){if((0,c.lq)(t)){var r=g.get(t);r&&r.text===n.text&&r.isChecked===n.isChecked||(g.set(t,n),e((0,i.__assign)((0,i.__assign)({},n),{id:(0,c.SI)(t)})))}}var l=(0,o.yw)(document,["input","change"],n,{capture:!0,passive:!0}).stop,f=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),p=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"]],h=[];f&&f.set&&h.push.apply(h,p.map((function(e){return(0,d.yU)(e[0],e[1],{set:(0,a.zk)((function(){n({target:this})}))})})));return function(){h.forEach((function(e){return e()})),l()}}(e.inputCb,e.defaultPrivacyLevel),x=function(e,t){var n=function(n){var r=n.target;r&&(0,u.IE)(r,t)!==s.zx.HIDDEN&&(0,c.lq)(r)&&e({id:(0,c.SI)(r),type:"play"===n.type?l.bj.Play:l.bj.Pause})};return(0,o.yw)(document,["play","pause"],n,{capture:!0,passive:!0}).stop}(e.mediaInteractionCb,e.defaultPrivacyLevel),S=function(e){var t=CSSStyleSheet.prototype.insertRule;CSSStyleSheet.prototype.insertRule=function(n,r){var i=this;return(0,a.L6)((function(){(0,c.lq)(i.ownerNode)&&e({id:(0,c.SI)(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(0,a.L6)((function(){(0,c.lq)(r.ownerNode)&&e({id:(0,c.SI)(r.ownerNode),removes:[{index:t}]})})),n.call(this,t)},function(){CSSStyleSheet.prototype.insertRule=t,CSSStyleSheet.prototype.deleteRule=n}}(e.styleSheetRuleCb),T=(h=e.focusCb,(0,o.yw)(window,["focus","blur"],(function(){h({has_focus:document.hasFocus()})})).stop),C=function(e){if(!window.visualViewport)return o.ZT;var t=(0,o.P2)((0,a.zk)((function(){e((0,p.mt)())})),200,{trailing:!1}),n=t.throttled,r=t.cancel,i=(0,o.yw)(window.visualViewport,["resize","scroll"],n,{capture:!0,passive:!0}).stop;return function(){i(),r()}}(e.visualViewportResizeCb);return function(){y(),b(),_(),w(),E(),k(),x(),S(),T(),C()}}var m=((r={}).mouseup=l.Y2.MouseUp,r.mousedown=l.Y2.MouseDown,r.click=l.Y2.Click,r.contextmenu=l.Y2.ContextMenu,r.dblclick=l.Y2.DblClick,r.focus=l.Y2.Focus,r.blur=l.Y2.Blur,r.touchstart=l.Y2.TouchStart,r.touchend=l.Y2.TouchEnd,r);var v=["INPUT","TEXTAREA","SELECT"],g=new WeakMap},44803:function(e,t,n){"use strict";n.d(t,{Ch:function(){return s},FB:function(){return d},IE:function(){return a},SO:function(){return o},SZ:function(){return u},gR:function(){return c}});var r=n(91249),i=n(41493),o=1e5;function a(e,t){var n=e.parentNode?a(e.parentNode,t):t;return s(u(e),n)}function s(e,t){switch(t){case r.zx.HIDDEN:case r.zx.IGNORE:return t}switch(e){case r.zx.ALLOW:case r.zx.MASK:case r.zx.MASK_USER_INPUT:case r.zx.HIDDEN:case r.zx.IGNORE:return e;default:return t}}function u(e){if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)){var t=e.getAttribute(r.$n);if("BASE"===e.tagName)return r.zx.ALLOW;if("INPUT"===e.tagName){var n=e;if("password"===n.type||"email"===n.type||"tel"===n.type)return r.zx.MASK;if("hidden"===n.type)return r.zx.MASK;var o=n.getAttribute("autocomplete");if(o&&0===o.indexOf("cc-"))return r.zx.MASK}return t===r.nw||e.classList.contains(r.M_)?r.zx.HIDDEN:t===r.aN||e.classList.contains(r.B2)?r.zx.MASK:t===r.Eo||e.classList.contains(r.Bq)?r.zx.MASK_USER_INPUT:t===r.zu||e.classList.contains(r.Yg)?r.zx.ALLOW:(0,i.yl)(e)?r.zx.IGNORE:void 0}}function c(e,t){switch(t){case r.zx.MASK:case r.zx.HIDDEN:case r.zx.IGNORE:return!0;case r.zx.MASK_USER_INPUT:return function(e){return e.nodeType===e.TEXT_NODE}(e)?l(e.parentNode):l(e);default:return!1}}function l(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!!r.OT[t.tagName]}function d(e,t,n){var i,o=null===(i=e.parentElement)||void 0===i?void 0:i.tagName,a=e.textContent||"";if(!t||a.trim()){var s=n,u="STYLE"===o||void 0;if("SCRIPT"===o)a=r.k6;else if(s===r.zx.HIDDEN)a=r.k6;else if(c(e,s)&&!u)if("DATALIST"===o||"SELECT"===o||"OPTGROUP"===o){if(!a.trim())return}else a="OPTION"===o?r.k6:a.replace(/\S/g,"x");return a}}},31470:function(e,t,n){"use strict";n.d(t,{I:function(){return l}});var r=n(70655),i=n(48533),o=n(41493),a=n(51924),s=n(86833),u=n(71572),c=n(25523);function l(e){var t=e.emit;if(!t)throw new Error("emit function is required");var n=new u._p,l=function(){n.flush(),t({data:{height:(0,c.gp)(),href:window.location.href,width:(0,c.fM)()},type:i.o.Meta}),t({data:{has_focus:document.hasFocus()},type:i.o.Focus}),t({data:{node:(0,o.hX)(document,e.defaultPrivacyLevel),initialOffset:{left:(0,c.$1)(),top:(0,c.X_)()}},type:i.o.FullSnapshot}),window.visualViewport&&t({data:(0,c.mt)(),type:i.o.VisualViewport})};return l(),{stop:(0,a.mv)({mutationController:n,defaultPrivacyLevel:e.defaultPrivacyLevel,inputCb:function(e){return t({data:(0,r.__assign)({source:s.yh.Input},e),type:i.o.IncrementalSnapshot})},mediaInteractionCb:function(e){return t({data:(0,r.__assign)({source:s.yh.MediaInteraction},e),type:i.o.IncrementalSnapshot})},mouseInteractionCb:function(e){return t({data:(0,r.__assign)({source:s.yh.MouseInteraction},e),type:i.o.IncrementalSnapshot})},mousemoveCb:function(e,n){return t({data:{positions:e,source:n},type:i.o.IncrementalSnapshot})},mutationCb:function(e){return t({data:(0,r.__assign)({source:s.yh.Mutation},e),type:i.o.IncrementalSnapshot})},scrollCb:function(e){return t({data:(0,r.__assign)({source:s.yh.Scroll},e),type:i.o.IncrementalSnapshot})},styleSheetRuleCb:function(e){return t({data:(0,r.__assign)({source:s.yh.StyleSheetRule},e),type:i.o.IncrementalSnapshot})},viewportResizeCb:function(e){return t({data:(0,r.__assign)({source:s.yh.ViewportResize},e),type:i.o.IncrementalSnapshot})},focusCb:function(e){return t({type:i.o.Focus,data:e})},visualViewportResizeCb:function(e){t({data:e,type:i.o.VisualViewport})}}),takeFullSnapshot:l,flushMutations:function(){return n.flush()}}}},38136:function(e,t,n){"use strict";n.d(t,{An:function(){return c},Bu:function(){return l},GW:function(){return s},SI:function(){return u},lq:function(){return a}});var r=n(91249),i=n(44803),o=new WeakMap;function a(e){return o.has(e)}function s(e){for(var t=e;t;){if(!a(t))return!1;t=t.parentNode}return!0}function u(e){return o.get(e)}function c(e,t){o.set(e,t)}function l(e,t){var n=e.tagName,o=e.value;if((0,i.gR)(e,t)){var a=e.type;if("INPUT"===n&&("button"===a||"submit"===a||"reset"===a))return o;if(!o||"OPTION"===n)return;return r.k6}return"OPTION"===n||"SELECT"===n?e.value:"INPUT"===n||"TEXTAREA"===n?o:void 0}},41493:function(e,t,n){"use strict";n.d(t,{cJ:function(){return p},eD:function(){return l},hX:function(){return c},yl:function(){return d}});var r=n(70655),i=n(91249),o=n(44803),a=n(86833),s=n(38136),u=n(86914);function c(e,t){return l(e,{document:e,parentNodePrivacyLevel:t})}function l(e,t){var n=function(e,t){switch(e.nodeType){case e.DOCUMENT_NODE:return function(e,t){return{type:a.Jq.Document,childNodes:f(e,t)}}(e,t);case e.DOCUMENT_TYPE_NODE:return n=e,{type:a.Jq.DocumentType,name:n.name,publicId:n.publicId,systemId:n.systemId};case e.ELEMENT_NODE:return function(e,t){var n,u=v(e.tagName),c=(d=e,"svg"===d.tagName||d instanceof SVGElement||void 0),l=(0,o.Ch)((0,o.SZ)(e),t.parentNodePrivacyLevel);var d;if(l===i.zx.HIDDEN){var h=e.getBoundingClientRect(),m=h.width,y=h.height;return{type:a.Jq.Element,tagName:u,attributes:(n={rr_width:m+"px",rr_height:y+"px"},n[i.$n]=i.nw,n),childNodes:[],isSVG:c}}if(l===i.zx.IGNORE)return;var b=function(e,t){if(t===i.zx.HIDDEN)return{};for(var n={},r=v(e.tagName),a=e.ownerDocument,u=0;u<e.attributes.length;u+=1){var c=e.attributes.item(u).name,l=p(e,t,c);null!==l&&(n[c]=l)}if(e.value&&("textarea"===r||"select"===r||"option"===r||"input"===r)){var d=(0,s.Bu)(e,t);void 0!==d&&(n.value=d)}if("option"===r&&t===i.zx.ALLOW){var f=e;f.selected&&(n.selected=f.selected)}if("link"===r){var h=Array.from(a.styleSheets).find((function(t){return t.href===e.href}));(m=g(h))&&h&&(delete n.rel,delete n.href,n._cssText=m)}if("style"===r&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){var m;(m=g(e.sheet))&&(n._cssText=m)}var y=e;"input"!==r||"radio"!==y.type&&"checkbox"!==y.type||(t===i.zx.ALLOW?n.checked=!!y.checked:(0,o.gR)(y,t)&&(n.checked=i.k6));if("audio"===r||"video"===r){var b=e;n.rr_mediaState=b.paused?"paused":"played"}e.scrollLeft&&(n.rr_scrollLeft=Math.round(e.scrollLeft));e.scrollTop&&(n.rr_scrollTop=Math.round(e.scrollTop));return n}(e,l),_=[];if(e.childNodes.length){_=f(e,t.parentNodePrivacyLevel===l&&t.ignoreWhiteSpace===("head"===u)?t:(0,r.__assign)((0,r.__assign)({},t),{parentNodePrivacyLevel:l,ignoreWhiteSpace:"head"===u}))}return{type:a.Jq.Element,tagName:u,attributes:b,childNodes:_,isSVG:c}}(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=(0,o.FB)(e,t.ignoreWhiteSpace||!1,t.parentNodePrivacyLevel);if(!i)return;return{type:a.Jq.Text,textContent:i,isStyle:"STYLE"===r||void 0}}(e,t);case e.CDATA_SECTION_NODE:return{type:a.Jq.CDATA,textContent:""}}var n}(e,t);if(!n)return null;var u=(0,s.SI)(e)||h++,c=n;return c.id=u,(0,s.An)(e,u),t.serializedNodeIds&&t.serializedNodeIds.add(u),c}function d(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}function f(e,t){var n=[];return(0,u.Ed)(e.childNodes,(function(e){var r=l(e,t);r&&n.push(r)})),n}function p(e,t,n){if(t===i.zx.HIDDEN)return null;var r=e.getAttribute(n);if(t===i.zx.MASK){var a=e.tagName;switch(n){case"title":case"alt":return i.k6}if(!("IMG"!==a&&"SOURCE"!==a||"src"!==n&&"srcset"!==n))return i.Xn;if("A"===a&&"href"===n)return i.k6;if(r&&0===n.indexOf("data-")&&n!==i.$n)return i.k6}return r&&"string"==typeof r&&r.length>o.SO&&"data:"===r.slice(0,5)?"data:truncated":r}var h=1;var m=/[^a-z1-6-_]/;function v(e){var t=e.toLowerCase().trim();return m.test(t)?"div":t}function g(e){try{var t=e.rules||e.cssRules;return t?Array.from(t).map(y).join(""):null}catch(e){return null}}function y(e){return function(e){return"styleSheet"in e}(e)?g(e.styleSheet)||"":e.cssText}},86833:function(e,t,n){"use strict";var r;n.d(t,{Jq:function(){return i},Y2:function(){return o},bj:function(){return a},yh:function(){return r}}),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"}(r||(r={}));var i,o={MouseUp:0,MouseDown:1,Click:2,ContextMenu:3,DblClick:4,Focus:5,Blur:6,TouchStart:7,TouchEnd:9},a={Play:0,Pause: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"}(i||(i={}))},86914:function(e,t,n){"use strict";function r(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||{})}}function i(e){return Boolean(e.changedTouches)}function o(e,t){Array.prototype.forEach.call(e,t)}n.d(t,{Ed:function(){return o},yU:function(){return r},z6:function(){return i}})},25523:function(e,t,n){"use strict";n.d(t,{$1:function(){return s},X_:function(){return u},fM:function(){return o},gp:function(){return a},mt:function(){return i},nw:function(){return r}});var r=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},i=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 o(){var e=window.visualViewport;return e?e.width*e.scale:window.innerWidth||0}function a(){var e=window.visualViewport;return e?e.height*e.scale:window.innerHeight||0}function s(){var e=window.visualViewport;return e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0}function u(){var e=window.visualViewport;return e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0}},98290:function(e,t,n){"use strict";n.d(t,{FT:function(){return i},MA:function(){return u},pk:function(){return s},ui:function(){return o},xK:function(){return a}});var r;function i(e){return c(e).segments_count}function o(e){c(e).segments_count+=1}function a(e){c(e).records_count+=1}function s(e,t){c(e).segments_total_raw_size+=t}function u(e){return null==r?void 0:r.get(e)}function c(e){var t;return r||(r=new Map),r.has(e)?t=r.get(e):(t={records_count:0,segments_count:0,segments_total_raw_size:0},r.set(e,t),r.size>10&&function(){if(!r)return;if(r.keys)r.delete(r.keys().next().value);else{var e=!0;r.forEach((function(t,n){e&&(r.delete(n),e=!1)}))}}()),t}},24468:function(e,t,n){"use strict";var r;function i(){return r||(r=URL.createObjectURL(new Blob(["("+o+")(self)"]))),new Worker(r)}function o(){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,c=258,l=29,d=256,f=d+1+l,p=30,h=19,m=2*f+1,v=15,g=16,y=7,b=256,_=16,w=17,E=18,k=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,N=new Array(2*(f+2));i(N);var O=new Array(2*p);i(O);var A=new Array(C);i(A);var P=new Array(c-u+1);i(P);var L=new Array(l);i(L);var I,M,R,D=new Array(p);function j(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 Z(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}i(D);var B=function(e){return e<256?A[e]:A[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)},q=function(e,t,n){U(e,n[2*t],n[2*t+1])},z=function(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1},H=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)},V=function(e,t){var n,r,i,o,a,s,u=t.dyn_tree,c=t.max_code,l=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>c||(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*(l[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])>c||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}},W=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]=z(o[s]++,s))}},Y=function(){var e,t,n,r,i,o=new Array(v+1);for(n=0,r=0;r<l-1;r++)for(L[r]=n,e=0;e<1<<k[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++)A[i++]=r;for(i>>=7;r<p;r++)for(D[r]=i<<7,e=0;e<1<<x[r]-7;e++)A[256+i++]=r;for(t=0;t<=v;t++)o[t]=0;for(e=0;e<=143;)N[2*e+1]=8,e++,o[8]++;for(;e<=255;)N[2*e+1]=9,e++,o[9]++;for(;e<=279;)N[2*e+1]=7,e++,o[7]++;for(;e<=287;)N[2*e+1]=8,e++,o[8]++;for(W(N,f+1,o),e=0;e<p;e++)O[2*e+1]=5,O[2*e]=z(e,5);I=new j(N,k,d+1,f,v),M=new j(O,x,0,p,v),R=new j(new Array(0),S,0,h,y)},G=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},K=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},$=function(e,t,n,r){K(e),r&&(F(e,n),F(e,~n)),e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},X=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]},J=function(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&X(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!X(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},Q=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?q(e,i,t):(o=P[i],q(e,o+d+1,t),0!==(a=k[o])&&(i-=L[o],U(e,i,a)),r--,o=B(r),q(e,o,n),0!==(a=x[o])&&(r-=D[o],U(e,r,a)))}while(s<e.last_lit);q(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,c=-1;for(e.heap_len=0,e.heap_max=m,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)J(e,o,n);i=u;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],J(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++,J(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],V(e,t),W(o,c,e.bl_count)},te=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=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<c?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*E]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))},ne=function(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)do{q(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(q(e,i,e.bl_tree),s--),q(e,_,e.bl_tree),U(e,s-3,2)):s<=10?(q(e,w,e.bl_tree),U(e,s-3,3)):(q(e,E,e.bl_tree),U(e,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}},re=function(e){var t;for(te(e,e.dyn_ltree,e.l_desc.max_code),te(e,e.dyn_dtree,e.d_desc.max_code),ee(e,e.bl_desc),t=h-1;t>=3&&0===e.bl_tree[2*T[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t},ie=function(e,t,n,r){var i;for(U(e,t-257,5),U(e,n-1,5),U(e,r-4,4),i=0;i<r;i++)U(e,e.bl_tree[2*T[i]+1],3);ne(e,e.dyn_ltree,t-1),ne(e,e.dyn_dtree,n-1)},oe=function(e){var r,i=4093624447;for(r=0;r<=31;r++,i>>>=1)if(1&i&&0!==e.dyn_ltree[2*r])return t;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return n;for(r=32;r<d;r++)if(0!==e.dyn_ltree[2*r])return n;return t},ae=!1,se=function(e,t,n,r){U(e,(o<<1)+(r?1:0),3),$(e,t,n,!0)},ue=function(t,n,i,o){var u,c,l=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),l=re(t),u=t.opt_len+3+7>>>3,(c=t.static_len+3+7>>>3)<=u&&(u=c)):u=c=i+5,i+4<=u&&-1!==n?se(t,n,i,o):t.strategy===e||c===u?(U(t,(a<<1)+(o?1:0),3),Q(t,N,O)):(U(t,(s<<1)+(o?1:0),3),ie(t,t.l_desc.max_code+1,t.d_desc.max_code+1,l+1),Q(t,t.dyn_ltree,t.dyn_dtree)),G(t),o&&K(t)},ce={_tr_init:function(e){ae||(Y(),ae=!0),e.l_desc=new Z(e.dyn_ltree,I),e.d_desc=new Z(e.dyn_dtree,M),e.bl_desc=new Z(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,G(e)},_tr_stored_block:se,_tr_flush_block:ue,_tr_tally: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},_tr_align:function(e){U(e,a<<1,3),q(e,b,N),H(e)}},le=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},de=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}()),fe=function(e,t,n,r){var i=de,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return-1^e},pe={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"},he={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},me=ce._tr_init,ve=ce._tr_stored_block,ge=ce._tr_flush_block,ye=ce._tr_tally,be=ce._tr_align,_e=he.Z_NO_FLUSH,we=he.Z_PARTIAL_FLUSH,Ee=he.Z_FULL_FLUSH,ke=he.Z_FINISH,xe=he.Z_BLOCK,Se=he.Z_OK,Te=he.Z_STREAM_END,Ce=he.Z_STREAM_ERROR,Ne=he.Z_DATA_ERROR,Oe=he.Z_BUF_ERROR,Ae=he.Z_DEFAULT_COMPRESSION,Pe=he.Z_FILTERED,Le=he.Z_HUFFMAN_ONLY,Ie=he.Z_RLE,Me=he.Z_FIXED,Re=he.Z_DEFAULT_STRATEGY,De=he.Z_UNKNOWN,je=he.Z_DEFLATED,Ze=9,Be=15,Fe=8,Ue=286,qe=30,ze=19,He=2*Ue+1,Ve=15,We=3,Ye=258,Ge=Ye+We+1,Ke=32,$e=42,Xe=69,Je=73,Qe=91,et=103,tt=113,nt=666,rt=1,it=2,ot=3,at=4,st=3,ut=function(e,t){return e.msg=pe[t],t},ct=function(e){return(e<<1)-(e>4?9:0)},lt=function(e){for(var t=e.length;--t>=0;)e[t]=0},dt=function(e,t,n){return(t<<e.hash_shift^n)&e.hash_mask},ft=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))},pt=function(e,t){ge(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ft(e.strm)},ht=function(e,t){e.pending_buf[e.pending++]=t},mt=function(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t},vt=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=le(e.adler,t,i,n):2===e.state.wrap&&(e.adler=fe(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},gt=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-Ge?e.strstart-(e.w_size-Ge):0,c=e.window,l=e.w_mask,d=e.prev,f=e.strstart+Ye,p=c[o+a-1],h=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===h&&c[n+a-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<f);if(r=Ye-(f-o),o=f-Ye,r>a){if(e.match_start=t,a=r,r>=s)break;p=c[o+a-1],h=c[o+a]}}}while((t=d[t&l])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead},yt=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-Ge)){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=vt(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=We)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=dt(e,e.ins_h,e.window[o+1]);e.insert&&(e.ins_h=dt(e,e.ins_h,e.window[o+We-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<We)););}while(e.lookahead<Ge&&0!==e.strm.avail_in)},bt=function(e,t){for(var n,r;;){if(e.lookahead<Ge){if(yt(e),e.lookahead<Ge&&t===_e)return rt;if(0===e.lookahead)break}if(n=0,e.lookahead>=We&&(e.ins_h=dt(e,e.ins_h,e.window[e.strstart+We-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-Ge&&(e.match_length=gt(e,n)),e.match_length>=We)if(r=ye(e,e.strstart-e.match_start,e.match_length-We),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=We){e.match_length--;do{e.strstart++,e.ins_h=dt(e,e.ins_h,e.window[e.strstart+We-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=dt(e,e.ins_h,e.window[e.strstart+1]);else r=ye(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=e.strstart<We-1?e.strstart:We-1,t===ke?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},_t=function(e,t){for(var n,r,i;;){if(e.lookahead<Ge){if(yt(e),e.lookahead<Ge&&t===_e)return rt;if(0===e.lookahead)break}if(n=0,e.lookahead>=We&&(e.ins_h=dt(e,e.ins_h,e.window[e.strstart+We-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=We-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Ge&&(e.match_length=gt(e,n),e.match_length<=5&&(e.strategy===Pe||e.match_length===We&&e.strstart-e.match_start>4096)&&(e.match_length=We-1)),e.prev_length>=We&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-We,r=ye(e,e.strstart-1-e.prev_match,e.prev_length-We),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=dt(e,e.ins_h,e.window[e.strstart+We-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=We-1,e.strstart++,r&&(pt(e,!1),0===e.strm.avail_out))return rt}else if(e.match_available){if((r=ye(e,0,e.window[e.strstart-1]))&&pt(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return rt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=ye(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<We-1?e.strstart:We-1,t===ke?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},wt=function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=Ye){if(yt(e),e.lookahead<=Ye&&t===_e)return rt;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=We&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+Ye;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=Ye-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=We?(n=ye(e,1,e.match_length-We),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=ye(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===ke?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it},Et=function(e,t){for(var n;;){if(0===e.lookahead&&(yt(e),0===e.lookahead)){if(t===_e)return rt;break}if(e.match_length=0,n=ye(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===ke?(pt(e,!0),0===e.strm.avail_out?ot:at):e.last_lit&&(pt(e,!1),0===e.strm.avail_out)?rt:it};function kt(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 xt=[new kt(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(yt(e),0===e.lookahead&&t===_e)return rt;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,pt(e,!1),0===e.strm.avail_out))return rt;if(e.strstart-e.block_start>=e.w_size-Ge&&(pt(e,!1),0===e.strm.avail_out))return rt}return e.insert=0,t===ke?(pt(e,!0),0===e.strm.avail_out?ot:at):(e.strstart>e.block_start&&(pt(e,!1),e.strm.avail_out),rt)})),new kt(4,4,8,4,bt),new kt(4,5,16,8,bt),new kt(4,6,32,32,bt),new kt(4,4,16,16,_t),new kt(8,16,32,32,_t),new kt(8,16,128,128,_t),new kt(8,32,128,256,_t),new kt(32,128,258,1024,_t),new kt(32,258,258,4096,_t)],St=function(e){e.window_size=2*e.w_size,lt(e.head),e.max_lazy_match=xt[e.level].max_lazy,e.good_match=xt[e.level].good_length,e.nice_match=xt[e.level].nice_length,e.max_chain_length=xt[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=We-1,e.match_available=0,e.ins_h=0};function Tt(){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*He),this.dyn_dtree=new Uint16Array(2*(2*qe+1)),this.bl_tree=new Uint16Array(2*(2*ze+1)),lt(this.dyn_ltree),lt(this.dyn_dtree),lt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Ve+1),this.heap=new Uint16Array(2*Ue+1),lt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Ue+1),lt(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 Ct=function(e){if(!e||!e.state)return ut(e,Ce);e.total_in=e.total_out=0,e.data_type=De;var t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?$e:tt,e.adler=2===t.wrap?0:1,t.last_flush=_e,me(t),Se},Nt=function(e){var t=Ct(e);return t===Se&&St(e.state),t},Ot=function(e,t,n,r,i,o){if(!e)return Ce;var a=1;if(t===Ae&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>Ze||n!==je||r<8||r>15||t<0||t>9||o<0||o>Me)return ut(e,Ce);8===r&&(r=9);var s=new Tt;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+We-1)/We),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,Nt(e)},At={deflateInit:function(e,t){return Ot(e,t,je,Be,Fe,Re)},deflateInit2:Ot,deflateReset:Nt,deflateResetKeep:Ct,deflateSetHeader:function(e,t){return e&&e.state?2!==e.state.wrap?Ce:(e.state.gzhead=t,Se):Ce},deflate:function(e,t){var n,r;if(!e||!e.state||t>xe||t<0)return e?ut(e,Ce):Ce;var i=e.state;if(!e.output||!e.input&&0!==e.avail_in||i.status===nt&&t!==ke)return ut(e,0===e.avail_out?Oe:Ce);i.strm=e;var o=i.last_flush;if(i.last_flush=t,i.status===$e)if(2===i.wrap)e.adler=0,ht(i,31),ht(i,139),ht(i,8),i.gzhead?(ht(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)),ht(i,255&i.gzhead.time),ht(i,i.gzhead.time>>8&255),ht(i,i.gzhead.time>>16&255),ht(i,i.gzhead.time>>24&255),ht(i,9===i.level?2:i.strategy>=Le||i.level<2?4:0),ht(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(ht(i,255&i.gzhead.extra.length),ht(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=fe(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=Xe):(ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,0),ht(i,9===i.level?2:i.strategy>=Le||i.level<2?4:0),ht(i,st),i.status=tt);else{var a=je+(i.w_bits-8<<4)<<8;a|=(i.strategy>=Le||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=Ke),a+=31-a%31,i.status=tt,mt(i,a),0!==i.strstart&&(mt(i,e.adler>>>16),mt(i,65535&e.adler)),e.adler=1}if(i.status===Xe)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=fe(e.adler,i.pending_buf,i.pending-n,n)),ft(e),n=i.pending,i.pending!==i.pending_buf_size));)ht(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(e.adler=fe(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=fe(e.adler,i.pending_buf,i.pending-n,n)),ft(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,ht(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=fe(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=Qe)}else i.status=Qe;if(i.status===Qe)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(e.adler=fe(e.adler,i.pending_buf,i.pending-n,n)),ft(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,ht(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(e.adler=fe(e.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=et)}else i.status=et;if(i.status===et&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&ft(e),i.pending+2<=i.pending_buf_size&&(ht(i,255&e.adler),ht(i,e.adler>>8&255),e.adler=0,i.status=tt)):i.status=tt),0!==i.pending){if(ft(e),0===e.avail_out)return i.last_flush=-1,Se}else if(0===e.avail_in&&ct(t)<=ct(o)&&t!==ke)return ut(e,Oe);if(i.status===nt&&0!==e.avail_in)return ut(e,Oe);if(0!==e.avail_in||0!==i.lookahead||t!==_e&&i.status!==nt){var s=i.strategy===Le?Et(i,t):i.strategy===Ie?wt(i,t):xt[i.level].func(i,t);if(s!==ot&&s!==at||(i.status=nt),s===rt||s===ot)return 0===e.avail_out&&(i.last_flush=-1),Se;if(s===it&&(t===we?be(i):t!==xe&&(ve(i,0,0,!1),t===Ee&&(lt(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),ft(e),0===e.avail_out))return i.last_flush=-1,Se}return t!==ke?Se:i.wrap<=0?Te:(2===i.wrap?(ht(i,255&e.adler),ht(i,e.adler>>8&255),ht(i,e.adler>>16&255),ht(i,e.adler>>24&255),ht(i,255&e.total_in),ht(i,e.total_in>>8&255),ht(i,e.total_in>>16&255),ht(i,e.total_in>>24&255)):(mt(i,e.adler>>>16),mt(i,65535&e.adler)),ft(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?Se:Te)},deflateEnd:function(e){if(!e||!e.state)return Ce;var t=e.state.status;return t!==$e&&t!==Xe&&t!==Je&&t!==Qe&&t!==et&&t!==tt&&t!==nt?ut(e,Ce):(e.state=null,t===tt?ut(e,Ne):Se)},deflateSetDictionary:function(e,t){var n=t.length;if(!e||!e.state)return Ce;var r=e.state,i=r.wrap;if(2===i||1===i&&r.status!==$e||r.lookahead)return Ce;if(1===i&&(e.adler=le(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){0===i&&(lt(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,yt(r);r.lookahead>=We;){var c=r.strstart,l=r.lookahead-(We-1);do{r.ins_h=dt(r,r.ins_h,r.window[c+We-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++}while(--l);r.strstart=c,r.lookahead=We-1,yt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=We-1,r.match_available=0,e.next_in=s,e.input=u,e.avail_in=a,r.wrap=i,Se},deflateInfo:"pako deflate (from Nodeca project)"};function Pt(e){return Pt="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},Pt(e)}var Lt=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},It=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==Pt(n))throw new TypeError(n+"must be non-object");for(var r in n)Lt(n,r)&&(e[r]=n[r])}}return e},Mt={assign:It,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 Rt=new Uint8Array(256),Dt=0;Dt<256;Dt++)Rt[Dt]=Dt>=252?6:Dt>=248?5:Dt>=240?4:Dt>=224?3:Dt>=192?2:1;function jt(){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}Rt[254]=Rt[254]=1;var Zt=jt,Bt=Object.prototype.toString,Ft=he.Z_NO_FLUSH,Ut=he.Z_SYNC_FLUSH,qt=he.Z_FULL_FLUSH,zt=he.Z_FINISH,Ht=he.Z_OK,Vt=he.Z_STREAM_END,Wt=he.Z_DEFAULT_COMPRESSION,Yt=he.Z_DEFAULT_STRATEGY,Gt=he.Z_DEFLATED;function Kt(e){this.options=Mt.assign({level:Wt,method:Gt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Yt},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Zt,this.strm.avail_out=0;var n=At.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Ht)throw new Error(pe[n]);if(t.header&&At.deflateSetHeader(this.strm,t.header),t.dictionary){var r;if(r="[object ArrayBuffer]"===Bt.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=At.deflateSetDictionary(this.strm,r))!==Ht)throw new Error(pe[n]);this._dict_set=!0}}function $t(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 Kt.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?zt:Ft,"[object ArrayBuffer]"===Bt.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===Ut||r===qt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=At.deflate(i,r))===Vt)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=At.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Ht;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},Kt.prototype.onData=function(e){this.chunks.push(e)},Kt.prototype.onEnd=function(e){e===Ht&&(this.result=Mt.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},{Deflate:Kt,constants:he,string2buf:$t}}(),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}})))}))()}n.d(t,{x:function(){return i}})},85233:function(e,t,n){"use strict";n.d(t,{cW:function(){return r.cW},gm:function(){return i.gm}});var r=n(76848),i=n(8905)},53145:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(70655),i=n(49015),o=n(48533),a=n(98290),s=0,u=function(){function e(e,t,n,u,c,l){var d=this;this.worker=e,this.isFlushed=!1,this.id=s++;var f=t.view.id;this.metadata=(0,r.__assign)({start:u.timestamp,end:u.timestamp,creation_reason:n,records_count:1,has_full_snapshot:u.type===o.o.FullSnapshot,index_in_view:a.FT(f)},t),a.ui(f),a.xK(f);var p=(0,i.zk)((function(t){var n=t.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===d.id?(a.pk(f,n.additionalRawSize),"flushed"===n.type?(l(n.result,n.rawSize),e.removeEventListener("message",p)):c(n.compressedSize)):n.id>d.id&&(e.removeEventListener("message",p),(0,i.tV)("Segment did not receive a 'flush' response before being replaced.")))}));e.addEventListener("message",p),this.worker.postMessage({data:'{"records":['+JSON.stringify(u),id:this.id,action:"write"})}return e.prototype.addRecord=function(e){var t;this.metadata.end=e.timestamp,this.metadata.records_count+=1,a.xK(this.metadata.view.id),(t=this.metadata).has_full_snapshot||(t.has_full_snapshot=e.type===o.o.FullSnapshot),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}()},76848:function(e,t,n){"use strict";n.d(t,{cW:function(){return c}});var r=n(64828),i=n(49015),o=n(87553),a=n(35554),s=n(53145),u=a.ZM;function c(e,t,n,a,c,l){return function(e,t,n,a,c){void 0===c&&(c=window);var l={status:0,nextSegmentCreationReason:"init"},d=e.subscribe(o.Y5.VIEW_CREATED,(function(){h("view_change")})).unsubscribe,f=e.subscribe(o.Y5.BEFORE_UNLOAD,(function(){h("before_unload")})).unsubscribe,p=(0,r.Oo)(c,"visibilitychange",(function(){"hidden"===document.visibilityState&&h("visibility_hidden")}),{capture:!0}).stop;function h(e){1===l.status&&(l.segment.flush(e||"sdk_stopped"),clearTimeout(l.expirationTimeoutId)),l=e?{status:0,nextSegmentCreationReason:e}:{status:2}}function m(e,r){var o=t();if(o){var c=new s.X(a,o,e,r,(function(e){!c.isFlushed&&e>u&&h("max_size")}),(function(e,t){n(e,c.metadata,t,c.flushReason)}));l={status:1,segment:c,expirationTimeoutId:setTimeout((0,i.zk)((function(){h("max_duration")})),3e4)}}}return{addRecord:function(e){switch(l.status){case 0:m(l.nextSegmentCreationReason,e);break;case 1:l.segment.addRecord(e)}},stop:function(){h(),d(),f(),p()}}}(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,a)}),c,l)}},8905:function(e,t,n){"use strict";n.d(t,{gm:function(){return u}});var r=n(49015),i=n(13842),o=n(64828),a=n(24468),s={status:0};function u(e,t){switch(void 0===t&&(t=a.x),s.status){case 0:s={status:1,callbacks:[e]},function(e){void 0===e&&(e=a.x);try{var t=e();t.addEventListener("error",(0,r.zk)(c)),t.addEventListener("message",(0,r.zk)((function(e){var n,r=e.data;"errored"===r.type?c(r.error):"initialized"===r.type&&(n=t,1===s.status&&(s.callbacks.forEach((function(e){return e(n)})),s={status:3,worker:n}))}))),t.postMessage({action:"init"})}catch(e){c(e)}}(t);break;case 1:s.callbacks.push(e);break;case 2:e();break;case 3:e(s.worker)}}function c(e){1===s.status?(i.j.error("Session Replay recording failed to start: an error occurred while creating the Worker:",e),e instanceof Event||e instanceof Error&&(0,o.q9)(e.message,"Content Security Policy")?i.j.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):(0,r.ot)(e),s.callbacks.forEach((function(e){return e()})),s={status:2}):(0,r.ot)(e)}},67337:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(8678),i=n(64828),o=n(87553),a=n(38527),s=(0,n(51140).N)(a.S),u=(0,o._r)(o.iB,s);(0,r.y)((0,i.Rf)(),"DD_RUM",u)},35554:function(e,t,n){"use strict";n.d(t,{ZM:function(){return o},lW:function(){return a}});var r=n(62097),i=n(64828),o=6e4;function a(e,t,n,i,a){var u=new FormData;u.append("segment",new Blob([t],{type:"application/octet-stream"}),n.session.id+"-"+n.start),s(n,(function(e,t){return u.append(e,t)})),u.append("raw_segment_size",i.toString()),new r.a(e,o).send(u,t.byteLength,a)}function s(e,t,n){void 0===n&&(n=""),(0,i.qP)(e).forEach((function(e){var r=e[0],i=e[1];"object"==typeof i&&null!==i?s(i,t,""+n+r+"."):t(""+n+r,String(i))}))}},48533:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});n(95314);var r={FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Focus:6,ViewEnd:7,VisualViewport:8}},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),c="function"==typeof t?t.apply(null,e):t;r.push(u,c),i=s+o.length})),r.push(n.slice(i)),r}},67274:function(e,t,n){"use strict";var r=n(81473),i=function(e){return e?parseFloat((parseInt(e,16)/255).toFixed(2)):1};t.Z=function(e){var t=(0,r.Z)(e),n=t.slice(0,6),o=t.slice(6),a=parseInt(n,16);return[a>>16&255,a>>8&255,a>>0&255,i(o)]}},81473:function(e,t){"use strict";t.Z=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}},3207:function(e,t,n){"use strict";n.d(t,{O:function(){return r}});var r=function(e,t,n,r){void 0===r&&(r=!1),n.addEventListener(e,t,r)}},5244:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});var r=function(e,t){return t.appendChild(e)}},87965:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});var r=function(e){null==e||e.blur()}},75524:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){return void 0===e&&(e=!0),t.cloneNode(e)}},17502:function(e,t,n){"use strict";n.d(t,{a:function(){return r}});var r=function(e){return document.createElement(e)}},88819:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=function(e,t){void 0===e&&(e={preventScroll:!1}),null==t||t.focus(e)}},25581:function(e,t,n){"use strict";n.d(t,{T:function(){return r}});var r=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)}}},67839:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});var r=function(e,t){return t.getAttribute(e)}},23637:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var r=function(e){return e?e.getBoundingClientRect():{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0}}},60299:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(57367),i=n(73989),o=function(e,t,n){var o=(0,i.b)()/(e+n),a=(0,r.W)()/(t+n);return Math.min(o,a)}},79020:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(60299),i=function(e,t,n,i,o){var a=(0,r.V)(t,i,o),s=t>i?t/e:i/n;return a>1?s:a*s}},18606:function(e,t,n){"use strict";n.d(t,{C:function(){return r}});var r=function(e){return e.style}},6350:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(18606),i=function(e,t){return(0,r.C)(t)[e]}},57367:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var r=function(){return window.innerHeight}},73989:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var r=function(){return window.innerWidth}},41117:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var r=function(e,t){t.removeAttribute(e)}},33206:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=function(e,t){t.contains(e)&&t.removeChild(e)}},62050:function(e,t,n){"use strict";n.d(t,{x:function(){return r}});var r=function(e,t,n,r){void 0===r&&(r=!1),n.removeEventListener(e,t,r)}},89213:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var r=function(e,t,n){return n.setAttribute(e,t)}},27126:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});var r=function(e,t,n,r){r.style.setProperty(t,n,e)}},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 c={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(c.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var l=s.path,d=l.substring(0,l.lastIndexOf("/")+1)+a.path;c.path=o.normalizePath(d)}else c.path=s.path,a.params||(c.params=s.params,a.query||(c.query=s.query));return null===c.path&&(c.path=r.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(c)},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=c.response?c.response:c.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}(c),v)try{e=JSON.parse(e)}catch(e){}return e}function i(e){return clearTimeout(l),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,n(e,g)}function o(){if(!u){var t;clearTimeout(l),t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status;var i=g,o=null;return 0!==t?(i={body:r(),statusCode:t,method:f,headers:{},url:d,rawRequest:c},c.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}(c.getAllResponseHeaders()))):o=new Error("Internal XMLHttpRequest Error"),n(o,i,i.body)}}var a,u,c=e.xhr||null;c||(c=e.cors||e.useXDR?new s.XDomainRequest:new s.XMLHttpRequest);var l,d=c.url=e.uri||e.url,f=c.method=e.method||"GET",p=e.body||e.data,h=c.headers=e.headers||{},m=!!e.sync,v=!1,g={body:void 0,headers:{},statusCode:0,method:f,url:d,rawRequest:c};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))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(o,0)},c.onload=o,c.onerror=i,c.onprogress=function(){},c.onabort=function(){u=!0},c.ontimeout=i,c.open(f,d,!m,e.username,e.password),m||(c.withCredentials=!!e.withCredentials),!m&&e.timeout>0&&(l=setTimeout((function(){if(!u){u=!0,c.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",i(e)}}),e.timeout)),c.setRequestHeader)for(a in h)h.hasOwnProperty(a)&&c.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&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(p||null),c}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),c=n(85061);e.exports=function(e){return new Promise((function(t,l){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,l,r),p=null}},p.onabort=function(){p&&(l(c("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){l(c("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(c(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(),l(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 c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,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:c,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++)c(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++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},28092:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return fa}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(12088),f=n.n(d),p=n(67294),h=n(50554),m=n(22727),v=n(22673),g=n.n(v),y=n(49611),b=n.n(y),_=n(31425),w=n.n(_),E=n(50557),k=n.n(E),x=n(13657),S=n.n(x),T=n(416),C=n.n(T),N=n(74249),O=n(16550),A=n(27498),P=n(15729),L=n(83448),I=n(75705),M=n(89830),R=n(58539),D=n(52365),j=n(95242),Z=n(45697),B=n.n(Z),F=n(12868),U=n(94184),q=n.n(U),z=n(67294);function H(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var V=function(e){(0,u.Z)(n,e);var t=H(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"handleCloseClick",value:function(){var e,t;null===(e=(t=this.props).onClose)||void 0===e||e.call(t)}},{key:"handleKeyUp",value:function(e){var t=this.props,n=t.confirmDisabled,r=t.onConfirm;(0,F.$o)(e)?this.handleCloseClick():(0,F.r$)(e)&&!n&&r()}},{key:"componentDidMount",value:function(){(document.addEventListener("keyup",this.keyupRef=this.handleKeyUp.bind(this)),this.props.disableBackgroundScroll)&&(document.scrollingElement||document.documentElement).classList.add("no-scroll")}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keyup",this.keyupRef),(document.scrollingElement||document.documentElement).classList.remove("no-scroll")}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.darkOverlay,r=e.footer,i=e.forceToTop,o=void 0!==i&&i,a=e.heading,s=e.hideCloseButton,u=void 0!==s&&s,c=e.hideHeader,l=void 0!==c&&c,d=e.subHeading,f=e.subText,p=e.children,h=e.width,m=e.scroll,v=void 0!==m&&m,g=q()("modal",t,{"modal--force_to_top":o}),y=q()("modal__content",{"modal__content--with-footer":Boolean(r),"modal__content--force-scroll":Boolean(v)}),b=q()("modal__overlay",{"modal__overlay--dark":Boolean(n)});return z.createElement("div",{className:g,"data-ba":this.props["data-ba"]},z.createElement("div",{className:b,onClick:this.handleCloseClick.bind(this)}),z.createElement("div",{className:"modal__dialog",style:h?{width:h}:{}},!u&&z.createElement("div",{className:"modal__close",onClick:this.handleCloseClick.bind(this)},z.createElement("i",{className:"icon icon-remove"})),!l&&z.createElement("div",{className:"modal__header"},z.createElement("h1",{className:"modal__heading"},a,z.createElement("span",{className:"modal__subheading"},d)),f?z.createElement("h2",{className:"modal__subtitle"},f):[]),z.createElement("div",{className:y},p),r&&z.createElement(z.Fragment,null,z.createElement("div",{className:"modal__footer-shadow"}),z.createElement("div",{className:"modal__footer"},r))))}}],[{key:"propTypes",get:function(){return{confirmDisabled:B().bool,darkOverlay:B().bool,onClose:B().func,onConfirm:B().func.isRequired}}}]),n}(z.Component),W=function(e){var t=e.onClose;return p.createElement(V,{hideCloseButton:!0,hideHeader:!0,onClose:t,onConfirm:t,width:440},p.createElement("div",{className:"base-modal__content base-modal__content--centered"},p.createElement("p",null,"External links are disabled in trial accounts."),p.createElement("div",{className:"base-modal__btns"},p.createElement(j.Z,{inverted:!0,onClick:t},"OKAY"))))},Y=n(85541),G=n(5992),K=n(72131),$=n(19755),X=n.n($),J=n(73126),Q=n(50047),ee=n.n(Q),te=n(30699),ne=n.n(te),re=n(44721),ie=n.n(re),oe=n(88066),ae=n.n(oe),se=n(45582),ue=n.n(se),ce=n(66497),le=n.n(ce),de=n(54405),fe=n.n(de),pe=n(51383),he=n.n(pe),me=n(42157),ve=n.n(me),ge=n(61894),ye=n.n(ge),be=n(4603),_e=n.n(be),we=n(62848),Ee=n.n(we),ke=n(63266),xe=n.n(ke),Se=n(23493),Te=n.n(Se),Ce=n(36650),Ne=n(46376),Oe=n.n(Ne),Ae=n(27601),Pe=n.n(Ae),Le=n(54782),Ie=n.n(Le),Me=n(53176),Re=n.n(Me),De=n(73935),je=n(26485),Ze=n(31002),Be=n(84330),Fe=n(95639),Ue=n(89975),qe=n(52478),ze=n.n(qe),He=n(1762),Ve=n(72535),We=n(67294),Ye=(0,h.$j)((function(e){return{partnerContent:Ie()([],["partnerContent","content"],e)}}))((function(e){var t=e.animateBlockEntrance,n=e.color,r=e.courseId,i=e.courseTitle,o=e.data,a=o.id,s=o.type,u=o.items,c=e.enableVideoPlaybackSpeed,l=e.handleNavigate,d=e.handleStorylineFullscreen,f=e.labels,p=e.lessonHeader,h=e.lessonProgress,m=e.loadMedia,v=e.match,g=e.menuButtons,y=e.menuOpen,b=e.nextComponent,_=e.nextLesson,w=e.partnerContent,E=e.prefersKeyboardNavigation,k=e.previewType,x=e.previousComponent,S=e.publishedAt,T=e.tenantId;return We.createElement(Ve.ZP,{type:s},x,We.createElement(Ve.FE,{type:s},g,p,We.createElement(Ve.JH,null,We.createElement(He.Z,{animateBlockEntrance:t,blocks:u,color:n,courseId:r,courseTitle:i,enableVideoPlaybackSpeed:c,handleNavigate:l,handleStorylineFullscreen:d,isFirstLesson:!0,labels:f,lessonId:a,lessonProgress:h,loadMedia:m,match:v,menuOpen:y,nextLesson:_,partnerContent:w,previewType:k,prefersKeyboardNavigation:E,publishedAt:S,tenantId:T,type:s}))),ze()("isComplete",h)?b:null)})),Ge=n(11456),Ke=n(67294),$e=function(e){var t=e.data,n=t.id,r=t.items,i=t.type,o=e.labels,a=e.lessonHeader,s=e.lessonProgress,u=e.menuButtons,c=e.nextComponent,l=e.previousComponent;return Ke.createElement(Ve.ZP,{type:i},l,Ke.createElement(Ve.FE,{type:i},u,a,Ke.createElement(Ve.JH,null,Ke.createElement(Ge.Z,{id:n,items:r,labels:o,lessonProgress:s}))),c)},Xe=n(27028),Je=n(78687),Qe=n(69532),et=n(67294);function tt(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var nt=function(e){var t,n,r,i,o=e.authorName,a=e.avatar,s=e.children,u=e.description,c=e.labels,l=e.lessonNumber,d=e.partnerContentAuthors,f=e.showLessonCount,p=e.title,h=e.totalLessons,m=c.lessonName,v=c.lessonPreposition,g=function(e){return"url(".concat((0,Qe.NY)({width:"76",height:"76",imageKey:e.image}),")")},y=f&&et.createElement("div",{className:"lesson-header__count"},ae()(t=ae()(n=ae()(r="".concat(m," ")).call(r,l," ")).call(n,v," ")).call(t,h));return et.createElement("div",{className:"lesson-header"},et.createElement("div",{className:"lesson-header__top-wrap brand--afterBackground"},et.createElement(Xe.Z,{className:"lesson-header__title brand--lhead",tagName:"h1",value:p}),d&&et.createElement("div",{className:"lesson-header__partner-content"},ee()(d).call(d,(function(e){return et.createElement("div",{key:e.name,className:"lesson-header__partner-content-author"},et.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:g(e)}}),et.createElement("div",null,et.createElement("span",{className:"visually-hidden"},"by ",e.name),et.createElement("span",{"aria-hidden":"true"},e.name)))}))),a&&o&&!d?et.createElement("div",{className:"lesson-header__author brand--ui"},et.createElement("img",{className:"lesson-header__author-img",src:(0,K.i3)("".concat(a)),alt:""}),et.createElement("span",{className:"visually-hidden"},"by ",o),et.createElement("span",{"aria-hidden":"true"},o)):null,et.createElement("div",{className:"lesson-header__counter brand--body brand--linkColor"},y)),ee()(i=et.Children).call(i,s,(function(e){return e&&e.type===Ue.Z?et.createElement("div",{className:"lesson-header__audio"},e):null})),et.createElement(Xe.Z,{className:"lesson-header__description brand--lbody brand--linkColor",value:u}))},rt=function(e){(0,u.Z)(n,e);var t=tt(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e,t=this.props.children;return et.createElement("header",{className:"page__header"},et.createElement("div",{className:"page__header-limit"},et.createElement("div",{className:"page__header-container"},et.createElement("div",{className:"lesson-header__row"},et.createElement("div",{className:"lesson-header__main"},et.createElement(nt,this.props)))),ee()(e=et.Children).call(e,t,(function(e){return e&&e.type!==Je.Z?null:e}))))}}],[{key:"propTypes",get:function(){return{authorName:B().string,avatar:B().string,description:B().string,showLessonCount:B().bool,steps:B().number,title:B().string.isRequired,type:B().string.isRequired}}}]),n}(et.Component),it=n(16415),ot=n(67294),at=function(e){var t=e.labels,n=e.lessonHeader,r=e.lessonProgress,i=e.menuButtons,o=e.nextComponent,a=e.previousComponent,s=e.data,u=s.id,c=s.items,l=s.media,d=s.type;return ot.createElement(Ve.ZP,{type:d},a,ot.createElement(Ve.FE,{type:d},i,n,ot.createElement(Ve.JH,null,ot.createElement(it.Z,{id:u,items:c,labels:t,lessonProgress:r,image:l.image}))),o)},st=n(73727),ut=n(74081),ct=n(29891),lt=n(67927),dt=n(31826),ft=n(67294);function pt(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var ht=ut.S.learn.course.lesson,mt=function(e){var t=e.courseFinishLabel,n=e.onNextClick;return ft.createElement("div",{className:"next-lesson brand--linkColorHover"},ft.createElement(st.rU,{className:"next-lesson__link",onClick:n,to:"/lessons/progress-summary"},ft.createElement("div",{className:"next-lesson__name brand--ui"},t),ft.createElement("div",{className:"brand--ui next-lesson__arrow"},ft.createElement(ct._M,null))))},vt=function(e){(0,u.Z)(n,e);var t=pt(n);function n(){var e,r;(0,o.Z)(this,n);for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return(r=t.call.apply(t,ae()(e=[this]).call(e,a))).onKeyBlur=r.handleKeyboardFocus.bind((0,s.Z)(r),!1),r.onKeyFocus=r.handleKeyboardFocus.bind((0,s.Z)(r),!0),r.onMouseEnter=r.handleMouseHover.bind((0,s.Z)(r),!0),r.onMouseLeave=r.handleMouseHover.bind((0,s.Z)(r),!1),r.state={hasFocus:!1},r}return(0,a.Z)(n,[{key:"handleRestrictedClick",value:function(e){e.preventDefault()}},{key:"handleKeyboardFocus",value:function(e){this.setState({hasFocus:e})}},{key:"handleMouseHover",value:function(e){this.props.onMouse(e)}},{key:"render",value:function(){var e=this.props,t=e.allowTooltip,n=e.next,r=e.nextTitle,i=e.nextNumber,o=e.onNextClick,a=e.restrictions,s=e.isContinue,u=e.isLesson,c=e.labels,l=e.type,d=a.isRestricted,f=c.lessonName,p=c.quizContinue,h=this.state.hasFocus,m=q()("next-lesson","brand--linkColorHover",{"next-lesson--restricted":d,"next-lesson--map":"map"===l}),v=ft.createElement(Xe.Z,{className:"next-lesson__name--inline",value:r});if(d){var g,y,b=(0,Ze.HU)({labels:c,restrictions:a}),_=u&&!s,w=s?p:v,E=q()("runtime-tooltip",{"runtime-tooltip--show":t&&h});return ft.createElement(lt.DY,{className:E},ft.createElement("div",{className:m},ft.createElement("span",{"aria-disabled":"true","aria-label":ae()(g="The ".concat(r," lesson is currently unavailable: ")).call(g,b),className:"next-lesson__link",onBlur:this.onKeyBlur,onFocus:this.onKeyFocus,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,role:"link",tabIndex:"0"},ft.createElement("div",{className:"next-lesson__name brand--ui"},_?ae()(y="".concat(f," ")).call(y,i," - "):""," ",w),ft.createElement("div",{className:"brand--ui next-lesson__arrow"},ft.createElement(ct._M,null)))),ft.createElement(lt._v,{"aria-hidden":"true",side:"top"},b))}if(r||s){var k,x=u&&!s,S=s?p:v;return ft.createElement("div",{className:m,"data-ba":ht.nextLessonLink},ft.createElement(st.rU,{className:"next-lesson__link",to:"/lessons/"+encodeURIComponent(n),onClick:o},ft.createElement("div",{className:"next-lesson__name brand--ui"},x?ae()(k="".concat(f," ")).call(k,i," - "):""," ",S),ft.createElement("div",{className:"brand--ui next-lesson__arrow"},ft.createElement(ct._M,null))))}return ft.createElement("div",null)}}],[{key:"defaultProps",get:function(){return{onMouse:dt.ZT}}},{key:"propTypes",get:function(){return{isContinue:B().bool,next:B().any.isRequired,nextTitle:B().string}}}]),n}(ft.Component),gt=n(67294);function yt(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var bt=function(e){var t=e.courseHomeLabel;return gt.createElement("div",{className:"previous-lesson brand--linkColorHover","data-previous-lesson":!0},gt.createElement(st.rU,{className:"previous-lesson__link",to:"/"},gt.createElement("i",{className:"icon icon-chevron-up"}),gt.createElement("div",{className:"previous-lesson__title brand--ui"},t)))},_t=function(e){(0,u.Z)(n,e);var t=yt(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e,t=this.props,n=t.previous,r=t.previousNumber,i=t.previousTitle,o=t.onPreviousClick,a=t.isLesson,s=t.labels.lessonName,u=gt.createElement(Xe.Z,{className:"previous-lesson__title--inline",value:i});return gt.createElement("div",{className:"previous-lesson brand--linkColorHover","data-previous-lesson":!0},gt.createElement(st.rU,{className:"previous-lesson__link",to:"/lessons/"+encodeURIComponent(n),onClick:o},gt.createElement("i",{className:"icon icon-chevron-up"}),gt.createElement("div",{className:"previous-lesson__title brand--ui"},a?ae()(e="".concat(s," ")).call(e,r," - "):""," ",u)))}}]),n}(gt.Component),wt=n(55943),Et=n(99499),kt=n(67294),xt=(0,Et.Z)(wt.Z),St=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,c=e.labels,l=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 kt.createElement(Ve.ZP,{type:u},y,kt.createElement(Ve.FE,{type:u},p,kt.createElement(Ve.JH,{type:u,items:a},kt.createElement(Je.Z,{id:o,items:a,lessonProgress:d,menuOpen:h,mobileMenuOpen:m,type:"process"}),kt.createElement(xt,{authorName:t,avatar:n,description:i,id:o,items:a,labels:c,loadMedia:f,lessonNumber:l,lessonProgress:d,menuOpen:h,mobileMenuOpen:m,nextComponent:v,prefersKeyboardNavigation:g,previousComponent:y,showLessonCount:b,title:s,totalLessons:_,type:u}))))},Tt=n(52730),Ct=n(89356),Nt=n.n(Ct),Ot=n(63263),At=n.n(Ot),Pt=n(58377),Lt=n.n(Pt),It=n(13038),Mt=n.n(It),Rt=n(44845),Dt=n(52892),jt=n.n(Dt),Zt=n(9730),Bt=n.n(Zt),Ft=n(13207),Ut=n.n(Ft),qt=n(92738),zt=n.n(qt),Ht=n(50533),Vt=n(56539),Wt=n(80635),Yt=n(40486),Gt=n.n(Yt),Kt=n(7578),$t=n.n(Kt),Xt=n(72038),Jt=n.n(Xt),Qt=n(90322),en=n(65194),tn=n(32542),nn=k()(Bt()(Jt(),0),Re()(0,"retryAttempts")),rn=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return nn(t)?r:n},on=function(e){var t,n,r,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.totalLessons;return p.createElement("div",{className:"quiz-header__count"},ae()(t=ae()(n=ae()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s))},an=function(e){var t=e.id,n=e.lessonProgress;return function(){return(0,R.W)((0,Qt.TW)({activeIndex:Math.max(0,Gt()(Re()(0,"activeIndex",n))),id:t}))}},sn=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,c=s.lessonPreposition,l=s.quizStart,d=s.quizTakeAgain,f=e.lessonNumber,h=e.lessonProgress,m=e.showLessonCount,v=e.title,g=e.totalLessons,y=(0,p.useRef)(),b=t&&nn(h);return(0,p.useEffect)((function(){b&&y&&y.current&&$t()(y.current.focus)&&y.current.focus()}),[b,y]),p.createElement("div",{"aria-hidden":!t,className:"quiz-header"},p.createElement("div",{className:"quiz-header__container"},p.createElement("div",{className:"quiz-header__limit"},p.createElement("div",{className:"quiz-header__row"},p.createElement("div",{className:"quiz-header__main"},p.createElement("div",{className:"quiz-header__top-wrap brand--afterBackground"},p.createElement("h1",{className:"noOutline",ref:y,tabIndex:tn.mR},p.createElement(Xe.Z,{className:"quiz-header__title brand--lhead",value:(0,en.ZP)(v)})),r&&n?p.createElement("div",{className:"quiz-header__author brand--ui"},p.createElement("img",{src:(0,K.i3)("".concat(r)),alt:""}),p.createElement("span",{className:"visually-hidden"},"by ",n),p.createElement("span",{"aria-hidden":"true"},n)):null,p.createElement("div",{className:"quiz-header__counter brand--body"},a&&m&&on({lessonName:u,lessonNumber:f,lessonPreposition:c,totalLessons:g}))),p.createElement(Xe.Z,{className:"quiz-header__description brand--lbody brand--linkColor",value:i,allowTabNavigation:t}),p.createElement("button",{className:"quiz-header__start-quiz brand--color",onClick:t?an({id:o,lessonProgress:h}):dt.ZT,tabIndex:(0,tn._6)(t),type:"button"},p.createElement("span",{className:"brand--ui"},rn({lessonProgress:h,quizStart:l,quizTakeAgain:d})),p.createElement("i",{className:"icon icon-chevron-right"})))))))},un=n(81099),cn=n(88137),ln=n(88990),dn=n(34383),fn=n(67294),pn=Ie()(0,["lessonProgress","activeIndex"]),hn=Ie()(0,["lessonProgress","retryAttempts"]),mn=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,c=e.nextComponent,l=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===pn(e);return fn.createElement(Wt.Z,{allowTabNavigation:b,color:n,continueType:h,current:a,currentPassingScore:r,id:i,isAtEnd:b,labels:o,length:t.length,lessonProgress:s,mode:u,nextComponent:c,nextLesson:l,nextLessonRestrictions:d,onNextClick:f,passingScore:m,retryAttempts:hn({lessonProgress:s}),retryCount:Number(v),showNavigationButtons:g,sidebarEnabled:y})}},vn=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,c=e.lessonProgress,l=e.showLessonCount,d=e.title,f=e.totalLessons,p=0===pn(e);return fn.createElement(sn,{allowTabNavigation:p,authorName:n,avatar:r,description:i,id:o,isLesson:a,items:t,labels:s,lessonNumber:u,lessonProgress:c,showLessonCount:l,title:d,totalLessons:f})}},gn={setFillInText:un.y,setMatchItems:cn.q,setNextIndex:Qt.TW,setSelectedIndex:ln.K,submitAnswer:Qt.tn,toggleSelectedIndex:dn.c,updateLessonProgress:je.i6},yn=(0,Ht.$j)(null,gn)((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,c=e.setNextIndex,l=e.setSelectedIndex,d=e.settings,f=e.submitAnswer,p=e.title,h=e.toggleSelectedIndex,m=e.updateLessonProgress;return fn.createElement(Vt.Z,{color:t,id:n,items:r,labels:i,onChoiceSelect:l,onFillInChange:s,onMatchSet:u,onResponseToggle:h,onSetIndex:c,onSubmit:f,previousComponent:a,progress:o,reportAnswer:K.N2,quizEnd:mn(e),quizHeader:vn(e),settings:d,title:p,updateProgress:m})})),bn=n(67294);function _n(e,t){var n=Nt()(e);if(At()){var r=At()(e);t&&(r=ne()(r).call(r,(function(t){return Lt()(e,t).enumerable}))),n.push.apply(n,r)}return n}var wn=function(e){var t=e.id,n=e.settings,r=e.lessonProgress,i=void 0===r?{}:r;return zt()(Ut()(["passingScore"]),function(e){var t=e.id,n=e.passingScore;return Bt()(jt(),(0,K.g8)({id:t,passingScore:n}))}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_n(Object(n),!0).forEach((function(t){(0,Rt.Z)(e,t,n[t])})):Mt()?Object.defineProperties(e,Mt()(n)):_n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Lt()(n,t))}))}return e}({id:t},i)),n)},En=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,c=o.settings,l=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,E=e.nextLesson,k=e.nextLessonRestrictions,x=e.onNextClick,S=e.prefersKeyboardNavigation,T=e.previousComponent,C=e.showLessonCount,N=e.showNavigationButtons,O=e.sidebarEnabled,A=e.totalLessons;return bn.createElement(Ve.ZP,{type:d},T,bn.createElement(Ve.FE,{type:d},g,bn.createElement(Ve.JH,{type:d,items:u},bn.createElement(Je.Z,{id:s,lessonProgress:v,menuOpen:y,mobileMenuOpen:b,type:"quiz"}),bn.createElement(yn,{authorName:t,avatar:n,color:r,currentPassingScore:c.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:E,nextLessonRestrictions:k,onNextClick:x,prefersKeyboardNavigation:S,previousComponent:T,settings:wn({id:s,lessonProgress:v,settings:c}),showLessonCount:C,showNavigationButtons:N,sidebarEnabled:O,title:l,totalLessons:A}))))},kn=n(31218),xn=n(64028),Sn=n(67294),Tn=function(e){var t=e.data,n=t.id,r=t.items,i=t.piles,o=t.type,a=e.labels,s=e.lessonHeader,u=e.lessonProgress,c=e.menuButtons,l=e.nextComponent,d=e.previousComponent;return Sn.createElement(Ve.ZP,{type:o},d,Sn.createElement(Ve.FE,{type:o},c,s,Sn.createElement(Ve.JH,{type:o},Sn.createElement(xn.Z,{id:n,items:r,labels:a,progress:u,piles:i}))),ze()("isComplete",u)?l:null)},Cn=n(21214),Nn=n(67294),On=function(e){var t=e.data,n=t.id,r=t.items,i=t.type,o=e.labels,a=e.lessonHeader,s=e.lessonProgress,u=e.loadMedia,c=e.menuButtons,l=e.nextComponent,d=e.previousComponent;return Nn.createElement(Ve.ZP,{type:i},d,Nn.createElement(Ve.FE,{type:i},c,a,Nn.createElement(Ve.JH,{type:i},Nn.createElement(Cn.Z,{id:n,items:r,labels:o,lessonProgress:s,loadMedia:u}))),l)},An=n(88826),Pn=n(35865),Ln=n(67294),In=function(e){var t=e.data,n=e.labels,r=e.lessonHeader,i=e.lessonProgress,o=e.menuButtons,a=e.nextComponent,s=e.prefersKeyboardNavigation,u=e.previousComponent,c=e.enableVideoPlaybackSpeed;return Ln.createElement(Ve.ZP,{type:t.type},u,Ln.createElement(Ve.FE,{type:t.type},o,r,Ln.createElement(Ve.JH,null,Ln.createElement(Pn.Z,{data:t,labels:n,lessonProgress:i,prefersKeyboardNavigation:s,enableVideoPlaybackSpeed:c}))),a)},Mn=n(64393),Rn=n(68358),Dn=n(51481),jn=n.n(Dn),Zn=function(e,t){var n=e.completedAt,r=e.lessons,i=e.trackingQuizId,o=t.percentComplete,a=function(e,t){return e&&Oe()(Ee()("id",e),t)}(i,r);if(a&&100===o&&S()(n)){var s=a.settings,u=t.lessons[i],c=ze()("score",u);(0,K.kE)(function(e,t){return t>=Re()(-1,"passingScore",e)}(s,c),c,i,function(e){var t=Re()(-1,"retryCount",e);return jn()(parseInt(t,10),parseInt(e.retryAttempts,10))}(s))}},Bn=n(90630),Fn=n(67294);function Un(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var qn=function(e){(0,u.Z)(n,e);var t=Un(n);function n(e){var r;(0,o.Z)(this,n),r=t.call(this,e);var i=e.course,a=e.isProgressSummary,s=e.lessonProgress,u=e.match.params,c=Re()(null,"index",s),l=a?Tt.L:Ie()({},["lessons",c],i),d={course:i,lesson:l},f=a?Pe()(i.lessonsOnly):(0,Ze.Y4)(d),p=a?null:(0,Ze.k2)(d);return r.state={color:i.color,hasTransitioned:!1,lessonNumber:a?0:(0,Ze.mZ)(d),mode:u.mode||"",model:l,next:p,nextNumber:(0,Ze.mZ)({course:i,lesson:p}),previous:f,previousNumber:(0,Ze.mZ)({course:i,lesson:f}),scrollPosition:0,totalLessons:(0,Ze.KZ)(i)},r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.match.params.id;this.setState({hasTransitioned:!0}),this.props.isProgressSummary||(0,K.al)(e),this.props.isProgressSummary||(0,R.W)((0,je.qI)(e))}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=Re()(null,"index",n),i=Ie()(null,["lessons",r],t),o={course:t,lesson:i},a=(0,Ze.Y4)(o),s=(0,Ze.k2)(o);i&&this.setState({model:i,next:s,previous:a})}}},{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentWillEnter",value:function(e){X()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){var e=X()("[data-page]:first-child [data-previous-lesson]"),t=document.getElementsByClassName("page-wrap");if(this.setState({hasTransitioned:!0}),e.length>0){var n=e.height();e.hide(),this.displayFlex(e),X()(t).scrollTop(n),X()("[data-lesson-header]").css({top:n})}}},{key:"componentWillExit",value:function(e){var t=document.getElementsByClassName("page-wrap"),n=t[0].scrollTop;X()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),X()(De.findDOMNode(this)).scrollTop(this.lastScrollPosition)}},{key:"transitionComplete",value:function(){var e=De.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.focusLessonContent,o=(0,r.navigateDirection)(),a=De.findDOMNode(this);if(a){var s=ae()(n="page ".concat(o,"-")).call(n,e);a.className=s,An.Z.addEventListeners(a,(function n(){"enter"===e?(a.className="page ".concat(o,"-complete"),i()):a.className="page",An.Z.removeEventListeners(a,n),t()}))}else t()}},{key:"handleFinishQuiz",value:function(){var e=this.props,t=e.course,n=e.courseProgress;Zn(t,n)}},{key:"handleNextClick",value:function(e){var t=this.props.course.lessonsOnly;(0,Fe.ym)(e)(t)>=t.length-1?Mn.VO&&(this.props.onNavigate("progress-summary"),this.handleFinishQuiz()):this.props.onNavigate(this.state.next.id)}},{key:"handlePreviousClick",value:function(e){var t=this.props.course.lessonsOnly;(0,Fe.ym)(e)(t)<=0&&!this.props.isProgressSummary||this.props.onNavigate(this.state.previous.id)}},{key:"renderLessonType",value:function(e){var t=e.type,n=e.props,r=e.course,i=e.model;if(this.props.isProgressSummary)return Fn.createElement(Tt.Z,(0,J.Z)({},this.props,n));switch(t){case"blocks":return Fn.createElement(Ye,(0,J.Z)({},n,{animateBlockEntrance:r.animateBlockEntrance,isFirstLesson:(0,Ze._m)({course:r,lesson:i})}));case"map":return Fn.createElement(at,n);case"process":return Fn.createElement(St,n);case"timeline":return Fn.createElement(On,n);case"quiz":return Fn.createElement(En,n);case"sorting":return Fn.createElement(Tn,n);case"screencast":case"slidecast":case"video":return Fn.createElement(In,n);case"embed":return Fn.createElement($e,n);default:return null}}},{key:"render",value:function(){var e=this,t=this.state,n=t.color,r=t.lessonNumber,i=t.mode,o=t.model,a=t.next,s=t.nextNumber,u=t.previous,c=t.previousNumber,l=t.scrollPosition,d=t.totalLessons,f=this.props,p=f.allowRestrictedTooltip,h=f.course,m=f.courseProgress,v=f.handleStorylineFullscreen,g=f.isProgressSummary,y=f.labels,_=f.lessonProgress,w=f.location,E=f.lxpEnabled,k=f.match,x=f.menuButtons,S=f.menuOpen,T=f.mobileMenuOpen,C=f.onNavMouse,N=f.onNavigate,O=f.previewType,A=f.sessionPreferences.prefersKeyboardNavigation,P=f.sidebarEnabled,L=o.author,I=o.selectedAuthorId,M=o.settings,R=void 0===M?{}:M,D=o.type,j=h.authors,Z=h.enableVideoPlaybackSpeed,B=h.id,F=h.publishedAt,U=h.showLessonCount,q=h.showNavigationButtons,z=h.tenantId,H=y.courseFinish,V=void 0===H?"Finish":H,W=y.courseHome,Y=Ie()([],["partnerContent","content"],this.props),G=!ve()(Y),$=G?Oe()(Ee()("id",I),Y):{},X=G?Ie()(void 0,["data","authors"],$):void 0,J=(0,kn.Z)({authors:j,author:L,selectedAuthorId:I}),Q=J.avatar,ee=J.authorName,te=o.items?o.items.length:0,ne=(0,Be.Z)({course:h,courseProgress:m}),re=g?{}:(0,Ze.gc)({course:h,courseProgress:m,lesson:a,lxpEnabled:E,restrictingQuiz:ne}),ie="quiz"===D&&"continue"===R.continueType,oe=this.handleNextClick.bind(this,o.id),ae=u&&"preview-lesson"!==i?Fn.createElement(_t,{isLesson:(0,Ze.tV)(u),key:"prev-".concat(o.id),labels:y,onPreviousClick:this.handlePreviousClick.bind(this,o.id),previous:u.id,previousNumber:c,previousTitle:u?u.title:"",ref:function(t){return e.previousLesson=t}}):"preview-lesson"!==i?Fn.createElement(bt,{courseHomeLabel:W}):null,se=a&&"preview-lesson"!==i&&!ie,ue=se?Fn.createElement(vt,{allowTooltip:p,id:o.id,isLesson:(0,Ze.tV)(a),restrictions:re,key:"next-".concat(o.id),labels:y,next:a.id,nextNumber:s,nextTitle:a.title,onMouse:C,onNextClick:oe,ref:function(t){return e.nextLesson=t},type:D}):!Mn.VO||"preview-lesson"===i||ie||(0,K.AP)()?null:Fn.createElement(mt,{courseFinishLabel:V,onNextClick:oe}),ce=se&&!q&&!P?Fn.createElement(vt,{id:o.id,isContinue:!0,isLesson:(0,Ze.tV)(a),restrictions:re,key:"next-".concat(o.id),labels:y,next:a.id,nextNumber:s,onNextClick:oe,ref:function(t){return e.nextLesson=t},type:D}):null,le=Fn.createElement(rt,{authorName:ee,avatar:Q,description:o.description,labels:y,length:o.length||"",lessonNumber:r,partnerContentAuthors:X,ref:"header",showLessonCount:U,steps:te,title:o.title,totalLessons:d,type:o.type},"audio"===o.mediaType&&o.mediaSrc&&Fn.createElement(Ue.Z,{id:"audio-".concat(o.cid),key:"audio-".concat(o.cid),labels:y,mediaSrc:o.mediaSrc}),!g&&Fn.createElement(Je.Z,{id:o.id,items:o.items,lessonProgress:_,menuOpen:S,mobileMenuOpen:T,scrollPosition:l,type:o.type})),de={authorName:ee,avatar:Q,color:n,continueComponent:ce,courseId:B,courseTitle:h.title,data:o,enableVideoPlaybackSpeed:Z,handleNavigate:N,handleStorylineFullscreen:v,isLesson:(0,Ze.tV)(o),labels:y,lessonHeader:le,lessonNumber:r,lessonProgress:_,loadMedia:this.state.hasTransitioned,location:w,match:k,menuButtons:x,menuOpen:S,mobileMenuOpen:T,mode:i,nextComponent:q&&ue,nextLesson:Re()(null,"id",a),nextLessonRestrictions:re,onNextClick:oe,partnerContent:Y,publishedAt:F,prefersKeyboardNavigation:A,previewType:O,previousComponent:q&&ae,scrollPosition:l,showLessonCount:U,showNavigationButtons:q,sidebarEnabled:P,tenantId:z,totalLessons:d};return Fn.createElement(b(),{title:(0,Rn.Z)(h.title+" - "+o.title)},Fn.createElement("main",{"aria-label":"Lesson Content"},this.renderLessonType({type:D,props:de,course:h,model:o})))}}],[{key:"propTypes",get:function(){return{focusLessonContent:B().func,match:B().object.isRequired,navigateDirection:B().func,onNavigate:B().func,partnerContent:B().object,previewType:B().string,sidebarEnabled:B().bool}}}]),n}(Fn.Component),zn=(0,Bn.lJ)(qn),Hn=n(67294),Vn=function(e){var t=e.childElements,n=e.labels,r=e.search,i=r.activeLessons,o=r.term,a=n.noResults;return Hn.createElement(m.Kv,{classNames:"lesson-lists__list",key:"results",timeout:600},Hn.createElement(m.W3,{className:"lesson-lists__list lesson-lists__list--results",component:"ol",role:"list",key:"results"},0===i.length?function(e){var t=e.noResults,n=e.searchTerm,r=q()("lesson-lists__item",{"visually-hidden":!(n&&n.length)});return Hn.createElement(m.Kv,{classNames:"lesson-lists__item",exit:!1,key:"no-results",timeout:400},Hn.createElement("li",{className:r},Hn.createElement("span",{className:"lesson-lists__no-results"},t,' "',n,'"')))}({noResults:a,searchTerm:o}):function(e){var t=e.activeLessons,n=e.childElements;return ee()(n).call(n,(function(e){return Hn.createElement(m.Kv,{classNames:"lesson-lists__item",exit:!1,key:e.key,timeout:100*t.length+300},e)}))}({activeLessons:i,childElements:t})))},Wn=function(e){var t=e.children,n=e.index,r=e.isSearch?{role:"listitem"}:{};return Hn.createElement("li",(0,J.Z)({className:"lesson-lists__item",style:{transitionDelay:"".concat(.1*n,"s")}},r),t)},Yn=function(e){var t,n=e.children,r=e.labels,i=e.search,o=i.active,a=ee()(t=Hn.Children).call(t,n,(function(e,t){return Hn.createElement(Wn,{index:t,isSearch:o},e)})),s=o?"Search Results":"Course Outline";return Hn.createElement(m.W3,{"aria-label":s,className:"lesson-lists",component:"nav"},o?Vn({childElements:a,labels:r,search:i}):function(e){return Hn.createElement(m.Kv,{classNames:"lesson-lists__list",key:"list",timeout:600},Hn.createElement("ol",{className:"lesson-lists__list",key:"list"},e))}(a))},Gn=n(39138),Kn=n.n(Gn),$n=n(64152),Xn=n(67294);function Jn(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var Qn=function(e){(0,u.Z)(n,e);var t=Jn(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).onClick=r.onClick.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"isActive",value:function(){return this.props.match.url==="/lessons/".concat(this.props.id)}},{key:"componentWillMount",value:function(){var e=this.isActive();this.setState({visited:e})}},{key:"onClick",value:function(e){var t=this.props,n=t.focusLessonContent,r=t.id,i=t.onClick,o=t.onMobileActiveClick;if(this.isActive()){if(e.preventDefault(),!o)return n(),!1;o()}this.setState({visited:!0}),i(r)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.icon,r=e.labels,i=e.resultsCount,o=e.title,a=r.result,s=r.results,u=q()("lesson-link","lesson-search-link",{"lesson-link--visited lesson-search-link--visited":this.state.visited}),c=1===i?a:s,l=[Xn.createElement("div",{"aria-hidden":"true",className:"lesson-link__icon lesson-search-link__icon",key:"icon-".concat(t)},Xn.createElement($n.a,{icon:n})),Xn.createElement("div",{className:"lesson-link__name lesson-search-link__name brand--ui",key:"name-".concat(t)},Xn.createElement(Xe.Z,{value:Kn()(o,{length:60})}),Xn.createElement("span",{className:"lesson-search-link__results"},i," ",c))],d=this.props.allowTabNavigation,f=(0,tn._6)(d);return Xn.createElement(st.OL,{activeClassName:"lesson-link--active lesson-search-link--active brand--beforeBackground","aria-hidden":!d,className:u,onClick:this.onClick,tabIndex:f,to:"/lessons/"+encodeURIComponent(t)},l)}}],[{key:"propTypes",get:function(){return{focusLessonContent:B().func.isRequired,icon:B().string.isRequired,id:B().any.isRequired,onClick:B().func.isRequired,resultsCount:B().number.isRequired,title:B().string.isRequired,type:B().string.isRequired}}}]),n}(Xn.Component),er=(0,O.EN)(Qn),tr=n(83728),nr=n(37176),rr=n(36335),ir=n(41785),or=n(27309),ar=ir.Jg.COMOVERVIEW,sr=ir.Jg.COVER,ur=ir.Jg.SIDEBAR,cr=(0,rr.Z)("legacy-progress-circle");function lr(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.color,i=e.isCurrent,o=e.isFailed,a=e.isPassed,s=e.scope,u=e.value,c=(0,p.useState)(100===u),l=(0,tr.Z)(c,2),d=l[0],f=l[1],h=(0,nr.Z)(u),m=cr({comoverview:s===ar,cover:s===sr,current:i,sidebar:s===ur}),v=cr("track"),g=cr("runner",{done:d,failed:o,passed:a,unstarted:0===u}),y=cr("pass",{done:d,visible:a}),b=cr("fail",{done:d,visible:o});return(0,p.useEffect)((function(){if(100!==u&&100===h)f(!1);else if(100===u&&!d){var e=setTimeout((function(){return f(!0)}),300);return clearTimeout.bind(null,e)}}),[d,u,h]),p.createElement("svg",{"aria-hidden":t,"aria-label":n,className:m,fill:"none",focusable:"false",role:"img",style:{color:r},viewBox:"0 0 16 16",xmlns:"https://www.w3.org/2000/svg"},p.createElement("circle",{className:v,cx:"8",cy:"8",fill:"transparent",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)"}),p.createElement(or.Z,{className:g,cx:"8",cy:"8",diameter:"16",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)",value:u}),p.createElement("path",{className:y,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"}),p.createElement("path",{className:b,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 dr=n(8485),fr=n(23106);function pr(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var hr=function(e){return"/lessons/".concat(encodeURIComponent(e))},mr=function(e){(0,u.Z)(n,e);var t=pr(n);function n(){var e,r;(0,o.Z)(this,n);for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return(r=t.call.apply(t,ae()(e=[this]).call(e,a))).state={},r.onClick=r.onClick.bind((0,s.Z)(r)),r.onSectionClick=r.onSectionClick.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"isActive",value:function(){return this.props.match.url==="/lessons/".concat(this.props.id)}},{key:"shouldComponentUpdate",value:function(e,t){var n=this.props,r=n.allowTabNavigation,i=n.allowTooltip,o=n.color,a=n.id,s=n.isComplete,u=n.isSectionActive,c=n.location,l=n.markComplete,d=n.percentComplete,f=n.restrictions,p=this.state.hasFocus;return!!(r!==e.allowTabNavigation||o!==e.color||a!==e.id||s!==e.isComplete||u!==e.isSectionActive||p!==t.hasFocus||c!==e.location||l!==e.markComplete||d!==e.percentComplete||f.isRestricted!==e.restrictions.isRestricted||f.currentLesson!==e.restrictions.currentLesson||p&&i!==e.allowTooltip)}},{key:"onClick",value:function(e){var t=this.props,n=t.focusLessonContent,r=t.id,i=t.onClick,o=t.onMobileActiveClick,a=t.type;if(this.isActive()){if(e.preventDefault(),!o)return n(),!1;o()}i({id:r,type:a})}},{key:"onSectionClick",value:function(){var e=this.props,t=e.id;(0,e.onClick)({id:t,type:e.type})}},{key:"renderSection",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.isSectionActive,i=t.sectionId,o=t.title,a=(0,tn._6)(n),s=q()({"chevron__rotate-down":r});return p.createElement("div",{"aria-controls":i,"aria-expanded":r,"aria-label":"Toggle ".concat(o," Section"),className:"lesson-link--section brand--ui",onClick:this.onSectionClick,onKeyPress:function(t){(0,F.Uf)(t)&&e.onSectionClick()},role:"button",tabIndex:a},p.createElement("div",{className:"lesson-link--section-content"},p.createElement("div",{className:"lesson-link--section-icon"},p.createElement(ct.d1,{className:s})),p.createElement("div",{className:"lesson-link--section-title"},o)))}},{key:"render",value:function(){var e=this.props,t=e.allowTabNavigation,n=e.allowTooltip,r=e.color,i=e.icon,o=e.id,a=e.isComplete,s=e.labels,u=e.markComplete,c=e.onMouse,l=e.passedQuiz,d=e.percentComplete,f=e.restrictions,h=e.title,m=e.type;return"section"===m?this.renderSection():p.createElement(vr,{allowTooltip:n,color:r,icon:i,isComplete:a,isCurrentLesson:this.isActive(),isEnabled:t,labels:s,id:o,markComplete:u,onClick:this.onClick,onMouse:c,passedQuiz:l,percentComplete:d,restrictions:f,title:h,type:m})}}],[{key:"propTypes",get:function(){return{id:B().any.isRequired,isSectionActive:B().bool,type:B().string.isRequired,title:B().string.isRequired,onClick:B().func.isRequired,focusLessonContent:B().func.isRequired}}},{key:"defaultProps",get:function(){return{isSectionActive:!1}}}]),n}(p.Component);function vr(e){var t=e.allowTooltip,n=e.color,r=e.icon,i=e.id,o=e.isComplete,a=e.isCurrentLesson,s=e.isEnabled,u=e.labels,c=e.markComplete,l=e.onClick,d=e.onMouse,f=e.passedQuiz,h=e.percentComplete,m=e.restrictions,v=e.title,g=e.type,y=null==m?void 0:m.isRestricted,b=c&&!y&&!(null!=m&&m.isRestrictedCourse)&&g!==fr.T4.QUIZ,_=100===h&&(!o||g===fr.T4.QUIZ&&!f),w=100===h&&o&&(g!==fr.T4.QUIZ||f),E=(0,p.useState)(!1),k=(0,tr.Z)(E,2),x=k[0],S=k[1],T=(0,p.useState)(!1),C=(0,tr.Z)(T,2),N=C[0],O=C[1],A=(0,p.useState)(!1),P=(0,tr.Z)(A,2),L=P[0],I=P[1],M=(0,p.useCallback)((function(){return S(!1)}),[]),D=(0,p.useCallback)((function(){return S(!0)}),[]),j=(0,p.useCallback)((function(){return d(!0)}),[d]),Z=(0,p.useCallback)((function(){return d(!1)}),[d]),B=(0,p.useCallback)((function(){return O(!0)}),[]),U=(0,p.useCallback)((function(){return O(!1)}),[]),z=(0,p.useCallback)((function(){L||setTimeout(B,0)}),[L,B]),H=(0,p.useCallback)((function(e){(0,F.$o)(e)&&U()}),[U]),V=(0,p.useCallback)((function(){I(!0)}),[]),W=(0,p.useCallback)((function(){I(!1)}),[]),Y=(0,p.useCallback)((function(){(0,R.W)((0,je.FK)({id:i,type:g}))}),[i,g]),G=(0,p.useCallback)((function(){(0,R.W)((0,je.xj)({id:i,type:g}))}),[i,g]),K=q()("lesson-link",{"lesson-link__restricted":y}),$=[p.createElement("div",{key:"icon-".concat(i),"aria-hidden":"true",className:"lesson-link__icon"},p.createElement($n.a,{icon:r})),p.createElement("div",{key:"name-".concat(i),className:"lesson-link__name brand--ui"},p.createElement("span",null,Kn()(v,{length:60})))];if(y){var X,J=(0,Ze.HU)({labels:u,restrictions:m}),Q=q()("runtime-tooltip",{"runtime-tooltip--show":t&&x});return p.createElement(lt.DY,{className:Q},p.createElement("span",{"aria-disabled":"true","aria-label":ae()(X="The ".concat(v," lesson is currently unavailable: ")).call(X,J),className:K,onBlur:M,onMouseEnter:j,onMouseLeave:Z,onFocus:D,role:"link",tabIndex:s?0:-1},$,p.createElement(dr.Z,{canComplete:!1,color:n,hasRestriction:y,isComplete:o,isCurrentLesson:a,isDark:!1,isEnabled:s,isFailed:_,isLegacy:!0,isPassed:w,isTooltipVisible:N,onHideTooltip:U,onShowTooltip:B,percentComplete:h,progressGraphic:lr,scope:ir.Jg.SIDEBAR})),p.createElement(lt._v,{"aria-hidden":"true",side:"top"},J))}var ee=p.createElement(dr.Z,{canComplete:b,color:n,hasRestriction:y,isComplete:o,isCurrentLesson:a,isDark:!1,isEnabled:s,isFailed:_,isLegacy:!0,isPassed:w,isTooltipVisible:N,onHideTooltip:U,onMarkComplete:Y,onMarkReset:G,onShowTooltip:B,percentComplete:h,progressGraphic:lr,scope:ir.Jg.SIDEBAR});return p.createElement(p.Fragment,null,p.createElement(st.OL,{activeClassName:"lesson-link--active brand--beforeBorder",className:K,onBlur:b?void 0:U,onClick:l,onFocus:b?void 0:z,onKeyDown:b?void 0:H,onMouseDown:b?void 0:V,onMouseUp:b?void 0:W,tabIndex:s?0:-1,to:hr(i)},$,!b&&ee),b&&ee)}var gr=(0,O.EN)(mr),yr=n(40198),br=n(66261);function _r(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var wr=function(e){(0,u.Z)(n,e);var t=_r(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"getColor",value:function(){var e=this.props,t=e.alpha,n=e.isSidebar;return"rgba(0,0,0,".concat((n?t+10:t)/100,")")}},{key:"render",value:function(){var e=this.props,t=e.classes,n=e.isPreview?"preview-overview-sidebar__overlay":"overview__side-panel-overlay";return p.createElement("div",{className:t||n,style:{backgroundColor:this.getColor()}})}}],[{key:"propTypes",get:function(){return{alpha:B().number,classes:B().string,isPreview:B().bool,isSidebar:B().bool}}}]),n}(p.Component),Er=n(27744),kr=n(46634),xr=function(e){var t=q()("progress-bar__line",{"progress-bar__line-rounded":e.rounded}),n=q()("progress-bar",{"progress-bar-rounded":e.rounded,"progress-bar-lg":e.lg});return p.createElement("div",{className:n},p.createElement("div",{className:"progress-bar__percentage-top"},e.value,"% ",e.lessonComplete),p.createElement("div",{className:t},p.createElement("div",{className:"progress-bar__fill",style:{width:e.value+"%"}})),p.createElement("div",{className:"progress-bar__percentage-bottom"},e.value,"% ",e.lessonComplete))},Sr=n(5785),Tr=n(54115),Cr=n.n(Tr),Nr=n(22624),Or=n.n(Nr);function Ar(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var Pr=function(e){(0,u.Z)(n,e);var t=Ar(n);function n(e){var r,i;return(0,o.Z)(this,n),(i=t.call(this,e)).state={coverImageLoaded:!1,focusName:null,searchActive:!1,searchValue:"",showSkipButton:!1},i.focusRefs=(r={},(0,Rt.Z)(r,Mr({isClone:!0}),{}),(0,Rt.Z)(r,Mr({isClone:!1}),{}),r),i.handleBlur=i.handleBlur.bind((0,s.Z)(i)),i.handleFocus=i.handleFocus.bind((0,s.Z)(i)),i.handleSearchChange=i.handleSearchChange.bind((0,s.Z)(i)),i.handleSearchClose=i.handleSearchClose.bind((0,s.Z)(i)),i.handleSearchSubmit=i.handleSearchSubmit.bind((0,s.Z)(i)),i.handleSearchToggle=i.handleSearchToggle.bind((0,s.Z)(i)),i.handleSkipButtonBlur=i.setDisplaySkipButton.bind((0,s.Z)(i),!1),i.handleSkipButtonFocus=i.setDisplaySkipButton.bind((0,s.Z)(i),!0),i.handleSkipButtonClick=i.handleSkipButtonClick.bind((0,s.Z)(i)),i.handleTransitionEnd=i.handleTransitionEnd.bind((0,s.Z)(i)),i}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.coverImage,n=t.media,r=void 0===n?{}:n,i=t.displaySidebar,o=r.image,a=void 0===o?{}:o,s=a.key,u=s&&(0,Qe.xR)(a);s&&i&&(this.image=new Image,this.image.src=u,this.image.addEventListener("load",this.imageLoadRef=function(){e.setState({coverImageLoaded:!0})})),this.clone.addEventListener("transitionend",this.handleTransitionEnd)}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.removeEventListener("load",this.imageLoadRef),this.image=null),this.clone.removeEventListener("transitionend",this.handleTransitionEnd)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.showClone,i=n.showSearch,o=this.state.focusName;e.showSearch!==i&&this.setState({searchActive:i},(function(){i&&t.searchInput&&t.focusRef({name:"searchInput"})})),e.showClone!==r&&!r&&o&&this.focusRef({name:o})}},{key:"coverStyles",value:function(e){var t=this.props,n=t.coverImage,r=t.showClone,i=this.state.searchActive,o=n.media,a=void 0===o?{}:o,s=n.displaySidebar,u=a.image,c=void 0===u?{}:u,l=c.key,d=l&&(0,Qe.xR)(c),f=i&&e&&r?this.headerHeight:null;return l&&s?{backgroundImage:"url('".concat(d,"')"),height:f}:null}},{key:"getCloneHeaderHeight",value:function(){return this.clone.offsetHeight}},{key:"focus",value:function(){this.props.sessionPreferences.prefersKeyboardNavigation?(0,tn.qD)(this.header):this.header.focus()}},{key:"focusRef",value:function(e){var t=e.name,n=this.props.showClone,r=Mr({isClone:n}),i=this.focusRefs[r][t];i&&i.focus()}},{key:"addFocusRef",value:function(e){var t=this,n=e.isClone,r=e.name,i=Mr({isClone:n});return function(e){t.focusRefs[i][r]=e}}},{key:"handleBlur",value:function(){this.setState({focusName:null})}},{key:"handleFocus",value:function(e){var t=e.target.dataset.focusName;this.setState({focusName:t||null})}},{key:"handleSkipButtonClick",value:function(){(0,this.props.focusLessonContent)()}},{key:"handleSearchChange",value:function(e){var t=e.target.value;this.setState({searchValue:t},(function(){return(0,R.W)([(0,Sr.v2)(!0)])}))}},{key:"handleSearchClose",value:function(e){(0,F.$o)(e)&&this.handleSearchToggle()}},{key:"handleSearchSubmit",value:function(e){e.preventDefault();var t=e.target.lastChild.value,n=this.props.lessons;(0,Er.Z)(t,n,(function(e,t,n){return(0,R.W)([(0,Sr.Cl)(e),(0,Sr.lp)(t),(0,Sr.sU)(n)])}))}},{key:"handleSearchToggle",value:function(){var e=this,t=this.state.searchActive,n=this.props.showSearch;(0,R.W)([(0,Sr.v2)(n),(0,Sr.Nk)(!n)]),this.setState({searchActive:!n},(function(){t?e.setState({focusName:null,searchValue:""},(function(){e.focusRef({name:"showSearch"})})):e.focusRef({name:"searchInput"})}))}},{key:"handleTransitionEnd",value:function(e){var t=e.target,n=e.propertyName,r=this.state.focusName,i=this.props.showClone;t===this.clone&&"top"===n&&i&&r&&this.focusRef({name:r})}},{key:"setDisplaySkipButton",value:function(e){this.setState({showSkipButton:e})}},{key:"setHeaderDimensions",value:function(){this.headerHeight=this.headerWrapper?this.headerWrapper.offsetHeight:null,this.headerWidth=this.headerWrapper?this.headerWrapper.offsetWidth:null}},{key:"renderInfo",value:function(e){var t=this,n=e.isClone,r=this.props,i=r.allowTabNavigation,o=r.children,a=r.courseTitle,s=r.skipLinkText,u=r.showClone,c=this.state,l=c.showSkipButton,d=c.searchActive,f=Rr({allowTabNavigation:i,isClone:n,showClone:u}),h=q()("overview-sidebar__info",{"overview-sidebar__info--faded":d}),m=q()("overview-sidebar__skip-button",{"overview-sidebar__skip-button--offscreen":!l});return p.createElement("div",{className:h,ref:n?null:function(e){return t.header=e},tabIndex:tn.mR},p.createElement(st.rU,{to:"/",className:"overview-sidebar__title","data-focus-name":"title",innerRef:this.addFocusRef({isClone:n,name:"title"}),tabIndex:f},a),p.createElement("button",{"aria-label":s,className:m,"data-focus-name":"skip",onBlur:this.handleSkipButtonBlur,onClick:this.handleSkipButtonClick,onFocus:this.handleSkipButtonFocus,ref:this.addFocusRef({isClone:n,name:"skip"}),tabIndex:f,type:"button"},s),p.createElement("div",{className:"overview-sidebar__progress brand--ui"},Ir(o)))}},{key:"renderSearch",value:function(e){var t=e.isClone,n=this.state,r=n.searchActive,i=n.searchValue,o=this.props,a=o.allowTabNavigation,s=o.labels.search,u=p.createElement(m.Kv,{classNames:"overview-sidebar__search",timeout:600},p.createElement("form",{className:"overview-sidebar__search",onSubmit:this.handleSearchSubmit},p.createElement("span",{className:"overview-sidebar__search__search-icon"},p.createElement(kr.Z,{height:13,width:13})),p.createElement("button",{"aria-label":"Close The Search Form",className:"overview-sidebar__search__close-icon","data-focus-name":"closeSearch",onClick:this.handleSearchToggle,ref:this.addFocusRef({isClone:t,name:"closeSearch"}),tabIndex:(0,tn._6)(a),type:"button"},p.createElement(ct.x8,null)),p.createElement("input",{"aria-label":"Search",className:"overview-sidebar__search__input","data-focus-name":"searchInput",placeholder:s,onChange:this.handleSearchChange,onKeyDown:this.handleSearchClose,ref:this.addFocusRef({isClone:t,name:"searchInput"}),tabIndex:(0,tn._6)(a),type:"search",value:i})));return p.createElement(m.W3,null,r&&u)}},{key:"renderSearchIcon",value:function(e){var t=e.isClone,n=this.props,r=n.allowTabNavigation,i=n.showClone,o=this.state.searchActive,a=Rr({allowTabNavigation:r,isClone:t,showClone:i}),s=p.createElement(m.Kv,{appear:!0,classNames:"overview-sidebar__search-icon",timeout:2e3},p.createElement("button",{"aria-label":"Show Search Bar",className:"overview-sidebar__search-icon","data-focus-name":"showSearch",onClick:this.handleSearchToggle,ref:this.addFocusRef({isClone:t,name:"showSearch"}),tabIndex:a,type:"button"},p.createElement(kr.Z,null)));return p.createElement(m.W3,null,!o&&s)}},{key:"renderClone",value:function(){var e=this,t=this.props.showClone,n=this.state.searchActive,r=q()("overview-sidebar__header-outer",{"overview-sidebar__header-outer--search":n,"overview-sidebar__header--clone":!0,"overview-sidebar__header--visible":t}),i=t&&this.cloneWrapper&&this.cloneWrapper.offsetHeight||"none",o=this.headerWidth;return this.renderBanner({classes:r,cloneRef:function(t){e.clone=t},hidden:!t,isClone:!0,style:{maxHeight:i,width:o},wrapperRef:function(t){e.cloneWrapper=t}})}},{key:"renderNormal",value:function(){var e=this,t=this.props.showClone,n=this.state.searchActive;this.setHeaderDimensions();var r=q()("overview-sidebar__header-outer",{"overview-sidebar__header-outer--search":n}),i=this.headerWrapper&&this.headerWrapper.offsetHeight||"none";return this.renderBanner({classes:r,hidden:t,isClone:!1,style:{maxHeight:i},wrapperRef:function(t){e.headerWrapper=t}})}},{key:"renderBanner",value:function(e){var t=e.classes,n=e.cloneRef,r=e.hidden,i=e.isClone,o=e.style,a=e.wrapperRef,s=this.props,u=s.allowSearch,c=s.allowTabNavigation,l=s.coverImage.alpha,d=this.state,f=d.coverImageLoaded,h=d.showSkipButton?Or()({maxHeight:Cr()("none")},o):o;return p.createElement("section",{"aria-hidden":!c||r,"aria-label":"Course Information",className:t,onFocus:this.handleFocus,onBlur:this.handleBlur,ref:n||null,style:h},u&&this.renderSearch({isClone:i}),p.createElement("div",{className:Lr(this.props),ref:a},p.createElement("div",{className:"overview-sidebar__header--background",style:this.coverStyles(i)}),f&&p.createElement(wr,{alpha:l,isSidebar:!0}),u&&this.renderSearchIcon({isClone:i}),this.renderInfo({isClone:i})))}},{key:"render",value:function(){return p.createElement(p.Fragment,null,this.renderNormal(),this.renderClone())}}]),n}(p.Component),Lr=function(e){var t=e.coverImage,n=t.media,r=void 0===n?{}:n,i=t.displaySidebar,o=r.image,a=(void 0===o?{}:o).key,s=!a||a&&!i;return q()("overview-sidebar__header",{"brand--background":s})},Ir=function(e){var t;return ee()(t=p.Children).call(t,e,(function(e){return e.type!==xr?null:e}))},Mr=function(e){return e.isClone?"clone":"normal"},Rr=k()(tn._6,(function(e){var t=e.allowTabNavigation,n=e.isClone,r=e.showClone;return t&&(r&&n||!r&&!n)}));function Dr(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var jr="nav-content-sidebar",Zr=function(e){(0,u.Z)(n,e);var t=Dr(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).handleFocus=r.handleFocus.bind((0,s.Z)(r)),r.onScroll=Te()(r.onScroll.bind((0,s.Z)(r)),100),r.state={isShowingSidebarHeaderClone:!1},r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.sidebar.addEventListener("scroll",this.onScroll)}},{key:"componentWillUnmount",value:function(){this.sidebar.removeEventListener("scroll",this.onScroll)}},{key:"focus",value:function(){this.sidebarHeader.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowSearch,r=t.allowTabNavigation,i=t.children,o=t.courseTitle,a=t.coverImage,s=t.focusLessonContent,u=t.labels,c=t.lessons,l=t.searchActive,d=t.sessionPreferences,f=t.skipLinkText,h=this.state.isShowingSidebarHeaderClone;return p.createElement("div",{id:jr,ref:function(t){return e.sidebar=t},className:"overview-sidebar","data-overview-sidebar":!0},p.createElement("div",{className:"overview-sidebar__header-wrap brand--head","data-overview-sidebar-header-wrap":!0,ref:function(t){return e.sidebarHeaderWrap=t}},p.createElement(Pr,{allowSearch:n,allowTabNavigation:r,courseTitle:o,coverImage:a,focusLessonContent:s,labels:u,lessons:c,ref:function(t){e.sidebarHeader=t},sessionPreferences:d,showClone:h,showSearch:l,skipLinkText:f},i)),p.createElement("div",{className:"overview-sidebar__container"},p.createElement("div",{className:"overview-sidebar__content","data-overview-sidebar-content":!0,onFocus:this.handleFocus},i)))}},{key:"handleFocus",value:function(e){var t=e.target;if(this.state.isShowingSidebarHeaderClone){var n=this.sidebar.scrollTop,r=t.getBoundingClientRect().top,i=this.sidebarHeader.getCloneHeaderHeight();if(r<i){var o=n-(i-r);br.NY.scrollTo(o,{containerId:jr,duration:300,smooth:!0})}}}},{key:"onScroll",value:function(){var e=this.sidebarHeaderWrap.clientHeight,t=this.sidebar.scrollTop;this.setState({isShowingSidebarHeaderClone:t>e})}}]),n}(p.Component),Br=n(67294);function Fr(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var Ur=function(e){(0,u.Z)(n,e);var t=Fr(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e,t=this,n=this.props,r=n.children,i=n.isActive,o=n.sectionId,a=n.sectionLabel,s=q()("section-lists",{"section-lists__closed":!i}),u=this.ol?this.ol.offsetHeight:null;return Br.createElement("div",{"aria-hidden":!i,"aria-label":a,className:s,id:o,style:{maxHeight:u}},Br.createElement("ol",{ref:function(e){return t.ol=e}},ee()(e=Br.Children).call(e,r,(function(e){return Br.createElement("li",{className:"lesson-lists__item"},e)}))))}}]),n}(Br.Component),qr=Ur,zr=n(87699),Hr=n(24230),Vr=n(27752),Wr=n(11707),Yr=n(19585),Gr=n(67294);function Kr(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var $r=ut.S.learn.course.lesson,Xr=function(e){(0,u.Z)(n,e);var t=Kr(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return Gr.createElement("div",{className:t,"data-ba":$r.container,"data-lesson":!0,ref:this.props.contentRef},n)}}]),n}(Gr.Component),Jr=function(e){var t=e.children,n=e.hidden,r=e.id,i=e.label,o="lesson__sidebar",a="".concat(o,"--safari"),s={className:q()(o,(0,Rt.Z)({},a,M.Z.isSafari)),id:r};return Gr.createElement("section",(0,J.Z)({"aria-hidden":n,"aria-label":i,"data-lesson-side":!0},s),t)},Qr=function(e){(0,u.Z)(n,e);var t=Kr(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=this.props.onMobileMenuActiveClick;return Gr.createElement("div",{className:"lesson__content",onClick:e},this.props.children)}}]),n}(Gr.Component),ei=n(67294);function ti(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var ni="courseOverviewSidebar",ri="Course Overview",ii=ue()(ye()),oi=xe()(Ee()("type","section")),ai=function(e){return function(){if(e){var t=document.querySelector(".page-wrap");(0,tn.qD)(t)}else{document.getElementById("no-menu").focus()}}},si=function(e){(0,u.Z)(n,e);var t=ti(n);function n(e){var r,i;(0,o.Z)(this,n),i=t.call(this,e);var a=e.course,u=e.lessons,c=e.match.params;return i.state={activeSections:ee()(r=ne()(u).call(u,(function(e){return"section"===e.type}))).call(r,(function(e){return e.id})),isMobile:!1,isProgressSummary:Mn.VO&&"progress-summary"===c.id,isPreviewLesson:"preview-lesson"===c.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:(0,Yr.A1)(a),mobileMenuIsOpen:!1,selectedIndex:(0,Fe.ym)(c.id)(u),sidebarEnabled:(0,Yr.Gp)(a),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},i.forwardTransition=!0,i.root=window,i.closeMenu=i.closeMenu.bind((0,s.Z)(i)),i.handleLessonsListRowClick=i.handleLessonsListRowClick.bind((0,s.Z)(i)),i.handleMenuToggle=i.handleMenuToggle.bind((0,s.Z)(i)),i.handleNavigateDirection=i.handleNavigateDirection.bind((0,s.Z)(i)),i.handleNavigate=i.handleNavigate.bind((0,s.Z)(i)),i.handleNavHover=i.handleNavHover.bind((0,s.Z)(i)),i.handleStorylineFullscreen=i.handleStorylineFullscreen.bind((0,s.Z)(i)),i.renderLesson=i.renderLesson.bind((0,s.Z)(i)),i.renderSearchLesson=i.renderSearchLesson.bind((0,s.Z)(i)),i.setIsMobileState=i.setIsMobileState.bind((0,s.Z)(i)),i}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.setIsMobileState(),this.root.addEventListener("resize",this.resizeRef=Te()(this.setIsMobileState,1e3)),this.swipeEvents=(0,zr.Z)(this.node,this,this.handleMenuToggle,Function.prototype),this.setFocusIfNecessary()}},{key:"componentWillReceiveProps",value:function(e){if(e.match.params.id!==this.props.match.params.id){var t=fe()((0,Fe.qZ)(e.lessons,e.match.params.id),this.state.activeSections),n=Mn.VO&&"progress-summary"===e.match.params.id;this.setState({activeSections:t,isProgressSummary:n})}}},{key:"componentWillUnmount",value:function(){this.root.removeEventListener("resize",this.resizeRef),this.swipeEvents.removeListeners()}},{key:"setFocusIfNecessary",value:function(){var e=this.props.sessionPreferences.startedCourseWithLessonSelected,t=this.state.sidebarEnabled,n=ai(t);t?e?(n(),(0,R.W)((0,Hr.j_)(!1))):this.sidebar.focus():n()}},{key:"handleNavigateDirection",value:function(){return this.forwardTransition?"page-transition":"page-transition-back"}},{key:"handleMenuToggle",value:function(){var e=this,t=this.state,n=t.menuIsOpen,r=t.mobileMenuIsOpen;this.setState({menuIsOpen:!n,mobileMenuIsOpen:(0,Wr.pk)()&&!r,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},(function(){e.resetSwipeListeners()}))}},{key:"handleNavigate",value:function(e){var t=this,n=this.props.lessons,r=this.state,i=r.isProgressSummary,o=r.selectedIndex,a=(0,Fe.ym)(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:"handleStorylineFullscreen",value:function(e){this.setState({menuDisabled:e,menuIsOpen:!e})}},{key:"handleToggleSection",value:function(e){var t=this.state.activeSections;ie()(t).call(t,e)?this.setState({activeSections:ne()(t).call(t,(function(t){return t!==e}))}):this.setState({activeSections:ae()(t).call(t,e)})}},{key:"resetSwipeListeners",value:function(){this.state.mobileMenuIsOpen?this.swipeEvents.addListeners():this.swipeEvents.removeListeners()}},{key:"allowTabNavigation",value:function(){var e=this.state,t=e.isMobile,n=e.isPreviewLesson,r=e.menuIsOpen,i=e.mobileMenuIsOpen,o=e.sidebarEnabled;return!n&&o&&(t?i:r)}},{key:"allowTabNavigationForLesson",value:function(e){var t=this.state.activeSections;return this.allowTabNavigation()&&(!e||!e.sectionId||ie()(t).call(t,e.sectionId))}},{key:"handleLessonsListRowClick",value:function(e){var t=e.id;"section"===e.type?this.handleToggleSection(t):this.handleNavigate(t)}},{key:"handleNavHover",value:function(e){this.setState({isRestrictedNavHovering:e})}},{key:"renderLesson",value:function(e,t,n){var r=this.props,i=r.course,o=r.courseProgress,a=r.labels,s=r.lessons,u=r.location,c=r.lxpEnabled,l=this.state,d=l.activeSections,f=l.isRestrictedNavHovering,p=l.sidebarEnabled,h=n.id,m=n.type,v=n.title,g=n.icon,y=(0,Ze.gc)({course:i,courseProgress:o,lesson:n,lxpEnabled:c,restrictingQuiz:t}),b=(0,Vr.q)(o,h),_=b.isComplete,w=b.percentComplete,E=b.passedQuiz;if(n.children){var k,x,S=ie()(d).call(d,n.id),T=this.renderLesson.bind(this,e,t),C="section-".concat(h),N=ae()(k="Course Section for ".concat(v,", with ")).call(k,n.children.length," Lessons");return ei.createElement("div",{key:"item-".concat(h)},ei.createElement(gr,{allowTabNavigation:e,allowTooltip:!f,color:i.color,focusLessonContent:ai(p),icon:g,id:h,isComplete:_,isSectionActive:S,labels:a,lessonIndex:s.indexOf(n),location:u,markComplete:i.markComplete,onClick:this.handleLessonsListRowClick,onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:E,percentComplete:w,restrictions:y,sectionId:C,title:v,type:m}),ei.createElement(qr,{isActive:S,sectionId:C,sectionLabel:N},ee()(x=n.children).call(x,T)))}return ei.createElement(gr,{allowTabNavigation:this.allowTabNavigationForLesson(n),allowTooltip:!f,color:i.color,focusLessonContent:ai(p),icon:g,id:h,isComplete:_,key:"item-".concat(h),labels:a,location:u,markComplete:i.markComplete,onClick:this.handleLessonsListRowClick,onMobileActiveClick:this.closeMenu,onMouse:this.handleNavHover,passedQuiz:E,percentComplete:w,restrictions:y,title:v,type:m})}},{key:"renderMenuButtons",value:function(){var e=this.props,t=e.course,n=e.labels,r=this.state.sidebarEnabled,i=t.lmsOptions,o=(void 0===i?{}:i).enableExitCourse,a=n.courseExit,s=this.allowTabNavigation(),u="Toggle ".concat(ri);return ei.createElement("div",{className:"page__menu"},r&&ei.createElement("button",{"aria-controls":ni,"aria-expanded":s,"aria-label":u,className:"page-menu-toggle",onClick:this.handleMenuToggle,tabIndex:"0",type:"button"},ei.createElement(ct.pr,{className:"page-menu-toggle__icon"})),ei.createElement(Ce.Z,{enableExitCourse:o,className:"courseExit courseExit--mobile",text:a}),ei.createElement("div",{id:"no-menu",tabIndex:tn.mR}))}},{key:"renderSidebar",value:function(e){var t=this,n=e.allowTabNavigation,r=e.restrictingQuiz,i=this.props,o=i.course,a=i.courseProgress,s=i.labels,u=i.lessons,c=i.search,l=i.sessionPreferences,d=this.state.sidebarEnabled,f=s.courseSkipToLesson,p=c.active,h=this.renderLesson.bind(this,n,r);return ei.createElement(Jr,{hidden:!n,id:ni,label:ri},ei.createElement(Zr,{allowSearch:!(0,Yr.gr)(o)&&o.allowSearch,courseTitle:o.title,coverImage:o.coverImage,allowTabNavigation:n,focusLessonContent:ai(d),labels:s,lessons:u,searchActive:p,sessionPreferences:l,ref:function(e){t.sidebar=e},skipLinkText:f},ei.createElement(xr,{lessonComplete:s.lessonComplete,value:a.percentComplete}),ei.createElement(Yn,{labels:s,search:c},p?this.renderSearchResults(n):ii(h,(0,Fe.w_)(u)))))}},{key:"render",value:function(){var e=this,t=this.props,n=t.applySafariLandscapeHack,r=t.course,i=t.courseProgress,o=t.labels,a=t.lessons,s=t.location,u=t.match,c=t.partnerContent,l=t.previewType,d=t.safariLandscapeHackOffset,f=t.search,p=t.sessionPreferences,h=this.state,v=h.isPreviewLesson,g=h.isProgressSummary,y=h.isRestrictedNavHovering,b=h.menuIsOpen,_=h.mobileMenuIsOpen,w=h.sidebarEnabled,E=r.lmsOptions,k=(void 0===E?{}:E).enableExitCourse,x=o.courseExit,S=function(e){var t=e.course,n=e.search;return _e()(le()("lessons",n.lessons),le()("lessonsOnly",oi(n.lessons)))(t)}({course:r,search:f}),T=this.allowTabNavigation(),C=this.renderMenuButtons(),N=q()("lesson",{"lesson--preview":v,"lesson--open":b&&!v,"lesson--open-mobile":_&&!v}),O=(0,Be.Z)({course:r,courseProgress:i}),A=n?{paddingBottom:d}:{},P={allowRestrictedTooltip:!y,course:f.active&&!ve()(f.lessons)?S:r,focusLessonContent:ai(w),handleStorylineFullscreen:this.handleStorylineFullscreen,isProgressSummary:g,key:s.pathname,labels:o,lessonProgress:i.lessons[u.params.id],match:u,menuButtons:C,menuOpen:!v&&b,mobileMenuOpen:_,navigateDirection:this.handleNavigateDirection,onNavigate:this.handleNavigate,onNavMouse:this.handleNavHover,partnerContent:c,previewType:l,courseProgress:i,sessionPreferences:p,sidebarEnabled:w},L=g?{courseProgress:i,lessons:a}:{};return ei.createElement(Xr,{className:N,contentRef:function(t){return e.node=t}},w&&this.renderSidebar({allowTabNavigation:T,restrictingQuiz:O}),ei.createElement("div",{className:"lesson__wrap",ref:function(t){return e.wrap=t}}),ei.createElement(Qr,{onMobileMenuActiveClick:this.closeMenu},ei.createElement("div",{className:"page-view page-view--visible"},ei.createElement(Ce.Z,{enableExitCourse:k,className:"courseExit courseExit--standard",text:x}),ei.createElement(m.W3,{component:"div",className:"page-wrap",id:"page-wrap",style:A},ei.createElement(yr.Z,{key:s.pathname},ei.createElement(zn,(0,J.Z)({},P,L)))))))}},{key:"closeMenu",value:function(){return this.state.mobileMenuIsOpen?this.handleMenuToggle:Function.prototype}},{key:"renderSearchLesson",value:function(e,t,n){var r=this.props.labels,i=this.state.sidebarEnabled,o=t.icon,a=t.id,s=t.results,u=t.title,c=t.type;return ei.createElement(er,{allowTabNavigation:e,focusLessonContent:ai(i),icon:o,id:a,key:"item-".concat(a),labels:r,lessonIndex:n,onClick:this.handleNavigate,onMobileActiveClick:this.closeMenu,resultsCount:s,title:u,type:c})}},{key:"renderSearchResults",value:function(e){var t=this.props.search.activeLessons,n=this.renderSearchLesson.bind(this,e);return _e()(he()(Ze.T0),ii(n))(t)}},{key:"setIsMobileState",value:function(){var e=this.state.lastScreen,t=getComputedStyle(this.node,":after").content.replace(/"/g,"");if(t!==e){var n="mobile"===t;this.setState({isMobile:n,lastScreen:t})}}}],[{key:"propTypes",get:function(){return{children:B().node,course:B().object,courseProgress:B().object,labels:B().object,lessons:B().array,location:B().object.isRequired,match:B().object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),n}(ei.Component),ui=(0,Bn.lJ)(si),ci=n(67294);function li(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var di=(0,Et.Z)(ui),fi=function(e){(0,u.Z)(n,e);var t=li(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"displayFlex",value:function(e){e.css({display:"flex"})}},{key:"componentDidMount",value:function(){var e=this;X()(".page__content").addClass("page__content--appear");var t=X()("[data-page]:first-child [data-previous-lesson]"),n=document.getElementsByClassName("page-wrap");t.length>0?setTimeout((function(){var r=t.height();e.displayFlex(t),X()(n).scrollTop(r),X()("[data-lesson-header]").css({top:r})}),50):X()(n).scrollTop(0)}},{key:"componentWillEnter",value:function(e){var t=document.querySelector("[data-overview-sidebar-content]"),n="overview-sidebar__content--will-enter",r="overview-sidebar__content--will-enter-active";t.classList.add(n),setTimeout((function(){t.classList.add(r)}),10),setTimeout((function(){t.classList.remove(n,r),e()}),2e3)}},{key:"render",value:function(){return ci.createElement(m.W3,{className:"transition-group"},ci.createElement(yr.Z,null,ci.createElement(di,this.props)))}}]),n}(ci.Component),pi=n(57469),hi=n(53007),mi=n.n(hi),vi=n(23018),gi=n.n(vi),yi=n(36573),bi=n.n(yi),_i=n(17794),wi=n.n(_i),Ei=n(53523),ki=n.n(Ei),xi=n(46408),Si=n.n(xi),Ti=n(24234),Ci=n.n(Ti),Ni=n(67430),Oi=n.n(Ni),Ai=n(47176),Pi=n.n(Ai),Li=n(87637),Ii=n(2562),Mi=n(69798),Ri=n.n(Mi),Di=n(34923),ji=n.n(Di),Zi=n(20780),Bi=n.n(Zi),Fi=n(30381),Ui=n.n(Fi),qi=n(144),zi=n.n(qi),Hi=n(5206),Vi=n.n(Hi),Wi=n(63158),Yi=n.n(Wi),Gi=n(97076),Ki=n(31484),$i=n(15713),Xi=n(95238),Ji=n.n(Xi),Qi=n(31471),eo=n(91761),to=n(23328),no=n(23692);var ro=(0,O.EN)((function(e){var t,n=e.allowTooltip,r=void 0===n||n,i=e.history,o=e.id,a=e.isRestricted,s=e.onMouseEnter,u=void 0===s?dt.ZT:s,c=e.onMouseLeave,l=void 0===c?dt.ZT:c,d=e.restrictedText,f="#/lessons/".concat(o),h=(0,Qi.Z)(),m=(0,eo.Tn)(),v=m.color,g=m.navigationStyle,y=(0,to.RN)(o)||{},b=y.icon,_=y.title,w=(0,to.gp)(o),E=(0,to.h8)(o),k=(0,no.pr)(o),x=null==k?void 0:k.isComplete,S=null!==(t=null==k?void 0:k.percentComplete)&&void 0!==t?t:0,T=(0,p.useState)(!1),C=(0,tr.Z)(T,2),N=C[0],O=C[1],A=(0,p.useState)(!1),P=(0,tr.Z)(A,2),L=P[0],I=P[1],M=(0,p.useState)(!1),D=(0,tr.Z)(M,2),j=D[0],Z=D[1],B=(0,p.useCallback)((function(){return O(!1)}),[]),U=(0,p.useCallback)((function(){return O(!0)}),[]),z=(0,p.useCallback)((function(){return I(!0)}),[]),H=(0,p.useCallback)((function(){return I(!1)}),[]),V=(0,p.useCallback)((function(e){var t=e.currentTarget.hash;e.preventDefault(),br.ZP.Events.scrollEvent.register("end",(function(){i.push(Ji()(t).call(t,1)),br.ZP.Events.scrollEvent.remove("end")})),br.ZP.animateScroll.scrollTo(0,{containerId:"overview"}),(0,R.W)((0,Hr.j_)(!0))}),[i]),W=(0,p.useCallback)((function(){j||setTimeout(z,25)}),[j,z]),Y=(0,p.useCallback)((function(e){(0,F.$o)(e)&&H()}),[H]),G=(0,p.useCallback)((function(){Z(!0)}),[]),K=(0,p.useCallback)((function(){Z(!1)}),[]);if(a){var $,X=q()("runtime-tooltip",{"runtime-tooltip--show":r&&N});return p.createElement("li",{className:"overview-list-item overview-list-item--restricted",role:"listitem"},p.createElement(lt.DY,{className:X},p.createElement("span",{"aria-disabled":"true","aria-label":ae()($="The ".concat(_," lesson is currently unavailable: ")).call($,d,"."),className:"overview-list-item__link",onBlur:B,onFocus:U,onMouseEnter:u,onMouseLeave:l,role:"link",tabIndex:"0"},p.createElement("div",{className:"overview-list-item__icon","aria-hidden":"true"},p.createElement($n.a,{icon:b})),p.createElement("div",{className:"overview-list-item__title brand--ui"},_),p.createElement("div",{className:"overview-list-item__progress"},p.createElement(dr.Z,{canComplete:!1,color:v,hasRestriction:a,isComplete:x,isCurrentLesson:o===h,isDark:!1,isEnabled:!0,isFailed:w,isLegacy:!0,isPassed:E,isTooltipVisible:L,navigationStyle:g,onHideTooltip:H,onShowTooltip:z,percentComplete:S,progressGraphic:lr,scope:ir.Jg.COVER})),p.createElement(lt._v,{"aria-hidden":"true",side:"top"},d))))}return p.createElement("li",{className:"overview-list-item",role:"listitem"},p.createElement("a",{className:"overview-list-item__link",href:f,onBlur:H,onClick:V,onFocus:W,onKeyDown:Y,onMouseDown:G,onMouseUp:K},p.createElement("div",{className:"overview-list-item__icon","aria-hidden":"true"},p.createElement($n.a,{icon:b})),p.createElement("div",{className:"overview-list-item__title brand--ui"},_),p.createElement(dr.Z,{canComplete:!1,color:v,hasRestriction:a,isComplete:x,isCurrentLesson:o===h,isDark:!1,isEnabled:!0,isFailed:w,isLegacy:!0,isPassed:E,isTooltipVisible:L,navigationStyle:g,onHideTooltip:H,onShowTooltip:z,percentComplete:S,progressGraphic:lr,scope:ir.Jg.COVER})))})),io=function(e){var t=e.course,n=e.courseProgress,r=e.labels,i=e.lessons,o=e.restrictingQuiz,a=(0,p.useState)(!1),s=(0,tr.Z)(a,2),u=s[0],c=s[1],l=(0,p.useCallback)(c.bind(null,!0),[]),d=(0,p.useCallback)(c.bind(null,!1),[]),f=(0,Bn.ye)("rise-com-lxp"),h=function(e){return e.reduce((function(e,t){return"section"===t.type?e.push([t]):e[e.length-1].push(t),e}),[[]])}(i),m=q()("overview-list",{"overview-list--modern":Mn.VO});return p.createElement("nav",{className:m},ee()(h).call(h,(function(e,i){var a=(0,$i.Z)(e),s=a[0],c=void 0===s?{}:s,h=Ji()(a).call(a,1),m=c.title,v="section"===c.type,g=v?h:e;return p.createElement("section",{key:i},v&&m&&p.createElement("h3",{className:"overview-list__section-title brand--ui"},m),p.createElement("ol",{className:"overview-list__list",role:"list"},ee()(g).call(g,(function(e){var i=(0,Ze.gc)({course:t,courseProgress:n,lesson:e,lxpEnabled:f,restrictingQuiz:o}),a=(0,Ze.HU)({labels:r,restrictions:i});return p.createElement(ro,{allowTooltip:!u,isRestricted:i.isRestricted,key:e.id,id:e.id,onMouseEnter:l,onMouseLeave:d,restrictedText:a})}))))})))},oo=(0,p.memo)(io),ao=n(57030),so=n(58519),uo=n(68339),co=["enableModernOverview"],lo=["enableModernOverview"],fo=["children","enableModernOverview"],po=["children","coverImage","enableModernOverview","enrolled","favoritedAt","hasText","isPreview","startAgain"];function ho(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var mo=ut.S.learn.course.overview,vo=36e5,go=function(e){var t=e.enableModernOverview,n=e.brand;return Yi()(ye()(k()(zi()(ji(),!t),fe()("brand--"))),Bi(),{})(n)},yo=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return q()(t,go({enableModernOverview:e,brand:r}))},bo=function(e){(0,u.Z)(n,e);var t=ho(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){var e=q()("overview",{"overview--modern":this.props.enableModernOverview});return p.createElement("div",{className:e,"data-ba":mo.container,"data-overview":!0,id:"overview"},this.props.children)}},{key:"animate",value:function(e){var t=this,n=this.props.sidebarOpen,r=document.querySelector("[data-overview]"),i=document.querySelector("[data-overview-side]"),o=document.querySelector("[data-overview-side-panel]"),a=document.querySelector("[data-overview-side-panel-content]"),s=n?document.querySelector("[data-lesson-side] [data-overview-sidebar-header-wrap]"):{offsetWidth:0,offsetHeight:0},u={width:e?s.offsetWidth:i.offsetWidth,height:e?s.offsetHeight:i.offsetHeight},c={width:e?i.offsetWidth:s.offsetWidth,height:e?i.offsetHeight:s.offsetHeight},l="overview--will-enter",d="overview--will-enter-active",f="overview--will-exit",p="overview--will-exit-active";return a.style.width="".concat(s.offsetWidth,"px"),o.style.width="".concat(u.width,"px"),o.style.height="".concat(u.height,"px"),r.classList.add(e?l:f),setTimeout((function(){r.classList.add(e?d:p),(e&&window.innerWidth<960||window.innerWidth>=960)&&(o.style.width="".concat(c.width,"px"),o.style.height="".concat(c.height,"px"))}),10),new(Ri())((function(n){r.addEventListener("transitionend",t.sidePanelTransitionEndRef=function(i){var a=i.target;(e&&a.hasAttribute("data-overview-content")||!e&&a.hasAttribute("data-overview-side-panel-content")||!e&&a.hasAttribute("data-overview")&&window.innerWidth<960)&&(r.removeEventListener("transitionend",t.sidePanelTransitionEndRef),o.style.width=o.style.height="",r.classList.remove(l,d,f,p),n())})}))}}]),n}(p.Component),_o=function(e){(0,u.Z)(n,e);var t=ho(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={coverImageLoaded:!1},r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.coverImage.media,n=(void 0===t?{}:t).image,r=void 0===n?{}:n,i=r.key,o=r.src,a=i?(0,Qe.xR)(r):o;(i||o)&&(this.image=new Image,this.image.src=a,this.image.addEventListener("load",this.imageLoadRef=function(){e.setState({coverImageLoaded:!0})}))}},{key:"componentWillUnmount",value:function(){this.image&&(this.image.removeEventListener("load",this.imageLoadRef),this.image=null)}},{key:"render",value:function(){var e=this.props.coverImage,t=e.media,n=void 0===t?{}:t,r=e.alpha,i=n.image,o=void 0===i?{}:i,a=o.key,s=p.Children.toArray(this.props.children),u=a?{backgroundImage:"url('".concat((0,Qe.xR)(o),"')")}:null,c=q()("overview__side-panel",{"brand--background":!a});return p.createElement("div",{className:"overview__side","data-overview-side":!0},p.createElement("div",{className:c,"data-overview-side-panel":!0,style:u},this.state.coverImageLoaded?p.createElement(wr,{alpha:r}):null,p.createElement("div",{className:"overview__side-panel-content","data-overview-side-panel-content":!0},he()(Ee()("type",Zr),s))),p.createElement("div",{className:"overview__side-content","data-overview-content":!0},p.createElement("div",{className:"overview__side-container"},p.createElement("div",{className:"overview__side-container-content"},he()(bi()(Ee())("type",Zr),s)))))}}]),n}(p.Component),wo=function(e){var t=e.children;return p.createElement("div",{className:"overview__main",id:"overview-main",tabIndex:"-1"},p.createElement("div",{className:"overview__content"},p.createElement("div",{className:"overview__container"},t)))},Eo=function(e){return p.createElement("div",(0,J.Z)({},e,{className:"overview__columns"}))},ko=function(e){return p.createElement("div",(0,J.Z)({},e,{className:"overview__main-col"}))},xo=function(e){return p.createElement("div",(0,J.Z)({},e,{className:"overview__aside"}))},So=function(e){var t=e.enableModernOverview,n=(0,Ii.Z)(e,co);return t?p.createElement(xo,n):null},To=function(e){var t=e.enableModernOverview,n=(0,Ii.Z)(e,lo),r=t?"overview__section-header":"visually-hidden";return p.createElement("header",(0,J.Z)({},n,{className:r}))},Co=function(e){var t=e.children,n=e.enableModernOverview,r=(0,Ii.Z)(e,fo),i=n?yo(n,"overview__heading","ui"):null;return p.createElement("h2",(0,J.Z)({},r,{className:i}),t)},No=function(e){var t=e.avatar,n=e.authorName,r=e.enableModernOverview;return t&&n?p.createElement("div",{className:yo(r,"overview__author","ui")},p.createElement("div",{className:"overview__author-image",style:{backgroundImage:"url(".concat((0,K.i3)(t),")")}}),p.createElement("div",null,p.createElement("span",{"aria-hidden":"true"},n),p.createElement("span",{className:"visually-hidden"},"By ",n))):null},Oo=function(e){var t=e.enableModernOverview,n=e.children;return p.createElement("div",{className:"overview__title-wrap"},p.createElement(Xe.Z,{className:yo(t,"overview__title","head"),tagName:"h1",value:n}))},Ao=k()(Vi()(["isPreview"]),Re()({},"global")),Po=(0,h.$j)(Ao,{})((function(e){var t=e.children,n=e.coverImage,r=e.enableModernOverview,i=e.enrolled,o=e.favoritedAt,a=e.hasText,s=e.isPreview,u=e.startAgain,c=(0,Ii.Z)(e,po),l=C()(["media","image","key"],n),d=(0,Bn.ye)("rise-com-lxp"),f=q()("overview__button",{"brand--color":!l,"brand--ui":Mn.VO,"overview__outline-btn":u,"overview__start-again":u,"overview__button-enrolled":d||i||o||s||(0,K.AP)()||(0,K.R)()||!Mn.VO&&r,"overview__button--empty":!a});return p.createElement(st.rU,(0,J.Z)({className:f},c),t)})),Lo=function(e){var t=e.enableModernOverview,n=e.text;return p.createElement(br.ZP.Link,{className:"overview__details-trigger",containerId:"overview",duration:1e3,href:"#overview-main",smooth:!0,to:"overview-main"},p.createElement("span",{className:yo(t,"overview__details-trigger-text","ui")},n),p.createElement(ct._M,null))},Io=function(e){var t=e.src,n=e.width,r=e.height;return t?p.createElement("div",{className:"overview__logo"},p.createElement("img",{src:t,width:n,height:r,alt:""})):null},Mo=function(e){return"<p><br></p>"===e?"":e},Ro=function(e){var t=e.publishedAt;if(!Mn.VO)return null;var n=Ui()(t);return n.isValid()&&p.createElement("span",{className:"overview__description-published"},n.format("[Published] MMMM D, YYYY"))},Do=function(e){var t=e.enableModernOverview,n=e.numLessons,r=e.publishedAt,i=e.showTimeToComplete,o=e.text,a=e.timeToComplete,s=(0,uo.Br)(960);return Mo(o)?p.createElement(p.Fragment,null,p.createElement(To,{enableModernOverview:t},p.createElement(Co,{enableModernOverview:t},"Description"),s&&p.createElement(Ro,{publishedAt:r}),!s&&p.createElement(Zo,{numLessons:n,timeToComplete:a,showTimeToComplete:i,standalone:!1})),p.createElement(Xe.Z,{key:"text",value:Mo(o),className:yo(t,"overview__description brand--linkColor","body")})):null},jo=function(e,t){return 1===e?t:ae()(t).call(t,"s")},Zo=function(e){var t,n=e.numLessons,r=e.timeToComplete,i=e.showTimeToComplete,o=e.standalone,a=void 0===o||o,s=r>=vo?(t=Ui().duration(r).asHours(),Math.round(10*t)/10):Ui().duration(r).asMinutes(),u=q()("overview__stat",{"overview__stat-standalone":!a});return p.createElement("ul",{className:u,role:"list"},p.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},p.createElement("span",{className:"overview__stat-value"},n)," ",jo(n,"Lesson")),Mn.VO&&i&&p.createElement("li",{className:"overview__stat-value-wrap",role:"listitem"},p.createElement("span",{className:"overview__stat-value"},s)," ",jo(s,r>=vo?"Hour":"Minute")))},Bo=function(e){var t=e.avatar,n=e.authorName,r=e.authorTitle,i=e.enableModernOverview;return t&&n?p.createElement("section",{className:yo(i,"overview__author-card","ui")},p.createElement("h2",{className:"visually-hidden"},"Course Author"),p.createElement("img",{className:"overview__author-card-image",src:(0,K.i3)(t),alt:""}),p.createElement("span",{className:"overview__author-card-wrap"},p.createElement("span",{className:"overview__author-card-name"},n),r&&p.createElement("span",{className:"overview__author-card-title"},r))):null},Fo=function(e){var t,n=e.dueAt;if(!n)return null;var r=(0,Gi.Z)(n),i=q()("overview__due-date","brand--border",(t={},(0,Rt.Z)(t,"brand--color",!r),(0,Rt.Z)(t,"overview__due-date--urgent brand--background",r),t));return p.createElement("div",{className:i},(0,Gi.b)(n))},Uo=function(e){var t=e.component;return p.createElement("span",{"aria-hidden":"true",className:"overview__requirements-icon"},p.createElement(t,{className:"overview__requirements-icon-svg"}))},qo=function(e){var t,n=e.completedAt,r=e.courseProgress,i=e.dueAt,o=e.lessons,a=void 0===o?[]:o,s=e.numLessons,u=e.trackingCompletionPercentage,c=e.trackingQuizId,l=!S()(u),d=!!c,f=Math.ceil(u/100*s),h=Oe()(gi()(Ee()("type","quiz"),Ee()("id",c)),a),m=Re()(void 0,"title",h),v=C()(["settings","passingScore"],h),g=!l||r.percentComplete>=u,y=(0,Ze.RK)(r,h,c),b=y.outOfAttempts,_=y.quizPassed,w=!_&&b,E=g&&(_||w);return l||d?p.createElement("section",{className:"overview__requirements"},p.createElement("h2",{className:"overview__requirements-header"},"Course Requirements"),p.createElement("ul",{className:"overview__requirements-list",role:"list"},l&&!isNaN(f)&&p.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},g?p.createElement("span",{className:"overview__requirements-icon"},p.createElement(ct.iL,{"aria-label":"Requirement complete"})):p.createElement(Uo,{component:ct.dI}),p.createElement("span",null,"Complete",f===s?" all ":ae()(t=" ".concat(f," of ")).call(t,s," "),"lessons in this course")),d&&m&&p.createElement("li",{className:"overview__requirements-list-item",role:"listitem"},_?p.createElement("span",{className:"overview__requirements-icon"},p.createElement(ct.iL,{"aria-label":"Requirement complete"})):w?p.createElement("span",{className:"overview__requirements-icon"},p.createElement(ct.yt,{"aria-label":"Quiz failed"})):p.createElement(Uo,{component:ct.WH}),p.createElement("div",null,p.createElement("span",null,m,!S()(v)&&p.createElement(p.Fragment,null,p.createElement("span",{"aria-hidden":"true",className:"overview__requirements-separator"}," | "),"Score of ",v,"% or higher")),w&&p.createElement("div",{className:"overview__requirements-no-attempts"},"No attempts remaining."))),Mn.VO&&!E&&i&&p.createElement("li",{role:"listitem"},p.createElement(Fo,{dueAt:i})),n&&p.createElement("li",{className:"overview__requirements-completed",role:"listitem"},"Completed ",Ui()(n).format("L")))):null},zo=function(e){return p.createElement("div",(0,J.Z)({},e,{className:"overview__author-requirements-wrap"}))},Ho=function(e){var t=e.categories,n=void 0===t?[]:t;return 0===n.length?null:p.createElement("div",{className:"overview__categories-wrap"},p.createElement("section",{className:"overview__categories"},p.createElement("h2",{className:"overview__categories-header"},"Topics"),p.createElement("ul",{className:"overview__categories-list",role:"list"},ee()(n).call(n,(function(e,t){return p.createElement("li",{className:"overview__categories-list-item",key:t,role:"listitem"},p.createElement("span",{className:"overview__categories-icon","aria-hidden":"true"},p.createElement(ct.fy,null)),p.createElement("span",{className:"overview__categories-name"},e))})))))},Vo=function(e){var t=e.favoritedAt,n=e.onClick,r=e.onRemove,i=t?r:n,o=t?"Saved to My List":"Save to My List",a=q()({"overview__enroll-heart-filled":t,"overview__enroll-heart-outline":!t});return p.createElement("button",{"aria-pressed":!!t,className:q()("overview__enroll-button"),"data-ba":mo.favoriteButton,onClick:i,type:"button"},p.createElement(ct.YK,{isFilled:t,className:a}),o)},Wo="".concat((0,Mn.dU)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),Yo=function(e){var t=e.certificateDownload,n=e.currentUser,r=(0,uo.kS)(500);return p.createElement("div",{className:"overview__completion-wrap"},p.createElement("div",{className:"overview__completion-avatar"},p.createElement(ao.Z,(0,J.Z)({},n,{decorative:!0,size:r?40:60})),p.createElement("img",{className:"overview__trophy",src:Wo,alt:""})),p.createElement("div",{className:"overview__completed"},p.createElement("span",{"aria-hidden":"true"},"Completed"),p.createElement("span",{className:"visually-hidden"},"Course Completed")),t&&p.createElement("div",{className:"overview__certificate"},p.createElement(Ki.Z,null)))},Go=function(e){var t=e.certificateDownload,n=e.completedQuizRequirement,r=e.courseBtnText,i=e.coverImage,o=e.currentUser,a=e.enrolled,s=e.enrollmentType,u=e.favoritedAt,c=e.handleAddFavoriteClick,l=e.handleRemoveFavoriteClick,d=e.nextLessonId,f=e.percentComplete,h=e.startAgain,v=(0,Bn.ye)("rise-com-lxp");return p.createElement("div",{className:q()("overview__continueWrapper",{"overview__start-again-wrapper":h&&a})},p.createElement("div",{className:"overview__continueButtonsWrap"},p.createElement(m.Kv,{classNames:"overview__button-transition",in:v||a||!!u,timeout:0},p.createElement(Po,{coverImage:i,"data-ba":mo.startButton,enableModernOverview:!0,enrolled:a,favoritedAt:u,hasText:Boolean(r),startAgain:h,to:"/lessons/".concat(d)},p.createElement("span",{className:"overview__continueBtn"},r))),Mn.VO&&"preview"!==window.viewType&&!(0,K.AP)()&&!v&&p.createElement(Vo,{enrolled:a,enrollmentType:s,favoritedAt:u,onClick:c,onRemove:l,percentComplete:f,startAgain:h})),p.createElement("span",{className:"overview__spacer"}),h&&n&&!(0,K.R)()&&p.createElement(Yo,{currentUser:o,certificateDownload:t}))},Ko=(0,h.$j)((function(e){return{partnerContent:Ie()([],["partnerContent","content"],e)}}))((function(e){var t=e.authorName,n=e.authorTitle,r=e.avatar,i=e.categories,o=e.completedAt,a=e.course,s=e.courseProgress,u=e.enableModernOverview,c=e.dueAt,l=e.labels,d=e.lessons,f=e.numLessons,h=e.partnerContent,m=e.restrictingQuiz,v=e.showTimeToComplete,g=e.sidebarEnabled,y=e.timeToComplete,b=e.trackingCompletionPercentage,_=e.trackingQuizId,w=a.description,E=a.id,k=a.publishedAt,x=a.selectedAuthorId,S=a.tenantId,T=Oe()((function(e){return e.id===x}),h);return(0,uo.Br)(960)?p.createElement(p.Fragment,null,p.createElement(Eo,null,p.createElement(So,{enableModernOverview:u},p.createElement("section",null,p.createElement("h2",{className:"visually-hidden"},"Course Length"),p.createElement(Zo,{numLessons:f,timeToComplete:y,showTimeToComplete:v})),p.createElement(zo,null,T?p.createElement(so.Z,{courseId:E,partnerContent:T,publishedAt:k,tenantId:S}):p.createElement(Bo,{avatar:r,authorName:t,authorTitle:n}),p.createElement(qo,{lessons:d,numLessons:f,trackingCompletionPercentage:b,trackingQuizId:_,courseProgress:s,dueAt:c,completedAt:o})),p.createElement(Ho,{categories:i})),p.createElement(ko,null,p.createElement("section",null,p.createElement(Do,{enableModernOverview:u,text:w,publishedAt:k})),g&&p.createElement("section",null,p.createElement(To,null,p.createElement(Co,{enableModernOverview:u},"Course Outline"),!w&&p.createElement(Ro,{publishedAt:k})),p.createElement(oo,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:m,trackingQuizId:_}))))):p.createElement(p.Fragment,null,p.createElement(Eo,null,u?p.createElement(So,{enableModernOverview:!0},p.createElement("section",null,p.createElement(Do,{enableModernOverview:u,text:w,publishedAt:k,numLessons:f,timeToComplete:y,showTimeToComplete:v})),p.createElement(zo,null,p.createElement(qo,{lessons:d,numLessons:f,trackingCompletionPercentage:b,trackingQuizId:_,courseProgress:s,dueAt:c,completedAt:o})),p.createElement(Ho,{categories:i})):p.createElement("section",null,p.createElement(Do,{enableModernOverview:u,text:w,publishedAt:k,numLessons:f,timeToComplete:y,showTimeToComplete:v})),p.createElement(ko,null,g&&p.createElement("section",null,p.createElement(To,null,p.createElement(Co,{enableModernOverview:u},"Course Outline"),!w&&p.createElement(Ro,{publishedAt:k})),p.createElement(oo,{course:a,courseProgress:s,labels:l,lessons:d,restrictingQuiz:m,trackingQuizId:_})))))})),$o=n(67294);function Xo(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var Jo=_e()(jt()([]),he()(bi()(Ee()("type","section"))),Ci()),Qo=wi()([[Ee()("hasNextLesson",!0),ze()("nextLessonTitle")],[Oi()(bi()(S()),"trackingQuizId"),ze()("quizTitle")],[mi(),Cr()("Nothing here")]]),ea=function(e){(0,u.Z)(n,e);var t=Xo(n);function n(){var e,r;(0,o.Z)(this,n);for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return(r=t.call.apply(t,ae()(e=[this]).call(e,a))).addFavorite=r.addFavorite.bind((0,s.Z)(r)),r.removeFavorite=r.removeFavorite.bind((0,s.Z)(r)),r.handleStartButtonKeyDown=r.handleStartButtonKeyDown.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){br.ZP.Events.scrollEvent.register("end",(function(e,t){t&&t.focus()}))}},{key:"componentWillUnmount",value:function(){br.ZP.Events.scrollEvent.remove("end")}},{key:"componentWillEnter",value:function(e){this.courseOverview.animate(!0).then(e)}},{key:"componentWillExit",value:function(e){this.courseOverview.animate().then(e)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.course,i=n.courseProgress,o=n.lessons,a=n.labels,s=Ie()([],["partnerContent","content"],this.props),u=C()(["lmsOptions","enableExitCourse"],r),c=Ie()({},["media","image"],r),l=c.key,d=c.width,f=c.height,h=l?(0,Qe.xR)(c):null,m=a.courseStart,v=a.courseResume,g=a.courseDetails,y=a.courseExit,_=a.overviewPageTitleSuffix,w=r.author,E=r.authors,x=r.categories,T=r.certificateDownload,N=r.completedAt,O=r.dueAt,A=r.enrolled,P=r.favoritedAt,L=r.partnerContentId,I=r.riseComCurrentUser,M=r.riseComEnrollmentType,R=r.selectedAuthorId,D=r.showTimeToComplete,j=r.timeToComplete,Z=r.trackingCompletionPercentage,B=r.trackingQuizId,F=Mn.VO||(0,K.R)()||Boolean(L),U=(0,Yr.Gp)(r),z=(0,Yr.A1)(r),H=C()(["lessonsOnly",0,"id"],r),V=k()(Re()("","title"),Si(),he()(Ee()("id",B)),ze()("lessons"))(r),W=(0,K.R)()?100===i.percentComplete:(0,K.ew)(),Y=F&&"preview"!==window.viewType&&i.percentComplete&&!W?Pi()(gi()(S(),Cr()(B)),Cr()(B))((0,Ze.lj)(i.lessons,B)):H,G=!S()(Y),$=F&&(W||!G&&S()(B)),X=(e=v,$?"Start Again":e),J=i.percentComplete?X:m,Q=G?ki()(Ee()("id",Y))(r.lessonsOnly):-1,ee=G?Ie()("",["lessonsOnly",Q,"title"],r):"",te=Qo({hasNextLesson:G,nextLessonTitle:ee,trackingQuizId:B,quizTitle:V}),ne=q()("overview__continueMessage",{"overview__continueMessage-hide":!A&&!P}),re=(0,kn.Z)({authors:E,author:w,selectedAuthorId:R}),ie=re.avatar,oe=re.authorName,ae=re.title,se=(0,Be.Z)({course:r,courseProgress:i}),ue=Jo(o),ce=!B||Ie()(!1,["lessons",B,"passed"],i),le=Oe()((function(e){return e.id===R}),s),de=le&&le.data.authors,fe=de?$o.createElement(Li.Z,{partnerContentAuthors:de,learn:!0}):$o.createElement(No,{avatar:ie,authorName:oe,enableModernOverview:F});return $o.createElement(b(),{title:(0,Rn.Z)(r.title+" - "+_)},$o.createElement(bo,{enableModernOverview:F,ref:function(e){return t.courseOverview=e},sidebarEnabled:U,sidebarOpen:z},$o.createElement(Ce.Z,{enableExitCourse:u,className:"courseExit courseExit--overview",text:y}),$o.createElement("header",null,$o.createElement(_o,{coverImage:r.coverImage},$o.createElement(Zr,{courseTitle:r.title,coverImage:r.coverImage},$o.createElement(xr,{lessonComplete:a.lessonComplete,value:i.percentComplete})),fe,$o.createElement(Oo,{enableModernOverview:F},r.title),F&&0!==i.percentComplete&&$o.createElement(p.Fragment,null,$o.createElement("div",{className:"overview__progressBar"},$o.createElement(xr,{lg:!0,rounded:!0,lessonComplete:a.lessonComplete,value:i.percentComplete})),!!i.percentComplete&&!$&&$o.createElement("div",{className:ne},$o.createElement(ct.ol,{className:"overview__continueIcon",decorative:!0}),$o.createElement("span",{"aria-hidden":"true",className:"overview__nextLessonText"},te),$o.createElement("span",{className:"visually-hidden"},"Next lesson: ",te))),$o.createElement("div",null,F?$o.createElement(Go,{certificateDownload:T,completedQuizRequirement:ce,courseBtnText:J,courseProgress:i,coverImage:r.coverImage,currentUser:I,enrolled:A,enrollmentType:M,favoritedAt:P,handleAddFavoriteClick:this.addFavorite,handleRemoveFavoriteClick:this.removeFavorite,handleKeyDown:this.handleStartButtonKeyDown,nextLessonId:Y,nextLessonText:te,percentComplete:i.percentComplete,startAgain:$}):$o.createElement(Po,{to:"/lessons/".concat(G?Y:H),coverImage:r.coverImage,hasText:Boolean(J),onKeyDown:this.handleStartButtonKeyDown},J),U&&!Mn.VO&&!F&&$o.createElement(Lo,{text:g})))),$o.createElement("main",{"aria-label":"Course Details"},$o.createElement(wo,null,$o.createElement(Io,{src:h,width:d,height:f}),$o.createElement(Ko,{authorName:oe,authorTitle:ae,avatar:ie,categories:x,completedAt:N,course:r,courseProgress:i,enableModernOverview:F,dueAt:O,labels:a,lessons:o,numLessons:ue,restrictingQuiz:se,showTimeToComplete:D,sidebarEnabled:U,timeToComplete:j,trackingCompletionPercentage:Z,trackingQuizId:B})))))}},{key:"handleStartButtonKeyDown",value:function(e){(0,F.Uf)(e)&&(0,R.W)((0,Hr.Mi)(!0))}},{key:"addFavorite",value:function(){(0,R.W)((0,Y.a3)())}},{key:"removeFavorite",value:function(){(0,R.W)((0,Y.Ni)())}}]),n}($o.Component),ta=ea,na=n(80454),ra=n(79886),ia=n(41207),oa=n(22183);function aa(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var sa=ut.S.learn.course,ua=f()(document.createElement("div"),{id:"portal"});function ca(e){(null!=e?e:document.body).appendChild(ua),ua.style.display=e?"":"none"}ca();var la=function(e){(0,u.Z)(n,e);var t=aa(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={previewType:"",failAttempt:!1,showPasswordDialog:!0},r.onSharePasswordSubmit=r.onSharePasswordSubmit.bind((0,s.Z)(r)),r.onFavoriteAdded=r.onFavoriteAdded.bind((0,s.Z)(r)),r.onFavoriteRemoved=r.onFavoriteRemoved.bind((0,s.Z)(r)),r.preventExternalLinking=r.preventExternalLinking.bind((0,s.Z)(r)),r.closeExternalLinkingModal=r.closeExternalLinkingModal.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"componentWillMount",value:function(){M.Z.isIe11&&document.documentElement.classList.add("ie11"),M.Z.isSafari9&&document.documentElement.classList.add("safari9"),M.Z.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),M.Z.isSafari&&"iframe"===this.props.match.params.mode&&w().enable(),window.addEventListener("message",this.handleMessages.bind(this)),(0,tn.V0)()}},{key:"componentDidMount",value:function(){document.documentElement.lang=this.props.languageCode,(0,pi.on)("favoriteAdded",this.onFavoriteAdded),(0,pi.on)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){(0,R.W)((0,ra.lm)(e))}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.course,r=t.languageCode;!e.languageCode&&r&&(document.documentElement.lang=r),!e.course&&n&&n.externalLinksDisabled&&document.addEventListener("click",this.preventExternalLinking,!0),this.courseCompleted()&&S()(n.completedAt)&&(0,R.W)((0,na.bO)(R.W))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("message",this.handleMessages.bind(this)),document.removeEventListener("click",this.preventExternalLinking,!0),(0,pi.S1)("favoriteAdded",this.onFavoriteAdded),(0,pi.S1)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"handleMessages",value:function(e){var t=this,n=e.data;e.origin===window.location.origin&&(0,N.Z)(n).forEach((function(e){var n=e.type,r=e.data;"preview:update"===n&&t.setState({previewType:r})}))}},{key:"onSharePasswordSubmit",value:function(e){var t=this;return(0,K.LX)(e.value).then((function(n){n.isValid?t.setState({showPasswordDialog:!1}):(e.value="",t.setState({failAttempt:!0}))})).catch((function(e){return console.error("Verify password error",e)}))}},{key:"onFavoriteAdded",value:function(){(0,R.W)((0,Y.Zc)())}},{key:"onFavoriteRemoved",value:function(){(0,R.W)((0,Y.Xv)())}},{key:"courseCompleted",value:function(){var e=this.props.courseProgress;return(0,K.R)()?100===e.percentComplete:(0,K.ew)()}},{key:"preventExternalLinking",value:function(e){var t=e.target.closest("a, .fr-view");t&&"A"===t.tagName&&(0,G.B)(t.href)&&(e.preventDefault(),this.props.showExternalLinksModal())}},{key:"closeExternalLinkingModal",value:function(){this.props.hideExternalLinksModal()}},{key:"renderAppLayout",value:function(){var e=this.props,t=e.course,n=e.courseProgress,r=e.easterEggClassNames,i=e.externalLinksModalVisible,o=e.labels,a=e.lessons,s=e.location,u=e.partnerContent,c=e.search,l=e.sessionPreferences,d=this.state.previewType;if(!t)return null;var f=t.color,h=t.bodyTypeface,v=t.headingTypeface,g=t.uiTypeface,y=s.pathname.split("/")[1],_={key:s.pathname.split("/")[1],course:t,courseProgress:n,labels:o,lessons:a,location:s,partnerContent:u,previewType:d,search:c,sessionPreferences:l},w={bodyTypeface:h,color:f,headingTypeface:v,uiTypeface:g};return p.createElement(oa.ac,{courseColor:f},p.createElement(b(),{title:(0,Rn.Z)(t.title)},p.createElement("div",{id:"innerApp","data-ba":sa.container,className:r,ref:ca},p.createElement(L.Z,w),p.createElement(I.Z,{env:"runtime"},p.createElement(m.W3,{component:"div",className:"transition-group"},p.createElement(yr.Z,{key:y},p.createElement(P.Z,{location:s},p.createElement(A.Z,{exact:!0,path:"/",component:ta,childProps:_}),p.createElement(A.Z,{exact:!0,path:"/:mode",component:ta,childProps:_}),p.createElement(A.Z,{exact:!0,path:"/lessons/:id",component:fi,childProps:_}),p.createElement(A.Z,{path:"/lessons/:id/:mode",component:fi,childProps:_}))),i&&p.createElement(m.Kv,{classNames:"modal",timeout:400},p.createElement(W,{onClose:this.closeExternalLinkingModal})))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&(0,K.tL)()&&(!!e||(0,K._s)()),i=this.onSharePasswordSubmit;return r?p.createElement(ia.Z,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(p.Component),da=g()({externalLinksModalVisible:C()(["global","externalLinksModalVisible"])}),fa=k()(D.x,O.EN,(0,h.$j)(da,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}},hideExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!1}}}))(la)},36650:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(64393),i=n(67294);function o(e){return e.enableExitCourse?i.createElement("button",{className:e.className,onClick:r.JF,type:"button"},e.text):null}},99499:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(73126),a=n(68420),s=n(27344),u=n(5281),c=n(90306),l=n(3020),d=n(3362),f=n(89830),p=n(23493),h=n.n(p),m=n(67294);function v(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}t.Z=function(e){return function(t){(0,c.Z)(r,t);var n=v(r);function r(e){var t;return(0,a.Z)(this,r),(t=n.call(this,e)).state={orientation:{},navigationHidden:{}},t.applySafariLandscapeHack=t.applySafariLandscapeHack.bind((0,u.Z)(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(0,s.Z)(r,[{key:"componentDidMount",value:function(){f.Z.isIphoneSafari&&(this.applySafariLandscapeHack(),this.root.addEventListener("resize",this.resizeRef=h()(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 m.createElement(e,(0,o.Z)({},this.props,{applySafariLandscapeHack:"landscape"===this.state.orientation&&0!==this.state.difference,safariLandscapeHackOffset:this.state.difference}))}}]),r}(m.Component)}},72535:function(e,t,n){"use strict";n.d(t,{FE:function(){return u},JH:function(){return c}});var r=n(94184),i=n.n(r),o=n(36335),a=n(67294),s=(0,o.Z)("page");t.ZP=function(e){var t=e.type,n=e.children;return a.createElement("div",{className:s({lessonTypeQuiz:"quiz"===t}),"data-type":t,"data-page":!0},n)};var u=function(e){var t=e.type,n=e.children,r="video"===t||"embed"===t||"blocks"===t||"progress-summary"===t,o=i()("page__wrapper",{"page__wrapper--white":r});return a.createElement("div",{className:o},n)},c=function(e){var t=e.type,n=e.children,r=i()("page__content",{"page__content--timeline":"timeline"===t});return a.createElement("div",{className:r},n)}},41207:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(94184),d=n.n(l),f=n(45697),p=n.n(f),h=n(50554),m=n(91761),v=n(67294);function g(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var y=function(e){(0,s.Z)(n,e);var t=g(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={failAttempt:!1,shouldShake:!1},r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.dialog.addEventListener("animationend",this.handleRemoveAnimationEnd.bind(this))}},{key:"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=d()("brand--border","share-password-dialog",{"fail-password":n}),i=t?"You need a password to view this lesson. If you don’t know it, ask the person who shared this with you.":"You need a password to view this course. If you don’t know it, ask the person who shared this with you.";return v.createElement("div",{className:r,ref:function(t){e.dialog=t}},v.createElement("h1",{className:"heading"},"Enter Password"),v.createElement("p",{className:"instructions"},i),v.createElement("form",{onSubmit:this.onSubmitPassword.bind(this)},v.createElement("label",{htmlFor:"share-password",className:"label"},"password"),v.createElement("input",{id:"share-password",ref:"password",type:"password",className:"input"}),v.createElement("div",{className:"dialog__toolbar"},v.createElement("input",{type:"submit",className:"button brand--background",value:"View"}))))}}],[{key:"propTypes",get:function(){return{onSubmit:p().func.isRequired,failAttempt:p().bool.isRequired}}}]),n}(v.Component);t.Z=(0,h.$j)((function(e){return{isOnePage:(0,m.nq)(e)}}))(y)},1762:function(e,t,n){"use strict";n.d(t,{Z:function(){return jl}});var r=n(13535),i=n.n(r),o=n(89356),a=n.n(o),s=n(63263),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(2562),h=n(44845),m=n(68420),v=n(27344),g=n(5281),y=n(90306),b=n(3020),_=n(3362),w=n(88066),E=n.n(w),k=n(30699),x=n.n(k),S=n(50047),T=n.n(S),C=n(95238),N=n.n(C),O=n(44721),A=n.n(O),P=n(67294),L=n(16550),I=n(50557),M=n.n(I),R=n(51481),D=n.n(R),j=n(51383),Z=n.n(j),B=n(46376),F=n.n(B),U=n(53523),q=n.n(U),z=n(40486),H=n.n(z),V=n(27601),W=n.n(V),Y=n(24234),G=n.n(Y),K=n(20780),$=n.n(K),X=n(61584),J=n.n(X),Q=n(54782),ee=n.n(Q),te=n(4603),ne=n.n(te),re=n(52478),ie=n.n(re),oe=n(62848),ae=n.n(oe),se=n(66261),ue=n(33411),ce=n.n(ue),le=n(77897),de=(0,le.equals)(null),fe=(0,le.complement)(de),pe=n(94184),he=n.n(pe),me=n(58539),ve=n(42159),ge=n(263),ye=n(77107),be=n(73126),_e=n(72038),we=n.n(_e),Ee=n(45697),ke=n.n(Ee),xe=new RegExp(/^#([a-f0-9]{6}|[a-f0-9]{3})$/,"i"),Se=function(e,t){return xe.test(t)?t:e},Te=n(65194),Ce=n(27028),Ne=n(67294);function Oe(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Ae=function(e){(0,y.Z)(n,e);var t=Oe(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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?Ne.createElement(Ce.Z,{className:n,value:o,allowTabNavigation:t,tagName:i,id:r}):null}}],[{key:"propTypes",get:function(){return{value:ke().string,className:ke().string,allowTabNavigation:ke().bool,tagName:ke().string,id:ke().string}}},{key:"defaultProps",get:function(){return{allowBold:!0,placeholder:"",editable:!1,allowTabNavigation:!0,hasQuickInsert:!0}}}]),n}(Ne.Component),Pe=n(12088),Le=n.n(Pe),Ie=n(34944),Me=n(22183),Re=n(90630),De=n(69532),je=n(36335),Ze=n(32673),Be=n(80396),Fe=n(48277),Ue=n(37314),qe=n(67294),ze=["children","className","tag","type"],He=J()(["settings"]),Ve=(0,je.Z)("block-wrapper"),We=(0,je.Z)("bg");function Ye(){var e,t=(0,Re.ye)("rise-authoring-controls"),n=(0,Ie.rL)();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===Ze.RW.IMAGE?o:null}var Ge=function(e,t){var n,r,i=(0,Re.ye)("rise-authoring-controls"),o=(0,Me.Nv)(),a=e.children,s=e.className,u=e.tag,c=e.type,l=(0,p.Z)(e,ze),d=o.backgroundMode,f=o.paddingTop,m=o.paddingBottom,v=d===Ze.RW.IMAGE,g=(0,P.useCallback)((function(e){return i?"".concat(e,"rem"):"".concat(10*e,"px")}),[i]),y=function(){var e,t=Ye();if(!t)return null;var n=t.alpha,r=(0,De.xR)(t);return[E()(e="linear-gradient(rgba(0,0,0,".concat(n,"), rgba(0,0,0,")).call(e,n,"))"),"url('".concat(r,"')")].join(", ")}(),b=(r=Ye(),(0,Fe.NQ)(null==r?void 0:r.alt)),_=Se("",(0,Me.Y5)()),w={backgroundColor:_,backgroundImage:y,paddingBottom:g(m),paddingTop:g(f)};i||Le()(w,{backgroundColor:_});var k=_?(0,Be.md)(_):Be.Ai.LIGHT,x=(0,P.useCallback)((function(e){return!v&&e===k}),[v,k]),S=he()(s,(0,h.Z)({},"block-".concat(c),!!c)),T=i?Ve({}).mix(We({light:x(Be.Ai.LIGHT),med:x(Be.Ai.MED),dark:x(Be.Ai.DARK),"near-black":x(Be.Ai.NEAR_BLACK),image:v})):"";return qe.createElement(Ue.Z,(0,be.Z)({},He(l),{className:E()(n="".concat(S," ")).call(n,T),ref:t,style:w,tag:u}),qe.createElement("span",{"aria-label":b,role:(0,Fe.qU)(b)}),a)},Ke=(0,P.forwardRef)(Ge),$e=n(33615),Xe=n(51151),Je=n(74081),Qe=n(67294);function et(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var tt=Je.r.blocks,nt=function(e){(0,y.Z)(n,e);var t=et(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind((0,g.Z)(r)),r.renderHeadingDelegate=r.renderHeading.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"renderHeading",value:function(e){var t=e.heading,n=t||null;return Qe.createElement(Ce.Z,{value:n})}},{key:"renderText",value:function(e){var t=e.paragraph;return Qe.createElement(Ae,{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,c=void 0===u?this.renderHeadingDelegate:u,l=n.renderText,d=void 0===l?this.renderTextDelegate:l,f=s.entranceAnimation,p=he()("block-text block-text--".concat(i),{"block-text--no-animation":!f}),h=o?"heading"===o?"h2":"h3":"span";return Qe.createElement(Ke,{className:p},Qe.createElement("div",{className:"block-text__container","data-ba":tt.blockText},Qe.createElement("div",{className:"block-text__row"},""!==o?T()(e=N()(r).call(r,0,1)).call(e,(function(e){return Qe.createElement("div",{className:"block-text__col brand--head",key:e.id},Qe.createElement(h,null,c(e)))})):null),Qe.createElement("div",{className:"block-text__row"},"heading"!==i?T()(t=N()(r).call(r,0,a)).call(t,(function(e){return Qe.createElement(P.Fragment,{key:e.id},d(e))})):null)))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,heading:ke().string,columns:ke().number}}},{key:"defaultProps",get:function(){return{type:"onecol",heading:"",columns:1,items:[]}}}]),n}(Qe.Component),rt=function(e){return Qe.createElement(nt,(0,be.Z)({type:"twocol",columns:2},e))},it=function(e){return Qe.createElement(nt,(0,be.Z)({type:"threecol",columns:3},e))},ot=function(e){return Qe.createElement(nt,(0,be.Z)({type:"heading",heading:"heading"},e))},at=function(e){return Qe.createElement(nt,(0,be.Z)({type:"heading",heading:"subheading"},e))},st=function(e){return Qe.createElement(nt,(0,be.Z)({heading:"heading"},e))},ut=function(e){return Qe.createElement(nt,(0,be.Z)({heading:"subheading"},e))},ct=function(e){(0,y.Z)(n,e);var t=et(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"renderCaption",value:function(e){var t=e.caption;return Qe.createElement(Ae,{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,c=t.renderCaption,l=void 0===c?this.renderCaptionDelegate:c,d=u.paddingTop,f=u.paddingBottom,p=u.entranceAnimation,h=u.snippetBackgroundColor,m=he()("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 Qe.createElement(Ke,{className:m,"data-ba":tt.blockText},Qe.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o},Qe.createElement("div",{className:"block-text__container"},T()(e=N()(a).call(a,0,1)).call(e,(function(e){var t=(0,Xe.Gs)(e);return Qe.createElement("div",{className:"block-text__row",key:e.id},Qe.createElement("div",{"aria-label":s,className:"block-text__col",role:Xe.p9},Qe.createElement("figure",{"aria-labelledby":t.figcaptionId,className:"block-text__figure",role:"figure"},Qe.createElement("pre",{className:"block-text__code","data-ba":tt.blockText,style:{backgroundColor:Se(i,h)},dangerouslySetInnerHTML:{__html:(0,Te.ZP)(e.code)}}),e.caption&&Qe.createElement("figcaption",{id:t.figcaptionId},l(e)))))})))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired}}}]),n}(Qe.Component),lt=n(67294);function dt(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var ft=Je.r.blocks,pt=function(e){(0,y.Z)(n,e);var t=dt(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind((0,g.Z)(r)),r}return(0,v.Z)(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=he()("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,"brand--head brand--border brand--background-transparent":i});return lt.createElement(Ae,{className:o,value:r})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.animateBlockEntrance,i=n.isLearner,o=n.items,a=n.type,s=n.settings,u=n.renderText,c=void 0===u?this.renderTextDelegate:u,l=s.entranceAnimation,d=he()("block-impact block-impact--".concat(a),{"block-impact--no-animation":!l});return lt.createElement(Ke,{className:d,"data-ba":ft.blockImpact},lt.createElement("div",{className:"block-impact__wrap"},lt.createElement("div",{className:"block-impact__container"},lt.createElement("div",{className:"block-impact__row"},T()(e=N()(o).call(o,0,1)).call(e,(function(e){return lt.createElement($e.Z,{animateBlockEntrance:r,animateIn:t.getEntranceAnimationType(),duration:t.getEntranceAnimationDuration(),isLearner:i,key:e.id},lt.createElement("div",{className:"block-impact__col"},lt.createElement("div",{className:"block-impact__note-icon brand--color"},lt.createElement("i",{className:"icon icon-info"})),c(t.props,e)))}))))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string}}},{key:"defaultProps",get:function(){return{items:[],type:"a"}}}]),n}(lt.Component),ht=function(e){return lt.createElement(pt,(0,be.Z)({type:"b"},e))},mt=function(e){return lt.createElement(pt,(0,be.Z)({type:"c"},e))},vt=function(e){return lt.createElement(pt,(0,be.Z)({type:"d"},e))},gt=function(e){return lt.createElement(pt,(0,be.Z)({type:"note"},e))},yt=n(83728),bt=n(27361),_t=n.n(bt),wt=n(46066),Et=n(17794),kt=n.n(Et),xt=n(99049),St=n(32542),Tt=n(12868),Ct=n(81996);function Nt(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Ot=Je.r.blocks,At=function(e){var t=e.quote,n=e.name;return P.createElement("div",{className:"visually-hidden"},P.createElement(Ae,{value:t}),P.createElement(Ae,{value:n}))},Pt=function(e){var t=e.avatar,n=e.alt,r=('""'===n?"":n)||"";return P.createElement("div",{"aria-hidden":!r,"aria-label":r,className:"block-quote__avatar",role:"img",style:{backgroundImage:"url('".concat(t||"","')")}})},Lt=function(e){var t=e.type,n=e.animateBlockEntrance,r=e.avatar,i=e.children,o=e.alt,a=e.isLearner,s=he()("block-quote__col",{"block-quote__col--no-avatar":!r}),u=he()("block-quote__figure",{"brand--beforeColor":"b"===t}),c=r?P.createElement("div",{className:"block-quote__image"},P.createElement("div",{className:"block-quote__avatar-wrap"},"c"===t?P.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeInLeftSmall",isLearner:a},P.createElement(Pt,{avatar:r,alt:o,title:o})):P.createElement(Pt,{avatar:r,alt:o,title:o}))):null;return P.createElement("div",{className:"block-quote__container"},P.createElement("div",{className:"block-quote__row"},P.createElement("div",{className:s},P.createElement("div",{className:u},c,i))))},It=function(e){var t=e.avatar,n=e.children,r=e.alt;return P.createElement("div",{className:"block-quote__figure"},P.createElement("div",{className:"block-quote__container"},P.createElement("div",{className:"block-quote__row"},P.createElement("div",{className:"block-quote__col"},t?P.createElement(Pt,{avatar:t,alt:r}):null),P.createElement("div",{className:"block-quote__col"},n))))},Mt=function(e){var t=e.background,n=e.avatar,r=e.children,i=e.alt;return P.createElement("div",{className:"block-quote__background",style:{backgroundImage:t?"url(".concat(t,")"):""}},P.createElement("div",{className:"block-quote__container"},P.createElement("div",{className:"block-quote__row"},P.createElement("div",{className:"block-quote__col"},P.createElement("div",{className:"block-quote__figure"},n?P.createElement(Pt,{avatar:n,alt:i}):null,r)))))},Rt=function(e){(0,y.Z)(n,e);var t=Nt(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderTextDelegate=r.renderText.bind((0,g.Z)(r)),r.renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r}return(0,v.Z)(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=he()("block-quote__text brand--linkColor",{"brand--head":"b"===n,"brand--body":"b"!==n,"block-quote__text--blank":""===r});return P.createElement(Ae,{className:i,value:r})}},{key:"renderCaption",value:function(e,t){var n=e.type,r=t.name,i=he()("block-quote__caption brand--linkColor",{"brand--head":"b"!==n,"brand--body":"b"===n,"block-quote__caption--blank":""===r});return P.createElement(Ae,{className:i,value:r})}},{key:"render",value:function(){var e,t=this.props,n=t.animateBlockEntrance,r=t.isLearner,i=t.items,o=t.labels,a=t.settings,s=t.type,u=t.renderText,c=void 0===u?this.renderTextDelegate:u,l=t.renderCaption,d=void 0===l?this.renderCaptionDelegate:l,f=a.entranceAnimation,p=(0,yt.Z)(i,1)[0],h=p.paragraph,m=p.name,v=p.avatar,g=p.background,y=_t()(v,"media.image"),b=(0,De.W4)(y),_=_t()(v,"media.image.alt"),w=(0,De.xR)(_t()(g,"media.image")),E=h||"",k=he()("block-quote block-quote--".concat(s),{"block-quote--no-animation":!f}),x=P.createElement("div",{"aria-hidden":"true",className:"block-quote__wrap"},P.createElement($e.Z,{animateBlockEntrance:n,animateIn:this.getQuoteEntranceAnimationType(),isLearner:r,siblingDelay:.15},c(this.props,p),d(this.props,p)));switch(s){case"d":e=P.createElement(It,{type:s,avatar:b,alt:_},x);break;case"background":e=P.createElement(Mt,{type:s,avatar:b,alt:_,background:w},x);break;default:e=P.createElement(Lt,{type:s,animateBlockEntrance:n,avatar:b,alt:_,isLearner:r},x)}var S=o.quoteGroup;return P.createElement(Ke,{"aria-label":S,className:k,"data-ba":Ot.blockQuote,role:Xe.p9},e,P.createElement(At,{name:m,quote:E}))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,editable:ke().bool}}},{key:"defaultProps",get:function(){return{editable:!1,items:[],type:"a"}}}]),n}(P.Component),Dt=function(e){return P.createElement(Rt,(0,be.Z)({type:"b"},e))},jt=function(e){return P.createElement(Rt,(0,be.Z)({type:"c"},e))},Zt=function(e){return P.createElement(Rt,(0,be.Z)({type:"d"},e))},Bt=function(e){return P.createElement(Rt,(0,be.Z)({type:"background"},e))},Ft=function(e){var t=e.onClick;return P.createElement("button",{"aria-label":"Next quote",className:"block-quote__arrow block-quote__arrow--next",onClick:t,type:"button"},P.createElement("span",{className:"block-quote__arrow-icon"}))},Ut=function(e){var t=e.onClick;return P.createElement("button",{"aria-label":"Previous quote",className:"block-quote__arrow block-quote__arrow--prev",onClick:t,type:"button"},P.createElement("span",{className:"block-quote__arrow-icon"}))},qt=function(e){(0,y.Z)(n,e);var t=Nt(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind((0,g.Z)(r)),r.renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r.state={currentIndex:0,isDotKeyboardFocusDisabled:!1},r}return(0,v.Z)(n,[{key:"disableFocusForClonedSlides",value:function(){var e=this.state.currentIndex;(0,Ct.Tl)(this.carousel.querySelectorAll(".slick-active.block-quote__slide")).forEach((function(t){parseInt(t.getAttribute("data-index"))!==e&&(0,St.WV)(t)}))}},{key:"disableCarouselDotsIfNecessary",value:function(){var e=this.sliderContainer.querySelector(".block-quote__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&((0,St.WV)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"componentDidUpdate",value:function(){this.disableCarouselDotsIfNecessary(),this.disableFocusForClonedSlides()}},{key:"onKeyDown",value:function(e){var t=this.slider;kt()([[Tt.V8,t.slickNext.bind(t)],[Tt.V4,t.slickPrev.bind(t)]])(e)}},{key:"renderText",value:function(e,t,n){var r=t.paragraph,i=n.allowTabNavigation,o=r||"",a=he()("block-quote__text brand--body brand--linkColor",{"block-quote__text--blank":""===r});return P.createElement(Ae,{className:a,value:o,allowTabNavigation:i})}},{key:"renderCaption",value:function(e,t,n){var r=t.name,i=n.allowTabNavigation,o=he()("block-quote__caption brand--head brand--linkColor",{"block-quote__caption--blank":""===r});return P.createElement(Ae,{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,c=t.renderText,l=void 0===c?this.renderTextDelegate:c,d=t.renderCaption,f=void 0===d?this.renderCaptionDelegate:d,p=s.entranceAnimation,h=s.showBorder,m=void 0===h||h,v=he()("block-quote block-quote--".concat(a),{"block-quote--no-animation":!p,"block-quote--editable":u,"block-quote--show-border":m,"block-quote--legacy":!r}),g=this.state.currentIndex,y=T()(o).call(o,(function(t,r){var o=r===g,a=_t()(t.avatar,"media.image.alt"),s=_t()(t.avatar,"media.image"),u=(0,De.W4)(s),c=t.paragraph||"",d={allowTabNavigation:o};return P.createElement("div",{className:"block-quote__slide",key:t.id},P.createElement("div",{className:"block-quote__figure"},u?P.createElement(Pt,{avatar:u,alt:a}):null,P.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeInUp",siblingDelay:.25,isLearner:i},P.createElement(At,{name:name,quote:c}),P.createElement("div",{"aria-hidden":"true"},l(e.props,t,d),f(e.props,t,d)))))})),b={slidesToShow:1,slidesToScroll:1,arrows:y.length>1,nextArrow:P.createElement(Ft,null),prevArrow:P.createElement(Ut,null),dots:y.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 P.createElement("div",{"aria-label":"Quote Carousel",className:"block-quote__slider-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.carousel=t},role:Xe.p9,tabIndex:St.$_},P.createElement(Ke,{className:v,"data-ba":Ot.blockQuote},P.createElement("div",{className:"block-quote__wrap"},P.createElement("div",{className:"block-quote__container"},P.createElement("div",{className:"block-quote__row"},P.createElement("div",{className:"block-quote__col"},P.createElement(xt.Z,{className:"block-quote__box",ref:function(t){e.sliderContainer=t}},P.createElement(wt.Z,(0,be.Z)({className:"block-quote__wrapper",ref:function(t){e.slider=t}},b),y))))))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,editable:ke().bool,onStep:ke().func}}},{key:"defaultProps",get:function(){return{type:"carousel",items:[],onStep:Function.prototype}}}]),n}(P.Component),zt=(0,Re.tF)("rise-authoring-controls","fusion")(qt),Ht=n(54115),Vt=n.n(Ht),Wt=n(54405),Yt=n.n(Wt),Gt=n(9449),Kt=n.n(Gt),$t=n(22624),Xt=n.n($t),Jt=n(53007),Qt=n.n(Jt),en=n(29891),tn=n(67294);function nn(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function rn(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var on=Je.r.blocks,an=function(e){(0,y.Z)(n,e);var t=rn(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderItemDelegate=r.renderItem.bind((0,g.Z)(r)),r}return(0,v.Z)(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 tn.createElement(sn,e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.animateBlockEntrance,r=t.defaultBackgroundColor,i=void 0===r?"":r,o=t.lessonId,a=t.blockId,s=t.isLearner,u=t.items,c=t.type,d=t.settings,p=t.editable,m=t.onStep,v=t.renderItem,g=void 0===v?this.renderItemDelegate:v,y=d.paddingTop,b=d.paddingBottom,_=d.backgroundColor,w=d.entranceAnimation,E=he()("block-list block-list--".concat(c),{"block-list--no-animation":!w}),k={backgroundColor:Se(i,_),paddingTop:"".concat(10*y,"px"),paddingBottom:"".concat(10*b,"px")};return tn.createElement("div",{className:E,"data-ba":on.blockList,style:k},tn.createElement("div",{className:"block-list__container"},tn.createElement("div",{className:"block-list__row"},tn.createElement("div",{className:"block-list__col"},tn.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeInRight",className:"block-list__animated-item",isLearner:s,keepStructure:!0,siblingDelay:.25},tn.createElement("ul",{className:"block-list__list",role:"list"},T()(u).call(u,(function(t,n){return g(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}({key:t.id,index:n,lessonId:o,blockId:a,isDone:t.isDonw,type:c,editable:p,nextNumber:e.nextNumber.bind(e),onStep:m},t))}))))))))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:ke().bool.isRequired,lessonId:ke().any,blockId:ke().any,isLearner:ke().bool.isRequired,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,editable:ke().bool,onStep:ke().func}}},{key:"defaultProps",get:function(){return{editable:!1,items:[],onStep:Function.prototype,type:"numbered"}}}]),n}(tn.Component),sn=function(e){(0,y.Z)(n,e);var t=rn(n);function n(e){var r;(0,m.Z)(this,n),(r=t.call(this,e)).renderTextDelegate=r.renderText.bind((0,g.Z)(r));var i="checkboxes"===e.type?Kt()():null;return r.state={labelId:i,isChecked:!1},r}return(0,v.Z)(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 tn.createElement(Ae,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?tn.createElement("div",{id:i},r(t)):r(t)}},{key:"renderIdentifier",value:function(e){return"checkboxes"===this.props.type?null:tn.createElement("div",{className:"visually-hidden"},e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.type,r=t.index,i=t.number,o=t.paragraph,a=t.editable,s=t.className,u=t.style,c=this.state,l=c.isChecked,d=c.labelId,f={allowTabNavigation:!0,className:"block-list__content brand--body brand--linkColor",editable:a,value:o},p=i||r+1,h="numbered"===n?p:"bullet",m=Yt()("hidden "),v=Xt()({allowTabNavigation:Vt()(!1),className:m},f),g=tn.createElement("div",{"aria-hidden":!0,className:"block-list__number brand--background"},p),y=tn.createElement(en.Cd,{className:"block-list__bullet brand--color"}),b=he()("block-list__checkbox","brand--border",{"block-list__checkbox--checked":l,"brand--background":l}),_=tn.createElement("div",{className:b},tn.createElement("i",{className:"block-list__checkbox__icon icon icon-checkmark-valid"}),tn.createElement("div",{"aria-checked":l,"aria-labelledby":d,className:"block-list__checkbox__hitarea",onClick:this.checkBox.bind(this),onKeyDown:(0,Tt.Ru)(this.checkBox.bind(this)),role:"checkbox",tabIndex:St.$_})),w=kt()([[D()("numbered"),Vt()(g)],[D()("bulleted"),Vt()(y)],[D()("checkboxes"),Vt()(_)],[Qt(),Vt()(g)]]);return tn.createElement("li",{role:"listitem",ref:function(t){return e.animateRef=t},className:"block-list__item ".concat(s),style:u},tn.createElement("div",{className:"block-list__content__left"},w(n),this.renderText(v)),this.renderIdentifier(h),this.renderItemText({paragraphProps:f}))}}],[{key:"propTypes",get:function(){return{id:ke().any.isRequired,lessonId:ke().any,blockId:ke().any.isRequired,isDone:ke().bool,index:ke().number.isRequired,type:ke().string.isRequired,number:ke().oneOfType([ke().string,ke().number]),paragraph:ke().string,isNewlyInserted:ke().bool,editable:ke().bool,nextNumber:ke().func.isRequired,onStep:ke().func}}},{key:"defaultProps",get:function(){return{className:""}}}]),n}(tn.Component),un=function(e){return tn.createElement(an,(0,be.Z)({type:"checkboxes"},e))},cn=function(e){return tn.createElement(an,(0,be.Z)({type:"bulleted"},e))},ln=n(14741),dn=n(67294);function fn(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var pn=Je.r.blocks,hn=function(e){(0,y.Z)(n,e);var t=fn(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"renderCaption",value:function(e,t){return dn.createElement(Ae,{className:"block-image__caption brand--body brand--linkColor",value:t})}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.defaultBackgroundColor,r=void 0===n?"":n,i=e.editable,o=e.isLearner,a=e.items,s=e.type,u=e.settings,c=e.renderCaption,l=void 0===c?this.renderCaptionDelegate:c,d=u.paddingTop,f=u.paddingBottom,p=u.backgroundColor,h=u.entranceAnimation,m=u.zoomOnClick,v=he()("block-image block-image--".concat(s),{"block-image--no-animation":!h,"block-image--dark":(0,Be.jn)(p)}),g={backgroundColor:Se(r,p),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")},y=a[0],b=y.id,_=y.caption,w=_t()(y,"media.image.alt"),E=_t()(y,"media.image.key"),k=(0,De.xR)(_t()(y,"media.image")),x=(0,Xe.Gs)({caption:_,editable:i,id:b}),S=_t()(y,"media.image.originalUrl");return dn.createElement("div",{className:v,"data-ba":pn.blockImage,style:g},dn.createElement("div",{className:"block-image__container"},dn.createElement("div",{className:"block-image__row"},dn.createElement("div",{className:"block-image__col"},dn.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:o,offset:300},dn.createElement(x.tagName,{"aria-labelledby":x.figcaptionId,className:"block-image__figure",role:x.role},dn.createElement("div",{className:"block-image__image"},dn.createElement(ln.Z,{alt:w,caption:_,disableZoom:!m,fileName:S,imageKey:E,src:k})),(i||_)&&dn.createElement("figcaption",{id:x.figcaptionId},l(b,_))))))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string}}},{key:"defaultProps",get:function(){return{type:"hero",editable:!1,lessonId:"",blockId:"",items:[]}}}]),n}(dn.Component),mn=function(e){(0,y.Z)(n,e);var t=fn(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderParagraphDelegate=r.renderParagraph.bind((0,g.Z)(r)),r.renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"renderParagraph",value:function(e,t){return dn.createElement(Ae,{className:"block-image__text brand--body brand--linkColor",value:t})}},{key:"renderCaption",value:function(e,t){return dn.createElement(Ae,{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=_t()(n,"media.image.alt"),c=_t()(n,"media.image.key"),l=(0,De.xR)(_t()(n,"media.image")),d=(0,Xe.Gs)({caption:t,editable:o,id:e}),f=_t()(n,"media.image.originalUrl"),p=this.props,h=p.animateBlockEntrance,m=p.isLearner,v=p.settings.zoomOnClick;return dn.createElement($e.Z,{animateBlockEntrance:h,animateIn:"right"===r?"fadeInRight":"fadeInLeft",isLearner:m},dn.createElement(d.tagName,{"aria-labelledby":d.figcaptionId,className:"block-image__figure",role:d.role},dn.createElement("div",{className:"block-image__image"},dn.createElement(ln.Z,{alt:u,caption:t,disableZoom:!v,fileName:f,imageKey:c,src:l})),(o||t)&&dn.createElement("figcaption",{id:d.figcaptionId},s(e,t))))}},{key:"render",value:function(){var e=this.props,t=e.defaultBackgroundColor,n=void 0===t?"":t,r=e.items,i=e.settings,o=e.type,a=e.renderParagraph,s=void 0===a?this.renderParagraphDelegate:a,u=i.paddingTop,c=i.paddingBottom,l=i.backgroundColor,d=i.entranceAnimation,f=i.imagePosition,p=i.imageSize,h="right"===f,m=he()("block-image block-image--".concat(o),{"block-image--small":"small"===p,"block-image--large":"large"===p,"block-image--reverse":h,"block-image--no-animation":!d,"block-image--dark":(0,Be.jn)(l)}),v={backgroundColor:Se(n,l),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*c,"px")},g=r[0],y=g.id,b=g.caption,_=g.paragraph;return dn.createElement("div",{className:m,"data-ba":pn.blockImage,style:v},dn.createElement("div",{className:"block-image__container"},dn.createElement("div",{className:"block-image__row"},dn.createElement("div",{className:"block-image__col"},h?s(y,_):this.renderImage(y,b,g,"left")),dn.createElement("div",{className:"block-image__col"},h?this.renderImage(y,b,g,"right"):s(y,_)))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,editable:ke().bool}}},{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"text-aside"}}}]),n}(dn.Component),vn=function(e){(0,y.Z)(n,e);var t=fn(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r.renderOverlayDelegate=r.renderOverlay.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"renderCaption",value:function(e,t){return dn.createElement(Ae,{className:"block-image__caption brand--head brand--linkColor",value:t})}},{key:"renderOverlay",value:function(e,t){return dn.createElement(Ae,{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 dn.createElement("div",{className:"block-image__container"},dn.createElement("div",{className:"block-image__row"},dn.createElement("div",{className:"block-image__col"},dn.createElement($e.Z,{animateBlockEntrance:r,animateIn:"fadeInUp",isLearner:i,duration:1},a(e,t)))))}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.defaultBackgroundColor,r=void 0===n?"":n,i=e.editable,o=e.isLearner,a=e.items,s=e.settings,u=e.type,c=e.renderCaption,l=void 0===c?this.renderCaptionDelegate:c,d=s.paddingTop,f=s.paddingBottom,p=s.backgroundColor,h=s.entranceAnimation,m=s.opacity,v=s.opacityColor,g=he()("block-image block-image--".concat(u),{"block-image--no-animation":!h,"block-image--dark":(0,Be.jn)(p)}),y={backgroundColor:Se(r,p),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")},b={opacity:m||.6,backgroundColor:v||"transparent"},_=a[0],w=_.id,E=_.caption,k=_t()(_,"media.image.key"),x=(0,De.xR)(_t()(_,"media.image")),S=_t()(_,"media.image.alt"),T=_t()(_,"media.image.originalUrl"),C=(0,Fe.b3)({alt:S,caption:E,fileName:T,key:k}),N="overlay"===u,O=(0,Xe.Gs)({caption:E,editable:i,id:w,isOverlayType:N});return dn.createElement(O.tagName,{"aria-labelledby":O.figcaptionId,className:g,"data-ba":pn.blockImage,role:O.role,style:y},function(e,t,n,r){return t?r:dn.createElement($e.Z,{animateBlockEntrance:e,animateIn:"fadeIn",isLearner:n,duration:1},r)}(t,N,o,dn.createElement("div",{className:"block-image__figure"},k&&dn.createElement("div",{className:"block-image__image",style:{backgroundImage:"url('".concat(x,"')")}},dn.createElement("img",{src:x,alt:C,role:"img"}),dn.createElement("div",{className:"block-image__overlay",style:b})),N?this.renderOverlayCaption(w,E,u):null)),!N&&(i||E)&&dn.createElement("figcaption",{className:"block-image__container brand--body",id:O.figcaptionId},l(w,E)))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,editable:ke().bool}}},{key:"defaultProps",get:function(){return{blockId:"",editable:!1,items:[],lessonId:"",type:"full"}}}]),n}(dn.Component),gn=function(e){return dn.createElement(vn,(0,be.Z)({type:"overlay"},e))},yn=n(86683),bn=n(15094);function _n(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var wn=Je.r.blocks;function En(e){var t=function(t){(0,y.Z)(r,t);var n=_n(r);function r(){var e,t;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderCaptionDelegate=t.renderCaption.bind((0,g.Z)(t)),t}return(0,v.Z)(r,[{key:"renderCaption",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return P.createElement(Ae,{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 P.createElement(e,(0,be.Z)({},this.props,{renderCaption:n}))}}]),r}(P.Component);return t.displayName="withCaption(".concat(e.displayName||e.name,")"),t}var kn=function(e){(0,y.Z)(n,e);var t=_n(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).state={isDotKeyboardFocusDisabled:!1},r}return(0,v.Z)(n,[{key:"componentDidUpdate",value:function(){var e=this.sliderContainer.querySelector(".block-gallery__dots-list"),t=this.state.isDotKeyboardFocusDisabled;e&&!t&&((0,St.WV)(e),this.setState({isDotKeyboardFocusDisabled:!0}))}},{key:"onKeyDown",value:function(e){var t=this.slider;kt()([[Tt.V8,t.slickNext.bind(t)],[Tt.V4,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:P.createElement(xn,{menuOpen:o}),prevArrow:P.createElement(xn,{menuOpen:o,previous:!0}),dots:n.length>1,dotsClass:"block-gallery__dots-list brand--background-all brand--shadow-all",beforeChange:i};return P.createElement("div",{className:"block-gallery__slider-container",tabIndex:St.$_,onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.sliderContainer=t}},P.createElement(wt.Z,(0,be.Z)({className:r,ref:function(t){e.slider=t}},a),n))}}],[{key:"propTypes",get:function(){return{children:ke().node.isRequired,className:ke().string.isRequired,beforeChange:ke().func.isRequired,menuOpen:ke().bool}}}]),n}(P.Component),xn=function(e){(0,y.Z)(n,e);var t=_n(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.menuOpen,n=e.onClick,r=e.previous,i=he()("block-gallery__arrow",{"block-gallery__arrow--next":!r,"block-gallery__arrow--prev":r}),o=r?"Previous image":"Next image",a=window.document.documentMode,s=he()("block-gallery__controls",{"block-gallery__controls--ie":a&&!t,"block-gallery__controls--ie-menu-open":a&&t});return P.createElement("div",{className:s},P.createElement("button",{className:i,onClick:n,type:"button","aria-label":o},P.createElement("span",{className:"block-gallery__arrow-icon"})))}}],[{key:"propTypes",get:function(){return{menuOpen:ke().bool,onClick:ke().func,previous:ke().bool}}},{key:"defaultProps",get:function(){return{previous:!1}}}]),n}(P.Component),Sn=function(e){(0,y.Z)(n,e);var t=_n(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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 P.createElement(wt.Z,(0,be.Z)({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)}}],[{key:"propTypes",get:function(){return{children:ke().node.isRequired,className:ke().string}}}]),n}(P.Component),Tn=function(e){var t=e.children;return P.createElement("div",{className:"block-gallery__container"},P.createElement("div",{className:"block-gallery__row--slide-row"},P.createElement("div",{className:"block-gallery__col"},t)))},Cn=En(function(e){(0,y.Z)(n,e);var t=_n(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).state={currentIndex:0},r}return(0,v.Z)(n,[{key:"componentDidUpdate",value:function(){var e=(0,Ct.Tl)(this.carousel.querySelectorAll(".slick-slide.slick-active button")),t=(0,Ct.Tl)(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=St.mR}))}},{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 T()(e).call(e,(function(e,r){var i=e.id,o=e.caption,a=r===n,s=_t()(e,"media.image.alt"),u=_t()(e,"media.image.originalUrl"),c=_t()(e,"media.image.key"),l=(0,De.xR)(_t()(e,"media.image"));return P.createElement("div",{key:i,className:"block-gallery__slide"},P.createElement(Tn,null,P.createElement("div",{className:"block-gallery__figure"},P.createElement("div",{className:"block-gallery__image"},P.createElement(ln.Z,{allowTabNavigation:a,alt:s,caption:o,disableZoom:!t,fileName:u,imageKey:c,src:l})))))}))}},{key:"renderCaptions",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.editable,i=n.renderCaption;return T()(e).call(e,(function(e,n){var o=e.id,a=e.caption,s=n===t;return P.createElement("div",{key:o,className:"block-gallery__slide"},a||r?P.createElement(Tn,null,i(o,a,s)):null)}))}},{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.menuOpen,u=t.type,c=t.settings,l=c.paddingTop,d=c.paddingBottom,f=c.backgroundColor,p=c.entranceAnimation,h=c.zoomOnClick,m=he()("block-gallery block-gallery--".concat(u),{"block-gallery--no-animation":!p}),v={backgroundColor:Se(i,f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")};return P.createElement("div",{style:v},P.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",offset:200,isLearner:o},P.createElement("div",{className:m,"data-ba":wn.blockGallery,ref:function(t){e.carousel=t}},P.createElement(kn,{className:"block-gallery__images",beforeChange:this.handleSlideChangeBefore.bind(this),menuOpen:s},this.renderImages(a,h)),P.createElement(Sn,{className:"block-gallery__captions",ref:function(t){e.captions=t}},this.renderCaptions(a)))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array.isRequired,settings:ke().object.isRequired,type:ke().string,editable:ke().bool,onStep:ke().func,menuOpen:ke().bool}}},{key:"defaultProps",get:function(){return{type:"carousel",lessonId:"",blockId:"",items:[],onStep:Function.prototype}}}]),n}(P.Component)),Nn=function(e){(0,y.Z)(n,e);var t=_n(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.defaultBackgroundColor,r=void 0===n?"":n,i=e.editable,o=e.isLearner,a=e.items,s=e.settings,u=e.width,c=e.renderCaption,l=s.paddingTop,d=s.paddingBottom,f=s.backgroundColor,p=s.entranceAnimation,h=s.zoomOnClick,m=he()("block-gallery block-gallery--".concat(function(e){switch(e){case 3:return"threecol";case 4:return"fourcol";default:return"twocol"}}(u)),{"block-gallery--no-animation":!p}),v={backgroundColor:Se(r,f),paddingTop:"".concat(10*l,"px"),paddingBottom:"".concat(10*d,"px")};return P.createElement("div",{className:m,"data-ba":wn.blockGallery,style:v},P.createElement("div",{className:"block-gallery__container"},P.createElement("div",{className:"block-gallery__row"},P.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-gallery__col",isLearner:o,siblingDelay:.25},T()(a).call(a,(function(e){var n=e.id,r=e.caption,o=_t()(e,"media.image.alt"),a=_t()(e,"media.image.key"),s=(0,De.xR)(_t()(e,"media.image")),u=(0,Xe.Gs)({caption:r,editable:i,id:n}),l=_t()(e,"media.image.originalUrl");return P.createElement("div",{key:n,className:t?"":"block-gallery__col"},P.createElement(u.tagName,{"aria-labelledby":u.figcaptionId,className:"block-gallery__figure",role:u.role},a&&P.createElement(An,{alt:o,caption:r,disableZoom:!h,fileName:l,imageKey:a,src:s}),(i||r)&&P.createElement("figcaption",{id:u.figcaptionId},c(n,r))))}))))))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:ke().bool.isRequired,lessonId:ke().any,blockId:ke().any,isLearner:ke().bool.isRequired,items:ke().array.isRequired,settings:ke().object.isRequired,width:ke().number,editable:ke().bool}}},{key:"defaultProps",get:function(){return{blockId:"",items:[],lessonId:"",width:2}}}]),n}(P.Component),On=En(Nn),An=function(e){var t=e.alt,n=e.caption,r=e.disableZoom,i=e.fileName,o=e.imageKey,a=e.src,s=(0,P.useRef)(),u=(0,P.useRef)(),c=(0,Fe.b3)({alt:t,caption:n,fileName:i,key:o}),l=a?{backgroundImage:"url('".concat(a,"')")}:void 0,d=(0,P.useCallback)((function(e){u.current.zoom(s.current,e.currentTarget,{})}),[]);(0,P.useEffect)((function(){var e=(0,yn.S)();return u.current=e,function(){e.cleanup()}}),[]);var f=he()("block-gallery__image",{"img--zoom":!r}),p=r?void 0:d;return P.createElement("div",{className:f,style:l},P.createElement("div",{className:"img"},P.createElement("img",{alt:c,onClick:p,ref:s,role:"img",src:a})),!r&&P.createElement("button",{"aria-label":"Zoom image",className:"img__btn visually-hidden",onClick:d,type:"button"},P.createElement(bn.Z,{"aria-hidden":"true",className:"img__btn-symbol"})))},Pn=n(67294);function Ln(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var In=Je.r.blocks,Mn=function(e){(0,y.Z)(n,e);var t=Ln(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=o.backgroundColor,l=o.entranceAnimation,d=he()("block-divider block-divider--".concat(a," brand--afterHead"),{"block-divider--no-animation":!l}),f="numbered"===a,p=he()("block-divider__wrap",{"brand--beforeBorder brand--afterBackground":f}),h={backgroundColor:Se(n,c),paddingTop:"".concat(10*s,"px"),paddingBottom:"".concat(10*u,"px")},m=f?Pn.createElement("span",{className:"visually-hidden"},r," ",i):null;return Pn.createElement("div",{className:d,"data-ba":In.blockDivider,style:h},Pn.createElement("div",{"aria-hidden":"true",className:p,"data-number":i}),m)}}],[{key:"propTypes",get:function(){return{settings:ke().object.isRequired,number:ke().number,type:ke().string}}},{key:"defaultProps",get:function(){return{type:"divider"}}}]),n}(Pn.Component),Rn=function(e){return Pn.createElement(Mn,(0,be.Z)({type:"numbered"},e))},Dn=function(e){return Pn.createElement(Mn,(0,be.Z)({type:"spacing"},e))},jn=n(53701),Zn=n.n(jn),Bn=n(63073),Fn=n.n(Bn),Un=n(6087),qn=n.n(Un),zn=n(90013),Hn=n.n(zn),Vn=n(1102),Wn=n.n(Vn),Yn=n(79605),Gn=n.n(Yn),Kn=n(3087),$n=n.n(Kn),Xn=n(9134),Jn=n.n(Xn),Qn=n(29454),er=n.n(Qn),tr=n(58599),nr=n(96554),rr=n(7199),ir=n(5238),or=n.n(ir),ar=n(23493),sr=n.n(ar),ur=n(46130),cr=n(67294);function lr(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lr(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}function fr(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var pr,hr,mr,vr,gr=Je.r.blocks,yr=function(e){(0,y.Z)(n,e);var t=fr(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=e.onStep,l=e.settings,d=e.enableVideoPlaybackSpeed,f=l.paddingTop,p=l.paddingBottom,h=l.backgroundColor,m=l.entranceAnimation,v=l.accordionBehavior,g=void 0===v?"keepOpen":v,y=he()("blocks-accordion",{"blocks-accordion--no-animation":!m}),b={backgroundColor:Se(i,h),paddingTop:"".concat(10*f,"px"),paddingBottom:"".concat(10*p,"px")};return cr.createElement("div",{className:y,"data-ba":gr.blockAccordion,style:b},cr.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:a,duration:.75},cr.createElement("div",{className:"blocks-accordion__container"},cr.createElement("div",{className:"blocks-accordion__row"},cr.createElement("div",{className:"blocks-accordion__col"},cr.createElement(wr,{keepOpen:"keepOpen"===g,lessonId:u,blockId:n,items:s,editable:o,settings:l,onStep:c,enableVideoPlaybackSpeed:d}))))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,editable:ke().bool,onStep:ke().func}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(cr.Component),br={isOpen:!1,isActive:!1},_r=function(e,t){return t.reduce(function(e){return function(t,n){var r=n.id;return Le()({},t,(0,h.Z)({},r,e[r]||br))}}(e),{})},wr=function(e){(0,y.Z)(n,e);var t=fr(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).props.items;return r.state={itemStatusMap:_r({},s)},r}return(0,v.Z)(n,[{key:"componentWillReceiveProps",value:function(e){var t=e.items,n=G()(t)!==G()(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=Gn()((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:Hn()(i,e)})}}},{key:"rebuildItemStatusMap",value:function(e){var t=this.state.itemStatusMap;this.setState({itemStatusMap:_r(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:Hn()(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,c=this.state.itemStatusMap,l=r.zoomOnClick;return cr.createElement("div",{className:"blocks-accordion__wrapper"},T()(n).call(n,(function(t,n){return cr.createElement(Er,{blockId:s,disableZoom:!l,editable:i,focused:c[t.id].isActive,index:n,item:dr(dr({},t),{},{enableVideoPlaybackSpeed:u}),key:t.id,labels:o,lessonId:a,onClick:e.handleItemClick.bind(e,n),open:c[t.id].isOpen})})))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,editable:ke().bool,keepOpen:ke().bool,onStep:ke().func}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:"",keepOpen:!1,onStep:Function.prototype}}}]),n}(cr.Component),Er=function(e){(0,y.Z)(n,e);var t=fr(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).id=Kt()(),r.toggle=r.toggle.bind((0,g.Z)(r)),r.renderDescription=r.renderDescription.bind((0,g.Z)(r)),r.renderTitle=r.renderTitle.bind((0,g.Z)(r)),r}return(0,v.Z)(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=nr.Z.playerId;open&&i&&A()(i).call(i,n)&&Zn()(i).call(i,r)&&nr.Z.pause(),this.props.onClick(),e.preventDefault()}},{key:"renderTitle",value:function(e){var t=this.props.item.title;return cr.createElement(Ce.Z,{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 cr.createElement(Ae,{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,c=n.labels,l=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,_=Le()({},v,{disableZoom:o,fullEmbed:!0}),w=he()("blocks-accordion__item",{"blocks-accordion__item--closed":!l}),k=he()("blocks-accordion__header",{"brand--border":l&&u}),x=he()("blocks-accordion__content",{"blocks-accordion__content--will-enter":l,"brand--border":l&&u}),S=he()("blocks-accordion__media","blocks-accordion__".concat(kr(y))),T="title-".concat(this.id),C="panel-".concat(this.id);return cr.createElement("section",{className:w},cr.createElement("div",{role:Xe.F0,"aria-level":"2"},cr.createElement("button",{"aria-controls":C,"aria-expanded":l,className:k,onClick:this.toggle,onKeyDown:!i&&(0,Tt.Ru)(this.toggle)||null,type:"button"},h(T),cr.createElement("span",{"aria-hidden":"true",className:"blocks-accordion__toggler"},l?"–":"+"))),cr.createElement("section",{"aria-labelledby":T,className:x,id:C,ref:function(e){t.content=e}},f(),cr.createElement("div",{className:S},cr.createElement(tr.Z,{asyncImgCn:!0,className:"blocks-accordion__img",enableVideoPlaybackSpeed:b,index:E()(e="".concat(r,"-")).call(e,a),labels:c,media:y,opts:_}))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,index:ke().number.isRequired,item:ke().object.isRequired,editable:ke().bool,open:ke().bool,focused:ke().bool,disableZoom:ke().bool,onClick:ke().func,labels:ke().object}}},{key:"defaultProps",get:function(){return{editable:!1,onClick:function(){},lessonId:"",blockId:"",open:null}}}]),n}(cr.Component),kr=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"},xr=function(e){(0,y.Z)(n,e);var t=fr(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderDescription=r.renderDescription.bind((0,g.Z)(r));var s=r.props.activeIndex;return r.state={activeIndex:s,activeTouch:!1,activeMouse:!1},r.tabs=[],r.id=Kt()(),r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.setContentActive(),this.handleControls(),this.sweetScroll=new(or())({duration:600,verticalScroll:!1,horizontalScroll:!0},this.tabsHeaderEl),this.tabsHeaderEl.addEventListener("scroll",this.tabScroll=sr()(this.handleControls.bind(this),50)),window.addEventListener("resize",this.tabResize=sr()(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=nr.Z.playerId;this.state.activeIndex!=e&&r&&A()(r).call(r,n)&&nr.Z.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?Fn():er())(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=(0,ur.oZ)((function(){var r=(0,St.PT)({list:n.tabs,currentIndex:e});n.setActive(r,t)})),i=(0,ur.oZ)((function(){var r=(0,St.lR)({list:n.tabs,currentIndex:e});n.setActive(r,t)}));kt()([[Tt.V4,r],[Tt.V8,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=he()("blocks-tabs__header-wrap",{touch:i,mouse:o&&a});return cr.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter.bind(this),onMouseLeave:this.handleMouseLeave.bind(this),onTouchStart:this.handleTouchStart.bind(this)},cr.createElement("div",{className:"blocks-tabs__header",ref:function(e){t.tabsHeaderEl=e},role:Xe.T6},T()(e).call(e,(function(n,i){var o,a,s=n.title,u=1===e.length||i===r,c=e.length>1&&i+1===r,l=e.length>1&&i-1===r,d=he()("blocks-tabs__header-item brand--head",{"brand--color":u,"blocks-tabs__header-item--active":u,"blocks-tabs__header-item--before-active":c,"blocks-tabs__header-item--after-active":l}),f=ne()(qn()(/<mark>/),G(),Wn()(13),Fn()(30))(s),p=ne()(Te.Kp,Jn()($n()(rr.$G))(f),(function(e){return"<span>".concat(e,"</span>")}))(s),h=E()(o="tab-".concat(t.id,"-")).call(o,i),m=E()(a="tabpanel-".concat(t.id,"-")).call(a,i);return cr.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:Xe.mg,tabIndex:u?void 0:-1,type:"button"})}))),cr.createElement("div",{className:"blocks-tabs__controls",ref:function(e){t.tabControls=e}},cr.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")},cr.createElement(en.s$,{className:"blocks-tabs__arrow-icon"})),cr.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")},cr.createElement(en.s$,{className:"blocks-tabs__arrow-icon blocks-tabs__arrow-icon--next"}))))}},{key:"renderDescription",value:function(e){var t=e.description;return cr.createElement(Ae,{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,c=void 0===u?this.renderDescription:u,l=this.state.activeIndex===t,d=e.media,f=void 0===d?{}:d,p=e.settings,h=void 0===p?{}:p,m=e.enableVideoPlaybackSpeed,v=he()("blocks-tabs__content-item",{"blocks-tabs__content-item--will-enter":l}),g=Le()({},h,{disableZoom:n,fullEmbed:!0}),y=E()(r="tabpanel-".concat(this.id,"-")).call(r,t),b=E()(i="tab-".concat(this.id,"-")).call(i,t);return cr.createElement("div",{"aria-labelledby":b,className:v,id:y,key:y,role:Xe.HQ,tabIndex:l?0:void 0},c(e),cr.createElement("div",{className:"blocks-tabs__".concat(kr(f))},cr.createElement(tr.Z,{asyncImgCn:!0,className:"blocks-tabs__img",index:E()(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,c=s.paddingTop,l=s.paddingBottom,d=s.backgroundColor,f=s.entranceAnimation,p=s.zoomOnClick,h=he()("blocks-tabs",{"blocks-tabs--no-animation":!f}),m={backgroundColor:Se(i,d),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*l,"px")},v=a.length>0?N()(a).call(a,0,30):[],g=he()("blocks-tabs__container",{"blocks-tabs--single":1===v.length});return cr.createElement("div",{className:h,"data-ba":gr.blockTabs,style:m},cr.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:350},cr.createElement("div",{className:g},cr.createElement("div",{className:"blocks-tabs__row"},cr.createElement("div",{className:"blocks-tabs__col"},cr.createElement("div",{className:"blocks-tabs__wrapper",ref:function(t){e.container=t}},this.renderHeader(v),cr.createElement("div",{className:"blocks-tabs__content"},T()(v).call(v,(function(t,n){return e.renderItem(dr(dr({},t),{},{enableVideoPlaybackSpeed:u}),n,!p)})))))))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,activeIndex:ke().number,editable:ke().bool,onStep:ke().func}}},{key:"defaultProps",get:function(){return{items:[],activeIndex:0,lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(cr.Component),Sr=n(46408),Tr=n.n(Sr),Cr=n(61937),Nr=n.n(Cr),Or=n(64393),Ar=n(72131),Pr=n(416),Lr=n.n(Pr),Ir=["media","storyline"],Mr=ee()(null,["payload","result"]),Rr=Lr()(Ir),Dr=Lr()(E()(pr=[]).call(pr,Ir,["thumbnail"])),jr=Lr()(E()(hr=[]).call(hr,Ir,["meta","version"])),Zr=ee()(null,E()(mr=[]).call(mr,Ir,["src"])),Br=Lr()(["payload","result","completion"]),Fr=Lr()(E()(vr=[]).call(vr,Ir,["processing"])),Ur=ee()(!1,["payload","result","score"]),qr=$n()((function(e,t){if(!t)return!1;var n=e.majorLimit,r=e.minorLimit,i=t.split("."),o=(0,yt.Z)(i,2),a=o[0],s=o[1],u=parseInt(a)===n&&s>=r;return a>n||u})),zr={mobile:"?forcemobile=1&devicepreview=1&phone=1&rise=true",tablet:"?forcemobile=1&devicepreview=1&rise=true"},Hr=qr({majorLimit:3,minorLimit:13}),Vr=function(e,t,n){var r,i=t&&function(e){var t=Tr()(e.split("-"));return zr[t]}(n);return i?E()(r="".concat(e)).call(r,i):"".concat(e,"?rise=true")},Wr=n(67294);function Yr(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Gr=function(e){(0,y.Z)(n,e);var t=Yr(n);function n(){var e;return(0,m.Z)(this,n),(e=t.call(this)).state={fullscreen:!1,reopenMenu:!1},e.iframe=null,e.canFullscreen=e.canFullscreen.bind((0,g.Z)(e)),e.handleCourseUpdate=e.handleCourseUpdate.bind((0,g.Z)(e)),e.handleFullscreenEnter=e.handleFullscreenEnter.bind((0,g.Z)(e)),e.handleFullscreenExit=e.handleFullscreenExit.bind((0,g.Z)(e)),e.handleMessages=e.handleMessages.bind((0,g.Z)(e)),e.renderItem=e.renderItem.bind((0,g.Z)(e)),e}return(0,v.Z)(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=Tr()(t),i=M()(Hr,jr);Nr()(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=Tr()(n);if(i===e.windowName&&Br(e)){var a=Mr(e),s=a.score,u=a.success;if(Ur(e)){var c=100*s.scaled;(0,Ar.jr)(i,u,!0,c)}else(0,Ar.jr)(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,c=e.takingSnapshot,l=Tr()(a),d=u.paddingTop,f=u.paddingBottom,p=u.backgroundColor,h=u.mediaWidth,m=void 0===h?"0":h,v={backgroundColor:Se(r,p),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px"),display:i&&!Zr(l)?"none":"block"},g=he()("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":c});return Wr.createElement("div",{className:"blocks-storyline",style:v},Wr.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:o},Wr.createElement("div",{"aria-label":s,className:g,role:"group"},c?this.renderThumbnail(l):this.renderStorylineBlock(l))))}},{key:"renderStorylineBlock",value:function(e){return Fr(e)?this.renderProcessing():Zr(e)?this.renderItem(e):this.renderEmpty()}},{key:"renderThumbnail",value:function(e){var t,n=Dr(e),r=E()(t="".concat((0,Or.dU)("CDN_USER_CONTENT_URI"),"/")).call(t,n);return Wr.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=Rr(e),u=s.src,c=s.meta,l=s.title,d=c.player,f=Vr(u,o,a),p=d.height/d.width,h={paddingBottom:"".concat(100*p,"%")},m=he()("blocks-storyline__item__iframe",{"blocks-storyline__item__iframe--fullscreen":n});return Wr.createElement("div",{className:"blocks-storyline__item",style:h},Wr.createElement("iframe",{allowtransparency:"true",ref:function(e){return t.iframe=e},name:i,className:m,src:(0,Or.i3)(f),title:l}))}},{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}(Wr.Component),Kr=n(22673),$r=n.n(Kr),Xr=n(47392),Jr=n.n(Xr),Qr=n(50554),ei=n(73727),ti=n(89830),ni=n(82695),ri=n(5992),ii=n(67294);function oi(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var ai=Je.r.blocks,si=function(e){(0,y.Z)(n,e);var t=oi(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderDescriptionDelegate=r.renderDescription.bind((0,g.Z)(r)),r}return(0,v.Z)(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 ii.createElement(Ce.Z,{className:"blocks-button__description brand--head  brand--linkColor",value:n})}},{key:"getButton",value:function(e,t,n,r){return ii.createElement("span",{className:t,dangerouslySetInnerHTML:{__html:r},onClick:e,onKeyDown:(0,Tt.Ru)(e),role:"button",style:n,tabIndex:St.$_})}},{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,c=this.getButtonStyles(n,r),l=he()("blocks-button__button brand--ui",{"brand--background":void 0===r});if(t)return this.getButton(u,l,c,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 ii.createElement(ei.rU,{className:l,dangerouslySetInnerHTML:{__html:o},onClick:function(){return f(s)},role:"button",style:c,to:m})}if("exit-course"===a)return this.getButton(Or.JF,l,c,o);var v=(0,ni.j)(Vt()("email"!==a),s);if("email"===a){var g,y=ti.Z.isIphoneSafari?"_top":"_self";return ii.createElement("a",{className:l,dangerouslySetInnerHTML:{__html:o},href:E()(g="mailto:".concat(v,"?subject=")).call(g,i),style:c,tabIndex:St.$_,target:y})}var b=this.props,_=b.externalLinksDisabled,w=b.showExternalLinksModal,k=_&&(0,ri.B)(v),x=k?void 0:v,S=""===x?"#":x,T=Jr()(S)?"_blank":void 0,C="_blank"===T?"noopener noreferrer":void 0,N=k?"button":void 0,O=k?w:void 0;return ii.createElement("a",{className:l,dangerouslySetInnerHTML:{__html:o},href:S,onClick:O,rel:C,role:N,style:c,tabIndex:St.$_,target:T})}},{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,c=t.items,l=t.settings,d=t.renderDescription,f=void 0===d?this.renderDescriptionDelegate:d,p=c.length>0?N()(c).call(c,0,1):[],h=l.paddingTop,m=l.paddingBottom,v=l.backgroundColor,g=l.entranceAnimation,y=l.buttonColor||this.props.color,b="rounded",_=he()("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:Se(o,v),paddingTop:"".concat(10*h,"px"),paddingBottom:"".concat(10*m,"px")};return ii.createElement("div",{className:_,"data-ba":ai.blockButton,style:w},ii.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:u,offset:100},T()(p).call(p,(function(t){var n=t.id,i=t.label,o=t.type,u=t.destination,c=t.description,l=(0,rr.$G)((0,Te.Vt)(i),18);return ii.createElement("section",{key:n,className:"blocks-button__container"},f(n,c),e.renderButton({editable:a,buttonStyle:b,color:y,courseTitle:r,text:l,type:o,destination:u,editBlock:s}))}))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,editable:ke().bool,editBlock:ke().func,courseTitle:ke().string}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(ii.Component),ui=$r()({externalLinksDisabled:Lr()(["course","externalLinksDisabled"])}),ci=(0,Qr.$j)(ui,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(si),li=ci,di=function(e){(0,y.Z)(n,e);var t=oi(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderButtonDelegate=r.renderButton.bind((0,g.Z)(r)),r}return(0,v.Z)(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,c=n.labels,l=n.lessonId;return ii.createElement(ci,{animateBlockEntrance:!1,blockId:r,courseTitle:i,editable:o,editBlock:a,isLearner:u,items:[e],labels:c,lessonId:l,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,c=a.paddingTop,l=a.paddingBottom,d=a.backgroundColor,f=a.entranceAnimation,p=he()("blocks-buttonstack",{"blocks-buttonstack--no-animation":!f}),h={backgroundColor:Se(r,d),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*l,"px")},m={buttonColor:a.buttonColor||this.props.color,buttonStyle:a.buttonStyle};return ii.createElement("div",{className:p,style:h},ii.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i},T()(o).call(o,(function(e){return ii.createElement(P.Fragment,{key:e.id},u(e,m))}))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,editable:ke().bool,editBlock:ke().func,courseTitle:ke().string}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",editBlock:function(){}}}}]),n}(ii.Component),fi=n(42317),pi=n.n(fi),hi=n(97877),mi=n.n(hi),vi=n(42157),gi=n.n(vi),yi=n(89975),bi=n(57993),_i=n(68350),wi=n(32825),Ei=Yt()("partner-content-block-card__"),ki=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,c=s.authors,l=s.bookImage,d=s.bookTitle,f=s.buyLink,p=s.internalId,h=s.nbicLink,m={blockId:n,courseId:r,partnerContentId:p,tenantId:a,contentSubtype:u};return P.createElement("section",null,P.createElement("h2",{className:"visually-hidden"},"More Info"),P.createElement("ol",{className:"partner-content-block-card",role:"list"},P.createElement("li",{role:"listitem"},P.createElement(_i.Z,{authors:c,backgroundColor:t,block:!0,bookImage:l,bookTitle:d,buyLink:f,publishedAt:o,trackingInfo:m})),P.createElement("li",{role:"listitem"},P.createElement("div",{className:Ei("divider")})),P.createElement("li",{role:"listitem"},P.createElement(wi.Z,{backgroundColor:t,block:!0,link:h,publishedAt:o,trackingInfo:m}))))},xi=n(13425),Si=n(53454),Ti=n(67294);function Ci(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Ni=Je.r.blocks,Oi=function(e){(0,y.Z)(n,e);var t=Ci(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"renderCaption",value:function(e){var t=e.caption;return Ti.createElement(Ae,{className:"block-audio__caption brand--body brand--linkColor",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,c=r.recordMediaPlayheadPosition,l=r.renderCaption,d=void 0===l?this.renderCaptionDelegate:l,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=E()(t=E()(n="".concat(a,"-")).call(n,i,"-")).call(t,f),b=ee()(0,["items",i,"items",f,"audioVideoPlayhead"],u);return Ti.createElement("div",{key:f,className:"block-audio__item"},s?Ti.createElement(yi.Z,{audioVideoPlayhead:b,key:y,id:y,labels:o,mediaSrc:g,onEnd:this.handleOnEnd.bind(this,f),recordMediaPlayheadPosition:c}):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.defaultBackgroundColor,i=void 0===r?"":r,o=t.isLearner,a=t.items,s=t.settings,u=s.paddingTop,c=s.paddingBottom,l=s.backgroundColor,d=s.entranceAnimation,f=he()("block-audio",{"block-audio--no-animation":!d}),p={backgroundColor:Se(i,l),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*c,"px")},h=a.length>0?N()(a).call(a,0,1):[];return Ti.createElement("div",{className:f,"data-ba":Ni.blockAudio,style:p},Ti.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:150},Ti.createElement("div",{className:"block-audio__wrapper"},T()(h).call(h,(function(t,n){return e.renderItem(t,n)})))))}}],[{key:"propTypes",get:function(){return{audioVideoPlayhead:ke().number,blockId:ke().any,editable:ke().bool,items:ke().array,lessonId:ke().any,loadMedia:ke().bool.isRequired,onStep:ke().func,recordMediaPlayheadPosition:ke().func,settings:ke().object.isRequired}}},{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,blockId:"",editable:!1,items:[],lessonId:"",onStep:Function.prototype,recordMediaPlayheadPosition:Function.prototype}}}]),n}(Ti.Component),Ai=function(e){(0,y.Z)(n,e);var t=Ci(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).renderCaptionDelegate=r.renderCaption.bind((0,g.Z)(r)),r}return(0,v.Z)(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,c=t.settings,l=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=ee()(0,["items",n,"items",h,"audioVideoPlayhead"],s),E=F()(ae()("id",g),a)||{},k=Ti.createElement("div",null,Ti.createElement("img",{className:"block-video__poster",src:y,alt:"Video Poster"})),x=Ti.createElement("div",null,Ti.createElement("div",{className:"block-video__placeholder"})),S=Ti.createElement("div",null,Ti.createElement(xi.Z,{audioVideoPlayhead:w,canAdjustPlaybackSpeed:i,canRestrictSeek:c.forwardSeekRestricted&&!r,captionUID:p,captions:f,id:v,key:v,labels:o,partnerContent:E,poster:y,progressChanged:this.handleProgressChanged.bind(this,h),recordMediaPlayheadPosition:u,src:_,subtitle:b,type:m?"video":d}));return l?k:_?S:x}},{key:"renderCaption",value:function(e){var t=e.caption;return Ti.createElement(Ae,{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,c=r.publishedAt,l=r.settings,d=r.tenantId,f=r.renderCaption,p=void 0===f?this.renderCaptionDelegate:f,h=l.backgroundColor,m=l.mediaWidth,v=void 0===m?"1":m,g=e.id,y=e.media,b=e.partnerContentId,_=y.customVideo,w=void 0===_?{}:_,k=y.tmp,x=void 0===k?{}:k,S=y.video,T=void 0===S?{}:S,C=mi()("poster",T)?T:$()(T,w),N=mi()("poster",x.video||{})&&x.video,O=(0,Or.AP)()?C:N||C,A=O.captionUID,P=O.captions,L=O.key,I=O.poster,M=O.src,R=O.subtitle,D={captionUID:A,captions:P,id:g,key:L,keyId:E()(t=E()(n="".concat(o,"-")).call(n,a,"-")).call(t,g),partnerContentId:b,poster:I,src:M,subtitle:R},j=F()(ae()("id",b),u)||{},Z=j&&!gi()(j),B=he()("block-video__item",{"block-video__item--small":"0"===v,"block-video__item--medium":"1"===v,"block-video__item--full":"2"===v});return Ti.createElement("div",{key:g,className:B,"data-ba":Ni.blockVideo},s&&this.renderVideo(D),Ti.createElement("div",{className:"block-video__wrapper"},p(e)),Z&&Ti.createElement(ki,{backgroundColor:h,blockId:a,courseId:i,partnerContent:j,publishedAt:c,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,c=s.paddingBottom,l=s.backgroundColor,d=s.entranceAnimation,f=he()("block-video",{"block-video--no-animation":!d}),p={backgroundColor:Se(i,l),paddingTop:"".concat(10*u,"px"),paddingBottom:"".concat(10*c,"px")},h=a.length>0?N()(a).call(a,0,1):[];return Ti.createElement("div",{className:f,style:p},Ti.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o,offset:250},T()(h).call(h,(function(t,n){return e.renderItem(t,n)}))))}}],[{key:"propTypes",get:function(){return{audioVideoPlayhead:ke().number,blockId:ke().any,courseId:ke().string,editable:ke().bool,items:ke().array,labels:ke().object,lessonId:ke().any,loadMedia:ke().bool.isRequired,onStep:ke().func,partnerContent:ke().array,publishedAt:ke().string,settings:ke().object.isRequired,tenantId:ke().string,type:ke().string}}},{key:"defaultProps",get:function(){return{audioVideoPlayhead:0,items:[],editable:!1,lessonId:"",blockId:"",onStep:Function.prototype,partnerContent:[]}}}]),n}(Ti.Component),Pi=function(e){(0,y.Z)(n,e);var t=Ci(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=s.labels,l=s.settings,d=a.showMetaData,f=l.showBorder,p=void 0===f||f,h=he()("block-embed__item",{"block-embed__item--border":p});return Ti.createElement("section",{key:r,className:h,"data-ba":Ni.blockEmbed},u&&Ti.createElement(bi.Z,{id:E()(n="".concat(t,"-")).call(n,r),labels:c,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,c=u.paddingTop,l=u.paddingBottom,d=u.backgroundColor,f=u.entranceAnimation,p=u.mediaWidth,h=void 0===p?0:p,m="link"!==(0,Si.OR)(s),v=he()("block-embed",{"block-video--no-animation":!f}),g=he()("block-embed__wrapper",{"block-embed__wrapper--medium":m&&"1"===h,"block-embed__wrapper--full":m&&"2"===h}),y={backgroundColor:Se(o,d),paddingTop:"".concat(10*c,"px"),paddingBottom:"".concat(10*l,"px")},b=s.length>0?N()(s).call(s,0,1):[];return Ti.createElement("div",{className:v,style:y},Ti.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:a,offset:300},Ti.createElement("div",{className:g},T()(b).call(b,(function(t){return e.renderItem(t,r)})))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,editable:ke().bool,loadMedia:ke().bool.isRequired}}},{key:"defaultProps",get:function(){return{items:[],editable:!1,lessonId:"",blockId:""}}}]),n}(Ti.Component),Li=function(e){(0,y.Z)(n,e);var t=Ci(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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 Ti.createElement("div",{style:this.styles(a,r)},Ti.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i},Ti.createElement("div",{className:"block-text--onecol"},Ti.createElement("div",{className:"block-text__container"},Ti.createElement("div",{className:"block-text__row"},Ti.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=(0,Or.i3)(t),c=a?"":void 0,l=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 Ti.createElement("a",{className:"block-attachment brandHover","data-external":c,download:r,href:d,onClick:l,rel:f,role:p,target:h},Ti.createElement("div",{className:"block-attachment__main"},Ti.createElement("div",{className:"block-attachment__icon"},this.fileIcon(n)),Ti.createElement("div",{className:"block-attachment__info brand--head"},Ti.createElement(Ce.Z,{className:"block-attachment__title",value:r}),Ti.createElement("div",{className:"block-attachment__size"},pi()(i,{round:1})))),Ti.createElement("div",{className:"block-attachment__rest"},Ti.createElement(en.UW,{className:"brandHover__target--fill"})))}},{key:"renderNoFile",value:function(){return Ti.createElement("div",{className:"block-attachment block-attachment--none","data-ba":Ni.blockAttachment},Ti.createElement("div",{className:"block-attachment__main"},Ti.createElement("div",{className:"block-attachment__icon"},Ti.createElement(en.$B,{"aria-label":"File"})),Ti.createElement("div",{className:"block-attachment__info brand--head"},Ti.createElement("div",{className:"block-attachment__title"},"File Attachment Block"),Ti.createElement("div",{className:"block-attachment__size"},"No file added"))))}},{key:"fileIcon",value:function(e){return/excel|spreadsheet/.test(e)?Ti.createElement(en.QS,{"aria-label":"Microsoft Excel Spreadsheet"}):/pdf/.test(e)?Ti.createElement(en.yd,{"aria-label":"PDF File"}):/word/.test(e)?Ti.createElement(en.S8,{"aria-label":"Microsoft Word Document"}):/powerpoint|presentation/.test(e)?Ti.createElement(en.TN,{"aria-label":"PowerPoint Presentation"}):/rtf|richtext/.test(e)?Ti.createElement(en.Zn,{"aria-label":"Rich Text File"}):/zip/.test(e)?Ti.createElement(en.Uj,{"aria-label":"ZIP File"}):Ti.createElement(en.$B,{"aria-label":"File"})}},{key:"styles",value:function(e,t){return{backgroundColor:Se(t,e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}}],[{key:"propTypes",get:function(){return{blockId:ke().string.isRequired,items:ke().array.isRequired,lessonId:ke().string,loadMedia:ke().bool.isRequired,settings:ke().object.isRequired}}}]),n}(Ti.Component),Ii=$r()({externalLinksDisabled:Lr()(["course","externalLinksDisabled"])}),Mi=(0,Qr.$j)(Ii,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}})(Li),Ri=n(28192),Di=n(37176),ji=n(75240),Zi=n(80521);function Bi(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,c=void 0===u?[]:u,l=e.onStep,d=void 0===l?Function.prototype:l,f=e.settings,p=(0,P.useRef)(),h=(0,Di.Z)(a),m=(0,Ri.j9)().announcePolite,v=c[0]||{},g=v.buttonColor,y=v.completeHint,b=v.id,_=v.title,w=!v.type||r,E=(0,P.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:b})}),[b,d]);return(0,P.useEffect)((function(){!h&&a&&(null==m||m("Additional lesson content has been loaded."))}),[a,h,m]),P.createElement(P.Fragment,null,!a&&P.createElement("div",{style:Fi(f,o)},P.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:s,offset:25},P.createElement("div",{className:"block-text--onecol"},P.createElement("div",{className:"block-text__container"},P.createElement("div",{className:"block-text__row"},P.createElement("div",{className:"block-text__col"},w&&P.createElement(ji.Z,{bgColor:g,onClick:E,text:_}),!w&&P.createElement(Zi.Z,{text:y}))))))),P.createElement("div",{className:"abs-center-x visually-hidden-always",ref:p}))}function Fi(e,t){return{backgroundColor:Se(t,e.backgroundColor),paddingTop:"".concat(10*e.paddingTop,"px"),paddingBottom:"".concat(10*e.paddingBottom,"px")}}var Ui=n(13594),qi=n.n(Ui),zi=n(5683),Hi=n.n(zi),Vi=n(67294),Wi=function(){return Vi.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"23",height:"17",viewBox:"0 0 23 17",focusable:!1},Vi.createElement("path",{fillRule:"nonzero",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"}))},Yi=n(67294);function Gi(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Ki=Je.r.blocks,$i={small:{longMin:51,totalMax:150},medium:{longMin:208,totalMax:390},large:{longMin:258,totalMax:707}},Xi=function(e){(0,y.Z)(n,e);var t=Gi(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).state={flipped:e.flipped,hasFlippedOnce:e.hasFlippedOnce},r.flip=r.flip.bind((0,g.Z)(r)),r.scrollDownIfNecessary=r.scrollDownIfNecessary.bind((0,g.Z)(r)),r.scrollUpIfNecessary=r.scrollUpIfNecessary.bind((0,g.Z)(r)),r.onKeyDown=r.onKeyDown.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"anchorClicked",value:function(e){return"a"===e.tagName.toLowerCase()||e!==this.container&&this.anchorClicked(e.parentElement)}},{key:"flip",value:function(e){var t=e.target;if(!this.anchorClicked(t)){var n=this.state.flipped;this.setState({flipped:!n,hasFlippedOnce:!0}),n?(this.frontSide.scrollToTop(),this.cardFront.focus()):(this.props.onStep(this.props.card),this.backSide.scrollToTop(),this.cardBack.focus()),e&&e.preventDefault()}}},{key:"showFront",value:function(){this.setState({flipped:!1}),this.frontSide.scrollToTop()}},{key:"focus",value:function(){this.cardFront.focus()}},{key:"scrollUpIfNecessary",value:function(e){e.target===this.cardFront?this.frontSide.scrollUp(e):this.backSide.scrollUp(e)}},{key:"scrollDownIfNecessary",value:function(e){e.target===this.cardFront?this.frontSide.scrollDown(e):this.backSide.scrollDown(e)}},{key:"onKeyDown",value:function(e){kt()([[Tt.Uf,this.flip],[Tt.IA,this.scrollUpIfNecessary],[Tt.up,this.scrollDownIfNecessary]])(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.card,i=t.index,o=t.labels,a=void 0===o?{}:o,s=t.showHint,u=t.size,c=a.blocksClickToFlip,l=this.state,d=l.flipped,f=l.hasFlippedOnce,p=r.front,h=void 0===p?{}:p,m=r.back,v=void 0===m?{}:m,g=_t()(h,"type")||"description",y=_t()(v,"type")||"description",b=(0,De.xR)(_t()(h,"media.image")),_=(0,De.xR)(_t()(v,"media.image")),w=_t()(h,"media.image.alt"),E=_t()(v,"media.image.alt"),k=h.description||"",x=v.description||"",S=he()("block-flashcard",{"block-flashcard--large":"large"===u,"block-flashcard--medium":"medium"===u,"block-flashcard--small":"small"===u,"block-flashcard--first":0===i,"block-flashcard--flipped":d,"block-flashcard--in-edge":ti.Z.isEdge,"block-flashcard--in-ie":ti.Z.isIe11}),T=he()("block-flashcard__front",{"block-flashcard__front--description":"description"===g,"block-flashcard__front--image":"image"===g,"block-flashcard__front--fullimage":"fullimage"===g}),C=he()("block-flashcard__back",{"block-flashcard__back--description":"description"===y,"block-flashcard__back--image":"image"===y,"block-flashcard__back--fullimage":"fullimage"===y}),N=he()("block-flashcard__content",{"brand--border":"fullimage"!==g}),O=he()("block-flashcard__flip brand--ui",{"block-flashcard__flip--detailed":!f}),A="fullimage"===g?{backgroundImage:"url('".concat(b,"')")}:{},P="fullimage"===y?{backgroundImage:"url('".concat(_,"')")}:{},L=n&&!d,I=n&&d,M=0===i&&!f&&c,R=Yi.createElement("button",{className:O,onClick:this.flip,ref:function(t){e.flipLink=t},tabIndex:St.mR,type:"button"},Yi.createElement("span",{className:"flip-text"},M),Yi.createElement("span",{className:"flip-icon"},Yi.createElement(Wi,null)));return Yi.createElement("section",{className:S,onTouchEnd:function(e){e.stopPropagation()},ref:function(t){e.container=t}},Yi.createElement("div",{className:"block-flashcard__wrapper"},Yi.createElement("div",{"aria-hidden":!L,className:T,onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(t){e.cardFront=t},role:"button",tabIndex:(0,St._6)(L)},Yi.createElement("div",{className:N,style:A},Yi.createElement(Ji,{allowTabNavigation:L,alt:w,description:k,image:b,labels:a,ref:function(t){e.frontSide=t},side:"front",size:u,type:g})),s&&R),Yi.createElement("div",{"aria-hidden":!I,className:C,onBlur:function(){e.container.style.zIndex--},onFocus:function(){e.container.style.zIndex++},onClick:this.flip,onKeyDown:this.onKeyDown,ref:function(t){e.cardBack=t},role:"button",tabIndex:(0,St._6)(I)},Yi.createElement("div",{className:"block-flashcard__content",style:P},Yi.createElement(Ji,{allowTabNavigation:I,alt:E,description:x,image:_,labels:a,ref:function(t){e.backSide=t},side:"back",size:u,type:y})),s&&R)))}}],[{key:"propTypes",get:function(){return{allowTabNavigation:ke().bool,card:ke().object.isRequired,index:ke().number,onStep:ke().func,showHint:ke().bool,size:ke().oneOf(["large","medium","small"])}}},{key:"defaultProps",get:function(){return{allowTabNavigation:!0,flipped:!1,hasFlippedOnce:!1,index:0,onStep:Function.prototype,showHint:!0,size:"large"}}}]),n}(Yi.Component),Ji=function(e){(0,y.Z)(n,e);var t=Gi(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).state={hasOverflow:!1,isLong:!1},r.handleScroll=r.handleScroll.bind((0,g.Z)(r)),r.overflowMask=r.overflowMask.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollContent.addEventListener("scroll",this.scrollRef=sr()(this.handleScroll,50)),window.addEventListener("resize",this.maskRef=sr()(this.overflowMask,50)),this.overflowMask()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.maskRef),this.scrollContent.removeEventListener("scroll",this.scrollRef)}},{key:"scrollToTop",value:function(){this.scrollContent.scrollTop=0}},{key:"scrollUp",value:function(e){(0,Tt.ke)(this.scrollContent,e)}},{key:"scrollDown",value:function(e){(0,Tt.Jr)(this.scrollContent,this.state.hasOverflow,e)}},{key:"handleScroll",value:function(){var e=this.state.hasOverflow,t=this.scrollContent,n=t.scrollTop,r=t.scrollHeight;n+t.offsetHeight+10>=r?this.setState({hasOverflow:!1}):e||this.setState({hasOverflow:!0})}},{key:"overflowMask",value:function(){var e=this.scrollContent,t=e.offsetHeight<e.scrollHeight-10;this.setState({hasOverflow:t,isLong:t})}},{key:"ariaLabel",value:function(){var e,t,n=this.props,r=n.alt,i=n.description,o=n.labels,a=n.side,s=n.type,u=o.flashcardBackLabel,c=o.flashcardFrontLabel,l="front"===a?c:u;return"image"===s||"fullimage"===s?r?E()(t="".concat(l," - ")).call(t,r):l:i?E()(e="".concat(l," - ")).call(e,(0,Te.Vt)(i)):l}},{key:"render",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.alt,i=t.size,o=t.type,a=t.description,s=t.image,u=t.side,c=this.state,l=c.hasOverflow,d=c.isLong,f=$i[i],p=a,h=!!M()(qi()(f.longMin),G(),Te.Vt,Hi()("&nbsp;"," "))(a)||d,m=he()("block-flashcard__center brand--linkColor",{"block-flashcard__center--long":h,"block-flashcard__center--long--front":h&&"front"===u,"block-flashcard__center--long--back":h&&"back"===u,"block-flashcard__center--overflow":l,"block-flashcard__center--column":"image"===o}),v='""'===r?"":r,g="fullimage"===o?v:null;return Yi.createElement("div",{ref:function(t){e.scrollContent=t},className:m,alt:g,title:g,"aria-label":this.ariaLabel()},"image"===o&&s&&Yi.createElement("figure",{className:"block-flashcard__image",style:{backgroundImage:"url(".concat(s,")")},title:v},Yi.createElement("img",{alt:v,src:s})),"description"===o&&Yi.createElement(Ce.Z,{allowTabNavigation:n,className:"block-flashcard__description brand--head",value:p}))}}],[{key:"propTypes",get:function(){return{size:ke().string,type:ke().string,description:ke().string,image:ke().string}}}]),n}(Yi.Component),Qi=function(e){(0,y.Z)(n,e);var t=Gi(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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=e.stack,u=e.labels,c=e.onStep,l=a.backgroundColor,d=a.entranceAnimation,f=a.paddingBottom,p=a.paddingTop,h=a.showHint,m=he()("block-flashcards",{"blocks-flashcard--column":!s,"blocks-flashcard--stack":s,"block-flashcards--no-animation":!d}),v={backgroundColor:Se(r,l),paddingTop:"".concat(10*p,"px"),paddingBottom:"".concat(10*f,"px")},g=o.length,y=1===g?"large":2===g?"medium":"small",b=u.flashcardGridGroup,_=u.flashcardStackGroup,w=s?_:b;return Yi.createElement("div",{"aria-label":w,className:m,"data-ba":Ki.blockFlashcards,style:v},s?Yi.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:i,offset:400},Yi.createElement(eo,{items:o,labels:u,onStep:c,showHint:h})):Yi.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",className:"block-flashcards__animation",isLearner:i,siblingDelay:.25},Yi.createElement("div",{className:"block-flashcards__wrapper"},T()(o).call(o,(function(e,t){return Yi.createElement(Xi,{card:e,index:t,key:e.id,labels:u,onStep:c,showHint:h,size:y})})))))}}],[{key:"propTypes",get:function(){return{items:ke().array,settings:ke().object.isRequired,stack:ke().bool,onStep:ke().func}}},{key:"defaultProps",get:function(){return{items:[],stack:!1,editable:!1,onStep:Function.prototype}}}]),n}(Yi.Component),eo=function(e){(0,y.Z)(n,e);var t=Gi(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).state={current:1},r}return(0,v.Z)(n,[{key:"handleBeforeChange",value:function(e,t){for(var n=this,r=this.props.items.length,i=0;i<r;i++){var o=this["flashcard-".concat(i)];o&&o.showFront()}this.sliderInfo.setCurrent(t+1),this["flashcard-".concat(t)].focus(),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.current,s=n.length,u={dots:!1,draggable:!1,swipe:!1,speed:500,slidesToShow:1,slidesToScroll:1,fade:!0,infinite:!1,arrows:!0,beforeChange:this.handleBeforeChange.bind(this),nextArrow:Yi.createElement(no,{current:a,labels:r,length:s}),prevArrow:Yi.createElement(no,{previous:!0,current:a,labels:r,length:s})};return Yi.createElement("section",{className:"block-flashcards-slider block-flashcards-slider--full-carousel"},Yi.createElement("div",{className:"block-flashcards-slider__wrap"},Yi.createElement(wt.Z,(0,be.Z)({className:"block-flashcards-slider__slides"},u),T()(n).call(n,(function(t,n){return Yi.createElement("div",{className:"block-flashcards-slider__slide",key:"flashcard-".concat(n)},Yi.createElement(Xi,{allowTabNavigation:a===H()(n),card:t,index:n,labels:r,onStep:i,ref:function(t){e["flashcard-".concat(n)]=t},showHint:o}))}))),Yi.createElement(to,{ref:function(t){e.sliderInfo=t},labels:r,current:a,itemCount:n.length})))}}],[{key:"propTypes",get:function(){return{items:ke().array,onStep:ke().func,showHint:ke().bool}}},{key:"defaultProps",get:function(){return{items:[],onStep:Function.prototype}}}]),n}(Yi.Component),to=function(e){(0,y.Z)(n,e);var t=Gi(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).state={current:e.current},r}return(0,v.Z)(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,"%")},c=o.blocksPreposition,l=void 0===c?"of":c;return Yi.createElement("div",{className:"block-flashcards-slider__info"},Yi.createElement("div",{className:"block-flashcards-slider__progress"},Yi.createElement("p",{className:"block-flashcards-slider__progress-text brand--body brand--linkColor"},E()(e=E()(t="".concat(a," ")).call(t,l," ")).call(e,r)),Yi.createElement("div",{className:"block-flashcards-slider__progress-line brand--background",style:u})))}}],[{key:"propTypes",get:function(){return{current:ke().number.isRequired,itemCount:ke().number.isRequired}}}]),n}(Yi.Component),no=function(e){(0,y.Z)(n,e);var t=Gi(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=t===r,l=he()("block-flashcards-slider__controls",{"block-flashcards-slider__controls--beginning":u,"block-flashcards-slider__controls--end":c}),d=he()("brand--background block-flashcards-slider__arrow",{"block-flashcards-slider__arrow--next":!o,"block-flashcards-slider__arrow--prev":o}),f=he()("icon",{"icon-chevron-right":!o,"icon-chevron-left":o}),p=o&&u||!o&&c;return Yi.createElement("div",{className:l},Yi.createElement("div",{"aria-disabled":p,"aria-label":o?s:a,className:d,onClick:i,onKeyDown:(0,Tt.Ru)(i),role:"button",tabIndex:(0,St._6)(!p)},Yi.createElement("i",{className:f})))}}],[{key:"propTypes",get:function(){return{onClick:ke().func,previous:ke().bool,current:ke().number,length:ke().number}}},{key:"defaultProps",get:function(){return{previous:!1,onClick:function(){},current:0,length:-1}}}]),n}(Yi.Component),ro=n(89576),io=n.n(ro),oo=n(66497),ao=n.n(oo),so=n(13657),uo=n.n(so),co=n(22184),lo=n.n(co),fo=n(63266),po=n.n(fo),ho=n(69983),mo=n.n(ho),vo=n(76290),go=n.n(vo),yo=n(46412),bo=n(9110),_o=n(88080),wo=n(41148),Eo=n(56242),ko=n(7772),xo=n.n(ko),So=n(61949),To=n.n(So),Co=n(69105),No=n.n(Co),Oo=n(90368),Ao=n.n(Oo),Po=n(61894),Lo=n.n(Po),Io=n(84585),Mo=n.n(Io),Ro=n(53176),Do=n.n(Ro),jo=n(36218),Zo=n.n(jo),Bo=n(8240),Fo=n.n(Bo),Uo=n(67031),qo=n.n(Uo),zo=n(47176),Ho=n.n(zo),Vo=xo()(No()),Wo=Z()(ae()("correct",!0)),Yo=M()(Ho()(D()(-1),Vt()(0)),q()(ae()("correct",!0))),Go=function(e){return{MATCHING:No(),FILL_IN_THE_BLANK:Xo,MULTIPLE_CHOICE:No(),MULTIPLE_RESPONSE:No()}[e]},Ko=M()(Mo()("id"),Wo),$o=M()(Tr(),Ko),Xo=Z()(ae()("correct",!0)),Jo=M()(ie()("id"),Tr()),Qo=M()(G(),Ao()),ea=(en.mZ,en.kO,en.WH,en.ri,n(6037)),ta=n.n(ea),na=ta()((function(e){return e.preventDefault()})),ra=ta()((function(e){return e.stopPropagation()})),ia=M()(ra,na);Lr()(["target","value"]);function oa(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var aa=Je.r.blocks,sa=wo.ZP.FILL_IN_THE_BLANK,ua=wo.ZP.MATCHING,ca=(wo.ZP.MULTIPLE_CHOICE,wo.ZP.MULTIPLE_RESPONSE),la=(_o.Z.ANY,_o.Z.CHOICE),da=_o.Z.CORRECT_INCORRECT,fa={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"},pa=ee()(null,[0,"type"]),ha=function(e){(0,y.Z)(n,e);var t=oa(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).state={selectedAnswer:null,selectedIndices:[],chosen:!1,answered:!1,fillInValue:"",matches:{}},r.retakeAnimationStageOne=null,r.retakeAnimationStageTwo=null,r.takeAgainRef=(0,P.createRef)(),r.getSelection=r.getSelection.bind((0,g.Z)(r)),r.handleFillIn=r.handleFillIn.bind((0,g.Z)(r)),r.handleChoiceSelect=r.handleChoiceSelect.bind((0,g.Z)(r)),r.handleMatch=r.handleMatch.bind((0,g.Z)(r)),r.handleMultipleResponseChange=r.handleMultipleResponseChange.bind((0,g.Z)(r)),r.handleRetake=r.handleRetake.bind((0,g.Z)(r)),r.renderQuestionTitle=r.renderQuestionTitle.bind((0,g.Z)(r)),r.renderMultipleResponseOptionText=r.renderMultipleResponseOptionText.bind((0,g.Z)(r)),r.renderMultipleChoiceOptionText=r.renderMultipleChoiceOptionText.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"componentDidUpdate",value:function(e,t){if(t.answered&&!this.state.answered)this.getType()!==sa&&(0,St.qD)(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 sa:return this.state.fillInValue;case ua:return this.state.matches;case ca: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=M()(ao()(t,n),po()(D()(n)),yo.Ki)(r);this.setState({matches:i})}},{key:"handleMultipleResponseChange",value:function(e){var t=e.optionIndex,n=this.state.selectedIndices,r=A()(n).call(n,t)?go()([t]):io()(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){var n=this;t&&this.setState({answered:!0,retake:!1},(function(){return n.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()===sa&&(0,St.qD)(e.wrapper),e.retakeAnimationStageTwo=null}))}),950)}},{key:"renderQuestionTitle",value:function(e,t){var n=e.title;return P.createElement(Ae,{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,c=o.renderQuestionTitle,l=void 0===c?this.renderQuestionTitle:c,d=u.feedbackGroup,f=u.quizCorrect,p=u.quizIncorrect,h=u.quizSubmit,m=u.quizTakeAgain,v=e.id,g=e.media,y=e.settings,b=e.type,_=this.getIsCorrect({item:e}),w=this.getCanSubmit({item:e}),E=this.onSubmit.bind(this,v,w),k=this.getFeedback({item:e,isCorrect:_,selectedAnswer:i}),x="q-".concat(v),S=this.getSelection({item:e}),T=he()("block-knowledge__retake-container",{"block-knowledge__retake-container--active":n}),C=he()("block-knowledge__retake","brand--hoverColor",{"block-knowledge__retake--active":n&&!r});return P.createElement(bo.Zb,{key:v,isActive:!0},l(e,x),P.createElement(bo.pU,{blockId:a,enableVideoPlaybackSpeed:s,labels:u,media:g,opts:y}),P.createElement(bo.U4,{type:b},this.renderType({isCorrect:_,item:e,onSubmit:E,canSubmit:w,questionHtmlId:x})),P.createElement(bo.eX,{canProceed:n,canSubmit:w,onSubmit:E,quizSubmit:h}),P.createElement(bo.x2,{canProceed:n,hasFeedback:!!k,isActive:n,isComplete:n,isCorrect:_,item:e,feedbackGroup:d,feedbackValue:k,quizCorrect:f,quizIncorrect:p,selection:S}),P.createElement("div",{className:T},P.createElement("button",{"aria-hidden":!n||void 0,className:C,onClick:this.handleRetake,tabIndex:n?void 0:-1,type:"button",ref:this.takeAgainRef},P.createElement("div",{className:"block-knowledge__retake-content"},P.createElement("div",{className:"block-knowledge__retake-text brand--ui"},m),P.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,c=t.isCaseSensitive;switch(u){case sa:return function(e){var t=e.answers,n=e.fillInValue,r=e.isCaseSensitive?qo():M()(qo(),Fo());return ne()(Lo()(Do()("","title")),Lo()(r),To()(r(n)))(t)}({answers:Xo(s),fillInValue:r,isCaseSensitive:c});case ua:return(0,ve.yV)(i);case ca:return function(e){var t=e.answers,n=e.selectedIndices;return D()(Zo()(Vo,n),M()(Zo()(Vo),Lo()(M()(Jn()(q())(t),ae()("id"))),Ko)(t))}({answers:s,selectedIndices:a});default:return o===Yo(s)}}},{key:"getType",value:function(){var e=this.props.items;return pa(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 sa:return lo()(gi()(o))&&lo()(i);case ua:return Qo(a)===G()(n);case ca:return lo()(gi()(u))&&lo()(i);default:return lo()(uo()(s))&&lo()(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 la:return ee()("",[r,"feedback"],i);case da:return n?a:s;default:return o}}},{key:"getTypeLabel",value:function(){var e=this.getType();return e&&fa[e]||"Knowledge Check"}},{key:"renderMultipleResponseOptionText",value:function(e,t){var n=t.title;return P.createElement(Ae,{className:"cursorAuto",value:n,onClick:ia,component:"span"})}},{key:"renderMultipleChoiceOptionText",value:function(e,t){var n=t.title;return P.createElement(Ae,{className:"quiz-multiple-choice-option__label brand--body cursorAuto",value:n,onClick:ia,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,c=a.labels,l=a.prefersKeyboardNavigation,d=a.renderMultipleResponseOptionText,f=void 0===d?this.renderMultipleResponseOptionText:d,p=a.renderMultipleChoiceOptionText,h=void 0===p?this.renderMultipleChoiceOptionText:p,m=this.state,v=m.answered,g=m.fillInValue,y=m.matches,b=m.retake,_=m.selectedAnswer,w=m.selectedIndices,E=n.answers,k=void 0===E?[]:E,x=n.type,S=c.quizAcceptableResponses,T=c.quizAnswerPlaceholder,C=(0,ve.wd)(k),N=C,O=mo()(C);switch(x){case sa:return P.createElement(Eo.MV,{allowTabNavigation:!0,isComplete:v,isCorrect:t,onChange:this.handleFillIn,onEnterToSubmit:r,options:Xo(k),revealAnswers:wo.Oi.ALL,questionHtmlId:o,quizAcceptableResponses:S,quizAnswerPlaceholder:T,value:g});case ua:return P.createElement(Eo.ri,{allowTabNavigation:!0,answers:Go(x)(k),canSubmit:i,isActive:!0,isComplete:v,isLearner:u,matchIndices:N,matches:y,onEnterToSubmit:r,onMatch:this.handleMatch,prefersKeyboardNavigation:!0,revealAnswers:wo.Oi.ALL,titleIndices:O,isKnowledgeCheck:!0,isRetake:b});case ca:return P.createElement(Eo.YK,{allowTabNavigation:!0,correctIds:Ko(k),isComplete:v,isCorrect:t,onChange:this.handleMultipleResponseChange,onEnterToSubmit:r,options:k,prefersKeyboardNavigation:l,renderOptionText:f.bind(this,n),revealAnswers:wo.Oi.ALL,selectedIndices:w});default:return P.createElement(Eo.mZ,{allowTabNavigation:!0,color:s,correctId:$o(k)||Jo(k),isComplete:v,isCorrect:t,onChange:this.handleChoiceSelect,onEnterToSubmit:r,options:k,prefersKeyboardNavigation:l,questionHtmlId:o,renderOptionText:h.bind(this,n),revealAnswers:wo.Oi.ALL,selectedIndex:_})}}},{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,c=u.answered,l=u.retake,d=s.paddingTop,f=s.paddingBottom,p=s.backgroundColor,h=s.entranceAnimation,m=he()("block-knowledge",{"block-knowledge--no-animation":!h,"block-knowledge--answered":c,"block-knowledge--retake":l}),v={backgroundColor:Se(i,p),paddingTop:"".concat(10*d,"px"),paddingBottom:"".concat(10*f,"px")},g=a.length>0?N()(a).call(a,0,1):[];return P.createElement("div",{className:m,"data-ba":aa.blockKnowledge,style:v,ref:function(t){e.block=t}},P.createElement($e.Z,{animateBlockEntrance:n,animateIn:"fadeIn",isLearner:o},P.createElement("div",{className:"block-knowledge__container"},P.createElement("div",{className:"block-knowledge__row"},P.createElement("div",{className:"block-knowledge__col"},P.createElement("div",{"aria-label":this.getTypeLabel(),className:"block-knowledge__wrapper",ref:function(t){e.wrapper=t}},T()(g).call(g,(function(t){return e.renderQuestion(t)}))))))))}}],[{key:"propTypes",get:function(){return{lessonId:ke().any,blockId:ke().any,items:ke().array,settings:ke().object.isRequired,onStep:ke().func}}},{key:"defaultProps",get:function(){return{items:[],lessonId:"",blockId:"",onStep:Function.prototype}}}]),n}(P.Component),ma=n(1219),va=n(67294),ga=Je.r.blocks,ya=function(e){var t=e.blockId,n=e.progress,r=Lr()(["items",t],n);return va.createElement(Ke,{className:"block-labeled-graphic","data-ba":ga.blockLabeledGraphic},va.createElement(ma.Z,(0,be.Z)({},e,{editable:!1,isBlock:!0,parentId:t,progress:r})))},ba=n(86302),_a=n(73935),wa=n(19755),Ea=n.n(wa),ka=n(80409),xa=n.n(ka),Sa=n(81753),Ta=n.n(Sa),Ca=n(97560),Na=n.n(Ca),Oa=n(67294);function Aa(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Pa=function(e){(0,y.Z)(n,e);var t=Aa(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=e.media,l=e.position,d=l.next,f=l.prev,p=e.previous,h=e.title,m=e.type,v=!uo()(f)&&!uo()(d),g=Yt()("process-card__"),y=he()("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=kt()([[we()(s),Vt()({transform:"translate3d(".concat(d,"px, 0px, 0px)")})],[Na()(s),Vt()({transform:"translate3d(-".concat(f,"px, 0px, 0px)")})],[Qt(),Vt()(null)]])(n),_={className:y,style:v?b:null};return Oa.createElement("div",_,Oa.createElement("div",{className:"process-card__inner"},Oa.createElement("div",null,"step"===m&&Za(this.props,g),h&&Ba(this.props,g),c&&Ra(this.props,g),r&&Ia(this.props,g),a&&"intro"===m&&ja(this.props,g),"intro"!==m&&t,a&&"summary"===m&&Da(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}}],[{key:"propTypes",get:function(){return{blockId:ke().string.isRequired,children:ke().node,current:ke().number.isRequired,description:ke().string,enableVideoPlaybackSpeed:ke().bool,entered:ke().bool,fade:ke().bool,hasNavigation:ke().bool,index:ke().any.isRequired,initiating:ke().bool,media:ke().object,onMediaLoad:ke().func,onNextClick:ke().func.isRequired,onRestartClick:ke().func.isRequired,number:ke().number,position:ke().object.isRequired,previous:ke().number,settings:ke().object.isRequired,title:ke().string,type:ke().oneOf(["intro","step","summary"])}}}]),n}(Oa.Component),La=function(e){(0,y.Z)(n,e);var t=Aa(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=e.title,l=e.type,d=e.width,f=kt()([[we()(a),Vt()({transform:"translate3d(".concat(d,"px, 0px, 0px)")})],[Na()(a),Vt()({transform:"translate3d(-".concat(d,"px, 0px, 0px)")})],[Qt(),Vt()(null)]])(n),p=he()("process-card-mobile",{"process-card-mobile--entered":i,"process-card-mobile--intro":"intro"===l,"process-card-mobile--summary":"summary"===l,"process-card-mobile--active":n===a,"process-card-mobile--initiating":s}),h=Yt()("process-card-mobile__");return Oa.createElement("div",{className:p,style:f},Oa.createElement("div",{className:"process-card-mobile__inner"},Oa.createElement("div",null,"step"===l&&Za(this.props,h),c&&Ba(this.props,h),u&&Ra(this.props,h),r&&Ia(this.props,h),o&&"intro"===l&&ja(this.props,h),"intro"!==l&&t,o&&"summary"===l&&Da(this.props,h),Ma(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}}],[{key:"propTypes",get:function(){return{blockId:ke().string.isRequired,children:ke().node,current:ke().number.isRequired,description:ke().string,enableVideoPlaybackSpeed:ke().bool,entered:ke().bool,hasNavigation:ke().bool,id:ke().string.isRequired,index:ke().any.isRequired,initiating:ke().bool.isRequired,labels:ke().object.isRequired,media:ke().object,onMediaLoad:ke().func,onNextClick:ke().func.isRequired,onRestartClick:ke().func.isRequired,number:ke().number,settings:ke().object.isRequired,showHelp:ke().bool,title:ke().string,type:ke().oneOf(["intro","step","summary"]),width:ke().number}}}]),n}(Oa.Component),Ia=function(e,t){var n=e.current,r=e.description,i=e.index;return Oa.createElement(Ce.Z,{allowTabNavigation:n===i,className:"".concat(t("description")," brand--body"),value:r})},Ma=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.showHelp,a=i.processSwipe,s=he()(t("help"),(0,h.Z)({},"".concat(t("help"),"--show"),n===r&&o));return Oa.createElement("div",{className:s},Oa.createElement("span",null,a," ",Oa.createElement(en._M,null)))},Ra=function(e,t){var n,r,i=e.blockId,o=e.current,a=e.enableVideoPlaybackSpeed,s=e.id,u=e.index,c=e.media,l=e.onMediaLoad,d=e.settings.zoomOnClick,f=o===u,p=Hn()(ao()("pause",!0),c);return Oa.createElement("div",{className:t("media")},Oa.createElement(tr.Z,{allowTabNavigation:f,defaultAlign:"center",enableVideoPlaybackSpeed:a,hasPadding:!1,index:E()(n=E()(r="".concat(i,"-")).call(r,s,"-")).call(n,u),media:f?c:p,onLoad:f&&l?l:Vt(),opts:{disableZoom:!d}}))},Da=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.onRestartClick,a=i.processStartAgain,s=n===r?St.$_:St.mR,u={className:"".concat(t("restart")," brand--color"),onClick:o,onKeyDown:(0,Tt.Ru)(o),role:"button",tabIndex:s};return Oa.createElement("div",u,Oa.createElement("span",{className:"brand--ui"},a),Oa.createElement("i",{className:"icon icon-reload"}))},ja=function(e,t){var n=e.current,r=e.index,i=e.labels,o=e.onNextClick,a=i.processStart,s=n===r?St.$_:St.mR,u={className:"".concat(t("button")," brand--background brand--ui"),onClick:o,onKeyDown:(0,Tt.Ru)(o),role:"button",tabIndex:s};return Oa.createElement("button",(0,be.Z)({},u,{type:"button"}),Oa.createElement("span",null,a," ",Oa.createElement(en._M,null)))},Za=function(e,t){var n,r=e.labels,i=e.number,o=e.settings,a=r.processStepName,s=o.stepLabel||a;return Oa.createElement("div",{className:"".concat(t("number")," brand--background brand--head")},Oa.createElement("p",null,E()(n="".concat(s," ")).call(n,i)))},Ba=function(e,t){return Oa.createElement("div",{className:"".concat(t("title")," brand--head")},Oa.createElement("h2",null,e.title))},Fa=n(22727),Ua=n(67294);function qa(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var za=function(e){(0,y.Z)(n,e);var t=qa(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=e.sidebar,l=e.top,d=e.type,f="next"===d,p="prev"===d,h=p&&"prev"===i||f&&"next"===i||"both"===i,m=u.active?r+c:t,v=u.active?r+a:t,g=kt()([[ae()("active",!0),Vt()(l)],[ae()("end",!0),Vt()(n)],[Qt(),Vt()(null)]])(u),y=he()("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 Ua.createElement(Fa.W3,{component:"div"},!o&&Ua.createElement(Fa.Kv,{classNames:"process-arrow",timeout:{enter:300,exit:200}},Ua.createElement("div",_,Ua.createElement(en._M,null))))}},{key:"shouldComponentUpdate",value:function(e){var t=function(e,t){return M()(lo(),ae()(e,t))};return kt()([[t("absolute",this.props.absolute),Vt()(!0)],[t("fixed",this.props.fixed),Vt()(!0)],[t("isSliding",this.props.isSliding),Vt()(!0)],[t("opacity",this.props.opacity),Vt()(!0)],[t("scroll",this.props.scroll),Vt()(!0)],[t("top",this.props.top),Vt()(!0)],[Qt(),Vt()(!1)]])(e)}}],[{key:"propTypes",get:function(){return{absolute:ke().number,bottom:ke().number,fixed:ke().number,hidden:ke().oneOf(["both","next",null,"prev"]),isSliding:ke().bool,offset:ke().number,onClick:ke().func.isRequired,opacity:ke().number,scroll:ke().object,sidebar:ke().number,top:ke().number,type:ke().oneOf(["next","prev"])}}}]),n}(Ua.Component),Ha=n(88524),Va=n.n(Ha),Wa=n(56396),Ya=n.n(Wa),Ga=n(67294);function Ka(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var $a=function(e){(0,y.Z)(n,e);var t=Ka(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=o.offsetWidth,l=this.counter.offsetWidth,d=s-l/2+c/2,f=u-l+c/2;return{lastItemPosition:u,position:kt()([[Va()(l/2),Vt()(0)],[qi()(u-l/2),Vt()(f)],[Qt(),Vt()(d)]])(s),width:l}}},{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,c=this.getItemPosition(),l=r?i+1:i,d=he()("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(c,"px, 0px, 0px)")},h={className:"process-counter__inner",style:!uo()(s)&&s>0?f:{transform:"translate3d(0px, 0px, 0px)"},ref:function(e){return t.counter=e}},m={className:"process-counter__active brand--border",style:uo()(c)?null:p};return Ga.createElement("div",{className:d},Ga.createElement("div",h,Ga.createElement("div",m),T()(e=Ya()(1,l)).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=ti.Z.isMobile,u={className:he()("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)};return Ga.createElement("div",u,Ga.createElement("span",null,o?Ga.createElement(en.Y_,null):e))}}],[{key:"propTypes",get:function(){return{current:ke().number.isRequired,hasSummary:ke().bool,isFirst:ke().bool,length:ke().number.isRequired,slideTo:ke().func}}}]),n}(Ga.Component),Xa=n(87699),Ja=n(67294);function Qa(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function es(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qa(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):Qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}function ts(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var ns=function(e){(0,y.Z)(n,e);var t=ts(n);function n(e){var r;return(0,m.Z)(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((0,g.Z)(r)),r.handleRestart=r.handleRestart.bind((0,g.Z)(r)),r.handleScroll=r.handleScroll.bind((0,g.Z)(r)),r.renderStep=r.renderStep.bind((0,g.Z)(r)),r.setArrows=r.setArrows.bind((0,g.Z)(r)),r.setHeight=r.setHeight.bind((0,g.Z)(r)),r.setPosition=r.setPosition.bind((0,g.Z)(r)),r.setWidth=r.setWidth.bind((0,g.Z)(r)),r.slideTo=r.slideTo.bind((0,g.Z)(r)),r.observer=new IntersectionObserver(r.handleIntersect,{rootMargin:"10000px"}),r}return(0,v.Z)(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=sr()(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,_a.findDOMNode)(this.refs["slide-0"]).offsetHeight,a=this.container===window?"body, html":this.container,s=$()(this.state.arrow,{hidden:"prev"}),u=$()(this.state.scroll),c={active:!1,auto:!1,end:!1},l=$()(this.state.slide,{fade:!0}),d={active:!1,current:0,fade:!0,previous:r.length-1},f=$()(d,{fade:!1}),p=function(){e.setState({scroll:c,slide:d}),e.afterSlideRef=setTimeout(e.setArrows,300)};this.setState({scroll:u({auto:!0}),slide:l,style:{height:o}},(function(){Ea()(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,_a.findDOMNode)(this.refs["slide-".concat(r)]),a=(0,_a.findDOMNode)(this.refs["arrow-".concat(i)]),s=a&&a.firstChild||null;if(!n.auto&&o&&s){var u=o.getBoundingClientRect(),c=u.height,l=u.top,d=s.getBoundingClientRect().top,f=460-c,p=.005*(l-f+200),h=$()(n),m=$()(t);l<80&&l>f?this.setState({scroll:h({active:!0,end:!1})}):l<=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,c=s.current,l=s.fade,d=r.length,f=c===d-1,p=0===c,h=Math.min(d-22,c-11),m=Math.max(24-c,c+12,23),v=p?0:Math.max(0,h),g=f?d:Math.min(d,m),y=Ta()(v,g,r),b=d<23?y:xa()(r[0],y),_=he()("process-block",{"process-block--with-sidebar":n&&a>0}),w={className:he()("process-block__inner",{"process-block__inner--fade":l||o}),ref:function(t){return e.inner=t},style:u};return Ja.createElement("div",{className:_},Ja.createElement("div",w,this.renderArrow("prev"),f?T()(b).call(b,this.renderStep):T()(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,c=this.container&&this.container!==window,l=u.length>1?n.hidden:"both",d=es(es({},n),{},{hidden:l,isSliding:o.active,offset:c?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 Ja.createElement(za,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,c=s.enableVideoPlaybackSpeed,l=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,E=y.card,k=y.wrapper,x=function(e){return!uo()(F()(ae()("type",e),p))},S=x("intro"),T=x("summary"),C=S?r:r+1,N=Z()(ae()("type","step"),p).length+1,O={blockId:u,current:b,description:t,enableVideoPlaybackSpeed:c,entered:l,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:E,wrapperWidth:k},A={current:b,hasSummary:T,isFirst:!S,length:N,slideTo:this.slideTo};return Ja.createElement(Pa,O,Ja.createElement($a,A))}},{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,_a.findDOMNode)(this.refs["slide-".concat(o)]),c=(0,_a.findDOMNode)(this.refs["arrow-".concat(s)]),l=c&&c.firstChild||null,d=Jn()(qi()),f=a?i:0,p=window.innerWidth;if(u&&l){var h=u.getBoundingClientRect(),m=h.height,v=h.left,g=h.width,y=l.getBoundingClientRect(),b=y.top,_=(p-g-v)/2-y.width,w=kt()([[d(1280+f),Vt()(_+20)],[d(1350+f),Vt()(_)],[Qt(),Vt()(v-f-170)]])(p),E=kt()([[d(1280+f),Vt()(_+20)],[d(1350+f),Vt()(_+40)],[Qt(),Vt()(v-f-130)]])(p);this.setState({arrow:{absolute:w,bottom:m-220,fixed:E,hidden:n,opacity:r,top:b}})}}},{key:"setHeight",value:function(e){var t=this.state.slide.current,n=(0,_a.findDOMNode)(this.refs["slide-".concat(t)]),r="function"==typeof e?e:Vt();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,_a.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,c={card:n&&n.offsetWidth,wrapper:t&&t.offsetWidth},l={prev:u,next:s};t&&n&&this.setState({position:l,sidebar:r,width:c})}},{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,_a.findDOMNode)(this.refs["slide-".concat(e)]).offsetHeight,c=this.container===window?"body, html":this.container,l=$()(this.state.scroll),d={active:!1,auto:!1,end:!1},f=$()(this.state.arrow),p=$()({current:e,previous:t,fade:!1}),h=a[e],m=kt()([[D()(0),Vt()({hidden:"prev"})],[D()(a.length-1),Vt()({hidden:"next"})],[Qt(),Vt()({hidden:null})]])(e),v=function(){n.setState({scroll:d}),n.afterSlideRef=setTimeout(n.setArrows,400)};this.setState({scroll:l({auto:!0}),slide:p({active:!0}),style:{height:u}},(function(){Ea()(c).stop().animate({scrollTop:s},300,v)})),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)}}}],[{key:"propTypes",get:function(){return{blockId:ke().string.isRequired,entered:ke().bool,getScrollTop:ke().func.isRequired,isPreview:ke().bool,labels:ke().object.isRequired,menuOpen:ke().bool,onStep:ke().func,settings:ke().object.isRequired,steps:ke().array.isRequired,visible:ke().bool}}}]),n}(Ja.Component),rs=function(e){(0,y.Z)(n,e);var t=ts(n);function n(e){var r;return(0,m.Z)(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((0,g.Z)(r)),r.preventScroll=r.preventScroll.bind((0,g.Z)(r)),r.renderStep=r.renderStep.bind((0,g.Z)(r)),r.setHeight=r.setHeight.bind((0,g.Z)(r)),r.setPosition=r.setPosition.bind((0,g.Z)(r)),r.setWidth=r.setWidth.bind((0,g.Z)(r)),r}return(0,v.Z)(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=(0,Xa.Z)(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"),Ea()(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 c=o[u],l=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"),Ea()(l).stop().animate({scrollTop:s},300,p)})),i&&i(c)}}},{key:"preventScroll",value:function(e){this.container!==window&&("start"===e&&ti.Z.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,c=0===r?0:r-1,l=u?s:r+2,d=Ta()(c,l,t),f=s<3?d:io()(t[0],d),p={className:he()("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 Ja.createElement("div",{className:"process-block-mobile"},Ja.createElement("div",p,u?T()(f).call(f,this.renderStep):T()(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,c=s.enableVideoPlaybackSpeed,l=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!uo()(F()(ae()("type",e),p))},w=_("intro"),E=_("summary"),k=w?r:r+1,x=Z()(ae()("type","step"),p).length+1,S={blockId:u,current:v,description:t,enableVideoPlaybackSpeed:c,entered:h&&l,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:k,settings:f,showHelp:g&&y,title:o,type:a,width:this.inner&&this.inner.offsetWidth},T={current:v,hasSummary:E,isFirst:!w,length:x};return Ja.createElement("div",{key:r,ref:"slide-".concat(r)},Ja.createElement(La,S,Ja.createElement($a,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:Vt();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!==(!uo()(F()(ae()("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}}],[{key:"propTypes",get:function(){return{blockId:ke().string.isRequired,entered:ke().bool,getScrollTop:ke().func.isRequired,isPreview:ke().bool,menuOpen:ke().bool,onStep:ke().func,settings:ke().object.isRequired,steps:ke().array.isRequired,visible:ke().bool}}}]),n}(Ja.Component),is=n(67294);function os(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var as=function(e){(0,y.Z)(n,e);var t=os(n);function n(e){var r;return(0,m.Z)(this,n),(r=t.call(this,e)).state={entered:!1,visible:!1},r.getScrollTop=r.getScrollTop.bind((0,g.Z)(r)),r.handleEntranceEnd=r.handleEntranceEnd.bind((0,g.Z)(r)),r.handleScroll=r.handleScroll.bind((0,g.Z)(r)),r.triggerSlide=r.triggerSlide.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.onStep,n=e.previewType,r=document.getElementsByClassName("page-wrap")[0];this.container=uo()(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,_a.findDOMNode)(this),r=Ea()(n).offset().top,i=10*e;return t===window?r-i:Ea()(t).scrollTop()+r-Ea()(t).offset().top-i}},{key:"getSteps",value:function(){var e,t=this.props.items,n=F()(ae()("type","intro"),t),r=F()(ae()("type","summary"),t),i=Z()(ae()("type","step"),t),o=E()(e=[n]).call(e,(0,ba.Z)(i),[r]),a=po()(ae()("isHidden",!0),o);return T()(a).call(a,(function(e,t){return ao()("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,c=t.settings,l=t.enableVideoPlaybackSpeed,d=this.state,f=d.entered,p=d.visible,h=this.getSteps(),m=!uo()(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:c,steps:h,visible:p,enableVideoPlaybackSpeed:l},w=ao()("ref",(function(t){return e.process=t}),_),E=ao()("ref",(function(t){return e.processMobile=t}),_),k=is.createElement(ns,w),x=is.createElement(rs,E);return is.createElement($e.Z,y,is.createElement("div",(0,be.Z)({"aria-label":"Process",role:"group"},b),ti.Z.isMobile?x:k))}},{key:"setProgress",value:function(){var e=this.props,t=e.items,n=e.onStep,r=this.getSteps(),i=Z()(ae()("isHidden",!0),t),o=r[0]?io()(r[0]):No();M()(Lo()(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){ti.Z.isMobile?this.processMobile.handleSlide(e):this.process.handleSlide(e)}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:ke().bool,blockId:ke().string.isRequired,isLearner:ke().bool,items:ke().array.isRequired,labels:ke().object.isRequired,menuOpen:ke().bool,onStep:ke().func,previewType:ke().string,settings:ke().object.isRequired}}}]),n}(is.Component),ss=n(67294);function us(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function cs(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var ls=Je.r.blocks,ds=function(e){(0,y.Z)(n,e);var t=cs(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"onKeyDown",value:function(e){kt()([[Tt.V8,this.triggerSlide.bind(this,"next")],[Tt.V4,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:St.$_},a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?us(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):us(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}({ref:function(t){return e.process=t}},this.props);return ss.createElement("div",(0,be.Z)({},o,{"data-ba":ls.blockProcess}),ss.createElement(as,a))}},{key:"triggerSlide",value:function(e){this.process.triggerSlide(e)}}]),n}(ss.Component),fs=n(45582),ps=n.n(fs),hs=n(92373),ms=n.n(hs),vs=n(23018),gs=n.n(vs),ys=n(36573),bs=n.n(ys),_s=n(77414),ws=n.n(_s),Es=n(15636),ks=n.n(Es),xs=n(23710),Ss=n.n(xs),Ts=n(709),Cs=n.n(Ts),Ns=n(96942),Os=n.n(Ns),As=n(5206),Ps=n.n(As),Ls=n(20793),Is=n.n(Ls),Ms=n(70682),Rs=n.n(Ms),Ds=n(67430),js=n.n(Ds),Zs=bs()(uo()),Bs=function(e){var t=Fs(e)[0],n=(t||{}).feedback,r=ne()(Ps()(["action","emotion","goTo","nextSlide"]),ms()({description:n,type:"dialogue"}));return t?[t,r(t)]:[r(e)]},Fs=function(e){return[e.responses[e.response]]},Us=function(e){var t=js()(Zs,"response"),n=ae()("hasFeedback",!0),r=function(t){return M()(xa()(e),t)};return kt()([[n,r(Bs)],[t,r(Fs)],[Qt(),Rs()]])(e)},qs=$n()((function(e,t){if(t){var n=t.scene,r=t.slide,i=q()(ae()("id",n),e),o=Do()([],"slides",e[i]);return{scene:i,slide:q()(ae()("id",r),o)}}})),zs=n(425),Hs=n.n(zs),Vs=n(43656),Ws=n.n(Vs),Ys=n(8575),Gs=ne()(ie()("filters"),Z()(ae()("name","rise_emotion")),bs()(gi())),Ks=ne()(ie()("filters"),F()(ae()("name","rise_emotion")),ie()("value")),$s=M()(Ws(),ie()("pathname"),Ys.parse),Xs=ne()(ie()("poses"),Z()(Gs),Lo()((function(e){return[Ks(e),e]})),Hs(),Hn()((function(e){return ne()(ao()("key",$s(e.src)),ao()("thumbnailKey",$s(e.thumbnail)))(e)}))),Js=n(67294);function Qs(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var eu=function(e){return Ss()(uo(),No(),e)},tu=bs()(gi()),nu=bs()(uo()),ru=gs()(nu,tu),iu=ps()(Is()),ou=function(e){(0,y.Z)(n,e);var t=Qs(n);function n(e){var r;(0,m.Z)(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((0,g.Z)(r)),r.fetchCharacterPose=r.fetchCharacterPose.bind((0,g.Z)(r)),r.getCharacterPose=r.getCharacterPose.bind((0,g.Z)(r)),r.onClick=r.onClick.bind((0,g.Z)(r)),r.onFocus=r.onFocus.bind((0,g.Z)(r)),r.onInit=r.onInit.bind((0,g.Z)(r)),r.onResize=r.onResize.bind((0,g.Z)(r)),r.onResponseClick=r.onResponseClick.bind((0,g.Z)(r)),r.onTryAgainClick=r.onTryAgainClick.bind((0,g.Z)(r)),r.renderBackground=r.renderBackground.bind((0,g.Z)(r)),r.renderButton=r.renderButton.bind((0,g.Z)(r)),r.renderDetails=r.renderDetails.bind((0,g.Z)(r)),r.renderDialogues=r.renderDialogues.bind((0,g.Z)(r)),r.renderEnd=r.renderEnd.bind((0,g.Z)(r)),r.renderPose=r.renderPose.bind((0,g.Z)(r)),r.renderResponse=r.renderResponse.bind((0,g.Z)(r)),r.renderText=r.renderText.bind((0,g.Z)(r)),r.resetSlide=r.resetSlide.bind((0,g.Z)(r)),r.resetSlides=r.resetSlides.bind((0,g.Z)(r)),r.setNextSlide=r.setNextSlide.bind((0,g.Z)(r)),r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.initialState,n=e.items,r=M()(mi()("poses"),Do()({},"character"),Tr());ru(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=ee()([],[i,"slides"],t),s=ee()(null,[o,"goTo"],a),u=ee()(null,[o,"type"],a);n&&("end"===s&&"text"===u||!s&&!u)&&ks()(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=E()(n="".concat(e,".")).call(n,t),s=[a,"response"],u=[a,"hasFeedback"],c=ee()(null,s,this.state.slides),l=ee()(!1,u,this.state.slides),d=Do()("neutral","emotion",o),f=Ss()(Vt()(l),ee()(d,["responses",c,"emotion"]),Vt()(d)),p=ne()(ee()(null,["poses",f(o)]),eu(De.LS));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=Ps()(["id","name","poses","src"]);T()(n).call(n,(function(e){var n,o=e.character,a=e.id;return ru(o)&&t(o.id).then((function(e){return ao()("poses",Xs(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=ee()([],[n,"slides"],e),s=ee()(!0,[r,"hasCharacter"],a);return nu(i)&&lo()(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,c=i[s].slides,l="dialogue"===Do()(null,"type",c[u]),d=s===i.length-1,f=u===c.length-1,p={activeSlide:u+1},h={activeScene:s+1,activeSlide:0},m={activeSlide:null},v=ne()(qs(i),(function(e){return{activeScene:e.scene,activeSlide:e.slide}})),g=kt()([[Vt()(f&&d),Vt()(m)],[Vt()(f&&!d),Vt()(h)],[Qt(),Vt()(p)]]),y=Ss()(Vt()(l),Vt()(m),Vt()({activeScene:0,activeSlide:0})),b=kt()([[D()("slide"),Os()(v,[t])],[D()("next"),g],[D()("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&&ks()(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=E()(t="".concat(i,".")).call(t,o),u=ao()("response",e),c=ao()("hasFeedback",!0),l=Xt()((0,h.Z)({},"".concat(s),u)),d=Xt()((0,h.Z)({},"".concat(s),c)),f=M()(d,l);this.setState({slides:l(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=E()(e="".concat(n,".")).call(e,r),a=ms()({hasFeedback:null,response:null}),s=Xt()((0,h.Z)({},"".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,c=(r[a]||{}).slides,l=c&&c[s],d=M()(tu,Do()({},"character"),Tr()),f=M()(mi()("poses"),Do()({},"character"),Tr()),p=M()(ce(),ee()({},["character","poses"])),h=M()(ws(),ce(),Lo()(p)),m={"aria-label":"Scenario",className:he()("scenario-block",{"scenario-block--initiated":u,"scenario-block--mobile":ti.Z.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:St.$_},v=ne()(Tr(),ee()(null,["background","media","image"]),eu(De.xR)),g=kt()([[uo(),this.renderEnd],[ae()("type","dialogue"),this.renderDialogues],[ae()("type","text"),this.renderText],[Qt(),Vt()(null)]]),y=l&&"text"===l.type&&!l.hasCharacter,b=he()("scenario-block__character",{"scenario-block__character--hidden":y});return Js.createElement("div",null,Js.createElement("div",m,Js.createElement("div",{className:"scenario-block__spinner"}),Js.createElement("div",{className:"scenario-block__background-wrapper"},ru(r)&&T()(r).call(r,this.renderBackground)),Js.createElement("img",{alt:"",onLoad:this.onInit,src:v(r)}),Js.createElement("div",{className:"scenario-block__inner"},Js.createElement("div",{className:b},f(r)&&T()(e=h(r)).call(e,this.renderPose)),Js.createElement(Fa.W3,null,ru(r)&&g(l)))),n&&l&&this.renderDetails(l))}},{key:"renderBackground",value:function(e,t){var n=this.state.activeScene,r=e.id,i=ee()(null,["background","media","image"],e),o={className:he()("scenario-block__background",(0,h.Z)({},"scenario-block__background--active",n===t)),key:r,style:i&&{backgroundImage:"url(".concat((0,De.xR)(i),")")}};return i&&Js.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?Js.createElement("span",null,r," ",Js.createElement("i",{className:"icon icon-reload"})):Js.createElement("span",null,n),c={className:"scenario-block__dialogue__button",key:"button",onClick:"tryAgain"===i?M()(this.onFocus,this.onTryAgainClick):M()(this.onFocus,Os()(this.onClick,[o,a]))};return Js.createElement(Fa.W3,null,Js.createElement(Fa.Kv,s,Js.createElement("button",(0,be.Z)({},c,{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 Js.createElement("span",{key:e},e," ",Js.createElement(en.pV,null)," ",t)},u=ne()(qs(t),(function(e){var t,n=e.scene,r=e.slide;return E()(t="Scene ".concat(n+1," Slide ")).call(t,r+1)})),c=function(e,t){var n=t.goTo,r=t.nextSlide;return kt()([[D()("next"),Os()(s,[e,"Next Slide"])],[D()("end"),Os()(s,[e,"End of Scenario"])],[Qt(),Os()(s,[e,u(r||{})])]])(n)},l="text"===a?c("Continue",e):T()(o).call(o,(function(e,t){return c(t,e)}));return Js.createElement("div",{className:"scenario-block__pdf-details"},Js.createElement("h3",null,"Scene ",r+1," Slide ",i+1),l)}},{key:"renderDialogue",value:function(e,t,n){var r,i=t.description,o=t.id,a=t.type,s=e.count,u=e.firstKey,c=e.hasFeedback,l=0===n?o:n,d=1===n?u:n-1,f=0===n&&1===s,p=n===s,m=this.refs["dialogue-".concat(l)],v=p&&this.refs["dialogue-".concat(d)],g=m&&m.offsetHeight,y=p&&v&&v.offsetHeight,b=c?30:0,_=window.innerWidth<480?20:30,w=2*_+60+y-b,E=_+60-b,k=Cs()(g+b-60),x=he()("scenario-block__dialogue",(r={},(0,h.Z)(r,"scenario-block__dialogue--response",uo()(a)),(0,h.Z)(r,"scenario-block__dialogue--faded",n<s-1),r)),S=kt()([[Vt()(f),Vt()(null)],[D()(s),Vt()({top:"".concat(w,"px")})],[D()(s-1),Vt()({top:"".concat(E,"px")})],[D()(s-2),Vt()({top:"".concat(k,"px")})],[Qt(),Vt()({top:"-".concat(g+30,"px")})]]),T={className:x,ref:"dialogue-".concat(l),style:S(n)},C={appear:!0,classNames:"scenario-block__dialogue-",key:n,timeout:{enter:700,exit:400}},N=Js.createElement("div",{className:"scenario-block__dialogue__bubble brand--body"},Js.createElement(Ce.Z,{value:i}));return Js.createElement(Fa.Kv,C,Js.createElement("div",null,Js.createElement("div",T,ru(i)&&N)))}},{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[E()(t="".concat(r,".")).call(t,i)]||{},c=M()(ws(),Us,$()(u))(e),l=u.hasFeedback,d=u.response,f=(s[d]||{}).feedback,p=uo()(d)&&tu(s),h=l?c.length-1:c.length,m=(1===h&&gi()(s)||2===h&&tu(s))&&l,v={count:h,firstKey:ee()(null,[0,"id"],c),hasFeedback:l&&ru(f)},g={classNames:"scenario-block__content-",key:a,timeout:400},y=Js.createElement("div",{className:"scenario-block__dialogues__bottom"},Js.createElement("div",{className:"scenario-block__dialogues__bottom__inner"},Js.createElement("div",{className:"scenario-block__dialogues__responses"},Js.createElement(Fa.W3,null,T()(s).call(s,this.renderResponse)))));return Js.createElement(Fa.Kv,g,Js.createElement("div",{className:"scenario-block__dialogues scenario-block__content"},Js.createElement("div",{className:"scenario-block__dialogues__inner"},Js.createElement("div",{className:"scenario-block__dialogues__top"},Js.createElement("div",{className:"scenario-block__dialogues__top__inner"},Js.createElement(Fa.W3,null,T()(c).call(c,this.renderDialogue.bind(this,v))))),p&&y,m&&this.renderButton(c[h-1]))))}},{key:"renderEnd",value:function(){var e=this.props.labels,t=e.scenarioComplete,n=e.scenarioStartOver,r=M()(this.onFocus,Os()(this.onClick,["end",null])),i=he()(["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:(0,Tt.Ru)(r),role:"button",tabIndex:St.$_};return Js.createElement(Fa.Kv,o,Js.createElement("div",{className:i,key:"end"},Js.createElement("div",{className:"scenario-block__text__inner"},Js.createElement("div",{className:"scenario-block__text__title brand--head"},Js.createElement("h2",null,t)),Js.createElement("div",a,Js.createElement("span",null,n),Js.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&&(0,De.LS)(e),a=gs()(ae()("name","style")),s=a(ae()("value","left_aligned")),u=a(ae()("value","right_aligned")),c=he()("scenario-block__character__inner",{"scenario-block__character__inner--active":n===o,"scenario-block__character__inner--right":F()(u,r),"scenario-block__character__inner--left":F()(s,r)});return Js.createElement("div",{className:c,key:E()(t="".concat(i,"-")).call(t,Math.random())},Js.createElement("img",{alt:"",role:"img",src:o}))}},{key:"renderResponse",value:function(e,t){var n=e.description,r=this.props.isPDF?Vt()():M()(this.onFocus,Os()(this.onResponseClick,[t])),i={className:he()(["scenario-block__response","scenario-block__response--".concat(t),"brand--body"]),onClick:r,onKeyDown:(0,Tt.Ru)(r),role:"button",tabIndex:St.$_},o={appear:!0,classNames:"scenario-block__response-",key:t,timeout:{enter:1600,exit:400}};return Js.createElement(Fa.Kv,o,Js.createElement("div",i,Js.createElement("div",{className:"scenario-block__response__inner"},Js.createElement("div",{className:"scenario-block__response__number"},t+1),Js.createElement(Ce.Z,{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,c=s.scenarioStartOver,l=!t&&(a||"").length<22,d=he()("scenario-block__text","scenario-block__content",{"scenario-block__text--no-character":!r,"scenario-block__text--short":l}),f={classNames:"scenario-block__content-",key:i,timeout:400},p=Js.createElement("div",{className:"scenario-block__text__title brand--head"},Js.createElement("h2",null,Js.createElement(Ce.Z,{value:a}))),h=Js.createElement("div",{className:"scenario-block__text__description brand--body"},Js.createElement(Ce.Z,{value:t})),m=M()(this.onFocus,Os()(this.onClick,[n,o])),v={className:"scenario-block__text__continue brand--background brand--ui",onClick:m,onKeyDown:(0,Tt.Ru)(m),role:"button",tabIndex:St.$_},g={className:"scenario-block__text__end",onClick:m,onKeyDown:(0,Tt.Ru)(m),role:"button",tabIndex:St.$_},y=Js.createElement("button",(0,be.Z)({},v,{type:"button"}),Js.createElement("span",null,u)),b=Js.createElement("div",g,Js.createElement("span",null,c),Js.createElement("i",{className:"icon icon-reload"}));return Js.createElement(Fa.Kv,f,Js.createElement("div",{className:d,key:i},Js.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=E()(n="".concat(e,".")).call(n,t);this.setState({slides:ao()(i,{hasFeedback:!1,response:null},r)})}},{key:"resetSlides",value:function(){var e=this.props.items;this.setState({slides:iu((function(e,t,n){return ne()(ie()("slides"),iu((r=n,function(e,t,n){var i;return ao()(E()(i="".concat(r,".")).call(i,n),{hasFeedback:!1,response:null},e)}),{}),ms()(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,c=a.type,l=E()(e="".concat(r,".")).call(e,i),d=ao()("hasFeedback",!0),f=Xt()((0,h.Z)({},l,d));"dialogue"===c&&gi()(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}}},{key:"propTypes",get:function(){return{items:ke().array.isRequired,labels:ke().object.isRequired,menuOpen:ke().bool,onItemUpdate:ke().func,onStep:ke().func}}}]),n}(Js.Component),au=n(67294);function su(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var uu=Je.r.blocks,cu=function(e){(0,y.Z)(n,e);var t=su(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.isLearner,r=e.previewType,i=e.settings,o=!uo()(r),a=t?"fadeIn":"none",s=o&&t?1:0,u=i.backgroundColor,c=i.paddingBottom,l=i.paddingTop,d={backgroundColor:u,paddingBottom:"".concat(10*c,"px"),paddingTop:"".concat(10*l,"px")},f={animateBlockEntrance:o,animateIn:a,duration:s,initiallyVisible:!t,isLearner:n,offset:300};return au.createElement("div",{className:"block-scenario","data-ba":uu.blockScenario,style:d},au.createElement($e.Z,f,au.createElement(ou,this.props)))}}],[{key:"propTypes",get:function(){return{animateBlockEntrance:ke().bool,blockId:ke().string.isRequired,isLearner:ke().bool,items:ke().array.isRequired,lessonId:ke().string.isRequired,menuOpen:ke().bool,onStep:ke().func,onItemUpdate:ke().func,previewType:ke().string,settings:ke().object.isRequired}}}]),n}(au.Component),lu=n(37172),du=n(67294),fu=function(e){var t=e.blockId,n=e.lessonId;return function(e){var r=e.itemId,i=e.isCorrect;return(0,me.W)((0,ge.IB)({itemId:r,lessonId:n,blockId:t,isCorrect:i}))}},pu=function(e){var t=e.blockId,n=e.lessonId;return function(){return(0,me.W)((0,ge.TD)({lessonId:n,blockId:t}))}},hu=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=ie()("backgroundColor",s),c=(0,Be.jn)(u),l=e.onCardDrop||fu,d=e.onReplay||pu;return du.createElement(Ke,{type:"sorting-activity"},du.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:!0},du.createElement(lu.Z,{hasDarkBackground:c,id:n,items:r,labels:i,onCardDrop:l(e),onReplay:d(e),piles:o,progress:ee()({},["items",n],a)})))},mu=n(82738),vu=n(67294),gu=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,c=ie()("backgroundColor",u),l=(0,Be.jn)(c);return vu.createElement(Ke,{settings:u,type:"timeline"},vu.createElement($e.Z,{animateBlockEntrance:t,animateIn:"fadeIn",isLearner:!0},vu.createElement(mu.Z,{enableVideoPlaybackSpeed:r,hasDarkBackground:l,id:n,isBlock:!0,isLearner:i,items:o,labels:a,progress:ee()({},["items",n],s)})))};gu.defaultProps={isLearner:!0};var yu=gu,bu=n(54991),_u=n.n(bu),wu=n(91033),Eu=n(59837),ku=n.n(Eu),xu=n(38439),Su=n(33670),Tu=n.n(Su),Cu=n(11419),Nu=n.n(Cu),Ou=n(80921),Au=n.n(Ou),Pu=(n(53171),n(89875)),Lu=n.n(Pu),Iu=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 Mu(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 Ru(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Du(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 ju(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 Zu="undefined"!=typeof process&&process.env&&"production",Bu=function(e){function t(){var n,r;Ru(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=Du(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},Du(r,n)}return ju(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(!Au()(o,e.legend))return!0;if(!Au()(r,e.options))return!0;var u=this.transformDataProp(e);return!Au()(this.shadowDataProp,u)||!Au()(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=Iu({},e,{datasets:e.datasets&&e.datasets.map((function(e){return Iu({},e)}))}),e}},t.prototype.checkDatasets=function(e){var n="production"!==Zu&&"prod"!==Zu,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=Nu().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=Lu()(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=Mu(t,["data"]);return Iu({},n,r)}return t}));n.datasets;var a=Mu(n,["datasets"]);this.chartInstance.config.data=Iu({},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||Au()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new(Nu())(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 P.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(P.Component);Bu.getLabelAsKey=function(e){return e.label},Bu.propTypes={data:Tu().oneOfType([Tu().object,Tu().func]).isRequired,getDatasetAtEvent:Tu().func,getElementAtEvent:Tu().func,getElementsAtEvent:Tu().func,height:Tu().number,legend:Tu().object,onElementsClick:Tu().func,options:Tu().object,plugins:Tu().arrayOf(Tu().object),redraw:Tu().bool,type:function(e,t,n){if(!Nu().controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:Tu().number,datasetKeyProvider:Tu().func},Bu.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:Bu.getLabelAsKey};!function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}(P.Component);var Fu=function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}return ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))},t}(P.Component),Uu=function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}return ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))},t}(P.Component),qu=function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}return ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))},t}(P.Component),zu=(function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}(P.Component),function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(P.Component),function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(P.Component),function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(P.Component),function(e){function t(){return Ru(this,t),Du(this,e.apply(this,arguments))}ju(t,e),t.prototype.render=function(){var e=this;return P.createElement(Bu,Iu({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}(P.Component),Nu().defaults,n(5086)),Hu=n.n(zu);function Vu(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Wu=function(e){(0,y.Z)(n,e);var t=Vu(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).handleMouseEnter=r.handleMouseEnter.bind((0,g.Z)(r)),r.handleMouseLeave=r.handleMouseLeave.bind((0,g.Z)(r)),r}return(0,v.Z)(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=!uo()(t)&&t!==r,s=he()("block-chart__cartesianLegendItem",{"block-chart__cartesianLegendItem--unfocused":a});return P.createElement("div",{className:s,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},P.createElement("dt",{className:"block-chart__cartesianLegendTerm"},n,"."),P.createElement("dd",{className:"block-chart__cartesianLegendDefn"},i,P.createElement("span",{className:"block-chart__cartesianLegendDefnPipe"},"|"),P.createElement("span",{className:"block-chart__cartesianLegendDefnVal"},o)))}}]),n}(P.PureComponent),Yu=Wu,Gu=function(e){var t=e.activeIndex,n=e.labels,r=e.letters,i=e.onEvent,o=_u()(e),a=Hu()(r,Hu()(n,o));return gi()(a)?null:P.createElement("dl",{"aria-hidden":"true",className:"block-chart__cartesianLegend"},T()(a).call(a,(function(e,n){var r=(0,yt.Z)(e,2),o=r[0],a=(0,yt.Z)(r[1],2),s=a[0],u=a[1];return P.createElement(Yu,{activeIndex:t,identifier:o,index:n,key:o,label:s,onEvent:i,value:u})})))},Ku=(0,P.memo)(Gu),$u=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)))},Xu=function(e,t,n){return void 0===n&&(n=0),Number(((1-n)*e+n*t).toFixed(2))},Ju=n(67274),Qu=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],c=void 0===u?1:u;return"#"+(1<<24|r<<16|o<<8|s).toString(16).slice(1)+(255*c).toString(16).padStart(2,"0").slice(0,2)},ec=function(e,t,n){var r=(0,Ju.Z)(e),i=r[0],o=r[1],a=r[2],s=r[3],u=(0,Ju.Z)(t),c=u[0],l=u[1],d=u[2],f=u[3],p=Qu([$u(i,c,n),$u(o,l,n),$u(a,d,n),Xu(s,f,n)]);return 1===s&&1===f?p.slice(0,7):p},tc=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,c=i;if(!uo()(t)){var l=ec(i,r||"#fff",.7);u=l,c=(0,ve.Cm)(l,i,a.length,t)}return"bar"===s?{backgroundColor:c,borderColor:u,data:a,hoverBackgroundColor:c,hoverBorderColor:c}:{borderColor:u,cubicInterpolationMode:"linear"===o?"default":"monotone",data:a,lineTension:"linear"===o?0:void 0,pointBackgroundColor:c,pointBorderColor:c,pointBorderWidth:0,pointHitRadius:20,pointHoverBackgroundColor:i,pointHoverBorderColor:i,pointHoverBorderWidth:0,pointRadius:4}},nc=n(93530),rc=n.n(nc),ic=n(32423),oc=n.n(ic),ac=n(18231),sc=n.n(ac),uc=qn()(/([^\s].{0,14}(?![.{3}])(?=[\s\W]|$))/gm),cc=n(78892),lc=n(31826),dc={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:uc,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=Ho()(rc(),sc()(" "),r);return E()(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 fc(e){var t=e.children,n=function(e){var t=e.onEvent,n=e.shouldAnimate,r=_u()(e),i=(0,Re.ye)("rise-authoring-controls"),o=(0,Me.Nv)().styleMode,a=(0,Me.Y5)(),s=(0,P.useMemo)((function(){return(0,cc.md)(r)}),[r]);return(0,P.useMemo)((function(){var e,r=(0,Be.md)(a)===Be.Ai.LIGHT,u=o===Ze.XS.UNBRANDED,c=n?1e3:0,l=r?"#313537":"#fff",d=r?"#000":"#fff",f=r?"#fff":"#313537",p=e=u?r?"#00000080":"#ffffff80":r?"#e1e1e1":"#ffffff80";if(s&&(p=u?r?"#0000001a":"#ffffffe9":r?"#c9c9c9":"#ffffffe9"),!i){var h=(0,Be.jn)(a);l=h?"#fff":"#313537",e=h?"#ffffff33":"#0000001a",p=s?h?"#ffffff66":"#00000040":h?"#ffffff33":"#0000001a"}return(0,lc.qT)(dc,oc()(["animation","duration"],c),oc()(["defaultFontColor"],l),oc()(["onClick"],t),oc()(["onHover"],t),oc()(["scales","xAxes",0,"gridLines","color"],e),oc()(["scales","xAxes",0,"ticks","minor","fontColor"],l),oc()(["scales","yAxes",0,"gridLines","color"],e),oc()(["scales","yAxes",0,"gridLines","zeroLineColor"],p),oc()(["scales","yAxes",0,"ticks","minor","fontColor"],l),oc()(["tooltips","backgroundColor"],d),oc()(["tooltips","titleFontColor"],f))}),[s,a,i,t,n,o])}({onEvent:e.onEvent,shouldAnimate:e.shouldAnimate,values:_u()(e)});return t(n)}var pc=n(52892),hc=n.n(pc),mc=n(39138),vc=n.n(mc),gc=Hi()(/<mark>|<\/mark>/gm,""),yc=M()((function(e){return vc()(e,{length:30})}),gc,ie()("type")),bc=M()(hc()(0),parseFloat,ie()("value")),_c=function(e){return{labels:T()(e).call(e,yc),values:T()(e).call(e,bc)}},wc=$n()((function(e,t,n){var r=vc()(t,{length:e});return n?(0,cc.lh)(r,n):r})),Ec={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)}},kc=function(e,t){var n=T()(t).call(t,(function(e){var t;return E()(t="".concat(e.type,": ")).call(t,e.value)})).join(", ");return Ec[e](n)};function xc(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Sc=function(e){var t=function(t){(0,y.Z)(r,t);var n=xc(r);function r(){var e,t;(0,m.Z)(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,E()(e=[this]).call(e,o))).handleEvent=t.handleEvent.bind((0,g.Z)(t)),t.state={activeIndex:null},t}return(0,v.Z)(r,[{key:"handleEvent",value:function(e){this.setState({activeIndex:e})}},{key:"render",value:function(){return P.createElement(e,(0,be.Z)({},this.props,{activeIndex:this.state.activeIndex,onEvent:this.handleEvent}))}}]),r}(P.PureComponent);return t.displayName="ChartEvents(".concat((0,cc.Gf)(e),")"),t};function Tc(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Cc=function(e){var t=function(t){(0,y.Z)(r,t);var n=Tc(r);function r(){var e,t;(0,m.Z)(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,E()(e=[this]).call(e,o))).chartRef=(0,P.createRef)(),t.handleResize=t.handleResize.bind((0,g.Z)(t)),t}return(0,v.Z)(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 P.createElement(e,(0,be.Z)({},this.props,{onResize:this.handleResize,ref:this.chartRef}))}}]),r}(P.PureComponent);return t.displayName="ChartUpdater(".concat((0,cc.Gf)(e),")"),t},Nc=n(68339);function Oc(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Ac="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),Pc=function(e){(0,y.Z)(n,e);var t=Oc(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).handleEvent=r.handleEvent.bind((0,g.Z)(r)),r.handleResize=r.handleResize.bind((0,g.Z)(r)),r.wrapRef=(0,P.createRef)(),r.state={labelYTop:"50%"},r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new wu.Z(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 tc({activeIndex:n,settings:r,values:e,variant:i})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(ee()(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=ee()({},["scales","y-axis-0"],e),n=t.bottom,r=t.top;ku()(n)&&ku()(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,c=e.shouldAnimate,l=e.valuesLabel,d=e.variant,f=this.state.labelYTop,p=wc(80,a,u),h=wc(30,l,u),m=_c(o),v=r?[]:N()(Ac).call(Ac,0,o.length),g=r?m.labels:v,y=i?_u()(m):(0,cc.b5)(0,o.length),b=this.buildDataset(y),_="line"===d?Uu:qu,w=kc(d,o);return P.createElement("div",{className:"block-chart__cartesian"},P.createElement("div",{"aria-label":w,className:"block-chart__cartesianChart",ref:this.wrapRef,role:"img"},P.createElement(fc,{onEvent:this.handleEvent,shouldAnimate:c,values:y},(function(e){return P.createElement(_,{data:{labels:g,datasets:[b]},options:e,ref:n})})),h&&(0,cc.Dw)(h)&&P.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelY",style:{top:f}},h)),p&&(0,cc.Dw)(p)&&P.createElement("div",{"aria-hidden":"true",className:"block-chart__cartesianLabelX"},p),!r&&P.createElement(Ku,{activeIndex:t,labels:m.labels,letters:v,onEvent:s,values:y}))}}]),n}(P.PureComponent),Lc=$r()({search:ee()("",["search","term"])}),Ic=M()(Sc,(0,Nc.fx)(960,"isDesktop","Desktop"),Cc,xu.default,(0,Qr.$j)(Lc))(Pc);function Mc(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Rc=function(e){(0,y.Z)(n,e);var t=Mc(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).handleMouseEnter=r.handleMouseEnter.bind((0,g.Z)(r)),r.handleMouseLeave=r.handleMouseLeave.bind((0,g.Z)(r)),r}return(0,v.Z)(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=!uo()(t)&&t!==r,a=he()("block-chart__circleLegendItem",{"block-chart__circleLegendItem--unfocused":o});return P.createElement("div",{className:a,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},P.createElement("svg",{"aria-hidden":"true",className:"block-chart__circleLegendSymbol",fill:n,focusable:"false",viewBox:"0 0 10 10"},P.createElement("rect",{width:"10",height:"10",rx:"1.5"})),P.createElement("div",{className:"block-chart__circleLegendText"},i))}}]),n}(P.PureComponent),Dc=Rc,jc=function(e){var t=e.activeIndex,n=e.colors,r=e.labels,i=e.onEvent,o=Hu()(r,n);return gi()(o)?null:P.createElement("div",{"aria-hidden":"true",className:"block-chart__circleLegend"},T()(o).call(o,(function(e,n){var r=(0,yt.Z)(e,2),o=r[0],a=r[1];return P.createElement(Dc,{activeIndex:t,backgroundColor:a,index:n,key:o,onEvent:i,text:o})})))},Zc=(0,P.memo)(jc),Bc=n(34923),Fc=n.n(Bc);function Uc(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function qc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uc(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):Uc(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var zc=js()(Va()(Fc(),0),"value"),Hc=function(e){var t=x()(e).call(e,zc),n=_c(t),r=T()(t).call(t,ie()("color"));return qc(qc({},n),{},{colors:r})},Vc=(n(59523),n(36945)),Wc=n.n(Vc),Yc=function(e){var t=ee()(0,["dataIndex"],e),n=ee()({},["dataset"],e),r=ee()("#000",["backgroundColor",t],n);return(0,cc.jn)(r)?"#fff":"#313537"},Gc=function(e,t,n){return"numeric"===e?String(t):(0,cc.yE)(t/Wc()(n.dataset.data))},Kc=function(e,t,n){var r,i=ee()(0,[0,"index"],t),o=ee()("",["labels",i],n),a=ee()([1],["datasets",0,"data"],n),s=a[i],u="numeric"===e?String(s):(0,cc.yE)(s/Wc()(a));return E()(r="".concat(o,": ")).call(r,u)},$c=function(e,t){var n=ee()(0,["dataIndex"],t),r=ee()([1],["dataset","data"],t),i=r[n],o=uo()(e)&&i/Wc()(r)>=.06;return e===n||o},Xc=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:Yc,display:$c.bind(null,t),font:{size:12,style:"bold"},formatter:Gc.bind(null,r)}},responsive:!1,rotation:.25*Math.PI,tooltips:{backgroundColor:"#000",callbacks:{label:function(){return null},title:Kc.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}}},Jc=function(e){var t=e.activeIndex,n=e.colors,r=e.settings.backgroundColor,i=_u()(e),o=uo()(t)?n:T()(n).call(n,(function(e,n){return n===t?e:ec(e,r||"#fff",.5)}));return{backgroundColor:o,hoverBackgroundColor:o,borderWidth:0,data:i}};function Qc(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var el=function(e){(0,y.Z)(n,e);var t=Qc(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).handleEvent=r.handleEvent.bind((0,g.Z)(r)),r.wrapRef=(0,P.createRef)(),r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){var e,t,n,r,i;this.resizeObserver=new wu.Z(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 Jc({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 Xc({activeIndex:t,onEvent:this.handleEvent,settings:n,shouldAnimate:r})}},{key:"handleEvent",value:function(e,t){return(0,this.props.onEvent)(ee()(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=Hc(i),u=s.colors,c=s.labels,l=_u()(s),d=r?l:(0,cc.b5)(0,i.length),f=this.buildOptions(),p=this.buildDataset({colors:u,values:d}),h=kc(a,i);return P.createElement("div",{"aria-label":h,className:"block-chart__circle",role:"img"},P.createElement("div",{className:"block-chart__circleChart",ref:this.wrapRef},P.createElement(Fu,{data:{labels:c,datasets:[p]},options:f,ref:n})),P.createElement(Zc,{activeIndex:t,colors:u,labels:c,onEvent:o}))}}]),n}(P.PureComponent),tl=M()(Sc,Cc,xu.default)(el);function nl(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var rl=Je.r.blocks,il=M()(cc.jn,ie()("backgroundColor")),ol=function(e){(0,y.Z)(n,e);var t=nl(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).handleAnimationEnd=r.handleAnimationEnd.bind((0,g.Z)(r)),r.renderTitle=r.renderTitle.bind((0,g.Z)(r)),r.state={isVisible:!r.props.animateBlockEntrance},r}return(0,v.Z)(n,[{key:"handleAnimationEnd",value:function(){this.setState({isVisible:!0})}},{key:"renderTitle",value:function(){var e=this.props.title;return P.createElement(Ce.Z,{value:e})}},{key:"render",value:function(){var e=this.props,t=e.animateBlockEntrance,n=e.children,r=e.editable,i=e.isLearner,o=e.items,a=e.itemsLabel,s=e.settings,u=e.title,c=e.valuesLabel,l=e.variant,d=e.renderTitle,f=void 0===d?this.renderTitle:d,p=this.state.isVisible,h=il(s),m=he()("block-chart__container",{"block-chart__container--darkTheme":h});return P.createElement(Ke,{type:"chart"},P.createElement($e.Z,{afterAnimatedIn:this.handleAnimationEnd,animateBlockEntrance:t,animateIn:"fadeIn",initiallyVisible:!t,isLearner:i},P.createElement("div",{className:m,"data-ba":rl.blockChart},P.createElement("div",{className:"block-chart__row"},P.createElement("div",{className:"block-chart__rowInner"},(!r&&u||r)&&P.createElement("h2",{className:"block-chart__title brand--head"},f()),P.createElement("div",{className:"block-chart__chart"},P.cloneElement(P.Children.only(n),{hasDarkBgColor:h,isVisible:p,items:o,itemsLabel:a,settings:s,shouldAnimate:t,valuesLabel:c,variant:l})))))))}}]),n}(P.PureComponent),al=n(67294);function sl(e){var t=function(t){return al.createElement(ol,t,al.createElement(e,null))};return t.displayName="ChartWrap(".concat((0,cc.Gf)(e),")"),t}var ul=sl(Ic),cl=sl(tl),ll=n(67294);function dl(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function fl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):dl(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}function pl(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var hl=Z()(ae()("variant","storyline")),ml=ne()(hl,G(),we()(1)),vl=function(e){(0,y.Z)(n,e);var t=pl(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(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,c=E()(e="".concat(r," ")).call(e,s),l=fl(fl({},J()(["handleStorylineFullscreen","dividerNumber"],this.props)),{},{variant:s,enableVideoPlaybackSpeed:u,partnerContent:a});switch(c){case"text paragraph":case"text table":return ll.createElement(nt,l);case"text heading paragraph":return ll.createElement(st,l);case"text subheading paragraph":return ll.createElement(ut,l);case"text heading":return ll.createElement(ot,l);case"text subheading":return ll.createElement(at,l);case"text two column":return ll.createElement(rt,l);case"text three column":return ll.createElement(it,l);case"text code":case"multimedia code":return ll.createElement(ct,l);case"impact a":return ll.createElement(pt,l);case"impact b":return ll.createElement(ht,l);case"impact c":return ll.createElement(mt,l);case"impact d":return ll.createElement(vt,l);case"impact note":return ll.createElement(gt,l);case"quote a":return ll.createElement(Rt,l);case"quote b":return ll.createElement(Dt,l);case"quote c":return ll.createElement(jt,l);case"quote d":return ll.createElement(Zt,l);case"quote background":return ll.createElement(Bt,l);case"quote carousel":return ll.createElement(zt,l);case"list numbered":return ll.createElement(an,l);case"list checkboxes":return ll.createElement(un,l);case"list bulleted":return ll.createElement(cn,l);case"image hero":return ll.createElement(hn,l);case"image full":return ll.createElement(vn,l);case"image text aside":return ll.createElement(mn,l);case"image text overlay":return ll.createElement(gn,l);case"gallery centered":case"gallery full":return ll.createElement(Cn,l);case"gallery two column":return ll.createElement(On,l);case"gallery three column":return ll.createElement(On,(0,be.Z)({width:3},l));case"gallery four column":return ll.createElement(On,(0,be.Z)({width:4},l));case"divider divider":return ll.createElement(Mn,l);case"divider numbered divider":return ll.createElement(Rn,(0,be.Z)({number:n},l));case"divider spacing divider":return ll.createElement(Dn,l);case"360 storyline":return ll.createElement(Gr,(0,be.Z)({},l,{isLesson:!0,menuOpen:o,handleStorylineFullscreen:i,hasManySlBlocks:this.hasManySlBlocks.bind(this)}));case"interactive accordion":return ll.createElement(yr,l);case"interactive tabs":return ll.createElement(xr,l);case"interactive-fullscreen labeledgraphic":return ll.createElement(ya,l);case"interactive-fullscreen process":return ll.createElement(ds,l);case"interactive-fullscreen scenario":return ll.createElement(cu,l);case"interactive-fullscreen sorting":return ll.createElement(hu,l);case"interactive-fullscreen timeline":return ll.createElement(yu,l);case"buttons button":return ll.createElement(li,l);case"buttons button stack":return ll.createElement(di,l);case"flashcard flashcard":return ll.createElement(Qi,l);case"flashcard stack":return ll.createElement(Qi,(0,be.Z)({stack:!0},l));case"knowledge knowledge":case"knowledgeCheck multiple choice":case"knowledgeCheck multiple response":case"knowledgeCheck fillin":case"knowledgeCheck matching":return ll.createElement(ha,l);case"continue continue":return ll.createElement(Bi,l);case"multimedia audio":return ll.createElement(Oi,l);case"multimedia video":return ll.createElement(Ai,l);case"multimedia custom video":return ll.createElement(Ai,(0,be.Z)({},l,{type:"customVideo"}));case"multimedia embed":return ll.createElement(Pi,l);case"multimedia attachment":return ll.createElement(Mi,l);case"chart bar":case"chart line":return ll.createElement(ul,l);case"chart pie":return ll.createElement(cl,l);default:return"Unknown type: ".concat(c)}}},{key:"hasManySlBlocks",value:function(){var e=this.props.items;return e&&ml(e)}}]),n}(ll.Component);function gl(e){return ll.createElement(Ie.ZJ,{block:e},ll.createElement(vl,e))}var yl=n(11707);function bl(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var _l=function(e){(0,y.Z)(n,e);var t=bl(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).wrapRef=(0,P.createRef)(),r.check=r.check.bind((0,g.Z)(r)),r.onScroll=sr()(r.check,100),r}return(0,v.Z)(n,[{key:"componentDidMount",value:function(){this.scrollableContainer=(0,yl.LC)(),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 P.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&&(0,yl.ps)(e.current)&&(this.rmScrollListener(),this.props.onViewed())}}]),n}(P.Component),wl=n(67294);function El(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var kl=function(e){(0,y.Z)(n,e);var t=El(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,v.Z)(n,[{key:"render",value:function(){return wl.createElement(_l,{onViewed:this.handleViewed.bind(this,this.props.children.props),isFirstLesson:this.props.isFirstLesson},this.modifiedChildren())}},{key:"modifiedChildren",value:function(){return wl.cloneElement(wl.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}(wl.Component),xl=(ke().arrayOf,ke().func,ke().node,ke().oneOfType,n(60818)),Sl=n(67294),Tl=(0,je.Z)("blocks-lesson-restart-button"),Cl=function(e){var t=e.className,n=e.onClick,r=Tl.mix(["brand--background",t]);return Sl.createElement("button",{className:r,onClick:n,type:"button"},Sl.createElement(en.Gr,{className:Tl("icon")}),Sl.createElement("span",null,"Restart"))},Nl=n(91761),Ol=["id"];function Al(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=x()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Al(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):Al(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}function Ll(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var Il=Je.r.lessonPreview,Ml=Je.r.lessonEdit,Rl=["timeline"],Dl=function(e){(0,y.Z)(n,e);var t=Ll(n);function n(){var e,r;(0,m.Z)(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,E()(e=[this]).call(e,o))).state={randomQuestions:{},transitioning:!1},r.onRestartClick=r.onRestartClick.bind((0,g.Z)(r)),r}return(0,v.Z)(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;this.dividerNumber=0;var a=he()("blocks-lesson",t,{"blocks-lesson--one-page":r}),s=null==n?void 0:n.isComplete;return P.createElement("section",{className:a,"data-ba":Il.container,ref:o},this.renderBlocks(),r&&!i&&s&&P.createElement(Cl,{onClick:this.onRestartClick}))}},{key:"getBlockType",value:function(e){var t,n=e.variant,r=E()(t="".concat(e.family," ")).call(t,n);"divider numbered divider"===r&&this.dividerNumber++;var i=this.props,o=i.animateBlockEntrance,a=i.color,s=i.courseId,u=i.courseTitle,c=i.defaultBackgroundColor,l=i.enableVideoPlaybackSpeed,d=i.handleNavigate,f=i.handleStorylineFullscreen,p=i.lessonId,m=i.loadMedia,v=i.labels,g=i.lessonProgress,y=i.match,b=i.menuOpen,_=i.partnerContent,w=i.publishedAt,k=i.prefersKeyboardNavigation,x=i.previewType,S=i.tenantId,T="audio"===n||"video"===n?{lessonId:p,blockId:e.blockId,itemId:e.items[0].id}:{},C=$()(J()(["type"],e),{animateBlockEntrance:o,color:a,courseId:s,courseTitle:u,defaultBackgroundColor:c,dividerNumber:this.dividerNumber,enableVideoPlaybackSpeed:l,handleNavigate:d,handleStorylineFullscreen:f,isLearner:!0,labels:v,lessonId:p,loadMedia:m,match:y,menuOpen:b,partnerContent:_,prefersKeyboardNavigation:k,previewType:x,progress:g,publishedAt:w,recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,T),tenantId:S});if("knowledgeCheck draw from question bank"===r){var N=this.state.randomQuestions[C.blockId],O=null,A=C.items[0];if(!N&&A.questions?(O=(0,xl.qJ)(A),this.setState({randomQuestions:Pl(Pl({},this.state.randomQuestions),{},(0,h.Z)({},C.blockId,O))})):O=N,O&&(C.originalVariant=C.variant,C.variant=xl.W5[O.type],C.items=[O]),!O)return P.createElement("div",null)}return P.createElement(gl,C)}},{key:"renderBlocks",value:function(){var e,t;return x()(e=T()(t=Zl([],this.props.blocks,this.props.lessonProgress)).call(t,this.buildBlock.bind(this,this.props.lessonProgress))).call(e,fe)}},{key:"buildBlock",value:function(e,t,n,r){var i=function(e,t,n){var r=e.id,i=(0,p.Z)(e,Ol);if("continue"===i.family){var o=ee()("",["items",0,"type"],i);return $()(Pl({blockId:r},i),{canContinue:Yl({continueType:o,blocks:t,progress:n}),lessonProgress:n,isComplete:Gl(r,n)})}return Pl({blockId:r},i)}(t,N()(r).call(r,0,-1),e),o=this.getBlockType(i);if(null===o)return null;var a=i.blockId,s=i.family,u=i.variant,c=i.items,l="block-".concat(a);return Ul({family:s,variant:u})?P.createElement("div",{className:"noOutline","data-ba":Ml.block,"data-ba-index":n,key:l,"data-block-id":a},P.createElement(kl,{onStep:this.handleStep.bind(this,s,u,a,c),isFirstLesson:this.props.isFirstLesson,onViewed:this.handleViewed.bind(this,c,a)},o)):P.createElement("div",{className:"noOutline","data-ba":Ml.block,"data-ba-index":n,key:l,"data-block-id":a},P.createElement(_l,{key:l,onViewed:this.handleViewed.bind(this,c,a),isFirstLesson:this.props.isFirstLesson},o))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){var n=e.lessonId,r=e.blockId,i=e.itemId;(0,me.W)((0,ye.H)({itemId:i,blockId:r,lessonId:n,playheadPercentage:t}))}},{key:"handleStep",value:function(e,t,n,r,i){var o=this.props,a=o.blocks,s=o.lessonId,u=o.lessonProgress,c=o.nextLesson,l=o.history,d="draw from question bank"===t?r[0]:F()(ae()("id",i),r),f=ne()(W(),ae()("id",n))(a);"continue"!==e||Gl(i,u)||(this.continueFromId=n),(0,me.W)((0,ge.ff)({id:n,lessonId:s,items:[d]})),"continue"===e&&f&&c&&l.push("/lessons/".concat(encodeURIComponent(c)))}},{key:"handleViewed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.props.lessonId;(0,me.W)((0,ge.ff)({id:t,lessonId:n,items:e}))}},{key:"scrollIfContinued",value:function(){if(this.continueFromId){var e=this.props.blocks,t=q()(ae()("id",this.continueFromId),e),n=H()(t),r=ee()(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;se.ZP.animateScroll.scrollTo(a+i.scrollTop,{smooth:!0,containerId:"page-wrap"})}delete this.continueFromId}}}]),n}(P.Component),jl=M()(L.EN,(0,Qr.$j)((function(e){return{isOnePage:(0,Nl.nq)(e)}})))(Dl);function Zl(e,t,n){var r;if(e.length){var i=N()(e).call(e,-1)[0];if(!Gl(i.id,n))return e}var o=T()(r=(0,ve.m5)(Fl(n),N()(t).call(t,e.length))).call(r,Bl);return o.length?Zl(E()(e).call(e,o),t,n):e}function Bl(e,t,n){var r=N()(n).call(n,-1)[0]||{},i="continue"===r.family&&ee()(!1,["items",0,"type"],r);return"continue"===e.variant||i&&("completeBlock"!==i||t===n.length-1||t===n.length-2)?$()(e,{requiresInteraction:!0}):e}var Fl=function(e){return function(t){var n=t.family,r=t.items,i=ee()({},0,r);return"continue"===n&&!Gl(i.id,e)}},Ul=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))&&!A()(Rl).call(Rl,n)},ql=Z()(ae()("isComplete",!0)),zl=M()(ce(),ie()("items")),Hl=M()(ql,zl),Vl=M()(G(),Hl),Wl=M()(ie()("id"),W()),Yl=function(e){var t=e.continueType,n=e.blocks,r=e.progress;switch(t){case"completeAll":return D()(G()(n),Vl(r));case"completeBlock":return Gl(Wl(n),r);default:return!0}},Gl=function(e,t){return ee()(!1,["items",e,"isComplete"],t)}},11456:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(416),d=n.n(l),f=n(45697),p=n.n(f),h=n(58539),m=n(53454),v=n(21330),g=n(57993),y=n(67294);function b(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var _=function(e){(0,s.Z)(n,e);var t=b(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).type=(0,m.OR)(e.items),r.state={isLoaded:"video"!==r.type},r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.id;"video"===this.type&&setTimeout((function(){e.setState({isLoaded:!0})}),800),(0,h.W)((0,v.MJ)(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=d()([0,"media","embed"],n),o=d()([0,"settings","showMetaData"],n);return y.createElement("section",{"aria-label":"URL/Embed Content",className:"embed-lesson"},y.createElement("div",{className:"embed-lesson__item",key:t},y.createElement("div",{className:"embed-lesson__row"},y.createElement("div",{className:"embed-lesson__main"},y.createElement(g.Z,{data:i,isLesson:!0,labels:r,showMetaData:o})))))}}]),n}(y.Component);p().any,p().array,p().object},16415:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(94184),f=n.n(d),p=n(58539),h=n(45697),m=n.n(h),v=n(1219),g=n(30218),y=n(67294);function b(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var _=function(e){(0,u.Z)(n,e);var t=b(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).onItemSelected=r.onItemSelected.bind((0,s.Z)(r)),r}return(0,a.Z)(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,c=e.readOnly,l=f()("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:c?void 0:this.onItemSelected,parentId:n,progress:u};return y.createElement("section",{"aria-label":"Labeled Graphic Content",className:"page__content"},y.createElement("div",{className:l},y.createElement(v.Z,d)))}},{key:"onItemSelected",value:function(e){var t=this.props.id;(0,p.W)((0,g.Zy)({id:t,itemId:e}))}}],[{key:"propTypes",get:function(){return{accentColor:m().string,id:m().any.isRequired,image:m().object,items:m().array.isRequired,labels:m().object,lessonProgress:m().object,readOnly:m().bool}}}]),n}(y.Component)},55943:function(e,t,n){"use strict";n.d(t,{Z:function(){return we}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(50047),f=n.n(d),p=n(94184),h=n.n(p),m=n(17794),v=n.n(m),g=n(17919),y=n.n(g),b=n(40486),_=n.n(b),w=n(22184),E=n.n(w),k=n(416),x=n.n(k),S=n(54782),T=n.n(S),C=n(95425),N=n.n(C),O=n(52478),A=n.n(O),P=n(62848),L=n.n(P),I=n(53176),M=n.n(I),R=n(61949),D=n.n(R),j=n(45697),Z=n.n(j),B=n(23493),F=n.n(B),U=n(58539),q=n(81996),z=n(12868),H=n(32542),V=n(89830),W=n(67294);function Y(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var G=function(e){(0,u.Z)(n,e);var t=Y(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={hide:!1},r}return(0,a.Z)(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,c="next"===s,l=c&&!i&&!r,d=h()("process__"+s,"brand--min768--background",{"brand--max768--color":r,"process__controls--hide":u,"process__controls--animating":i,"process__controls--clip":l}),f=c?"icon-chevron-right":"icon-chevron-left";return W.createElement("div",{"aria-hidden":!n,className:d,onClick:a,onKeyDown:(0,z.Ru)(a),ref:function(t){e.controlDiv=t},role:"button",tabIndex:(0,H._6)(n)},W.createElement("div",{className:"process__control-content","data-next-step":o},W.createElement("div",{className:"process__control-animation"},W.createElement("i",{className:f}))))}}],[{key:"propTypes",get:function(){return{type:Z().string.isRequired,onClick:Z().func.isRequired}}}]),n}(W.Component),K=n(96554),$=n(58599),X=n(27028),J=n(67294);function Q(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var ee=function(e){var t=e.processStepName,n=e.index,r=e.processStepPreposition,i=e.steps;return J.createElement("div",{className:"card__side"},J.createElement("div",{className:"card__step-label brand--background brand--body"},t," ",n," ",r," ",i))},te=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,c=e.title,l=e.lessonNumber;return J.createElement("div",{className:"card__main"},J.createElement(X.Z,{className:"card__title brand-afterBackground brand--lhead",tagName:"h1",value:c}),J.createElement("div",{className:"card__media"},o?J.createElement($.Z,{defaultAlign:"center",index:"".concat(r),labels:i,media:a,opts:u,onFullScreenChange:s,allowTabNavigation:t,lessonNumber:l}):null),J.createElement(X.Z,{className:"card__description brand--lbody brand--linkColor",value:n,allowTabNavigation:t}))},ne=function(e){(0,u.Z)(n,e);var t=Q(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(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 J.createElement("div",{className:"card"},J.createElement("div",{className:"card__container"},J.createElement("div",{className:"card__row"},J.createElement(ee,{processStepName:i,index:t,processStepPreposition:o,steps:r}),J.createElement(te,this.props))))}}],[{key:"defaultProps",get:function(){return{settings:{}}}},{key:"propTypes",get:function(){return{onClick:Z().func,mediaSrc:Z().string,mediaType:Z().string,index:Z().number.isRequired,title:Z().string,description:Z().string,loadMedia:Z().bool.isRequired,allowTabNavigation:Z().bool.isRequired}}}]),n}(J.Component),re=n(88066),ie=n.n(re),oe=n(5572),ae=n(67294),se=function(e){var t,n,r=e.current,i=e.labels,o=i.processComplete,a=i.processLessonName;return ie()(t=ie()(n="".concat(a," ")).call(n,r," ")).call(t,o)},ue=function(e){var t=e.applySafariLandscapeHack,n=e.children,r=e.current,i=e.labels,o=e.onReplay,a=h()("process-end__footer",{"process-end__footer--mobile-safari-landscape":t});return ae.createElement("div",{className:"process-end"},ae.createElement("div",{className:"process-end__container"},ae.createElement("div",{className:"process-end__message"},ae.createElement("h1",{className:"process-end__text brand--ui"},se({current:r,labels:i})))),ae.createElement(oe.Z,{onClick:o,text:i.processStartAgain}),ae.createElement("div",{className:a},n))},ce=n(72131),le=n(89975),de=n(67294);function fe(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var pe=function(e){(0,u.Z)(n,e);var t=fe(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(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,c=t.showLessonCount,l=t.title,d=t.totalLessons,p=s.lessonName,h=s.lessonPreposition;return de.createElement("div",{className:"process-header"},de.createElement("div",{className:"process-header__container"},de.createElement("div",{className:"process-header__limit"},de.createElement("div",{className:"process-header__row"},de.createElement("div",{className:"process-header__main"},de.createElement("div",{className:"process-header__top-wrap brand--afterBackground"},de.createElement(X.Z,{className:"process-header__title brand--lhead",tagName:"h1",value:l}),i&&r?de.createElement("div",{className:"process-header__author brand--ui"},de.createElement("img",{src:(0,ce.i3)("".concat(i)),alt:""}),de.createElement("span",{className:"visually-hidden"},"by ",r),de.createElement("span",{"aria-hidden":"true"},r)):null,c&&function(e){var t,n,r,i=e.lessonName,o=e.lessonNumber,a=e.lessonPreposition,s=e.totalLessons;return de.createElement("div",{className:"process-header__counter brand--body"},de.createElement("div",{className:"process-header__count"},ie()(t=ie()(n=ie()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s)))}({lessonName:p,lessonNumber:u,lessonPreposition:h,totalLessons:d})),f()(e=de.Children).call(e,o,(function(e){return e&&e.type===le.Z?de.createElement("div",{className:"process-header__audio"},e):null})),de.createElement(X.Z,{className:"process-header__description brand--lbody editor-text brand--linkColor",value:a,allowTabNavigation:n}))),o)))}}],[{key:"propTypes",get:function(){return{steps:Z().number,avatar:Z().string,authorName:Z().string,title:Z().string.isRequired,type:Z().string.isRequired,description:Z().string,allowTabNavigation:Z().bool.isRequired}}}]),n}(de.Component),he=n(87699),me=n(29219),ve=n(67294);function ge(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var ye=(0,q.V)(".next-lesson__link"),be=(0,q.V)(".restart-button"),_e=T()(0,["lessonProgress","activeIndex"]),we=function(e){(0,u.Z)(n,e);var t=ge(n);function n(e){var r;return(0,o.Z)(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((0,s.Z)(r)),r.handleReplay=r.handleReplay.bind((0,s.Z)(r)),r.handleScroll=r.handleScroll.bind((0,s.Z)(r)),r.leftSwipe=r.nextSlide.bind((0,s.Z)(r)),r.nextSlide=r.nextSlide.bind((0,s.Z)(r)),r.previousSlide=r.previousSlide.bind((0,s.Z)(r)),r.renderItem=r.renderItem.bind((0,s.Z)(r)),r.rightSwipe=r.previousSlide.bind((0,s.Z)(r)),r.handleAnimationEnd=r.handleAnimationEnd.bind((0,s.Z)(r)),r}return(0,a.Z)(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-(V.Z.isIphoneSafari?94:50);this.controls.style.transform="translate3d(0, ".concat(r,"px, 0)")}}},{key:"componentDidMount",value:function(){var e=this.controlsContainer;this.swipeEvents=(0,he.Z)(e,this,this.leftSwipe,this.rightSwipe),this.swipeEvents.addListeners(),document.addEventListener("keydown",this.handleKeyDown),V.Z.isSafari9&&(this.scrollRef=F()(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),V.Z.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 ve.createElement("section",{"aria-label":i,className:this.getClassName({isAtStart:n,isAtEnd:r}),ref:function(e){t.controlsContainer=e}},this.renderControls({isAtStart:n,isAtEnd:r}),ve.createElement("div",{className:"process__wrap"},this.renderStart(),f()(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}),c=o?{bottom:s}:{},l=this.state.isTransitioning;return ve.createElement(N(),null,ve.createElement("div",{className:this.getMenuClassName()},ve.createElement("div",{ref:function(e){t.controls=e},className:u,style:c},ve.createElement("div",{ref:function(e){t.nextContainer=e}},ve.createElement(G,{allowTabNavigation:!r,atStart:n,labels:a,onClick:this.nextSlide,ref:function(e){t.nextControl=e},isTransitioning:l,type:"next"})),ve.createElement("div",{ref:function(e){t.previousContainer=e}},ve.createElement(G,{allowTabNavigation:!n,atStart:n,labels:a,onClick:this.previousSlide,ref:function(e){t.previousControl=e},isTransitioning:l,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,c=t.title,l=t.totalLessons,d=t.type,f=this.isAtStart();return ve.createElement("div",{"aria-hidden":!f,className:this.getItemClassName(0),ref:function(t){e["item-".concat(0)]=t}},ve.createElement("div",{className:"process__item-wrap"},ve.createElement(pe,{allowTabNavigation:f,authorName:n,avatar:r,description:i,labels:a,lessonNumber:s,onFullScreenChange:this.handleFullScreenChange,showLessonCount:u,steps:o.length,title:c,totalLessons:l,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=_()(t),c=_e(this.props),l=u===c;return ve.createElement("div",{"aria-hidden":!l,className:this.getItemClassName(u),key:"item-".concat(e.id),ref:function(e){n["item-".concat(u)]=e}},ve.createElement("div",{className:"process__item-wrap"},ve.createElement(ne,{allowTabNavigation:l,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=_()(r.length);return ve.createElement("div",{"aria-hidden":!this.isAtEnd(),className:this.getItemClassName(s),ref:function(t){e["item-".concat(s)]=t}},ve.createElement("div",{className:"process__item-wrap"},ve.createElement(ue,{applySafariLandscapeHack:n,current:o,labels:i,onReplay:this.handleReplay},a)))}},{key:"preventFocusOnOverflowElements",value:function(){var e=(0,H._6)(this.isAtEnd());(0,H.Cz)(ye(),e),(0,H.Cz)(be(),e)}},{key:"focusNextElement",value:function(){var e=this.nextControl,t=this.previousControl;if(this.isAtEnd()){var n=ye();n?n.focus():t.focus()}else this.isAtStart()&&e.focus()}},{key:"updateFocusForActiveCard",value:function(){!(0,H.qD)(this["item-".concat(_e(this.props))])&&this.isAtStart()&&this.focusNextElement()}},{key:"handleAnimationEnd",value:function(e){var t=e.animationName,n=D()(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 h()("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 h()("process__controls",{"process__controls--at-start":t,"process__controls--at-end":n})}},{key:"getItemClassName",value:function(e){var t=_e(this.props);return h()("process__item",{"process__item--active":e===t,"process__item--done":e<t,"process__item--next":y()(e)===t})}},{key:"getMenuClassName",value:function(){var e=this.props,t=e.menuOpen,n=e.mobileMenuOpen,r=!!document.querySelector(".lesson--preview");return h()("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,y()(M()(0,"activeIndex",n)));this.setState({resetContentFocus:!0}),(0,U.W)((0,me.nC)({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,_()(M()(0,"activeIndex",r))),o=x()([y()(i),"id"],n);this.setState({resetContentFocus:!0}),(0,U.W)((0,me.TW)({activeIndex:i,id:t,itemId:o}))}}},{key:"handleKeyDown",value:function(e){v()([[z.V4,this.previousSlide],[z.V8,this.nextSlide]])(e)}},{key:"slidePrep",value:function(){K.Z.pause(),this.setState({xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null})}},{key:"handleReplay",value:function(){(0,U.W)((0,me.us)({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=T()(0,["lessonProgress","activeIndex"],e);if(t!==T()(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 E()(A()("activeIndex",this.props.lessonProgress))}},{key:"isAtEnd",value:function(){var e=this.props,t=e.items,n=e.lessonProgress;return L()("activeIndex",_()(t.length),n)}}],[{key:"propTypes",get:function(){return{authorName:Z().string.isRequired,avatar:Z().string.isRequired,description:Z().string.isRequired,id:Z().any.isRequired,items:Z().array.isRequired,labels:Z().object.isRequired,lessonNumber:Z().number.isRequired,lessonProgress:Z().object.isRequired,loadMedia:Z().bool.isRequired,menuOpen:Z().bool.isRequired,mobileMenuOpen:Z().bool.isRequired,nextComponent:Z().object,previousComponent:Z().object,title:Z().string.isRequired,totalLessons:Z().number.isRequired,type:Z().string.isRequired}}}]),n}(ve.Component)},80635:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(2562),i=n(67294),o=n(37176),a=n(13535),s=n.n(a),u=n(68420),c=n(27344),l=n(5281),d=n(90306),f=n(3020),p=n(3362),h=n(88066),m=n.n(h),v=n(94184),g=n.n(v),y=n(7578),b=n.n(y),_=n(58539),w=n(90322),E=n(72131),k=n(64393),x=n(32542),S=n(31002),T=n(75240),C=n(80521),N=n(72895),O=n.n(N),A=n(31826),P=n(67294);function L(e){var t=function(){if("undefined"==typeof Reflect||!s())return!1;if(s().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(s()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var i=(0,p.Z)(this).constructor;n=s()(r,arguments,i)}else n=r.apply(this,arguments);return(0,f.Z)(this,n)}}var I=function(e){(0,d.Z)(n,e);var t=L(n);function n(e){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).animationTimeout=null,r.state={animated:!1,counted:!1},r}return(0,c.Z)(n,[{key:"componentWillUnmount",value:function(){this.resetCanvas(),this.resetAnimationTimeout()}},{key:"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,c=u.pass,l=u.counted,d=g()("odometer__score brand--ui",{"odometer__score--pass":c,"odometer__score--fail":!1===c}),f=g()("odometer__score-percent",{"odometer__score-percent--hidden":l});return P.createElement("div",{className:"odometer"},P.createElement("canvas",{className:"odometer__canvas",id:"odometer",width:r,height:n}),P.createElement("canvas",{className:"odometer__fail",id:"fail",width:"170",height:"170"}),P.createElement("canvas",{className:"odometer__pass",id:"pass",width:"170",height:"170"}),P.createElement("div",{className:d},P.createElement("div",{className:"odometer__score-label"},a),P.createElement("div",{className:"odometer__pass-label brand--color"},s),P.createElement("div",{className:"odometer__fail-label"},s),P.createElement("div",{ref:function(t){e.scorePercent=t},className:f})),P.createElement("div",{ref:function(t){e.passmark=t},className:"odometer__passmark"},P.createElement("div",{className:"odometer__passlabel brand--ui"},o),P.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"),c=new Image,l=210,d=Math.PI/.8,f=.25*Math.PI;c.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,g,y,b,_,w,E,k,x,S,T,C=h?(m-p)/2e3:0;v=C,g=e.props.score/100,y=n.easeInOutCubic(Math.min(v,1)),b=(225+y*g*270-90)*Math.PI/180,_=.5*o+l*Math.cos(b),w=.5*a+l*Math.sin(b),E=(225+r/100*270-90)*Math.PI/180,k=.5*o+l*Math.cos(E),x=.5*a+l*Math.sin(E),S=k+3,T=x+3,e.passmark&&(e.passmark.style.left="".concat(k/o*100,"%"),e.passmark.style.top="".concat(x/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(c,"repeat"),u.stroke(),u.closePath(),u.beginPath(),u.moveTo(S,T),u.lineTo(S+38,T-38),u.lineTo(S-38,T-38),u.lineTo(S-38,T+38),u.fillStyle="#f5f5f5",O()(u).call(u),u.closePath(),u.beginPath(),u.moveTo(k,x),u.lineTo(k+35,x-35),u.strokeStyle="#c2c3c4",u.lineWidth=1,u.stroke(),u.closePath(),u.beginPath(),u.moveTo(k+35,x-35),u.lineTo(k+70,x-35),u.strokeStyle="#c2c3c4",u.lineWidth=1,u.stroke(),u.closePath(),u.beginPath(),u.strokeStyle="#dcdcdc",u.arc(o/2,a/2,l,-d,1.5*Math.PI-d,!1),u.lineWidth=3,u.stroke(),u.closePath(),i&&(u.beginPath(),u.arc(o/2,a/2,l,-d,1.5*Math.PI*y*g-d,!1),u.lineWidth=3,u.strokeStyle="#313537",Math.floor(y*g*100)>=r&&(u.strokeStyle=s),u.stroke(),u.closePath(),u.beginPath(),u.arc(_,w,6,0,2*Math.PI,!1),u.fillStyle="#313537",Math.floor(y*g*100)>=r&&(u.fillStyle=s),O()(u).call(u),u.closePath()),C<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,c=(a-i)/750;s=c,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(),c<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:A.ZT,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}(P.Component),M=n(5572);function R(e){var t=function(){if("undefined"==typeof Reflect||!s())return!1;if(s().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(s()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,p.Z)(e);if(t){var i=(0,p.Z)(this).constructor;n=s()(r,arguments,i)}else n=r.apply(this,arguments);return(0,f.Z)(this,n)}}var D=function(e){(0,d.Z)(n,e);var t=R(n);function n(){var e,r;(0,u.Z)(this,n);for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];return(r=t.call.apply(t,m()(e=[this]).call(e,a))).animationTimeout=null,r.state={showFooter:!1},r.headingRef=(0,i.createRef)(),r.showFooter=r.showFooter.bind((0,l.Z)(r)),r.onTryAgainFocus=r.onTryAgainFocus.bind((0,l.Z)(r)),r}return(0,c.Z)(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&&b()(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,o=n.color,a=n.continueType,s=n.currentPassingScore,u=n.id,c=n.isAtEnd,l=n.labels,d=n.lessonProgress,f=d.reportResults,p=d.score,h=n.mode,v=n.nextLesson,g=n.nextLessonRestrictions,y=n.onNextClick,b=n.passingScore,_=n.retryAttempts,w=n.retryCount,E=n.showNavigationButtons,k=n.sidebarEnabled,S=this.state.showFooter,T=l.quizPassing,C=l.quizResults,N=l.quizScore,O=p>=b,A=m()(e="".concat(N," ")).call(e,p,"%");return i.createElement("div",{className:j({isAtEnd:c})},i.createElement("div",{className:"quiz-results__header"},i.createElement("h1",{className:"quiz-results__label noOutline brand--ui",ref:this.headingRef,tabIndex:x.mR},C),i.createElement("div",{className:"quiz-results__passing"},i.createElement("div",{className:"odometer__passlabel brand--ui"},T),i.createElement("div",{className:"odometer__passpercent brand--ui"},"".concat(b,"%")))),i.createElement("div",{className:"visually-hidden"},i.createElement("div",null,A),i.createElement("div",null,"".concat(O?"Passed":"Failed")),i.createElement("div",null,m()(t="".concat(T," ")).call(t,b,"%"))),i.createElement("div",{"aria-hidden":"true",className:"quiz-results__results"},i.createElement(I,{atEnd:c,color:o,complete:f,isPass:O,onAnimationDone:this.showFooter,quizScore:N,quizPassing:T,score:p,scoreLabel:A,passingScore:b})),F({allowTabNavigation:r,continueType:a,currentPassingScore:s,id:u,isAtEnd:c,labels:l,mode:h,nextLesson:v,nextLessonRestrictions:g,onNextClick:y,onTryAgainFocus:this.onTryAgainFocus,retryAttempts:_,retryCount:w,showFooter:S,showNavigationButtons:E,sidebarEnabled:k}))}}]),n}(i.Component),j=function(e){var t=e.isAtEnd;return g()("quiz-results",{"quiz-results--active":t})},Z=function(e){var t=e.isAtEnd,n=e.showFooter;return g()("quiz-results__footer",{"quiz-results__footer--active":t,"quiz-results__footer--hidden":!n})},B=function(e){var t=e.currentPassingScore,n=e.id;return function(){return(0,_.W)((0,w.ur)({currentPassingScore:t,id:n}))}},F=function(e){var t=e.allowTabNavigation,n=e.continueType,r=e.currentPassingScore,o=e.id,a=e.isAtEnd,s=e.labels,u=e.mode,c=e.nextLesson,l=e.nextLessonRestrictions,d=e.onNextClick,f=e.onTryAgainFocus,p=e.retryAttempts,h=e.retryCount,m=e.showFooter,v=e.showNavigationButtons,g=e.sidebarEnabled,y=l.isRestricted,b=s.courseFinish,_=void 0===b?"Finish":b,w=s.quizContinue,x=s.quizTakeAgain,N="continue"===n&&"preview-lesson"!==u&&!(g&&!v),O=N&&k.VO&&!c&&v&&!(0,E.AP)();return i.createElement("div",{className:Z({isAtEnd:a,showFooter:m})},(-1===h||p<h)&&i.createElement(M.Z,{allowTabNavigation:t,onClick:B({currentPassingScore:r,id:o}),onFocus:f,text:x}),N&&y&&c&&i.createElement(C.Z,{bgType:"transparent",text:(0,S.HU)({labels:s,restrictions:l})}),N&&!y&&c&&i.createElement(T.Z,{href:"/lessons/".concat(encodeURIComponent(c)),onClick:d,text:w}),O&&i.createElement(T.Z,{href:"/lessons/progress-summary",onClick:d,text:_}))},U=n(67294),q=["nextComponent"],z=function(e){var t=e.nextComponent,n=(0,r.Z)(e,q),a=n.isAtEnd,s=(0,o.Z)(a);return(0,i.useLayoutEffect)((function(){if(!s&&a){var e=document.querySelector("[data-page]:first-child [data-next-lesson]");e&&(e.style.display="flex")}}),[a,s]),U.createElement("div",{"aria-hidden":!n.allowTabNavigation,className:"quiz-end"},U.createElement("div",{className:"quiz-end__container"},U.createElement(D,n)),U.createElement("div",{className:"quiz-end__footer"},a&&t))}},31484:function(e,t,n){"use strict";n.d(t,{J:function(){return w}});var r=n(83728),i=n(67294),o=n(9669),a=n(73955),s=n.n(a),u=n(68434),c=n(94184),l=n.n(c),d=n(57469),f=n(64393),p="".concat((0,f.dU)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/certificate-icon.svg"),h="".concat((0,f.dU)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/error_x.svg"),m="".concat((0,f.dU)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/loading_spinner.svg"),v="downloading",g="error",y="ok",b="contained",_=function(e){var t=e.type,n=(0,i.useState)((function(){return s()("certdownload-")})),a=(0,r.Z)(n,1)[0],c=(0,i.useState)(y),f=(0,r.Z)(c,2),_=f[0],w=f[1],E=(0,u.Z)(_),k=(0,i.useRef)(),x="".concat(a,"-live"),S=l()("certificateDownload",{certificateDownloadContained:t===b}),T=(0,i.useCallback)((function(){w(v)}),[]);return(0,i.useEffect)((function(){return _===v&&E!==v&&(0,d.fC)().then((function(){w(y)})).catch((function(e){(0,o.isCancel)(e)?w(y):w(g)})),function(){(0,d.dt)()}}),[E,_]),(0,i.useEffect)((function(){k.current&&(_===g&&E!==g||_===y&&(E===g||E===v))&&k.current.focus()}),[E,_]),i.createElement("div",{className:S},i.createElement("div",{"aria-live":"polite",id:x,role:"status"},_===v&&i.createElement("span",{className:"certificateDownload__downloading"},i.createElement("img",{alt:"",className:"animation-loading certificateDownload__downloadingImg",height:"15",src:m,width:"15"}),"Downloading..."),_===g&&i.createElement("span",{className:"certificateDownload__error"},i.createElement("img",{alt:"Error",className:"certificateDownload__errorImg",height:"15",src:h,width:"15"}),i.createElement("span",{className:"visually-hidden"},"Failed to download certificate"))),(_===y||_===g)&&i.createElement("button",{"aria-controls":x,className:"certificateDownload__btn",onClick:T,ref:k,type:"button"},_===y&&t===b&&i.createElement("img",{alt:"",className:"certificateDownload__okImg",height:"15",src:p,width:"15"}),_===y?"Download certificate":"Retry download"))},w=function(){return i.createElement(_,{type:b})};t.Z=(0,i.memo)(_)},64028:function(e,t,n){"use strict";var r=n(73126),i=n(50557),o=n.n(i),a=n(58539),s=n(58860),u=n(37172),c=n(67294);t.Z=function(e){return c.createElement("section",{"aria-label":"Sorting Activity Content",className:"sorting-lesson"},c.createElement(u.Z,(0,r.Z)({},e,{onCardDrop:o()(a.W,s.V$),onReplay:o()(a.W,s.zm)})))}},21214:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(13535),i=n.n(r),o=n(73126),a=n(68420),s=n(27344),u=n(90306),c=n(3020),l=n(3362),d=n(50557),f=n.n(d),p=n(416),h=n.n(p),m=n(4603),v=n.n(m),g=n(52478),y=n.n(g),b=n(1667),_=n.n(b),w=n(53884),E=n(58539),k=n(82738),x=n(67294);function S(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var T=v()(y()("linePosition"),parseFloat),C=_()(T),N=f()(E.W,w.fV),O=f()(E.W,w.fV),A=function(e){(0,u.Z)(n,e);var t=S(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.items,n=e.id,r=h()([0,"id"],t);N({id:n,payload:{activeIndex:0,itemId:r}})}},{key:"render",value:function(){var e=this.props.items;return x.createElement("section",{"aria-label":"Timeline Content",className:"timeline-lesson"},x.createElement(k.Z,(0,o.Z)({},this.props,{isLearner:!0,items:C(e),progress:y()("lessonProgress",this.props),onEnter:N,onLeave:O})))}}]),n}(x.Component)},35865:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(94184),d=n.n(l),f=n(2220),p=n.n(f),h=n(416),m=n.n(h),v=n(54782),g=n.n(v),y=n(52478),b=n.n(y),_=n(45697),w=n.n(_),E=n(58539),k=n(77107),x=n(15414),S=n(13425),T=n(67294);function C(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var N=function(e){(0,s.Z)(n,e);var t=C(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={load:!1},r}return(0,a.Z)(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=g()(0,["audioVideoPlayhead"],r),c=b()("currentTime",r),l=m()(["video","key"],a),f=m()(["lessonProgress","percentComplete"],r),p=m()(["video","poster"],a),h=d()("video-lesson",{"video-lesson--visible":this.state.load});return T.createElement("div",null,T.createElement("div",{className:"page__content-container"},T.createElement("section",{"aria-label":"Video Content",className:h},this.state.load?T.createElement("div",{className:"video-lesson__item"},T.createElement(S.Z,{audioVideoPlayhead:u,canAdjustPlaybackSpeed:t,canRestrictSeek:s.forwardSeekRestricted,currentTime:c,id:o,labels:n,percentComplete:f,poster:p,progressChanged:O(o),recordMediaPlayheadPosition:this.handleRecordMediaPlayheadPosition.bind(this,o),src:l})):null)))}},{key:"handleRecordMediaPlayheadPosition",value:function(e,t){(0,E.W)((0,k.H)({lessonId:e,playheadPercentage:t}))}}],[{key:"propTypes",get:function(){return{id:w().any,labels:w().object,lessonProgress:w().object.isRequired,media:w().object,recordMediaPlayheadPosition:w().func}}},{key:"defaultProps",get:function(){return{lessonProgress:{audioVideoPlayhead:0,currentTime:0,percentComplete:0}}}}]),n}(T.Component),O=p()(2,(function(e,t){var n=t.currentTime,r=t.percentComplete;return(0,E.W)((0,x.cT)({id:e,currentTime:n,percentComplete:r}))}))},52730:function(e,t,n){"use strict";n.d(t,{Z:function(){return gr},L:function(){return yr}});var r=n(2562),i=n(72535),o=n(67294),a=n(50554),s=n(73727),u=n(94184),c=n.n(u),l=n(54115),d=n.n(l),f=n(23018),p=n.n(f),h=n(50557),m=n.n(h),v=n(46376),g=n.n(v),y=n(51383),b=n.n(y),_=n(23710),w=n.n(_),E=n(13657),k=n.n(E),x=n(24234),S=n.n(x),T=n(54782),C=n.n(T),N=n(5206),O=n.n(N),A=n(62848),P=n.n(A),L=n(52478),I=n.n(L),M=n(53176),R=n.n(M),D=n(33411),j=n.n(D),Z=n(30381),B=n.n(Z),F=n(49611),U=n.n(F),q=n(64393),z=n(68358),H=n(57469),V=n(72131),W=n(31484),Y=n(19649),G=n(67294),K=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,d=void 0===l?"false":l,f=e.role,p=void 0===f?"img":f;return G.createElement("svg",{viewBox:"0 0 26 24",width:o,height:s,"aria-label":t,className:c()("i i-checkedbox",u),focusable:d,role:p},n&&G.createElement("title",null,n),r&&G.createElement("desc",null,r),G.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"}))},$=n(67294),X=function(e){var t=e.percentComplete,n=e.trackingCompletionPercentage;return k()(n)?null:$.createElement("div",{className:"progress-summary__requirement"},$.createElement("div",{className:"progress-summary__requirement-stats-wrap"},$.createElement("h2",{className:"progress-summary__requirement-title"},"Completion Requirement"),$.createElement("div",{className:"progress-summary__requirement-stats"},$.createElement("div",null,n,"% Completion"),$.createElement("div",null,"You completed: ",$.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},t,"%")))),$.createElement(Q,{requirementMet:n<=t}))},J=function(e){var t=e.outOfAttempts,n=e.quizPassed,r=e.quizPassingScore,i=e.quizScore,o=e.quizTitle,a=e.trackingQuizId;return a?$.createElement("div",{className:"progress-summary__requirement"},$.createElement("div",{className:"progress-summary__requirement-stats-wrap"},$.createElement("h2",{className:"progress-summary__requirement-title"},"Quiz Requirement"),$.createElement("div",{className:"progress-summary__requirement-stats"},$.createElement("div",null,"Score of ",r,"% on ",o),k()(i)?$.createElement("div",null,$.createElement(s.rU,{className:"progress-summary__requirement-stats-link brand--color",to:"/lessons/".concat(a)},"View quiz")):$.createElement("div",null,"You scored ",$.createElement("strong",{className:"progress-summary__requirement-stats-percent-achieved"},i,"%"))),t&&$.createElement("span",{className:"progress-summary__requirement-no-attempts"},"No attempts remaining.")),$.createElement(Q,{requirementMet:n})):null},Q=function(e){return e.requirementMet?$.createElement(K,{"aria-label":"Requirement completed, check mark",className:"progress-summary__requirement-checkbox-checked"}):$.createElement("div",{"aria-label":"Requirement not completed, empty square",className:"progress-summary__requirement-checkbox-empty",role:"img"})},ee=n(97076),te=function(e){var t=e.dueAt;return t?o.createElement("div",{className:"progress-summary__header-due brand--color brand--border"},(0,ee.b)(t)):null},ne=n(13535),re=n.n(ne),ie=n(68420),oe=n(27344),ae=n(5281),se=n(90306),ue=n(3020),ce=n(3362),le=n(88066),de=n.n(le),fe=n(40725),pe=n.n(fe),he=n(67294);function me(e){var t=function(){if("undefined"==typeof Reflect||!re())return!1;if(re().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(re()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,ce.Z)(e);if(t){var i=(0,ce.Z)(this).constructor;n=re()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ue.Z)(this,n)}}var ve,ge=["#eb524d","#ffac02","#ffcc00","#28cea9","#4fbdf4","#6788e4"],ye=function(e){(0,se.Z)(n,e);var t=me(n);function n(){var e,r;(0,ie.Z)(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,de()(e=[this]).call(e,o))).state={run:!1,recycle:!0},r.startConfetti=r.startConfetti.bind((0,ae.Z)(r)),r}return(0,oe.Z)(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 he.createElement("div",{className:"progress-summary__confetti"},he.createElement(pe(),{width:window.innerWidth,height:window.innerHeight,recycle:t,run:n,numberOfPieces:500,gravity:.4,colors:ge}))}}]),n}(he.Component),be=ye,_e=n(73126),we=n(34923),Ee=n.n(we),ke=n(36573),xe=n.n(ke),Se=n(61949),Te=n.n(Se),Ce=n(14087),Ne=n.n(Ce),Oe=n(46408),Ae=n.n(Oe),Pe=n(55389),Le=n.n(Pe),Ie=n(67430),Me=n.n(Ie),Re=n(63266),De=n.n(Re),je=n(1465),Ze=n.n(je),Be=n(44845),Fe=n(44721),Ue=n.n(Fe),qe=n(7737),ze=n.n(qe),He=n(92077),Ve=n.n(He),We=n(46088),Ye=n.n(We),Ge=n(89356),Ke=n.n(Ge),$e=n(63263),Xe=n.n($e),Je=n(30699),Qe=n.n(Je),et=n(58377),tt=n.n(et),nt=n(13038),rt=n.n(nt),it=n(66242),ot=n.n(it),at=n(12088),st=n.n(at),ut=n(92148),ct=n.n(ut),lt=n(41029),dt=n.n(lt),ft=n(47187),pt=n.n(ft),ht=n(2507),mt=n.n(ht),vt=n(19206),gt=n.n(vt),yt=n(40636),bt=n.n(yt),_t=n(11806),wt=n.n(_t),Et=n(58e3),kt=n.n(Et),xt=n(25786),St=n.n(xt),Tt=n(29732),Ct=n.n(Tt),Nt=["alt"];function Ot(e,t){var n=Ke()(e);if(Xe()){var r=Xe()(e);t&&(r=Qe()(r).call(r,(function(t){return tt()(e,t).enumerable}))),n.push.apply(n,r)}return n}function At(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){(0,Be.Z)(e,t,n[t])})):rt()?Object.defineProperties(e,rt()(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,tt()(n,t))}))}return e}var Pt=["a","alpha","b","background","c","colors","f","format","h","height","q","quality","r","rasterize","s","scale","w","width"];var Lt=wt()(Pt),It=function(e){return!ot()(Number(e))},Mt=dt()(2,(function(e){var t=Ct()(It,bt()(e));return kt()(Lt,pt()({h:t,height:t,w:t,width:t}),St(),gt()(mt()(":")),mt()(","))})),Rt=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 de()(r=de()(i="".concat(e,"/")).call(i,n,"/")).call(r,t)}(t,r,Mt(n?2:1,e));return{backgroundImage:'url("'.concat(i,'")')}}};var Dt="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 jt=ct()(de()(ve=["imagesUri","imageKey","hidpi","style"]).call(ve,Pt)),Zt=function(e){return At(At({},e.style),Rt(e))},Bt=function(e){var t=e.alt,n=(0,r.Z)(e,Nt);return o.createElement("span",st()({"aria-label":t,className:Dt,role:"img",style:Zt(n)},jt(n)))};Bt.defaultProps={alt:"Image",imagesUri:"",style:{}};var Ft=Bt,Ut=n(83728),qt=n(61050),zt=n.n(qt),Ht=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 14 13",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};Ht.displayName="IconBookFilled",Ht.defaultProps={desc:"Solid colored book",height:"12",title:"Book",width:"14"};var Vt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 11 8",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.createElement("path",{fill:"currentColor",d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))};Vt.displayName="IconCheckMark",Vt.defaultProps={desc:"A check mark",height:"8",title:"Check mark",width:"11"};var Wt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cct-".concat(l),f="ccd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 15 15",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};Wt.displayName="IconCheckmarkCircle",Wt.defaultProps={desc:"Checkmark inside of a solid circle",height:"15",title:"Checkmark Circle",width:"15"};var Yt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cdt-".concat(l),f="cdd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 8 5",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};Yt.displayName="IconChevronDown",Yt.defaultProps={desc:"Chevron pointing downwards",height:"5",title:"Chevron down",width:"8"};var Gt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 6 10",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};Gt.displayName="IconChevronLeftRounded",Gt.defaultProps={desc:"Rounded chevron pointing left",height:"10",title:"Rounded chevron left",width:"6"};var Kt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cdt-".concat(l),f="cdd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,fill:"none",focusable:"false",height:i,role:a,viewBox:"0 0 13 13",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}),o.createElement("path",{clipRule:"evenodd",d:"M7.3125 3.25H5.6875V7.3125H9.75V5.6875H7.3125V3.25Z",fill:"currentColor",fillRule:"evenodd"}))};Kt.displayName="IconClock",Kt.defaultProps={desc:"An analog clock",height:"13",title:"Clock",width:"13"};var $t=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 14 14",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.createElement("g",{transform:"translate(-18 -659)"},o.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"})))};$t.displayName="IconClose",$t.defaultProps={desc:"Image of an X",height:"14",title:"Close",width:"14"};var Xt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cdt-".concat(l),f="cdd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,fill:"none",focusable:"false",height:i,role:a,viewBox:"0 0 16 16",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}),o.createElement("path",{d:"M1.54669 4.10669L8.00003 7.33336L14.4534 4.10669",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M8 15.1733V7.33331",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}))};function Jt(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))}}Xt.displayName="IconCube",Xt.defaultProps={desc:"Image of a cube",height:"16",title:"Cube",width:"16"};Jt(".IconError_iconError__1pbVY{color:#d0021b}",{insertAt:"top"});var Qt=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 18 18",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};Qt.displayName="IconError",Qt.defaultProps={className:"IconError_iconError__1pbVY",desc:"A red circle with a white exclamation point in the middle",height:"18",title:"Error",width:"18"};var en=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cdt-".concat(l),f="cdd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,fill:"none",focusable:"false",height:i,role:a,viewBox:"0 0 16 16",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.createElement("svg",{fill:"none",height:"9",viewBox:"0 0 16 9",width:"16",xmlns:"http://www.w3.org/2000/svg"},o.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"})),o.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"40%"},o.createElement("path",{d:"M1.33325 1.33331L7.99992 4.66665L14.6666 1.33331",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})),o.createElement("svg",{fill:"none",height:"6",viewBox:"0 0 16 6",width:"16",xmlns:"http://www.w3.org/2000/svg",y:"60%"},o.createElement("path",{d:"M1.33325 0.999634L7.99992 4.33297L14.6666 0.999634",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"})))};en.displayName="IconFilter",en.defaultProps={desc:"Three squares stacked on one another",height:"16",title:"Filter",width:"16"};var tn=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 14 13",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};tn.displayName="IconHeartFilled",tn.defaultProps={desc:"Solid colored heart",height:"15",title:"Heart",width:"16"};var nn=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 16 15",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};nn.displayName="IconHeartOutline",nn.defaultProps={desc:"Outline of a heart",height:"15",title:"Heart",width:"16"};var rn=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cdt-".concat(l),f="cdd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,fill:"none",focusable:"false",height:i,role:a,viewBox:"0 0 16 16",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}),o.createElement("path",{d:"M2 6H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),o.createElement("path",{d:"M6 14V6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};rn.displayName="IconLayout",rn.defaultProps={desc:"Rounded square with header and sidebar dividers",height:"16",title:"Layout",width:"16"};Jt(".IconLearningPath_defaultFill__3ksqg{color:#adaeaf}",{insertAt:"top"});var on=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="lpt-".concat(l),f="lpd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 9 9",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("path",{fill:"currentColor",d:"M7 2h2v7H2V7h5V2z"}),o.createElement("path",{fill:"currentColor",d:"M0 0h7v7H0z"}),o.createElement("path",{fill:"#000f20",opacity:"0.505",d:"M0 0h7v7H0z"})))};on.displayName="IconLearningPath",on.defaultProps={className:"IconLearningPath_defaultFill__3ksqg",desc:"Two stacked squares",height:"9",title:"Learning Path",width:"9"};var an=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 16 16",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.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"}))};an.displayName="IconSearch",an.defaultProps={desc:"Magnifying glass",height:"16",title:"Search",width:"16"};var sn=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="cdt-".concat(l),f="cdd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,fill:"none",focusable:"false",height:i,role:a,viewBox:"0 0 17 11",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.createElement("path",{d:"M5.99992 7.62108L3.8786 9.7424L1.75728 7.62108",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),o.createElement("path",{d:"M3.8786 1.99976L3.8786 8.99976",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),o.createElement("path",{d:"M9.35638 5.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),o.createElement("path",{d:"M9.35638 1.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}),o.createElement("path",{d:"M9.35638 9.4624H15.3564",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.6"}))};sn.displayName="IconSortDesc",sn.defaultProps={desc:"Downward arrow with three horizontal lines",height:"11",title:"SortDesc",width:"17"};var un=function(e){var t=e["aria-hidden"],n=e.className,r=e.desc,i=e.height,a=e.role,s=e.title,u=e.width,c=(0,o.useState)((function(){return zt()()})),l=(0,Ut.Z)(c,1)[0],d="hft-".concat(l),f="hfd-".concat(l);return o.createElement("svg",{xmlns:"https://www.w3.org/2000/svg",version:"1.1","aria-describedby":f,"aria-hidden":t,"aria-labelledby":d,className:n,focusable:"false",height:i,role:a,viewBox:"0 0 32 32",width:u},o.createElement("title",{id:d},s),o.createElement("desc",{id:f},r),o.createElement("g",{fill:"none",fillRule:"evenodd",transform:"rotate(-90 15.5 15.5)"},o.createElement("circle",{cx:"15",cy:"16",r:"15",stroke:"currentColor",opacity:"0.083",strokeWidth:"2"}),o.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 cn(e){var t=function(){if("undefined"==typeof Reflect||!re())return!1;if(re().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(re()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,ce.Z)(e);if(t){var i=(0,ce.Z)(this).constructor;n=re()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ue.Z)(this,n)}}function ln(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))}}un.displayName="IconSpinner",un.defaultProps={desc:"Hollow circle fading from transparent to gray",height:"32",title:"Spinner",width:"32"};var dn="styles_wrap__6_qdv",fn="styles_content__nx_52",pn="styles_image__32Tdo",hn="styles_title__NDffz",mn="styles_titleClamp__1-eSv",vn="styles_score__2FWHt",gn="styles_scoreText__2FWJg",yn="styles_scoreWrap__3GrXD",bn="styles_lessonsInfo__SbVMH",_n="styles_pipe__1XBpq",wn="styles_lpIcon__3XeRQ",En="styles_imageOverlay__RSsiC",kn="styles_imageOverlayStarted__17CIL",xn="styles_imageOverlayAssignedToMe__1pYS_",Sn="styles_statusText__1q5C8",Tn="styles_statusTextNoProgress__39xCR",Cn="styles_status__1VLZS",Nn="styles_completedStatus__A0RxX",On="styles_learningPathBadge__3vO-1",An="styles_progressBarWrap__24ETA",Pn="styles_heartWrap__217al",Ln="styles_heartFilled__35Shx",In="styles_heartOutline__2fakg",Mn="styles_completedAt__2Iu7h",Rn="styles_due__SPTRi",Dn="styles_dueUrgent__1j39c",jn="styles_downloadCertWrap__1wv7-";ln(".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 Zn="ProgressBar_progressBarBase__1njSY",Bn="ProgressBar_progressBarWrap__1dSL2",Fn="ProgressBar_progressBar__14M3v";ln(".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 Un=function(e){var t=e.progress,n=ze()(Zn,Bn),r=ze()(Zn,Fn);return o.createElement("div",{className:n,role:"progressbar","aria-valuenow":t,"aria-valuemin":"0","aria-valuemax":"100"},o.createElement("div",{className:r,style:{width:"".concat(t,"%")}}))},qn=function(e){(0,se.Z)(n,e);var t=cn(n);function n(){var e,r;(0,ie.Z)(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,de()(e=[this]).call(e,o))).onClick=r.onClick.bind((0,ae.Z)(r)),r.onKeyDown=r.onKeyDown.bind((0,ae.Z)(r)),r.toggleFavorite=r.toggleFavorite.bind((0,ae.Z)(r)),r.renderProgress=r.renderProgress.bind((0,ae.Z)(r)),r.renderDueStatus=r.renderDueStatus.bind((0,ae.Z)(r)),r.renderAssignedOrCompleted=r.renderAssignedOrCompleted.bind((0,ae.Z)(r)),r.renderLessonsInfo=r.renderLessonsInfo.bind((0,ae.Z)(r)),r}return(0,oe.Z)(n,[{key:"onClick",value:function(){var e=this.props,t=e.disable,n=e.onClick;t||n()}},{key:"onKeyDown",value:function(e){var t;Ue()(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?o.createElement("div",{className:An},o.createElement(Un,{progress:n})):null}},{key:"renderDueStatus",value:function(){var e=this.props,t=e.completedAt,n=e.isUrgent,r=e.labelDue,i=e.labelCompleted,a=null!=t,s=ze()(Rn,(0,Be.Z)({},Dn,n));return a?o.createElement("div",{className:Mn},i):r?o.createElement("div",null,o.createElement("div",{className:s},r)):null}},{key:"renderAssignedOrCompleted",value:function(){var e=this.props,t=e.labelAssignedToMe,n=e.completedAt,r=e.progress,i=null!=n,a=ze()(Sn,(0,Be.Z)({},Tn,!r));return i?o.createElement("div",{className:Nn},o.createElement(Wt,{width:22,height:22,decorative:!0})):o.createElement("div",{className:a},o.createElement(Ht,{decorative:!0}),o.createElement("span",{className:Cn},t))}},{key:"renderLessonsInfo",value:function(){var e=this.props,t=e.labelCount,n=e.durationHidden,r=e.labelDuration;return o.createElement("div",{className:bn},t,!n&&o.createElement(o.Fragment,null,o.createElement("span",{className:_n,"aria-hidden":"true"},"|"),r))}},{key:"render",value:function(){var e,t=this.props,n=t.cardImageKey,r=t.certDownloadComp,i=t.color,a=t.completedAt,s=t.coverImageKey,u=t.enrolledAt,c=t.favoritedAt,l=t.imagesUri,d=t.isLearningPath,f=t.labelHeartFilled,p=t.labelHeartOutline,h=t.labelLearningPath,m=t.labelQuizScore,v=t.noCertDownload,g=t.noFavoriteBtn,y=t.progress,b=t.score,_=t.title,w=t.extraScoreText,E=null!=a,k=u||E,x=ze()((e={},(0,Be.Z)(e,kn,!!y||E),(0,Be.Z)(e,xn,u&&!E),e)),S=n||s;return o.createElement("div",{"aria-label":_,className:dn,onClick:this.onClick,onKeyDown:this.onKeyDown,role:"link",tabIndex:"0"},o.createElement(Ft,{className:pn,b:"fff",f:"jpg",h:150,imagesUri:l,imageKey:S,style:{backgroundColor:i},w:300,s:"cover"}),(E||u||y||d)&&o.createElement("div",{className:En},o.createElement("div",{className:x}),d&&o.createElement("div",{className:On},o.createElement(on,{height:7,width:7,className:wn,decorative:!0})," ",h),this.renderProgress(),k&&this.renderAssignedOrCompleted()),o.createElement("div",{className:fn},!g&&o.createElement("div",{className:Pn,onClick:this.toggleFavorite,onKeyDown:this.toggleFavorite,role:"button",tabIndex:"0"},c?o.createElement(tn,{title:f,className:Ln}):o.createElement(nn,{title:p,className:In})),this.renderDueStatus(),o.createElement("div",{className:hn},o.createElement(Ye(),{className:mn,lines:4},_)),E&&null!=b&&o.createElement("div",{className:yn},m," ",o.createElement("span",{className:vn},Ve()(b).divide(100).format("0%")),w&&o.createElement("span",{className:gn},w)),!E||v?this.renderLessonsInfo():o.createElement("div",{className:jn},o.createElement(r,null))))}}]),n}(o.Component);qn.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 zn=qn,Hn=n(90630),Vn=n(93384),Wn=n(31826),Yn=n(12868),Gn=(0,n(36335).Z)("progress-summary-card"),Kn=function(e){var t=e.completeLabel,n=e.isComplete,r=e.isUrgent,i=e.completedDate,a=e.labelDue;return n?o.createElement("div",{className:"progress-summary-card__completed-label"},t,o.createElement("span",{className:"progress-summary-card__completed-date"},i)):a?o.createElement("div",{className:c()("progress-summary-card__due-label",(0,Be.Z)({},"brand--color",r))},a):null},$n=function(e){var t=e.cardImageKey,n=void 0===t?null:t,r=e.className,i=e.color,a=void 0===i?"#ff6602":i,s=e.completedAt,u=void 0===s?null:s,l=e.coverImageKey,d=void 0===l?null:l,f=e.disable,p=void 0!==f&&f,h=e.durationHidden,m=void 0!==h&&h,v=e.enrolledAt,g=void 0===v?null:v,y=e.hidden,b=void 0!==y&&y,_=e.imagesUri,w=void 0===_?"":_,E=e.isLearningPath,k=void 0!==E&&E,x=e.isUrgent,S=void 0!==x&&x,T=e.labelAssignedToMe,C=void 0===T?"":T,N=e.labelDue,O=void 0===N?"":N,A=e.labelDuration,P=void 0===A?"":A,L=e.labelLearningPath,I=void 0===L?"":L,M=e.onClick,R=void 0===M?Wn.ZT:M,D=e.progress,j=void 0===D?0:D,Z=e.title,F=void 0===Z?"":Z,U=null!==u,q=(0,o.useCallback)((function(){p||null==R||R()}),[p,R]),z=(0,o.useCallback)((function(e){(0,Yn.Zt)(e)&&e.preventDefault(),!p&&(0,Yn.r$)(e)&&(null==R||R())}),[p,R]),H=n||d,V="".concat(Math.round(j),"% Complete"),W="".concat(B()(new Date(u)).format("MM/DD/YY")),Y=Gn("card",{disabled:p}),G=Gn("image-overlay",{"not-started":!(j||U),"in-progress-completed":j||U});return o.createElement("div",{"aria-hidden":b,className:Y,onClick:q},o.createElement("div",{className:"progress-summary-card__content"},o.createElement("button",{"aria-disabled":p,className:c()("progress-summary-card__title-button",(0,Be.Z)({},r,r)),tabIndex:b?-1:void 0,role:"link",type:"button",onKeyDown:z},o.createElement("span",{className:"progress-summary-card__title"},F||"(No Title)")),o.createElement("div",{className:"progress-summary-card__course-info"},k&&o.createElement("div",{className:"progress-summary-card__hide"},I),g&&o.createElement("div",{className:"progress-summary-card__hide"},C),Boolean(j)&&!p&&!u&&o.createElement("span",{className:"progress-summary-card__hide"},V),!m&&!U&&o.createElement("div",{className:"progress-summary-card__duration"},P),o.createElement(Kn,{isComplete:U,isUrgent:S,completedDate:W,labelDue:O,completeLabel:"Completed: "}))),o.createElement("div",{className:"progress-summary-card__image-wrap"},o.createElement(Ft,{alt:"","aria-hidden":"true",b:"fff",className:"progress-summary-card__image",f:"jpg",h:150,imageKey:H,imagesUri:w,s:"cover",style:{backgroundColor:a},w:300}),o.createElement("div",{className:G}),o.createElement("div",{className:"progress-summary-card__image-overlay-bottom-bar"},Boolean(j)&&!p&&!U&&o.createElement("div",{"aria-hidden":"true",className:"progress-summary-card__progress-bar-wrap"},o.createElement("div",{className:"progress-summary-card__wrap-light"},o.createElement("div",{className:"progress-summary-card__progress-bar",style:{width:"".concat(j,"%")}}))))))},Xn=n(67294),Jn=(0,q.dU)("IMAGES_URI"),Qn=["cardImageKey","color","coverImageKey","progress","score","title"],er=function(e,t){return 1===e?t:de()(t).call(t,"s")},tr=C()([],["course","course","lessons"]),nr=function(e){return m()(Ae(),De()(Ne()(P()("type","section"),Me()(Te()(Ee(),e),"id"))),tr)},rr=function(e){var t=tr(e),n=e.trackingQuizId,r=e.score;if(n&&t.length){var i=g()(P()("id",n),t),o=i.settings;return r<(o=void 0===o?{}:o).passingScore&&i}},ir=m()(g()(xe()(P()("type","section"))),tr),or=Ze()(2,(function(e){return m()(R()("","id"),g()(Boolean),Le()([nr(e),rr,ir]))})),ar=function(e){var t,n=B().duration(e),r=n.hours(),i=n.minutes(),o=de()(t="".concat(r," ")).call(t,er(r,"hr")),a="".concat(i," min");return r>=100?"100+ hrs":r>0&&i>0?[o,a].join(" "):r>0?o:a},sr=I()("learningPathUpNext"),ur=(0,a.$j)(sr)((function(e){var t,n,r=e.color,i=e.learningPathComplete,a=e.learningPathId,s=e.isSuccess,u=e.nextCourse,c=e.nextCourse,l=(c=void 0===c?{}:c).dueAt,d=c.courseId,f=void 0===d?"":d,p=c.lessonCount,h=c.lessonsCompleted,m=void 0===h?[]:h,v=c.sourceType,g=c.timeToComplete,y=(0,Hn.ye)("rise-com-lxp"),b=(0,o.useMemo)((function(){return or(m,u)}),[u,m]);k()(u.color)&&(u.color=r);var _=O()(Qn,u),w=(0,o.useCallback)((function(){var e;"PACKAGE"===v?(top.sessionStorage.setItem("upNextCourseId",f),top.location.assign("/learning-path/".concat(a))):(0,H.To)(de()(e="".concat(f,"/lessons/")).call(e,b))}),[f,a,b,v]);return s&&!i&&Xn.createElement("div",{className:"progress-summary__lp-next"},Xn.createElement("div",{className:"progress-summary__lp-next-inner"},Xn.createElement("div",{className:"progress-summary__lp-next-label"},"Next up ",Xn.createElement(Vn.Z,{className:"progress-summary__lp-next-label-icon",decorative:!0})),y?Xn.createElement("div",{className:"progress-summary__lp-next-cardV2"},Xn.createElement($n,(0,_e.Z)({imagesUri:Jn,labelCount:de()(t="".concat(p," ")).call(t,er(p,"lesson")),labelDue:(0,ee.b)(l),labelDuration:ar(g),noFavoriteBtn:!0,noCertDownload:!0,onClick:w},_))):Xn.createElement("div",{className:"progress-summary__lp-next-card"},Xn.createElement(zn,(0,_e.Z)({imagesUri:Jn,labelCount:de()(n="".concat(p," ")).call(n,er(p,"lesson")),labelDue:(0,ee.b)(l),labelDuration:ar(g),noFavoriteBtn:!0,noCertDownload:!0,onClick:w},_)))))})),cr=n(31002),lr=n(67294),dr="".concat((0,q.dU)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),fr=m()(S(),b()(I()("isComplete")),j()),pr=m()(O()(["learningPathComplete","lpHasFailedQuiz"]),I()("learningPathUpNext")),hr=(0,a.$j)(pr,(function(e,t){var n=t.course,r=n.riseComCourseId,i=n.riseComLearningPathId;return{fetchLpUpNext:m()(e,Y.V,d()({courseId:r,learningPathId:i}))}}))((function(e){var t=e.color,n=e.course,r=void 0===n?{}:n,i=e.courseProgress,a=void 0===i?{}:i,u=e.fetchLpUpNext,l=e.lessons,f=void 0===l?[]:l,h=e.learningPathComplete,v=e.lpHasFailedQuiz,y=a.lessons,b=void 0===y?{}:y,_=a.percentComplete,E=r.dueAt,x=r.certificateDownload,S=r.completionCelebration,T=r.lessonsOnly,N=void 0===T?[]:T,O=r.riseComLearningPathId,A=r.trackingCompletionPercentage,L=r.trackingQuizId,M=k()(A)&&k()(L),D=M?100===_:(0,V.ew)(),j=N.length,Z=fr(b);(0,o.useEffect)((function(){O&&u()}),[]);var F=(0,o.useMemo)((function(){return D?r.completedAt?r.completedAt:new Date:null}),[r.completedAt,D]),q=(0,o.useMemo)((function(){return g()(p()(P()("type","quiz"),P()("id",L)),f)}),[L,f]),Y=(0,o.useMemo)((function(){return R()(void 0,"title",q)}),[q]),G=(0,o.useMemo)((function(){return C()(100,["settings","passingScore"],q)}),[q]),K=C()(null,["lessons",L,"passed"],a),$=(0,o.useMemo)((function(){return m()(w()(P()("percentComplete",100),I()("score"),d()(null)),C()({},["lessons",L]))(a)}),[a,L]),Q=(0,cr.RK)(a,q,L).outOfAttempts,ee=!L||K,ne=c()("progress-summary",{"progress-summary__no-req":M});return lr.createElement(U(),{title:(0,z.Z)(r.title+" - Progress Summary")},lr.createElement("div",{className:ne},D&&S&&ee&&lr.createElement(be,null),lr.createElement("header",{className:"progress-summary__header"},lr.createElement("h1",{className:"progress-summary__header-title"},D&&!M&&ee?"Congratulations!":"Progress Summary"),M?lr.createElement("div",{className:"progress-summary__lessons-completed"},"You've completed ",Z," of ",j," lessons."):D?lr.createElement("div",{className:"progress-summary__header-completion-date"},ee&&lr.createElement("img",{className:"progress-summary__header-trophy",src:dr,alt:"trophy"}),B()(F).format("MMMM Do, YYYY")):lr.createElement(te,{dueAt:E})),lr.createElement("section",{className:"progress-summary__section"},!M&&D&&lr.createElement("div",{className:"progress-summary__requirements-met"},"You've met all the requirements."),M?!O&&lr.createElement(s.rU,{to:"/",className:"progress-summary__start-over"},"Start Over",lr.createElement("i",{className:"progress-summary__start-over-icon icon icon-reload"})):lr.createElement("div",{className:"progress-summary__requirements"},lr.createElement(X,{percentComplete:_,trackingCompletionPercentage:A}),lr.createElement(J,{outOfAttempts:Q,quizPassed:K,quizPassingScore:G,quizScore:$,quizTitle:Y,trackingQuizId:L})),(D||M)&&lr.createElement("div",{className:"progress-summary__completion-controls"},lr.createElement("button",{role:"link",className:"progress-summary__btn-back progress-summary__completion-control brand--background",onClick:H.JF,type:"button"},"Back to my learning"),D&&(!O&&x||O&&h)&&x&&ee&&!v&&lr.createElement("span",{className:"progress-summary__completion-control"},lr.createElement(W.J,null)))),D&&!!O&&lr.createElement(ur,{color:t,learningPathId:O})))})),mr=n(67294),vr=["menuButtons","previousComponent"],gr=function(e){var t=e.menuButtons,n=e.previousComponent,o=(0,r.Z)(e,vr);return mr.createElement(i.ZP,{type:yr.type},n,mr.createElement(i.FE,{type:yr.type},t,mr.createElement(i.JH,{type:yr.type},mr.createElement(hr,o))))},yr={id:"progress-summary",type:"progress-summary",title:"Progress Summary",description:"Summary of course progress"}},28507:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ys}});var r=n(68420),i=n(27344),o=n(5281),a=n(90306),s=n(3020),u=n(3362),c=n(12088),l=n.n(c),d=n(44721),f=n.n(d),p=n(13535),h=n.n(p),m=n(67294),v=n(49611),g=n.n(v),y=n(94184),b=n.n(y),_=n(31425),w=n.n(_),E=n(16550),k=n(94066),x=n.n(k);function S(e){return null!=e&&"object"==typeof e&&(1===e.nodeType||11===e.nodeType)}function T(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function C(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return T(n.overflowY,t)||T(n.overflowX,t)}return!1}function N(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 O=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(!S(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],l=e;S(l)&&s(l);){if((l=l.parentNode||l.host)===u){c.push(l);break}l===document.body&&C(l)&&!C(document.documentElement)||C(l,a)&&c.push(l)}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,E="start"===r||"nearest"===r?y:"end"===r?_:y+v/2,k="center"===i?w+g/2:"end"===i?b:w,x=[],T=0;T<c.length;T++){var O=c[T],A=O.getBoundingClientRect(),P=A.height,L=A.width,I=A.top,M=A.right,R=A.bottom,D=A.left;if("if-needed"===n&&y>=0&&w>=0&&_<=f&&b<=d&&y>=I&&_<=R&&w>=D&&b<=M)return x;var j=getComputedStyle(O),Z=parseInt(j.borderLeftWidth,10),B=parseInt(j.borderTopWidth,10),F=parseInt(j.borderRightWidth,10),U=parseInt(j.borderBottomWidth,10),q=0,z=0,H="offsetWidth"in O?O.offsetWidth-O.clientWidth-Z-F:0,V="offsetHeight"in O?O.offsetHeight-O.clientHeight-B-U:0;if(u===O)q="start"===r?E:"end"===r?E-f:"nearest"===r?N(h,h+f,f,B,U,h+E,h+E+v,v):E-f/2,z="start"===i?k:"center"===i?k-d/2:"end"===i?k-d:N(p,p+d,d,Z,F,p+k,p+k+g,g),q=Math.max(0,q+h),z=Math.max(0,z+p);else{q="start"===r?E-I-B:"end"===r?E-R+U+V:"nearest"===r?N(I,R,P,B,U+V,E,E+v,v):E-(I+P/2)+V/2,z="start"===i?k-D-Z:"center"===i?k-(D+L/2)+H/2:"end"===i?k-M+F+H:N(D,M,L,Z,F+H,k,k+g,g);var W=O.scrollLeft,Y=O.scrollTop;E+=Y-(q=Math.max(0,Math.min(Y+q,O.scrollHeight-P+V))),k+=W-(z=Math.max(0,Math.min(W+z,O.scrollWidth-L+H)))}x.push({el:O,top:q,left:z})}return x};function A(e){return e===Object(e)&&0!==Object.keys(e).length}var P=function(e,t){if(A(t)&&"function"==typeof t.behavior)return t.behavior(O(e,t));var n=function(e){return!1===e?{block:"end",inline:"nearest"}:A(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)}))}(O(e,n),n.behavior)},L=n(83448),I=n(75705),M=n(89830),R=n(58539),D=n(52365),j=n(85541),Z=n(72131),B=n(57469),F=n(79886),U=n(41207),q=n(32542),z=n(68358),H=n(80396),V=n(73188),W=n(22183),Y=n(32922),G=n(75716),K=n(27498),$=n(15729),X=n(40198),J=n(22727),Q=n(88066),ee=n.n(Q),te=n(31454),ne=n(36335),re=n(46376),ie=n.n(re),oe=n(13657),ae=n.n(oe),se=n(54782),ue=n.n(se),ce=n(62848),le=n.n(ce),de=n(50047),fe=n.n(de),pe=n(74792),he=n(67294),me=(0,ne.Z)("cover");function ve(){var e=(0,Y.Tn)().categories;return Array.isArray(e)&&0!==e.length?he.createElement("section",{className:me("categories-section")},he.createElement("h2",{className:me("categories-title")},"Topics"),he.createElement("ul",{className:me("categories-list"),role:"list"},fe()(e).call(e,(function(e){return he.createElement("li",{className:me("categories-item"),key:e,role:"listitem"},he.createElement(pe.WD,{className:me("categories-icon")}),he.createElement("span",{className:me("categories-item-wrap")},e))})))):null}var ge=n(6646),ye=(0,ge.D)("CoverCompletedInformation"),be=n(65364),_e=(0,ge.D)("CoverDueDate"),we=(0,ge.D)("CoverRequirements"),Ee=n(64393),ke=n(8689),xe=n(76676),Se=n(58519),Te=n(67294),Ce=(0,ne.Z)("cover"),Ne=function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasPartnerContent,i=e.publishedAt,o=e.tenantId;return r?Te.createElement(xe.Z,{type:"partner-content"},Te.createElement(Se.Z,{courseId:t,partnerContent:n,publishedAt:i,tenantId:o})):null},Oe=(0,G.Mw)("CoverCourseInfo",(function(e){var t=e.courseId,n=e.coursePartnerContent,r=e.hasLogo,i=e.hasPartnerContent,o=e.publishedAt,a=e.tenantId,s=Ce("details-content-aside",{logo:r});return Te.createElement("div",{className:s},Ee.VO&&Te.createElement(be.Z,null),Te.createElement(Ne,{courseId:t,coursePartnerContent:n,hasPartnerContent:i,publishedAt:o,tenantId:a}),Ee.VO&&!i&&Te.createElement(ke.uG,null),Ee.VO&&Te.createElement(Te.Fragment,null,Te.createElement(we,null),Te.createElement(_e,null),Te.createElement(ye,null),Te.createElement(ve,null)))})),Ae=n(27028),Pe=n(61848),Le=(0,ne.Z)("cover"),Ie=(0,G.Mw)("CoverDescription",(function(){var e=(0,Y.Tn)(),t=e.description,n=e.navigation?"description":"description-no-outline";return t?m.createElement("div",null,m.createElement(xe.Z,{type:n},m.createElement(Ae.Z,{className:Le("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:(0,Pe.A)(t)}))):null})),Me=n(34092),Re=n(15713),De=n(73126),je=n(2562),Ze=n(95238),Be=n.n(Ze),Fe=n(50554),Ue=n(27752),qe=n(84330),ze=n(91761),He=n(23692),Ve=n(32658),We=n(23328),Ye=n(61584),Ge=n.n(Ye),Ke=n(83728),$e=n(64152),Xe=n(66261),Je=n(97301),Qe=n(31471),et=n(8485),tt=n(26485),nt=(0,G.Mw)("LessonProgressGraphic");function rt(e){var t,n,r=e.canComplete,i=e.id,o=e.isDark,a=e.isEnabled,s=e.isTooltipVisible,u=e.onHideTooltip,c=e.onShowTooltip,l=e.scope,d=(0,ze.Tn)(),f=d.color,p=d.navigationStyle,h=(null!==(t=(0,We.RN)(i))&&void 0!==t?t:{}).type,v=(0,He.pr)(i),g=(0,Qe.Z)(),y=(0,We.gp)(i),b=(0,We.h8)(i),_=(0,We.j4)(i),w=null!=(null==_?void 0:_.type),E=null==v?void 0:v.isComplete,k=i===g,x=null!==(n=null==v?void 0:v.percentComplete)&&void 0!==n?n:0,S=(0,m.useCallback)((function(){(0,R.W)((0,tt.FK)({id:i,type:h}))}),[i,h]),T=(0,m.useCallback)((function(){(0,R.W)((0,tt.xj)({id:i,type:h}))}),[i,h]);return m.createElement(et.Z,{canComplete:r,color:f,hasRestriction:w,isComplete:E,isCurrentLesson:k,isDark:o,isEnabled:a,isFailed:y,isPassed:b,isTooltipVisible:s,navigationStyle:p,onHideTooltip:u,onMarkComplete:S,onMarkReset:T,onShowTooltip:c,percentComplete:x,progressGraphic:nt,scope:l})}var it=n(41785),ot=n(77897);function at(e){var t,n,r=e.className,i=e.id,o=e.last,a=(0,E.k6)(),s=(0,Qe.Z)(),u=(0,ze.Tn)(),c=u.color,l=u.navigationStyle,d=null!==(t=(0,We.RN)(i))&&void 0!==t?t:{},f=d.icon,p=d.title,h=(0,He.pr)(i),v=(0,We.gp)(i),g=(0,We.h8)(i),y=(0,We.j4)(i),_=null==h?void 0:h.isComplete,w=null!==(n=null==h?void 0:h.percentComplete)&&void 0!==n?n:0,k=null!=(null==y?void 0:y.type),x=(0,m.useState)(!1),S=(0,Ke.Z)(x,2),T=S[0],C=S[1],N=(0,m.useCallback)((function(){return C(!0)}),[]),O=(0,m.useCallback)((function(){return C(!1)}),[]),A=b()("overview-list__li",{"overview-list__li--last":o}),P=b()(r,"overview-list-item"),L=(0,m.useCallback)((function(e){var t=e.currentTarget.hash;e.preventDefault(),Xe.ZP.Events.scrollEvent.register("end",(function(){a.push(Be()(t).call(t,1)),Xe.ZP.Events.scrollEvent.remove("end")})),Xe.ZP.animateScroll.scrollTo(0,{containerId:"overview"})}),[a]);return m.createElement("li",{className:A,role:"listitem"},m.createElement(Je.Z,{className:P,isTooltipEnabled:!0,lessonId:i,onBlur:O,onClick:L,onHideProgressTooltip:O,onShowProgressTooltip:N,tooltipClassName:"overview-list-item-tooltip",showProgressDelay:25},m.createElement(ut,{color:c,hasRestriction:k,isComplete:_,isCurrentLesson:i===s,isFailed:v,isPassed:g,isTooltipVisible:T,lessonId:i,lessonIcon:f,lessonTitle:p,navigationStyle:l,onHideTooltip:O,onShowTooltip:N,percentComplete:w,progressGraphic:st,scope:it.Jg.COVER})))}var st=(0,G.Mw)("LessonProgressGraphic");var ut=(0,G.Mw)("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,u=b()("overview-list-item__icon","overview-list-item__icon--".concat((0,ot.toLower)(n)));return m.createElement(m.Fragment,null,m.createElement("span",{className:u},m.createElement($e.a,{icon:n})),m.createElement("span",{className:"overview-list-item__title"},i),m.createElement(rt,{canComplete:!1,id:r,isDark:!1,isEnabled:!0,isTooltipVisible:t,onHideTooltip:o,onShowTooltip:a,scope:s}))})),ct=["className"],lt=(0,ne.Z)("overview-list"),dt=(0,G.Mw)("OverviewListSectionTitle",(function(e){var t=e.className,n=void 0===t?"":t,r=(0,je.Z)(e,ct),i=Ge()(["Default"],r);return m.createElement("h2",(0,De.Z)({},i,{className:"".concat(n," overview-list__section-title")}))}));var ft=(0,m.memo)((0,Fe.$j)((function(e){var t=(0,ze.Oe)(e),n=(0,He.vC)(e);return{course:t,courseProgress:n,labels:(0,Ve.b)(e),lessons:(0,We.Te)(e),restrictingQuiz:(0,qe.Z)({course:t,courseProgress:n})}}))((function(e){var t=e.courseProgress,n=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}),[])}(e.lessons);return m.createElement("nav",{"aria-label":"Course Outline",className:"overview-list"},fe()(n).call(n,(function(e,n){var r=(0,Re.Z)(e),i=r[0],o=void 0===i?{}:i,a=Be()(r).call(r,1),s=o.title,u="section"===o.type,c=u?a:e,l=lt("list",{sectionless:!u});return m.createElement("section",{key:n},u&&s&&m.createElement(dt,null,s),m.createElement("ol",{className:l,role:"list"},fe()(c).call(c,(function(e,n){var r=(0,Ue.q)(t,e.id).passedQuiz;return m.createElement(at,{key:e.id,id:e.id,last:c.length>1&&n===c.length-1,passedQuiz:r})}))))})))})));var pt=n(68339),ht=(0,ne.Z)("cover"),mt=(0,G.Mw)("CoverDetails",(function(e){var t=e.reverseColumns,n=(0,pt.kS)(1200),r=(0,ze.Tn)(),i=r.description,o=r.id,a=r.media,s=r.navigation,u=r.partnerContentId,c=r.publishedAt,l=r.selectedAuthorId,d=r.tenantId,f=(0,Fe.v9)((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=ie()(le()("id",l),f),h=Boolean(u)&&p,v=ue()(void 0,["image","key"],a),g=!ae()(v),y=!i||!s,b=!i&&!s,_=!(!h&&!Ee.VO),w=ht("details",{"rise-com":Ee.VO,"rise-com-authoring":Ee.VO&&!c}),E=ht("details-content-wrap",{columns:_,logo:g}),k=ht("details-content",{"no-description-or-outline":y}),x=ht("details-logo",{centered:b,"no-description-or-outline":y,"has-partner-content":Boolean(u)}),S=_&&m.createElement(Oe,{courseId:o,coursePartnerContent:p,hasLogo:g,hasPartnerContent:h,publishedAt:c,tenantId:d});return m.createElement("section",{className:w},m.createElement("div",{className:E},!n&&t&&S,m.createElement("div",{className:k},m.createElement(Me.Z,{className:x}),i&&m.createElement(Ie,null),n&&S,s&&m.createElement(xe.Z,{type:"outline"},m.createElement(ft,null))),!n&&!t&&S))}));var vt=(0,G.Mw)("CoverHeader"),gt=(0,Fe.$j)((function(e){var t=(0,ze.Oe)(e);return{accentColor:t.color,themeId:t.themeId,coverPageType:t.coverPageType}}))(vt),yt=(0,G.Mw)("CoverLayout");function bt(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var _t=(0,ne.Z)("cover-container"),wt=function(e){(0,a.Z)(n,e);var t=bt(n);function n(e){var i;return(0,r.Z)(this,n),(i=t.call(this,e)).state={isEntering:!1,isExiting:!1},i.refMain=(0,m.createRef)(),i}return(0,i.Z)(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,te.rw)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},(function(){t.willExitTimeout=setTimeout(e,te.rw)}))}},{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,c=(0,z.Z)(ee()(e="".concat(s," - ")).call(e,u));return m.createElement(g(),{title:c},m.createElement("main",{"aria-label":"Course overview",ref:this.refMain,tabIndex:"-1"},m.createElement("div",{className:_t({entering:o,exiting:a})},m.createElement(yt,null,m.createElement(gt,null),m.createElement(mt,null)))))}}]),n}(m.Component),Et=n(44845),kt=n(30699),xt=n.n(kt),St=n(73935),Tt=n(45697),Ct=n.n(Tt),Nt=n(54115),Ot=n.n(Nt),At=n(66497),Pt=n.n(At),Lt=n(50557),It=n.n(Lt),Mt=n(54405),Rt=n.n(Mt),Dt=n(42157),jt=n.n(Dt),Zt=n(4603),Bt=n.n(Zt),Ft=n(63266),Ut=n.n(Ft),qt=n(1465),zt=n.n(qt),Ht=n(36650),Vt=n(19755),Wt=n.n(Vt),Yt=n(53176),Gt=n.n(Yt),Kt=n(31002),$t=n(95639),Xt=n(89975),Jt=n(52478),Qt=n.n(Jt),en=n(1762),tn=n(72535),nn=n(86494),rn=n(67294);function on(e){var t=e.children,n=(0,m.useRef)(),r=(0,Ve.Z)(),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(0,nn.zy)(i),rn.createElement("main",{"aria-label":null==r?void 0:r.lessonContentLandmark,className:"lesson-main",ref:n,tabIndex:"-1"},t)}var an=n(69105),sn=n.n(an),un=n(73969),cn=n(98114),ln=n(38324),dn=n(32673),fn=n(16052);function pn(){return(0,Fe.v9)((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:fn.n.UP}(e)}))}var hn=n(67294),mn=(0,ne.Z)("blocks-lesson-slide"),vn="#fff",gn=function(e){var t,n;return(null==e||null===(t=e.settings)||void 0===t?void 0:t.backgroundMode)===dn.RW.COLOR?null==e||null===(n=e.settings)||void 0===n?void 0:n.backgroundColor:vn},yn=function(e,t){var n,r=e.animateBlockEntrance,i=e.color,o=e.courseId,a=e.courseTitle,s=e.enableVideoPlaybackSpeed,u=e.handleNavigate,c=e.handleStorylineFullscreen,l=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.partnerContent,_=e.prefersKeyboardNavigation,w=e.previewType,E=e.publishedAt,k=e.slide,x=e.transitionState,S=e.tenantId;(0,m.useImperativeHandle)(t,(function(){return T.current}));var T=(0,m.useRef)(),C=pn(),N=(0,Fe.v9)((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)})),O=ee()(n="".concat(x,"-")).call(n,C),A=mn("wrapper",{exiting:"exiting"===x}),P=mn("inner",(0,Et.Z)({},O,!0)),L=(0,m.useMemo)((function(){return gn(k[0])}),[k]),I=(0,m.useMemo)((function(){return gn(k[k.length-1])}),[k]),M=mn("lesson",{slides:d}).toString();return hn.createElement("div",{className:A,style:{top:N}},hn.createElement("div",{className:P},hn.createElement("div",{className:mn("background-top"),style:{backgroundColor:L}}),hn.createElement("div",{className:mn("background-bottom"),style:{backgroundColor:I}}),hn.createElement(en.Z,{animateBlockEntrance:r,blocks:k,className:M,color:i,courseId:o,courseTitle:a,defaultBackgroundColor:vn,enableVideoPlaybackSpeed:s,handleNavigate:u,handleStorylineFullscreen:c,isFirstLesson:l,isSlidesMode:d,labels:f,lessonId:p,lessonProgress:h,loadMedia:v,menuOpen:g,nextLesson:y,partnerContent:b,prefersKeyboardNavigation:_,previewType:w,publishedAt:E,sectionRef:T,tenantId:S})))},bn=(0,m.forwardRef)(yn),_n=n(23279),wn=n.n(_n),En=n(32250),kn=n.n(En),xn=n(70902),Sn=n(1983),Tn=n(67294),Cn=(0,ne.Z)("blocks-slide-indicator"),Nn=function(e,t){var n=e.active,r=e.onClick,i=e.slideIndex,o=(0,m.useCallback)((function(){return r(i)}),[r,i]);return Tn.createElement("div",{className:Cn("wrapper"),ref:t},Tn.createElement("button",{className:Cn("button",{active:n}),onClick:o,type:"button",tabIndex:"-1"}))},On=(0,m.forwardRef)(Nn),An=n(67294),Pn=(0,ne.Z)("blocks-slide-controls"),Ln=function(e){var t=e.activeSlideIndex,n=e.numberOfSlides,r=e.onSlideClick,i=(0,m.useRef)(),o=(0,m.useRef)(),a=(0,m.useState)(!1),s=(0,Ke.Z)(a,2),u=s[0],c=s[1],l=(0,m.useState)(!1),d=(0,Ke.Z)(l,2),f=d[0],p=d[1];(0,m.useEffect)((function(){var e=i.current,t=o.current;if(e&&t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),a=n.bottom-38,s=n.top+38;r.bottom>a?e.scrollBy({top:r.bottom-a,left:0,behavior:"smooth"}):r.top<s&&e.scrollBy({top:r.top-s,left:0,behavior:"smooth"})}}),[t]);var h=(0,m.useCallback)((function(){var e=i.current;e&&(c(e.scrollTop>8),p(e.clientHeight+e.scrollTop<e.scrollHeight))}),[]);(0,xn.Z)(h);var v=(0,m.useCallback)(wn()(h,100),[h]);return(0,Sn.Z)(i.current,h),An.createElement("div",{className:Pn("slide-controls")},An.createElement("div",{className:Pn("page-control-wrapper")},An.createElement("div",{className:Pn("page-control-inner-wrapper")},An.createElement("div",{className:Pn("page-control"),onScroll:v,ref:i},An.createElement("div",{className:Pn("slide-dot-wrapper")},kn()((function(e){var n=e===t;return An.createElement(On,{active:n,key:e,onClick:r,ref:n?o:null,slideIndex:e})}),n))),An.createElement("div",{className:Pn("overlay-top",{visible:u})}),An.createElement("div",{className:Pn("overlay-bottom",{visible:f})}))))},In=n(67294),Mn=(0,ne.Z)("slide-navigation-button"),Rn=function(e){var t=e.ariaLabel,n=e.children,r=e.className,i=e.onClick,o=Mn("button").mix(r);return In.createElement("button",{"aria-label":t,className:o,onClick:i,type:"button"},In.createElement("div",{className:Mn("icon-wrapper")},n))},Dn=n(20793),jn=n.n(Dn),Zn=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}},Bn=n(16255),Fn=n(29891),Un=n(67294),qn=["blocks"],zn=(0,ne.Z)("blocks-lesson-slides"),Hn="top",Vn="middle",Wn="bottom",Yn=".page-wrap",Gn=".lesson-main",Kn=function(e,t){var n=e.blocks,r=(0,je.Z)(e,qn);(0,m.useImperativeHandle)(t,Function.prototype,[]);var i=(0,m.useRef)(),o=(0,E.k6)(),a=(0,Fe.I0)(),s=(0,m.useState)(0),u=(0,Ke.Z)(s,2),c=u[0],l=u[1],d=(0,m.useState)(!0),f=(0,Ke.Z)(d,2),p=f[0],h=f[1],v=(0,m.useState)(Hn),g=(0,Ke.Z)(v,2),y=g[0],b=g[1],_=(0,m.useState)(),w=(0,Ke.Z)(_,2),k=w[0],x=w[1],S=(0,m.useState)(!1),T=(0,Ke.Z)(S,2),C=T[0],N=T[1],O=(0,m.useMemo)((function(){return function(e){return jn()(Zn,{slides:[],currentSlide:[]},e).slides}(n)}),[n]),A=O.length,P=O[c];(0,ln.Z)((function(){var e=setTimeout((function(){return h(!1)}),700);x(e),document.querySelector(Gn).focus()}),(function(){k&&(clearTimeout(k),x(void 0))}));var L=(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((0,Bn.Mz)(o)),l(e),document.querySelector(Yn).scrollTop=0}),[a]),I=(0,m.useCallback)((function(){p||(h(!0),o.push("/"))}),[o,p]),M=(0,m.useCallback)((function(){p||(c>0?(L(c-1),a((0,Bn.Ni)(fn.n.DOWN))):I())}),[L,a,c,p,I]),R=(0,m.useCallback)((function(){!p&&c<A-1&&(L(c+1),a((0,Bn.Ni)(fn.n.UP)))}),[L,a,A,c,p]),D=(0,m.useCallback)((function(e){if(e!==c&&!p){var t=e<c?fn.n.DOWN:fn.n.UP;L(e),a((0,Bn.Ni)(t))}}),[L,a,c,p]),j=(0,m.useCallback)((function(){return h(!0)}),[]),Z=(0,m.useCallback)((function(){h(!1),N(!1)}),[]),B=(0,m.useCallback)((function(){var e,t,n,r,o=null!==(e=null===(t=document.querySelector(Yn))||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}),[]),F=(0,m.useCallback)((function(){C?N(!1):B()&&y!==Hn||(0===c?I:M)()}),[B,C,M,y,c,I]),U=(0,m.useCallback)((function(){C?N(!1):B()&&y!==Wn||R()}),[B,y,R,C]),q=(0,m.useCallback)((function(e){var t=document.querySelector(Gn);e.target===t&&M()}),[M]),z=(0,m.useCallback)((function(e){var t=document.querySelector(Gn);e.target===t&&R()}),[R]);(0,cn.Z)("ArrowUp",sn(),F),(0,cn.Z)("ArrowDown",sn(),U),(0,cn.Z)("ArrowLeft",sn(),q),(0,cn.Z)("ArrowRight",sn(),z);var H=(0,m.useCallback)((function(e){var t=e.target,n=t.scrollHeight-t.scrollTop,r=n===t.scrollHeight,i=n===t.clientHeight,o=r?Hn:i?Wn:Vn;o!==y&&(b(o),N(!0))}),[y]);(0,un.default)("scroll",H,document.querySelector(Yn));var V=c===A-1,W=V?Fn.ym:Fn.Eg,Y=V?I:R,G=zn(V?"restart-icon":"arrow-icon");return Un.createElement("div",null,Un.createElement(Rn,{ariaLabel:"Previous Slide",onClick:M,className:zn("prev-button")},Un.createElement(Fn.So,{className:zn("arrow-icon")})),Un.createElement(J.W3,null,Un.createElement(J.uT,{key:c,mountOnEnter:!0,onExited:Z,onExiting:j,timeout:600,unmountOnExit:!0},(function(e){return Un.createElement(bn,(0,De.Z)({},r,{ref:i,slide:P,transitionState:e}))}))),Un.createElement(Ln,{activeSlideIndex:c,numberOfSlides:A,onSlideClick:D}),Un.createElement(Rn,{ariaLabel:"Next Slide",onClick:Y,className:zn("next-button")},Un.createElement(W,{className:G})))},$n=(0,m.forwardRef)(Kn),Xn=n(67294),Jn=te.Du.TINT,Qn=(0,Fe.$j)((function(e){return{partnerContent:ue()([],["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,c=e.handleStorylineFullscreen,l=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,E=e.nextLesson,k=e.partnerContent,x=e.prefersKeyboardNavigation,S=e.previewType,T=e.previousComponent,C=e.publishedAt,N=e.tenantId,O=a.id,A=a.items,P=a.settings,L=a.type,I=(null==P?void 0:P.playbackMode)===it.XY.SLIDE,M=(0,m.useMemo)((function(){return!p||Qt()("isComplete",v)}),[p,v]),R=(0,m.useMemo)((function(){return f===Jn?r:n}),[n,r,f]),D={animateBlockEntrance:t,blocks:A,color:n,courseId:i,courseTitle:o,enableVideoPlaybackSpeed:s,handleNavigate:u,handleStorylineFullscreen:c,isFirstLesson:!0,isSlidesMode:I,labels:l,lessonId:O,lessonProgress:v,loadMedia:g,match:y,menuOpen:_,nextLesson:E,partnerContent:k,previewType:S,prefersKeyboardNavigation:x,publishedAt:C,tenantId:N,type:L};return Xn.createElement(tn.ZP,{type:L},T,Xn.createElement(tn.FE,{type:L},b,Xn.createElement(on,null,!I&&Xn.createElement("div",{className:h,style:{color:R}},d),Xn.createElement(tn.JH,null,I?Xn.createElement($n,D):Xn.createElement(en.Z,D)))),M&&w)})),er=n(11456),tr=n(67294),nr=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,c=e.lessonProgress,l=e.menuButtons,d=e.nextComponent,f=e.previousComponent;return tr.createElement(tn.ZP,{type:o},f,tr.createElement(tn.FE,{type:o},l,tr.createElement(on,null,tr.createElement("div",{className:u,style:{color:t}},s),tr.createElement(tn.JH,null,tr.createElement(er.Z,{id:r,items:i,labels:a,lessonProgress:c})))),d)},rr=n(16415),ir=n(67294),or=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,c=e.data,l=c.id,d=c.items,f=c.media,p=c.type;return ir.createElement(tn.ZP,{type:p},u,ir.createElement(tn.FE,{type:p},a,ir.createElement(on,null,ir.createElement("div",{className:i,style:{color:t}},r),ir.createElement(tn.JH,null,ir.createElement(rr.Z,{id:l,items:d,labels:n,lessonProgress:o,image:f.image})))),s)},ar=n(55943),sr=(0,G.Mw)("Progress"),ur=n(99499),cr=n(67294),lr=(0,ur.Z)(ar.Z),dr=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,c=e.labels,l=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 cr.createElement(tn.ZP,{type:u},y,cr.createElement(tn.FE,{type:u},p,cr.createElement(on,null,cr.createElement(tn.JH,{type:u,items:a},cr.createElement(sr,{id:o,items:a,lessonProgress:d,menuOpen:h,mobileMenuOpen:m,type:"process"}),cr.createElement(lr,{authorName:t,avatar:n,description:i,id:o,items:a,labels:c,loadMedia:f,lessonNumber:l,lessonProgress:d,menuOpen:h,mobileMenuOpen:m,nextComponent:v,prefersKeyboardNavigation:g,previousComponent:y,showLessonCount:b,title:s,totalLessons:_,type:u})))))},fr=n(52730),pr=n(89356),hr=n.n(pr),mr=n(63263),vr=n.n(mr),gr=n(58377),yr=n.n(gr),br=n(13038),_r=n.n(br),wr=n(52892),Er=n.n(wr),kr=n(9730),xr=n.n(kr),Sr=n(13207),Tr=n.n(Sr),Cr=n(92738),Nr=n.n(Cr),Or=n(50533),Ar=n(56539),Pr=n(80635),Lr=n(40486),Ir=n.n(Lr),Mr=n(7578),Rr=n.n(Mr),Dr=n(72038),jr=n.n(Dr),Zr=n(31826),Br=n(90322),Fr=n(65194),Ur=It()(xr()(jr(),0),Gt()(0,"retryAttempts")),qr=function(e){var t=e.lessonProgress,n=e.quizStart,r=e.quizTakeAgain;return Ur(t)?r:n},zr=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"},ee()(t=ee()(n=ee()(r="".concat(i," ")).call(r,o," ")).call(n,a," ")).call(t,s))},Hr=function(e){var t=e.id,n=e.lessonProgress;return function(){return(0,R.W)((0,Br.TW)({activeIndex:Math.max(0,Ir()(Gt()(0,"activeIndex",n))),id:t}))}},Vr=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,c=s.lessonPreposition,l=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&&Ur(p);return(0,m.useEffect)((function(){_&&b&&b.current&&Rr()(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:q.mR},m.createElement(Ae.Z,{className:"quiz-header__title brand--lhead",value:(0,Fr.ZP)(g)})),h&&r&&n?m.createElement("div",{className:"quiz-header__author brand--ui"},m.createElement("img",{src:(0,Z.i3)("".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&&zr({lessonName:u,lessonNumber:f,lessonPreposition:c,totalLessons:y}))),m.createElement(Ae.Z,{className:"quiz-header__description brand--lbody brand--linkColor",value:i,allowTabNavigation:t}),m.createElement("button",{className:"quiz-header__start-quiz brand--color",onClick:t?Hr({id:o,lessonProgress:p}):Zr.ZT,tabIndex:(0,q._6)(t),type:"button"},m.createElement("span",{className:"brand--ui"},qr({lessonProgress:p,quizStart:l,quizTakeAgain:d})),m.createElement("i",{className:"icon icon-chevron-right"})))))))},Wr=n(81099),Yr=n(88137),Gr=n(88990),Kr=n(34383),$r=n(67294),Xr=ue()(0,["lessonProgress","activeIndex"]),Jr=ue()(0,["lessonProgress","retryAttempts"]),Qr=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,c=e.nextComponent,l=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===Xr(e);return $r.createElement(Pr.Z,{allowTabNavigation:b,color:n,continueType:h,current:a,currentPassingScore:r,id:i,isAtEnd:b,labels:o,length:t.length,lessonProgress:s,mode:u,nextComponent:c,nextLesson:l,nextLessonRestrictions:d,onNextClick:f,passingScore:m,retryAttempts:Jr({lessonProgress:s}),retryCount:Number(v),showNavigationButtons:g,sidebarEnabled:y})}},ei=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,c=e.lessonProgress,l=e.showAuthor,d=e.showLessonCount,f=e.title,p=e.totalLessons,h=0===Xr(e);return $r.createElement(Vr,{allowTabNavigation:h,authorName:n,avatar:r,description:i,id:o,isLesson:a,items:t,labels:s,lessonNumber:u,lessonProgress:c,showAuthor:l,showLessonCount:d,title:f,totalLessons:p})}},ti={setFillInText:Wr.y,setMatchItems:Yr.q,setNextIndex:Br.TW,setSelectedIndex:Gr.K,submitAnswer:Br.tn,toggleSelectedIndex:Kr.c,updateLessonProgress:tt.i6},ni=(0,Or.$j)(null,ti)((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,c=e.setNextIndex,l=e.setSelectedIndex,d=e.settings,f=e.submitAnswer,p=e.title,h=e.toggleSelectedIndex,m=e.updateLessonProgress;return $r.createElement(Ar.Z,{color:t,id:n,items:r,labels:i,onChoiceSelect:l,onFillInChange:s,onMatchSet:u,onResponseToggle:h,onSetIndex:c,onSubmit:f,previousComponent:a,progress:o,reportAnswer:Z.N2,quizEnd:Qr(e),quizHeader:ei(e),settings:d,title:p,updateProgress:m})})),ri=n(67294);function ii(e,t){var n=hr()(e);if(vr()){var r=vr()(e);t&&(r=xt()(r).call(r,(function(t){return yr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var oi=function(e){var t=e.id,n=e.settings,r=e.lessonProgress,i=void 0===r?{}:r;return Nr()(Tr()(["passingScore"]),function(e){var t=e.id,n=e.passingScore;return xr()(Er(),(0,Z.g8)({id:t,passingScore:n}))}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ii(Object(n),!0).forEach((function(t){(0,Et.Z)(e,t,n[t])})):_r()?Object.defineProperties(e,_r()(n)):ii(Object(n)).forEach((function(t){Object.defineProperty(e,t,yr()(n,t))}))}return e}({id:t},i)),n)},ai=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,c=o.settings,l=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,E=e.nextLesson,k=e.nextLessonRestrictions,x=e.onNextClick,S=e.overlayNavIsOpen,T=e.prefersKeyboardNavigation,C=e.previousComponent,N=e.showAuthor,O=e.showLessonCount,A=e.showNavigationButtons,P=e.sidebarEnabled,L=e.totalLessons;return ri.createElement(tn.ZP,{type:d},C,ri.createElement(tn.FE,{type:d},g,ri.createElement(on,null,ri.createElement(tn.JH,{type:d,items:u},ri.createElement(sr,{id:s,lessonProgress:v,menuOpen:y,mobileMenuOpen:b,overlayNavIsOpen:S,type:"quiz"}),ri.createElement(ni,{authorName:t,avatar:n,color:r,currentPassingScore:c.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:E,nextLessonRestrictions:k,onNextClick:x,prefersKeyboardNavigation:T,previousComponent:C,settings:oi({id:s,lessonProgress:v,settings:c}),showAuthor:N,showLessonCount:O,showNavigationButtons:A,sidebarEnabled:P,title:l,totalLessons:L})))))},si=n(31218),ui=n(64028),ci=n(67294),li=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,c=e.lessonHeaderWrapClasses,l=e.lessonProgress,d=e.menuButtons,f=e.nextComponent,p=e.previousComponent;return ci.createElement(tn.ZP,{type:a},p,ci.createElement(tn.FE,{type:a},d,ci.createElement(on,null,ci.createElement("div",{className:c,style:{color:t}},u),ci.createElement(tn.JH,{type:a},ci.createElement(ui.Z,{id:r,items:i,labels:s,progress:l,piles:o})))),Qt()("isComplete",l)?f:null)},di=n(21214),fi=n(67294),pi=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,c=e.lessonProgress,l=e.loadMedia,d=e.menuButtons,f=e.nextComponent,p=e.previousComponent;return fi.createElement(tn.ZP,{type:o},p,fi.createElement(tn.FE,{type:o},d,fi.createElement(on,null,fi.createElement("div",{className:u,style:{color:t}},s),fi.createElement(tn.JH,{type:o},fi.createElement(di.Z,{id:r,items:i,labels:a,lessonProgress:c,loadMedia:l})))),f)},hi=n(88826),mi=n(35865),vi=n(67294),gi=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,c=e.prefersKeyboardNavigation,l=e.previousComponent,d=e.enableVideoPlaybackSpeed;return vi.createElement(tn.ZP,{type:n.type},l,vi.createElement(tn.FE,{type:n.type},s,vi.createElement(on,null,vi.createElement("div",{className:o,style:{color:t}},i),vi.createElement(tn.JH,null,vi.createElement(mi.Z,{data:n,labels:r,lessonProgress:a,prefersKeyboardNavigation:c,enableVideoPlaybackSpeed:d})))),u)},yi=n(78892),bi=n(86565),_i=n(96022),wi=(0,ne.Z)("lesson-nav"),Ei=(0,G.Mw)("LessonNavPrevious",(function(e){var t,n,r,i,o=e.allowTooltip,a=e.buttonScheme,s=e.color,u=e.courseHomeLabel,c=e.lessonNameLabel,l=e.lessonPrepositionLabel,d=e.previousLesson,f=e.previousLessonNumber,p=e.totalLessons,h=null==d?void 0:d.id,v=(0,_i.$)(),g=(0,_i.N)(v),y=(0,Kt.tV)(d)&&h,b=(null==d?void 0:d.title)||u,_=a===te.cX.TINT,w=_?(0,H.c7)(s):s,E=y?ee()(t=ee()(n=ee()(r="".concat(f," ")).call(r,l," ")).call(n,p," — ")).call(t,b):b,k=g&&y?ee()(i="".concat(c," ")).call(i,f):E,x={color:_?w:null};return m.createElement(bi.Z,{allowTooltip:o,direction:"previous",linkStyles:x,navLessonId:h},g?m.createElement(m.Fragment,null,m.createElement("span",{className:wi("link-text")},k),m.createElement(pe.a2,{className:wi("link-icon")})):m.createElement(m.Fragment,null,m.createElement(pe.a2,{className:wi("link-icon")}),m.createElement("span",{className:wi("link-text")},k)))}));var ki=(0,Fe.$j)((function(){var e=(0,We.CX)(),t=(0,We.Jo)();return function(n,r){var i=r.lessonId,o=(0,ze.Oe)(n),a=e(i,n)||{},s=t(i,n),u=(0,Ve.b)(n),c=(0,We.l1)(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:c}}}))(Ei),xi=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},Si=function(e){(0,m.useEffect)(e,[])},Ti=function(e){var t=(0,m.useRef)(e);t.current=e,Si((function(){return function(){return t.current()}}))},Ci=n(96026),Ni=n.n(Ci),Oi=n(6212),Ai=(0,ne.Z)("lesson-nav"),Pi=function(e,t){var n,r,i,o,a=e.allowTooltip,s=e.buttonScheme,u=e.color,c=e.lessonNameLabel,l=e.lessonPrepositionLabel,d=e.nextLesson,f=e.nextLessonNumber,p=e.restrictionData,h=e.restrictionType,v=e.totalLessons,g=null==d?void 0:d.id,y=(0,_i.$)(),b=(0,_i.N)(y),_=(0,Kt.tV)(d)&&g,w=(null==d?void 0:d.title)||"",E=s===te.cX.TINT,k=E?(0,H.c7)(u):u,x=_?ee()(n=ee()(r=ee()(i="".concat(f," ")).call(i,l," ")).call(r,v," — ")).call(n,w):w,S=b&&_?ee()(o="".concat(c," ")).call(o,f):x,T={color:E?k:null};return m.createElement(bi.Z,{allowTooltip:a,direction:"next",linkStyles:T,navLessonId:g,ref:t,restrictionData:p,restrictionType:h},b?m.createElement(m.Fragment,null,m.createElement("span",{className:Ai("link-text")},S),m.createElement(pe.K5,{className:Ai("link-icon")})):m.createElement(m.Fragment,null,m.createElement(pe.K5,{className:Ai("link-icon")}),m.createElement("span",{className:Ai("link-text")},S)))},Li=(0,G.Mw)("LessonNavNext",(0,m.forwardRef)(Pi)),Ii=Ni()(0,1,.01);var Mi=(0,Fe.$j)((function(){var e=(0,We.zK)(),t=(0,We.lC)(),n=(0,We.a_)();return function(r,i){var o=i.lessonId,a=(0,ze.Oe)(r),s=e(o,r)||{},u=t(o,r),c=(0,Ve.b)(r),l=n(s.id,r),d=(0,We.l1)(r);return{buttonNavigationStyle:a.buttonNavigationStyle,buttonScheme:a.buttonScheme,color:a.color,lessonNameLabel:c.lessonName,lessonPrepositionLabel:c.lessonPreposition,nextLesson:s,nextLessonNumber:u,restrictionData:null==l?void 0:l.data,restrictionType:null==l?void 0:l.type,totalLessons:d}}}))((function(e){var t=e.dispatch,n=(0,m.useRef)(),r=xi(n,{threshold:Ii}),i=(0,Qe.Z)();return(0,m.useLayoutEffect)((function(){var e=n.current.closest("[data-lesson-id]");i===e.dataset.lessonId&&t((0,Oi.TX)({intersectionRect:null==r?void 0:r.intersectionRect}))}),[i,t,r]),Ti((function(){return t((0,Oi.TX)(null))})),m.createElement(Li,(0,De.Z)({ref:n},e))})),Ri=(0,ne.Z)("lesson-nav"),Di=function(e,t){var n=e.allowTooltip,r=e.buttonScheme,i=e.color,o=e.courseFinishLabel,a=e.restrictionData,s=e.restrictionType,u=r===te.cX.TINT,c=u?(0,H.c7)(i):i,l=(0,_i.$)(),d=(0,_i.N)(l),f={color:u?c:null};return m.createElement(bi.Z,{allowTooltip:n,direction:"next",finish:!0,linkStyles:f,ref:t,restrictionData:a,restrictionType:s},d?m.createElement(m.Fragment,null,m.createElement("span",{className:Ri("link-text")},o),m.createElement(pe.K5,{className:Ri("link-icon")})):m.createElement(m.Fragment,null,m.createElement(pe.K5,{className:Ri("link-icon")}),m.createElement("span",{className:Ri("link-text")},o)))},ji=(0,G.Mw)("LessonNavFinish",(0,m.forwardRef)(Di));var Zi=(0,Fe.$j)((function(e){var t,n=(0,ze.Oe)(e),r=(0,Ve.b)(e);return{buttonNavigationStyle:n.buttonNavigationStyle,buttonScheme:n.buttonScheme,color:n.color,courseFinishLabel:null!==(t=r.courseFinish)&&void 0!==t?t:"Finish"}}))(ji),Bi=n(69532),Fi=n(13017),Ui=n(416),qi=n.n(Ui),zi=n(88392),Hi=n(67294),Vi=(0,G.Mw)("LessonHeader"),Wi=(0,ne.Z)("lesson-header"),Yi=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,c=a.lessonHeaderLandmark,l=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,E=(0,ze.MK)()===it.BL,k=h===te.Du.TINT?{color:i}:null,x=h===te.Du.IMAGE,S=h===te.Du.ACCENT&&(0,H.LI)(i),T=h===te.Du.COLOR&&(0,H.LI)(l),C=f===te.Du.ACCENT,N=x&&C&&(0,H.LI)(i)||S||T,O=Wi("top-wrap",{"bg-light":!N,"bg-dark":N}),A=(0,m.useMemo)((function(){if(h===te.Du.COLOR)return{backgroundColor:l};var e=qi()(["media","image"],d),t=d.alpha;return e&&h===te.Du.IMAGE?(0,Fi.Z)({alpha:t,color:te.kw,url:(0,Bi.xR)(e)}):void 0}),[l,d,h]);return Hi.createElement(Hi.Fragment,null,Hi.createElement(zi.gM,{sectionStyles:A,lessonHeaderLandmark:c,topWrapStyles:k,topWrapClassName:O},Hi.createElement(Vi,{authorName:t,avatar:n,description:o,lessonName:s,lessonNumber:y,lessonHeaderSize:p,lessonPreposition:u,partnerContentAuthors:v,showAuthor:b,showLessonCount:_&&!E,title:w,totalLessons:g})),r)},Gi=n(22033),Ki=n(19585),$i=n(67294),Xi=(0,G.Mw)("CoverSVG"),Ji=(0,ne.Z)("theme-lesson-header-one-page"),Qi=(0,ne.Z)("page"),eo=Ji("main").mix("lesson-header__main"),to=Ji("container").mix(Qi("header-container")),no=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)===te.iy.WHITE,o=(null==n?void 0:n.coverPageType)===te.iy.IMAGE,a=(null==n?void 0:n.coverPageType)===te.iy.ACCENT,s=a?null==n?void 0:n.color:r,u=Ji("wrapper",{accent:a,white:i}),c=o?(0,Ki.A5)(null==n?void 0:n.coverImage):{backgroundColor:s};return $i.createElement("div",{className:u,style:c},$i.createElement("div",{className:to},$i.createElement("div",{className:eo},$i.createElement(ke.ZP,null),$i.createElement(Gi.Z,null))),$i.createElement(Xi,{coverPageType:"LEFT"}))},ro=n(90630),io=n(67294);function oo(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var ao=te.lh.LARGE,so=te.lh.SMALL,uo=te.Du.ACCENT,co=te.Du.BLACK,lo=te.Du.COLOR,fo=te.Du.DARK,po=te.Du.GRAY,ho=te.Du.IMAGE,mo=te.Du.LIGHT,vo=te.Du.TINT,go=function(e){(0,a.Z)(n,e);var t=oo(n);function n(e){var i;(0,r.Z)(this,n),i=t.call(this,e);var o=e.course,a=e.isProgressSummary,s=e.lessonProgress,u=e.match.params,c=Gt()(null,"index",s),l=a?fr.L:ue()({},["lessons",c],o),d={course:o,lesson:l},f=a?null:(0,Kt.k2)(d);return i.state={hasTransitioned:!1,lessonNumber:a?0:(0,Kt.mZ)(d),mode:u.mode||"",model:l,next:f,nextNumber:(0,Kt.mZ)({course:o,lesson:f}),scrollPosition:0,totalLessons:(0,Kt.KZ)(o)},i}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.match.params.id;this.setState({hasTransitioned:!0}),this.props.isProgressSummary||(0,Z.al)(e),this.props.isProgressSummary||(0,R.W)((0,tt.qI)(e)),Wt()("[data-page]:first-child [data-previous-lesson]").hide().attr("data-scrolling","true")}},{key:"componentWillReceiveProps",value:function(e){if(!this.props.isProgressSummary){var t=e.course,n=e.lessonProgress,r=Gt()(null,"index",n),i=ue()(null,["lessons",r],t),o={course:t,lesson:i},a=(0,Kt.k2)(o);i&&this.setState({model:i,next:a})}}},{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.displayFlex(Wt()("[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){Wt()("[data-lesson-header]").css({top:""}),this.transition("enter",e)}},{key:"componentDidEnter",value:function(){var e=Wt()("[data-page]:first-child [data-previous-lesson]"),t=Wt()("[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),Wt()(n).scrollTop(r),Wt()("[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;Wt()(t).scrollTop(0),this.lastScrollPosition=n,this.transition("leave",e),Wt()(St.findDOMNode(this)).scrollTop(this.lastScrollPosition)}},{key:"transitionComplete",value:function(){var e=St.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=St.findDOMNode(this);if(a){var s=ee()(n="page ".concat(o,"-")).call(n,e);a.className=s,hi.Z.addEventListeners(a,(function n(){a.className="enter"===e?"page ".concat(o,"-complete"):"page",hi.Z.removeEventListeners(a,n),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 io.createElement(fr.Z,(0,De.Z)({},this.props,n));switch(t){case"blocks":return io.createElement(Qn,(0,De.Z)({},n,{handleNavigate:this.props.handleNavigate,animateBlockEntrance:r.animateBlockEntrance,isFirstLesson:(0,Kt._m)({course:r,lesson:i})}));case"map":return io.createElement(or,n);case"process":return io.createElement(dr,n);case"timeline":return io.createElement(pi,n);case"quiz":return io.createElement(ai,n);case"sorting":return io.createElement(li,n);case"screencast":case"slidecast":case"video":return io.createElement(gi,n);case"embed":return io.createElement(nr,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,c=u.allowRestrictedTooltip,l=u.course,d=u.courseProgress,f=u.handleStorylineFullscreen,p=u.isMobileHeader,h=u.isProgressSummary,m=u.labels,v=u.lessonProgress,y=u.location,_=u.lxpEnabled,w=u.match,E=u.menuButtons,k=u.menuOpen,x=u.mobileMenuOpen,S=u.overlayNavIsOpen,T=u.previewType,C=u.sessionPreferences.prefersKeyboardNavigation,N=u.sidebarEnabled,O=u.themeId,A=i.author,P=i.selectedAuthorId,L=i.settings,I=void 0===L?{}:L,M=i.type,R=l.authors,D=l.color,j=l.colorAccentTint,B=l.enableVideoPlaybackSpeed,F=l.id,U=l.lessonHeaderImage,q=l.lessonHeaderSize,H=l.lessonHeaderStyle,V=l.publishedAt,W=l.showAuthor,Y=l.showLessonCount,G=l.showNavigationButtons,K=l.tenantId,$=l.theme,X=l.type,J=$.lessonHeaderColor,Q=$.navigationType,ee=ue()([],["partnerContent","content"],this.props),te=!jt()(ee),ne=te?ie()(le()("id",P),ee):{},re=te?ue()(void 0,["data","authors"],ne):void 0,oe=(0,yi.LI)(D),ae=(0,yi.LI)(J),se=(0,si.Z)({authors:R,author:A,selectedAuthorId:P}),ce=se.avatar,de=se.authorName,fe=(0,qe.Z)({course:l,courseProgress:d}),pe=h?{}:(0,Kt.gc)({course:l,courseProgress:d,lesson:o,lxpEnabled:_,restrictingQuiz:fe}),he="quiz"===M&&"continue"===I.continueType,me=(0,$t.Wz)(i),ve=o&&"preview-lesson"!==r&&G&&!he,ge=(null===(e=i.settings)||void 0===e?void 0:e.playbackMode)===it.XY.SLIDE,ye=!this.props.isCourseNavigationEnabled&&"preview-lesson"!==r&&G&&!ge?io.createElement(ki,{lessonId:i.id}):null,be=!this.props.isCourseNavigationEnabled&&ve,_e=!this.props.isCourseNavigationEnabled&&Ee.VO&&"preview-lesson"!==r&&G&&!he&&!(0,Z.AP)(),we=be?io.createElement(Mi,{allowTooltip:c,lessonId:i.id}):_e?io.createElement(Zi,null):null,ke=X===it.BL?no:Yi,xe=io.createElement(ke,{authorName:de,avatar:ce,color:D,course:l,description:i.description,labels:m,lessonHeaderColor:J,lessonHeaderImage:U,lessonHeaderStyle:H,lessonHeaderSize:q,lessonNumber:n,partnerContentAuthors:re,showAuthor:W,showLessonCount:Y,themeId:O,title:i.title,totalLessons:s},"audio"===i.mediaType&&i.mediaSrc&&io.createElement(Xt.Z,{id:"audio-".concat(i.cid),key:"audio-".concat(i.cid),labels:m,mediaSrc:i.mediaSrc}),!h&&io.createElement(sr,{id:i.id,items:i.items,lessonProgress:v,menuOpen:k,mobileMenuOpen:x,navigationType:Q,overlayNavIsOpen:S,scrollPosition:a,type:i.type})),Se=b()("lesson-header-wrap ",{"lesson-header-wrap--small":q===so&&!p,"lesson-header-wrap--large":q===ao&&!p,"lesson-header-wrap--mobile":p,"lesson-header-wrap--accent":H===uo,"lesson-header-wrap--black":H===co,"lesson-header-wrap--tint":H===vo,"lesson-header-wrap--dark":H===fo,"lesson-header-wrap--gray":H===po,"lesson-header-wrap--light":H===mo,"lesson-header-wrap--custom":H===lo,"lesson-header-wrap--image":H===ho,"lesson-header-wrap--bg-light":H===uo&&!oe||H===lo&&!ae,"lesson-header-wrap--bg-dark":H===uo&&oe||H===lo&&ae}),Te={authorName:de,avatar:ce,color:D,colorAccentTint:j,courseId:F,courseTitle:l.title,data:i,enableVideoPlaybackSpeed:B,handleStorylineFullscreen:f,isLesson:(0,Kt.tV)(i),labels:m,lessonHeader:xe,lessonHeaderImage:U,lessonHeaderStyle:H,lessonHeaderWrapClasses:Se,lessonHasContinues:me,lessonNumber:n,lessonProgress:v,loadMedia:this.state.hasTransitioned,location:y,match:w,menuButtons:E,menuOpen:k,mobileMenuOpen:x,mode:r,nextComponent:we,nextLesson:Gt()(null,"id",o),nextLessonRestrictions:pe,overlayNavIsOpen:S,partnerContent:ee,publishedAt:V,prefersKeyboardNavigation:C,previewType:T,previousComponent:ye,scrollPosition:a,showAuthor:W,showLessonCount:Y,showNavigationButtons:G,sidebarEnabled:N,tenantId:K,totalLessons:s};return io.createElement(g(),{title:(0,z.Z)(i.title+" - "+l.title)},io.createElement("div",{"data-lesson-id":w.params.id},this.renderLessonType({type:M,props:Te,course:l,model:i})))}}],[{key:"propTypes",get:function(){return{match:Ct().object.isRequired,navigateDirection:Ct().func,partnerContent:Ct().object,previewType:Ct().string,sidebarEnabled:Ct().bool}}}]),n}(io.Component),yo=It()((0,ro.tF)("rise-course-navigation","isCourseNavigationEnabled"),ro.lJ)(go),bo=n(73727),_o=n(74388),wo=n(67294),Eo=l()((0,m.createContext)(null),{displayName:"CompactNavControlContext"});function ko(e){var t=e.children,n=e.collapseNav,r=e.expandNav;return wo.createElement(Eo.Provider,{value:{expandNav:r,collapseNav:n}},t)}Eo.Consumer;var xo=m.useContext.bind(null,Eo),So=n(5785),To=n(22222);function Co(e){return null==e?void 0:e.search}function No(){return(0,Fe.v9)((function(e){return Co(e)}))}var Oo=(0,To.P1)((function(e){var t=Co(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 Ao(e){var t=(0,m.useMemo)((function(){return(0,To.P1)((function(e){return e}),(function(e,t){return Oo(t)}),(function(e,t){return null==t?void 0:t[e]}))}),[]);return(0,Fe.v9)((function(n){return t(e,n)}))}var Po=(0,G.Mw)("NavCompactHeaderCounter",(function(e){var t,n,r,i=e.className,o=void 0===i?"":i,a=e.lessonPosition,s=e.labelLessonName,u=e.labelLessonPreposition,c=e.totalLessons;return a<=0?null:m.createElement("div",{className:"".concat(o," nav-compact__header-counter")},ee()(t=ee()(n=ee()(r="".concat(s," ")).call(r,a," ")).call(n,u," ")).call(t,c))})),Lo=(0,G.Mw)("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,c=e.navExpanded;return m.createElement("div",{className:"".concat(n," nav-compact__header-progress")},m.createElement("div",{className:i},u),m.createElement(_o.Z,{"aria-hidden":c,"aria-label":u,color:a,progress:s,runnerClass:r,trackClass:o}))}));var Io=(0,Fe.$j)((function(){var e=(0,We.M0)();return function(t){var n=(0,ze.Oe)(t),r=(0,He._v)(t),i=(0,Ve.b)(t),o=(0,We.Eb)(t),a=e(t),s=(0,ze.zP)(t),u=Co(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,c=e.labelLessonPreposition,l=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(0,Ki.I)(p)}),[p]),_=(0,m.useMemo)((function(){return(0,Ki.tc)(p)}),[p]),w=(0,m.useMemo)((function(){return(0,Ki.We)(p)}),[p]),E=(0,m.useMemo)((function(){return(0,H.LI)(r)}),[r]),k=xo(),x=(0,m.useCallback)((function(){a?k.collapseNav():k.expandNav()}),[a,k]),S=ee()(t="".concat(h,"% ")).call(t,s),T=a?"Collapse course outline":"Expand course outline",C=b()("nav-compact__header",{"nav-compact__header--collapsed":!a,"nav-compact__header--dark":y,"nav-compact__header--light":!y,"nav-compact__header--accent":w}),N=b()("nav-compact__header-image",{"nav-compact__header-image--collapsed":!a}),O=b()("nav-compact__header-inner",{"nav-compact__header-inner--dark":y,"nav-compact__header-inner--accent":w,"nav-compact__header-inner--accent-dark":w&&E,"nav-compact__header-inner--accent-light":w&&!E,"nav-compact__header-inner--light":!y,"nav-compact__header-inner--image":_}),A=b()("nav-compact__header-control",{"nav-compact__header-control--image":_,"nav-compact__header-control--dark":y&&!_}),P=b()("brand--head","nav-compact__header-title-link",{"nav-compact__header-title-link--collapsed":!a}),L=b()("nav-compact__header-progress-text",{"nav-compact__header-progress-text--collapsed":!a}),I=b()("nav-compact__header-progress-track",{"nav-compact__header-progress-track--collapsed":!a,"nav-compact__header-progress-track--image":_,"nav-compact__header-progress-track--accent":w,"nav-compact__header-progress-track--dark":y}),M=b()("nav-compact__header-progress-runner",{"nav-compact__header-progress-runner--collapsed":!a,"nav-compact__header-progress-runner--image":_,"nav-compact__header-progress-runner--accent":w}),R=b()("nav-compact__header-strip",{"nav-compact__header-strip--accent":w,"nav-compact__header-strip--accent-dark":w&&E,"nav-compact__header-strip--accent-light":w&&!E}),D=(0,m.useCallback)((function(){o((0,So.Nk)(!v))}),[o,v]);return m.createElement("section",{"aria-label":"Course Information",className:C,style:{color:r}},_&&i&&m.createElement("div",{className:N,style:{backgroundImage:i}}),m.createElement("div",{className:O},m.createElement("div",{className:R},m.createElement("div",{className:"nav-compact__header-controls"},n&&"restricted"!==f&&a&&m.createElement("button",{"aria-label":"Show Search Bar",className:"".concat(A," nav-compact__header-search"),onClick:D,type:"button"},m.createElement(pe.HN,{className:"nav-compact__header-control-icon nav-compact__header-search-icon"})),m.createElement("button",{"aria-controls":"nav-compact-outline","aria-label":T,"aria-expanded":a,className:"".concat(A," nav-compact__header-toggle"),onClick:x,type:"button"},a&&m.createElement(pe._M,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}),!a&&m.createElement(pe.Kh,{className:"nav-compact__header-control-icon nav-compact__header-toggle-icon"}))),m.createElement(Po,{lessonPosition:l,labelLessonName:u,labelLessonPreposition:c,totalLessons:d.length})),m.createElement("div",{className:"nav-compact__header-title"},m.createElement(bo.rU,{className:P,to:"/"},g)),m.createElement(Lo,{classProgressRunner:M,classProgressText:L,classProgressTrack:I,color:r,percentComplete:h,percentCompleteText:S,navExpanded:a})))})),Mo=n(7199);function Ro(e){var t,n=e.id,r=e.isEnabled,i=e.isSectionLesson,o=e.last,a=(0,ze.Tn)().navigationStyle,s=(null!==(t=(0,We.RN)(n))&&void 0!==t?t:{}).title,u=(0,Qe.Z)(),c=(0,We.LY)(n),l=(0,m.useMemo)((function(){return(0,Ki.I)(a)}),[a]),d=n===u,f=(0,Mo.$G)(s||"",45),p=(0,m.useState)(!1),h=(0,Ke.Z)(p,2),v=h[0],g=h[1],y=(0,m.useCallback)((function(){return g(!0)}),[]),b=(0,m.useCallback)((function(){return g(!1)}),[]),_=i?"nav-compact__outline-section-item":"nav-compact__outline-item",w=m.createElement(rt,{canComplete:c,isDark:l,id:n,isEnabled:r,isTooltipVisible:v,onShowTooltip:y,onHideTooltip:b,scope:it.Jg.COMPACT});return m.createElement("li",{className:"nav-compact__outline-list-item",role:"listitem"},m.createElement(Je.Z,{className:_,dark:l,isCurrentLesson:d,isTooltipEnabled:!c,last:o,lessonId:n,onHideProgressTooltip:b,onShowProgressTooltip:y,showProgressDelay:0,tooltipClassName:"".concat(_,"-tooltip")},f,!c&&w),c&&w)}var Do=(0,ne.Z)("nav-compact"),jo=function(e){var t=e.id,n=(0,ze.Tn)().navigationStyle,r=(0,We.RN)(t),i=null==r?void 0:r.title,o=(0,m.useMemo)((function(){return(0,Ki.I)(n)}),[n]),a=Do("outline-section-empty",{dark:o,light:!o});return m.createElement("div",{className:a},m.createElement("span",null,i))},Zo=n(98696);var Bo=(0,Fe.$j)((function(){var e=(0,We.oy)();return function(t,n){var r=(0,ze.Oe)(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=(0,m.useState)(!0),u=(0,Ke.Z)(s,2),c=u[0],l=u[1],d=(0,m.useState)(),f=(0,Ke.Z)(d,2),p=f[0],h=f[1],v=(0,m.useRef)(),g=(0,m.useMemo)((function(){return(0,Ki.I)(i)}),[i]),y="sublistCompact-".concat(t),_=b()("nav-compact__outline-section-toggle-icon",{"nav-compact__outline-section-toggle-icon--collapsed":!c,"nav-compact__outline-section-toggle-icon--dark":g,"nav-compact__outline-section-toggle-icon--light":!g}),w=b()("nav-compact__outline-section-list",{"nav-compact__outline-section-list--collapsed":!c}),E=b()("nav-compact__outline-section-toggle",{"nav-compact__outline-section-toggle--collapsed":!c,"nav-compact__outline-section-toggle--dark":g,"nav-compact__outline-section-toggle--light":!g}),k=(0,m.useCallback)((function(){l((function(e){return!e}))}),[]);return(0,m.useLayoutEffect)((function(){var e=setTimeout((function(){v.current&&h(v.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":y,"aria-expanded":c,className:E,onClick:k,tabIndex:n?void 0:-1,type:"button"},m.createElement("span",{className:"nav-compact__outline-section-toggle-text"},a),m.createElement(pe.O$,{className:_})),m.createElement(Zo.Qt,{inert:!c},m.createElement("ol",{"aria-hidden":!c||void 0,className:w,id:y,ref:v,role:"list",style:{maxHeight:p}},fe()(r).call(r,(function(e,t){return m.createElement(Ro,{id:e,isEnabled:n&&c,isSectionLesson:!0,key:e,last:t===r.length-1})})))))})),Fo=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=(0,Re.Z)(r),o=i[0],a=Be()(i).call(i,1),s="nav-compact__outline-item nav-compact__outline-section";return jt()(a)?m.createElement("li",{className:s,role:"listitem"},m.createElement(jo,{id:o})):m.createElement("li",{className:s,role:"listitem"},m.createElement(Bo,{id:o,index:t,isEnabled:n,lessonIds:a}))},Uo=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return(0,We.Xc)(r)?m.createElement(Fo,{index:t,isEnabled:n,lessonIds:r}):fe()(r).call(r,(function(e,t){return m.createElement(Ro,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})}))},qo=(0,G.Mw)("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(0,Ki.I)(a)}),[a]),u=(0,m.useMemo)((function(){return(0,yi.LI)(t)}),[t]),c=b()(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:c,id:"nav-compact-outline",style:{color:t}},(0,yi.Dw)(o)&&m.createElement("ol",{className:"nav-compact__outline-list",role:"list"},fe()(o).call(o,(function(e,t){return jt()(e)?null:m.createElement(Uo,{index:t,isEnabled:i,key:t,lessonIds:e})}))))}));var zo=(0,Fe.$j)((function(e){var t=(0,ze.Oe)(e),n=(0,We.NS)(e);return{color:t.color,lessonIdGroups:n,navigationStyle:t.navigationStyle}}))(qo),Ho=(0,ne.Z)("nav-compact"),Vo="nav-content-compact";var Wo=It()((0,Fe.$j)((function(e){var t=(0,ze.Oe)(e).navigationStyle,n=function(e){var t,n,r;return"FULL"===(0,ze.Oe)(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)((function(e,t){var n=e.navigationStyle,r=e.translateY,i=e.isExpanded,o=(0,m.useMemo)((function(){return(0,Ki.I)(n)}),[n]),a=(0,m.useMemo)((function(){return(0,Ki.We)(n)}),[n]),s=Ho({collapsed:!i,dark:o,"dark-accent":o&&a,light:!o,"light-accent":!o&&a}),u=Ho("wrap",{collapsed:!i}),c={transform:"translateY(".concat(r,"px)")};return m.createElement("nav",{"aria-label":"Course Navigation",className:s,id:Vo,ref:t,style:c},m.createElement("div",{className:u},m.createElement(Io,{isExpanded:i}),m.createElement(Zo.Qt,{inert:!i},m.createElement(zo,{isEnabled:i}))))})),Yo=n(12868),Go=n(97809),Ko=n(14938),$o=n(67294),Xo=l()((0,m.createContext)(null),{displayName:"OverlayNavControlContext"});function Jo(e){var t=e.children,n=e.closeNav,r=e.openNav,i=(0,m.useState)(!1),o=(0,Ke.Z)(i,2),a=o[0],s=o[1],u=(0,m.useCallback)((function(){s(!0)}),[]),c=(0,m.useCallback)((function(){s(!1)}),[]);return(0,Go.Z)(Ko.Dq,(0,m.useCallback)(r,[r])),(0,Go.Z)(Ko.Ht,(0,m.useCallback)(n,[n])),$o.createElement(Xo.Provider,{value:{closeNav:n,openNav:r,openSearch:u,closeSearch:c,searchActive:a}},t)}Xo.Consumer;var Qo=m.useContext.bind(null,Xo),ea=(0,ne.Z)("nav-overlay"),ta=function(e){var t,n=e.className,r=(0,ze.Tn)().color,i=(0,Ve.Z)().lessonComplete,o=(0,He.ye)(),a=ee()(t="".concat(o,"% ")).call(t,i),s=ea("header-progress-runner"),u=ea("header-progress-text"),c=ea("header-progress-track");return m.createElement("div",{className:ea("header-progress").mix(n)},m.createElement(_o.Z,{"aria-hidden":!0,color:r,progress:o,runnerClass:s,trackClass:c}),m.createElement("div",{className:u},a))},na=(0,ne.Z)("nav-overlay"),ra=function(e){var t=e.isExpanded,n=(0,ze.Tn)(),r=n.allowSearch,i=n.navigationMode,o=n.title,a=Qo(),s=(0,m.useRef)();return(0,m.useEffect)((function(){setTimeout((function(){var e,n;t&&(null===(e=s.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:na("header-container")},m.createElement("div",{className:na("header-controls")},m.createElement("button",{"aria-controls":"nav-content-overlay","aria-label":"Close overlay navigation",className:na("header-close-btn"),onClick:a.closeNav,ref:s,type:"button"},m.createElement(pe.X,{className:na("header-close-icon")})),r&&"restricted"!==i&&m.createElement("button",{"aria-label":"Show Search Bar",type:"button",onClick:a.openSearch},m.createElement(pe.HN,{className:na("header-search-icon")}))),m.createElement("div",{className:na("header-title-progress-container")},m.createElement("div",{className:na("header-title")},m.createElement(bo.rU,{className:na("header-title-link").mix("brand--head"),to:"/"},o)),m.createElement(ta,null))))},ia=["icon"],oa=function(e){var t=e.icon,n=(0,je.Z)(e,ia);switch(t){case it.IU.INTERACTION:return m.createElement(pe.Xh,n);case it.IU.QUIZ:return m.createElement(pe.Fm,n);case it.IU.VIDEO:return m.createElement(pe.z1,n);default:return m.createElement(pe.Ni,n)}},aa=(0,ne.Z)("nav-overlay"),sa=(0,G.Mw)("NavOverlayOutlineLesson",(function(e){var t=e.first,n=e.id,r=e.isEnabled,i=e.isSectionLesson,o=e.last,a=(0,ze.Tn)().navigationStyle,s=(0,We.RN)(n),u=s.icon,c=s.title,l=Qo(),d=(0,We.LY)(n),f=(0,Ki.I)(a),p=aa("outline-item",{section:i}),h=aa("outline-item-link-icon",{dark:f,light:!f,quiz:"Quiz"===u}),v=(0,m.useCallback)((function(){return l.closeNav()}),[l]),g=(0,m.useState)(!1),y=(0,Ke.Z)(g,2),b=y[0],_=y[1],w=(0,m.useCallback)((function(){return _(!0)}),[]),E=(0,m.useCallback)((function(){return _(!1)}),[]),k=m.createElement(rt,{canComplete:d,id:n,isDark:f,isEnabled:r,isTooltipVisible:b,onHideTooltip:E,onShowTooltip:w,scope:it.Jg.OVERLAY});return m.createElement("li",{className:aa("outline-list-item",{first:t,last:o}),role:"listitem"},m.createElement(Je.Z,{className:p.toString(),dark:f,isTooltipEnabled:!d,lessonId:n,onHideProgressTooltip:E,onNavigate:v,onShowProgressTooltip:w,showProgressDelay:null,tooltipClassName:aa("outline-item-tooltip").toString()},m.createElement(oa,{className:h,icon:u}),m.createElement("span",{className:aa("outline-lesson-title")},c),!d&&k),d&&k)})),ua=(0,ne.Z)("nav-overlay"),ca=function(e){var t=e.id,n=(0,We.RN)(t).title;return m.createElement("span",{className:ua("outline-section-text")},n)},la=(0,ne.Z)("nav-overlay"),da=function(e){var t=e.id,n=e.isEnabled,r=e.lessonIds,i=(0,We.RN)(t).title,o=(0,m.useRef)();return m.createElement(m.Fragment,null,m.createElement("span",{className:la("outline-section-text")},i),m.createElement("div",{className:la("outline-section-divider")}),m.createElement("ol",{className:la("outline-section-list"),ref:o,role:"list"},fe()(r).call(r,(function(e,t){return m.createElement(sa,{id:e,isEnabled:n,isSectionLesson:!0,key:e,last:t===r.length-1})}))))},fa=(0,ne.Z)("nav-overlay"),pa=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=(0,Re.Z)(r),o=i[0],a=Be()(i).call(i,1),s=fa("outline-item").mix("nav-overlay__outline-section");return jt()(a)?m.createElement("li",{className:s,role:"listitem"},m.createElement(ca,{id:o})):m.createElement("li",{className:s,role:"listitem"},m.createElement(da,{id:o,isEnabled:n,index:t,lessonIds:a}))},ha=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return(0,We.Xc)(r)?m.createElement(pa,{index:t,isEnabled:n,lessonIds:r}):fe()(r).call(r,(function(e,t){return m.createElement(sa,{id:e,isEnabled:n,isSectionLesson:!1,key:e,first:0===t,last:t===r.length-1})}))},ma=(0,ne.Z)("nav-overlay"),va=(0,G.Mw)("NavOverlayOutline",(function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=(0,ze.Tn)(),o=i.color,a=i.navigationStyle,s=(0,We.qg)(),u=(0,Ki.I)(a),c=a===te.Nu.LIGHT,l=(0,Ki.tc)(a),d=a===te.Nu.ACCENT,f=a===te.Nu.TINT,p=a===te.Nu.GRAY,h=ma("outline",{"accent-full":d,"accent-tint":f,dark:u,gray:p,image:l,light:c}).mix(n);return m.createElement("section",{"aria-label":"Course Outline",className:h,id:"nav-compact-outline",style:{color:o}},(0,yi.Dw)(s)&&m.createElement("ol",{className:ma("outline-list"),role:"list"},fe()(s).call(s,(function(e,t){return jt()(e)?null:m.createElement(ha,{index:t,isEnabled:r,key:"lessonIdGroup-".concat(t),lessonIds:e})}))))})),ga=n(27744),ya=Xe.ZP.animateScroll,ba=(0,ne.Z)("nav-overlay"),_a=function(){var e=(0,Fe.I0)(),t=Qo(),n=(0,ze.Tn)().lessons,r=(0,m.useState)(""),i=(0,Ke.Z)(r,2),o=i[0],a=i[1],s=(0,m.useRef)(),u=(0,Ve.Z)(),c=null==u?void 0:u.search,l=(0,m.useCallback)((function(){t.closeSearch(),e([(0,So.v2)(!0),(0,So.Nk)(!1),(0,So.Cl)(null)])}),[e,t]),d=(0,m.useCallback)((function(){var e,t;a(""),null===(e=s.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);(0,m.useEffect)((function(){var e,t;null===(e=s.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),[]);var f=(0,m.useCallback)((function(e){(0,Yo.$o)(e)&&l()}),[l]);(0,un.default)("keydown",f);var p=(0,m.useCallback)((function(e){a(e.target.value)}),[]),h=(0,m.useCallback)((function(r){if(r.preventDefault(),o){t.closeNav(),t.closeSearch(),(0,ga.Z)(o,n,(function(t,n,r){e([(0,So.Cl)(t),(0,So.lp)(n),(0,So.sU)(r),(0,So.Nk)(!0)]),ya.scrollToTop({duration:500,smooth:!0})}))}}),[e,t,n,o]);return m.createElement("div",{className:ba("search")},m.createElement("div",{className:ba("search-header")},m.createElement("button",{className:ba("search-close-btn"),onClick:l,type:"button"},m.createElement(pe.X,{className:ba("search-close-icon")}))),m.createElement("div",{className:ba("search-body")},m.createElement("form",{autoComplete:"off",onSubmit:h},m.createElement("div",{className:ba("search-container")},m.createElement(pe.HN,{className:ba("search-icon")}),m.createElement("input",{"aria-label":"Search",className:ba("search-input").mix("brand--ui"),name:"search",onChange:p,placeholder:c,ref:s,type:"input",value:o}),o&&m.createElement("button",{className:ba("search-clear-btn"),onClick:d,type:"button"},m.createElement(pe.X,{className:ba("search-clear-icon").toString()}))),m.createElement("div",{className:ba("search-actions")},m.createElement("button",{className:ba("search-submit-btn").mix("brand--ui"),type:"submit"},c)))))};var wa=(0,ne.Z)("nav-overlay"),Ea="nav-content-overlay",ka=function(e){var t=e.isExpanded,n=Qo(),r=(0,We.qg)()[0],i=(0,We.Xc)(r),o=(0,m.useCallback)((function(e){(0,Yo.$o)(e)&&n.closeNav()}),[n]);(0,un.default)("keydown",o);var a=wa("body",{section:i});return m.createElement(m.Fragment,null,m.createElement(ra,{isExpanded:t}),m.createElement("div",{className:a},m.createElement(va,{isEnabled:t})))},xa=function(e){var t,n=e.isImage,r=e.children,i=(null!==(t=(0,ze.Tn)())&&void 0!==t?t:{}).coverImage,o=i.alpha,a=i.media,s=n?(0,Ki.A5)({alpha:o,media:a}):null;return m.createElement("div",{className:wa("content",{graphic:n}),"data-nav-scrollable":!0,id:"nav-content",style:s},r)},Sa=function(e){var t=e.isExpanded,n=(0,ze.Tn)(),r=Qo(),i=n.color,o=n.colorAccentTint,a=n.navigationStyle,s=a===te.Nu.ACCENT,u=a===te.Nu.TINT,c=(0,H.LI)(i),l=(0,Ki.I)(a),d=a===te.Nu.GRAY,f=a===te.Nu.LIGHT,p=(0,Ki.tc)(a),h=wa({"accent-full-dark":s&&c,"accent-full-light":s&&!c,"accent-tint":u,collapsed:!t,dark:l,light:f,gray:d,image:p}),v=(0,m.useMemo)((function(){return u?{color:o}:s?{color:i}:null}),[i,o,u,s]),g=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'),r=n[0],i=n[n.length-1];(0,Yo.id)(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("nav",{id:Ea,"aria-label":"Course Navigation","aria-hidden":!t,className:h,ref:g,role:"dialog",style:v},m.createElement(xa,{isImage:p},r.searchActive?m.createElement(_a,null):m.createElement(ka,{isExpanded:t})))},Ta=n(67294),Ca=l()((0,m.createContext)(null),{displayName:"SidebarNavControlContext"});function Na(e){var t=e.children,n=e.openMenu,r=e.closeMenu;return(0,Go.Z)(Ko.Ag,Ta.useCallback(n,[n])),Ta.createElement(Ca.Provider,{value:{openMenu:n,closeMenu:r}},t)}Ca.Consumer;var Oa=m.useContext.bind(null,Ca),Aa=n(37176),Pa=(0,ne.Z)("nav-sidebar-search"),La=(0,G.Mw)("NavSidebarSearch",(function(e){var t=e.className,n=void 0===t?"":t,r=e.isEnabled,i=(0,Fe.I0)(),o=(0,Aa.Z)(r),a=(0,ze.Tn)().lessons,s=No(),u=(0,Ve.Z)(),c=(0,m.useRef)(),l=Pa({disabled:!r}).mix(n),d=Pa("icon"),f=Pa("input"),p=Pa("close"),h=Pa("close-icon"),v=null==s?void 0:s.term,g=r?void 0:"disabled",y=(0,m.useState)(""),b=(0,Ke.Z)(y,2),_=b[0],w=b[1],E=null==u?void 0:u.search,k=(0,m.useCallback)((function(){i([(0,So.v2)(!0),(0,So.Nk)(!1),(0,So.Cl)(null)]),w("")}),[i]),x=(0,m.useCallback)((function(e){(0,Yo.$o)(e)&&k()}),[k]),S=(0,m.useCallback)((function(e){null!=v&&i((0,So.Cl)(null)),w(e.target.value)}),[i,v]),T=(0,m.useCallback)((function(e){e.preventDefault();(0,ga.Z)(_,a,(function(e,t,n){return i([(0,So.Cl)(e),(0,So.lp)(t),(0,So.sU)(n)])}))}),[i,a,_]);return(0,m.useEffect)((function(){!o&&r&&c.current.focus()}),[r,o]),(0,m.useEffect)((function(){v&&v!==_&&w(v)}),[_,v]),m.createElement("form",{autoComplete:"off",className:l,onSubmit:T},m.createElement(pe.HN,{className:d}),m.createElement("input",{"aria-label":"Search",className:f,disabled:g,name:"search",onChange:S,onKeyDown:x,placeholder:E,ref:c,type:"search",value:_}),m.createElement("button",{"aria-label":"Close the search form",className:p,onClick:k,type:"reset"},m.createElement(pe.X,{className:h})))})),Ia=n(48277),Ma=n(1187),Ra=n(70091);function Da(e,t){var n=hr()(e);if(vr()){var r=vr()(e);t&&(r=xt()(r).call(r,(function(t){return yr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(n),!0).forEach((function(t){(0,Et.Z)(e,t,n[t])})):_r()?Object.defineProperties(e,_r()(n)):Da(Object(n)).forEach((function(t){Object.defineProperty(e,t,yr()(n,t))}))}return e}var Za=(0,ne.Z)("nav-sidebar-header"),Ba=(0,ne.Z)("nav-sidebar-header-ghost"),Fa=(0,G.Mw)("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(_o.Z,{"aria-hidden":"true",color:o,progress:a,runnerClass:n,trackClass:i}),m.createElement("div",{className:r},s))})),Ua=(0,G.Mw)("NavSidebarHeader",(function(e){var t,n,r=e.className,i=e.hasOverlay,o=e.isCompact,a=e.isEnabled,s=e.navRefWidth,u=e.setIsCompact,c=(0,Fe.I0)(),d=(0,m.useState)(""),f=(0,Ke.Z)(d,2),p=f[0],h=f[1],v=(0,m.useState)({height:0,width:0}),g=(0,Ke.Z)(v,2),y=g[0],b=g[1],_=(0,m.useState)(y),w=(0,Ke.Z)(_,2),E=w[0],k=w[1],x=(0,m.useState)(y),S=(0,Ke.Z)(x,2),T=S[0],C=S[1],N=(0,Fe.v9)((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})),O=(0,m.useRef)(),A=(0,m.useRef)(),P=(0,m.useRef)(),L=(0,m.useState)(null),I=(0,Ke.Z)(L,2),M=I[0],R=I[1],D=(0,ze.Tn)(),j=(0,Ve.Z)(),Z=(0,He.ye)(),B=No(),F=(0,Ra.dD)(),U=(null==D?void 0:D.allowSearch)&&"restricted"!==(null==D?void 0:D.navigationMode),q=null==D?void 0:D.color,z=null==D?void 0:D.coverImage,H=null==D?void 0:D.navigationStyle,V=null==D?void 0:D.title,W=(0,m.useMemo)((function(){return(0,Ki.tc)(H)}),[H]),Y=(0,m.useMemo)((function(){return(0,yi.LI)(q)}),[q]),G=(0,Ma.a7)(),K=(0,Aa.Z)(B),$=null!==(t=(null==B?void 0:B.active)||G)&&void 0!==t&&t,X=(0,m.useState)(!0),J=(0,Ke.Z)(X,2),Q=J[0],te=J[1],ne=(0,m.useState)(null),re=(0,Ke.Z)(ne,2),ie=re[0],oe=re[1],ae=Za({compact:o,searching:$,transition:Q}).mix(r),se=Za("inner",{compact:o,"dark-accent":Y,"light-accent":!Y}),ue=Za("content",{compact:o,hidden:$}),ce=Za("graphic",{"dark-accent":Y,image:W,"light-accent":!Y}),le=Za("progress-runner",{image:W}),de=Za("progress-text",{compact:o,image:W}),fe=Za("progress-track",{image:W}),he=Za("search-area",{hidden:!$}),me=Za("search-btn",{hidden:$}),ve=Za("search-icon",{"light-accent":!Y,"dark-accent":Y,image:W}),ge=Za("title",{compact:o,image:W}).mix("brand--head"),ye=Ba({compact:o,searching:$}),be=ee()(n="".concat(Z,"% ")).call(n,null==j?void 0:j.lessonComplete),_e=a&&!$?void 0:-1,we=a&&!$?void 0:-1,Ee=qi()(["media","image","alt"],z),ke=(0,m.useMemo)((function(){return(0,Ia.NQ)(Ee)}),[Ee]),xe=(0,m.useMemo)((function(){return(0,Ia.qU)(ke)}),[ke]),Se=(0,m.useMemo)((function(){var e={};return W&&l()(e,(0,Ki.A5)(ja(ja({},z),{},{hasOverlay:null==i?z.hasOverlay:i}))),$&&(e.height=E.height),e}),[z,W,i,$,E.height]),Te=(0,m.useMemo)((function(){var e={};return o&&(e.bottom="calc(100% - ".concat(N,"px)"),e.width=s||0,e.transition="width 0.3s",a||(e.transition="width 0.3s",e.width="0rem")),y.height&&(e.height=y.height,e.overflow="hidden",o&&(e.transition="height 0.3s ease .1s, transform 0.3s ease .1s")),e}),[o,a,s,y.height,N]);m.useEffect((function(){h(o&&F?(0,Mo.$G)(V,45):V)}),[V,o,F]);var Ce=$?void 0:{height:T.height},Ne=(0,m.useCallback)((function(){k(y),c((0,So.Nk)(!0))}),[c,y]);(0,m.useLayoutEffect)((function(){oe(document.querySelector("[data-nav-scrollable]"))}),[]);var Oe=(xi(O,{root:ie,threshold:0})||{}).isIntersecting,Ae=void 0!==Oe&&Oe,Pe=(0,Aa.Z)(Ae);(0,m.useEffect)((function(){Pe&&!Ae?u(!0):!Pe&&Ae&&u(!1)}),[Ae,Pe,u]);var Le=(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};b(r),k(r),o||C(r)}),[o,s]);(0,Sn.Z)(M,Le),(0,m.useLayoutEffect)((function(){var e,t=null==ie?void 0:ie.scrollTop;(ie||t>0)&&(ie.scrollTop=0);var n={height:null!==(e=null==M?void 0:M.scrollHeight)&&void 0!==e?e:0,width:null!=s?s:0};b(n),k(n),C(n)}),[ie,s,M]),(0,m.useEffect)((function(){U&&null!=K&&K.active&&!B.active&&A.current.focus()}),[U,B,K]),(0,m.useEffect)((function(){$?te(!0):o&&te(!1)}),[$,o]);var Ie=(0,m.useCallback)((function(e){if("lesson-link-item"===e.target.getAttribute("data-link")&&o){var t=M.getBoundingClientRect(),n=e.target.getBoundingClientRect();if(t.bottom>n.top){ie.scrollTop-=t.height-n.top+5}}}),[ie,o,M]);return(0,Go.Z)("focusin",Ie,ie),(0,m.useEffect)((function(){return h(V)}),[V]),m.createElement(m.Fragment,null,m.createElement("div",{className:ye,ref:O,style:Ce}),m.createElement("div",{className:ae,ref:P,style:Te},m.createElement("div",{className:se,ref:R,style:{color:q}},m.createElement("div",{"aria-label":ke,className:ce,role:xe,style:Se}),U&&m.createElement("button",{"aria-label":"Show search bar",className:me,onClick:Ne,ref:A,tabIndex:_e,type:"button"},m.createElement(pe.HN,{className:ve})),m.createElement("div",{className:he},m.createElement(La,{isEnabled:a&&$})),m.createElement("div",{className:ue},m.createElement(bo.rU,{className:ge,tabIndex:we,to:"/"},p),m.createElement(Fa,{classProgressRunner:le,classProgressText:de,classProgressTrack:fe,color:q,percentComplete:Z,percentCompleteText:be})))))})),qa=Ua,za=(0,ne.Z)("nav-sidebar");function Ha(e){var t,n,r=e.id,i=e.isEnabled,o=e.isSectionLesson,a=e.last,s=(0,ze.Tn)().navigationStyle,u=null!==(t=(0,We.RN)(r))&&void 0!==t?t:{},c=u.icon,l=u.title,d=Oa(),f=(0,Qe.Z)(),p=(0,Ma.gi)(),h=(0,We.LY)(r),v=r===f,g=(0,m.useMemo)((function(){return(0,Ki.I)(s)}),[s]),y=o?"nav-sidebar__outline-section-item":"nav-sidebar__outline-item",_=b()("".concat(y,"-link-icon"),(n={},(0,Et.Z)(n,"".concat(y,"-link-icon--dark"),g),(0,Et.Z)(n,"".concat(y,"-link-icon--light"),!g),n)),w=m.createElement(oa,{className:_,icon:c}),E=(0,m.useState)(!1),k=(0,Ke.Z)(E,2),x=k[0],S=k[1],T=(0,m.useCallback)((function(){return S(!0)}),[]),C=(0,m.useCallback)((function(){return S(!1)}),[]),N=m.createElement(rt,{canComplete:h,id:r,isDark:g,isEnabled:i,isTooltipVisible:x,onHideTooltip:C,onShowTooltip:T,scope:it.Jg.SIDEBAR});return m.createElement("li",{className:za("outline-list-item",{last:a}),role:"listitem"},m.createElement(Je.Z,{className:y,dark:g,isCurrentLesson:v,isTooltipEnabled:!h,lessonId:r,onHideProgressTooltip:C,onNavigate:function(){v&&p&&d.closeMenu()},onShowProgressTooltip:T,showProgressDelay:0,tooltipClassName:"".concat(y,"-tooltip")},w,l,!h&&N),h&&N)}var Va=(0,Fe.$j)((function(){var e=(0,We.oy)();return function(t,n){var r=(0,ze.Oe)(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(0,Ki.I)(t)}),[t]),i=b()("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 Wa=(0,Fe.$j)((function(){var e=(0,We.oy)();return function(t,n){var r=(0,ze.Oe)(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=(0,m.useState)(!0),c=(0,Ke.Z)(u,2),l=c[0],d=c[1],f=(0,m.useState)(),p=(0,Ke.Z)(f,2),h=p[0],v=p[1],g=(0,m.useRef)(),y=(0,m.useMemo)((function(){return(0,Ki.I)(o)}),[o]),_="sidebar-sublist-".concat(n),w=null===(t=g.current)||void 0===t?void 0:t.clientWidth,E=b()("nav-sidebar__outline-section-toggle-icon",{"nav-sidebar__outline-section-toggle-icon--collapsed":!l,"nav-sidebar__outline-section-toggle-icon--dark":y,"nav-sidebar__outline-section-toggle-icon--light":!y}),k=b()("nav-sidebar__outline-section-list",{"nav-sidebar__outline-section-list--collapsed":!l}),x=b()("nav-sidebar__outline-section-toggle",{"nav-sidebar__outline-section-toggle--dark":y,"nav-sidebar__outline-section-toggle--light":!y}),S=(0,m.useCallback)((function(){d((function(e){return!e}))}),[]);return(0,m.useLayoutEffect)((function(){var e=setTimeout((function(){g.current&&v(g.current.scrollHeight)}),0);return function(){clearTimeout(e)}}),[i.length,w,a]),m.createElement(m.Fragment,null,m.createElement("button",{"aria-label":"Toggle section: ".concat(s),"aria-controls":_,"aria-expanded":l,className:x,onClick:S,tabIndex:r?void 0:-1,type:"button"},m.createElement("span",{className:"nav-sidebar__outline-section-toggle-text"},s),m.createElement(pe.O$,{className:E})),m.createElement(Zo.Qt,{inert:!l},m.createElement("ol",{"aria-hidden":!l||void 0,className:k,id:_,ref:g,role:"list",style:{maxHeight:h}},fe()(i).call(i,(function(e,t){return m.createElement(Ha,{id:e,isEnabled:r&&l,isSectionLesson:!0,key:e,last:t===i.length-1})})))))})),Ya=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds,i=(0,Re.Z)(r),o=i[0],a=Be()(i).call(i,1),s="nav-sidebar__outline-item nav-sidebar__outline-section";return jt()(a)?m.createElement("li",{className:s,role:"listitem"},m.createElement(Va,{id:o})):m.createElement("li",{className:s,role:"listitem"},m.createElement(Wa,{id:o,index:t,isEnabled:n,lessonIds:a}))},Ga=function(e){var t=e.index,n=e.isEnabled,r=e.lessonIds;return(0,We.Xc)(r)?m.createElement(Ya,{index:t,isEnabled:n,lessonIds:r}):fe()(r).call(r,(function(e,t){return m.createElement(Ha,{id:e,isEnabled:n,isSectionLesson:!1,key:e,last:t===r.length-1})}))},Ka=(0,G.Mw)("NavSidebarOutline",(function(e){var t=e.className,n=void 0===t?"":t,r=e.color,i=e.isEnabled,o=e.lessonIdGroups,a=e.navigationStyle,s=(0,Aa.Z)(i),u=(0,m.useState)(!i),c=(0,Ke.Z)(u,2),l=c[0],d=c[1],f=(0,m.useRef)(),p=(0,m.useMemo)((function(){return(0,Ki.I)(a)}),[a]),h=(0,m.useMemo)((function(){return(0,yi.LI)(r)}),[r]),v=b()(n,"nav-sidebar__outline",{"nav-sidebar__outline--dark":p,"nav-sidebar__outline--light":!p,"nav-sidebar__outline--hidden":l,"nav-sidebar__outline--safari":M.Z.isSafari,"nav-sidebar__outline--accent-light":!h,"nav-sidebar__outline--accent-dark":h}),g=b()("nav-sidebar__outline-list",{"nav-sidebar__outline-list--disabled":!i,"nav-sidebar__outline-list--hidden":l});return(0,m.useEffect)((function(){var e;return s&&!i?e=setTimeout((function(){d(!0)}),350):!s&&i&&l&&d(!1),function(){clearTimeout(e)}}),[i,l,s]),m.createElement("section",{"aria-label":"Course Outline",className:v,id:"nav-sidebar-outline",style:{color:r}},(0,yi.Dw)(o)&&m.createElement("ol",{className:g,ref:f,role:"list"},fe()(o).call(o,(function(e,t){return jt()(e)?null:m.createElement(Ga,{index:t,isEnabled:i,key:t,lessonIds:e})}))))}));var $a=(0,Fe.$j)((function(e){var t=(0,ze.Oe)(e),n=(0,We.NS)(e);return{color:t.color,lessonIdGroups:n,navigationStyle:t.navigationStyle}}))(Ka),Xa=(0,ot.complement)(ot.isEmpty),Ja=(0,ot.complement)(ot.isNil),Qa=n(23106),es=(0,ne.Z)("nav-sidebar-result"),ts=function(e){var t,n,r,i=e.id,o=e.index,a=e.isEnabled,s=(0,ze.Tn)(),u=(0,Ve.Z)(),c=(0,E.$B)(),l=Ao(i),d=(null==c||null===(t=c.params)||void 0===t?void 0:t.id)===i,f=d?"page":void 0,p=null==l?void 0:l.icon,h=null==l?void 0:l.title,v=null!==(n=null==l?void 0:l.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(0,Ki.I)(b)}),[b]),x=es(),S=es("inner",{active:d}),T=es("link",{dark:k,light:!k}),C=es("icon"),N=es("title"),O=es("count");return m.createElement("li",{className:x,role:"listitem",style:w},m.createElement("div",{className:S,style:{color:y}},m.createElement(bo.rU,{"aria-current":f,className:T,tabIndex:_,to:(0,Qa.Jv)(i)},m.createElement(oa,{className:C,icon:p}),m.createElement("span",{className:N},h),m.createElement("span",{className:O},ee()(r="".concat(v," ")).call(r,g)))))},ns=(0,ne.Z)("nav-sidebar-results"),rs=function(e){var t,n,r,i=e.isEnabled,o=(0,ze.Tn)(),a=No(),s=(0,Ve.Z)(),u=null!==(t=null==a?void 0:a.activeLessons)&&void 0!==t?t:[],c=null==a?void 0:a.term,l=Xa(u),d=Ja(c),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(0,Ki.I)(p)}),[p]),v=ns(),g=ns("message",{dark:h,light:!h}),y=ns("term"),b=ns("list");return m.createElement("div",{className:v},!l&&d&&m.createElement("div",{className:g},f," ",m.createElement("span",{className:y},'"',c,'"')),l&&d&&m.createElement("ol",{className:b,role:"list"},fe()(r=xt()(u).call(u,Kt.T0)).call(r,(function(e,t){return m.createElement(ts,{key:e.id,isEnabled:i,id:e.id,index:t})}))))},is=(0,ne.Z)("nav-sidebar"),os="nav-content-sidebar",as=function(e){var t,n=e.isExpanded,r=(0,ze.Tn)(),i=No(),o=(0,m.useState)(!1),a=(0,Ke.Z)(o,2),s=a[0],u=a[1],c=(0,m.useState)(0),l=(0,Ke.Z)(c,2),d=l[0],f=l[1],p=(0,m.useRef)(null);(0,m.useLayoutEffect)((function(){var e;p&&null!=p&&p.current&&f(null===(e=p.current)||void 0===e?void 0:e.scrollWidth)}),[s,n,p,v,f]);var h=null==r?void 0:r.navigationStyle,v=null!==(t=null==i?void 0:i.active)&&void 0!==t&&t,g=v||n?void 0:"true",y=(0,m.useMemo)((function(){return(0,Ki.I)(h)}),[h]),b=(0,m.useMemo)((function(){return(0,Ki.tc)(h)}),[h]),_=is(),w=is("header"),E=is("body"),k=is("content",{collapsed:!n,dark:y,light:!y,image:b,searching:v});return m.createElement("nav",{"aria-hidden":g,"aria-label":"Course Navigation",className:_},m.createElement("div",{className:k,"data-nav-scrollable":!0,id:os},m.createElement(qa,{className:w,isCompact:s,isEnabled:n,navRefWidth:d,setIsCompact:u}),m.createElement("div",{className:E,ref:p},m.createElement($a,{isEnabled:n&&!v}),m.createElement(rs,{isEnabled:n&&v}))))},ss=n(87699),us=n(11707),cs=n(74081);function ls(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var ds=cs.S.learn.course.lesson,fs=function(e){(0,a.Z)(n,e);var t=ls(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.children;return m.createElement("div",{className:t,"data-ba":ds.container,"data-lesson":!0,ref:this.props.contentRef},n)}}]),n}(m.Component),ps=function(e){(0,a.Z)(n,e);var t=ls(n);function n(){return(0,r.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(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),hs=n(67294),ms=["children"],vs=function(e){var t=e.children;return hs.createElement("div",null,t)},gs=function(e){var t=e.children,n=(0,je.Z)(e,ms);return(0,ro.ye)("rise-course-navigation")?hs.createElement(vs,n,t):t};function ys(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var bs=zt()(2,(function(e){return"progress-summary"===e?Ot()(1/0):(0,$t.ym)(e)})),_s=Ut()(le()("type","section")),ws=function(e){(0,a.Z)(n,e);var t=ys(n);function n(e){var i,a;(0,r.Z)(this,n),a=t.call(this,e);var s=e.course,u=e.lessons,c=e.match.params;return a.refCompactNav=(0,m.createRef)(),a.refPageWrap=(0,m.createRef)(),a.refPageTop=(0,m.createRef)(),a.state={activeSections:fe()(i=xt()(u).call(u,(function(e){return"section"===e.type}))).call(i,(function(e){return e.id})),compactNavIsExpanded:!1,isProgressSummary:Ee.VO&&"progress-summary"===c.id,isPreviewLesson:"preview-lesson"===c.mode,lastScreen:null,menuDisabled:!1,menuIsOpen:(0,Ki.Kz)(s),mobileMenuIsOpen:!1,overlayNavIsOpen:!1,selectedIndex:bs(c.id)(u),xTouchDown:null,xTouchMove:null,yTouchDown:null,yTouchMove:null},a.root=window,a.closeMenu=a.closeMenu.bind((0,o.Z)(a)),a.handleCloseOverlayNav=a.handleCloseOverlayNav.bind((0,o.Z)(a)),a.handleOpenOverlayNav=a.handleOpenOverlayNav.bind((0,o.Z)(a)),a.handleCollapseCompactNav=a.handleCollapseCompactNav.bind((0,o.Z)(a)),a.handleExpandCompactNav=a.handleExpandCompactNav.bind((0,o.Z)(a)),a.handleFocusPageTop=a.handleFocusPageTop.bind((0,o.Z)(a)),a.openMenu=a.openMenu.bind((0,o.Z)(a)),a.handleLabelGraphicMarkerClick=a.handleLabelGraphicMarkerClick.bind((0,o.Z)(a)),a.handleMenuToggle=a.handleMenuToggle.bind((0,o.Z)(a)),a.handleNavHover=a.handleNavHover.bind((0,o.Z)(a)),a.handleNavigate=a.handleNavigate.bind((0,o.Z)(a)),a.getNavigateDirection=a.getNavigateDirection.bind((0,o.Z)(a)),a.handleNavigateTransitionEnd=a.handleNavigateTransitionEnd.bind((0,o.Z)(a)),a.handlePageWrapScroll=a.handlePageWrapScroll.bind((0,o.Z)(a)),a.handleStorylineFullscreen=a.handleStorylineFullscreen.bind((0,o.Z)(a)),a.renderCompact=a.renderCompact.bind((0,o.Z)(a)),a.renderOverlay=a.renderOverlay.bind((0,o.Z)(a)),a.renderSidebar=a.renderSidebar.bind((0,o.Z)(a)),a.setRefPageWrap=a.setRefPageWrap.bind((0,o.Z)(a)),a}return(0,i.Z)(n,[{key:"componentDidMount",value:function(){this.swipeEvents=(0,ss.Z)(this.node,this,this.handleMenuToggle,Function.prototype),this.displayFloatingButtons(),document.addEventListener("labeledGraphicMarkerClick",this.handleLabelGraphicMarkerClick)}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(e.match.params.id!==this.props.match.params.id){var n=Rt()((0,$t.qZ)(e.lessons,e.match.params.id),this.state.activeSections),r=Ee.VO&&"progress-summary"===e.match.params.id;this.setState({activeSections:n,isProgressSummary:r}),this.displayFloatingButtons()}var i=e.overlayAvailable&&e.search.active&&!this.props.search.active,o=e.compactAvailable&&e.search.active&&!this.props.search.active,a=e.compactAvailable&&e.isMobile&&!this.props.isMobile;(o||a||i)&&this.setState({menuIsOpen:!e.isMobile,mobileMenuIsOpen:e.isMobile,xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null},(function(){t.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 bs(e.id)(this.props.lessons)<t?"page-transition-back":"page-transition"}},{key:"handleFocusPageTop",value:function(){var e,t;this.props.course.type===it.BL||(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=bs(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=bs(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:(0,us.pk)()&&!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,St.findDOMNode)(e):null;this.refPageWrap.current=t}},{key:"displayFloatingButtons",value:function(){var e=this.props.match.params.id,t=this.refPageWrap.current;if(t){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,c=r.lessonHeaderStyle,l=r.lmsOptions,d=void 0===l?{}:l,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=c===te.Du.ACCENT&&(0,yi.LI)(u),_=c===te.Du.COLOR&&(0,yi.LI)(f),w=c===te.Du.IMAGE,E=c===te.Du.DARK||c===te.Du.BLACK||y||_||w,k=b()("page-menu-toggle",{"page-menu-toggle--dark":E}),x=o?Ea:n?Vo:os;return m.createElement("div",{className:"page__menu"},(a&&!n||!s&&o)&&m.createElement("button",{"aria-controls":x,"aria-expanded":v,"aria-label":g,className:k,onClick:this.handleMenuToggle,type:"button"},m.createElement(Fn.pr,{className:"page-menu-toggle__icon"})),m.createElement(Ht.Z,{enableExitCourse:p,className:"courseExit courseExit--mobile",text:h}))}},{key:"renderCompact",value:function(){var e=this.state.compactNavIsExpanded;return m.createElement(ko,{collapseNav:this.handleCollapseCompactNav,expandNav:this.handleExpandCompactNav},m.createElement(Wo,{isExpanded:e,ref:this.refCompactNav}))}},{key:"renderOverlay",value:function(){var e=this.state.overlayNavIsOpen;return m.createElement(Jo,{closeNav:this.handleCloseOverlayNav,openNav:this.handleOpenOverlayNav},m.createElement(Sa,{isExpanded:e}))}},{key:"renderSidebar",value:function(){var e=this.allowTabNavigation(),t=this.props.search.active;return m.createElement(Na,{openMenu:this.openMenu,closeMenu:this.closeMenu},m.createElement(as,{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,c=i.didNavigate,l=i.labels,d=i.isMobile,f=i.isMobileHeader,p=i.lessons,h=i.location,v=i.match,g=i.overlayAvailable,y=i.partnerContent,_=i.previewType,w=i.safariLandscapeHackOffset,E=i.search,k=i.sessionPreferences,x=i.sidebarAvailable,S=i.themeId,T=i.isEntering,C=i.isExiting,N=this.state,O=N.isPreviewLesson,A=N.isProgressSummary,P=N.isRestrictedNavHovering,L=N.menuIsOpen,I=N.mobileMenuIsOpen,M=N.overlayNavIsOpen,R=s.lmsOptions,D=(void 0===R?{}:R).enableExitCourse,j=function(e){var t=e.course,n=e.search;return Bt()(Pt()("lessons",n.lessons),Pt()("lessonsOnly",_s(n.lessons)))(t)}({course:s,search:E}),Z=this.renderMenuButtons(),B=s.type===it.BL,F=x&&L&&!O,U=x&&I&&!O,q=B&&(null===(e=(0,Ki.IC)(s))||void 0===e||null===(t=e.settings)||void 0===t?void 0:t.playbackMode)===it.XY.SLIDE?"-slide":"",z="lesson--entering".concat(q),H="lesson--exiting".concat(q),V=b()("lesson",(n={},(0,Et.Z)(n,z,T),(0,Et.Z)(n,H,C),(0,Et.Z)(n,"lesson--preview",O),(0,Et.Z)(n,"lesson--open",F),(0,Et.Z)(n,"lesson--open-mobile",d&&U),n)),W=o?{paddingBottom:w}:{},Y={allowRestrictedTooltip:!P,course:E.active&&!jt()(E.lessons)?j:s,didNavigate:c,handleNavigate:this.handleNavigate,isMobileHeader:f,isProgressSummary:A,key:h.pathname,labels:l,lessonProgress:u.lessons[v.params.id],match:v,menuButtons:B?void 0:Z,menuOpen:!O&&L,mobileMenuOpen:I,navigateDirection:this.getNavigateDirection,onFocusPageTop:this.handleFocusPageTop,onNavigateTransitionEnd:this.handleNavigateTransitionEnd,onNavMouse:this.handleNavHover,overlayAvailable:g,overlayNavIsOpen:M,partnerContent:y,previewType:_,courseProgress:u,sessionPreferences:k,sidebarAvailable:x,themeId:S},G=A?{courseProgress:u,lessons:p}:{};return m.createElement("div",{className:"page-lesson-wrap"},!B&&m.createElement(m.Fragment,null,m.createElement("div",{className:"visually-hidden-always",ref:this.refPageTop,tabIndex:"-1"},"Top of page"),m.createElement(nn.ZP,null)),m.createElement("div",{className:"page-lesson"},m.createElement(fs,{className:V,contentRef:function(e){return r.node=e}},!this.props.isCourseNavigationEnabled&&m.createElement(m.Fragment,null,m.createElement(Zo.Qt,{inert:d?!U:!F},m.createElement(J.W3,null,m.createElement(J.uT,{in:x,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(ps,{onMobileMenuActiveClick:this.closeMenu},m.createElement("div",{className:"page-view page-view--visible"},m.createElement(gs,null,m.createElement(Ht.Z,{enableExitCourse:D,className:"courseExit courseExit--standard",text:l.courseExit}),m.createElement(J.W3,{component:"div",className:"page-wrap",id:"page-wrap",onScroll:this.handlePageWrapScroll,ref:this.setRefPageWrap,style:W},m.createElement(X.Z,{key:h.pathname},m.createElement(yo,(0,De.Z)({},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:"propTypes",get:function(){return{children:Ct().node,course:Ct().object,courseProgress:Ct().object,labels:Ct().object,lessons:Ct().array,location:Ct().object.isRequired,match:Ct().object.isRequired}}},{key:"defaultProps",get:function(){return{course:{},lessons:[]}}}]),n}(m.Component),Es=It()(Ma.Z2,Ma.hV,Ma.B6,Ma.$Z,(0,ro.tF)("rise-course-navigation","isCourseNavigationEnabled"),(0,pt.$$)(480,"isMobileHeader","Mobile"))(ws);function ks(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var xs=(0,ur.Z)(Es),Ss=function(e){(0,a.Z)(n,e);var t=ks(n);function n(e){var i;return(0,r.Z)(this,n),(i=t.call(this,e)).state={isEntering:!1,isExiting:!1},i}return(0,i.Z)(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");e&&e.classList.add("page__content--appear");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){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&&(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,te.rw)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({isExiting:!0},(function(){t.willExitTimeout=setTimeout(e,te.rw)}))}},{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(xs,(0,De.Z)({isEntering:t,isExiting:n},this.props))}}]),n}(m.Component),Ts=n(67294),Cs=function(e){var t=e.location,n=t.pathname.split("/")[1];return Ts.createElement(J.W3,{component:"div",className:"transition-group"},Ts.createElement(X.Z,{key:n},Ts.createElement($.Z,{location:t},Ts.createElement(K.Z,{exact:!0,path:"/",component:wt,childProps:e}),Ts.createElement(K.Z,{exact:!0,path:"/:mode",component:wt,childProps:e}),Ts.createElement(K.Z,{exact:!0,path:"/lessons/:id",component:Ss,childProps:e}),Ts.createElement(K.Z,{path:"/lessons/:id/:mode",component:Ss,childProps:e}))))},Ns=n(13632),Os=n(59353),As=n(79057);function Ps(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var Ls=(0,ne.Z)("one-page-cover"),Is=(0,ne.Z)("cover"),Ms=function(e){(0,a.Z)(n,e);var t=Ps(n);function n(e){var i;return(0,r.Z)(this,n),(i=t.call(this,e)).state={entering:!1,exiting:!1},i.refMain=(0,m.createRef)(),i.onKeyUp=i.onKeyUp.bind((0,o.Z)(i)),i}return(0,i.Z)(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)}},{key:"componentDidEnter",value:function(){this.setState({entering:!1})}},{key:"componentWillEnter",value:function(e){var t=this;this.setState({entering:!0},(function(){t.willEnterTimeout=setTimeout(e,te.rw)}))}},{key:"componentWillExit",value:function(e){var t=this;this.setState({exiting:!0},(function(){t.willExitTimeout=setTimeout(e,te.rw)}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.willEnterTimeout),clearTimeout(this.willExitTimeout),document.removeEventListener("keyup",this.onKeyUp)}},{key:"getLessonPath",value:function(){var e=this.props.course,t=(0,Ki.IC)(e),n=null==t?void 0:t.id;return(0,Qa.Jv)(n)}},{key:"onKeyUp",value:function(e){var t=this.state,n=t.entering,r=t.exiting;if(!(n||r||"ArrowDown"!==e.key&&"ArrowRight"!==e.key)){var i=this.getLessonPath();this.props.history.push(i),document.removeEventListener("keyup",this.onKeyUp)}}},{key:"render",value:function(){var e,t,n,r=this.props.course,i=this.state,o=i.entering,a=i.exiting,s=(null==r?void 0:r.coverPageType)===te.iy.WHITE,u=(null==r?void 0:r.coverPageType)===te.iy.IMAGE,c=(null==r?void 0:r.coverPageType)===te.iy.ACCENT,l=c?null==r?void 0:r.color:"#fff",d=(0,Ki.IC)(r),f=(null==d||null===(e=d.settings)||void 0===e?void 0:e.playbackMode)===it.XY.SLIDE,p=null==r||null===(t=r.theme)||void 0===t?void 0:t.buttonInlineStyle,h=u?(0,Ki.A5)(null==r?void 0:r.coverImage):{backgroundColor:l},v=f?"slide":"fade",g="entering-".concat(v),y="exiting-".concat(v),b=Ls("wrapper",(n={},(0,Et.Z)(n,g,o),(0,Et.Z)(n,y,a),(0,Et.Z)(n,"white",s),(0,Et.Z)(n,"accent",c),n)).mix(Is("header-content")),_=Ls("action",{squared:p===te.Ms.SQUARED}).toString();return m.createElement("main",{"aria-label":"Lesson overview",className:b,ref:this.refMain,style:h,tabIndex:"-1"},m.createElement(Os.Z,null,m.createElement(ke.ZP,null),m.createElement(Gi.Z,null),m.createElement(Ns.Z,{className:_})),m.createElement("div",{className:Ls("start-wrapper")},m.createElement(bo.rU,{to:this.getLessonPath()},m.createElement(As.ArrowDown,{className:Ls("start-icon")}))))}}]),n}(m.Component),Rs=Ms,Ds=n(67294);function js(e,t){var n=hr()(e);if(vr()){var r=vr()(e);t&&(r=xt()(r).call(r,(function(t){return yr()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Zs=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?js(Object(n),!0).forEach((function(t){(0,Et.Z)(e,t,n[t])})):_r()?Object.defineProperties(e,_r()(n)):js(Object(n)).forEach((function(t){Object.defineProperty(e,t,yr()(n,t))}))}return e}({history:(0,E.k6)()},e);return Ds.createElement(J.W3,{component:"div",className:"transition-group"},Ds.createElement(X.Z,{key:n},Ds.createElement($.Z,{location:t},Ds.createElement(K.Z,{exact:!0,path:"/",component:Rs,childProps:r}),Ds.createElement(K.Z,{exact:!0,path:"/:mode",component:Rs,childProps:r}),Ds.createElement(K.Z,{exact:!0,path:"/lessons/:id",component:Ss,childProps:r}))))},Bs=n(74249),Fs=n(82510),Us=n(80454);function qs(e){var t=function(){if("undefined"==typeof Reflect||!h())return!1;if(h().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(h()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,u.Z)(e);if(t){var i=(0,u.Z)(this).constructor;n=h()(r,arguments,i)}else n=r.apply(this,arguments);return(0,s.Z)(this,n)}}var zs=cs.S.learn.course,Hs=l()(document.createElement("div"),{id:"portal"});function Vs(e){(null!=e?e:document.body).appendChild(Hs),Hs.style.display=e?"":"none"}Vs();var Ws=function(e){(0,a.Z)(n,e);var t=qs(n);function n(e){var i;return(0,r.Z)(this,n),(i=t.call(this,e)).state={didNavigate:!1,previewType:"",failAttempt:!1,scrollTo:null,showPasswordDialog:!0},i.onSharePasswordSubmit=i.onSharePasswordSubmit.bind((0,o.Z)(i)),i.onFavoriteAdded=i.onFavoriteAdded.bind((0,o.Z)(i)),i.onFavoriteRemoved=i.onFavoriteRemoved.bind((0,o.Z)(i)),i}return(0,i.Z)(n,[{key:"componentWillMount",value:function(){M.Z.isIe11&&document.documentElement.classList.add("ie11"),M.Z.isSafari9&&document.documentElement.classList.add("safari9"),M.Z.isIphoneSafari&&document.documentElement.classList.add("iphone-safari"),M.Z.isSafari&&"iframe"===this.props.match.params.mode&&w().enable(),window.addEventListener("message",this.handleMessages.bind(this)),(0,q.V0)()}},{key:"componentDidMount",value:function(){var e=this;document.documentElement.lang=this.props.languageCode,this.removeRouteListener=this.props.history.listen((function(){e.setState({didNavigate:!0})})),(0,B.on)("favoriteAdded",this.onFavoriteAdded),(0,B.on)("favoriteRemoved",this.onFavoriteRemoved)}},{key:"updateConnectionStatus",value:function(e){(0,R.W)((0,F.lm)(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)),(0,B.S1)("favoriteAdded",this.onFavoriteAdded),(0,B.S1)("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;(0,Bs.Z)(n).forEach((function(e){var n=e.type,r=e.data;if(function(e){var t;return f()(t=["preview:menuOpen","preview:navigate","preview:overlayNavOpen","preview:overlayNavClose","preview:scrollto","preview:themeUpdate","preview:update"]).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(Ko.Ag)),"preview:navigate"===n){var s=r.type;(function(e,t){return!("firstLesson"===e&&f()(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:overlayNavOpen"===n&&window.dispatchEvent(new CustomEvent(Ko.Dq)),"preview:overlayNavClose"===n&&window.dispatchEvent(new CustomEvent(Ko.Ht)),"preview:scrollto"===n&&"string"==typeof r.target){var u=document.querySelector(r.target);u&&P(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=Pt()("theme",r,t),a=(0,Fs.m)(i,o),s=new(x())((function(e,t){(0,V._)(n,t)}));this.cancelThemePreviewUpdate=s.fork(console.warn,(function(){(0,R.W)((0,Us.AE)({course:a,fonts:n}))}))}},{key:"onSharePasswordSubmit",value:function(e){var t=this;return(0,Z.LX)(e.value).then((function(n){n.isValid?t.setState({showPasswordDialog:!1}):(e.value="",t.setState({failAttempt:!0}))})).catch((function(e){return console.error("Verify password error",e)}))}},{key:"onFavoriteAdded",value:function(){(0,R.W)((0,j.Zc)())}},{key:"onFavoriteRemoved",value:function(){(0,R.W)((0,j.Xv)())}},{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,c=r.uiTypeface,l=e.courseProgress,d=e.labels,f=e.lessons,p=e.location,h=e.partnerContent,v=e.search,y=e.sessionPreferences,_=this.state,w={course:n,courseProgress:l,didNavigate:_.didNavigate,labels:d,lessons:f,location:p,partnerContent:h,previewType:_.previewType,search:v,sessionPreferences:y,themeId:s},E={bodyTypeface:i,color:o,headingTypeface:a,uiTypeface:c},k=(0,H.LI)(o),x=u===it.BL,S=b()("theme",t,s,{"dark-accent":k,"light-accent":!k,"one-page":x});return m.createElement(Y.NA,{course:n,partnerContent:h,search:v},m.createElement(G.f6,{themeId:s},m.createElement(W.ac,{courseColor:o},m.createElement(g(),{title:(0,z.Z)(n.title)},m.createElement("div",{id:"innerApp",className:S,"data-ba":zs.container,ref:Vs},m.createElement(L.Z,E),m.createElement(I.Z,{env:"runtime"},x?m.createElement(Zs,w):m.createElement(Cs,w)))))))}},{key:"render",value:function(){var e=this.props.course.hasPassword,t=this.state,n=t.failAttempt,r=t.showPasswordDialog&&(0,Z.tL)()&&(!!e||(0,Z._s)()),i=this.onSharePasswordSubmit;return r?m.createElement(U.Z,{failAttempt:n,onSubmit:i}):this.renderAppLayout()}}]),n}(m.Component);Ws.prototype.cancelThemePreviewUpdate=Function.prototype;var Ys=It()(D.x,E.EN)(Ws)},97301:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(73126),i=n(83728),o=n(56524),a=n.n(o),s=n(12088),u=n.n(s),c=n(88066),l=n.n(c),d=n(67294),f=n(73935),p=n(73727),h=n(97809),m=n(86494),v=n(32658),g=n(91761),y=n(23692),b=n(23328),_=n(36335),w=n(53459),E=n(12868),k=n(98696),x=n(78892),S=n(23106),T=n(31454),C=n(67294),N=(0,d.forwardRef)((function(e,t){var n=e.children,r=e.className,i=e.dark,o=e.visible,s=(0,d.useMemo)((function(){return(0,_.Z)(r)}),[r]),u=C.createElement("div",{"aria-hidden":"true",ref:t,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:a()}},C.createElement("div",{style:{pointerEvents:"all"}},C.createElement("div",{className:s({visible:o})},C.createElement("div",{className:s("inner",{dark:i,light:!i})},n))));return(0,f.createPortal)(u,document.getElementById("portal"))}));function O(e){var t,n,r,o=e.children,a=e.className,s=e.dark,c=e.lessonId,f=e.restriction,p=e.tooltipClassName,m=e.style,g=(0,d.useRef)(),y=(0,d.useRef)(),_=(0,v.Z)(),x=(0,b.RN)(c).title,T=(0,k.Zj)(),O=(0,d.useState)(!1),A=(0,i.Z)(O,2),P=A[0],L=A[1],I=(0,d.useCallback)((function(){return L(!0)}),[]),M=(0,d.useCallback)((function(){return L(!1)}),[]),R=(0,d.useCallback)((function(){setTimeout(I,0)}),[I]),D=(0,d.useCallback)((function(e){(0,E.$o)(e)&&P&&(e.stopPropagation(),M())}),[M,P]),j=(0,d.useCallback)((function(){document.activeElement===g.current&&I()}),[I]),Z=(0,d.useCallback)((function(){if(P){var e,t=g.current.getBoundingClientRect(),n=y.current.offsetParent.getBoundingClientRect(),r=t.height,i=t.width,o=t.left-n.left,a=t.top-n.top;u()(y.current.style,{transform:l()(e="translate(".concat(o,"px, ")).call(e,a,"px)"),width:"".concat(i,"px"),height:"".concat(r,"px")})}}),[P]);((0,d.useEffect)((function(){T&&L(!1)}),[T]),(0,d.useLayoutEffect)((function(){return Z()}),[Z]),(0,h.Z)("resize",Z,window),(0,w.Z)(g,M),f.type===S.eP.QUIZ)?n=l()(r="".concat(_.quizRequirePassingScore,': "')).call(r,f.data,'"'):f.type===S.eP.ORDER?n=_.lessonRestricted:f.type===S.eP.ENROLLMENT&&(n="Please save to My List to take this course");return C.createElement(C.Fragment,null,C.createElement("span",{"aria-disabled":!0,"aria-label":l()(t="The ".concat(x," lesson is currently unavailable: ")).call(t,n,"."),className:a,onBlur:M,onFocus:R,onKeyDown:D,onMouseEnter:j,onMouseLeave:M,ref:g,role:"link",tabIndex:T?-1:0,style:m},o),C.createElement(N,{className:p,dark:s,ref:y,visible:P},n))}function A(e){var t=e.b,n=e.children,o=e.dark,a=e.isCurrentLesson,s=e.isTooltipEnabled,u=e.lessonId,c=e.onClick,l=e.onHideProgressTooltip,f=e.onNavigate,h=e.onShowProgressTooltip,v=e.restriction,y=e.showProgressDelay,b=e.style,_=(0,g.Tn)(),w=_.color,N=_.navigationStyle,A=N===T.Nu.IMAGE,P=N===T.Nu.ACCENT,L=N===T.Nu.ACCENT&&(0,x.LI)(w),I=N===T.Nu.TINT,M=(0,k.Zj)(),R=(0,d.useCallback)((function(e){c(e),a?(e.preventDefault(),(0,m.lk)()):f(u)}),[u,a,c,f]),D=(0,d.useState)(!1),j=(0,i.Z)(D,2),Z=j[0],B=j[1],F=(0,d.useCallback)((function(){Z||(null!=y?setTimeout(h,y):h())}),[Z,y,h]),U=(0,d.useCallback)((function(e){(0,E.$o)(e)&&l()}),[l]),q=(0,d.useCallback)((function(){B(!0)}),[]),z=(0,d.useCallback)((function(){B(!1)}),[]),H=null!=(null==v?void 0:v.type),V=t("link",{"accent-full":P,"accent-full-dark":L,"accent-tint":I,active:a,dark:o,image:A,light:!o,restricted:H}).toString();return H?C.createElement(O,(0,r.Z)({},e,{className:V,style:b})):C.createElement(p.OL,{"aria-current":"page",className:V.toString(),"data-link":"lesson-link-item",onBlur:s?l:void 0,onClick:R,onFocus:s?F:void 0,onKeyDown:s?U:void 0,onMouseDown:s?q:void 0,onMouseUp:s?z:void 0,style:b,tabIndex:M?-1:void 0,to:(0,S.Jv)(u)},n)}function P(e){var t,n=e.className,i=e.dark,o=e.isCurrentLesson,a=e.last,s=e.lessonId,u=e.style,c=(0,d.useMemo)((function(){return(0,_.Z)(n)}),[n]),l=(0,b.j4)(s),f=null!=(null==l?void 0:l.type),p=(null!==(t=(0,y.pr)(s))&&void 0!==t?t:{}).isComplete,h=c({active:o,complete:void 0!==p&&p,dark:i,last:a,light:!i,restricted:f});return C.createElement("div",{className:h},C.createElement(A,(0,r.Z)({},e,{b:c,isCurrentLesson:o,restriction:l,style:u})))}N.defaultProps={className:"lesson-link-item-tooltip"},A.defaultProps={onClick:Function.prototype,onNavigate:Function.prototype},P.defaultProps={className:"lesson-link-item"}},86494:function(e,t,n){"use strict";n.d(t,{ZP:function(){return p},lk:function(){return m},zy:function(){return h}});var r=n(83728),i=n(67294),o=n(97809),a=n(6212),s=n(32658),u=n(29891),c=n(14938),l=n(50554),d=n(1983),f=n(67294);function p(){var e=(0,l.I0)(),t=(0,i.useState)(null),n=(0,r.Z)(t,2),o=n[0],c=n[1],p=(0,s.Z)(),h=(0,i.useCallback)((function(t){e((0,a.xw)({offsetHeight:t.target.offsetHeight}))}),[e]);return(0,i.useLayoutEffect)((function(){if(o)return e((0,a.xw)({offsetHeight:o.offsetHeight})),function(){return e((0,a.xw)(null))}}),[e,o]),(0,d.Z)(o,h),f.createElement("button",{className:"visually-hidden btn-skip-to-lesson brand--ui",onClick:m,ref:c,type:"button"},f.createElement("span",{className:"btn-skip-to-lesson__wrap"},null==p?void 0:p.courseSkipToLesson,f.createElement("span",{"aria-hidden":"true"},f.createElement(u.Eh,{className:"btn-skip-to-lesson__icon"}))))}function h(e){(0,o.Z)(c.j0,e,document)}function m(){document.dispatchEvent(new CustomEvent(c.j0))}},20359:function(e,t,n){"use strict";n.d(t,{$:function(){return M}});var r=n(51614),i=n.n(r),o=n(95238),a=n.n(o),s=n(79927),u=n.n(s),c=n(12088),l=n.n(c),d=n(50557),f=n.n(d),p=n(23385),h=n.n(p),m=n(23710),v=n.n(m),g=n(47392),y=n.n(g),b=n(20780),_=n.n(b),w=n(88576),E=n.n(w),k=n(416),x=n.n(k),S=n(54782),T=n.n(S),C=n(67430),N=n.n(C),O=h()(_(),(function(e){var t=e.src;return{media:{image:{key:A(t),src:t}}}}),(function(e){return{alpha:e.alpha}})),A=function(e){var t;return y()(e)?i()(e).call(e,"http")?a()(t=new(u())(e).pathname).call(t,1):e:""},P=N()(Boolean,"theme"),L=function(e,t){var n=E()(e,t);return n.media.image.key===t.media.image.key&&l()(n.media.image,{crushedKey:t.media.image.key,useCrushedKey:!0}),n},I=function(e,t){return h()(L,function(e){return x()([e])}(t),function(e){return f()(O,e,T()({},["theme"]))}(e))},M=function(e,t){return v()(P,I(e,t),x()([t]))}},82510:function(e,t,n){"use strict";n.d(t,{h:function(){return B},m:function(){return F}});var r=n(20359),i=n(80396),o=n(22673),a=n.n(o),s=n(50557),u=n.n(s),c=n(23385),l=n.n(c),d=n(32207),f=n.n(d),p=n(52892),h=n.n(p),m=n(13657),v=n.n(m),g=n(20780),y=n.n(g),b=n(416),_=n.n(b),w=n(54782),E=n.n(w),k=n(5206),x=n.n(k),S=n(67430),T=n.n(S),C=n(62023),N=n.n(C),O=n(47088),A=n.n(O),P=n(61937),L=n.n(P),I=n(31454),M=["bodyTypeface","coverImage","headingTypeface","lessonHeaderImage","media","theme","uiTypeface"],R=l()(h(),_()(["color"]),_()(["theme","colorAccent"])),D=l()(h(),_()(["showLessonCount"]),_()(["theme","showLessonCount"])),j=u()(N()({coverImageAlpha:"alpha",coverImage:"src"}),x()(["coverImageAlpha","coverImage"])),Z=u()(N()({lessonHeaderImageAlpha:"alpha",lessonHeaderImage:"src"}),x()(["lessonHeaderImageAlpha","lessonHeaderImage"])),B=L()(T()(v(),"theme"),A()(y(),a()({allowSearch:_()(["theme","allowSearch"]),animateBlockEntrance:E()(!0,["theme","animateBlockEntrance"]),buttonNavigationStyle:_()(["theme","buttonNavigationStyle"]),buttonScheme:_()(["theme","buttonScheme"]),color:R,colorAccentTint:u()(i.AW,R),coverImage:(0,r.$)(j,"coverImage"),coverPageType:_()(["theme","coverPageType"]),enableVideoPlaybackSpeed:E()(!0,["theme","enableVideoPlaybackSpeed"]),lessonHeaderImage:(0,r.$)(Z,"lessonHeaderImage"),lessonHeaderSize:_()(["theme","lessonHeaderSize"]),lessonHeaderStyle:_()(["theme","lessonHeaderStyle"]),markComplete:E()(!1,["theme","markLessonsComplete"]),navigation:E()(!0,["theme","navigation"]),navigationMode:function(e){return e.theme.navigationRestricted?I.$h.RESTRICTED:I.$h.FREE},navigationRestricted:E()(!1,["theme","navigationRestricted"]),navigationStyle:_()(["theme","navigationStyle"]),navigationType:E()(I.uh.SIDEBAR,["theme","navigationType"]),themeId:E()("classic",["theme","themeId"]),showAuthor:E()(!0,["theme","showAuthor"]),showLessonCount:D,sidebarMode:function(e){var t=e.theme.sidebarStartsOpen;return!!v()(t)||t?I.mn.OPEN:I.mn.CLOSED},sidebarStartsOpen:E()(!0,["theme","sidebarMode"]),showNavigationButtons:E()(!0,["theme","showNavigationButtons"])}))),F=f()((function(e){return u()(B,y()(e),x()(M))}))},80454:function(e,t,n){"use strict";n.d(t,{$J:function(){return ae},AE:function(){return ye},bO:function(){return be},bw:function(){return ie},sr:function(){return ge}});var r,i=n(44845),o=n(50047),a=n.n(o),s=n(34923),u=n.n(s),c=n(55130),l=n.n(c),d=n(66497),f=n.n(d),p=n(37990),h=n.n(p),m=n(50557),v=n.n(m),g=n(54405),y=n.n(g),b=n(42157),_=n.n(b),w=n(13657),E=n.n(w),k=n(13207),x=n.n(k),S=n(25677),T=n.n(S),C=n(61894),N=n.n(C),O=n(20780),A=n.n(O),P=n(144),L=n.n(P),I=n(92738),M=n.n(I),R=n(416),D=n.n(R),j=n(4603),Z=n.n(j),B=n(62848),F=n.n(B),U=n(63266),q=n.n(U),z=n(51380),H=n.n(z),V=n(61937),W=n.n(V),Y=n(47176),G=n.n(Y),K=n(76637),$=n(72131),X=n(85541),J=n(54959),Q=n(82510),ee=n(21995),te=n(41148),ne=n(79886),re=y()("rise/course/"),ie=re("LOAD_COURSE"),oe=re("UPDATE_COMPLETED_AT"),ae=re("UPDATE_COURSE_PREVIEW"),se=W()(v()(E(),D()(["settings","revealAnswers"])),M()(x()(["settings","revealAnswers"]),te.FS)),ue=M()(T()("lessons"),N()(se)),ce=function(e){return v()(A()(e),L()("lessonsOnly"),q()(F()("type","section")))(e.lessons)},le=l()(D()(["features","rise-course-themes"]),D()(["theme"])),de=G()(le,Q.h),fe=H()(f()("favoritedAt",new Date)),pe=H()(f()("favoritedAt",null)),he=H()(h()("completedAt",(function(){return(new Date).toISOString()})));t.ZP=(0,K.pr)({},(r={},(0,i.Z)(r,X.aR,fe),(0,i.Z)(r,X.rv,pe),(0,i.Z)(r,ie,(function(e,t){var n=t.completedAt,r=t.course,i=t.favoritedAt,o=t.riseComCurrentUser,a=t.riseComCourseId,s=t.riseComEnrollmentType,c=t.riseComLearningPathId;return Z()(ue,ce,A()(u(),{completedAt:n,favoritedAt:i,riseComCourseId:a,riseComEnrollmentType:s,riseComCurrentUser:o,riseComLearningPathId:c}),de)(r)})),(0,i.Z)(r,oe,he),(0,i.Z)(r,ae,(function(e,t){return t.course})),r));var me=function(e){return function(t){return t([(0,K.aD)(J.a,e),(0,ne.WO)(!0)])}},ve=function(e){return _()(e)?(0,ne.WO)(!0):a()(t=(0,$.xZ)(e)).call(t,me);var t},ge=function(){return function(e){return(0,$.he)().then(function(e){return function(t){var n=t.course,r=(0,ee.k)({course:n,lessons:n.lessons});e([(0,K.aD)(ie,t),(0,ne.jj)(!0),ve(r)])}}(e)).catch(function(e){return function(t){404===t.statusCode&&e((0,ne.Fg)(!0))}}(e))}},ye=(0,K.aD)(ae),be=(0,K.aD)(oe)},76458:function(e,t,n){"use strict";var r=n(44845),i=n(20780),o=n.n(i),a=n(76637),s=n(80454);t.Z=(0,a.pr)({},(0,r.Z)({},s.bw,(function(e,t){var n=t.labelSet;return o()(e,n)})))},263:function(e,t,n){"use strict";n.d(t,{D$:function(){return ie},IB:function(){return ce},TD:function(){return se},ff:function(){return ue},yc:function(){return J}});var r=n(2562),i=n(44845),o=n(66497),a=n.n(o),s=n(50557),u=n.n(s),c=n(47166),l=n.n(c),d=n(51481),f=n.n(d),p=n(22624),h=n.n(p),m=n(51383),v=n.n(m),g=n(9134),y=n.n(g),b=n(42157),_=n.n(b),w=n(90368),E=n.n(w),k=n(24234),x=n.n(k),S=n(13207),T=n.n(S),C=n(25677),N=n.n(C),O=n(20780),A=n.n(O),P=n(61584),L=n.n(P),I=n(18384),M=n.n(I),R=n(92738),D=n.n(R),j=n(4603),Z=n.n(j),B=n(52478),F=n.n(B),U=n(62848),q=n.n(U),z=n(33411),H=n.n(z),V=n(47176),W=n.n(V),Y=n(42159),G=n(26485),K=n(63563),$=["lessonId"],X=["lessonId"],J=u()(y()(A())({isComplete:!0,percentComplete:100}),D()(N()("items"),(0,Y.Nl)(u()(D()(N()("items"),(0,Y.Nl)(a()("isComplete",!0))),a()("isComplete",!0))))),Q=function(e){var t=e.id,n=e.items;return Z()(D()(T()(["items",t,"items"]),ae(n)),D()(T()(["items",t]),oe),G.w4,W()(q()("percentComplete",100),a()("isComplete",!0)))},ee=function(e,t){var n=t.id;return A()(e,(0,i.Z)({},n,a()("isComplete",!0)))},te=L()(["correctlyAnswered","percentComplete","percentViewed","isComplete"]),ne=D()(N()("items"),(0,Y.Nl)(L()(["isComplete","isCorrect","isViewed"]))),re=(0,Y.Nl)(u()(ne,te)),ie=Z()(L()(["isComplete","percentComplete"]),D()(N()("items"),re)),oe=W()((function(e){return M()(u()(_(),F()("items"))(e),function(e){return Z()(F()("items"),H(),v()(q()("isComplete",!0)),x(),y()(l())(u()(x(),E(),F()("items"))(e)),f()(1))(e)}(e))}),a()("isComplete",!0)),ae=function(e){return function(t){return h()(e.reduce(ee,{}),t)}},se=function(e){var t=e.lessonId,n=(0,r.Z)(e,$);return function(e){return e((0,G.i6)({id:t,updateFn:(r=n,i=r.blockId,D()(T()(["items",i]),K.L))}));var r,i}},ue=function(e){var t=e.id,n=e.lessonId,r=e.items;return function(e){return e((0,G.i6)({id:n,updateFn:Q({id:t,items:r})}))}},ce=function(e){var t=e.lessonId,n=(0,r.Z)(e,X);return function(e){return e((0,G.i6)({id:t,updateFn:(r=n,i=r.itemId,o=r.blockId,a=r.isCorrect,Z()(D()(T()(["items",o]),(0,K.g)({itemId:i,isCorrect:a})),G.w4))}));var r,i,o,a}}},21330:function(e,t,n){"use strict";n.d(t,{MJ:function(){return l},k8:function(){return d},kl:function(){return f}});var r=n(9134),i=n.n(r),o=n(20780),a=n.n(o),s=n(61584),u=n.n(s),c=n(26485),l=function(e){return function(t){return t((0,c.i6)({id:e,updateFn:d}))}},d=i()(a())({isComplete:!0,percentComplete:100}),f=u()(["isComplete","percentComplete"])},26485:function(e,t,n){"use strict";n.d(t,{FK:function(){return ct},Rd:function(){return pt},i6:function(){return ft},nB:function(){return st},qI:function(){return dt},w4:function(){return wt},xj:function(){return lt}});var r,i=n(63263),o=n.n(i),a=n(30699),s=n.n(a),u=n(58377),c=n.n(u),l=n(13038),d=n.n(l),f=n(2562),p=n(44845),h=n(89356),m=n.n(h),v=n(45582),g=n.n(v),y=n(54115),b=n.n(y),_=n(66497),w=n.n(_),E=n(92373),k=n.n(E),x=n(50557),S=n.n(x),T=n(54405),C=n.n(T),N=n(38907),O=n.n(N),A=n(2220),P=n.n(A),L=n(92650),I=n.n(L),M=n(47166),R=n.n(M),D=n(14087),j=n.n(D),Z=n(51383),B=n.n(Z),F=n(9730),U=n.n(F),q=n(13657),z=n.n(q),H=n(59837),V=n.n(H),W=n(90368),Y=n.n(W),G=n(24234),K=n.n(G),$=n(13207),X=n.n($),J=n(25677),Q=n.n(J),ee=n(20780),te=n.n(ee),ne=n(1102),re=n.n(ne),ie=n(144),oe=n.n(ie),ae=n(92738),se=n.n(ae),ue=n(96942),ce=n.n(ue),le=n(416),de=n.n(le),fe=n(5206),pe=n.n(fe),he=n(4603),me=n.n(he),ve=n(52478),ge=n.n(ve),ye=n(62848),be=n.n(ye),_e=n(20793),we=n.n(_e),Ee=n(5994),ke=n.n(Ee),xe=n(47088),Se=n.n(xe),Te=n(6037),Ce=n.n(Te),Ne=n(33411),Oe=n.n(Ne),Ae=n(61937),Pe=n.n(Ae),Le=n(47176),Ie=n.n(Le),Me=n(76637),Re=n(263),De=n(21330),je=n(30218),Ze=n(29219),Be=n(58860),Fe=n(53884),Ue=n(15414),qe=n(72131),ze=["type"];function He(e,t){var n=m()(e);if(o()){var r=o()(e);t&&(r=s()(r).call(r,(function(t){return c()(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ve=g()(we()),We=C()("rise/course/"),Ye=We("BOOKMARK_LESSON"),Ge=We("COMPLETE_LESSON_PROGRESS"),Ke=We("RESET_LESSON_PROGRESS"),$e=We("UPDATE_LESSON_PROGRESS"),Xe=We("UPDATE_PLAYHEAD_PERCENTAGE"),Je=function(e){return function(t,n){var r=n.id;switch(n.type){case"blocks":return e(t,{id:r,updateFn:Re.yc});case"embed":return e(t,{id:r,updateFn:De.k8});case"map":return e(t,{id:r,updateFn:je.oj});case"process":return e(t,{id:r,updateFn:Ze.IM});case"sorting":return e(t,{id:r,updateFn:Be.LK});case"timeline":return e(t,{id:r,updateFn:Fe.H8});case"video":return e(t,{id:r,updateFn:Ue.Cm});default:return t}}},Qe=function(e){return S()(qe.do,de()(["lessons",e]))},et=se()(Q()("passingScore"),Pe()(V(),b()(0))),tt=S()(et,pe()(["id","passed","score","passingScore"])),nt=function(e){return S()(qe.dh,tt)(e)},rt=function(e){var t=e.id,n=e.updateFn;return se()(X()(["lessons",t]),S()(w()("id",t),n))},it=function(e,t){var n=e.id,r=e.type;return j()(bt(n,t),function(e){return function(t){var n=t.lessons,r=t.currentLesson;return Boolean(r)&&"quiz"===e&&100===n[r].percentComplete}}(r))},ot=function(e,t){var n=t.id,r=t.type,i=t.updateFn;return me()(at({id:n,type:r,updateFn:i}),Ce()(S()(qe.ur,ge()("percentComplete"))))(e)},at=function(e){var t=e.id,n=e.type,r=e.updateFn;return function(e){return me()(rt({id:t,updateFn:r}),Ie()(it({id:t,type:n},e),St),Ce()(Qe(t)),Ce()(function(e){return S()(Ie()(be()("percentComplete",100),nt),de()(["lessons",e]))}(t)))(e)}},st=Je(U()(rt)),ut=Je(ot);t.ZP=(0,Me.pr)({lessons:{},percentComplete:0},(r={},(0,p.Z)(r,Ye,(function(e,t){return S()(Ce()(ce()(qe.vj,[t])),w()("currentLesson",t))(e)})),(0,p.Z)(r,Ge,ut),(0,p.Z)(r,"rise/course/LOAD_COURSE",(function(e,t){return te()(e,(0,qe.xC)(ht(t)))})),(0,p.Z)(r,Ke,(function(e,t){var n=t.id;switch(t.type){case"blocks":return ot(e,{id:n,updateFn:Re.D$});case"embed":return ot(e,{id:n,updateFn:De.kl});case"map":return ot(e,{id:n,updateFn:je.Xy});case"process":return ot(e,{id:n,updateFn:Ze.OI});case"sorting":return ot(e,{id:n,updateFn:Be.Ub});case"timeline":return ot(e,{id:n,updateFn:Fe.FE});case"video":return ot(e,{id:n,updateFn:Ue.Sv});default:return e}})),(0,p.Z)(r,$e,ot),(0,p.Z)(r,Xe,(function(e,t){var n=t.id,r=t.updateFn;return me()(rt({id:n,updateFn:r}),Ce()(Qe(n)))(e)})),r));var ct=(0,Me.aD)(Ge),lt=(0,Me.aD)(Ke),dt=(0,Me.aD)(Ye),ft=(0,Me.aD)($e),pt=(0,Me.aD)(Xe),ht=me()(pe()(["course"]),(function(e){return me()(de()(["course","lessons"]),Ve(gt,{}),oe()("lessons"),te()(e))(e)}),I()("course")),mt=function(e){var t=e.id,n=e.type,r=e.settings.passingScore;return Ie()(function(e){var t=e.type,n=e.passingScore;return function(){return"quiz"===t&&!z()(n)}}({type:n,passingScore:r}),se()(X()([t]),k()({passingScore:r})))},vt=function(e){var t=e.id,n=e.index,r=e.items,i=e.settings,o=void 0===i?{}:i,a=e.type;return me()(w()(t,{index:n,id:t}),mt({id:t,type:a,settings:o}),Pe()(function(e){return function(){return z()(e)}}(r),function(e){var t=e.id,n=e.items;return function(e){return ke()(X()([t,"items"]),Ve(gt,{},n),e)}}({id:t,items:r})))},gt=function(e,t,n){var r=t.type,i=(0,f.Z)(t,ze);return Pe()(function(e){return function(){return"section"===e}}(r),vt(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):d()?Object.defineProperties(e,d()(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,c()(n,t))}))}return e}({index:n,type:r},i)))(e)},yt=P()(3,(function(e,t,n){return e(t)!==e(n)})),bt=function(e,t){return yt(de()(["lessons",e,"isComplete"]),t)},_t=function(e){var t=e.key,n=e.percent;return function(e){return w()(n,me()(ge()("items"),Oe(),B()(be()(t,!0)),K(),U()(R())(S()(K(),Y(),ge()("items"))(e)),re()(100),Math.round)(e),e)}},wt=_t({key:"isComplete",percent:"percentComplete"}),Et=(_t({key:"isViewed",percent:"percentViewed"}),O()(ge(),[ge()("currentLesson"),ge()("lessons")])),kt=S()(tt,Et),xt=function(e){return Se()(qe.RF,kt,e)},St=function(e){return me()(ke()(Q()("percentComplete"),Tt(e)),Ce()(xt))(e)},Tt=function(e){var t=e.lessons;return Math.round(K()(m()(B()(ge()("isComplete"),t)))/K()(m()(t))*100)}},30218:function(e,t,n){"use strict";n.d(t,{Xy:function(){return C},Zy:function(){return S},oj:function(){return T}});var r=n(66497),i=n.n(r),o=n(50557),a=n.n(o),s=n(9134),u=n.n(s),c=n(13207),l=n.n(c),d=n(25677),f=n.n(d),p=n(20780),h=n.n(p),m=n(61584),v=n.n(m),g=n(92738),y=n.n(g),b=n(62848),_=n.n(b),w=n(47176),E=n.n(w),k=n(42159),x=n(26485),S=function(e){var t=e.id,n=e.itemId;return function(e){return e((0,x.i6)({id:t,updateFn:N(n)}))}},T=a()(u()(h())({isComplete:!0,percentComplete:100}),y()(f()("items"),(0,k.Nl)(i()("isComplete",!0)))),C=a()(v()(["isComplete","percentComplete"]),y()(f()("items"),(0,k.Nl)(v()(["isComplete"])))),N=function(e){return a()(E()(_()("percentComplete",100),i()("isComplete",!0)),x.w4,y()(l()(["items",e]),i()("isComplete",!0)))}},77107:function(e,t,n){"use strict";n.d(t,{H:function(){return f}});var r=n(92738),i=n.n(r),o=n(13207),a=n.n(o),s=n(66497),u=n.n(s),c=n(26485),l=function(e){return u()("audioVideoPlayhead",e)},d=function(e){var t=e.blockId,n=e.itemId,r=e.playheadPercentage;return t?i()(a()(["items",t,"items",n]),l(r)):l(r)},f=function(e){var t=e.blockId,n=e.lessonId,r=e.itemId,i=e.playheadPercentage;return(0,c.Rd)({id:n,updateFn:d({blockId:t,lessonId:n,itemId:r,playheadPercentage:i})})}},29219:function(e,t,n){"use strict";n.d(t,{IM:function(){return R},OI:function(){return D},TW:function(){return P},nC:function(){return A},us:function(){return O}});var r=n(66497),i=n.n(r),o=n(50557),a=n.n(o),s=n(9134),u=n.n(s),c=n(13657),l=n.n(c),d=n(13207),f=n.n(d),p=n(25677),h=n.n(p),m=n(20780),v=n.n(m),g=n(22184),y=n.n(g),b=n(61584),_=n.n(b),w=n(92738),E=n.n(w),k=n(62848),x=n.n(k),S=n(47176),T=n.n(S),C=n(42159),N=n(26485),O=function(e){var t=e.id;return function(e){return e((0,N.i6)({id:t,updateFn:L}))}},A=function(e){var t=e.activeIndex,n=e.id;return function(e){return e((0,N.i6)({id:n,updateFn:I(t)}))}},P=function(e){var t=e.activeIndex,n=e.id,r=e.itemId;return function(e){return e((0,N.i6)({id:n,updateFn:M({activeIndex:t,itemId:r})}))}},L=_()(["activeIndex","direction"]),I=function(e){return u()(v())({activeIndex:e,direction:"backwards"})},M=function(e){var t=e.activeIndex,n=e.itemId;return a()(T()(x()("percentComplete",100),i()("isComplete",!0)),N.w4,T()((function(){return y()(l()(n))}),E()(f()(["items",n]),i()("isComplete",!0))),i()("activeIndex",t),_()(["direction"]))},R=a()(u()(v())({isComplete:!0,percentComplete:100}),L,E()(h()("items"),(0,C.Nl)(i()("isComplete",!0)))),D=a()(_()(["activeIndex","direction","isComplete","percentComplete"]),E()(h()("items"),(0,C.Nl)(_()(["isComplete"]))))},81099:function(e,t,n){"use strict";n.d(t,{y:function(){return y}});var r=n(66497),i=n.n(r),o=n(23710),a=n.n(o),s=n(42157),u=n.n(s),c=n(13207),l=n.n(c),d=n(61584),f=n.n(d),p=n(92738),h=n.n(p),m=n(96942),v=n.n(m),g=n(26485),y=function(e){var t=e.id,n=e.itemId,r=e.text;return function(e){return e((0,g.i6)({id:t,type:"quiz",updateFn:b({itemId:n,text:r})}))}},b=function(e){var t=e.itemId,n=e.text;return h()(l()(["items",t]),a()(v()(u(),[n]),f()(["text"]),i()("text",n)))}},90322:function(e,t,n){"use strict";n.d(t,{TW:function(){return pe},tn:function(){return ge},ur:function(){return he},wR:function(){return Se}});var r=n(63073),i=n.n(r),o=n(22626),a=n.n(o),s=n(54115),u=n.n(s),c=n(66497),l=n.n(c),d=n(23018),f=n.n(d),p=n(36573),h=n.n(p),m=n(50557),v=n.n(m),g=n(32207),y=n.n(g),b=n(52892),_=n.n(b),w=n(47166),E=n.n(w),k=n(51481),x=n.n(k),S=n(51383),T=n.n(S),C=n(9134),N=n.n(C),O=n(23710),A=n.n(O),P=n(40486),L=n.n(P),I=n(13657),M=n.n(I),R=n(90368),D=n.n(R),j=n(24234),Z=n.n(j),B=n(13207),F=n.n(B),U=n(25677),q=n.n(U),z=n(20780),H=n.n(z),V=n(1102),W=n.n(V),Y=n(61584),G=n.n(Y),K=n(92738),$=n.n(K),X=n(54782),J=n.n(X),Q=n(5206),ee=n.n(Q),te=n(52478),ne=n.n(te),re=n(62848),ie=n.n(re),oe=n(33411),ae=n.n(oe),se=n(47176),ue=n.n(se),ce=n(72131),le=n(42159),de=n(31826),fe=n(26485),pe=function(e){var t=e.activeIndex,n=e.id;return function(e){return e((0,fe.i6)({id:n,updateFn:me({activeIndex:t})}))}},he=function(e){var t=e.currentPassingScore,n=e.id;return function(e){return e((0,fe.i6)({id:n,updateFn:ve(t)}))}},me=function(e){var t=e.activeIndex;return l()("activeIndex",t)},ve=function(e){return v()($()(q()("retryAttempts"),v()(L(),_()(0))),ue()(ie()("passed",!1),G()(["passed"])),ue()(ie()("isComplete",!1),G()(["isComplete"])),G()(["activeIndex","originalItemProgress","percentComplete","score","reportResults","questionsDrawn","questionList"]),$()(q()("items"),(0,le.Nl)(ee()(["id","index"]))),$()(q()("passingScore"),u()(e)))},ge=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((0,fe.i6)({id:n,type:"quiz",updateFn:ye({finalRetryAttempt:t,id:n,isCorrect:r,itemId:i,passingScore:o,passToContinue:a})}))}},ye=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.itemId,i=e.isCorrect,o=e.passingScore,a=e.passToContinue;return v()(ue()(ie()("percentComplete",100),be({finalRetryAttempt:t,id:n,passingScore:o,passToContinue:a})),fe.w4,_e,$()(F()(["items",r]),N()(H())({isComplete:!0,isCorrect:i})))},be=function(e){var t=e.finalRetryAttempt,n=e.id,r=e.passingScore,i=e.passToContinue;return function(e){var o=ne()("score",e),a=o>=r,s=!i||a;return(0,ce.kE)(a,o,n,t),H()({passed:a,isComplete:s,reportResults:!0},e)}},_e=function(e){return l()("score",v()(Math.round,W()(100),N()(E())(v()(Z(),D(),ne()("items"))(e)),Z(),T()(ie()("isCorrect",!0)),ae(),ne()("items"))(e),e)},we=f()(v()(x()(3),Z()),a()(h()(M()))),Ee=v()(ae(),ee()(["passed","retryAttempts","score"])),ke=v()(we,Ee),xe=function(e){var t=e.id,n=e.state;return(0,de.qT)(n,J()({},["lessons",t,"items"]),D(),Z(),i()(1))},Se=y()((function(e){return A()(ke,function(e){return function(t){var n=t.id,r=t.passed,i=t.passingScore,o=t.score,a=t.retryAttempts;return $()(F()(["lessons",n]),N()(H())({isComplete:!0,activeIndex:xe({id:n,state:e}),reportResults:!0,passed:r,passingScore:i,percentComplete:100,retryAttempts:a,score:o}),e)}}(e),u()(e))}))},88137:function(e,t,n){"use strict";n.d(t,{q:function(){return g}});var r=n(66497),i=n.n(r),o=n(50557),a=n.n(o),s=n(51481),u=n.n(s),c=n(13207),l=n.n(c),d=n(92738),f=n.n(d),p=n(63266),h=n.n(p),m=n(26485),v=n(46412),g=function(e){var t=e.id,n=e.itemId,r=e.dragIndex,i=e.dropZoneIndex;return function(e){return e((0,m.i6)({id:t,type:"quiz",updateFn:y({itemId:n,dragIndex:r,dropZoneIndex:i})}))}},y=function(e){var t=e.itemId,n=e.dragIndex,r=e.dropZoneIndex;return f()(l()(["items",t,"matches"]),a()(i()(n,r),h()(u()(r)),v.Ki))}},88990:function(e,t,n){"use strict";n.d(t,{K:function(){return l}});var r=n(66497),i=n.n(r),o=n(13207),a=n.n(o),s=n(92738),u=n.n(s),c=n(26485),l=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e((0,c.i6)({id:t,type:"quiz",updateFn:d({itemId:n,selectedIndex:r})}))}},d=function(e){var t=e.itemId,n=e.selectedIndex;return u()(a()(["items",t]),i()("selectedIndex",n))}},34383:function(e,t,n){"use strict";n.d(t,{c:function(){return L}});var r=n(89576),i=n.n(r),o=n(50557),a=n.n(o),s=n(61949),u=n.n(s),c=n(23710),l=n.n(c),d=n(42157),f=n.n(d),p=n(13657),h=n.n(p),m=n(13207),v=n.n(m),g=n(25677),y=n.n(g),b=n(70682),_=n.n(b),w=n(61584),E=n.n(w),k=n(92738),x=n.n(k),S=n(43931),T=n.n(S),C=n(47176),N=n.n(C),O=n(76290),A=n.n(O),P=n(26485),L=function(e){var t=e.id,n=e.itemId,r=e.selectedIndex;return function(e){return e((0,P.i6)({id:t,type:"quiz",updateFn:R({itemId:n,selectedIndex:r})}))}},I=function(e){return v()(["items",e])},M=function(e){return a()(I(e),y()("selectedIndices"))},R=function(e){var t,n=e.itemId,r=e.selectedIndex;return a()(N()((t=n,a()(f(),T()(M(t)))),function(e){return x()(I(e),E()(["selectedIndices"]))}(n)),function(e){var t=e.itemId,n=e.selectedIndex;return x()(M(t),a()(l()(u()(n),A()(_()(n)),i()(n)),N()(h(),(function(){return[]}))))}({itemId:n,selectedIndex:r}))}},58860:function(e,t,n){"use strict";n.d(t,{LK:function(){return y},Ub:function(){return _},V$:function(){return w},zm:function(){return b}});var r=n(9134),i=n.n(r),o=n(25677),a=n.n(o),s=n(20780),u=n.n(s),c=n(61584),l=n.n(c),d=n(92738),f=n.n(d),p=n(4603),h=n.n(p),m=n(42159),v=n(63563),g=n(26485),y=i()(u())({isComplete:!0,percentComplete:100,percentViewed:100}),b=function(e){return function(t){return t((0,g.i6)({id:e,updateFn:v.L}))}},_=h()(f()(a()("items"),(0,m.Nl)(l()(["isComplete","isCorrect","isViewed"]))),l()(["correctlyAnswered","percentComplete","isComplete","percentViewed"])),w=function(e){var t=e.id,n=e.itemId,r=e.isCorrect;return function(e){return e((0,g.i6)({id:t,updateFn:(0,v.g)({itemId:n,isCorrect:r})}))}}},53884:function(e,t,n){"use strict";n.d(t,{FE:function(){return E},H8:function(){return w},fV:function(){return _}});var r=n(66497),i=n.n(r),o=n(9134),a=n.n(o),s=n(25677),u=n.n(s),c=n(20780),l=n.n(c),d=n(61584),f=n.n(d),p=n(92738),h=n.n(p),m=n(4603),v=n.n(m),g=n(42159),y=n(56296),b=n(26485),_=function(e){var t=e.id,n=e.payload;return function(e){return e((0,b.i6)({id:t,updateFn:(0,y.B)(n)}))}},w=v()(h()(u()("items"),(0,g.Nl)(i()("isComplete",!0))),a()(l())({isComplete:!0,percentComplete:100})),E=v()(h()(u()("items"),(0,g.Nl)(f()(["isComplete"]))),f()(["isComplete","percentComplete","activeIndex"]))},15414:function(e,t,n){"use strict";n.d(t,{Cm:function(){return O},Sv:function(){return A},cT:function(){return N}});var r=n(54115),i=n.n(r),o=n(66497),a=n.n(o),s=n(50557),u=n.n(s),c=n(9134),l=n.n(c),d=n(97560),f=n.n(d),p=n(21186),h=n.n(p),m=n(20780),v=n.n(m),g=n(144),y=n.n(g),b=n(61584),_=n.n(b),w=n(62848),E=n.n(w),k=n(53176),x=n.n(k),S=n(47176),T=n.n(S),C=n(26485),N=function(e){var t=e.currentTime,n=e.id,r=e.percentComplete;return function(e){return e((0,C.i6)({id:n,updateFn:L({currentTime:t,percentComplete:r})}))}},O=l()(v())({currentTime:0,isComplete:!0,percentComplete:100}),A=_()(["currentTime","isComplete","percentComplete"]),P=T()(E()("percentComplete",100),a()("isComplete",!0)),L=function(e){var t=e.currentTime,n=e.percentComplete;return u()(a()("currentTime",t),P,function(e){return function(t){return u()(v()(t),y()("percentComplete"),Math.round,T()(f()(90),i()(100)),h()(e),x()(0,"percentComplete"))(t)}}(n))}},15209:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(44845),i=n(96249),o="rise/features/SET_FEATURE_FLAGS";t.Z=(0,i.handle)({},(0,r.Z)({},o,(function(e,t){return t})));var a=(0,i.action)(o)},56659:function(e,t,n){"use strict";var r,i=n(44845),o=n(54405),a=n.n(o),s=n(20780),u=n.n(s),c=n(6037),l=n.n(c),d=n(73188),f=n(76637),p=n(79886),h=n(80454),m=n(58539),v=(a()("rise/fonts/")("LOAD_FONTS"),u()({}));t.ZP=(0,f.pr)({},(r={},(0,i.Z)(r,h.bw,(function(e,t){var n=t.fonts;return u()(e,l()(g)(n))})),(0,i.Z)(r,h.$J,(function(e,t){var n=t.fonts;return v(n)})),r));var g=function(e){return(0,d._)(e,(function(){return(0,m.W)((0,p.If)(!0))}))}},43265:function(e,t,n){"use strict";var r=n(44845),i=n(54405),o=n.n(i),a=n(20780),s=n.n(a),u=n(76637),c={isPreview:"preview"===window.viewType,externalLinksModalVisible:!1},l=o()("rise/globals/")("SHOW_EXTERNAL_LINKS_MODAL");t.Z=(0,u.pr)(c,(0,r.Z)({},l,(function(e,t){return s()(e,{externalLinksModalVisible:t})})))},91832:function(e,t,n){"use strict";var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(80454),m=n(76458),v=n(26485),g=n(15209),y=n(56659),b=n(43265),_=n(19649),w=n(81322),E=n(5785),k=n(24230),x=n(16255),S=n(79886),T=n(6212);function C(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}var N=n(64393).VO?{learningPathUpNext:_.Z}:{};t.Z=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}({course:h.ZP,courseLabels:m.Z,courseProgress:v.ZP,features:g.Z,fonts:y.ZP,global:b.Z,partnerContent:w.Z,search:E.ZP,sessionPreferences:k.ZP,slidesUI:x.ZP,status:S.ZP,ui:T.ZP},N)},19649:function(e,t,n){"use strict";n.d(t,{V:function(){return Z}});var r,i=n(44845),o=n(94066),a=n.n(o),s=n(54115),u=n.n(s),c=n(22673),l=n.n(c),d=n(66497),f=n.n(d),p=n(36573),h=n.n(p),m=n(54405),v=n.n(m),g=n(9134),y=n.n(g),b=n(97877),_=n.n(b),w=n(55389),E=n.n(w),k=n(4603),x=n.n(k),S=n(52478),T=n.n(S),C=n(47176),N=n.n(C),O=n(96249),A=n(2242),P=n(57469),L=v()("rise/learningPathUpNext/"),I=L("FETCH_LP_UP_NEXT"),M=L("FETCH_LP_UP_NEXT_PENDING"),R=h()(_()("id")),D=y()(l()({nextCourse:N()(R,u()({})),learningPathComplete:R,lpHasFailedQuiz:T()("lpHasFailedQuiz"),isPending:!1,isSuccess:!0})),j=f()("isPending",!0);t.Z=(0,O.handle)({nextCourse:{},learningPathComplete:!1,isPending:!1,isSuccess:!1},(r={},(0,i.Z)(r,I,(0,O.onSuccess)(D)),(0,i.Z)(r,M,j),r));var Z=E()([(0,O.action)(M),x()(a().fromPromise(P.Vl),(0,A.Z)(I))])},81322:function(e,t,n){"use strict";var r=n(44845),i=n(89576),o=n.n(i),a=n(22624),s=n.n(a),u=n(53523),c=n.n(u),l=n(62848),d=n.n(l),f=n(20793),p=n.n(f),h=n(67964),m=n.n(h),v=n(96249),g=n(54959),y=function(e,t){var n=c()(d()("id",t.id),e.content),r=-1===n?o()(t):m()(n,t);return s()({content:r},e)},b=(0,r.Z)({},g.a,(function(e,t){return p()(y,e,t)}));t.Z=(0,v.handle)({content:[]},b)},54959:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(54405),i=n.n(r)()("rise/partnerContent/")("SET_ALL_PARTNER_CONTENT")},85541:function(e,t,n){"use strict";n.d(t,{Ni:function(){return f},Xv:function(){return p},Zc:function(){return d},a3:function(){return l},aR:function(){return u},rv:function(){return c}});var r=n(54405),i=n.n(r),o=n(76637),a=n(57469),s=i()("rise/rise-com/"),u=s("FAVORITE_ADDED"),c=s("FAVORITE_REMOVED"),l=function(){return(0,o.jw)(a.a3)},d=function(){return(0,o.aD)(u,void 0)},f=function(){return(0,o.jw)(a.Ni)},p=function(){return(0,o.aD)(c,void 0)}},5785:function(e,t,n){"use strict";n.d(t,{Cl:function(){return _},Nk:function(){return g},lp:function(){return y},sU:function(){return b},v2:function(){return v}});var r,i=n(44845),o=n(66497),a=n.n(o),s=n(76637),u=n(54405),c=n.n(u)()("rise/search/"),l=c("RESET_SEARCH"),d=c("SET_SEARCH_ACTIVE"),f=c("SET_SEARCH_ACTIVE_LESSONS"),p=c("SET_SEARCH_LESSONS"),h=c("SET_SEARCH_TERM"),m={active:!1,activeLessons:[],lessons:[],term:null};t.ZP=(0,s.pr)(m,(r={},(0,i.Z)(r,l,(function(e,t){return t?a()("active",e.active,m):e})),(0,i.Z)(r,d,(function(e,t){return a()("active",t,e)})),(0,i.Z)(r,f,(function(e,t){return a()("activeLessons",t,e)})),(0,i.Z)(r,p,(function(e,t){return a()("lessons",t,e)})),(0,i.Z)(r,h,(function(e,t){return a()("term",t,e)})),r));var v=(0,s.aD)(l),g=(0,s.aD)(d),y=(0,s.aD)(f),b=(0,s.aD)(p),_=(0,s.aD)(h)},24230:function(e,t,n){"use strict";n.d(t,{B8:function(){return v},Mi:function(){return g},j_:function(){return y}});var r,i=n(44845),o=n(54405),a=n.n(o),s=n(54115),u=n.n(s),c=n(20780),l=n.n(c),d=n(76637),f=a()("rise/sessionPreferences/"),p=f("LOAD_SESSION_PREFERENCES"),h=f("SET_PREFERS_KEYBOARD_NAVIGATION"),m=f("SET_STARTING_COURSE_LESSON_SELECTED");t.ZP=(0,d.pr)({prefersKeyboardNavigation:!1,startedCourseWithLessonSelected:!1},(r={},(0,i.Z)(r,p,l()),(0,i.Z)(r,h,(function(e,t){return l()(e,{prefersKeyboardNavigation:t})})),(0,i.Z)(r,m,(function(e,t){return l()(e,{startedCourseWithLessonSelected:t})})),r));var v=u()((0,d.aD)(p,null)),g=(0,d.aD)(h),y=(0,d.aD)(m)},16255:function(e,t,n){"use strict";n.d(t,{Mz:function(){return m},Ni:function(){return h}});var r,i=n(44845),o=n(66497),a=n.n(o),s=n(9134),u=n.n(s),c=n(16052),l=n(96249),d="rise/slidesUI/SET_SLIDE_DIRECTION",f="rise/slidesUI/SET_EXITING_SLIDE_OFFSET",p={slideDirection:c.n.UP,exitingSlideOffset:0};t.ZP=(0,l.handle)(p,(r={},(0,i.Z)(r,d,u()(a()("slideDirection"))),(0,i.Z)(r,f,u()(a()("exitingSlideOffset"))),r));var h=(0,l.action)(d),m=(0,l.action)(f)},79886:function(e,t,n){"use strict";n.d(t,{B9:function(){return p},Fg:function(){return h},If:function(){return l},WO:function(){return m},jj:function(){return d},lm:function(){return f}});var r=n(44845),i=n(54405),o=n.n(i),a=n(20780),s=n.n(a),u=n(76637),c=o()("rise/status/")("SET_LOADED");t.ZP=(0,u.pr)({connection:"connected",courseLoaded:!1,fontsLoaded:!1,notFound:!1,partnerContentLoaded:!1},(0,r.Z)({},c,(function(e,t){return s()(e,t)})));var l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,u.aD)(c,{fontsLoaded:e})},d=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,u.aD)(c,{courseLoaded:e})},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"connected";return(0,u.aD)(c,{connection:e})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,u.aD)(c,{coverLoaded:e})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,u.aD)(c,{notFound:e})},m=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,u.aD)(c,{partnerContentLoaded:e})}},6212:function(e,t,n){"use strict";n.d(t,{TX:function(){return m},xw:function(){return v}});var r,i=n(44845),o=n(96249),a=n(66497),s=n.n(a),u=n(54405),c=n.n(u),l=n(9134),d=n.n(l),f=c()("rise/ui/"),p=f("SET_LESSON_NAV_NEXT_BUTTON_UI"),h=f("SET_SKIP_TO_NAV_BUTTON_UI");t.ZP=(0,o.handle)({lessonNavNextButton:null,skipToNavButton:null},(r={},(0,i.Z)(r,p,d()(s()("lessonNavNextButton"))),(0,i.Z)(r,h,d()(s()("skipToNavButton"))),r));var m=(0,o.action)(p),v=(0,o.action)(h)},31471:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(16550);function i(){var e,t=(0,r.$B)("/lessons/:currentLessonId");return null==t||null===(e=t.params)||void 0===e?void 0:e.currentLessonId}},91761:function(e,t,n){"use strict";n.d(t,{MK:function(){return p},Oe:function(){return s},Tn:function(){return u},hm:function(){return c},jR:function(){return d},nq:function(){return h},rS:function(){return l},zP:function(){return f}});var r=n(22222),i=n(50554),o=n(19585),a=n(41785);function s(e){return null==e?void 0:e.course}function u(){return(0,i.v9)((function(e){return s(e)}))}function c(e){return s(e).navigationMode}function l(e){return s(e).trackingQuizId}function d(e){return s(e).coverImage}var f=(0,r.P1)(d,(function(e){return(0,o.A5)(e)}));function p(){return(0,i.v9)((function(e){return function(e){var t=s(e);return null==t?void 0:t.type}(e)}))}function h(e){var t=s(e);return(null==t?void 0:t.type)===a.BL}},32658:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},b:function(){return i}});var r=n(50554);function i(e){var t;return null==e||null===(t=e.courseLabels)||void 0===t?void 0:t.labels}function o(){return(0,r.v9)((function(e){return i(e)}))}},23692:function(e,t,n){"use strict";n.d(t,{J1:function(){return d},OS:function(){return m},PS:function(){return y},Q1:function(){return g},_v:function(){return f},cY:function(){return w},g2:function(){return b},pr:function(){return E},rv:function(){return _},vC:function(){return l},ye:function(){return p}});var r=n(98882),i=n.n(r),o=n(22222),a=n(31002),s=n(72131),u=n(50554),c=n(91761);function l(e){return e.courseProgress}function d(e){var t=l(e);return null==t?void 0:t.currentLesson}function f(e){var t=l(e);return null==t?void 0:t.percentComplete}function p(){return(0,u.v9)((function(e){return f(e)}))}var h=(0,o.P1)(c.rS,c.Oe,(function(e,t){var n=t.lessons;return Array.isArray(n)?i()(n).call(n,(function(t){var n=t.id;return"quiz"===t.type&&n===e})):null}));function m(){return(0,u.v9)((function(e){return h(e)}))}var v=(0,o.P1)(l,h,(function(e,t){return t?(0,a.RK)(e,t,t.id):null}));function g(){return(0,u.v9)((function(e){return v(e)}))}function y(e){var t=l(e);return(0,s.R)()?100===t.percentComplete:(0,s.ew)()}function b(){return(0,u.v9)((function(e){return y(e)}))}function _(e){var t=l(e);return null==t?void 0:t.lessons}function w(e,t){var n=_(t);return null==n?void 0:n[e]}function E(e){return(0,u.v9)((function(t){return w(e,t)}))}},23328:function(e,t,n){"use strict";n.d(t,{M0:function(){return j},a_:function(){return Z},oy:function(){return M},b5:function(){return F},lC:function(){return ae},zK:function(){return ie},Jo:function(){return se},CX:function(){return re},Oy:function(){return U},l1:function(){return X},LX:function(){return K},NS:function(){return J},Te:function(){return H},Eb:function(){return G},az:function(){return ce},Xc:function(){return ee},RN:function(){return R},LY:function(){return te},qg:function(){return ue},gp:function(){return q},h8:function(){return z},j4:function(){return B}});var r=n(98882),i=n.n(r),o=n(33610),a=n.n(o),s=n(22222),u=n(31002),c=n(91761),l=n(67294),d=n(50554),f=n(17919),p=n.n(f),h=n(51383),m=n.n(h),v=n(46408),g=n.n(v),y=n(40486),b=n.n(y),_=n(27601),w=n.n(_),E=n(24234),k=n.n(E),x=n(84585),S=n.n(x),T=n(52478),C=n.n(T),N=n(53176),O=n.n(N),A=n(23692);var P=n(23106),L=n(31454),I=n(64393);function M(){return(0,s.P1)((function(e){return e}),(function(e,t){return V(t)}),(function(e,t){return C()(e,t)}))}function R(e){var t=(0,l.useMemo)((function(){return M()}),[]);return(0,d.v9)((function(n){return t(e,n)}))}function D(){var e=M();return(0,s.P1)(e,(function(e){return(0,P.jx)(e)}))}function j(){return(0,s.P1)(A.J1,Y,(function(e,t){return O()(-1,e,t)}))}function Z(){var e=F();return(0,s.P1)((function(e){return e}),(function(t,n){return e(n)}),(function(e,t){return(0,c.hm)(t)}),(function(e,t){return Q(t)}),(function(e,t){return(0,A.rv)(t)}),(function(e,t){return(0,c.Oe)(t)}),(function(e,t){return function(e,t){return t.features[e]}("rise-com-lxp",t)}),(function(e,t,n,r,i,o,a){if(I.VO&&!a&&"preview"!==window.viewType&&!(0,I.AP)()&&!o.enrolled&&!o.favoritedAt)return{type:P.eP.ENROLLMENT};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 c,l,d,f=null!==(c=null===(l=i[null==r?void 0:r.id])||void 0===l?void 0:l.index)&&void 0!==c?c: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:P.eP.ORDER}:{type:P.eP.QUIZ,data:r.title}}return null}))}function B(e){var t=(0,l.useMemo)((function(){return Z()}),[]);return(0,d.v9)((function(n){return t(e,n)}))}function F(){return(0,s.P1)(c.rS,A.rv,(function(e,t){return(0,u.lj)(t,e)}))}function U(){var e=F();return(0,s.P1)(e,V,C())}function q(e){var t=(0,l.useMemo)((function(){return e=M(),(0,s.P1)(e,A.cY,(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||(0,P.sk)(e)&&!s)}));var e}),[]);return(0,d.v9)((function(n){return t(e,n)}))}function z(e){var t=(0,l.useMemo)((function(){return e=M(),(0,s.P1)(e,A.cY,(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&&(!(0,P.sk)(e)||s)}));var e}),[]);return(0,d.v9)((function(n){return t(e,n)}))}var H=(0,s.P1)(c.Oe,(function(e){return O()([],"lessons",e)})),V=(0,s.P1)(H,(function(e){return e.reduce((function(e,t){return null!=t&&t.id&&(e[t.id]=t),e}),{})})),W=(0,s.P1)(c.Oe,(function(e){return O()([],"lessonsOnly",e)})),Y=(0,s.P1)(W,(function(e){return e.reduce((function(e,t,n){return e[t.id]=n+1,e}),{})})),G=(0,s.P1)(W,(function(e){return S()("id",e)})),K=(0,s.P1)(W,(function(e){return g()(e)})),$=(0,s.P1)(W,m()((function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson}))),X=(0,s.P1)($,k()),J=(0,s.P1)(H,(function(e){return e.reduce((function(e,t){var n=e[e.length-1];return(0,P.jx)(t)||null==n?e.push([t.id]):n.push(t.id),e}),[])})),Q=(0,s.P1)(W,A.rv,(function(e,t){return i()(e).call(e,(function(e){var n;return(0,P.sk)(e)&&(0,P.nu)(e)&&!(null!==(n=t[e.id])&&void 0!==n&&n.isComplete)}))}));function ee(e){var t=(0,l.useMemo)(D,[]);return(0,d.v9)((function(n){return t(e[0],n)}))}function te(e){var t=(0,l.useMemo)((function(){return M()}),[]),n=(0,l.useMemo)((function(){return Z()}),[]);return(0,d.v9)((function(r){var i=(0,c.Oe)(r),o=t(e,r),a=(0,A.cY)(e,r),s=n(e,r),u=null!=(null==s?void 0:s.type);return(null==i?void 0:i.navigationMode)!==L.$h.RESTRICTED&&(null==i?void 0:i.markComplete)&&!u&&(null==o?void 0:o.type)!==P.T4.QUIZ&&!(I.VO&&100===(null==a?void 0:a.percentComplete))}))}var ne=function(e,t){return a()(t).call(t,(function(t){return t.id===e}))};function re(){return(0,s.P1)((function(e){return e}),(function(e,t){return W(t)}),(function(e,t){if("progress-summary"===e)return w()(t);var n=ne(e,t);return t[p()(n)]}))}function ie(){return(0,s.P1)((function(e){return e}),(function(e,t){return W(t)}),(function(e,t){var n=ne(e,t);return t[b()(n)]}))}function oe(e){return(0,s.P1)(e,(function(e,t){return $(t)}),(function(e,t){return ne(null==e?void 0:e.id,t)+1}))}function ae(){return oe(ie())}function se(){return oe(re())}function ue(){return(0,d.v9)((function(e){return J(e)}))}function ce(){var e=(0,l.useMemo)((function(){return e=F(),(0,s.P1)(A.PS,e,c.rS,(function(e,t,n){return e||!t&&!(null!=n)}));var e}),[]);return(0,d.v9)((function(t){return e(t)}))}},58539:function(e,t,n){"use strict";n.d(t,{W:function(){return v},h:function(){return m}});var r=n(14890),i=n(50557),o=n.n(i),a=n(89524),s=n.n(a),u=n(43372),c=n(97196),l=n.n(c),d=n(59681),f=(n(72131),n(76637)),p=n(91832),h=(n.g.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__,o()),m=(0,r.MT)((0,r.UY)(p.Z),h((0,r.md)(d.Z,l(),(0,u.Z)("run"),s(),f.Yq))),v=m.dispatch},31002:function(e,t,n){"use strict";n.d(t,{HU:function(){return be},KZ:function(){return xe},RK:function(){return Le},T0:function(){return ge},Y4:function(){return ke},_m:function(){return ve},gc:function(){return ye},k2:function(){return Ee},lj:function(){return Pe},mZ:function(){return we},tV:function(){return fe.tV}});var r=n(54115),i=n.n(r),o=n(50557),a=n.n(o),s=n(32207),u=n.n(s),c=n(17919),l=n.n(c),d=n(52892),f=n.n(d),p=n(14087),h=n.n(p),m=n(54228),v=n.n(m),g=n(51481),y=n.n(g),b=n(51383),_=n.n(b),w=n(46376),E=n.n(w),k=n(53523),x=n.n(k),S=n(9134),T=n.n(S),C=n(46408),N=n.n(C),O=n(23710),A=n.n(O),P=n(40486),L=n.n(P),I=n(42157),M=n.n(I),R=n(13657),D=n.n(R),j=n(27601),Z=n.n(j),B=n(24234),F=n.n(B),U=n(22184),q=n.n(U),z=n(416),H=n.n(z),V=n(54782),W=n.n(V),Y=n(5206),G=n.n(Y),K=n(4603),$=n.n(K),X=n(52478),J=n.n(X),Q=n(62848),ee=n.n(Q),te=n(67430),ne=n.n(te),re=n(98313),ie=n.n(re),oe=n(1465),ae=n.n(oe),se=n(15598),ue=n.n(se),ce=n(64393),le=n(72131),de=n(84330),fe=n(19585),pe=a()(q(),M()),he=a()(_()(fe.tV),J()("lessonsOnly")),me=function(e){return function(t){return q()(H()(["lessons",t.id,"isComplete"],e))}},ve=function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,N()(J()("lessonsOnly",t)))},ge=a()(q(),ee()("type","section")),ye=function(e){var t=e.course,n=e.courseProgress,r=e.lesson,i=e.restrictingQuiz,o=e.lxpEnabled,a=void 0!==o&&o,s=(0,de.g)({courseProgress:n,lesson:r,restrictingQuiz:i}),u=(0,fe.gr)(t),c=u||pe(s),l=function(e){var t=e.course,n=e.courseProgress;return E()(me(n))(t.lessonsOnly)}({course:t,courseProgress:n}),d=ce.VO&&!t.enrolled&&!t.favoritedAt&&!(0,le.AP)()&&!a,f=d&&!t.riseComLearningPathId&&"preview"!==window.viewType,p=d&&t.riseComLearningPathId&&"preview"!==window.viewType,h=ge(r)&&q()(function(e){var t=e.lesson,n=e.courseProgress;return W()(!1,["lessons",t.id,"isComplete"],n)}({lesson:r,courseProgress:n})),m=f&&h||p&&h||c&&h&&q()(function(e){var t=e.lesson,n=e.currentLesson;return t&&ee()("id",t.id,n)}({lesson:r,currentLesson:l}));return{isRestricted:m,isRestrictedNotEnrolledCourse:f,isRestrictedNotEnrolledLP:p,restrictingQuiz:s,isRestrictedCourse:u,currentLesson:l}},be=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,c=n.currentLesson,l=c&&v()("id",u,c);return a?"Please save to My List to take this course":s?null:!o||o&&l?u.title?i.replace("quiz",'"'.concat(u.title,'"')):i:r},_e=u()((function(e){return x()(ue()(G()(["id"],e||{})))})),we=function(e){var t=e.course,n=e.lesson;return a()(L(),_e(n),he)(t)},Ee=function(e){var t=e.course,n=e.lesson;return!function(e){var t=e.course,n=e.lesson;return ee()("id",n.id,Z()(J()("lessonsOnly",t)))}({course:t,lesson:n})&&t.lessonsOnly[L()(_e(n,t.lessonsOnly))]},ke=function(e){var t=e.course,n=e.lesson;return!ve({course:t,lesson:n})&&t.lessonsOnly[l()(_e(n,t.lessonsOnly))]},xe=a()(F(),he),Se=h()(D(),M()),Te=h()(D(),y()(!1)),Ce=ne()(Te,"isComplete"),Ne=h()(ne()(y()(!1),"passed"),ne()(Te,"isComplete")),Oe=ae()(2,(function(e){return E()(A()(a()(y()(e),N()),a()(Ne,Z()),a()(Ce,Z())))})),Ae=ae()(2,(function(e){return $()(ie(),Oe(e),f()([]),N())})),Pe=T()(ae()(2,(function(e){return A()(Se,i()(e),Ae(e))}))),Le=function(e,t,n){if(!n)return{outOfAttempts:!1,quizPassed:!0};var r=H()(["lessons",n],e),i=W()(-1,["settings","retryCount"],t),o=W()(0,["retryAttempts"],r),a=H()(["passed"],r);return{outOfAttempts:H()(["isComplete"],r)&&i>-1&&y()(Number(o),Number(i)),quizPassed:a}}},61443:function(e,t,n){"use strict";var r=n(63263),i=n.n(r),o=n(30699),a=n.n(o),s=n(58377),u=n.n(s),c=n(13038),l=n.n(c),d=n(44845),f=n(2562),p=n(88066),h=n.n(p),m=n(89356),v=n.n(m),g=n(6538),y=n.n(g),b=n(12088),_=n.n(b),w=n(94066),E=n.n(w),k=n(55109),x=n(69105),S=n.n(x),T=n(20780),C=n.n(T),N=n(52478),O=n.n(N),A=n(19937),P=n(26485),L=n(90322),I=n(64393),M=n(60355),R=n(37787),D=n(17494),j=n(91243),Z=n(48306),B=n(60821),F=["id","type"],U=["id","type"];function q(e,t){var n=v()(e);if(i()){var r=i()(e);t&&(r=a()(r).call(r,(function(t){return u()(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){(0,d.Z)(e,t,n[t])})):l()?Object.defineProperties(e,l()(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,u()(n,t))}))}return e}var H=function(e){return(window.env||{})[e]},V=function(){return!!window.contentId},W=V()&&!I.VO?j.Z:S(),Y={fetch:function(){if($.isExport||window.courseData||window.course)return(0,R.Z)(M.Z,{});var e,t,n;return(0,k.WY)({method:"GET",url:window.shareId?h()(e="".concat(H("RISE_RUNTIME_URI"),"/boot/share/")).call(e,window.shareId):V()?h()(t="".concat(H("RISE_RUNTIME_URI"),"/boot/businessContent/")).call(t,window.contentId):h()(n="".concat(H("RISE_RUNTIME_URI"),"/boot/")).call(n,window.courseId),json:!0,withCredentials:!0}).then(O()("body")).then(M.Z).then(W)},fetchPartnerContent:function(e){return $.isExport||window.partnerContent?E().of(window.partnerContent.content):(0,D.lY)(e)},getEnv:H,isPasswordProtected:function(){return!!window.shareId&&!!window.hasPassword},isShare:function(){return!!window.shareId},resolvePath:function(e){var t;return h()(t="".concat(H("CDN_USER_CONTENT_URI"),"/")).call(t,e)},verifySharePassword:function(e){return(0,k.WY)({method:"POST",url:"".concat(H("RISE_RUNTIME_URI"),"/password"),data:{shareId:window.shareId,password:e},json:!0}).then(O()("body"))}},G=function(e,t){return e+((t||{})[A.DX]||0)},K=function(e,t){return function(n,r){var i=r.id,o=r.type,a=(0,f.Z)(r,U);return t.lessons[i]?C()(n,e(function(e,t){var n=t.id,r=t.type,i=(0,f.Z)(t,F);return"quiz"===r?(0,L.wR)(e,z({id:n},i)):(0,P.nB)(e,{id:n,type:r})}(t,z({id:i,type:o},a)).lessons[i])):n}};window.Rise=_()(window.Rise||{},{completeLessons:function(e,t,n){var r=t.reduce(K(e,n),{}),i=v()(n.lessons||{}).length,o=y()(r).reduce(G,0);return{lessons:r,p:Math.round(o/i*100)}},decodeCourseProgress:Z.z,encodeCourseProgress:B.i,encodeLessonProgress:B.z});var $=C()(Y,window.Runtime||{});t.Z=$},11707:function(e,t,n){"use strict";n.d(t,{LC:function(){return a},pk:function(){return u},ps:function(){return s}});var r=n(23018),i=n.n(r),o=n(46412);function a(){return document.querySelector(".page-wrap")}var s=i()(o.EN,(function(e){return e.getBoundingClientRect().bottom-e.offsetHeight/4<=window.innerHeight}));function u(){return window.innerWidth<960}},27752:function(e,t,n){"use strict";n.d(t,{q:function(){return s}});var r=n(416),i=n.n(r),o=n(54782),a=n.n(o),s=function(e,t){var n=i()(["lessons",t],e),r=a()(0,["percentComplete"],n),o=i()(["passed"],n);return{isComplete:i()(["isComplete"],n),percentComplete:r,passedQuiz:o}}},95639:function(e,t,n){"use strict";n.d(t,{Wz:function(){return O},qZ:function(){return T},w_:function(){return S},ym:function(){return C}});var r=n(78095),i=n.n(r),o=n(23018),a=n.n(o),s=n(50557),u=n.n(s),c=n(54405),l=n.n(c),d=n(51383),f=n.n(d),p=n(46376),h=n.n(p),m=n(53523),v=n.n(m),g=n(52478),y=n.n(g),b=n(62848),_=n.n(b),w=n(53176),E=n.n(w),k=n(20793),x=n.n(k),S=function(e){var t="";return x()((function(e,n){if("section"===n.type)return t=n.id,n.children=[],l()(e,[n]);if(t){n.sectionId=t;var r=v()(_()("id",t))(e);return e[r].children=l()(e[r].children,[n]),e}return l()(e,[n])}),[],e)},T=function(e,t){var n=u()(h()(_()("id",t)),y()("children")),r=u()(h()(n),f()(_()("type","section")),S)(e);return r?[r.id]:[]},C=function(e){return v()(_()("id",e))},N=a()(_()("family","continue"),_()("variant","continue")),O=u()(i()(N),E()([],"items"))},19937:function(e,t,n){"use strict";n.d(t,{$B:function(){return l},$k:function(){return r},C4:function(){return k},C8:function(){return y},DO:function(){return u},DX:function(){return a},F2:function(){return m},Gt:function(){return i},Gy:function(){return v},I:function(){return p},JF:function(){return f},MP:function(){return b},Ne:function(){return s},P6:function(){return d},Q1:function(){return x},SH:function(){return _},V2:function(){return E},fp:function(){return c},mJ:function(){return w},pt:function(){return h},rY:function(){return o},xn:function(){return g}});var r="a",i="n",o="t",a="c",s="ps",u="p",c="v",l="r",d="s",f="rr",p="pq",h="qd",m="ql",v="vp",g="k",y="v",b="i",_="pv",w="m",E="s",k="x",x="t"},48306:function(e,t,n){"use strict";n.d(t,{z:function(){return se}});var r,i,o=n(44845),a=n(57735),s=n.n(a),u=n(66497),c=n.n(u),l=n(50557),d=n.n(l),f=n(22624),p=n.n(f),h=n(97877),m=n.n(h),v=n(46408),g=n.n(v),y=n(69105),b=n.n(y),_=n(42157),w=n.n(_),E=n(13657),k=n.n(E),x=n(90368),S=n.n(x),T=n(27601),C=n.n(T),N=n(25677),O=n.n(N),A=n(61894),P=n.n(A),L=n(90013),I=n.n(L),M=n(20780),R=n.n(M),D=n(51493),j=n.n(D),Z=n(5206),B=n.n(Z),F=n(52478),U=n.n(F),q=n(62848),z=n.n(q),H=n(53176),V=n.n(H),W=n(5994),Y=n.n(W),G=n(61937),K=n.n(G),$=n(33411),X=n.n($),J=n(47176),Q=n.n(J),ee=n(19937),te=function(e){return!!e},ne=(r={},(0,o.Z)(r,ee.$k,["activeIndex",b()]),(0,o.Z)(r,ee.Gy,["audioVideoPlayhead",Number]),(0,o.Z)(r,ee.DX,["isComplete",te]),(0,o.Z)(r,ee.Gt,["correctlyAnswered",b()]),(0,o.Z)(r,ee.DO,["percentComplete",b()]),(0,o.Z)(r,ee.$B,["retryAttempts",b()]),(0,o.Z)(r,ee.P6,["score",b()]),(0,o.Z)(r,ee.rY,["currentTime",b()]),(0,o.Z)(r,ee.fp,["percentViewed",b()]),(0,o.Z)(r,ee.JF,["reportResults",b()]),(0,o.Z)(r,ee.I,["passed",b()]),(0,o.Z)(r,ee.Ne,["passingScore",b()]),(0,o.Z)(r,ee.pt,["questionsDrawn",b()]),(0,o.Z)(r,ee.F2,["questionList",P()(P()(b()))]),r),re=function(e){return function(t,n){var r=C()(ue[n])(t);return n===ee.MP&&(r=r(U()("items",e))),(0,o.Z)({},g()(ue[n]),r)}},ie=function(e){return P()(function(e){return function(t){var n=e[t.index];return K()((function(){return k()(n)}),(function(){return d()(R()(t),j(),X(),I()(re(t)))(n)}))(t)}}(e))},oe=d()(j(),X(),I()(re(null))),ae=function(e){return function(t){var n=U()(ee.MP,e),r=U()("items",t);return d()(Q()((function(){return s()([m()("ql"),z()("qd",!0)])(e)}),(function(e){var t=P()(oe,n);return c()("originalItemProgress",t,e)})),R()(t),K()((function(){return w()(n)}),Y()(O()("items"),ie(n)(r))),j(),X(),I()(function(e){return function(t,n){return c()([g()(ne[n])],C()(ne[n])(t),e)}}(t)))(B()(S()(ne),e))}};function se(e,t){var n=U()("lessons",t);return K()((function(){return w()(n)}),d()(c()("percentComplete",V()(0,ee.DO,t)),p()({lessons:P()((function(e){var t=U()(e.index,n);return K()((function(){return k()(t)}),ae(t))(e)}))})))(e)}var ue=(i={},(0,o.Z)(i,ee.Gy,["audioVideoPlayhead",Number]),(0,o.Z)(i,ee.Gt,["correctlyAnswered",b()]),(0,o.Z)(i,ee.DX,["isComplete",te]),(0,o.Z)(i,ee.xn,["isCorrect",te]),(0,o.Z)(i,ee.C8,["isViewed",te]),(0,o.Z)(i,ee.MP,["items",ie]),(0,o.Z)(i,ee.SH,["percentViewed",b()]),(0,o.Z)(i,ee.mJ,["matches",b()]),(0,o.Z)(i,ee.V2,["selectedIndex",b()]),(0,o.Z)(i,ee.C4,["selectedIndices",b()]),(0,o.Z)(i,ee.Q1,["text",b()]),i)},60821:function(e,t,n){"use strict";n.d(t,{i:function(){return W},z:function(){return V}});var r=n(44845),i=n(50557),o=n.n(i),a=n(46408),s=n.n(a),u=n(69105),c=n.n(u),l=n(42157),d=n.n(l),f=n(90368),p=n.n(f),h=n(27601),m=n.n(h),v=n(25677),g=n.n(v),y=n(61894),b=n.n(y),_=n(90013),w=n.n(_),E=n(51493),k=n.n(E),x=n(144),S=n.n(x),T=n(5206),C=n.n(T),N=n(52478),O=n.n(N),A=n(53176),P=n.n(A),L=n(63266),I=n.n(L),M=n(5994),R=n.n(M),D=n(61937),j=n.n(D),Z=n(33411),B=n.n(Z),F=n(19937),U={activeIndex:[F.$k,c()],audioVideoPlayhead:[F.Gy,Number],correctlyAnswered:[F.Gt,c()],currentTime:[F.rY,c()],isComplete:[F.DX,Number],passingScore:[F.Ne,c()],percentComplete:[F.DO,c()],percentViewed:[F.fp,c()],retryAttempts:[F.$B,c()],score:[F.P6,c()],questionsDrawn:[F.pt,c()],questionList:[F.F2,b()(b()(c()))],reportResults:[F.JF,c()],passed:[F.I,c()]},q=function(e,t){return(0,r.Z)({},s()(Y[t]),m()(Y[t])(e))},z=o()(k(),B(),b()((function(e){return o()(j()(d(),S()(O()("index",e))),k(),B(),w()(q))(I()(d(),C()(p()(Y),e)))}))),H=function(e,t){return(0,r.Z)({},s()(U[t]),m()(U[t])(e))};function V(e){var t=O()("items",e),n=O()("index",e);return o()(S()(n),j()((function(){return d()(t)}),R()(g()(F.MP),z(t))),k(),B(),w()(H))(C()(p()(U),e))}var W=o()(S()(F.DO),P()(0,"percentComplete")),Y={audioVideoPlayhead:[F.Gy,Number],correctlyAnswered:[F.Gt,c()],isComplete:[F.DX,Number],isCorrect:[F.xn,Number],isViewed:[F.C8,Number],items:[F.MP,z],matches:[F.mJ,c()],percentViewed:[F.SH,c()],selectedIndex:[F.V2,c()],selectedIndices:[F.C4,b()(Number)],text:[F.Q1,c()]}},56877:function(e,t,n){"use strict";n.d(t,{CE:function(){return M},eb:function(){return R},j2:function(){return L},lI:function(){return I}});var r,i=n(44845),o=n(50557),a=n.n(o),s=n(22624),u=n.n(s),c=n(51383),l=n.n(c),d=n(77414),f=n.n(d),p=n(9134),h=n.n(p),m=n(61894),v=n.n(m),g=n(90013),y=n.n(g),b=n(87041),_=n.n(b),w=n(84585),E=n.n(w),k=n(52478),x=n.n(k),S=n(62848),T=n.n(S),C=n(33411),N=n.n(C),O=n(65194),A=function(e){return a()(O.Vt,e)},P=function(e,t,n){return(e[t]||e.MULTIPLE_CHOICE)(n)},L=function(e){var t=e.startTime;return e.stopTime-t},I=function(e){return P({FILL_IN_THE_BLANK:z,MATCHING:$,MULTIPLE_CHOICE:j,MULTIPLE_RESPONSE:j},F(e),e)},M=function(e){return P({FILL_IN_THE_BLANK:z,MATCHING:$,MULTIPLE_CHOICE:H,MULTIPLE_RESPONSE:W},F(e),e)},R=function(e){var t=e.item,n=e.itemProgress,r={FILL_IN_THE_BLANK:A(x()("text")),MATCHING:X(t),MULTIPLE_CHOICE:V(t),MULTIPLE_RESPONSE:Y(t)};return P(r,F(t),n)},D=function(e){return[e]},j=a()(v()((r="title",u()((0,i.Z)({},r,O.Vt)))),x()("answers")),Z=A(x()("id")),B=A(x()("title")),F=x()("type"),U=function(e){return function(t){return l()(T()("id",t),j(e))}},q=function(e){return h()(_())(j(e))},z=a()(E()("title"),j),H=function(e){return a()(U(e),x()("correct"))(e)},V=function(e){return a()(D,q(e),x()("selectedIndex"))},W=function(e){return a()(f(),v()(U(e)),x()("corrects"))(e)},Y=function(e){return a()(f(),v()(q(e)),x()("selectedIndices"))},G=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}}},K=A(x()("matchTitle")),$=a()(v()((function(e){var t=Z(e);return G({sourceId:t,sourceTitle:B(e),targetId:t,targetTitle:K(e)})})),j),X=function(e){return a()(N(),y()(function(e){return function(t,n){var r=q(e)(n),i=q(e)(t);return G({sourceId:Z(r),sourceTitle:B(r),targetId:Z(i),targetTitle:K(i)})}}(e)),x()("matches"))}},16052:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var r={UP:"up",DOWN:"down"}},84330:function(e,t,n){"use strict";n.d(t,{Z:function(){return w},g:function(){return E}});var r=n(50557),i=n.n(r),o=n(51383),a=n.n(o),s=n(72038),u=n.n(s),c=n(46408),l=n.n(c),d=n(22184),f=n.n(d),p=n(416),h=n.n(p),m=n(4991),v=n.n(m),g=n(52478),y=n.n(g),b=y()("lessons"),_=v()((function(e){return!!e}),["settings","passToContinue"]),w=function(e){var t,n=e.course,r=e.courseProgress;return i()(l(),a()((t=b(r),i()(f(),(function(e){return h()([e,"passed"],t)}),y()("id")))),a()(_),b)(n)||{}},E=function(e){var t=e.courseProgress,n=e.lesson,r=e.restrictingQuiz,o=function(e){return h()([e,"index"],b(t))},a=o(y()("id",n));return i()(u()(a),o,y()("id"))(r)?r:{}}},57469:function(e,t,n){"use strict";n.d(t,{JF:function(){return c},Ni:function(){return u},S1:function(){return d},To:function(){return f},Vl:function(){return m},a3:function(){return s},dt:function(){return h},fC:function(){return p},on:function(){return l}});var r=n(69798),i=n.n(r),o=window.RiseDotCom,a=function(e){return o&&o[e]},s=function(){a("addFavorite")&&i().resolve().then(o.addFavorite).catch(console.error)},u=function(){a("removeFavorite")&&i().resolve().then(o.removeFavorite).catch(console.error)},c=function(){a("exit")&&o.exit()},l=function(){a("on")&&o.on.apply(o,arguments)},d=function(){a("off")&&o.off.apply(o,arguments)},f=function(){a("goToLearn")&&o.goToLearn.apply(o,arguments)},p=function(){if(a("downloadCertificate"))return o.downloadCertificate.apply(o,arguments)},h=function(){if(a("downloadCertificateCancel"))return o.downloadCertificateCancel.apply(o,arguments)},m=function(){if(a("fetchLpUpNext"))return o.fetchLpUpNext.apply(o,arguments)}},72131:function(e,t,n){"use strict";n.d(t,{AP:function(){return I},LX:function(){return Z},N2:function(){return B},R:function(){return M},RF:function(){return N},_s:function(){return D},al:function(){return F},dU:function(){return y},dh:function(){return T},do:function(){return C},ew:function(){return L},g8:function(){return _},gY:function(){return w},he:function(){return E},i3:function(){return j},jr:function(){return P},kE:function(){return A},tL:function(){return R},ur:function(){return O},vj:function(){return x},xC:function(){return S},xZ:function(){return k}});var r=n(69798),i=n.n(r),o=n(51614),a=n.n(o),s=n(416),u=n.n(s),c=n(52478),l=n.n(c),d=n(9134),f=n.n(d),p=n(94066),h=n.n(p),m=n(65194),v=n(56877),g=n(61443),y=f()(l())(window.env||{}),b=function(e){return g.Z&&g.Z[e]};function _(e){return b("getMasteryScore")?g.Z.getMasteryScore(e):e.passingScore}function w(e){if(b("onCreateHistory"))return g.Z.onCreateHistory(e)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b("fetch")?i().resolve(g.Z.fetch()):i().resolve(e)}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return b("fetchPartnerContent")?g.Z.fetchPartnerContent(e):h().of({content:[]})}function x(e){if(b("bookmark"))return g.Z.bookmark(e)}function S(e){return b("getProgress")?g.Z.getProgress(e):e}function T(e){return b("setLessonComplete")?g.Z.setLessonComplete(e):e}function C(e){return b("setLessonProgress")?g.Z.setLessonProgress(e):e}function N(e,t){return b("setCourseProgress")?g.Z.setCourseProgress(e,t):e}function O(e){if(b("finish"))return g.Z.finish(e)}function A(e,t,n,r){b("finishQuiz")&&g.Z.finishQuiz(e,t,n,r)}function P(e,t,n,r){b("finishStoryline")&&g.Z.finishStoryline(e,t,n,r)}function L(){return b("isComplete")?g.Z.isComplete():null}function I(){return!!b("isExport")&&g.Z.isExport()}function M(){if(b("isExport")){var e=u()(["partnerContent","content"],window);return g.Z.isExport()&&e}return!1}function R(){return!!b("isShare")&&g.Z.isShare()}function D(){return!!b("isPasswordProtected")&&g.Z.isPasswordProtected()}function j(e){var t=e||"";return b("resolvePath")?a()(t).call(t,"http")||a()(t).call(t,"data:")||a()(t).call(t,"//")?t:g.Z.resolvePath(t):a()(t).call(t,"data:")||a()(t).call(t,"http")||a()(t).call(t,"//")?t:"/".concat(t)}function Z(e){return b("verifySharePassword")?g.Z.verifySharePassword(e):i().resolve({isValid:!0})}function B(e){if(b("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,c=r.title,l=r.type;return g.Z.reportAnswer({id:t,type:l,isCorrect:n,itemId:u,questionTitle:(0,m.Vt)(c),quizTitle:(0,m.Vt)(s),retryAttempts:a,answers:(0,v.lI)(r),correctResponse:(0,v.CE)(r),response:(0,v.eb)({item:r,itemProgress:i}),latency:(0,v.j2)(o)})}return!1}function F(e){if(b("startLesson"))return g.Z.startLesson(e)}},27744:function(e,t,n){"use strict";n.d(t,{Z:function(){return G}});var r=n(51383),i=n.n(r),o=n(42157),a=n.n(o),s=n(61894),u=n.n(s),c=n(4603),l=n.n(c),d=n(61949),f=n.n(d),p=n(65605),h=n(90013),m=n.n(h),v=n(6087),g=n.n(v),y=n(33411),b=n.n(y),_=n(19623),w=n(13657),E=n.n(w),k=Array.isArray,x=function(e){return!E()(e)&&"object"===(0,_.Z)(e)},S=function(e){return"string"==typeof e},T=function(e,t){return function(n,r){var i=f()(r,e);return x(n)?C(e,t)(n):!(!i||!S(n))&&!a()(g()(t,(0,p.htmlDecode)(n)))}},C=function(e,t){return function(n){return l()(m(),b(),f()(!0))(T(e,t),n)}},N=C,O=n(63073),A=n.n(O),P=n(66497),L=n.n(P),I=n(77414),M=n.n(I),R=n(24234),D=n.n(R),j=n(20793),Z=n.n(j),B=function(e,t){return function(n,r){var i=f()(r,e);return k(n)?b()(F(e,t)(n)):x(n)?F(e,t)(n):i&&S(n)?D()(g()(t,(0,p.htmlDecode)(n))):0}},F=function(e,t){return function(n){return m()(B(e,t),n)}},U=function e(t){return k(t)?u()(e,t):x(t)?e(b()(t)):function(e){return"number"==typeof e}(t)?t:void 0},q=function(e,t){return function(n){return l()(F(e,t),b(),u()(U),M(),Z()(A(),0),(function(e){return L()("results",e,n)}))(n)}},z=n(5683),H=n.n(z),V=function(e,t,n){return function(r,i){var o=f()(i,e);return k(r)?b()(W(e,t,n)(r)):x(r)?W(e,t,n)(r):o&&S(r)?H()(t,n,(0,p.htmlDecode)(r)):r}},W=function(e,t,n){return function(r){return m()(V(e,t,n),r)}},Y=W,G=function(e,t,n){var r=["caption","code","description","heading","message","name","paragraph","title","type"];if(a()(e))return!1;var o=e.replace(/[-[\]{}()"'*+?.,\\^$|#\s]/g,"\\$&"),s=new RegExp("(".concat(o,")(?![^<]*>)"),"ig"),c=Y(r,s,(function(e){return"<mark>".concat(e,"</mark>")})),d=u()(c,t),f=N(r,s),p=q(r,s);n(e,l()(i()(f),u()(p))(t),d)}},88826:function(e,t){"use strict";t.Z={addEventListeners:function(e,t){e.addEventListener("animationend",t,!1)},removeEventListeners:function(e,t){e.removeEventListener("animationend",t,!1)}}},17494:function(e,t,n){"use strict";n.d(t,{lY:function(){return O}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(50047),m=n.n(h),v=n(42825),g=n.n(v),y=n(54405),b=n.n(y),_=n(416),w=n.n(_),E=n(64393),k=n(17657);function x(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?x(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):x(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var T=(0,E.dU)("RBC_URI"),C="".concat(T,"/api/partner_content"),N=("".concat(C,"/types"),b()("".concat(C,"/")),{transformRequest:[function(e,t){return t.Authorization="Bearer ".concat((0,k.LP)()),e}],headers:{"Content-Type":"application/json"}}),O=function(e){var t;return m()(t=(0,k.WY)(S({method:"POST",url:C,data:g()({ids:e})},N))).call(t,w()(["data","content"]))}},28192:function(e,t,n){"use strict";n.d(t,{j9:function(){return E},jS:function(){return w}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=(n(73126),n(83728)),h=n(44845),m=n(67294);function v(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var y=(0,m.createContext)();function b(e,t){var n=t.type,r=t.message;switch(n){case"polite":return g(g({},e),{},{politeMessage1:e.alternatePolite?r:"",politeMessage2:e.alternatePolite?"":r,alternatePolite:!e.alternatePolite});case"assertive":return g(g({},e),{},{assertiveMessage1:e.alternatePolite?r:"",assertiveMessage2:e.alternatePolite?"":r,alternateAssertive:!e.alternateAssertive});default:return{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}}}function _(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 w(e){var t=e.children,n=(0,m.useReducer)(b,{politeMessage1:"",politeMessage2:"",alternatePolite:!1,assertiveMessage1:"",assertiveMessage2:"",alternateAssertive:!1}),r=(0,p.Z)(n,2),i=r[0],o=i.politeMessage1,a=i.politeMessage2,s=i.assertiveMessage1,u=i.assertiveMessage2,c=r[1],l=(0,m.useMemo)((function(){return{announcePolite:function(e){c({type:"polite",message:e})},announceAssertive:function(e){c({type:"assertive",message:e})},clearAnnouncements:function(){c({type:"clear"})}}}),[c]);return m.createElement(y.Provider,{value:l},m.createElement(_,{id:"polite-announcer1",ariaLive:"polite",message:o}),m.createElement(_,{id:"polite-announcer2",ariaLive:"polite",message:a}),m.createElement(_,{id:"assertive-announcer1",ariaLive:"assertive",message:s}),m.createElement(_,{id:"assertive-announcer2",ariaLive:"assertive",message:u}),t)}function E(){return(0,m.useContext)(y)||{}}},89975:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(95238),f=n.n(d),p=n(67294),h=n(94184),m=n.n(h),v=n(45697),g=n.n(v),y=n(17794),b=n.n(y),_=n(54782),w=n.n(_),E=n(96554),k=n(64393),x=n(12868),S=n(32542),T=n(46130),C=n(97236),N=n(51151);function O(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var A=function(e){var t=e.currentTime,n=e.duration;return Math.round(t/n*100)||0},P=function(e){(0,u.Z)(n,e);var t=O(n);function n(){var e;return(0,o.Z)(this,n),(e=t.call(this)).state={shouldLoadPlayheadPosition:!0,playheadPositionSaveThrottle:0},e.handleChange=e.handleChange.bind((0,s.Z)(e)),e.onPlayClick=e.onPlayClick.bind((0,s.Z)(e)),e}return(0,a.Z)(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(){E.Z.addChangeListener(this.handleChange)}},{key:"componentDidUpdate",value:function(e){!e.shouldPause&&this.props.shouldPause&&E.Z.isPlaying&&(this.audio.pause(),E.Z.pause())}},{key:"componentWillUnmount",value:function(){var e=this.props.recordMediaPlayheadPosition;E.Z.pause(),E.Z.removeChangeListener(this.handleChange),e&&e(A(this.audio))}},{key:"handleChange",value:function(){E.Z.playerId===this.props.id&&(E.Z.isPlaying?this.audio.play():this.audio&&this.audio.pause(),this.audio&&(this.audio.muted=E.Z.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=E.Z.isPlaying&&E.Z.playerId===r,s=m()("audio-player__play",{"audio-player__play--pause":a}),u=w()(null,["audio","currentTime"],this),c=w()(null,["audio","duration"],this),l=(0,S._6)(n),d=i.audioPlayerGroup,f=i.pauseButtonLabel,h=i.playButtonLabel,v=i.seekSliderLabel;return p.createElement("div",{key:"player-"+r,className:"audio-player"},p.createElement("div",{"aria-hidden":!n,"aria-label":d,className:"audio-player__housing",onKeyDown:this.onKeyDown.bind(this),role:N.p9,tabIndex:l},p.createElement("div",{"aria-label":a?f:h,className:s,onClick:this.onPlayClick,role:"button",tabIndex:l}),p.createElement("div",{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)},p.createElement("div",{ref:function(t){return e.trackerbar=t},className:"audio-player__tracker-bar"}),p.createElement("div",{className:"audio-player__tracker-handle","aria-label":v,"aria-live":"polite","aria-valuemax":c,"aria-valuemin":"0","aria-valuenow":u,ref:function(t){return e.trackerhandle=t},role:"slider",tabIndex:l})),p.createElement("div",{className:"audio-player__timer"},this.state.currentTime)),p.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:(0,k.i3)("".concat(o)),key:"audio-"+r}))}},{key:"onKeyDown",value:function(e){var t=this,n=(0,T.Py)(this.onPlayClick),r=(0,T.Py)((function(){return t.keySeek(5)})),i=(0,T.Py)((function(){return t.keySeek(-5)}));b()([[x.Uf,n],[x.$Y,r],[x._4,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,c=u.currentTime,l=u.duration;E.Z.isPlaying&&E.Z.playerId!==i&&(E.Z.isPlaying=!1),E.Z.playerId=i,E.Z.isPlaying=!E.Z.isPlaying,E.Z.isPlaying?(a(n.timeMs(c)),r&&this.state.shouldLoadPlayheadPosition&&(this.audio.currentTime=l*r/100||0)):(o(n.timeMs(c)),s&&s(A(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}),E.Z.isPlaying&&E.Z.playerId!==t&&(E.Z.isPlaying=!1),E.Z.playerId=t,E.Z.isPlaying=!0,r(n.timeMs(o)),i&&i(A(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)}),E.Z.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);(0,k.EZ)();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(A(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:C.m$.audioPlayerGroup,pauseButtonLabel:C.m$.pauseButtonLabel,playButtonLabel:C.m$.playButtonLabel,seekSliderLabel:C.m$.seekSliderLabel},mediaSrc:null,onEnd:function(){},onPause:function(){},onPlay:function(){},onSeek:function(){},shouldPause:!1}}},{key:"propTypes",get:function(){return{allowTabNavigation:g().bool,labels:g().object,mediaSrc:g().string,shouldPause:g().bool}}},{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 f()(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}(p.Component)},99049:function(e,t,n){"use strict";var r,i,o=n(73126),a=n(2562),s=n(44845),u=n(67294),c=n(22183),l=n(90630),d=n(32673),f=n(80396),p=n(67294),h=["className","children","tag"],m=(r={},(0,s.Z)(r,f.Ai.NEAR_BLACK,(0,f.k$)(.1)),(0,s.Z)(r,f.Ai.DARK,(0,f.k$)(-.4)),(0,s.Z)(r,f.Ai.MED,(0,f.k$)(-.2)),(0,s.Z)(r,f.Ai.LIGHT,(0,f.k$)(.3)),r),v=(i={},(0,s.Z)(i,f.Ai.NEAR_BLACK,"bg--near-black"),(0,s.Z)(i,f.Ai.DARK,"bg--dark"),(0,s.Z)(i,f.Ai.MED,"bg--med"),(0,s.Z)(i,f.Ai.LIGHT,"bg--light"),i);function g(e,t){var n,r=(0,l.ye)("rise-authoring-controls"),i=(0,c.Nv)(),s=e.className,u=void 0===s?"":s,g=e.children,y=e.tag,b=void 0===y?"div":y,_=(0,a.Z)(e,h),w=i.backgroundMode,E=i.cardMode,k=null!==(n=(0,c.Y5)())&&void 0!==n?n:"#ffffff",x=w===d.RW.IMAGE,S=E===d.lC.WHITE,T=[u,"block-card","bg"],C={};if(r)if(S)T.push("block-card--white","bg--light");else if(x)T.push("block-card--bg-image","bg--dark");else{var N=(0,f.md)(k),O=m[N](k),A=(0,f.md)(O);T.push(v[A]),C.backgroundColor=O}else T.push("bg--light","bg--legacy");return p.createElement(b,(0,o.Z)({},_,{className:T.join(" "),ref:t,style:C}),g)}t.Z=(0,u.forwardRef)(g)},34944:function(e,t,n){"use strict";n.d(t,{ZJ:function(){return l},rL:function(){return d}});var r=n(83728),i=n(12088),o=n.n(i),a=n(67294),s=n(22183),u=n(67294),c=o()((0,a.createContext)(),{displayName:"BlockContext"});function l(e){var t=e.block,n=e.children,i=(0,a.useState)(t),o=(0,r.Z)(i,2),l=o[0],d=o[1];return(0,a.useEffect)((function(){return d((function(e){return t||e}))}),[t]),u.createElement(c.Provider,{value:l},u.createElement(s.ac,null==l?void 0:l.settings,n))}c.Consumer;function d(){return(0,a.useContext)(c)}},22183:function(e,t,n){"use strict";n.d(t,{Nv:function(){return A},Y5:function(){return P},ac:function(){return L}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(2562),m=n(12088),v=n.n(m),g=n(63266),y=n.n(g),b=n(58726),_=n(67294),w=n(90630),E=n(34944),k=n(32673),x=n(80396),S=n(67294),T=["children"];function C(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var O=v()((0,_.createContext)(k.B6),{displayName:"BlockSettingsContext"});function A(){return(0,_.useContext)(O)}function P(){var e=(0,w.ye)("rise-authoring-controls"),t=A();if(!e)return t.backgroundColor;switch(t.backgroundMode){case k.RW.COLOR:return t.backgroundColor;case k.RW.BRAND:return t.courseColor;case k.RW.TINT:return(0,x.AW)(t.courseColor)}}function L(e){var t=e.children,n=(0,h.Z)(e,T),r=(0,E.rL)(),i=A(),o=y()(b.Z,n),a=null==r?null:(0,k.LU)(r.family,r.variant),s=N(N({},i),{},{backgroundColor:a},o);return S.createElement(O.Provider,{value:s},t)}O.Consumer},83448:function(e,t,n){"use strict";var r=n(95238),i=n.n(r),o=n(45697),a=n.n(o),s=n(67294),u=n(14935),c=n.n(u),l=n(67274),d=n(54115),f=n.n(d),p=n(50557),h=n.n(p),m=n(22624),v=n.n(m),g=n(73495),y=n.n(g),b=n(61937),_=n.n(b)()(y()(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i),f()("#FFF")),w=v()({color:_}),E=h()((function(e){var t,n=e.bodyTypeface,r=e.color,o=e.headingTypeface,a=e.uiTypeface;return s.createElement("div",{dangerouslySetInnerHTML:{__html:c()({bodyTypeface:n,color:r,colorTransparent:r+"1A",colorRGB:null===(t=(0,l.Z)(r))||void 0===t?void 0:i()(t).call(t,0,3),headingTypeface:o,uiTypeface:a})}})}),w);E.displayName="Branding",E.propTypes={bodyTypeface:a().string,color:a().string.isRequired,headingTypeface:a().string,uiTypeface:a().string},t.Z=(0,s.memo)(E)},75705:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(67294);function d(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var f="riseUnsupportedBrowser",p={authoring:/Android|webOS|iPhone|iPad|iPod|BlackBerry|MSIE|Trident/,runtime:/MSIE/},h=function(e){(0,s.Z)(n,e);var t=d(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"render",value:function(){return e=this.props.env,new RegExp(p[e],"i").test(window.navigator.userAgent)&&!window.sessionStorage.getItem(f)?this.renderUnsupported():this.props.children;var e}},{key:"renderUnsupported",value:function(){return l.createElement("div",null,this.props.children,l.createElement("div",{className:"browser-support"},l.createElement("div",{className:"browser-support__inner"},l.createElement("p",{className:"browser-support__text browser-support__text--full"},"You’re using an unsupported browser. For better results, use a modern browser. "),l.createElement("p",{className:"browser-support__text browser-support__text--mobile"},"Unsupported browser"),l.createElement("a",{href:"https://articulate.com/support/article/System-Requirements-for-Rise",rel:"noopener noreferrer",target:"_blank",className:"browser-support__link"},l.createElement("span",null,"Learn more"),l.createElement("i",{className:"icon icon-chevron-right"})),l.createElement("div",{className:"browser-support__dismiss",onClick:this.handleDismiss.bind(this)},l.createElement("span",{className:"browser-support__dismiss-icon"},"×")))))}},{key:"handleDismiss",value:function(){window.sessionStorage.setItem(f,"true"),this.forceUpdate()}}]),n}(l.Component)},6646:function(e,t,n){"use strict";n.d(t,{D:function(){return h},K:function(){return f}});var r=n(73126),i=n(2562),o=n(12088),a=n.n(o),s=n(67294),u=n(67294),c=["children"],l={},d=a()((0,s.createContext)(l),{displayName:"BundleContext"});function f(e){var t=e.children,n=(0,i.Z)(e,c);return u.createElement(d.Provider,{value:n},t)}function p(){return null}function h(e){function t(t,n){var i,o=null!==(i=(0,s.useContext)(d)[e])&&void 0!==i?i:p;return u.createElement(o,(0,r.Z)({ref:n},t))}return t.displayName="BundleComponent(".concat(e,")"),(0,s.forwardRef)(t)}},95242:function(e,t,n){"use strict";var r=n(44845),i=n(2562),o=n(50047),a=n.n(o),s=n(94184),u=n.n(s),c=n(13657),l=n.n(c),d=n(67294),f=["ariaControls","ariaExpanded","ariaHidden","ariaLabel","ariaPressed","onClick","onMouseDown","tabIndex"],p=function(e){var t=e.ariaControls,n=e.ariaExpanded,r=e.ariaHidden,o=e.ariaLabel,a=e.ariaPressed,s=e.onClick,u=e.onMouseDown,c=e.tabIndex,l=(0,i.Z)(e,f);return d.createElement("button",{"aria-controls":t,"aria-expanded":n,"aria-hidden":r,"aria-label":o,"aria-pressed":a,className:h(l),"data-ba":l["data-ba"],disabled:l.disabled,onClick:s,onMouseDown:u,tabIndex:c},m(l.icon),v(l))},h=function(e){var t;return u()("button",(t={},(0,r.Z)(t,e.className,!l()(e.className)),(0,r.Z)(t,"button--default",void 0===e.mode),(0,r.Z)(t,"button--extraPadding",e.extraPadding),(0,r.Z)(t,"button--sidebar brand--ui",e.sidebar),(0,r.Z)(t,"button--header",e.header),(0,r.Z)(t,"button--header-done",e.headerDone),(0,r.Z)(t,"button--outline",e.outline),(0,r.Z)(t,"button--outline button--outline-transparent",e.outlineTransparent),(0,r.Z)(t,"button--condensed",e.condensed),(0,r.Z)(t,"button--inverted",e.inverted),(0,r.Z)(t,"button--inline","inline"===e.mode),(0,r.Z)(t,"button--next",e.next),(0,r.Z)(t,"button--disabled",e.disabled),(0,r.Z)(t,"button--controls",e.controls),(0,r.Z)(t,"brand--ui",e.accent),(0,r.Z)(t,"brand--background brand--border",e.branded),t))},m=function(e){return e?d.createElement("i",{className:"button__icon icon-".concat(e)}):null},v=function(e){var t,n=e.onlyIcon,r=e.children;return a()(t=d.Children).call(t,r,(function(e){return n&&void 0===e.type?null:e}))};p.defaultProps={onClick:Function.prototype,onMouseDown:Function.prototype},t.Z=p},75240:function(e,t,n){"use strict";var r=n(67294),i=n(73727),o=n(94184),a=n.n(o),s=n(74081).r.common;t.Z=function(e){var t=e.bgColor,n=void 0===t?"brand":t,o=e.href,u=e.onClick,c=e.text,l=a()("continue-btn","brand--ui",{"continue-btn--gray":"gray"===n,"continue-btn--black":"black"===n,"brand--background":"brand"===n});return o?r.createElement(i.rU,{className:l,onClick:u,to:o},c):r.createElement("button",{className:l,"data-ba":s.continueBtn,onClick:u,type:"button"},c)}},80521:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i),a=n(29891);t.Z=function(e){var t=e.bgType,n=e.text,i=e.iconType,s=void 0===i?"locked":i,u=o()("continue-hint",{"continue-hint--bg-transparent":"transparent"===t});return r.createElement("div",{className:u},r.createElement("div",{className:"continue-hint__content"},n),"locked"===s&&r.createElement(a.HE,{"aria-label":"Closed padlock",className:"continue-hint__icon"}))}},32922:function(e,t,n){"use strict";n.d(t,{An:function(){return k},NA:function(){return v},QJ:function(){return b},Rx:function(){return E},SB:function(){return w},Tn:function(){return y},ny:function(){return _}});var r=n(12088),i=n.n(r),o=n(98882),a=n.n(o),s=n(30699),u=n.n(s),c=n(67294),l=n(46376),d=n.n(l),f=n(62848),p=n.n(f),h=n(67294),m=i()((0,c.createContext)(null),{displayName:"CourseContext"});function v(e){var t=e.children,n=e.course,r=e.partnerContent,i=e.search,o=(0,c.useMemo)((function(){return{course:n,partnerContent:r,search:i}}),[n,r,i]);return h.createElement(m.Provider,{value:o},t)}m.Consumer;var g=c.useContext.bind(null,m);function y(){return g().course}function b(){var e,t=y();return"none"===t.selectedAuthorId?null:null===(e=t.authors)||void 0===e?void 0:a()(e).call(e,(function(e){return e.id===t.selectedAuthorId||e.id===t.author}))}function _(){var e=g(),t=e.course,n=e.partnerContent;return d()(p()("id",t.selectedAuthorId),n.content)}function w(){var e,t,n=_();return null!==(e=null==n||null===(t=n.data)||void 0===t?void 0:t.authors)&&void 0!==e?e:null}function E(){return g().search}function k(){var e=y().lessons;return(0,c.useMemo)((function(){return Array.isArray(e)?u()(e).call(e,(function(e){return"section"!==e.type})).length:0}),[e])}},57993:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(88066),d=n.n(l),f=n(44721),p=n.n(f),h=n(50554),m=n(8300),v=n.n(m),g=n(45697),y=n.n(g),b=n(8575),_=n(22673),w=n.n(_),E=n(22626),k=n.n(E),x=n(94184),S=n.n(x),T=n(50557),C=n.n(T),N=n(17794),O=n.n(N),A=n(69105),P=n.n(A),L=n(416),I=n.n(L),M=n(47176),R=n.n(M),D=n(27028),j=n(64393),Z=n(14741),B=n(96554),F=n(32542),U=n(97236),q=n(53454),z=n(5992),H=n(46130),V=n(51151),W=n(89830),Y=n(82695),G=n(65194),K=n(12868),$=n(67294);function X(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var J=function(e){var t,n=(0,j.dU)("CDN_USER_CONTENT_URI"),r=new RegExp((0,j.dU)("CDN_URI"),"g");return(0,j.AP)()?e:r.test(e)?d()(t="".concat(n)).call(t,b.parse(e).path):e},Q=C()(R()(P(),j.i3),Y.Z),ee=function(e){(0,s.Z)(n,e);var t=X(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={isReady:!1,duration:0},r}return(0,a.Z)(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&&B.Z.isPlaying&&(this.player.pause(),B.Z.isPlaying=!1)}},{key:"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"===(0,q.vE)(t)&&this.teardownPlayer(),this.iFrameContainer&&a&&this.updateIframeFocusability({allowFocus:o})}},{key:"componentWillUnmount",value:function(){"video"===(0,q.vE)(this.props.data)&&this.teardownPlayer()}},{key:"setupPlayer",value:function(){var e=this;this.player=new(v().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;B.Z.isPlaying&&B.Z.playerId!==t&&(B.Z.isPlaying=!1),B.Z.playerId=t,B.Z.isPlaying=!0}),B.Z.addChangeListener(this.onChange=function(){var t=e.props.id;B.Z.playerId===t&&(B.Z.isPlaying?e.player.play():e.player.pause())})}},{key:"teardownPlayer",value:function(){B.Z.isPlaying=!1,this.onChange&&B.Z.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;(0,F.yK)({element:this.iFrameContainer,selector:"iframe",tabIndex:(0,F._6)(t)})}},{key:"playerSupportsMethods",value:function(e){var t=this;return k()((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=(0,H.Py)(this.togglePlay.bind(this)),r=(0,H.Py)((function(){return t.keySeek(5)})),i=(0,H.Py)((function(){return t.keySeek(-5)})),o=(0,H.Py)((function(){return t.changeVolume(10)})),a=(0,H.Py)((function(){return t.changeVolume(-10)}));O()([[K.Zt,n],[K.V8,r],[K.V4,i],[K.IA,o],[K.up,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 c=(0,Y.Z)(a),l=n&&(0,z.B)(c),d=l?"":void 0,f=l?r:void 0,p=l?void 0:c,h=l?void 0:"noopener noreferrer",m=l?"button":void 0,v=l?void 0:"_blank";return $.createElement("h2",{className:"embed__provider"},$.createElement("a",{className:"brand--hoverColor","data-external":d,href:p,onClick:f,rel:h,role:m,tabIndex:(0,F._6)(t),target:v},$.createElement("img",{className:"embed__providerIcon",src:u,alt:u?s:null}),$.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,c=i.src,l=i.title,f=i.description,p=i.provider,h=a.embedReadMore,m=a.embedViewOn,v=(0,q.vE)(i);if(!u&&"link"!==v)return null;var g=(0,Y.Z)(c),y=o&&(0,z.B)(g),b=y?"":void 0,_=y?s:void 0,w=y?void 0:g,E=y?void 0:"noopener noreferrer",k=y?"button":void 0,x=y?void 0:"_blank";return $.createElement("div",{className:"embed__meta__content"},$.createElement("h2",{className:"embed__title brand--head"},$.createElement("a",{className:"brand--hoverColor","data-external":b,href:w,onClick:_,rel:E,role:k,tabIndex:(0,F._6)(r),target:x},$.createElement(D.Z,{value:l}))),$.createElement(D.Z,{className:"embed__description brand--body brand--linkColor",value:f}),$.createElement("a",{className:"embed__readMore brand--hoverColor","data-external":b,href:w,onClick:_,rel:E,role:k,tabIndex:(0,F._6)(r),target:x},"link"===v?d()(e="".concat(h," ")).call(e,p):d()(t="".concat(m," ")).call(t,p),$.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,c=r.description,l=r.src,d=r.thumbnail,f=r.title,h=a.embedLinkGroup,m=a.embedPlayerGroup,v=a.embedReadMore,g=(0,q.vE)(r);if("iframe"===g){var y=document.createElement("div");y.innerHTML=(0,G.zZ)(l);var b=y.firstChild,_=b&&b.tagName&&"iframe"===b.tagName.toLowerCase(),w=100,E=32,k=l;if(_){var x=b.width.match(/%/),S=parseInt(b.width);b.src=(0,Y.Z)(b.src),k=y.innerHTML,w=x?S/100*700:S||16,E=parseInt(b.height)}var T=_?"".concat(100*(E/w),"%"):"3rem",C=_?k:"<div>Error: Invalid iframe tag.  Please check the iframe source.</div>";return $.createElement("div",{"aria-hidden":!n,"aria-label":m,className:"embed",role:V.p9},$.createElement("div",{className:"embed--iframe",dangerouslySetInnerHTML:{__html:C},style:{paddingBottom:T},ref:function(t){e.iFrameContainer=t}}))}if(o){var N,O=(0,Y.Z)(l),A=i&&(0,z.B)(O),P=A?"":void 0,L=A?s:void 0,I=A?void 0:O,M=A?void 0:"noopener noreferrer",R=A?"button":void 0,j=A?void 0:"_blank";return $.createElement("div",{"aria-hidden":!n,"aria-label":te(a,g),className:"embed embed--link embed--rich",role:V.p9},this.renderProvider(),p()(N=["link","photo"]).call(N,g)?$.createElement("a",{"data-external":P,href:I,onClick:L,rel:M,role:R,tabIndex:(0,F._6)(n),target:j},$.createElement("img",{alt:d?f:null,className:"embed__img",src:J(d)})):this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:l,thumbnail:d,title:f,type:g}),this.renderMetaData())}if("link"===g){var Z=(0,Y.Z)(l),B=i&&(0,z.B)(Z),U=B?"":void 0,H=B?s:void 0,W=B?void 0:Z,K=B?void 0:"noopener noreferrer",X=B?"button":void 0,Q=B?void 0:"_blank";return $.createElement("div",{"aria-hidden":!n,"aria-label":h,className:"embed embed--link brand--head brand--linkColor",role:V.p9},$.createElement(D.Z,{className:"embed__title brand--head",value:f}),$.createElement(D.Z,{className:"embed__description",value:c}),$.createElement("a",{className:"embed__readMore brand--hoverColor",dataExternal:U,href:W,onClick:H,rel:K,role:X,target:Q},v))}return $.createElement("div",{className:"embed embed--media brand--head"},u?$.createElement(D.Z,{"aria-hidden":!n,className:"embed__title brand--head",value:f}):null,this.renderEmbedIframe({allowTabNavigation:n,labels:a,src:l,thumbnail:d,title:f,type:g}))}},{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 $.createElement("figure",{className:"embed__media-wrap embed__media-wrap--photo"},$.createElement(Z.Z,{src:J(o),title:a,allowTabNavigation:n}));var s=W.Z.isIe11||W.Z.isEdge,u=S()("embed__media-wrap",{"embed__media-wrap--ms_browser":s});return $.createElement("figure",{"aria-hidden":!n,"aria-label":r,className:u,onKeyDown:this.onKeyDown.bind(this),ref:function(e){t.iFrameContainer=e},tabIndex:(0,F._6)(n)},$.createElement("iframe",{ref:function(e){t.media=e},className:"embed__media",src:Q(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:U.m$.embedReadMore,embedViewOn:"View on"},shouldPause:!1,showMetaData:!0}}},{key:"propTypes",get:function(){return{allowTabNavigation:y().bool,data:y().object.isRequired,progressChanged:y().func,isLesson:y().bool,shouldPause:y().bool,showMetaData:y().bool}}}]),n}($.Component),te=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}},ne=w()({externalLinksDisabled:I()(["course","externalLinksDisabled"])}),re=(0,h.$j)(ne,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}});t.Z=re(ee)},90630:function(e,t,n){"use strict";n.d(t,{OH:function(){return b},gV:function(){return _},lJ:function(){return k},tF:function(){return E},ye:function(){return w}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(73126),m=n(67294);function v(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var y=(0,m.createContext)({});y.displayName="FeatureFlagsContext";var b=y.Provider;y.Consumer;function _(){return(0,m.useContext)(y)}function w(e){return _()[e]}function E(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=w(e),a=g(g({},r),{},(0,p.Z)({},t,o));return m.createElement(n,(0,h.Z)({ref:i},a))}));return r.displayName="withFeatureFlag(".concat(n.displayName||n.name,")"),r}}var k=E("rise-com-lxp","lxpEnabled")},27028:function(e,t,n){"use strict";var r=n(88066),i=n.n(r),o=n(95238),a=n.n(o),s=n(53592),u=n.n(s),c=n(51446),l=n.n(c),d=n(19996),f=n.n(d),p=n(67294),h=n(50554),m=n(22673),v=n.n(m),g=n(416),y=n.n(g),b=n(65194),_=n(5992);function w(e,t){var n=void 0!==l()&&f()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return E(e,t);var r=a()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return u()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return E(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,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function E(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 k=function(e){var t=e.allowTabNavigation,n=e.className,r=void 0===n?"":n,o=e.externalLinksDisabled,a=e.id,s=e.showExternalLinksModal,u=e.tagName,c=e.value,l=(0,p.useRef)(null),d=(0,p.useCallback)((function(e){var t=e.target.closest(".fr-view a");t&&t.hasAttribute("data-external")&&s()}),[s]),f=(0,p.useMemo)((function(){var e,n=(0,b.ZP)(c);return function(e,t){var n=document.createElement("div");n.innerHTML=t;var r,i=w(e);try{for(i.s();!(r=i.n()).done;){(0,r.value)(n)}}catch(e){i.e(e)}finally{i.f()}return n.innerHTML}(i()(e=Array.prototype).call(e,x,o?S:[],t?C:T),n)}),[t,o,c]);return p.createElement("div",{"aria-hidden":!t||void 0,className:"".concat(r," brand--linkColor"),onClickCapture:o?d:void 0,id:a,ref:l},(0,p.createElement)(u,{className:"fr-view",dangerouslySetInnerHTML:{__html:f}}))};function x(e){var t,n=w(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 S(e){var t,n=w(e.querySelectorAll("a"));try{for(n.s();!(t=n.n()).done;){var r=t.value;(0,_.B)(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 T(e){var t,n=w(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 C(e){var t,n=w(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()}}k.defaultProps={allowTabNavigation:!0,tagName:"div"};var N=v()({externalLinksDisabled:y()(["course","externalLinksDisabled"])}),O=(0,h.$j)(N,{showExternalLinksModal:function(){return{type:"rise/globals/SHOW_EXTERNAL_LINKS_MODAL",payload:!0}}});t.Z=O(k)},14741:function(e,t,n){"use strict";var r=n(83728),i=n(67294),o=n(94184),a=n.n(o),s=n(48277),u=n(86683),c=n(15094),l=function(e){var t=e.align,n=e.alt,o=e.allowTabNavigation,l=void 0===o||o,d=e.asyncCn,f=void 0!==d&&d,p=e.caption,h=e.disableZoom,m=e.fileName,v=e.shouldFillWidth,g=e.imageKey,y=e.onLoad,b=e.src,_=(0,i.useRef)(),w=(0,i.useRef)(),E=(0,i.useRef)(),k=(0,s.b3)({alt:n,caption:p,fileName:m,key:g}),x=l&&!h,S=a()("img-img",{"img-img--left":"left"===t,"img-img--right":"right"===t,"img-img--center":!t||"center"===t,"img-img--fill":v,"img--zoom":x});E.current=S;var T=(0,i.useState)(S),C=(0,r.Z)(T,2),N=C[0],O=C[1],A=(0,i.useCallback)((function(e){w.current.zoom(_.current,e.currentTarget,{})}),[]),P=(0,i.useCallback)((function(){O(E.current),null==y||y()}),[O,y]),L=(0,i.useCallback)((function(){var e=(0,u.S)();return w.current=e,function(){e.cleanup()}}),[]),I=(0,i.useCallback)((function(){v||O(E.current)}),[O,v]);(0,i.useEffect)(L,[]),(0,i.useEffect)(I,[t]);var M=x?A:void 0;return i.createElement("div",{className:"img"},i.createElement("img",{alt:k,className:f?N:E.current,onClick:M,onLoad:y||P,ref:_,role:"img",src:b}),x&&i.createElement("button",{"aria-label":"Zoom image",className:"img__btn visually-hidden",onClick:A,type:"button"},i.createElement(c.Z,{"aria-hidden":"true",className:"img__btn-symbol"})))};t.Z=(0,i.memo)(l)},98696:function(e,t,n){"use strict";n.d(t,{Qt:function(){return a},Zj:function(){return s}});var r=n(67294),i=n(67294),o=(0,r.createContext)(!1);function a(e){var t=e.children,n=e.inert,r=s();return i.createElement(o.Provider,{value:r||n},t)}o.Consumer;function s(){return(0,r.useContext)(o)}},64152:function(e,t,n){"use strict";n.d(t,{a:function(){return L}});var r=n(13535),i=n.n(r),o=n(2562),a=n(68420),s=n(27344),u=n(90306),c=n(3020),l=n(3362),d=n(72895),f=n.n(d),p=n(88066),h=n.n(p),m=n(67294),v=n(54115),g=n.n(v),y=n(94184),b=n.n(y),_=n(17794),w=n.n(_),E=n(51481),k=n.n(E),x=n(45697),S=n.n(x),T=n(53007),C=n.n(T),N=n(29891),O=n(41785),A=["icon"];function P(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}m.Component;function L(e){var t=e.icon,n=(0,o.Z)(e,A);switch(t){case O.IU.ARTICLE:return m.createElement(N.Ni,n);case O.IU.INTERACTION:return m.createElement(N.Xh,n);case O.IU.QUIZ:return m.createElement(N.Fm,n);case O.IU.VIDEO:return m.createElement(N.z1,n);default:return m.createElement("i",{className:"icon icon-Master-02"})}}},8485:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(12088),i=n.n(r),o=n(88066),a=n.n(o),s=n(56524),u=n.n(s),c=n(67294),l=n(73935),d=n(97809),f=n(64393),p=n(41785),h=n(36335),m=n(53459),v=(0,h.Z)("lesson-progress"),g=p.Jg.COMOVERVIEW,y=p.Jg.COMPACT,b=p.Jg.COVER,_=p.Jg.OVERLAY,w=p.Jg.SIDEBAR;function E(e){var t=e.canComplete,n=e.color,r=e.hasRestriction,o=e.isComplete,s=e.isCurrentLesson,u=e.isDark,l=e.isEnabled,p=e.isFailed,h=e.isLegacy,E=e.isPassed,x=e.isTooltipVisible,S=e.navigationStyle,T=e.onHideTooltip,C=e.onMarkComplete,N=e.onMarkReset,O=e.onShowTooltip,A=e.percentComplete,P=e.progressGraphic,L=e.scope,I=(0,c.useRef)(),M=(0,c.useRef)(),R=(0,c.useRef)(),D=v({compact:L===y,cover:L===b&&!h,"legacy-comoverview":L===g,"legacy-cover":L===b&&h,inactive:r,overlay:L===_,sidebar:L===w&&!h,"legacy-sidebar":L===w&&h}),j=v("graphic",{compact:L===y,cover:L===b&&!h,"legacy-comoverview":L===g,"legacy-cover":L===b&&h,overlay:L===_,sidebar:L===w&&!h,"legacy-sidebar":L===w&&h}),Z=v("tooltip",{legacy:h}).toString(),B=(0,c.useCallback)((function(){o?null==N||N():null==C||C()}),[o,C,N]),F=(0,c.useCallback)((function(){r||(M.current=setTimeout((function(){null==O||O()}),600))}),[r,O]),U=(0,c.useCallback)((function(){clearTimeout(M.current),null==T||T()}),[T]),q=(0,c.useCallback)((function(){setTimeout((function(){if(x){var e,t=I.current.getBoundingClientRect(),n=R.current.offsetParent.getBoundingClientRect(),r=t.height,o=t.width,s=t.left-n.left,u=t.top-n.top;i()(R.current.style,{transform:a()(e="translate(".concat(s,"px, ")).call(e,u,"px)"),width:"".concat(o,"px"),height:"".concat(r,"px")})}}),0)}),[x]);if((0,c.useLayoutEffect)((function(){return q()}),[q]),(0,d.Z)("resize",q,window),(0,m.Z)(I,U),t){var z=f.VO&&100===A,H=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:!z,percentComplete:A}),V=!l||z,W=v("action",{disabled:V});return c.createElement("span",{className:D},c.createElement("button",{"aria-label":H,className:W,disabled:V,onBlur:T,onClick:B,onFocus:O,type:"button"},c.createElement("span",{className:j,onMouseEnter:F,onMouseLeave:U,ref:I},c.createElement(P,{"aria-hidden":"true",color:n,isDark:u,isCurrent:s,isFailed:p,isPassed:E,navigationStyle:S,scope:L,value:A}),l&&!r&&c.createElement(k,{className:Z,dark:u,ref:R,scope:L,visible:x},H))))}var Y=function(e){var t=e.isFailed,n=e.percentComplete,r=100===n;return t?"Failed":r?"Completed":0===n?"Unstarted":"".concat(n,"% Completed")}({isFailed:p,percentComplete:A});return c.createElement("span",{className:D},c.createElement("span",{className:j,onMouseEnter:F,onMouseLeave:U,ref:I},c.createElement(P,{"aria-label":Y,color:n,isDark:u,isCurrent:s,isFailed:p,isPassed:E,navigationStyle:S,scope:L,value:A}),l&&!r&&c.createElement(k,{className:Z,dark:u,ref:R,scope:L,visible:x},Y)))}var k=(0,c.forwardRef)((function(e,t){var n=e.children,r=e.className,i=e.dark,o=e.scope,a=e.visible,s=(0,c.useMemo)((function(){return(0,h.Z)(r)}),[r]),d=s({compact:o===y,cover:o===b,overlay:o===_,sidebar:o===w,visible:a}),f=s("inner",{dark:i,light:!i}),p=c.createElement("div",{"aria-hidden":"true",ref:t,style:{left:0,pointerEvents:"none",position:"absolute",top:0,zIndex:u()}},c.createElement("div",{style:{pointerEvents:"all"}},c.createElement("div",{className:d},c.createElement("div",{className:f},n))));return(0,l.createPortal)(p,document.getElementById("portal"))}))},58599:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(88066),d=n.n(l),f=n(94184),p=n.n(f),h=n(45697),m=n.n(h),v=n(54115),g=n.n(v),y=n(46164),b=n.n(y),_=n(47176),w=n.n(_),E=n(89975),k=n(57993),x=n(14741),S=n(13425),T=n(69532),C=n(67294);function N(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var O=function(e){return e&&(e.key||e.src)&&!e.isProcessing&&!e.error},A=function(e){(0,s.Z)(n,e);var t=N(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(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=d()(t="audio-".concat(a,"-")).call(t,i);if(O(s))return C.createElement(E.Z,{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,c=e.image,l=null!==(t=null==c?void 0:c.align)&&void 0!==t?t:o,d="image-".concat(a),f=u.disableZoom;if(O(c))return C.createElement(x.Z,{align:l,asyncCn:i,key:d,src:(0,T.xR)(c),alt:c.alt,disableZoom:f,allowTabNavigation:r,onLoad:s,imageKey:c.key,shouldFillWidth:c.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,c=o.index,l=o.labels,f=o.onFullScreenChange,p=o.enableVideoPlaybackSpeed,h=(n=s,w()(g()(n),b()("-".concat(n))))(d()(t="video-".concat(u,"-")).call(t,c));if(O(i))return C.createElement(S.Z,{allowTabNavigation:a,captionUID:i.captionUID,captions:i.captions,id:h,key:h,labels:l,onFullScreenChange:f,poster:i.poster,shouldPause:i.pause,src:i.key,canAdjustPlaybackSpeed:p})}},{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,c="embed-".concat(this.props.index);if(O(u))return C.createElement(k.Z,{labels:i,key:c,isLesson:o,id:c,showMetaData:s,data:u,allowTabNavigation:n,shouldPause:u.pause})}},{key:"render",value:function(){var e=this.props,t=e.media,n=e.hasPadding,r=p()({"media-group":n});return C.createElement("div",{className:r},this.renderAudio(t),this.renderImage(t),this.renderVideo(t),this.renderEmbed(t))}}],[{key:"propTypes",get:function(){return{asyncImgCn:m().bool,allowTabNavigation:m().bool,blockId:m().string,defaultAlign:m().string,hasPadding:m().bool,index:m().string,media:m().object,onLoad:m().func,opts:m().object}}},{key:"defaultProps",get:function(){return{asyncImgCn:!1,defaultAlign:"left",media:{},index:"1",hasPadding:!0,opts:{},allowTabNavigation:!0,lessonNumber:1}}}]),n}(C.Component)},78687:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(50047),f=n.n(d),p=n(95238),h=n.n(p),m=n(94184),v=n.n(m),g=n(40486),y=n.n(g),b=n(24234),_=n.n(b),w=n(416),E=n.n(w),k=n(95425),x=n.n(k),S=n(53176),T=n.n(S),C=n(45697),N=n.n(C),O=n(5683),A=n.n(O),P=n(67294);function L(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var I=function(e){(0,u.Z)(n,e);var t=L(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={isSticky:!1},setTimeout((function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",r.onScrollRef=r.onScroll.bind((0,s.Z)(r)))}),10),r}return(0,a.Z)(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=T()(-1,"activeIndex",n),i=_()(t);return-1===r?0:y()(r)===i?100:A()("%","",E()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=T()(0,"activeIndex",n),i=_()(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 T()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return T()(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=v()("progress-wrap",{}),u=v()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":a&&!o,"lesson--open":i&&!this.isLessonPreview(),"lesson--open-mobile":o&&!this.isLessonPreview()}),c=v()("progress",{"progress--timeline":"timeline"===n,"progress--video":"video"===n}),l=this.progressValue(),d="timeline"===n&&r&&f()(r).call(r,(function(e){var t,n=v()("progress__marker",{"progress__marker--active brand--background":parseInt(l)>=parseInt(h()(t=e.linePosition).call(t,0,-1))});return P.createElement("div",{className:n,style:{left:e.linePosition},key:e.id})})),p=P.createElement("div",{className:s},P.createElement("div",{className:c},P.createElement("div",{className:"progress__container"},P.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(l,"%,0px,0px)")}}),d)));return P.createElement("div",{ref:function(t){return e.progresswrap=t}},p,P.createElement(x(),null,P.createElement("div",{className:u},p)))}}],[{key:"propTypes",get:function(){return{id:N().any.isRequired,lessonProgress:N().object.isRequired,type:N().string.isRequired,items:N().array}}}]),n}(P.Component)},27309:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294),i=n(97809);function o(e){var t=e.className,n=e.cx,o=e.cy,a=e.diameter,s=e.onTransitionEnd,u=void 0===s?Function.prototype:s,c=e.r,l=e.strokeLinecap,d=e.strokeWidth,f=e.transform,p=e.value,h=void 0===p?0:p,m=(0,r.useRef)(),v=Math.PI*(Number(a)-Number(d)),g=v*(100-h)/100;return(0,i.Z)("transitionend",u,m.current),r.createElement("circle",{className:t,cx:n,cy:o,fill:"transparent",r:c,ref:m,strokeDasharray:v,strokeDashoffset:g,strokeLinecap:l,strokeWidth:d,transform:f})}},74388:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294);function i(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.color,o=e.progress,a=void 0===o?0:o,s=e.runnerClass,u=e.trackClass;return r.createElement("div",{"aria-hidden":t,"aria-label":n,className:u,style:{color:i},role:"img"},r.createElement("div",{className:s,style:{width:"".concat(a,"%")}}))}},5572:function(e,t,n){"use strict";var r=n(32542),i=n(31826),o=n(67294);t.Z=function(e){var t=e.allowTabNavigation,n=void 0===t||t,a=e.onClick,s=e.onFocus,u=void 0===s?i.ZT:s,c=e.text;return o.createElement("button",{"aria-hidden":!n,className:"restart-button button brand--hoverColor",onClick:a,onFocus:u,tabIndex:(0,r._6)(n),type:"button"},o.createElement("div",{className:"restart-button__content"},o.createElement("span",{className:"restart-button__text brand--ui"},c),o.createElement("i",{"aria-hidden":"true",className:"restart-button__icon icon icon-reload"})))}},67927:function(e,t,n){"use strict";n.d(t,{DY:function(){return s},_v:function(){return u}});n(83728);var r=n(73126),i=n(2562),o=(n(12088),n(88066),n(56524),n(73935),n(67294)),a=(n(36335),["children","side"]),s=function(e){var t=e.children,n=e.className;return o.createElement("div",{className:"authoring-tooltip ".concat(n||"")},t)},u=function(e){var t=e.children,n=e.side,s=(0,i.Z)(e,a);return o.createElement("span",(0,r.Z)({},s,{className:"authoring-tooltip__content authoring-tooltip__content--".concat(n)}),t)}},57030:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(2562),i=n(67294),o=n(416),a=n.n(o),s=n(29891),u=n(52892),c=n.n(u),l=n(18231),d=n.n(l),f=n(4603),p=n.n(f),h=n(64691),m=n.n(h),v=n(67031),g=n.n(v),y=p()(c()({}),m()(["first_name","last_name"]),d()(" "),g()),b=["className","decorative","size"],_=function(e){var t=e.className,n=e.decorative,o=e.size,u=(0,r.Z)(e,b),c=a()(["avatars","medium"],u),l=n?"":y(u)||"Unknown User";return c?i.createElement("img",{alt:l,className:t||"user-avatar",src:c,style:{height:o,width:o}}):i.createElement(s.Qw,{decorative:n,height:o,title:l,width:o})}},13425:function(e,t,n){"use strict";n.d(t,{Z:function(){return ie}});var r=n(13535),i=n.n(r),o=n(89356),a=n.n(o),s=n(63263),u=n.n(s),c=n(30699),l=n.n(c),d=n(58377),f=n.n(d),p=n(13038),h=n.n(p),m=n(44845),v=n(68420),g=n(27344),y=n(5281),b=n(90306),_=n(3020),w=n(3362),E=n(88066),k=n.n(E),x=n(50047),S=n.n(x),T=n(44721),C=n.n(T),N=n(94184),O=n.n(N),A=n(50557),P=n.n(A),L=n(17794),I=n.n(L),M=n(78821),R=n.n(M),D=n(52478),j=n.n(D),Z=n(45697),B=n.n(Z),F=n(73935),U=n(8575),q=n(33072),z=(n(42641),n(89830)),H=n(97236),V=n(49269),W=n(96554),Y=n(81996),G=n(29891),K=n(46130),$=n(64393),X=n(32542),J=n(12868),Q=n(67294);function ee(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=l()(r).call(r,(function(t){return f()(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,w.Z)(e);if(t){var o=(0,w.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,_.Z)(this,n)}}var ne="seek-tooltip--hidden",re=function(e){return Math.round(e.currentTime()/e.duration()*100)||0},ie=function(e){(0,b.Z)(n,e);var t=te(n);function n(e){var r;return(0,v.Z)(this,n),(r=t.call(this,e)).state={isReady:!1,shouldLoadPlayheadPosition:!1,playbackStarted:!1,playheadPositionSaveThrottle:0,showRestrictSeekTooltip:!1},r.showRestrictSeekTooltip=r.showRestrictSeekTooltip.bind((0,y.Z)(r)),r.updateSeekTooltip=r.updateSeekTooltip.bind((0,y.Z)(r)),r.getMaxTime=r.getMaxTime.bind((0,y.Z)(r)),r.onMediaStoreChange=r.onMediaStoreChange.bind((0,y.Z)(r)),r}return(0,g.Z)(n,[{key:"updateContentFocusability",value:function(){var e=this.props.allowTabNavigation;(0,Y.Tl)(this.container.getElementsByTagName("button")).forEach((function(t){(0,X.Cz)(t,(0,X._6)(e))})),(0,X.yK)({element:this.container,selector:".vjs-progress-holder",tabIndex:(0,X._6)(e)}),(0,X.yK)({element:this.container,selector:".vjs-volume-bar",tabIndex:(0,X._6)(e)}),(0,X.yK)({element:this.container,selector:".vjs-volume-menu-button",tabIndex:(0,X._6)(e)})}},{key:"componentDidUpdate",value:function(e){this.updateContentFocusability(),!e.shouldPause&&this.props.shouldPause&&W.Z.isPlaying&&(this.video.player.pause(),W.Z.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,c=n.progressChanged,l=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(){(0,$.EZ)();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),c&&c({currentTime:n,percentComplete:p}),s%5==0&&e.state.playheadPositionSaveThrottle!==s&&l&&(l(re(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(){W.Z.isPlaying&&W.Z.playerId!==a&&(W.Z.isPlaying=!1),W.Z.playerId=a,W.Z.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(){W.Z.playerId===a&&(W.Z.isPlaying=!1),l&&l(re(t))}),t.on("seeking",this.videoSeeking=function(){e.seeking=!0}),t.on("seeked",this.videoSeeked=function(){e.restrictingSeek=!1,e.seekTimeout&&clearTimeout(e.seekTimeout),l&&l(re(t)),e.seekTimeout=setTimeout((function(){e.seeking=!1}),1e3)}),t.on("fullscreenchange",s),t.on("keyup",X.hp),t.on("contextmenu",(function(e){e.preventDefault()})),W.Z.addChangeListener(this.onMediaStoreChange)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.onFullScreenChange,n=e.recordMediaPlayheadPosition,r=this.video.player;n&&n(re(r)),W.Z.isPlaying=!1,W.Z.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=O()("video-a11y figure-video",{"figure-video--visible":o,"figure-video--restrict-seek":a,"video-playback-started":s});return Q.createElement("div",{"aria-hidden":!n,"aria-label":r,className:"figure-container",onKeyDown:this.onKeyDown.bind(this),ref:function(t){e.container=t},role:"region"},Q.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||(0,$.i3)(r);return Q.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,c=r.subtitle,l="customVideo"===r.type,d=P()(R()(1),j()("pathname"),U.parse),p=l?d(this.props.src):this.props.src,v=l?this.props.poster:(0,$.i3)(this.props.poster),g=l?this.props.src:(0,$.i3)(this.props.src),y=l?"application/x-mpegURL":void 0,b=o?[.25,.5,.75,1,1.25,1.5,1.75,2]:void 0,_=z.Z.isSafariVersion13OrLower||z.Z.isLocalFilesystem?{}:{crossOrigin:"anonymous"},w={autoplay:i,controlBar:{children:{playToggle:!0,progressControl:!0,remainingTimeDisplay:!0,playbackRateMenuButton:!0,captionsButton:!0,pictureInPictureToggle:!0,fullscreenToggle:!0,volumePanel:{inline:!0}}},controls:!0,languages:V.Z,playbackRates:b,preload:"none",textTrackSettings:!1};document.pictureInPictureEnabled||delete w.controlBar.children.pictureInPictureToggle;var E=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):h()?Object.defineProperties(e,h()(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,f()(n,t))}))}return e}({className:"figure-video__video",key:k()(e=k()(t="".concat(u,"-")).call(t,p,"-")).call(e,a),options:w,poster:v,ref:function(e){return n.video=e}},_),x=Q.createElement("track",{kind:"captions",label:"English",src:l?c:(0,$.i3)(c),srcLang:"en"}),T="".concat(g,"?v=1");return Q.createElement(q.Z,E,Q.createElement("source",{src:T,type:y}),!s&&c&&x,s&&S()(s).call(s,this.renderCaptionTrack))}},{key:"onKeyDown",value:function(e){var t=this;if(!oe(e)){var n=(0,K.Py)(this.togglePlay.bind(this)),r=this.toggleFullScreen.bind(this),i=(0,K.Py)((function(){return t.keySeek(5)})),o=(0,K.Py)((function(){return t.keySeek(-5)}));I()([[J.Zt,n],[J.r$,r],[J.$Y,i],[J._4,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(!z.Z.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(ne),e),n.appendChild(this.seekDiv),F.render(Q.createElement(G.NP,null),this.seekDiv)}},{key:"showRestrictSeekTooltip",value:function(e){this.props.canRestrictSeek&&this.seekDiv&&e!==this.state.showRestrictSeekTooltip&&(e?this.seekDiv.classList.remove(ne):this.seekDiv.classList.add(ne),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;W.Z.playerId===e&&(W.Z.isPlaying?t.play():t.pause())}}}],[{key:"propTypes",get:function(){return{autoplay:B().bool,allowTabNavigation:B().bool,audioVideoPlayhead:B().number,canRestrictSeek:B().bool,currentTime:B().number,id:B().string.isRequired,onFullScreenChange:B().func,percentComplete:B().number,poster:B().string,progressChanged:B().func,recordMediaPlayheadPosition:B().func,shouldPause:B().bool,src:B().string.isRequired,type:B().string}}},{key:"defaultProps",get:function(){return{autoplay:!1,allowTabNavigation:!0,currentTime:0,labels:{videoPlayerGroup:H.m$.videoPlayerGroup},onFullScreenChange:function(){},percentComplete:0,progressChanged:Function.prototype,shouldPause:!1}}}]),n}(Q.Component),oe=function(e){var t=e.target.className,n=(0,J.ID)(e)&&C()(t).call(t,"vjs-volume-bar");return(0,J.Uf)(e)&&(C()(t).call(t,"vjs-control")||C()(t).call(t,"vjs-big-play-button"))||n}},42641:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(32647),c=n(90306),l=n(3020),d=n(3362),f=n(44845),p=n(59231);function h(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var m=function(e){(0,c.Z)(n,e);var t=h(n);function n(e){var r;return(0,o.Z)(this,n),r=t.call(this,e,[]),(0,f.Z)((0,s.Z)(r),"seekDisabled",!1),(0,f.Z)((0,s.Z)(r),"maxTime",0),r}return(0,a.Z)(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(0,u.Z)((0,d.Z)(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}(p.default.getComponent("SeekBar"));p.default.registerComponent("SeekBar",m)},37314:function(e,t,n){"use strict";var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(73126),h=n(44845),m=n(2562),v=n(12088),g=n.n(v),y=n(67294),b=n(22183),_=n(90630),w=n(36335),E=n(32673),k=n(67294),x=["className","tag","style"];function S(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}var T=(0,w.Z)("block-brand");function C(e,t){var n=e.className,r=void 0===n?"":n,i=e.tag,o=void 0===i?"div":i,a=e.style,s=(0,m.Z)(e,x),u=(0,_.ye)("rise-authoring-controls"),c=(0,b.Nv)(),d=c.accentColor,v=c.styleMode,y=v===E.XS.BRANDED,w=v===E.XS.UNBRANDED,C=r,N=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,h.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}({},a);return u&&(C=T({branded:y,unbranded:w}).mix(r),y&&null!=d&&g()(N,{"--background-color-accent":d,"--background-color-accent-transparent":d+"1A","--border-color-accent":d,"--color-accent":d,"--color-accent-transparent":d+"1A"})),k.createElement(o,(0,p.Z)({},s,{className:C,ref:t,style:N}))}t.Z=(0,y.forwardRef)(C)},33615:function(e,t,n){"use strict";var r=n(94310),i=n.n(r),o=n(67294),a=function(e){var t=e.afterAnimatedIn,n=e.animateBlockEntrance,r=e.animateIn,a=e.animateOnce,s=e.children,u=e.className,c=e.duration,l=e.keepStructure,d=e.initiallyVisible,f=e.isLearner,p=e.offset,h=e.siblingDelay;return f&&n?o.createElement(i(),{afterAnimatedIn:t,animateIn:r,animateOnce:a,className:u,duration:c,initiallyVisible:d,keepStructure:l,offset:p,scrollableParentSelector:"#page-wrap",siblingDelay:h},s):Array.isArray(s)?o.createElement("div",null,s):s};a.defaultProps={animateOnce:!0,duration:.75,offset:200,siblingDelay:0},t.Z=a},16848:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(88066),f=n.n(d),p=n(69798),h=n.n(p),m=n(94184),v=n.n(m),g=n(11525),y=n(13657),b=n.n(y),_=n(13207),w=n.n(_),E=n(20780),k=n.n(E),x=n(92738),S=n.n(x),T=n(54782),C=n.n(T),N=n(43931),O=n.n(N),A=n(47176),P=n.n(A),L=n(67294);function I(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var M=w()(["draggableOptions","autoScroll","container"]),R=O()(M),D=P()(b(),(function(){return document.querySelector(".page-wrap, .block-knowledge__wrapper, .question-banks-draw-dialog")})),j=S()(M,D),Z=function(e){(0,u.Z)(n,e);var t=I(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={isDragging:!1,x:0,y:0,zIndex:0},r.handleEnd=r.handleEnd.bind((0,s.Z)(r)),r.handleMove=r.handleMove.bind((0,s.Z)(r)),r.handleStart=r.handleStart.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){this.interact=(0,g.Z)(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:"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 L.cloneElement(L.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(h())((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=j(this.props);this.interact.draggable(k()({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,R(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=C()("",["props","className"],t);return v()(r,{draggable:n,"draggable--dragging":this.state.isDragging})}},{key:"getStyle",value:function(){var e,t,n,r,i,o=C()({},["props","style"],this.props.children);return k()(o,(e=this.state,n=e.x,r=e.y,i=e.zIndex,{transform:f()(t="translate(".concat(n,"px, ")).call(t,r,"px)"),zIndex:i}))}},{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}(L.Component)},7058:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(13535),i=n.n(r),o=n(44845),a=n(68420),s=n(27344),u=n(5281),c=n(90306),l=n(3020),d=n(3362),f=n(94184),p=n.n(f),h=n(11525),m=n(20780),v=n.n(m),g=n(54782),y=n.n(g),b=n(67294);function _(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var w=function(e){(0,c.Z)(n,e);var t=_(n);function n(e){var r;return(0,a.Z)(this,n),(r=t.call(this,e)).state={isActive:!1},r.handleEnter=r.handleEnter.bind((0,u.Z)(r)),r.handleLeave=r.handleLeave.bind((0,u.Z)(r)),r.handleDrop=r.handleDrop.bind((0,u.Z)(r)),r}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){this.interact=(0,h.Z)(this.el,this.props.interactOptions),this.props.isEnabled&&this.enableInteract()}},{key:"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 b.cloneElement(b.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(v()({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,a=y()("",["props","className"],r);return p()(a,(0,o.Z)({droppable:i,"droppable--active":e},n,e))}},{key:"getStyle",value:function(){return y()({},["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}(b.Component)},60210:function(e,t,n){"use strict";n.d(t,{_:function(){return r.Z},r:function(){return i.Z}});var r=n(16848),i=n(7058)},52365:function(e,t,n){"use strict";n.d(t,{x:function(){return d}});var r=n(73126),i=n(12088),o=n.n(i),a=n(94184),s=n.n(a),u=n(67294),c=n(90630),l=n(67294);function d(e){function t(t,n){var i,o=(i=(0,c.ye)("big-head-mode"),s()({bigHeadMode:i}));return l.createElement(e,(0,r.Z)({},t,{ref:n,easterEggClassNames:o}))}return o()((0,u.forwardRef)(t),{displayName:"withEasterEggClassNames(".concat(e.displayName||e.name,")")})}},85406:function(e,t,n){"use strict";n(94184),n(67294)},63500:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},91453:function(e,t,n){"use strict";n(94184),n(67294)},7026:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 16 12"},e),i.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"}),i.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"}),i.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"}))}},71417:function(e,t,n){"use strict";n(67294)},98976:function(e,t,n){"use strict";n(94184),n(67294)},99293:function(e,t,n){"use strict";n(94184),n(67294)},42070:function(e,t,n){"use strict";n(94184),n(67294)},88808:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e.className,n=e.width,i=void 0===n?"20":n,o=e.height,a=void 0===o?"20":o,s=e.focusable,u=void 0===s?"false":s;return r.createElement("svg",{className:t,width:i,height:a,viewBox:"0 0 20 20",fill:"none",focusable:u,xmlns:"http://www.w3.org/2000/svg"},r.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"}),r.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"}))}},32216:function(e,t,n){"use strict";n(94184),n(67294)},45821:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 24 24"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C12.5523 2 13 2.44772 13 3L13 21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21L11 3C11 2.44772 11.4477 2 12 2Z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.7071 13.2929C20.0976 13.6834 20.0976 14.3166 19.7071 14.7071L12.7071 21.7071C12.5196 21.8946 12.2652 22 12 22C11.7348 22 11.4804 21.8946 11.2929 21.7071L4.29289 14.7071C3.90237 14.3166 3.90237 13.6834 4.29289 13.2929C4.68342 12.9024 5.31658 12.9024 5.70711 13.2929L12 19.5858L18.2929 13.2929C18.6834 12.9024 19.3166 12.9024 19.7071 13.2929Z"}))}},93384:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Export":t,r=e.desc,a=void 0===r?"An arrow pointing right":r,s=e.width,u=void 0===s?"16":s,c=e.height,l=void 0===c?"8":c,d=e.className,f=e.focusable,p=void 0===f?"false":f,h=e.decorative;return o.createElement("svg",{viewBox:"0 0 16 8",width:u,height:l,className:i()("i",d),focusable:p,"aria-hidden":h?"true":"false"},o.createElement("title",null,n),o.createElement("desc",null,a),o.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"}))}},38799:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 24 24"},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C12.5523 2 13 2.44772 13 3L13 21C13 21.5523 12.5523 22 12 22C11.4477 22 11 21.5523 11 21L11 3C11 2.44772 11.4477 2 12 2Z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.2929 2.29289C11.6834 1.90237 12.3166 1.90237 12.7071 2.29289L19.7071 9.29289C20.0976 9.68342 20.0976 10.3166 19.7071 10.7071C19.3166 11.0976 18.6834 11.0976 18.2929 10.7071L12 4.41421L5.70711 10.7071C5.31658 11.0976 4.68342 11.0976 4.29289 10.7071C3.90237 10.3166 3.90237 9.68342 4.29289 9.29289L11.2929 2.29289Z"}))}},87947:function(e,t,n){"use strict";var r=n(73126),i=n(67294),o=n(5596);t.Z=function(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 10 12"},e),i.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"}))}},92894:function(e,t,n){"use strict";n(94184),n(67294)},97150:function(e,t,n){"use strict";n(94184),n(67294)},35714:function(e,t,n){"use strict";n(73126),n(5596),n(67294)},22507:function(e,t,n){"use strict";n(73126),n(5596),n(67294)},84620:function(e,t,n){"use strict";n(94184),n(67294)},38305:function(e,t,n){"use strict";n(94184),n(67294)},20873:function(e,t,n){"use strict";n(94184),n(67294)},98785:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e.width,n=void 0===t?"17":t,i=e.height,o=void 0===i?"15":i,a=e.title,s=void 0===a?"Book":a,u=e.desc,c=void 0===u?"Book":u,l=e.focusable,d=void 0===l?"false":l,f=e.className;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 17 15",focusable:d,className:f},r.createElement("title",null,s),r.createElement("desc",null,c),r.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"}))}},95988:function(e,t,n){"use strict";n(67294)},34590:function(e,t,n){"use strict";n(94184),n(67294)},71005:function(e,t,n){"use strict";n(94184),n(67294)},81135:function(e,t,n){"use strict";n(67294)},73613:function(e,t,n){"use strict";n(94184),n(67294)},41622:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=void 0===n?"Check mark":n,a=e.className,s=e.desc,u=e.height,c=void 0===u?"8":u,l=e.role,d=void 0===l?"img":l,f=e.title,p=e.width,h=void 0===p?"11":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":i,className:o()("i i-checkMark",a),focusable:"false",height:c,role:d,viewBox:"0 0 11 8",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),s&&r.createElement("desc",null,s),r.createElement("path",{d:"M9.6,0L11,1.3L3.9,8L0,4.3L1.4,3l2.6,2.4L9.6,0z"}))}},74915:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,a=e.desc,s=e.height,u=void 0===s?"21":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=e.width,p=void 0===f?"21":f;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:o()("i i-checkMarkFilled",i),focusable:"false",height:u,role:l,viewBox:"0 0 21 21",width:p,xmlns:"http://www.w3.org/2000/svg"},d&&r.createElement("title",null,d),a&&r.createElement("desc",null,a),r.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"}))}},18194:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i);t.Z=function(e){var t=e.title,n=void 0===t?"More":t,i=e.desc,a=void 0===i?"Caret pointing down":i,s=e.width,u=void 0===s?"7":s,c=e.height,l=void 0===c?"5":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return r.createElement("svg",{viewBox:"0 0 7 5",width:u,height:l,className:o()("i i-chevronDown",d),focusable:p},r.createElement("title",null,n),r.createElement("desc",null,a),r.createElement("g",{transform:"translate(-15 -14)"},r.createElement("path",{d:"M18.1042026,17.8957974 C18.2994647,18.0910596 18.6160472,18.0910596 18.8113094,17.8957974 L21.3535534,15.3535534 C21.5488155,15.1582912 21.5488155,14.8417088 21.3535534,14.6464466 C21.1582912,14.4511845 20.8417088,14.4511845 20.6464466,14.6464466 L18.4734187,16.8508 L16.3535534,14.7309347 C16.1582912,14.5356725 15.8417088,14.5356725 15.6464466,14.7309347 C15.4511845,14.9261968 15.4511845,15.2427793 15.6464466,15.4380415 L18.1042026,17.8957974 Z"})))}},62869:function(e,t,n){"use strict";n(67294)},83743:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.width,n=void 0===t?"16":t,r=e.height,a=void 0===r?"16":r,s=e.className,u=e.focusable,c=void 0===u?"false":u;return o.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",width:n,height:a,className:i()("i i-chevronLeft",s),focusable:c},o.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 "}))}},40277:function(e,t,n){"use strict";var r=n(73126),i=n(67294),o=n(5596);t.Z=function(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 6 10"},e),i.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"}))}},53370:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e.className;return r.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",focusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},r.createElement("circle",{cx:"5",cy:"5",r:"5"}))}},1911:function(e,t,n){"use strict";n(94184),n(67294)},13809:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e.className;return r.createElement("svg",{"aria-hidden":"true",className:t,fill:"currentColor",foocusable:"false",viewBox:"0 0 10 10",xmlns:"http://www.w3.org/2000/svg"},r.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"}))}},81693:function(e,t,n){"use strict";n(73126),n(5596),n(67294)},91111:function(e,t,n){"use strict";n(67294)},72462:function(e,t,n){"use strict";n(94184),n(67294)},12093:function(e,t,n){"use strict";n(94184),n(67294)},51758:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},77140:function(e,t,n){"use strict";n(94184),n(67294)},80298:function(e,t,n){"use strict";n(94184),n(67294)},78476:function(e,t,n){"use strict";n(67294)},93546:function(e,t,n){"use strict";n(88066),n(94184),n(67294)},81341:function(e,t,n){"use strict";n(67294),n(94184)},22919:function(e,t,n){"use strict";n(67294)},49802:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"DestinationArrow":t,r=e.desc,a=void 0===r?"DestinationArrow":r,s=e.width,u=void 0===s?"13":s,c=e.height,l=void 0===c?"10":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 13 10",width:u,height:l,className:i()("i i-destinationArrow",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.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"}))}},66658:function(e,t,n){"use strict";n(94184),n(67294)},62827:function(e,t,n){"use strict";n(67294)},99580:function(e,t,n){"use strict";n(73126),n(2562),n(67294),n(78911)},85484:function(e,t,n){"use strict";n(67294)},88106:function(e,t,n){"use strict";n(94184),n(67294)},25161:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Download":t,r=e.desc,a=void 0===r?"Arrow down with horizontal line beneath it":r,s=e.width,u=void 0===s?"16":s,c=e.height,l=void 0===c?"19":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 16 19",width:u,height:l,className:i()("i i-download",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("rect",{y:"17",width:"16",height:"2",rx:"1"}),o.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"}),o.createElement("path",{d:"M7 0h2v12H7z"}))}},57104:function(e,t,n){"use strict";n(94184),n(67294)},34834:function(e,t,n){"use strict";n(73126),n(5596),n(67294)},44811:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Draw":t,r=e.desc,a=void 0===r?"Arrow down with horizontal line beneath it":r,s=e.width,u=void 0===s?"15":s,c=e.height,l=void 0===c?"15":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 15 15",width:u,height:l,className:i()("i i-drawFromQuestionBank",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("path",{d:"M8.15625 10.9688C7.96875 11.1562 7.78125 11.25 7.5 11.25C7.21875 11.25 7.03125 11.1562 6.84375 10.9688L1.5 5.625L2.8125 4.3125L6.5625 8.0625V0H8.4375V8.0625L12.1875 4.3125L13.5 5.625L8.15625 10.9688Z"}),o.createElement("path",{d:"M1.875 10.3125V13.125H13.125V10.3125H15V14.0625C15 14.625 14.625 15 14.0625 15H0.9375C0.375 15 0 14.625 0 14.0625V10.3125H1.875Z"}))}},41771:function(e,t,n){"use strict";n(73126),n(5596),n(67294)},35021:function(e,t,n){"use strict";n(94184),n(67294)},31206:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Draggable":t,r=e.desc,a=void 0===r?"Three dots stacked on top of one another":r,s=e.width,u=void 0===s?"4":s,c=e.height,l=void 0===c?"14":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 4 14",width:u,height:l,className:i()("i i-ellipsis--vert",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("g",{transform:"translate(.158 .445)"},o.createElement("circle",{cx:"1.5",cy:"11.5",r:"1.5"}),o.createElement("circle",{cx:"1.5",cy:"6.5",r:"1.5"}),o.createElement("circle",{cx:"1.5",cy:"1.5",r:"1.5"})))}},85159:function(e,t,n){"use strict";n(94184),n(67294)},70286:function(e,t,n){"use strict";n(94184),n(67294)},94157:function(e,t,n){"use strict";n(94184),n(67294)},91583:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},23900:function(e,t,n){"use strict";n(67294),n(94184)},55978:function(e,t,n){"use strict";n(94184),n(67294)},65104:function(e,t,n){"use strict";n(94184),n(67294)},46423:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=void 0===n?"X mark":n,a=e.className,s=e.desc,u=e.height,c=void 0===u?"10":u,l=e.role,d=void 0===l?"img":l,f=e.title,p=e.width,h=void 0===p?"10":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":i,className:o()("i i-exMark",a),focusable:"false",height:c,role:d,viewBox:"0 0 10 10",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),s&&r.createElement("desc",null,s),r.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"}))}},89274:function(e,t,n){"use strict";n(94184),n(67294)},39422:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#C7CACC"}),r.createElement("path",{d:"M13.534 22.9863V24.4163H10.245V26.4458H12.984V27.8813H10.245V30.9998H8.375V22.9863H13.534Z",fill:"#414448"}),r.createElement("path",{d:"M17.533 30.9998H15.663V22.9863H17.533V30.9998Z",fill:"#414448"}),r.createElement("path",{d:"M21.8805 29.5148H24.8505V30.9998H20.0215V22.9863H21.8805V29.5148Z",fill:"#414448"}),r.createElement("path",{d:"M31.8846 22.9863V24.4163H28.5956V26.2863H31.1146V27.6613H28.5956V29.5698H31.8846V30.9998H26.7256V22.9863H31.8846Z",fill:"#414448"}))}},44526:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#96A9E0",fillRule:"evenodd"}),r.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"}),r.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"}),r.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"}))}},76233:function(e,t,n){"use strict";n(94184),n(67294)},54927:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#EDADA9",fillRule:"evenodd"}),r.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"}),r.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"}),r.createElement("path",{d:"M31.3465 22.9863V24.4163H28.0575V26.4458H30.7965V27.8813H28.0575V30.9998H26.1875V22.9863H31.3465Z",fill:"#771D18"}))}},12897:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#F8BFA6",fillRule:"evenodd"}),r.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"}),r.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"}),r.createElement("path",{d:"M31.2008 22.9863V24.4603H28.9458V30.9998H27.0868V24.4603H24.8318V22.9863H31.2008Z",fill:"#7C2B0E"}))}},6906:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#ABDBF3",fillRule:"evenodd"}),r.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"}),r.createElement("path",{d:"M23.6162 22.9865V24.4605H21.3612V31H19.5022V24.4605H17.2472V22.9865H23.6162Z",fill:"#144E6C"}),r.createElement("path",{d:"M30.5411 22.9865V24.4165H27.2521V26.446H29.9911V27.8815H27.2521V31H25.3821V22.9865H30.5411Z",fill:"#144E6C"}))}},26913:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fill:"#AFD1AE",fillRule:"evenodd"}),r.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"}),r.createElement("path",{d:"M20.6017 29.5149H23.5717V30.9999H18.7427V22.9864H20.6017V29.5149Z",fill:"#265026"}),r.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"}))}},43064:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=void 0===o?"":o,s=e.height,u=void 0===s?"50":s,c=e.role,l=void 0===c?"img":c,d=e.title,f=void 0===d?"":d,p=e.width,h=void 0===p?"40":p;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:u,role:l,viewBox:"0 0 40 50",width:h,xmlns:"http://www.w3.org/2000/svg"},f&&r.createElement("title",null,f),a&&r.createElement("desc",null,a),r.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"}),r.createElement("path",{clipRule:"evenodd",d:"M26 0V14H40",fillRule:"evenodd",fill:"#ABDBF3"}),r.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"}),r.createElement("path",{d:"M20.7826 30.9998H18.9126V22.9863H20.7826V30.9998Z",fill:"#124F6E"}),r.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"}))}},62495:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Fill in the Blank":t,r=e.desc,a=void 0===r?"Pencil writing on a surface":r,s=e.width,u=void 0===s?"15":s,c=e.height,l=void 0===c?"15":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 15 15",width:u,height:l,className:i()("i i-fillInTheBlank",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.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"}))}},89262:function(e,t,n){"use strict";n(67294)},5887:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"More":t,r=e.desc,a=void 0===r?"Filled caret pointing right":r,s=e.width,u=void 0===s?"7":s,c=e.height,l=void 0===c?"5":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 5 7",width:u,height:l,className:i()("i i-filledChevronRight",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("g",null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 3.625L1 1v5.25z"})))}},59503:function(e,t,n){"use strict";n(94184),n(67294)},26047:function(e,t,n){"use strict";var r=n(73126),i=n(67294),o=n(5596);t.Z=function(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 15 15"},e),i.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"}))}},17894:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},37321:function(e,t,n){"use strict";n(94184),n(67294)},13495:function(e,t,n){"use strict";n(94184),n(67294)},2709:function(e,t,n){"use strict";n(94184),n(67294)},26477:function(e,t,n){"use strict";n(94184),n(67294)},28:function(e,t,n){"use strict";n(94184),n(67294)},16867:function(e,t,n){"use strict";n(94184),n(67294)},27802:function(e,t,n){"use strict";n(94184),n(67294)},48132:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 20 14"},e),i.createElement("path",{d:"M0 0H20V2H0V0Z M0 6H20V8H0V6Z M20 12H0V14H20V12Z"}))}},79005:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.className,n=e.decorative,r=void 0===n||n,a=e.desc,s=void 0===a?"Heart":a,u=e.focusable,c=void 0===u?"false":u,l=e.height,d=void 0===l?"16":l,f=e.isFilled,p=void 0===f||f,h=e.title,m=void 0===h?"Heart":h,v=e.width,g=void 0===v?"16":v;return o.createElement("svg",{"aria-hidden":r,viewBox:"0 0 16 16",width:g,height:d,className:i()("i i-heart".concat(p?"Filled":"Outline"),t),focusable:c},o.createElement("title",null,m),o.createElement("desc",null,s),o.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"}))}},90460:function(e,t,n){"use strict";n(94184),n(67294)},5596:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73126),i=n(67294);function o(e){return i.createElement("svg",(0,r.Z)({"aria-hidden":"true",fill:"currentColor",focusable:"false",xmlns:"http://www.w3.org/2000/svg"},e))}},15140:function(e,t,n){"use strict";n(94184),n(67294)},47894:function(e,t,n){"use strict";n(94184),n(67294)},6114:function(e,t,n){"use strict";n(94184),n(67294)},66684:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},29358:function(e,t,n){"use strict";n(67294)},5979:function(e,t,n){"use strict";n(94184),n(67294)},51616:function(e,t,n){"use strict";n(94184),n(67294)},28444:function(e,t,n){"use strict";n(94184),n(67294)},26604:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=e.height,s=e.role,u=void 0===s?"img":s,c=e.title,l=e.width;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,fill:"none",focusable:"false",height:a,role:u,viewBox:"0 0 40 40",width:l,xmlns:"http://www.w3.org/2000/svg"},c&&r.createElement("title",null,c),o&&r.createElement("desc",null,o),r.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"}),r.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"}))}},63411:function(e,t,n){"use strict";n(94184),n(67294)},89331:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Matching":t,r=e.desc,a=void 0===r?"Two rows of stacked squares":r,s=e.width,u=void 0===s?"15":s,c=e.height,l=void 0===c?"15":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 15 15",width:u,height:l,className:i()("i i-matching",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("path",{d:"M4.814 4.975H2.19V2.35h2.625v2.625zM5.69.6H1.314C.79.6.44.95.44 1.475V5.85c0 .525.35.875.875.875H5.69c.525 0 .875-.35.875-.875V1.475C6.564.95 6.214.6 5.69.6zM12.69 4.975h-2.626V2.35h2.625v2.625zM13.563.6H9.19c-.525 0-.875.35-.875.875V5.85c0 .525.35.875.875.875h4.375c.525 0 .875-.35.875-.875V1.475c0-.525-.35-.875-.875-.875zM4.814 12.85H2.19v-2.625h2.625v2.625zm.875-4.375H1.314c-.525 0-.875.35-.875.875v4.375c0 .525.35.875.875.875H5.69c.525 0 .875-.35.875-.875V9.35c0-.525-.35-.875-.875-.875zM12.69 12.85h-2.626v-2.625h2.625v2.625zm.874-4.375H9.19c-.525 0-.875.35-.875.875v4.375c0 .525.35.875.875.875h4.375c.525 0 .875-.35.875-.875V9.35c0-.525-.35-.875-.875-.875z"}))}},30839:function(e,t,n){"use strict";n(67294)},4145:function(e,t,n){"use strict";n(94184),n(67294)},74841:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Multiple Choice":t,r=e.desc,a=void 0===r?"Stacked circles to the left of stacked lines":r,s=e.width,u=void 0===s?"16":s,c=e.height,l=void 0===c?"16":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 16 16",width:u,height:l,className:i()("i i-multipleChoice",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("path",{d:"M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-2A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"}),o.createElement("circle",{cx:"7.904",cy:"7.904",r:"1.904"}))}},29937:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Multiple Response":t,r=e.desc,a=void 0===r?"A box with a checkmark in it":r,s=e.width,u=void 0===s?"16":s,c=e.height,l=void 0===c?"16":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 16 16",width:u,height:l,className:i()("i i-multipleResponse",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("path",{d:"M15.142.332c.6 0 1 .4 1 1v14c0 .6-.4 1-1 1h-14c-.6 0-1-.4-1-1v-14c0-.6.4-1 1-1h14zm-1 14v-12h-12v12h12zm-7.978-3.308l-2-2-.707-.708L4.87 6.902l.707.707 1.3 1.3 3.317-3.33.707-.708 1.414 1.414-.707.707-4.03 4.032-.708.707-.707-.707z"}))}},79519:function(e,t,n){"use strict";n(94184),n(67294)},88323:function(e,t,n){"use strict";n(94184),n(67294)},67346:function(e,t,n){"use strict";n(94184),n(67294)},74874:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Not Allowed":t,r=e.desc,a=void 0===r?"A circle with a slanted line through it":r,s=e.width,u=void 0===s?"12":s,c=e.height,l=void 0===c?"12":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 12 12",width:u,height:l,className:i()("i i-notAllowed",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.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"}))}},77525:function(e,t,n){"use strict";n(67294)},17411:function(e,t,n){"use strict";n(94184),n(67294)},92651:function(e,t,n){"use strict";n(94184),n(67294)},99432:function(e,t,n){"use strict";n(94184),n(67294)},36106:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},39315:function(e,t,n){"use strict";n(94184),n(67294)},3940:function(e,t,n){"use strict";n(67294)},23546:function(e,t,n){"use strict";n(94184),n(67294)},63514:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(88066),d=n.n(l),f=n(67294),p=n(94184),h=n.n(p),m=n(73955),v=n.n(m);function g(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var y=function(e){(0,s.Z)(n,e);var t=g(n);function n(){var e,r;(0,o.Z)(this,n);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return(r=t.call.apply(t,d()(e=[this]).call(e,a))).maskId="person-unknown-mask-".concat(v()()),r.pathId="person-unknown-path-".concat(v()()),r}return(0,a.Z)(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,c=e.decorative,l=e.focusable,d=void 0===l?"false":l;return f.createElement("svg",{"aria-hidden":c,viewBox:"0 0 38 38",width:o,height:s,className:h()("i i-person-unknown",u),focusable:d},n&&f.createElement("title",null,n),r&&f.createElement("desc",null,r),f.createElement("defs",null,f.createElement("circle",{id:this.pathId,cx:"19",cy:"19",r:"19"})),f.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},f.createElement("mask",{id:this.maskId,fill:"#fff"},f.createElement("use",{href:"#".concat(this.pathId)})),f.createElement("use",{fill:"#D8D8D8",href:"#".concat(this.pathId)}),f.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}(f.Component)},15261:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Pick One":t,r=e.desc,a=void 0===r?"Pick One":r,s=e.width,u=void 0===s?"16":s,c=e.height,l=void 0===c?"14":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:u,height:l,viewBox:"0 0 16 14",className:i()("i i-pickOne",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("g",{fillRule:"evenodd"},o.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"}),o.createElement("path",{d:"M8.862 1.324h7v2h-7zM8.862 4.324h7v2h-7zM8.862 8.324h7v2h-7zM8.862 11.324h7v2h-7z"})))}},60077:function(e,t,n){"use strict";n(94184),n(67294)},82785:function(e,t,n){"use strict";n(94184),n(67294)},45525:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 16 16"},e),i.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"}),i.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"}),i.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"}))}},96253:function(e,t,n){"use strict";n(94184),n(67294)},56148:function(e,t,n){"use strict";n(94184),n(67294)},11549:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 15 14"},e),i.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"}),i.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"}))}},34410:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 19 19"},e),i.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"}))}},74336:function(e,t,n){"use strict";n(67294)},78911:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(67294);function d(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}l.Component},15094:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,o=e.desc,a=e.height,s=e.role,u=void 0===s?"img":s,c=e.title,l=e.width;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:i,focusable:"false",height:a,role:u,viewBox:"0 0 493 493",width:l,xmlns:"http://www.w3.org/2000/svg"},c&&r.createElement("title",null,c),o&&r.createElement("desc",null,o),r.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"}))}},46634:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.width,n=void 0===t?"16":t,r=e.height,a=void 0===r?"16":r,s=e.className;return o.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 15.6 14.7",width:n,height:a,className:i()("i i-search",s),focusable:"false",fill:"currentColor"},o.createElement("path",{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"}))}},53434:function(e,t,n){"use strict";n(94184),n(67294)},70952:function(e,t,n){"use strict";n(94184),n(67294)},44491:function(e,t,n){"use strict";var r=n(73126),i=n(67294),o=n(5596);t.Z=function(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 16 16"},e),i.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"}))}},62288:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294);t.Z=function(e){var t=e.title,n=void 0===t?"Sortable":t,r=e.desc,a=void 0===r?"Three horizontal lines stacked on top of each other":r,s=e.width,u=void 0===s?"22":s,c=e.height,l=void 0===c?"7":c,d=e.className,f=e.focusable,p=void 0===f?"false":f;return o.createElement("svg",{viewBox:"0 0 22 7",width:u,height:l,className:i()("i i-sortable",d),focusable:p},o.createElement("title",null,n),o.createElement("desc",null,a),o.createElement("rect",{x:"0",y:"0",width:"100%",height:"1",strokeWidth:"1"}),o.createElement("rect",{x:"0",y:"3",width:"100%",height:"1",strokeWidth:"1"}),o.createElement("rect",{x:"0",y:"6",width:"100%",height:"1",strokeWidth:"1"}))}},94767:function(e,t,n){"use strict";n(94184),n(67294)},97422:function(e,t,n){"use strict";n(67294),n(94184)},18755:function(e,t,n){"use strict";n(94184),n(67294)},93154:function(e,t,n){"use strict";n(94184),n(67294)},35616:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},52566:function(e,t,n){"use strict";n(94184),n(67294)},69186:function(e,t,n){"use strict";n(94184),n(67294)},42137:function(e,t,n){"use strict";n(94184),n(67294)},91462:function(e,t,n){"use strict";n(94184),n(67294)},62400:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 15 16"},e),i.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"}),i.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"}))}},47495:function(e,t,n){"use strict";n(94184),n(67294)},40398:function(e,t,n){"use strict";n(94184),n(67294)},5189:function(e,t,n){"use strict";n(67294)},27621:function(e,t,n){"use strict";n(94184),n(67294)},30943:function(e,t,n){"use strict";n(94184),n(67294)},40369:function(e,t,n){"use strict";n(67294)},68130:function(e,t,n){"use strict";n(94184),n(67294)},63950:function(e,t,n){"use strict";n(94184),n(67294)},68791:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(73126),i=n(67294),o=n(5596);function a(e){return i.createElement(o.Z,(0,r.Z)({viewBox:"0 0 16 12"},e),i.createElement("g",{transform:"translate(-1 -2)"},i.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"})))}},72491:function(e,t,n){"use strict";n(73126),n(67294),n(5596)},83888:function(e,t,n){"use strict";n(94184),n(67294)},41927:function(e,t,n){"use strict";n(94184),n(67294)},92106:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i);t.Z=function(e){var t=e["aria-hidden"],n=e["aria-label"],i=e.className,a=e.desc,s=void 0===a?"":a,u=e.height,c=void 0===u?"20":u,l=e.role,d=void 0===l?"img":l,f=e.title,p=void 0===f?"":f,h=e.width,m=void 0===h?"20":h;return r.createElement("svg",{"aria-hidden":t,"aria-label":n,className:o()("i i-xMarkFilled",i),focusable:"false",height:c,role:d,viewBox:"0 0 20 20",width:m,xmlns:"http://www.w3.org/2000/svg"},p&&r.createElement("title",null,p),s&&r.createElement("desc",null,s),r.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"}))}},29891:function(e,t,n){"use strict";n.d(t,{$B:function(){return _.Z},A:function(){return g.Z},Cd:function(){return p.Z},Eg:function(){return o.Z},Eh:function(){return i.Z},Fm:function(){return Z.Z},Gr:function(){return B.Z},HE:function(){return P.Z},NP:function(){return R.Z},Ni:function(){return r.Z},QS:function(){return S.Z},Qw:function(){return D.Z},RD:function(){return y.Z},S8:function(){return w.Z},So:function(){return s.Z},TN:function(){return k.Z},UW:function(){return v.Z},Uj:function(){return T.Z},WH:function(){return N.Z},Xh:function(){return q.Z},YK:function(){return A.Z},Y_:function(){return c.Z},Zn:function(){return x.Z},_M:function(){return d.Z},bt:function(){return U.Z},d1:function(){return C.Z},dI:function(){return j.Z},et:function(){return b.Z},fy:function(){return u.Z},iL:function(){return l.Z},kO:function(){return M.Z},mZ:function(){return I.Z},ol:function(){return a.Z},pV:function(){return m.Z},pr:function(){return O.Z},ri:function(){return L.Z},s$:function(){return f.Z},x8:function(){return h.Z},yd:function(){return E.Z},ym:function(){return F.Z},yt:function(){return H.Z},z1:function(){return z.Z}});n(85406),n(63500),n(91453);var r=n(7026),i=(n(71417),n(98976),n(99293),n(42070),n(88808)),o=(n(32216),n(45821)),a=n(93384),s=n(38799),u=(n(87947),n(92894),n(97150),n(35714),n(22507),n(84620),n(38305),n(20873),n(98785)),c=(n(95988),n(34590),n(71005),n(81135),n(73613),n(41622)),l=n(74915),d=n(18194),f=(n(62869),n(83743)),p=(n(40277),n(53370)),h=(n(1911),n(13809)),m=(n(81693),n(91111),n(72462),n(12093),n(51758),n(77140),n(80298),n(78476),n(93546),n(81341),n(22919),n(49802)),v=(n(66658),n(62827),n(99580),n(85484),n(88106),n(25161)),g=(n(57104),n(34834),n(44811)),y=(n(41771),n(35021),n(31206)),b=(n(85159),n(70286),n(94157),n(91583),n(23900),n(55978),n(65104),n(46423)),_=(n(89274),n(39422)),w=n(44526),E=(n(76233),n(54927)),k=n(12897),x=n(6906),S=n(26913),T=n(43064),C=n(5887),N=n(62495),O=(n(89262),n(59503),n(26047),n(17894),n(37321),n(13495),n(2709),n(26477),n(28),n(16867),n(27802),n(48132)),A=n(79005),P=(n(90460),n(15140),n(6114),n(47894),n(66684),n(29358),n(5979),n(51616),n(28444),n(26604)),L=(n(63411),n(89331)),I=(n(30839),n(4145),n(74841)),M=n(29937),R=(n(79519),n(88323),n(67346),n(74874)),D=(n(77525),n(17411),n(92651),n(99432),n(36106),n(39315),n(3940),n(23546),n(63514)),j=n(15261),Z=(n(60077),n(82785),n(45525)),B=(n(96253),n(56148),n(11549)),F=n(34410),U=(n(74336),n(46634),n(70952),n(53434),n(44491),n(62288)),q=(n(94767),n(97422),n(18755),n(93154),n(35616),n(52566),n(69186),n(42137),n(91462),n(62400)),z=(n(47495),n(40398),n(5189),n(27621),n(30943),n(40369),n(68130),n(63950),n(68791)),H=(n(72491),n(83888),n(41927),n(92106))},49074:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(50047),f=n.n(d),p=n(67294),h=n(55130),m=n.n(h),v=n(54115),g=n.n(v),y=n(94184),b=n.n(y),_=n(17794),w=n.n(_),E=n(95425),k=n.n(E),x=n(45697),S=n.n(x),T=n(23493),C=n.n(T),N=n(29891),O=n(90630),A=n(27028),P=n(37314),L=n(12868);function I(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var M=function(e){(0,u.Z)(n,e);var t=I(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={hasOverflow:!1},r.refWrap=(0,p.createRef)(),r.refBubbleWrap=(0,p.createRef)(),r.renderOverflowMask=r.renderOverflowMask.bind((0,s.Z)(r)),r.handleScroll=r.handleScroll.bind((0,s.Z)(r)),r.handleBubbleClick=r.handleBubbleClick.bind((0,s.Z)(r)),r.handleKeyDown=r.handleKeyDown.bind((0,s.Z)(r)),r.handleNextClick=r.handleNextClick.bind((0,s.Z)(r)),r.handlePreviousClick=r.handlePreviousClick.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"componentWillUnmount",value:function(){this.contentRef.removeEventListener("scroll",this.scrollRef),this.videoContainer&&this.videoContainer.removeEventListener("click",this.handleBubbleClick)}},{key:"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,c=n.key,l=n.labels,d=n.onClose,h=n.title,m=n.x,v=n.y,g=b()("bubble",{"bubble--active":u}),y=R({x:m,y:v}),_=D({fusion:s,hasOverflow:this.state.hasOverflow,x:m,y:v}),w={borderColor:r},E=l.labeledGraphicBubbleLabel,x=p.createElement("div",{ref:this.refWrap,className:g,style:y},p.createElement("div",{"aria-hidden":!u,"aria-label":E,className:_,id:c,onClick:this.handleBubbleClick,onKeyDown:this.handleKeyDown,ref:this.refBubbleWrap,style:w,tabIndex:"-1"},p.createElement(A.Z,{allowTabNavigation:u,className:"bubble__title brand--head",value:h}),i&&this.renderControls(),p.createElement("button",{"aria-label":"Close modal",className:"bubble__close",onClick:d,type:"button"},p.createElement(N.x8,{className:"bubble__close-icon"})),p.createElement("div",{className:"bubble__content",ref:function(e){t.contentRef=e}},p.createElement("div",{className:"bubble__media"},f()(e=p.Children).call(e,o,(function(e){return e&&u?p.createElement("div",{className:"bubble__figure"},e):null}))),p.createElement(A.Z,{allowTabNavigation:u,className:"bubble__description brand--body brand--linkColor",value:a}))));return window.matchMedia("(max-width: 767px)").matches?p.createElement(k(),null,p.createElement(P.Z,null,x)):x}},{key:"renderControls",value:function(){var e=this.props.labels,t=e.labeledGraphicPreviousMarkerLabel,n=e.labeledGraphicNextMarkerLabel;return p.createElement("div",{className:"bubble__controls"},p.createElement("button",{"aria-label":t,className:"bubble__prev brand--hoverColor",onClick:this.handlePreviousClick,type:"button"},p.createElement("i",{className:"icon icon-chevron-left"})),p.createElement("button",{"aria-label":n,className:"bubble__next brand--hoverColor",onClick:this.handleNextClick,type:"button"},p.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=C()(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=this.props,n=t.allowNav,r=t.onClose,i=t.onNextClick,o=t.onPreviousClick,a=(0,L.Fi)(this.contentRef,this.state.hasOverflow),s=m()(g()(n));w()([[s(L.V4),o],[s(L.V8),i],[L.$o,r],[L.ID,a]])(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:"propTypes",get:function(){return{accentColor:S().string.isRequired,description:S().string.isRequired,isActive:S().bool.isRequired,onClose:S().func.isRequired,onNextClick:S().func.isRequired,onPreviousClick:S().func.isRequired,title:S().string.isRequired}}},{key:"defaultProps",get:function(){return{allowNav:!0,onClose:Function.prototype,onNextClick:Function.prototype,onPreviousClick:Function.prototype}}}]),n}(p.Component);t.Z=(0,O.tF)("rise-authoring-controls","fusion")(M);var R=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},D=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"),b()("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})}},65488:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(13535),i=n.n(r),o=n(89356),a=n.n(o),s=n(63263),u=n.n(s),c=n(30699),l=n.n(c),d=n(58377),f=n.n(d),p=n(13038),h=n.n(p),m=n(44845),v=n(68420),g=n(27344),y=n(90306),b=n(3020),_=n(3362),w=n(94184),E=n.n(w),k=n(50557),x=n.n(k),S=n(52478),T=n.n(S),C=n(8575),N=n(69532),O=n(48277),A=n(67927),P=n(67294);function L(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=l()(r).call(r,(function(t){return f()(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var M=x()((function(e){return e.substr(1)}),T()("path"),C.parse),R=function(e){(0,y.Z)(n,e);var t=I(n);function n(e){var r;return(0,v.Z)(this,n),(r=t.call(this,e)).state={style:{}},r}return(0,g.Z)(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,c=t.onShowAltDialog,l=this.state.style,d=s.image,p=void 0===d?{}:d,v=p.alt,g=p.key,y=p.originalUrl,b=p.src,_=!!p.alt,w=(0,O.b3)({alt:v,fileName:y,key:g}),k=(0,O.hQ)(p),x=E()("labeled-graphic-canvas__figure",{"labeled-graphic-canvas__figure--editable":i}),S=g?(0,N.xR)(p):(0,N.xR)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):h()?Object.defineProperties(e,h()(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,f()(n,t))}))}return e}({key:M(b)},p));return P.createElement("div",{className:n||"labeled-graphic-canvas"},P.createElement("div",{className:"labeled-graphic-canvas__item"},P.createElement("div",{className:"labeled-graphic-canvas__bounds"},P.createElement("figure",{className:x},_&&i?P.createElement(A.DY,{className:"item-media__tooltip"},P.createElement("div",{onClick:c,className:"labeled-graphic-canvas__alt-tag"},"ALT"),P.createElement(A._v,{side:"top"},"Edit alt text")):[],o&&P.createElement("img",{alt:w,className:"labeled-graphic-canvas__image",onClick:u,onLoad:function(){return e.setState({style:k})},ref:function(t){e.imageEl=t},role:"img",src:S,style:l}),P.createElement("ol",{role:"list"},r)))))}}]),n}(P.Component)},26624:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(50047),f=n.n(d),p=n(88066),h=n.n(p),m=n(67294),v=n(54115),g=n.n(v),y=n(94184),b=n.n(y),_=n(50557),w=n.n(_),E=n(9449),k=n.n(E),x=n(32207),S=n.n(x),T=n(20780),C=n.n(T),N=n(416),O=n.n(N),A=n(47088),P=n.n(A),L=n(47176),I=n.n(L),M=n(49074),R=n(65488),D=n(33615),j=n(58738),Z=n(58599),B=n(80396);function F(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var U=function(e){var t=e.accentColor;return{accentColor:e.fontColor,fontColor:t}},q=S()(w()(P()(C()),(function(e){return I()(g()(e),U)}))),z=function(e){(0,u.Z)(n,e);var t=F(n);function n(e){var r;(0,o.Z)(this,n),r=t.call(this,e);var i=e.isLearner;return r.afterAnimatedIn=r.afterAnimatedIn.bind((0,s.Z)(r)),r.createMarker=r.createMarker.bind((0,s.Z)(r)),r.onBubbleClose=r.onBubbleClose.bind((0,s.Z)(r)),r.onMarkerFocus=r.onMarkerFocus.bind((0,s.Z)(r)),r.markerRefs={},r.state={showMarkers:!i,uniqId:k()()},r}return(0,a.Z)(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,c=void 0===u||u,l=t.isBlock,d=t.isLearner,p=t.isPreview,v=t.items,g=t.labels,y=t.lesson,_=t.media,w=t.onItemClear,E=t.onItemHint,k=t.onItemSelected,x=t.onNextClick,S=t.onPreviousClick,T=t.onShowAltDialog,C=t.parentId,N=t.progress,A=t.selected,P=t.settings,L=void 0===P?{}:P,I=t.showBubbles,F=t.enableVideoPlaybackSpeed,U=L.markerColor,z=this.state,H=z.showMarkers,V=z.uniqId,W=n||o,Y=Boolean(U),G=s?"#FFFFFF":U||W,K=b()("map-item",{"map-item--animated":!s}),$=r?"fadeIn":"none",X=r?1:0,J=v.length>1,Q="lg-".concat(V),ee=Y?function(e){return(0,B.jn)(e)?"#FFFFFF":"#000000"}(G):s?"#000000":"#FFFFFF",te=q(!Y&&!s,{accentClassName:Q,accentColor:G,fontColor:ee});return m.createElement(m.Fragment,null,this.renderMarkerStyles(te),m.createElement(D.Z,{afterAnimatedIn:this.afterAnimatedIn,animateBlockEntrance:!p,animateIn:$,duration:p?0:X,initiallyVisible:!r,isLearner:d,offset:300},m.createElement(R.Z,{canvasClassNames:a,editable:s,imageLoaded:c,lesson:y,media:_,onCreateMarker:this.createMarker,onShowAltDialog:T,ref:function(t){e.canvas=t}},f()(v).call(v,(function(t,n){var r,o,a=t.description,u=t.id,c=t.icon,d=t.media,f=t.title,p=t.x,v=t.y,y={top:v+"%",left:p+"%"},b=O()(["items",u,"isComplete"],N),_=A===u,T="bubble-".concat(u);return m.createElement("li",{className:K,key:u,role:"listitem"},m.createElement(j.Z,{ariaControls:T,editable:s,icon:c,isActive:A===u,isComplete:b,isSelected:_,isVisible:H,itemId:u,key:u,labels:g,markerClassName:Q,onClick:function(){k(u)},onFocus:e.onMarkerFocus(u),onHover:function(){E()},onLeave:function(){w()},onSetPosition:e.onSetPosition.bind(e,u),parentId:C,ref:function(t){e.markerRefs[u]=t},styles:y,title:f,useLocalStateForCompletion:l}),!s&&I&&m.createElement(M.Z,{accentColor:G,allowNav:J,description:a,hasMedia:Boolean(d),isActive:_,key:T,labels:g,onClose:e.onBubbleClose(u),onNextClick:function(){x(n)},onPreviousClick:function(){S(n)},title:f,x:p,y:v},d?m.createElement(Z.Z,{hasPadding:!1,index:h()(r=h()(o="".concat(i,"-")).call(o,u,"-")).call(r,n),labels:e.props.labels,media:d,enableVideoPlaybackSpeed:F}):null))})))))}},{key:"renderMarkerStyles",value:function(e){var t,n,r,i,o,a,s,u,c,l,d,f=e.accentClassName,p=e.accentColor,v=e.fontColor,g=(0,B.X2)("#000000",p),y=(0,B.X2)("#FFFFFF",v);return m.createElement("style",null,h()(t=h()(n=h()(r=h()(i=h()(o=h()(a=h()(s=h()(u=h()(c=h()(l=h()(d="\n        .".concat(f,"--normal {\n          background-color: ")).call(d,g,";\n          color: ")).call(l,y,";\n        }\n\n        .")).call(c,f,"--selected {\n          background-color: ")).call(u,y,";\n          color: ")).call(s,g,";\n        }\n\n        .")).call(a,f,"--selected:before {\n          border-color: ")).call(o,g," !important;\n        }\n\n        .")).call(i,f,"--hover {\n          background-color: ")).call(r,g,";\n        }\n\n        .")).call(n,f,"--hover:before {\n          border-color: ")).call(t,y," !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}),c=u.x,l=u.y;o({index:r?s[0].items.length:s.length,lessonId:a,items:s,payload:{description:"",hasMedia:!1,icon:"01",id:k()(),isActive:!1,title:"",x:String(c),y:String(l)}})}}},{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,c=this.findItemCoordinates({e:t,offsetX:n,offsetY:r}),l=c.x,d=c.y;a({itemId:e,lessonId:s,items:u,payload:{x:String(l),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);t.Z=z},58738:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(13535),i=n.n(r),o=n(44845),a=n(68420),s=n(27344),u=n(5281),c=n(90306),l=n(3020),d=n(3362),f=n(88066),p=n.n(f),h=n(94184),m=n.n(h),v=n(45697),g=n.n(v),y=n(65635),b=n(12868),_=n(89830),w=n(67294);function E(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var k=function(e){(0,c.Z)(n,e);var t=E(n);function n(e){var r;return(0,a.Z)(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((0,u.Z)(r)),r}return(0,s.Z)(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:"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,a=n.isActive,s=n.isComplete,u=n.isSelected,c=n.isVisible,l=n.markerClassName,d=n.onFocus,f=n.labels,h=n.styles,v=n.title,g=n.useLocalStateForCompletion,_=(0,y.f)(i),E=g?this.state.isComplete:s,k=function(e){var t,n,r,i,o=e.icon,a=e.label,s=e.title,u=e.viewed;return p()(t=p()(n=p()(r=p()(i=[]).call(i,a||[])).call(r,s||[])).call(n,o||[])).call(t,u?"Viewed":"Not Viewed").join(", ")}({icon:_,label:f&&f.labeledGraphicMarkerLabel||"",title:v,viewed:E}),x=m()("labeled-graphic-marker",{"labeled-graphic-marker--active":u,"labeled-graphic-marker--dragged":this.state.isDragged,"labeled-graphic-marker--visible":c,"labeled-graphic-marker--complete":E}),S=m()("labeled-graphic-marker__pin",(e={},(0,o.Z)(e,"".concat(l,"--hover"),!u&&this.state.hovering),(0,o.Z)(e,"".concat(l,"--normal"),!u),(0,o.Z)(e,"".concat(l,"--selected"),u),e));return w.createElement("button",{"aria-expanded":a,"aria-label":k,"aria-controls":r,className:x,onClick:this.onClick,onContextMenu:this.onItemRelease.bind(this),onFocus:d,onKeyDown:(0,b.Ru)(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:h,type:"button"},w.createElement("span",{className:S},w.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;_.Z.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=p()(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)}}],[{key:"propTypes",get:function(){return{ariaControls:g().string,editable:g().bool,isActive:g().bool,isDragged:g().bool,isSelected:g().bool,markerClassName:g().string.isRequired,onClick:g().func,onLeave:g().func,onSetPosition:g().func,styles:g().shape({top:g().string,left:g().string}).isRequired,title:g().string}}}]),n}(w.Component)},1219:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(13535),i=n.n(r),o=n(73126),a=n(68420),s=n(27344),u=n(5281),c=n(90306),l=n(3020),d=n(3362),f=n(94184),p=n.n(f),h=n(50557),m=n.n(h),v=n(17919),g=n.n(v),y=n(46376),b=n.n(y),_=n(40486),w=n.n(_),E=n(24234),k=n.n(E),x=n(52478),S=n.n(x),T=n(69532),C=n(26624),N=n(67294);function O(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var A="page-wrap--noscroll",P=function(e){(0,c.Z)(n,e);var t=O(n);function n(e){var r;return(0,a.Z)(this,n),(r=t.call(this,e)).state={imageLoaded:!1},r.closeOpenedBubble=r.closeOpenedBubble.bind((0,u.Z)(r)),r.handleDocumentClick=r.handleDocumentClick.bind((0,u.Z)(r)),r.handleMarkerClick=r.handleMarkerClick.bind((0,u.Z)(r)),r.onItemSelected=r.onItemSelected.bind((0,u.Z)(r)),r.onNextClick=r.onNextClick.bind((0,u.Z)(r)),r.onPreviousClick=r.onPreviousClick.bind((0,u.Z)(r)),r.setImageLoaded=r.setImageLoaded.bind((0,u.Z)(r)),r}return(0,s.Z)(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,a=t.settings,s=(void 0===a?{}:a).mediaWidth,u=void 0===s?"2":s,c=n?r[0].id:this.state.selectedItemId,l=p()("view-labeled-graphic",{"view-labeled-graphic--small":"0"===u,"view-labeled-graphic--medium":"1"===u,"view-labeled-graphic--full":"2"===u});return N.createElement("div",{"aria-label":"Labeled Graphic",className:l,role:"group"},N.createElement(C.Z,(0,o.Z)({},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:c})))}},{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?(0,T.xR)(t):r;o.src=a,o.onload=function(){clearTimeout(i),e.setImageLoaded()}}},{key:"getCanvasClassNames",value:function(){return p()("labeled-graphic-canvas",{"labeled-graphic-canvas--visible":this.state.imageLoaded})}},{key:"onNextClick",value:function(e){var t=this.props.items,n=S()("id",t[w()(e)]||t[0]);this.onItemSelected(n)}},{key:"onPreviousClick",value:function(e){var t=this.props.items,n=S()("id",t[g()(e)]||t[g()(k()(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),m()(o,b()((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(A)}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(A)}this.setState({selectedItemId:void 0})}}],[{key:"defaultProps",get:function(){return{onItemSelected:Function.prototype,onStep:Function.prototype}}}]),n}(N.Component)},68350:function(e,t,n){"use strict";var r=n(44845),i=n(30699),o=n.n(i),a=n(95238),s=n.n(a),u=n(67294),c=n(94184),l=n.n(c),d=n(50554),f=n(54405),p=n.n(f),h=n(42157),m=n.n(h),v=n(18231),g=n.n(v),y=n(61894),b=n.n(y),_=n(20780),w=n.n(_),E=n(69532),k=n(80396),x=n(64393),S=n(20956),T=p()("partner-content-book-info__"),C={track:S.j};t.Z=(0,d.$j)(null,C)((function(e){var t=e.authors,n=e.backgroundColor,i=e.bookImage,a=e.bookTitle,c=e.buyLink,d=e.block,f=e.publishedAt,p=e.track,h=e.trackingInfo,v=o()(t).call(t,(function(e){return!m()(e.name)})),y=b()((function(e){return e.name}),v),_=y.length>1?g()(" & ",y):y[0],S="s"===s()(_).call(_,-1)?"":"s",C=(0,k.jn)(n),N=l()((0,r.Z)({},T("book-image-block"),d&&!C),(0,r.Z)({},T("book-image-block")&&T("dark-theme-book-image"),d&&C),(0,r.Z)({},T("book-image-course"),!d)),O=T(d?"flex-block":"flex-course"),A=T(d?"image-container-block":"image-container-course"),P=l()(T("small-text"),(0,r.Z)({},T("dark-theme"),C)),L=l()(T("black-text"),(0,r.Z)({},T("dark-theme"),C)),I=l()(T("button"),(0,r.Z)({},T("dark-theme-button"),C)),M=(0,E.NY)({height:"210",width:"140",imageKey:i}),R=(0,u.useCallback)((function(){x.VO&&f&&p({event:"Click Tracked",payload:w()(h,{type:"Buy Link"})})}),[f,p,h]);return u.createElement("section",{className:O},u.createElement("h2",{className:"visually-hidden"},"Book Info"),u.createElement("div",{"aria-hidden":"true",className:A},i?u.createElement("img",{src:M,alt:"",className:N}):u.createElement("div",{className:N})),u.createElement("div",{className:T("text-container")},u.createElement("p",{className:P},"From ",_,"'",S),u.createElement("p",{className:L},a),u.createElement("a",{className:I,href:c,onClick:R,target:"_blank",rel:"noopener noreferrer"},"Buy the book")))}))},87637:function(e,t,n){"use strict";var r=n(44845),i=n(30699),o=n.n(i),a=n(50047),s=n.n(a),u=n(67294),c=n(54405),l=n.n(c),d=n(46376),f=n.n(d),p=n(416),h=n.n(p),m=n(62848),v=n.n(m),g=n(94184),y=n.n(g),b=n(69532),_=n(78892),w=l()("partner-content-course-author__");t.Z=function(e){var t,n=e.partnerContentAuthors,i=e.color,a=e.darkText,c=e.learn,l=e.lesson,d=e.selectedContentId,p=f()(v()("id",d),n),m=h()(["data","authors"],p),g=l?m:n,E=o()(g).call(g,(function(e){return e.name})),k=y()(w("author-container"),(0,r.Z)({},w("author-container-padding-top"),a)),x=y()((t={},(0,r.Z)(t,w("gray-text"),!c),(0,r.Z)(t,w("author--accent-light"),!(0,_.LI)(i)),t)),S=function(e){return"url(".concat((0,b.NY)({width:"76",height:"76",imageKey:e.image}),")")};return u.createElement("section",null,u.createElement("h2",{className:"visually-hidden"},"Authors"),u.createElement("ol",{className:k,role:"list"},s()(E).call(E,(function(e){return u.createElement("li",{key:e.name,className:w("author"),role:"listitem"},u.createElement("div",{"aria-hidden":"true",className:w("author-image"),style:{backgroundImage:S(e)}}),u.createElement("span",{className:x},e.name))}))))}},58519:function(e,t,n){"use strict";var r=n(30699),i=n.n(r),o=n(50047),a=n.n(o),s=n(67294),u=n(54405),c=n.n(u),l=n(94184),d=n.n(l),f=n(68350),p=n(32825),h=n(69532),m=c()("partner-content-author-card__");t.Z=function(e){var t=e.courseId,n=e.partnerContent,r=e.publishedAt,o=e.tenantId,u=n.data,c=n.type,l=u.authors,v=u.bookImage,g=u.bookTitle,y=u.buyLink,b=u.internalId,_=u.nbicLink,w=i()(l).call(l,(function(e){return e.name})),E={courseId:t,partnerContentId:n.id,partnerContentInternalId:b,tenantId:o,contentSubtype:c},k=d()(m("flex"),m("author-container")),x=function(e){return(0,h.NY)({width:"122",height:"122",imageKey:e})};return s.createElement("ol",{className:"partner-content-author-card",role:"list"},s.createElement("li",{role:"listitem"},s.createElement("section",null,s.createElement("h2",{className:"visually-hidden"},"Authors"),a()(w).call(w,(function(e){return s.createElement("li",{key:e.name,className:k},function(e,t){return s.createElement("div",{"aria-hidden":"true",className:m("image-container")},e?s.createElement("img",{src:x(e),alt:t,className:m("author-image")}):s.createElement("div",{className:m("author-image")}))}(e.image,e.name),s.createElement("p",{className:m("author-name-text")},e.name))})))),s.createElement("li",{role:"listitem"},s.createElement(f.Z,{authors:l,bookImage:v,bookTitle:g,buyLink:y,publishedAt:r,trackingInfo:E})),s.createElement("li",{role:"listitem"},s.createElement(p.Z,{link:_,publishedAt:r,trackingInfo:E})))}},32825:function(e,t,n){"use strict";var r=n(44845),i=n(67294),o=n(94184),a=n.n(o),s=n(54405),u=n.n(s),c=n(20780),l=n.n(c),d=n(50554),f=n(69532),p=n(80396),h=n(64393),m=n(20956),v=u()("partner-content-partner-info__"),g={track:m.j};t.Z=(0,d.$j)(null,g)((function(e){var t=e.backgroundColor,n=e.block,o=e.link,s=e.publishedAt,u=e.track,c=e.trackingInfo,d=n?(0,f.OD)():(0,f.gu)(),m=v(n?"nbic-logo-light-bulb":"nbic-logo"),g=v(n?"block-logo-container":"logo-container"),y=(0,p.jn)(t),b=a()(v("small-text"),(0,r.Z)({},v("dark-theme"),y)),_=a()(v("black-text"),(0,r.Z)({},v("dark-theme"),y)),w=a()(v("button"),(0,r.Z)({},v("dark-theme-button"),y)),E=(0,i.useCallback)((function(){h.VO&&s&&u({event:"Click Tracked",payload:l()(c,{type:"Partner Link"})})}),[s,u,c]);return i.createElement("section",{className:v("flex")},i.createElement("h2",{className:"visually-hidden"},"Partner Info"),i.createElement("div",{"aria-hidden":"true",className:g},i.createElement("img",{src:d,alt:"",className:m})),i.createElement("div",{className:v("text-container")},i.createElement("p",{className:b},"In partnership with"),i.createElement("p",{className:_},"Next Big Idea Club"),i.createElement("a",{className:w,href:o,onClick:E,rel:"noopener noreferrer",target:"_blank"},"Learn more")))}))},43735:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294),a=n(37176);t.Z=function(e){var t=e.canProceed,n=e.canSubmit,r=e.onNext,s=e.onSubmit,u=e.quizNext,c=e.quizSubmit,l=e.allowNext,d=void 0!==l&&l,f=!t||void 0,p=!(n&&!t)||void 0,h=(0,o.useRef)(),m=(0,a.Z)(t);(0,o.useEffect)((function(){d&&!m&&t&&setTimeout((function(){var e,t;null===(e=h.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e)}),0)}),[d,t,m]);var v=i()("quiz-card__actions",{"quiz-card__actions--proceed":t}),g=i()("quiz-card__button",{"brand--background":!p,"quiz-card__button--disabled":p}),y=i()("quiz-card__button","quiz-card__button--next","brand_ui",{"brand--background":t,"visually-hidden-always":!t});return o.createElement("div",{className:v},o.createElement("div",{className:"quiz-card__submit brand--ui"},o.createElement("button",{"aria-hidden":p,className:g,disabled:p,onClick:s,type:"button"},c)),o.createElement("br",{role:"presentation",className:"visually-hidden-always"}),d&&o.createElement("div",{className:"quiz-card__next brand--ui"},o.createElement("button",{"aria-hidden":f,className:y,disabled:f,onClick:r,ref:h,type:"button"},u)))}},42111:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294),a=function(e){var t=e.isActive,n=e.isComplete;return i()("quiz-card",{"quiz-card--active":t,"quiz-card--done":n})};t.Z=function(e){var t=e.children,n=e.isActive,r=e.isComplete;return o.createElement("div",{"aria-hidden":!n||void 0,className:a({isActive:n,isComplete:r})},o.createElement("div",{className:"quiz-card__container"},o.createElement("div",{className:"quiz-card__row"},o.createElement("div",{className:"quiz-card__main"},t))))}},90816:function(e,t,n){"use strict";var r=n(67294),i=n(94184),o=n.n(i),a=n(27028),s=n(22302),u=n(65194),c=n(37176),l=n(28192);t.Z=function(e){var t=e.canProceed,n=e.feedbackGroup,i=e.feedbackRef,d=e.feedbackValue,f=e.hasFeedback,p=e.isActive,h=e.isComplete,m=e.isCorrect,v=e.item,g=e.quizCorrect,y=e.quizIncorrect,b=e.selection,_=(0,l.j9)(),w=_.announcePolite,E=_.clearAnnouncements,k=(0,c.Z)(t),x=m?g:y,S=(0,r.useCallback)((function(){var e=(0,s.Z)({isComplete:h,item:v,selection:b}),t=d?(0,u.Vt)(d):"";w(x+". "+e+" "+t)}),[w,d,h,v,x,b]);(0,r.useLayoutEffect)((function(){!k&&t&&setTimeout(S,0)}),[t,k,S]),(0,r.useEffect)((function(){return E}),[E]);var T=o()("quiz-card__feedback",{"quiz-card__feedback--active":t,"quiz-card__feedback--frame":f}),C=o()("quiz-card__feedback-icon",{"quiz-card__feedback-icon--correct brand--color":m});return r.createElement(r.Fragment,null,r.createElement("div",{className:T,"aria-hidden":!p||void 0,ref:i},r.createElement("div",{className:"quiz-card__main--feedback"},r.createElement("div",{"aria-label":n,className:"quiz-card__feedback-wrap",role:"group"},r.createElement("div",{className:C},r.createElement("i",{"aria-hidden":"true",className:m?"icon icon-Master-05":"icon icon-Master-06"})),r.createElement("div",{className:"quiz-card__feedback-label brand--head"},x),r.createElement("div",null,r.createElement(a.Z,{allowTabNavigation:h&&p,className:"quiz-card__feedback-text brand--body brand--linkColor",value:d}))))))}},22302:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(30699),i=n.n(r),o=n(50047),a=n.n(o),s=n(98882),u=n.n(s),c=n(44721),l=n.n(c),d=n(77897),f=n(41148),p=n(65194),h=f.ZP.FILL_IN_THE_BLANK,m=f.ZP.MATCHING,v=f.ZP.MULTIPLE_CHOICE,g=f.ZP.MULTIPLE_RESPONSE,y="Correct answer";function b(e){var t,n=e.answers;return i()(t=a()(n).call(n,(function(e){return null==e?void 0:e.title}))).call(t,Boolean).join(", ")}function _(e){var t,n=e.answers,r=e.correct,i=null!=r?(0,d.propEq)("id",r):(0,d.propEq)("correct",!0);return null===(t=u()(n).call(n,i))||void 0===t?void 0:t.title}function w(e){var t,n=e.answers,r=e.selection;return null==n||null===(t=n[r])||void 0===t?void 0:t.title}function E(e,t){return i()(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 k(e){var t=e.corrects;return E((function(e){var n;return Array.isArray(t)?null===(n=l()(t))||void 0===n?void 0:n.call(t,e.id):e.correct}),e.answers)}function x(e){var t=e.answers,n=e.selection;return E((function(e,t){return l()(n).call(n,t)}),t)}function S(e){var t=e.correctAnswer,n=e.selectedAnswer,r=e.correctLabel;return t&&n?(void 0===r?y:r)+": "+(0,p.Vt)(t)+". "+"Your answer: "+(0,p.Vt)(n)+".":null}function T(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:[],s=null==r?void 0:r.correct,u=null==r?void 0:r.corrects;switch(r.type){case m:return function(e){var t=e.answers,n=e.selection,r=(0,d.invertObj)(n);return a()(t).call(t,(function(e,n){var i,o,a,s,u=null!==(i=null==e?void 0:e.title)&&void 0!==i?i:"",c=null!==(o=null==e?void 0:e.matchTitle)&&void 0!==o?o:"",l=null==r?void 0:r[n];return"Match Item: "+c+". Correct answer: "+u+". Your answer: "+(null!==(a=null==t||null===(s=t[l])||void 0===s?void 0:s.title)&&void 0!==a?a:"")+"."})).join(" ")}({answers:o,selection:i});case h:return S({correctAnswer:b({answers:o}),selectedAnswer:i,correctLabel:"Acceptable responses"});case v:return S({correctAnswer:_({answers:o,correct:s}),selectedAnswer:w({answers:o,selection:i})});case g:return S({correctAnswer:k({corrects:u,answers:o}),selectedAnswer:x({answers:o,selection:i})})}return null}},51155:function(e,t,n){"use strict";var r=n(94184),i=n.n(r),o=n(67294),a=function(e){var t=e.hasNoBorder,n=e.type;return i()("quiz-card__interactive",{"quiz-card__interactive--no-border":t,"quiz-card__interactive--fill":"FILL_IN_THE_BLANK"===n})};t.Z=function(e){var t=e.children,n=e.hasNoBorder,r=e.type;return o.createElement("div",{className:a({hasNoBorder:n,type:r})},t)}},27879:function(e,t,n){"use strict";var r=n(30269),i=n.n(r),o=n(46164),a=n.n(o),s=n(69879),u=n.n(s),c=n(74646),l=n.n(c),d=n(54782),f=n.n(d),p=n(59673),h=n(46412),m=n(58599),v=n(67294),g=i()(l()(["tmp"]),f()({},["media"])),y=u()(g,h.s_),b=a()(y,h.s_),_=(0,p.Z)(b,(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 v.createElement("div",{className:"quiz-card__media"},v.createElement(m.Z,{allowTabNavigation:t,blockId:n,enableVideoPlaybackSpeed:r,index:i,labels:o,media:a,opts:s}))}));t.Z=_},56539:function(e,t,n){"use strict";n.d(t,{Z:function(){return _n}});var r=n(13535),i=n.n(r),o=n(89356),a=n.n(o),s=n(63263),u=n.n(s),c=n(30699),l=n.n(c),d=n(58377),f=n.n(d),p=n(13038),h=n.n(p),m=n(44845),v=n(68420),g=n(27344),y=n(90306),b=n(3020),_=n(3362),w=n(95238),E=n.n(w),k=n(50047),x=n.n(k),S=n(94184),T=n.n(S),C=n(54782),N=n.n(C),O=n(15713),A=n(83728),P=n(86302),L=n(88066),I=n.n(L),M=n(54115),R=n.n(M),D=n(7772),j=n.n(D),Z=n(92373),B=n.n(Z),F=n(37990),U=n.n(F),q=n(99993),z=n.n(q),H=n(50557),V=n.n(H),W=n(17794),Y=n.n(W),G=n(61949),K=n.n(G),$=n(32207),X=n.n($),J=n(51481),Q=n.n(J),ee=n(22624),te=n.n(ee),ne=n(68621),re=n.n(ne),ie=n(51383),oe=n.n(ie),ae=n(46376),se=n.n(ae),ue=n(53523),ce=n.n(ue),le=n(9134),de=n.n(le),fe=n(9730),pe=n.n(fe),he=n(15636),me=n.n(he),ve=n(69105),ge=n.n(ve),ye=n(23710),be=n.n(ye),_e=n(13594),we=n.n(_e),Ee=n(61894),ke=n.n(Ee),xe=n(20780),Se=n.n(xe),Te=n(4549),Ce=n.n(Te),Ne=n(22184),Oe=n.n(Ne),Ae=n(144),Pe=n.n(Ae),Le=n(4603),Ie=n.n(Le),Me=n(52478),Re=n.n(Me),De=n(62848),je=n.n(De),Ze=n(53176),Be=n.n(Ze),Fe=n(69983),Ue=n.n(Fe),qe=n(36218),ze=n.n(qe),He=n(68959),Ve=n.n(He),We=n(53007),Ye=n.n(We),Ge=n(43656),Ke=n.n(Ge),$e=n(8240),Xe=n.n($e),Je=n(67031),Qe=n.n(Je),et=n(33411),tt=n.n(et),nt=n(47176),rt=n.n(nt),it=n(42159),ot=n(31826),at=n(60818),st=n(41148);function ut(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=l()(r).call(r,(function(t){return f()(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):h()?Object.defineProperties(e,h()(n)):ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,f()(n,t))}))}return e}var lt=V()(Qe(),Xe()),dt=N()(!1,["settings","isCaseSensitive"]),ft=function(e){return be()(R()(dt(e)),Qe(),lt)},pt=function(e){var t=e.item,n=e.itemProgress;return Re()("text",n)&&function(e){var t=e.item,n=e.itemProgress;return(0,ot.qT)(t,Be()([],"answers"),ke()(V()(ft(t),Re()("title"))),K()((0,ot.g8)(ft(t),Re()("text"),n)))}({item:t,itemProgress:n})},ht=function(e){var t,n,r,i=e.item,o=e.itemProgress;return Q()(Re()("selectedIndex",o),(n=(t=i).answers,r=t.correct,ce()(je()("id",r),n)))},mt=j()(ge()),vt=de()(ce()),gt=function(e){var t,n=e.item,r=e.itemProgress;return Q()((t=r,ze()(mt,Be()([],"selectedIndices",t))),function(e){return(0,ot.qT)(e,Be()([],"corrects"),ke()(V()(vt(Be()([],"answers",e)),je()("id"))),oe()(we()(0)),ze()(mt))}(n))},yt=function(e){return(0,ot.qT)(e,V()(it.wd,Be()([],"answers")),Pe()("matchIndices"),U()("titleIndices",V()(Ue(),Re()("matchIndices"))),Se()(e))},bt=N()(!1,["settings","shuffleAnswerChoices"]),_t=function(e){return Y()([[je()("type",st.ZP.MATCHING),yt],[function(){return bt(e)},te()({answers:Ue()})],[Ye(),ge()]])},wt=U()("items",(function(e){var t=e.items,n=(e.progress||{}).items,r=V()(String,Re()("id")),i=(0,it.P4)(n,Re()("isComplete")),o=(0,it.Z)(r,i)(t),a=V()(Oe(),Re()("isComplete")),s=(0,it.P4)(n,a),u=(0,it.Z)(r,s)(t);return I()(o).call(o,Ue()(u))})),Et=X()((function(e){return re()(function(e){return V()(pe()(se(),e),je()("id"),Re()("id"))}(e),ge())})),kt=Ie()(z()(Re()("answers"),Re()("answers")),Ce()(X()((function(e){return ke()(function(e){return V()(Ce()(B()),Et(e))}(e))}))),Pe()("answers")),xt=pe()((function(e){return ke()((t=e,Ie()(Et(t),re()(kt,Ce()(B())),Ce()(B()))));var t})),St=oe()(je()("drawn",!0)),Tt=ce()(je()("type",st.ZP.DRAW_FROM_QUESTION_BANK)),Ct=function(e){return function(t,n,r){var i=n.id,o=e.originalItemProgress,a={};o&&(a=o[r]||{});var s=V()(se()(je()("index",r)),tt())(e.items);return t[i]=ct(ct(ct({},a),s),{},{id:i,index:r}),t}},Nt=function(e){var t=e.questionIndexList,n=e.items,r=e.progress;return ct(ct({},r),{},{questionsDrawn:!0,questionList:t,items:n.reduce(Ct(r),{})})},Ot=function(e){for(var t=e.id,n=e.items,r=e.progress,i=e.updateProgress,o=(0,P.Z)(n),a=Tt(o),s=[],u=0,c=function(){for(var e,t=Ve()(a,o),n=(0,A.Z)(t,2),i=n[0],c=n[1],l=(0,O.Z)(c),d=l[0],f=E()(l).call(l,1),p=d.drawCount,h=d.questions,m=[],v=[],g=[];m.length<p;)if(r.questionsDrawn){var y=r.questionList[u];me()((function(e){var t,n=h[e];m.push(ct(ct({},n),{},{drawn:!0,id:I()(t="".concat(d.id,"-")).call(t,n.id)}))}),y),g.push.apply(g,(0,P.Z)(y))}else{var b,_=(0,at.qJ)({drawCount:p,questions:h,drawnQuestions:v});m.push(ct(ct({},_),{},{drawn:!0,id:I()(b="".concat(d.id,"-")).call(b,_.id)})),v.push(_.id),g.push(_.index)}o=I()(e=[]).call(e,(0,P.Z)(i),m,(0,P.Z)(f)),s.push(g),u++,a=Tt(o)};-1!==a;)c();var l=Nt({questionIndexList:s,items:o,progress:r});return i({id:t,currentLesson:t,type:"quiz",updateFn:function(){return l}}),{items:o,progress:l}},At=N()(!1,["settings","randomizeQuestionOrder"]),Pt=Ie()(rt()(At,wt),(function(e){return te()({items:ke()(_t(e))})(e)}),Re()("items")),Lt=n(5281),It=n(23018),Mt=n.n(It),Rt=n(54405),Dt=n.n(Rt),jt=n(40486),Zt=n.n(jt),Bt=n(90368),Ft=n.n(Bt),Ut=n(24234),qt=n.n(Ut),zt=n(45697),Ht=n.n(zt),Vt=n(67294),Wt=n(66261),Yt=n(88080),Gt=n(27028),Kt=n(46412),$t=n(96554),Xt=n(9110),Jt=n(56242);function Qt(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var en=st.ZP.FILL_IN_THE_BLANK,tn=st.ZP.MATCHING,nn=(st.ZP.MULTIPLE_CHOICE,st.ZP.MULTIPLE_RESPONSE),rn=(Yt.Z.ANY,Yt.Z.CHOICE),on=Yt.Z.CORRECT_INCORRECT,an=Dt()("quiz-item__"),sn=N()(0,["progress","activeIndex"]),un=V()(qt(),Ft(),Be()({},"matches")),cn=0,ln=1,dn=2,fn=function(e){(0,y.Z)(n,e);var t=Qt(n);function n(e){var r;return(0,v.Z)(this,n),(r=t.call(this,e)).getSelection=r.getSelection.bind((0,Lt.Z)(r)),r.onChoiceSelect=r.onChoiceSelect.bind((0,Lt.Z)(r)),r.onFillInChange=r.onFillInChange.bind((0,Lt.Z)(r)),r.onAnimationStart=r.onAnimate.bind((0,Lt.Z)(r),ln),r.onAnimationEnd=r.onAnimate.bind((0,Lt.Z)(r),dn),r.onMatchSet=r.onMatchSet.bind((0,Lt.Z)(r)),r.onNextClick=r.onNextClick.bind((0,Lt.Z)(r)),r.onResponseToggle=r.onResponseToggle.bind((0,Lt.Z)(r)),r.onSubmit=r.onSubmit.bind((0,Lt.Z)(r)),r.state={startTime:Date.now(),matches:{},animating:{}},r}return(0,g.Z)(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 en:return(0,Kt.EN)(Re()("text",t));case tn:return un(t)===qt()(Re()("answers",n));case nn:return V()(Mt()(Kt.EN,Kt.Dw),Re()("selectedIndices"))(t);default:return(0,Kt.EN)(Re()("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 rn:return N()("",[n,"feedback"],i);case on:return t?a:s;default:return o}}},{key:"getIndex",value:function(){return this.props.hasStart?Zt()(this.props.index):this.props.index}},{key:"getIsComplete",value:function(e){var t=e.itemProgress;return Be()(!1,"isComplete",t)}},{key:"getIsDoneCard",value:function(){return this.getIndex()<sn(this.props)}},{key:"getIsCorrect",value:function(e){var t=e.itemProgress,n=this.props.item;switch(n.type){case en:return pt({item:n,itemProgress:t});case tn:return function(e){var t=e.itemProgress;return(0,it.yV)(Be()({},"matches",t))}({itemProgress:t});case nn:return function(e){var t=e.item,n=e.itemProgress;return Re()("selectedIndices",n)&&gt({item:t,itemProgress:n})}({item:n,itemProgress:t});default:return ht({item:n,itemProgress:t})}}},{key:"getItemProgress",value:function(e){var t=e.props;return N()({},["items",t.item.id],t.progress)}},{key:"getSelection",value:function(e){var t=e.itemProgress;switch(this.props.item.type){case en:return t.text;case tn:return t.matches;case nn:return t.selectedIndices;default:return t.selectedIndex}}},{key:"hasNoBorder",value:function(){return K()(this.props.item.type,[en,tn])}},{key:"isNewlyActive",value:function(e){var t=e.prevProps,n=sn(this.props),r=sn(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=sn(this.props),u=i||3;$t.Z.pause(),Wt.zW.scrollEvent.register("end",(function(){Wt.zW.scrollEvent.remove("end"),e(t),a({activeIndex:Zt()(s),id:r})})),Wt.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,c=o.retryAttempts,l=o.settings,d=o.submitAction,f=o.title,p=t.state.startTime,h=s.id,m=l.passingScore,v=l.revealAnswers,g=l.passToContinue,y={startTime:p,stopTime:Date.now()},b=Be()(-1,"retryCount",l),_=parseInt(b,10),w=parseInt(c,10),E=Q()(_,w);u({duration:y,id:a,isCorrect:r,item:s,itemProgress:i,retryAttempts:c,title:f});var k={finalRetryAttempt:E,id:a,isCorrect:r,itemId:h,passingScore:m,passToContinue:g,revealAnswers:v};if(v===st.Oi.ALL||v===st.Oi.INCORRECT)return d(k);t.onNextClick(d,k)}}}},{key:"onAnimate",value:function(e){var t=this;this.setState({animating:e},(function(){e===dn&&t.setState({animating:cn})}))}},{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===sn(this.props),r=this.getItemProgress({props:this.props}),i=this.getIsComplete({itemProgress:r}),o=this.getIsDoneCard(),a=T()(e(t),{"animation--start":o&&this.state.animating===ln,"animation--end":o&&this.state.animating===dn}),s=o?this.onAnimationStart:void 0,u=o?this.onAnimationEnd:void 0;return Vt.createElement("div",{className:a,onAnimationStart:s,onAnimationEnd:u},Vt.createElement("div",{className:an("card-wrap")},Vt.createElement(Xt.Zb,{isActive:n,isComplete:i},Vt.createElement("div",{style:n||i?void 0:{display:"none"}},this.renderItem()))))}},{key:"renderDefault",value:function(){return Vt.createElement("div",{className:an("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,c=t.progress,l=t.settings,d=t.showNextButton,f=s.feedbackGroup,p=s.quizAcceptableResponses,h=s.quizAnswerPlaceholder,m=s.quizCorrect,v=s.quizIncorrect,g=s.quizNext,y=s.quizRestart,b=s.quizQuestion,_=s.quizSubmit,w=o.id,E=o.media,k=o.title,x=l.revealAnswers,S=void 0===x?st.Oi.NONE:x,C=this.getIndex(),N=C===sn(this.props),O=this.getItemProgress({props:this.props}),A=this.getIsComplete({itemProgress:O}),P=this.getIsCorrect({itemProgress:O}),L=S==st.Oi.ALL||S==st.Oi.INCORRECT,I=N&&A&&L,M=N&&!A&&this.getCanSubmit({itemProgress:O}),R=this.onSubmit({canSubmit:M,isCorrect:P,itemProgress:O}),D=Re()("selectedIndex",O),j=this.getFeedback({isCorrect:P,selectedIndex:D}),Z="q-".concat(w),B=this.getSelection({itemProgress:O}),F=T()("quiz-card__retake-container",{"quiz-card__retake-container--active":A}),U=T()("quiz-card__retake","brand--hoverColor",{"quiz-card__retake--active":A});return Vt.createElement(Vt.Fragment,null,Vt.createElement(Xt.h8,{isActive:N,num:r?C:C+1,quizQuestion:b,total:qt()(a)}),Vt.createElement(Xt.Dx,{allowTabNavigation:N,id:Z,value:k}),Vt.createElement(Xt.pU,{allowTabNavigation:N,enableVideoPlaybackSpeed:n,index:String(C),labels:s,media:E,opts:l}),Vt.createElement(Xt.U4,{hasNoBorder:this.hasNoBorder()},this.renderType({canSubmit:M,isActive:N,isComplete:A,isCorrect:P,itemProgress:O,onSubmit:R,revealAnswers:S,questionHtmlId:Z,quizAcceptableResponses:p,quizAnswerPlaceholder:h})),Vt.createElement(Xt.x2,{canProceed:I,feedbackGroup:f,feedbackRef:function(t){e.feedback=t},feedbackValue:j,hasFeedback:!!j,isActive:N,isComplete:A,isCorrect:P,item:o,progress:O,quizCorrect:m,quizIncorrect:v,selection:B}),Vt.createElement(Xt.eX,{allowNext:!u,canProceed:I,canSubmit:M,item:o,onNext:d?this.onNextFeedbackClick.bind(this,N):null,onSubmit:R,quizNext:100===c.percentComplete&&i?y:g,quizSubmit:_}),u&&Vt.createElement("div",{className:F},Vt.createElement("button",{className:U,onClick:u,type:"button"},Vt.createElement("div",{className:"quiz-card__retake-content"},Vt.createElement("div",{className:"quiz-card__retake-text brand--ui"},"TAKE AGAIN"),Vt.createElement("i",{className:"quiz-card__retake-icon icon icon-reload"})))))}},{key:"renderMCOptionText",value:function(e,t){var n=t.title;return Vt.createElement(Gt.Z,{allowTabNavigation:e,className:"quiz-multiple-choice-option__label brand--body",value:n})}},{key:"renderMROptionText",value:function(e,t){var n=t.title;return Vt.createElement(Gt.Z,{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,c=e.quizAcceptableResponses,l=e.quizAnswerPlaceholder,d=this.props,f=d.color,p=d.item,h=d.prefersKeyboardNavigation,m=p.answers,v=p.correct,g=p.corrects,y=p.matchIndices,b=p.titleIndices,_=n&&!r;switch(p.type){case en:return Vt.createElement(Jt.MV,{allowTabNavigation:n,isComplete:r,isCorrect:i,onChange:this.onFillInChange,onEnterToSubmit:a,options:m,revealAnswers:s,questionHtmlId:u,quizAcceptableResponses:c,quizAnswerPlaceholder:l,value:Be()("","text",o)});case tn:return Vt.createElement(Jt.ri,{allowTabNavigation:_,answers:m,canSubmit:t,isActive:n,isComplete:r,matches:Be()({},"matches",o),matchIndices:y,onEnterToSubmit:a,onMatch:this.onMatchSet,prefersKeyboardNavigation:h,revealAnswers:s,titleIndices:b});case nn:return Vt.createElement(Jt.YK,{allowTabNavigation:n,correctIds:g,isComplete:r,isCorrect:i,onChange:this.onResponseToggle,onEnterToSubmit:a,options:m,prefersKeyboardNavigation:h,renderOptionText:this.renderMROptionText.bind(this,n),revealAnswers:s,selectedIndices:Re()("selectedIndices",o)});default:return Vt.createElement(Jt.mZ,{allowTabNavigation:_,color:f,correctId:v,isComplete:r,isCorrect:i,onChange:this.onChoiceSelect,onEnterToSubmit:a,options:m,prefersKeyboardNavigation:h,questionHtmlId:u,renderOptionText:this.renderMCOptionText.bind(this,n),revealAnswers:s,selectedIndex:Re()("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?st.Oi.NONE:o;if(this.getIndex()===sn(this.props)&&a!==st.Oi.NONE){var s=this.getItemProgress({props:n}),u=this.getIsComplete({itemProgress:s}),c=this.getItemProgress({props:this.props}),l=this.getIsComplete({itemProgress:c});!u&&l&&setTimeout((function(){var e=t.feedback,n=e.offsetHeight+e.offsetTop;Wt.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;Wt.ZP.animateScroll.scrollTo(r,{containerId:n||"page-wrap",smooth:!0})}}],[{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:Ht().bool,getClassName:Ht().func,hasStart:Ht().bool,id:Ht().string.isRequired,index:Ht().number,item:Ht().object.isRequired,items:Ht().arrayOf(Ht().object),labels:Ht().object,onChoiceSelect:Ht().func,onFillInChange:Ht().func,onMatchSet:Ht().func,onResponseToggle:Ht().func,prefersKeyboardNavigation:Ht().bool,progress:Ht().object,quizTop:Ht().number,reportAnswer:Ht().func,retryAttempts:Ht().number,scrollId:Ht().string,setNextIndex:Ht().func,settings:Ht().object,showNextButton:Ht().bool,submitAction:Ht().func,title:Ht().string.isRequired}}},{key:"defaultProps",get:function(){return{getClassName:function(){},labels:{},onChoiceSelect:function(){},onFillInChange:function(){},onMatchSet:function(){},onResponseToggle:function(){},reportAnswer:function(){},retryAttempts:0,setNextIndex:function(){},settings:{revealAnswers:st.Oi.ALL},showNextButton:!0,submitAction:function(){return[]}}}}]),n}(Vt.Component),pn=n(67294);function hn(e,t){var n=a()(e);if(u()){var r=u()(e);t&&(r=l()(r).call(r,(function(t){return f()(e,t).enumerable}))),n.push.apply(n,r)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(Object(n),!0).forEach((function(t){(0,m.Z)(e,t,n[t])})):h()?Object.defineProperties(e,h()(n)):hn(Object(n)).forEach((function(t){Object.defineProperty(e,t,f()(n,t))}))}return e}function vn(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,_.Z)(e);if(t){var o=(0,_.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,b.Z)(this,n)}}var gn=N()(0,["progress","activeIndex"]),yn=function(e){return function(t){return T()("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})}},bn=N()(0,["progress","retryAttempts"]),_n=function(e){(0,y.Z)(n,e);var t=vn(n);function n(e){var r;(0,v.Z)(this,n),r=t.call(this,e);var i=e.updateProgress,o=Ot(mn(mn({},e),{},{updateProgress:i})),a=mn(mn({},e),o);return r.state={items:Pt(a),progress:a.progress},r}return(0,g.Z)(n,[{key:"componentWillReceiveProps",value:function(e){var t=this.props.updateProgress;if(bn(this.props)!==bn(e)){var n=Ot(mn(mn({},e),{},{updateProgress:t})),r=mn(mn({},e),n);this.setState({items:Pt(r),progress:r.progress})}else{var i=function(e){for(var t=e.items,n=e.currentItems,r=e.progress,i=(0,P.Z)(t),o=Tt(i);-1!==o;){var a,s=Ve()(o,i),u=(0,A.Z)(s,2),c=u[0],l=u[1],d=Ke()(l),f=St(n);i=I()(a=[]).call(a,(0,P.Z)(c),(0,P.Z)(f),(0,P.Z)(d)),o=Tt(i)}return{items:i,progress:Nt({items:i,progress:r})}}(mn(mn({},e),{},{currentItems:this.state.items})),o=i.items,a=i.progress,s=xt(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=gn(this.state),a=function(e){return{start:e<2?0:e-2,end:e+2}}(o),s=a.start,u=a.end,c=E()(i).call(i,s,u);return pn.createElement("section",{"aria-label":t,className:"quiz","data-quiz":!0},pn.createElement("div",{className:"quiz__wrap"},r&&o<2?this.renderStart():null,x()(c).call(c,this.renderItem.bind(this,s)),n&&this.renderEnd()))}},{key:"renderEnd",value:function(){var e=this.props.quizEnd,t=this.state.items,n=gn(this.state),r=yn(n),i=t.length+1;return pn.createElement("div",{className:r(i)},pn.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,c=r.reportAnswer,l=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,E=this.state.items,k=gn(this.state),x=yn(k);return pn.createElement(fn,{color:i,enableVideoPlaybackSpeed:o,getClassName:x,hasStart:!!b,id:a,index:n+e,isCard:!0,isQuestionBankQuiz:s,item:t,items:E,key:"item-".concat(t.id),labels:u,onChoiceSelect:l,onFillInChange:d,onMatchSet:f,onResponseToggle:p,prefersKeyboardNavigation:g,progress:y,quizTop:v?73:void 0,reportAnswer:c,retryAttempts:bn({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=gn(this.state),r=yn(n);return pn.createElement("div",{className:r(0)},pn.createElement("div",{className:"quiz__item-wrap"},e(t)))}}],[{key:"defaultProps",get:function(){return{updateProgress:ot.ZT}}}]),n}(pn.Component)},20003:function(e,t,n){"use strict";var r=n(88066),i=n.n(r),o=n(67294),a=n(67e3),s=n(23301),u=n(32542);t.Z=function(e){var t,n,r=e.isActive,c=e.num,l=e.total,d=e.quizQuestion,f=(0,o.useRef)();return(0,a.Z)(f.current,r),o.createElement("div",{className:"quiz-card__number"},o.createElement("h1",{className:"visually-hidden-always",ref:f,tabIndex:u.mR},i()(t="Question ".concat(c," of ")).call(t,l)),o.createElement("div",{"aria-hidden":"true",className:"quiz-card__step-label brand--body"},d),o.createElement("div",{"aria-hidden":"true",className:"quiz-card__counter brand--color brand--ui"},i()(n="".concat((0,s.li)(c),"/")).call(n,(0,s.li)(l))))}},30649:function(e,t,n){"use strict";var r=n(27028),i=n(67294);t.Z=function(e){var t=e.allowTabNavigation,n=e.id,o=e.value;return i.createElement(r.Z,{allowTabNavigation:t,className:"quiz-card__title brand--body brand--linkColor",id:n,value:o})}},9110:function(e,t,n){"use strict";n.d(t,{Dx:function(){return c.Z},U4:function(){return a.Z},Zb:function(){return i.Z},eX:function(){return r.Z},h8:function(){return u.Z},pU:function(){return s.Z},x2:function(){return o.Z}});var r=n(43735),i=n(42111),o=n(90816),a=n(51155),s=n(27879),u=n(20003),c=n(30649)},4782:function(e,t,n){"use strict";var r=n(83728),i=n(88066),o=n.n(i),a=n(67294),s=n(50557),u=n.n(s),c=n(94184),l=n.n(c),d=n(18231),f=n.n(d),p=n(61894),h=n.n(p),m=n(53176),v=n.n(m),g=n(67031),y=n.n(g),b=n(73955),_=n.n(b),w=n(29891),E=n(32542),k=n(31826),x=n(12868),S=n(41148),T=function(e){var t,n,i=e.allowTabNavigation,s=e.isComplete,u=e.isCorrect,c=e.onChange,d=e.onEnterToSubmit,f=e.options,p=e.questionHtmlId,h=e.quizAcceptableResponses,m=e.quizAnswerPlaceholder,v=e.revealAnswers,g=e.value,y=(0,a.useRef)(),b=(0,a.useState)((function(){return _()("fitb-")})),k=(0,r.Z)(b,1)[0],T="".concat(k,"-feedback"),N="".concat(k,"-acceptable"),O="".concat(k,"-input"),A=s?o()(t="".concat(T," ")).call(t,N):void 0,P=s?void 0:m,L=i?0:E.mR,I=v===S.Oi.ALL||v===S.Oi.INCORRECT,M=v===S.Oi.ALL||u&&v===S.Oi.INCORRECT,R=l()("quiz-fill__icon",{"quiz-fill__icon--visible":s}),D=l()("quiz-fill__options",{"quiz-fill__options--visible":s}),j=(0,a.useCallback)((function(e){c(e.currentTarget.value)}),[c]),Z=(0,a.useCallback)((function(e){(0,x.r$)(e)&&(e.preventDefault(),d(e))}),[d]),B=s?void 0:j,F=s?void 0:Z;return a.createElement("div",{className:"quiz-fill"},a.createElement("div",{className:"quiz-fill__container"},a.createElement("input",{"aria-labelledby":p,"aria-describedby":A,"aria-hidden":!i,"aria-readonly":s,autoComplete:"off",className:"quiz-fill__input brand--body ignore-prefers",id:O,onChange:B,onKeyDown:F,placeholder:P,readOnly:s,ref:y,tabIndex:L,type:"text",value:g}),I&&a.createElement("div",{className:R,id:T},u&&a.createElement(w.iL,{"aria-label":"Correct",className:"brand--fill"}),!u&&a.createElement(w.yt,{"aria-label":"Incorrect"}))),M&&s&&a.createElement("div",{className:D,id:N},o()(n="".concat(h,": ")).call(n,C(f))))};T.defaultProps={onChange:k.ZT,onEnterToSubmit:k.ZT};var C=u()(f()(", "),h()(u()(y(),v()("","title"))));t.Z=T},16777:function(e,t,n){"use strict";n.d(t,{ZP:function(){return ve}});var r=n(13535),i=n.n(r),o=n(73126),a=n(68420),s=n(27344),u=n(5281),c=n(90306),l=n(3020),d=n(3362),f=n(45582),p=n.n(f),h=n(22626),m=n.n(h),v=n(89576),g=n.n(v),y=n(94184),b=n.n(y),_=n(50557),w=n.n(_),E=n(17794),k=n.n(E),x=n(51481),S=n.n(x),T=n(84585),C=n.n(T),N=n(34226),O=n.n(N),A=n(77414),P=n.n(A),L=n(40486),I=n.n(L),M=n(73411),R=n.n(M),D=n(42157),j=n.n(D),Z=n(61894),B=n.n(Z),F=n(22184),U=n.n(F),q=n(416),z=n.n(q),H=n(20793),V=n.n(H),W=n(98313),Y=n.n(W),G=n(76290),K=n.n(G),$=n(89830),X=n(60210),J=n(46412),Q=n(40198),ee=n(42159),te=n(46130),ne=n(41148),re=n(23493),ie=n.n(re),oe=n(22727),ae=n(32542),se=n(12868),ue=n(29891),ce=n(67294);function le(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var de=p()(B()),fe=w()(U(),j()),pe=C()("title"),he=function(e){(0,c.Z)(n,e);var t=le(n);function n(e){var r;return(0,a.Z)(this,n),(r=t.call(this,e)).state={isDragging:!1},r.setDrag=r.setDrag.bind((0,u.Z)(r)),r}return(0,s.Z)(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,c=t.nextIndex,l=t.onDragEnd,d=t.onDragStart,f=t.onKeyDown,p=t.prefersKeyboardNavigation,h=t.prevIndex,m=t.text,v=t.willBeReplaced,g=r&&n,y=Ee({isMatched:s,prefersKeyboardNavigation:p,willBeReplaced:v});return ce.createElement(oe.W3,{className:this.state.isDragging?"".concat(y," dragging"):y,component:"li",onKeyDown:f,style:{height:u}},ce.createElement(Q.Z,{key:i},ce.createElement(X._,{childRef:function(t){e.listItem=t},isEnabled:o,key:i,nextIndex:c,onDragEnd:l,onDragStart:d,prevIndex:h,setDrag:this.setDrag},ce.createElement("div",{className:"quiz-match__item-wrapper","aria-hidden":!g,tabIndex:(0,ae._6)(g)},ce.createElement(ge,{className:be({isKeySelected:a})}),ce.createElement("div",{className:"quiz-match__item-content"},ce.createElement(ue.bt,{className:"quiz-match__item-sortable"}),ce.createElement(ue.RD,{className:"quiz-match__item-sortable--dots"}),ce.createElement("span",{"data-match-content":!0},m))))))}}]),n}(ce.Component),me=function(e){(0,c.Z)(n,e);var t=le(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(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,c=t.onKeyUp,l=t.onEnter,d=t.onLeave,f=t.prefersKeyboardNavigation,p=t.text,h=r&&!n;return ce.createElement(X.r,{activeClassName:"quiz-match__item--active",childRef:function(t){e.listItem=t},isEnabled:o,key:i,onDrop:s,onEnter:l,onLeave:d},ce.createElement("li",{"aria-hidden":!h,className:ke({prefersKeyboardNavigation:f}),onKeyDown:u,onKeyUp:c,style:{height:a},tabIndex:(0,ae._6)(h)},ce.createElement(ye,{className:_e({isSelectable:!n})}),ce.createElement("div",{className:"quiz-match__item-content"},ce.createElement("span",{"data-match-content":!0},p))))}}]),n}(ce.Component),ve=function(e){(0,c.Z)(n,e);var t=le(n);function n(e){var r;return(0,a.Z)(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=ie()(r.handleResize.bind((0,u.Z)(r)),100),r.handleCancelKeyDrop=r.handleCancelKeyDrop.bind((0,u.Z)(r)),r.handleIntersect=r.handleIntersect.bind((0,u.Z)(r)),r.observer=new IntersectionObserver(r.handleIntersect,{rootMargin:"10000px"}),r}return(0,s.Z)(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:"componentWillReceiveProps",value:function(e){var t=this.state.titleIndices,n=this.props,r=n.isKnowledgeCheck,i=n.isLearner,o=n.isRetake,a=n.matches,s=e.isRetake,u=e.matches,c=e.matchIndices,l=e.titleIndices,d=a!==u,f=!o&&s;if(!j()(u)||r)if(d){var p=(0,ee.T5)(c),h=Y()(u).reduce(p,t);this.setState({titleIndices:h})}else if(r){var m=Te({titleIndices:t,nextTitleIndices:l,isLearner:i,isNewRetake:f});this.setState({titleIndices:m})}}},{key:"componentDidUpdate",value:function(e){var t=this.props.answers,n=e.answers;S()(pe(t),pe(n))||this.setHeights();var r=this.state,i=r.dragIndex,o=r.dropZoneIndex;m()(J.EN,[i,o])&&(this.props.onMatch({dragIndex:i,dropZoneIndex:o}),this.setState({dragIndex:null,dropZoneIndex:null}))}},{key:"render",value:function(){var e=this;return ce.createElement("div",{className:this.getClassName(),ref:function(t){e.el=t}},this.buildResultsList(),this.buildMovableList(),this.buildMatchList())}},{key:"getClassName",value:function(){return b()("quiz-match",{"quiz-match--completed":this.props.isComplete,"quiz-match--hidden":!this.state.isLoaded})}},{key:"buildResultsList",value:function(){var e=de(this.buildResultItem.bind(this));return w()(Se,e,ee.wd)(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],c=i===ne.Oi.INCORRECT,l=i===ne.Oi.ALL||c,d=n&&l,f=b()("quiz-match__item-feedback",{"quiz-match__item-feedback--hidden":!d});return d?u?ce.createElement("li",{className:f,key:e,style:{height:a}},ce.createElement(ue.iL,{"aria-label":"Check mark",className:"brand--fill"})):c?ce.createElement("li",{className:f,key:e,style:{height:a}},ce.createElement(ue.yt,{"aria-label":"Check mark"})):ce.createElement("li",{className:f,key:e,style:{height:a}},ce.createElement("span",{className:"quiz-match__item-feedback-bubble"},I()(R()(s,r)))):ce.createElement("li",{className:f,key:e,style:{height:a}})}},{key:"buildMovableList",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.answers,i=t.isActive,a=t.isComplete,s=t.matches,u=t.prefersKeyboardNavigation,c=this.state,l=c.allowMovableKeySelect,d=c.dragIndex,f=c.height,p=c.keySelectedSourceIndex,h=c.titleIndices,m=c.toDropRow;return w()(xe,de((function(t,n){return ce.createElement(he,(0,o.Z)({key:"movable-item-".concat(n),nextIndex:n,prevIndex:m,ref:function(t){e.moveableItems[n]=t}},t))})))(de((function(t,o){var c=z()([t],r),v=c.id,g=c.title,y=(0,J.EN)(d)&&o===m&&m!==R()(d,h);return{allowMovableKeySelect:l,allowTabNavigation:n,height:f,id:v,isEnabled:i&&!a,isKeySelected:t===p,isMatched:(0,J.EN)(s[t]),onDragEnd:e.handleDragEnd.bind(e),onDragStart:e.handleDragStart.bind(e,t),onKeyDown:e.handleMovableKeyDown.bind(e,t,o),prefersKeyboardNavigation:u,text:g,willBeReplaced:y}}),h))}},{key:"buildMatchList",value:function(){var e=this,t=this.props,n=t.allowTabNavigation,r=t.answers,i=t.isActive,a=t.matchIndices,s=t.prefersKeyboardNavigation,u=this.state,c=u.allowMovableKeySelect,l=u.height;return w()(xe,de((function(t,n){return ce.createElement(me,(0,o.Z)({key:"match-item-".concat(n),ref:function(t){e.matchItems[n]=t}},t))})))(de((function(t,o){var a=z()([t],r),u=a.id,d=a.matchTitle;return{allowMovableKeySelect:c,allowTabNavigation:n,height:l,id:u,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:s,text:d}}),a))}},{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=(0,te.oZ)((function(){return r.keySelectMovableAtIndex(e)})),a=(0,te.oZ)((function(){return(0,ae.PT)({list:r.moveableItems,currentIndex:t})})),s=(0,te.oZ)((function(){return(0,ae.lR)({list:r.moveableItems,currentIndex:t})})),u=(0,te.oZ)((function(){return!i&&(0,ae.Qr)({list:r.matchItems,index:t})}));k()([[se.Zt,o],[se.up,s],[se.IA,a],[se.V8,u]])(n)}},{key:"handleMatchKeyDown",value:function(e,t,n){var r=this,i=this.props,o=i.canSubmit,a=i.onEnterToSubmit;if(o&&(0,se.r$)(n))a();else{var s=(0,te.oZ)((function(){return r.keySelectMatch(e,t)})),u=(0,te.oZ)((function(){return(0,ae.PT)({list:r.matchItems,currentIndex:t})})),c=(0,te.oZ)((function(){return(0,ae.lR)({list:r.matchItems,currentIndex:t})})),l=(0,te.oZ)((function(){return(0,ae.Qr)({list:r.moveableItems,index:t})}));k()([[se.Uf,s],[se.up,c],[se.IA,u],[se.V4,l]])(n)}}},{key:"handleMatchKeyUp",value:function(e){(0,se.Uf)(e)&&this.resetKeySelection()}},{key:"handleCancelKeyDrop",value:function(e){("mousedown"===e.type||(0,se.$o)(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=V()((function(e,t){return Math.max(e,t.offsetHeight+32)}),0,e);this.setState({height:t,isLoaded:!0})}}]),n}(ce.Component),ge=function(e){var t=e.className;return ce.createElement("svg",{className:t,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},ce.createElement("title",null,"Draggable item"),ce.createElement("desc",null,"Rectangular shape with an arrow on the right side"),ce.createElement("polygon",{points:"0,0  298.5,0  312,27.5  298.5,54  0,54"}),ce.createElement("rect",{x:"0",y:"0",width:"5",height:"54"}))},ye=function(e){var t=e.className;return ce.createElement("svg",{className:t,viewBox:"-0.5 -0.5 315 55",preserveAspectRatio:"none",focusable:"false"},ce.createElement("title",null,"Drop zone item"),ce.createElement("desc",null,"Rectangular shape with a fish-tail shape on the left side"),ce.createElement("polygon",{points:"0,0  314,0  314,54  0,54  13.5,27.5  0,0"}))},be=function(e){var t=e.isKeySelected;return b()("quiz-match__item-arrow",{"quiz-match__item-arrow--selected":t})},_e=function(e){var t=e.isSelectable;return b()("quiz-match__item-tail",{"quiz-match__item-tail--selectable":t})},we=$.Z.isIe11||$.Z.isEdge,Ee=function(e){var t=e.isMatched,n=e.prefersKeyboardNavigation,r=e.willBeReplaced;return b()("quiz-match__item quiz-match__item--draggable",{"quiz-match__item--matched":t,"quiz-match__item--faded":r,"quiz-match__item--ms_browser-focus":n&&we})},ke=function(e){var t=e.prefersKeyboardNavigation;return b()("quiz-match__item quiz-match__item--immobile",{"quiz-match__item--ms_browser-focus":t&&we})},xe=function(e){return ce.createElement("ul",{className:"quiz-match__list brand--body"},e)},Se=function(e){return ce.createElement("ul",{className:"quiz-match__list quiz-match__list--results"},e)},Te=function(e){var t=e.titleIndices,n=e.nextTitleIndices,r=e.isNewRetake,i=e.isLearner;if(r&&i)return n;var o=K()(t,n),a=O()(t,n);return fe(a)?K()(a,t):fe(o)?P()(g()(o,t)):t}},67568:function(e,t,n){"use strict";var r,i=n(83728),o=n(44845),a=n(50047),s=n.n(a),u=n(67294),c=n(94184),l=n.n(c),d=n(73955),f=n.n(d),p=n(68434),h=n(29891),m=n(12868),v=n(32542),g=n(41148),y="NEXT",b="PREV",_=(r={},(0,o.Z)(r,y,(function(e,t){return t===e-1?0:t+1})),(0,o.Z)(r,b,(function(e,t){return 0===t?e-1:t-1})),r),w=function(e){var t=e.allowTabNavigation,n=e.color,r=e.id,o=e.index,a=e.isComplete,s=e.isCorrect,c=e.isCorrectOption,d=e.isFresh,_=e.isSelected,w=e.onChange,E=e.onEnterToSubmit,k=e.onNav,x=e.prefersKeyboardNavigation,S=e.renderOptionText,T=e.revealAnswers,C=e.title,N=(0,u.useState)((function(){return f()("qmc-")})),O=(0,i.Z)(N,1)[0],A=(0,u.useRef)(),P=(0,p.Z)(_),L=a&&T===g.Oi.ALL,I="".concat(O,"-label"),M=L?"".concat(O,"-result"):void 0,R=a?"true":"false",D=t&&(_||d&&0===o)?0:v.mR,j=T===g.Oi.ALL,Z=T==g.Oi.INCORRECT,B=j||Z&&s||Z&&c&&_,F=a&&c&&B,U=a&&!c&&B,q=l()("quiz-multiple-choice-option-wrap",{"quiz-multiple-choice-option-wrap--complete":a}),z=l()("quiz-multiple-choice-option",{"is-complete":a,"is-correct":F,"is-incorrect":U,"is-selected":_,"quiz-multiple-choice-option--keyboard":x}),H=l()("quiz-multiple-choice-option__dot",{"quiz-multiple-choice-option__dot--active":_&&!a}),V=l()("quiz-multiple-choice-option__check","brand--fill",{"quiz-multiple-choice-option__check--active":F}),W=l()("quiz-multiple-choice-option__x",{"quiz-multiple-choice-option__x--active":U||a&&_&&!c}),Y=l()("quiz-multiple-choice-option__border",{"brand--beforeBorder":a&&B&&_&&c}),G=(0,u.useCallback)((function(e){e.target===e.currentTarget&&((0,m.r$)(e)?E(e):(0,m.mJ)(e)?(e.preventDefault(),k(y)):(0,m.IU)(e)?(e.preventDefault(),k(b)):(0,m.Zt)(e)&&(e.preventDefault(),w({selectedIndex:o})))}),[o,w,E,k]),K=(0,u.useCallback)((function(e){"A"!==e.target.tagName&&w({selectedIndex:o})}),[o,w]),$=a?void 0:K,X=a?void 0:G;return(0,u.useEffect)((function(){t&&!P&&_&&A.current&&A.current.focus()}),[t,_,P]),u.createElement("div",{className:q,onClick:$},u.createElement("div",{"aria-checked":_,"aria-describedby":M,"aria-disabled":R,"aria-labelledby":I,className:z,onKeyDown:X,ref:A,role:"radio",tabIndex:D},u.createElement("div",{className:"quiz-multiple-choice-option__indicator",style:{color:n}},u.createElement(h.Cd,{className:H}),u.createElement(h.Y_,{"aria-hidden":"true",className:V}),u.createElement(h.et,{"aria-hidden":"true",className:W})),u.createElement("div",{className:Y})),u.createElement("div",{className:"quiz-multiple-choice-option__text brand--body",id:I},S({optionId:r,title:C})),L&&u.createElement("div",{className:"visually-hidden-always",id:M},_&&c&&"Correctly selected",_&&!c&&"Incorrectly selected",!_&&c&&"Incorrectly unselected",!_&&!c&&"Correctly unselected"))};t.Z=function(e){var t=e.allowTabNavigation,n=e.color,r=e.correctId,i=e.isComplete,o=e.isCorrect,a=e.onChange,c=e.onEnterToSubmit,l=e.options,d=void 0===l?[]:l,f=e.prefersKeyboardNavigation,p=e.questionHtmlId,h=e.renderOptionText,m=e.revealAnswers,v=e.selectedIndex,g=(0,u.useCallback)((function(e){var t=d.length;1!==t&&a({selectedIndex:_[e](t,v||0)})}),[a,d.length,v]);return u.createElement("div",{"aria-labelledby":p,role:"radiogroup"},s()(d).call(d,(function(e,s,l){return u.createElement(w,{allowTabNavigation:t,color:n,id:e.id,index:s,isComplete:i,isCorrect:o,isCorrectOption:r===e.id,isFirst:0===s,isFresh:-1===v||null==v,isLast:s===l.length-1,isSelected:v===s,key:e.id,onChange:a,onEnterToSubmit:c,onNav:g,prefersKeyboardNavigation:f,renderOptionText:h,revealAnswers:m,title:e.title})})))}},2360:function(e,t,n){"use strict";var r=n(83728),i=n(50047),o=n.n(i),a=n(67294),s=n(94184),u=n.n(s),c=n(61949),l=n.n(c),d=n(73955),f=n.n(d),p=n(29891),h=n(12868),m=n(32542),v=n(41148),g=function(e){var t=e.allowTabNavigation,n=e.id,i=e.index,o=e.isComplete,s=e.isCorrect,c=e.isCorrectOption,l=e.isSelected,d=e.onChange,g=e.onEnterToSubmit,y=e.prefersKeyboardNavigation,b=e.renderOptionText,_=e.revealAnswers,w=e.title,E=(0,a.useState)((function(){return f()("qmr-")})),k=(0,r.Z)(E,1)[0],x=o&&_===v.Oi.ALL,S="".concat(k,"-label"),T=x?"".concat(k,"-result"):void 0,C=o?"true":"false",N=t?0:m.mR,O=_===v.Oi.ALL,A=_==v.Oi.INCORRECT,P=O||A&&s||A&&!s&&l,L=u()("quiz-multiple-response-option-wrap",{"quiz-multiple-response-option-wrap--complete":o}),I=u()("quiz-multiple-response-option",{"quiz-multiple-response-option--complete":o,"quiz-multiple-response-option--keyboard":y,"quiz-multiple-response-option--selected":l,"quiz-multiple-response-option--correct":o&&c&&P,"quiz-multiple-response-option--incorrect":o&&!c&&P}),M=u()("quiz-multiple-response-option__border",{"brand--beforeBorder":o&&P&&c&&l}),R=(0,a.useCallback)((function(e){(0,h.r$)(e)?g(e):(0,h.Zt)(e)&&(e.preventDefault(),d({optionIndex:i}))}),[i,g,d]),D=(0,a.useCallback)((function(e){"A"!==e.target.tagName&&d({optionIndex:i})}),[i,d]),j=o?void 0:D,Z=o?void 0:R;return a.createElement("li",{className:L,onClick:j,role:"listitem"},a.createElement("div",{"aria-checked":l,"aria-describedby":T,"aria-disabled":C,"aria-labelledby":S,className:I,onKeyDown:Z,role:"checkbox",tabIndex:N},a.createElement("div",{className:"quiz-multiple-response-option__indicator"},a.createElement(p.Y_,{"aria-hidden":"true",className:"quiz-multiple-response-option__check brand--fill",width:"9",height:"7"}),a.createElement(p.et,{"aria-hidden":"true",className:"quiz-multiple-response-option__x",height:"8",width:"8"})),a.createElement("div",{className:M})),a.createElement("div",{className:"quiz-multiple-response-option__text brand--body",id:S},b({optionId:n,title:w})),x&&a.createElement("div",{className:"visually-hidden-always",id:T},l&&c&&"Correctly checked",l&&!c&&"Incorrectly checked",!l&&c&&"Incorrectly unchecked",!l&&!c&&"Correctly unchecked"))};t.Z=function(e){var t=e.allowTabNavigation,n=e.correctIds,r=void 0===n?[]:n,i=e.isComplete,s=e.isCorrect,u=e.onChange,c=e.onEnterToSubmit,d=e.options,f=void 0===d?[]:d,p=e.prefersKeyboardNavigation,h=e.renderOptionText,m=e.revealAnswers,v=e.selectedIndices,y=void 0===v?[]:v;return a.createElement("ul",{role:"list"},o()(f).call(f,(function(e,n){return a.createElement(g,{allowTabNavigation:t,id:e.id,index:n,isComplete:i,isCorrect:s,isCorrectOption:l()(e.id,r),isSelected:l()(n,y),key:e.id,onChange:u,onEnterToSubmit:c,prefersKeyboardNavigation:p,renderOptionText:h,revealAnswers:m,title:e.title})})))}},56242:function(e,t,n){"use strict";n.d(t,{MV:function(){return r.Z},YK:function(){return a.Z},mZ:function(){return o.Z},ri:function(){return i.ZP}});var r=n(4782),i=n(16777),o=n(67568),a=n(2360)},71256:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(88066),d=n.n(l),f=n(94184),p=n.n(f),h=n(45697),m=n.n(h),v=n(99049),g=n(90630),y=n(27028),b=n(11525),_=n(67294);function w(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var E=function(e){(0,s.Z)(n,e);var t=w(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={isMoving:!1,failed:!1,position:{x:0,y:0},reset:!0},r}return(0,a.Z)(n,[{key:"componentDidMount",value:function(){var e=this;setTimeout((function(){e.setState({reset:!1})}),300),(0,b.Z)(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),(0,b.Z)(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=d()(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,c=o.title,l=p()("playing-card playing-card--draggable",{"playing-card--legacy":!a,"playing-card--moving":n,"playing-card--fail":r,reset:i});return _.createElement("div",{"aria-hidden":!u,className:l,id:s,key:"card-".concat(s),ref:function(t){return e.card=t},style:this.cardStyle(),onMouseDown:function(e){e.preventDefault()}},_.createElement(v.Z,{className:"playing-card__content brand--border"},_.createElement(y.Z,{className:"playing-card__title brand--head",value:c}),_.createElement("div",{className:"playing-card__handle"}),_.createElement("div",{className:"playing-card__status brand--background"},_.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})}}],[{key:"propTypes",get:function(){return{id:m().any.isRequired,isIncorrect:m().bool,title:m().string}}}]),n}(_.Component);t.Z=(0,g.tF)("rise-authoring-controls","fusion")(E)},78408:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(88066),d=n.n(l),f=n(50047),p=n.n(f),h=n(94184),m=n.n(h),v=n(46408),g=n.n(v),y=n(96942),b=n.n(y),_=n(62848),w=n.n(_),E=n(53176),k=n.n(E),x=n(71256),S=n(5572),T=n(67294);function C(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var N=function(e){return m()("deck",{"deck--complete":w()("percentViewed",100,e)})},O=function(e){var t=e.item,n=e.progress;return w()("lastIncorrectCardId",String(t.id),n)},A=w()("percentViewed",100),P=function(e){(0,s.Z)(n,e);var t=C(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).cardRefs=[],r}return(0,a.Z)(n,[{key:"startKeyDrop",value:function(){var e=g()(this.cardRefs);e&&e.onStartSortAttempt()}},{key:"endKeyDrop",value:function(){var e=g()(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=A(a);return T.createElement("div",{className:N(a)},T.createElement("div",{className:"deck__spacer"}),T.createElement("div",{"aria-hidden":!u,className:"deck__cardholder"},T.createElement("div",{className:"deck__title brand--ui"},function(e){var t,n=e.progress,r=e.count;return d()(t="".concat(k()(0,"correctlyAnswered",n),"/")).call(t,r)}({progress:a,count:n})," ",i.sortingCardsCorrect),T.createElement(S.Z,{allowTabNavigation:u,onClick:b()(s,[o]),text:i.sortingReplay})),T.createElement("div",{className:"deck__content"},p()(r).call(r,(function(t,n){return T.createElement(x.Z,{id:t.id,isDeckTopCard:e.cardRefs[n]===g()(e.cardRefs),isIncorrect:O({item:t,progress:a}),key:t.id,ref:function(t){e.cardRefs[n]=t},title:t.title})}))))}}]),n}(T.Component);P.defaultProps={onReplay:Function.prototype}},42010:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(94184),f=n.n(d),p=n(17794),h=n.n(p),m=n(11525),v=n(45697),g=n.n(v),y=n(90630),b=n(32542),_=n(71256),w=n(27028),E=n(12868),k=n(46130),x=n(67294);function S(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var T=function(e){(0,u.Z)(n,e);var t=S(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={isSuccess:!1,showFocusOutline:!0},r.handleDragEnter=r.handleDragEnter.bind((0,s.Z)(r)),r.handleDragLeave=r.handleDragLeave.bind((0,s.Z)(r)),r.handleMouseDrop=r.handleMouseDrop.bind((0,s.Z)(r)),r.handleKeyboardDrop=r.handleKeyboardDrop.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"focus",value:function(){this.pileContent.focus()}},{key:"componentDidMount",value:function(){(0,m.Z)(this.pile).dropzone({overlap:"pointer"}).on("dragenter",this.handleDragEnter).on("dragleave",this.handleDragLeave).on("drop",this.handleMouseDrop)}},{key:"componentWillUnmount",value:function(){(0,m.Z)(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=(0,k.oZ)(this.handleKeyboardDrop),o=(0,k.oZ)(r),a=(0,k.oZ)(n);h()([[E.Uf,i],[E.V4,o],[E.V8,a]])(e)}},{key:"onKeyUp",value:function(e){(0,E.Uf)(e)&&this.props.onKeyDropEnd()}},{key:"handleDragEnter",value:function(e){var t=m.Z.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=f()("pile",{"pile--legacy":!n,"drop-success":a}),c=f()("pile__content",{"drop-animating":!s});return x.createElement("div",{className:u,ref:function(t){return e.pile=t}},x.createElement("div",{className:"pile__wrapwrap"},x.createElement("div",{className:"pile__wrap"},x.createElement("div",{className:"pile__message"},x.createElement(w.Z,{className:"pile__title brand--head",value:r})),x.createElement("div",{className:c,onKeyDown:this.onKeyDown.bind(this),onKeyUp:this.onKeyUp.bind(this),ref:function(t){return e.pileContent=t},tabIndex:b.$_},o&&x.createElement(_.Z,{id:o.id,title:o.title})),x.createElement("div",{className:"pile__background"}))))}}],[{key:"propTypes",get:function(){return{id:g().any.isRequired,lessonId:g().any.isRequired,onCardDrop:g().func.isRequired,title:g().string}}},{key:"defaultProps",get:function(){return{onCardDrop:Function.prototype}}}]),n}(x.Component);t.Z=(0,y.tF)("rise-authoring-controls","fusion")(T)},37172:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(45582),d=n.n(l),f=n(94184),p=n.n(f),h=n(51383),m=n.n(h),v=n(46376),g=n.n(v),y=n(61894),b=n.n(y),_=n(20780),w=n.n(_),E=n(22184),k=n.n(E),x=n(54782),S=n.n(x),T=n(4603),C=n.n(T),N=n(52478),O=n.n(N),A=n(62848),P=n.n(A),L=n(69983),I=n.n(L),M=n(78408),R=n(42010),D=n(32542),j=n(74081),Z=n(67294);function B(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var F=j.r.blocks,U=d()(b()),q=function(e){var t=e.items,n=e.progress;return m()(function(e){return function(t){return k()(S()(!1,["items",t.id,"isViewed"],e))}}(n),t)},z=function(e){(0,s.Z)(n,e);var t=B(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).state={items:I()(e.items)},r.pileRefs=[],r}return(0,a.Z)(n,[{key:"componentWillReceiveProps",value:function(e){if(O()("retryAttempts",this.props.progress)!==O()("retryAttempts",e.progress))this.setState({items:I()(e.items)});else{var t=b()(function(e){return function(t){return C()(g()(P()("id",t.id)),w()(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,c=r.onReplay,l=r.piles,d=a.sortingLandmark,f=q({items:n,progress:s});return Z.createElement("div",{"aria-label":d,className:(e=i,p()("sorting",{"sorting-dark-theme":e})),"data-ba":F.blockSortingActivity,role:"group"},Z.createElement("div",{className:"sorting__row"},Z.createElement(M.Z,{count:n.length,id:o,items:f,labels:a,onReplay:c,progress:s,ref:function(e){t.deck=e}})),Z.createElement("div",{className:"sorting__row"},U((function(e,n){return Z.createElement(R.Z,{deckTopCard:f&&f[0],id:e.id,key:e.id,lessonId:o,onCardDrop:u,onNavigateToNext:function(){return(0,D.lR)({list:t.pileRefs,currentIndex:n})},onNavigateToPrevious:function(){return(0,D.PT)({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()}})}),l)))}}]),n}(Z.Component)},13632:function(e,t,n){"use strict";var r=n(6646);t.Z=(0,r.D)("CoverAction")},8689:function(e,t,n){"use strict";n.d(t,{uG:function(){return f}});var r=n(67294),i=n(13657),o=n.n(i),a=n(29891),s=n(75716),u=n(64393),c=n(32922),l=n(87637),d=(0,n(36335).Z)("cover"),f=function(){var e=(0,c.QJ)();if(null==e)return null;var t=e.avatar,n=e.authorName,i=e.title;return r.createElement("div",{className:d("author-with-title")},r.createElement(p,{avatar:t}),r.createElement("div",null,r.createElement("div",{className:d("author-name")},n),r.createElement("div",{className:d("author-title")},i)))},p=function(e){var t=e.avatar;return t?r.createElement("div",{className:d("header-content-authors-avatar"),style:{backgroundImage:"url(".concat((0,u.i3)(t),")")}}):r.createElement("div",{className:d("header-content-authors-avatar-fallback")},r.createElement(a.Qw,{decorative:!0}))};t.ZP=(0,s.Mw)("CoverAuthors",(function(e){var t,n,i=e.className,a=null!==(t=(0,c.Tn)())&&void 0!==t?t:{},s=a.color,u=a.partnerContentId,f=a.selectedAuthorId,h=null!==(n=(0,c.QJ)())&&void 0!==n?n:{},m=h.authorName,v=h.avatar,g=(0,c.SB)(),y=Boolean(u)&&!o()(g);if("none"===f)return null;var b=m||"Unknown User",_="By ".concat(b),w=d("header-content-authors").mix(i);return y?r.createElement("div",{className:w},r.createElement(l.Z,{color:s,learn:!0,partnerContentAuthors:g})):r.createElement("div",{className:w},r.createElement(p,{avatar:v}),r.createElement("div",{className:d("header-content-authors-name")},r.createElement("span",{"aria-hidden":"true"},b),r.createElement("span",{className:"visually-hidden"},_)))}))},65364:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(36335),i=n(64393),o=n(88066),a=n.n(o),s=n(32922),u=n(67294),c=(0,r.Z)("cover");function l(){var e,t=(0,s.An)(),n=(e="Lesson",1===t?e:a()(e).call(e,"s"));return u.createElement("li",{className:c("num-lessons"),role:"listitem"},u.createElement("span",{className:c("num-lessons-value")},t)," ",u.createElement("span",{className:c("num-lessons-units")},n))}var d=n(30381),f=n.n(d),p=n(67294),h=(0,r.Z)("cover");function m(e,t){return 1===e?t:a()(t).call(t,"s")}function v(){var e=(0,s.Tn)(),t=e.showTimeToComplete,n=e.timeToComplete;if(!t)return null;var r,i=n>=36e5,o=i?(r=f().duration(n).asHours(),Math.round(10*r)/10):f().duration(n).asMinutes(),a=m(o,i?"Hour":"Minute");return p.createElement("li",{className:h("time-to-complete"),role:"listitem"},p.createElement("span",{className:h("time-to-complete-value")},o)," ",p.createElement("span",{className:h("time-to-complete-units")},a))}var g=n(67294),y=(0,r.Z)("cover");function b(){return i.VO?g.createElement("section",{className:y("course-length-section")},g.createElement("h2",{className:y("course-length-title")},"Course Length"),g.createElement("ul",{className:y("course-length-list"),role:"list"},g.createElement(l,null),g.createElement(v,null))):null}},76676:function(e,t,n){"use strict";var r=n(67294),i=n(75716),o=(0,n(36335).Z)("cover");t.Z=(0,i.Mw)("CoverDetailsSection",(function(e){var t=e.children,n=e.type;return r.createElement("section",{className:o("details-content-section",{type:n})},t)}))},59353:function(e,t,n){"use strict";var r=n(36335),i=n(32922),o=n(64393),a=n(67294),s=(0,r.Z)("cover");t.Z=function(e){var t=e.children,n=!!(0,i.ny)(),r=s("header-content-info",{rbc:n,riseCom:o.VO});return a.createElement("div",{className:r},t)}},34092:function(e,t,n){"use strict";var r=n(69532),i=n(32922),o=n(54782),a=n.n(o),s=n(67294),u=(0,n(36335).Z)("cover");t.Z=function(e){var t,n=e.className,o=void 0===n?u("details-logo"):n,c=e.imageClassName,l=void 0===c?u("details-logo-image"):c,d=null!==(t=(0,i.Tn)())&&void 0!==t?t:{},f=a()({},["media","image"],d),p=f.height,h=f.key,m=f.width;if(!h)return null;var v=(0,r.xR)(f);return s.createElement("div",{className:o},s.createElement("img",{className:l,src:v,width:m,height:p,alt:""}))}},22033:function(e,t,n){"use strict";var r=n(67294),i=n(75716),o=n(32922),a=(0,n(36335).Z)("cover");t.Z=(0,i.Mw)("CoverTitle",(function(e){var t=e.className,n=(0,o.Tn)().title;return r.createElement("h1",{className:a("header-content-title").mix(t)},n)}))},88392:function(e,t,n){"use strict";n.d(t,{Dx:function(){return M},Iw:function(){return O},RG:function(){return L},S3:function(){return C},XF:function(){return A},dk:function(){return P},gM:function(){return I},qR:function(){return N}});var r=n(68420),i=n(27344),o=n(90306),a=n(3020),s=n(3362),u=n(88066),c=n.n(u),l=n(50047),d=n.n(l),f=n(13535),p=n.n(f),h=n(36335),m=n(45697),v=n.n(m),g=n(64393),y=n(89975),b=n(27028),_=n(78687),w=n(69532),E=n(31454),k=n(75716),x=n(67294);function S(e){var t=function(){if("undefined"==typeof Reflect||!p())return!1;if(p().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(p()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,s.Z)(e);if(t){var i=(0,s.Z)(this).constructor;n=p()(r,arguments,i)}else n=r.apply(this,arguments);return(0,a.Z)(this,n)}}var T=(0,h.Z)("lesson-header"),C=(0,k.Mw)("LessonHeaderAuthor",(function(e){var t=e.avatar,n=e.authorName,r=e.className,i=void 0===r?"":r;return x.createElement("div",{className:"lesson-header__author ".concat(i)},x.createElement("img",{className:"lesson-header__author-img",src:(0,g.i3)(t),alt:""}),x.createElement("span",{className:"visually-hidden"},"by ",n),x.createElement("span",{"aria-hidden":"true",className:"lesson-header__author-name"},n))})),N=function(e){var t=e.showPartnerContent,n=void 0!==t&&t;return x.createElement("div",{className:T("author",{"partner-content":n})})},O=function(){return x.createElement("div",{className:"lesson-header__counter"})},A=function(e){var t,n,r,i=e.lessonName,o=e.lessonPreposition,a=e.totalLessons,s=e.lessonNumber,u=e.showPartnerContent;return x.createElement("div",{className:T("counter",{"partner-content":u}).mix("brand--body brand--linkColor")},x.createElement("div",{className:"lesson-header__count"},c()(t=c()(n=c()(r="".concat(i," ")).call(r,s," ")).call(n,o," ")).call(t,a)))},P=function(e){var t=e.description;return x.createElement(b.Z,{className:"lesson-header__description brand--lbody brand--linkColor",value:t})},L=function(e){var t=e.children;return x.createElement("div",{className:"lesson-header__grouped-row"},t)},I=function(e){var t=e.children,n=e.lessonHeaderLandmark,r=e.sectionStyles,i=e.topWrapClassName,o=e.topWrapStyles;return x.createElement("section",{"aria-label":n,className:"page__header",style:r},x.createElement("div",{className:"page__header-limit"},x.createElement("div",{className:"page__header-container"},x.createElement("div",{className:"lesson-header__row"},x.createElement("div",{className:"lesson-header__main"},x.createElement("div",{className:"lesson-header"},x.createElement("div",{className:i,style:o},t)))))))},M=function(e){var t=e.title;return x.createElement(b.Z,{className:"lesson-header__title brand--lhead",tagName:"h1",value:t})},R=function(e){var t,n=e.authorName,r=e.avatar,i=e.children,o=e.color,a=e.description,s=e.labels,u=e.lessonHeaderStyle,c=e.lessonNumber,l=e.partnerContentAuthors,f=e.showAuthor,p=e.showLessonCount,h=e.title,m=e.totalLessons,v=s.lessonName,g=s.lessonPreposition,b=function(e){return"url(".concat((0,w.NY)({width:"76",height:"76",imageKey:e.image}),")")},_=u===E.Du.TINT?{color:o}:null,k=r&&n&&f&&!l;return x.createElement("div",{className:"lesson-header"},x.createElement("div",{className:"lesson-header__top-wrap",style:_},x.createElement(M,{title:h}),l&&x.createElement("div",{className:"lesson-header__partner-content"},d()(l).call(l,(function(e){return x.createElement("div",{key:e.name,className:"lesson-header__partner-content-author"},x.createElement("div",{className:"lesson-header__partner-content-author-img",style:{backgroundImage:b(e)}}),x.createElement("div",null,x.createElement("span",{className:"visually-hidden"},"by ",e.name),x.createElement("span",{"aria-hidden":"true"},e.name)))}))),x.createElement("div",{className:"lesson-header__author-count-wrap"},k?x.createElement(C,{avatar:r,authorName:n}):x.createElement(N,null),p?x.createElement(A,{lessonName:v,lessonNumber:c,lessonPreposition:g,totalLessons:m}):x.createElement(O,null))),d()(t=x.Children).call(t,i,(function(e){return e&&e.type===y.Z?x.createElement("div",{className:"lesson-header__audio"},e):null})),a&&x.createElement(P,{description:a}))};x.Component},86565:function(e,t,n){"use strict";var r=n(6646);t.Z=(0,r.D)("LessonNav")},9237:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(66497),d=n.n(l),f=n(94184),p=n.n(f),h=n(90013),m=n.n(h),v=n(5206),g=n.n(v),y=n(53176),b=n.n(y),_=n(45697),w=n.n(_),E=n(99049),k=n(53454),x=n(31811),S=n(27028),T=n(58599),C=n(67294);function N(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var O=function(e){(0,s.Z)(n,e);var t=N(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(n,[{key:"renderMedia",value:function(e,t){if((0,x.Km)(e)){var n=e.embed?(0,k.vE)(e.embed):void 0,r=p()({"timeline-card__audio":e.audio,"timeline-card__visual":e.image||e.video,"timeline-card__linkEmbed":"link"===n,"timeline-card__videoEmbed":"video"===n}),i=m()(d()("pause",!0),e);return C.createElement("div",{className:r},C.createElement(T.Z,{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=b()({},"media",t),u=g()(["audio"],s),c=g()(["embed"],s),l=g()(["image","video"],s),d=p()("timeline-card",{"timeline-card--active":n});return C.createElement("div",{className:d,"data-id":o,ref:this.props.innerRef},C.createElement(E.Z,{className:"timeline-card__body brand--beforeBackground",onFocus:i},C.createElement("div",{className:"timeline-card__main-wrap"},C.createElement("div",{className:"timeline-card__main"},C.createElement("div",{className:"timeline-card__date brand--color brand--body"},C.createElement("h2",null,t.date)),C.createElement("div",{className:"timeline-card__title brand--head"},C.createElement("h3",null,C.createElement(S.Z,{value:t.title}))),r?this.renderMedia(u,a):null,r?this.renderMedia(c,a):null,C.createElement(S.Z,{className:"timeline-card__description brand--body brand--linkColor",value:t.description}),r?this.renderMedia(l):null))))}}],[{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:w().bool,isActive:w().bool.isRequired,item:w().object.isRequired,labels:w().object.isRequired,loadMedia:w().bool.isRequired,onFocus:w().func.isRequired}}}]),n}(C.Component)},82738:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(50047),f=n.n(d),p=n(94184),h=n.n(p),m=n(51481),v=n.n(m),g=n(87041),y=n.n(g),b=n(52478),_=n.n(b),w=n(45697),E=n.n(w),k=n(67411),x=n(9237),S=n(33615),T=n(74081),C=n(67294);function N(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var O=T.r.blocks,A=function(e){(0,u.Z)(n,e);var t=N(n);function n(e){var r;return(0,o.Z)(this,n),(r=t.call(this,e)).renderCard=r.renderCard.bind((0,s.Z)(r)),r}return(0,a.Z)(n,[{key:"onEnterMarker",value:function(e,t,n){var r=n.previousPosition,i=this.props,o=i.id,a=i.onEnter;r===k.Z.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===k.Z.below&&r===k.Z.inside&&u>-1){var c=y()(u,a);c&&s({id:o,payload:{activeIndex:u,itemId:c.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||v()(_()("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),c=C.createElement(x.Z,{enableVideoPlaybackSpeed:r,isActive:this.isActive(t),item:e,labels:s,loadMedia:!0,onFocus:u,lessonNumber:i});return o&&a?C.createElement(S.Z,{animateBlockEntrance:!0,animateIn:"fadeIn",className:"timeline__animate",isLearner:!0},c):o&&!a?c:C.createElement(k.Z,{bottomOffset:"60%",onEnter:this.onEnterMarker.bind(this,t,e.id),onLeave:this.onMarkerLeave.bind(this,t),topOffset:"30%"},c)}},{key:"render",value:function(){var e=this,t=this.props,n=t.hasDarkBackground,r=t.isBlock,i=t.items,o=t.labels.timelineLandmark,a=h()("page__content-container",{timeline__block:r,"timeline-dark-theme":n});return C.createElement("div",{"aria-label":o,className:a,"data-ba":O.blockTimeline,role:"group"},C.createElement("div",{className:"timeline__wrapper"},C.createElement("div",{className:"timeline"},C.createElement("ul",{className:"timeline__container",role:"list"},f()(i).call(i,(function(t,n){return C.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:{}}}},{key:"propTypes",get:function(){return{enableVideoPlaybackSpeed:E().bool,id:E().any.isRequired,isBlock:E().bool,isLearner:E().bool,items:E().array.isRequired,labels:E().object.isRequired,onEnter:E().func.isRequired,onLeave:E().func.isRequired,progress:E().object.isRequired}}}]),n}(C.Component)},27498:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(73126),a=n(68420),s=n(27344),u=n(90306),c=n(3020),l=n(3362),d=n(92650),f=n.n(d),p=n(20780),h=n.n(p),m=n(16550),v=n(67294);function g(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var y=function(e){(0,u.Z)(n,e);var t=g(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(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=f()("component",this.props);return v.createElement(m.AW,(0,o.Z)({},i,{render:function(t){var i=t.match,o=h()(n,{match:i,ref:function(t){return e.child=t}});return v.createElement(r,o)}}))}}]),n}(v.Component);t.Z=y},15729:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(50047),d=n.n(l),f=n(92650),p=n.n(f),h=n(16550),m=n(67294);function v(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var g=function(e){(0,s.Z)(n,e);var t=v(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(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=p()("children",this.props);return m.createElement(h.rs,r,n&&d()(e=m.Children).call(e,n,(function(e){return null!==e&&m.cloneElement(e,{ref:function(e){return t.child=e}})})))}}]),n}(m.Component);t.Z=g},40198:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(13535),i=n.n(r),o=n(73126),a=n(68420),s=n(27344),u=n(5281),c=n(90306),l=n(3020),d=n(3362),f=n(22727),p=n(67294);function h(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var o=(0,d.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}var m=function(e){(0,c.Z)(n,e);var t=h(n);function n(e){var r;return(0,a.Z)(this,n),(r=t.call(this,e)).handleTransition=r.handleTransition.bind((0,u.Z)(r)),r.onEnter=r.onEnter.bind((0,u.Z)(r)),r.onEntered=r.onEntered.bind((0,u.Z)(r)),r.onExit=r.onExit.bind((0,u.Z)(r)),r.onExited=r.onExited.bind((0,u.Z)(r)),r}return(0,s.Z)(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 p.createElement(f.uT,(0,o.Z)({addEndListener:this.handleTransition,onEntered:this.onEntered,onExited:this.onExited,unmountOnExit:!0},this.props),(function(n){return e.transitionState=n,t&&p.cloneElement(p.Children.only(t),{ref:function(t){return e.child=t}})}))}}]),n}(p.Component)},88080:function(e,t,n){"use strict";var r=n(54115),i=n.n(r),o=n(17794),a=n.n(o),s=n(51481),u=n.n(s),c=n(53007),l=n.n(c),d={ANY:"ANY",CORRECT_INCORRECT:"CORRECT_INCORRECT",CHOICE:"CHOICE"},f={label:"Any Response",prop:"feedback"};a()([[u()(d.ANY),i()(f)],[u()(d.CHOICE),i()({label:"By Choice",prop:"choice"})],[u()(d.CORRECT_INCORRECT),i()({correctProp:"feedbackCorrect",incorrectProp:"feedbackIncorrect",label:"Correct / Incorrect",type:"CORRECT_INCORRECT"})],[l(),i()(f)]]);t.Z=d},41148:function(e,t,n){"use strict";n.d(t,{FS:function(){return v},Oi:function(){return m}});var r=n(54115),i=n.n(r),o=n(98766),a=n.n(o),s=n(17794),u=n.n(s),c=n(51481),l=n.n(c),d=n(53007),f=n.n(d),p=n(29891),h={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"},m=(p.mZ,p.kO,p.WH,p.ri,p.A,{ALL:"all",NONE:"none",INCORRECT:"incorrect"}),v=u()([[a()([l()(!0),l()(m.ALL)]),i()(m.ALL)],[a()([l()(!1),l()(m.NONE)]),i()(m.NONE)],[l()(m.INCORRECT),i()(m.INCORRECT)],[f(),i()(m.ALL)]]);t.ZP=h},20956:function(e,t,n){"use strict";n.d(t,{j:function(){return _}});var r=n(54115),i=n.n(r),o=n(66497),a=n.n(o),s=n(97877),u=n.n(s),c=n(4603),l=n.n(c),d=n(61937),f=n.n(d),p=n(47176),h=n.n(p),m=n(73080),v=n(98938),g=n(35641),y=n(64393),b=n(50408),_=l()(f()(u()("userId"),a()("userId",(0,g.Au)())),h()(i()(y.VO),v.c),m.Z.send(b.I))},50408:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(54405),i=n.n(r)()("rise/track/")("TRACK")},53459:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(44721),i=n.n(r),o=n(67294);function a(e){var t;return i()(t=["auto","hidden","scroll"]).call(t,e)}function s(e,t){(0,o.useLayoutEffect)((function(){for(var n=e.current;n&&(n=n.parentElement);){var r=window.getComputedStyle(n);if(a(r.overflowX)||a(r.overflowY))return n.addEventListener("scroll",t),function(){return n.removeEventListener("scroll",t)}}}),[t,e])}},1983:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(16944),i=n.n(r),o=n(95238),a=n.n(o),s=n(53592),u=n.n(s),c=n(51446),l=n.n(c),d=n(19996),f=n.n(d),p=n(67294),h=n(91033);function m(e,t){var n=void 0!==l()&&f()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return v(e,t);var r=a()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return u()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(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,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var g=new(i()),y=new h.Z((function(e){var t,n=m(e);try{for(n.s();!(t=n.n()).done;){var r,i=t.value;null===(r=g.get(i.target))||void 0===r||r(i)}}catch(e){n.e(e)}finally{n.f()}}));function b(e,t){(0,p.useEffect)((function(){if(e)return g.set(e,t),function(){return g.delete(e)}}),[e,t]),(0,p.useEffect)((function(){if(e)return y.observe(e),function(){return y.unobserve(e)}}),[e])}},96554:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(90306),u=n(3020),c=n(3362),l=n(17187);function d(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.Z)(e);if(t){var o=(0,c.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.Z)(this,n)}}var f="change",p=function(e){(0,s.Z)(n,e);var t=d(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,a.Z)(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(f,e)}},{key:"removeChangeListener",value:function(e){this.removeListener(f,e)}}]),n}(l.EventEmitter);t.Z=new p},74081:function(e,t,n){"use strict";n.d(t,{S:function(){return r},r:function(){return i}});var r={learn:{course:{container:"learn.course",overview:{container:"learn.course.overview",startButton:"learn.course.overview.startButton",favoriteButton:"learn.course.overview.favoritebutton"},lesson:{container:"learn.course.lesson",nextLessonLink:"learn.course.lesson.nextLessonLink"}}}},i={common:{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"}},courseEdit:{container:"courseEdit",addNewLessonInput:"courseEdit.addNewLessonInput",addContentBtn:"courseEdit.addContentBtn",addLesson:"courseEdit.addLesson"},lessonEdit:{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"}},lessonPreview:{container:"lessonPreview.container",previewIframe:"lessonPreview.previewIframe"},blocks:{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"}},authoringHeader:{container:"authoringHeader",nineDotMenuBtn:"authoringHeader.nineDotMenuBtn",previewLessonButton:"authoringHeader.previewLessonButton",publishButton:"authoringHeader.publishButton",courseOwner:"authoringHeader.courseOwner",collaborateBtn:"authoringHeader.collaborateBtn",manageCollaboratorsLink:"authoringHeader.manageCollaboratorsLink",editBtn:"authoringHeader.editBtn",closeLessonBtn:"authoringHeader.closeLessonBtn",publishModal:{container:"authoringHeader.publishModal",publishButton:"authoringHeader.publishModal.publishButton",libraryToggle:"authoringHeader.publishModal.libraryToggle",libraryOption:"authoringHeader.publishModal.libraryOption"}},courseSettings:{container:"courseSettings.container",tabs:{container:"courseSettings.tabs.container",translationTab:"courseSettings.tabs.translationTab",labelsTab:"courseSettings.labelsTab",collaboratorsTab:"courseSettings.tabs.collaboratorsTab"},collab:{container:"courseSettings.collab.container",collabName:"courseSettings.collab.collabName",searchCollabName:"courseSettings.collab.searchCollabName",userComboList:"courseSettings.collab.userComboList",collabRoleSelector:"courseSettings.collab.collabRoleSelector",collabRoleItem:"courseSettings.collab.collabRoleItem",inviteName:"courseSettings.collab.inviteName",clearButton:"courseSettings.collab.clearButton",inviteButton:"courseSetting.collab.inviteButton",deleteButton:"courseSettings.collab.deleteButton",removeButton:"courseSettings.collab.removeButton",cancelButton:"courseSettings.collab.cancelButton",authorOwner:"courseSettings.collab.authorOwner",transferOwnerLink:"courseSettings.collab.transferOwnerLink"},transferModal:{container:"courseSettings.transferModal.container",transferBtn:"courseSettings.transferModal.transferBtn",transferToName:"courseSettings.transferModal.transferToName"}},teamMedia:{folderSidebar:"teamMedia.folderSidebar"}}},51151:function(e,t,n){"use strict";n.d(t,{F0:function(){return i},Gs:function(){return c},HQ:function(){return a},Je:function(){return u},T6:function(){return o},mg:function(){return s},p9:function(){return r}});var r="group",i="heading",o="tablist",a="tabpanel",s="tab",u=function(e){var t=e.element,n=e.isHidden;t&&t.setAttribute("aria-hidden",n)},c=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"}}},65119:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(64393),i=n(55109),o=function(e){return(0,i.WY)({method:"POST",url:"".concat((0,r.dU)("RISE_RUNTIME_URI"),"/analytics"),json:!0,data:e})}},69532:function(e,t,n){"use strict";n.d(t,{LS:function(){return _},NY:function(){return w},OD:function(){return E},W4:function(){return y},gu:function(){return k},xR:function(){return b}});var r=n(88066),i=n.n(r),o=n(97877),a=n.n(o),s=n(73495),u=n.n(s),c=n(64393),l=(0,c.dU)("CDN_USER_CONTENT_URI"),d=(0,c.dU)("CDN_URI"),f=a()("useCrushedKey"),p=(0,c.dU)("IMAGES_URI"),h=u()(/-stock[-_]image.jpg/),m=(0,c.dU)("RBC_IMAGES_URI"),v=(0,c.dU)("ASSETS_URI"),g=function(e){var t=e.crushedKey,n=e.key,r=e.useCrushedKey,i=e.src;return f(e)?r&&t?(0,c.i3)(t):(0,c.i3)(n):(0,c.i3)(i)},y=function(e){var t,n;if(!e||!e.key)return"";var r=e.crushedKey,o=e.key,a=e.useCrushedKey;return p?f(e)&&a&&r?i()(t="".concat(p,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(t,r):i()(n="".concat(p,"/f:jpg,b:fff,s:cover,t:true,w:340/")).call(n,o):g(e)},b=function(e){var t;if(!e||!e.key)return"";var n,r,o,a=e.crushedKey,s=e.key,u=e.useCrushedKey;return p?h(s)?i()(n="".concat(p,"/f:jpg,a:retain,b:fff,w:1680,q:65/")).call(n,s):f(e)?u&&a?i()(r="".concat(l,"/")).call(r,a):i()(o="".concat(l,"/")).call(o,s):i()(t="".concat(p,"/f:jpg|png,a:retain,b:fff/")).call(t,s):g(e)},_=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",o=e.key,a=e.src,s=e.thumbnail,u=e.thumbnailKey,c=l?i()(t="".concat(l,"/")).call(t,o):g({key:o,src:a}),d=l?i()(n="".concat(l,"/")).call(n,u):g({key:u,src:s});return"src"===r?c:d},w=function(e){var t=e.height,n=e.imageKey,r=e.width;if(m){var o,a,s,u=encodeURIComponent(n);return i()(o=i()(a=i()(s="".concat(m,"/b:fff,f:jpg,s:cover,w:")).call(s,r,",h:")).call(a,t,"/")).call(o,u)}return(0,c.i3)("partnerContent/".concat(n))},E=function(){var e,t=v||p,n="NBIC_logo_light_bulb.png";return t?i()(e="".concat(t,"/f:png,a:retain,s:cover,w:276,h:160/assets/rise/assets/partner-content/")).call(e,n):(0,c.i3)("partnerContent/".concat(n))},k=function(){var e,t="NBIC_logo_blue.svg";return d?i()(e="".concat(d,"/assets/rise/assets/partner-content/")).call(e,t):(0,c.i3)("partnerContent/".concat(t))}},2242:function(e,t,n){"use strict";var r=n(1465),i=n.n(r),o=n(99993),a=n.n(o),s=n(96249),u=i()(2,(function(e){return a()((0,s.error)(e),(0,s.action)(e))}));t.Z=u},10152:function(e,t,n){"use strict";n.d(t,{RJ:function(){return l},WY:function(){return f},aZ:function(){return h},iq:function(){return m},lX:function(){return p},on:function(){return d}});var r=n(70226),i=n(20780),o=n.n(i),a=n(64393),s=n(35641),u=a.VO?window.env:o()(window.env,{ACCESS_COOKIE_NAME:(0,s.vt)(),REDIRECT_URI:window.location.origin+"/auth-callback"}),c=(0,r.Z)(u),l=c.closeSession,d=c.on,f=c.request,p=c.resetSession,h=c.resumeSession,m=(c.startSession,c.getAuthorizationUrl)},87556:function(e,t,n){"use strict";n.d(t,{T7:function(){return y},bM:function(){return _},tZ:function(){return b}});var r=n(88066),i=n.n(r),o=n(98766),a=n.n(o),s=n(22673),u=n.n(s),c=n(36573),l=n.n(c),d=n(61584),f=n.n(d),p=n(53176),h=n.n(p),m=n(64393),v=n(9988),g=function(e,t){var n,r;return i()(n=i()(r="".concat((0,m.dU)("ID_MAPPER_URI"),"/v1/avatars/")).call(r,encodeURIComponent(e),"?size=")).call(n,t)},y=function(e){return{large:g(e,"large"),medium:g(e,"medium"),micro:g(e,"micro"),mini:g(e,"mini"),small:g(e,"small")}},b=u()({features:h()({},"features"),subscription:f()(["features"])}),_=a()([v.rP,v.Px,l()(v.wz)])},17657:function(e,t,n){"use strict";n.d(t,{LP:function(){return s},WY:function(){return u}});var r=n(64393),i=n(20162),o=n(58983),a=r.VO?o:i,s=(a.callbackComponent,a.callbackPath,a.getToken),u=(a.initAuth,a.login,a.logout,a.request)},41502:function(e,t,n){"use strict";n.d(t,{V:function(){return i},t:function(){return r}});var r="/auth-callback",i="/auth-error"},20162:function(e,t,n){"use strict";n.r(t),n.d(t,{callbackComponent:function(){return fe},callbackPath:function(){return Q},errorPath:function(){return ee},getToken:function(){return te},initAuth:function(){return ue},login:function(){return oe},logout:function(){return ce},request:function(){return H.WY}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(83728),m=n(33938),v=n(63109),g=n.n(v),y=n(88066),b=n.n(y),_=n(61577),w=n.n(_),E=n(69798),k=n.n(E),x=n(54115),S=n.n(x),T=n(50557),C=n.n(T),N=n(13657),O=n.n(N),A=n(81753),P=n.n(A),L=n(6037),I=n.n(L),M=n(67294),R=n(16550),D=n(80129),j=n.n(D),Z=n(71171),B=n.n(Z),F=n(43878),U=n(78453),q=n(64393),z=n(9988),H=n(10152),V=n(35641),W=n(65119),Y=n(87556),G=n(41502),K=n(41697),$=n(66191);function X(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var Q=G.t,ee=G.V,te=V.s4,ne=function(){return window.location.pathname===Q},re=!1,ie=!1,oe=function(){var e=new(w())(window.location.search);return function(e){var t;if(!re){var n=B()();re=!0,window.localStorage.setItem(n,e);var r=(0,H.iq)({client_id:(0,q.dU)("OKTA_CLIENT_ID"),issuer:(0,q.dU)("OIDC_ISSUER_URI"),redirect_uri:b()(t="".concat(window.location.origin)).call(t,Q),response_mode:"fragment",scope:(0,q.dU)("OIDC_SCOPE"),state:n,prompt:null});(0,K.h)().then((function(){window.location.href=r}))}}(e.has("redirect_url")?e.get("redirect_url"):window.location.href)},ae=function(){if(!ie){var e=(0,V.iH)(),t=(0,V.Au)();O()(e)?((0,W.j)({event:"Unexpected Logout",payload:{category:"auth",userId:t,detail:"id from cookie was null"}}),$.v.addError(new Error("Unexpected Logout"),{type:"User Meta",idFromToken:t,idFromCookie:e,detail:"id from cookie was null"}),ie=!0,ce({onLogout:function(){return window.location.reload(!0)},reason:"Unexpected logout: user id/session cookie missing"})):e!==t&&((0,W.j)({event:"Unexpected Logout",payload:{category:"auth",userId:e,idFromToken:t,detail:"Session/Token ID Mismatch"}}),$.v.addError(new Error("Unexpected Logout"),{type:"User Meta",idFromToken:t,idFromCookie:e,detail:"Session/Token ID Mismatch"}),ie=!0,(0,H.lX)().then((function(){return window.location.reload(!0)})))}},se=function(){var e=(0,m.Z)(g().mark((function e(t){var n,r,i,o,a,s,u,c,l,d,f,p,m,v,y;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,H.aZ)();case 3:if(n=e.sent,r=(0,h.Z)(n,4),i=r[1],o=r[2],a=r[3],s=a.aid,(0,W.j)({event:"Setting Session Cookie",payload:{category:"auth",userId:s,detail:"Resuming existing session"}}),(0,V.le)(s),!ne()){e.next=14;break}return t(),e.abrupt("return");case 14:return u=i.first_name,c=i.last_name,l=i.launchdarkly,d=i.staff,f=(0,Y.T7)(s),p={author:s,profile:{avatars:f,first_name:u,user_id:s,last_name:c,staff:d}},m=function(){return ce({onLogout:S()(null)})},v=function(e){return t(J(J(J({},p),(0,Y.tZ)(e)),{},{launchdarkly:l,token:o}))},e.next=22,(0,z.pI)(m).then(I()(v)).catch((function(){return t(J(J({},p),{},{token:o}))}));case 22:if(y=e.sent,!(0,Y.bM)(y)){e.next=28;break}return(0,W.j)({event:"Unexpected Logout",payload:{category:"auth",userId:(0,V.iH)(),subscription:y,detail:"Invalid Subscription"}}),$.v.addError(new Error("Unexpected Logout"),{type:"User Meta",userId:(0,V.iH)(),detail:"Invalid Subscription"}),ce({onLogout:function(){return window.location="".concat((0,q.dU)("THREESIXTY_FRONTEND_URI"),"/rise")}}),e.abrupt("return");case 28:(0,U.Z)(ae),e.next=36;break;case 31:e.prev=31,e.t0=e.catch(0),(0,W.j)({event:"Unexpected Logout",payload:{category:"auth",userId:(0,V.iH)(),error:e.t0,detail:"Error Resuming Session"}}),$.v.addError(e.t0,{type:"User Meta",userId:(0,V.iH)(),detail:"Error Resuming Session"}),ce({onLogout:function(){return window.location.reload(!0)}});case 36:case"end":return e.stop()}}),e,null,[[0,31]])})));return function(t){return e.apply(this,arguments)}}(),ue=function(e){var t=e.onFetchTokens;if(ne())se(t);else{var n=(0,V.iH)(),r=(0,V.Au)();O()(n)||n!==r?(0,K.h)().then(oe):se(t)}},ce=function(e){var t=e.onLogout,n=e.reason;n&&(0,W.j)({event:"Logout",payload:{category:"auth",userId:(0,V.iH)(),detail:n}});var r=(0,q.dU)("RISE_AUTHORING_URI"),i=function(){(0,V.h9)(),(0,V.B7)(),(0,H.RJ)().then(t)};(q.VO?k().resolve():(0,F.Z)({baseURL:r}).send({method:"DELETE",url:"/logout"})).fork((function(e){console.error("Failed to log out of rise-authoring-api",e),i()}),i)},le=C()(j().parse,P()(1,1/0)),de=function(e){var t=e.location;return function(){var e,n,r=t.hash,i=t.pathname,o=le(r),a=o.state,s=o.error,u=o.error_description;s?($.v.addError(s,{type:"Logout Error",reason:"Error encountered when parsing auth callback.",error_description:u}),ce({onLogout:(n=u,function(){var e;return window.location.href=b()(e="".concat(G.V,"?description=")).call(e,n)}),reason:b()(e="Error encountered when parsing auth callback. Error: ".concat(s,"; description: ")).call(e,u)})):ue({onFetchTokens:function(){return e=i,t=a,void(0,K.h)().then((function(){var n=window.localStorage.getItem(t)||"/",r=n===e?"/":n;window.localStorage.removeItem(t),window.location.href=r}));var e,t}})}},fe=(0,R.EN)((function(e){return(0,M.useEffect)(de(e),[]),null}))},58983:function(e,t,n){"use strict";n.r(t),n.d(t,{callbackComponent:function(){return A},callbackPath:function(){return P},getToken:function(){return L},initAuth:function(){return Z},login:function(){return I},logout:function(){return M},request:function(){return T.WY}});var r=n(83728),i=n(33938),o=n(63109),a=n.n(o),s=n(88066),u=n.n(s),c=n(34923),l=n.n(c),d=n(61949),f=n.n(d),p=n(61894),h=n.n(p),m=n(54782),v=n.n(m),g=n(4603),y=n.n(g),b=n(53176),_=n.n(b),w=n(64691),E=n.n(w),k=n(61937),x=n.n(k),S=n(35641),T=n(10152),C=n(41697),N=function(){var e=(0,i.Z)(a().mark((function e(){var t,n,i,o,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,C.h)();case 2:n=h()(encodeURIComponent,E()(["hash","pathname"],window.location)),i=(0,r.Z)(n,2),o=i[0],s=i[1],window.location.href=u()(t="/login#c=".concat(s)).call(t,o);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(){window.location.href="/"},A=null,P=null,L=S.s4,I=N,M=T.RJ,R=y()(_()([],"roles"),x()(f()("author"),O)),D=y()(v()("",["subscription","status"]),x()(f()(l(),["active","in_trial","non_renewing"]),O)),j=function(){return window.location.reload()},Z=function(){var e=(0,i.Z)(a().mark((function e(t){var n,i,o,s,u,c,l,d,f,p,h;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.onFetchTokens,e.prev=1,e.next=4,(0,T.aZ)();case 4:return i=e.sent,o=(0,r.Z)(i,2),s=o[0],u=o[1],c=u.launchdarkly,l=u.riseId,d=u.sub,f=u.staff,p=u.subscription,h={staff:f,user_id:l||d},D(u),n({author:h.user_id,launchdarkly:c,profile:h,subscription:p,token:s}),(0,T.on)("change:roles",R),(0,T.on)("change:status",D),(0,T.on)("change:subdomain",j),(0,T.on)("unauthorized",N),(0,T.on)("session:closed",N),e.abrupt("return",s);case 20:e.prev=20,e.t0=e.catch(1),N();case 23:case"end":return e.stop()}}),e,null,[[1,20]])})));return function(t){return e.apply(this,arguments)}}()},36335:function(e,t,n){"use strict";var r=n(22175);t.Z=(0,r.setup)({el:"__",mod:"--",modValue:"-"})},32673:function(e,t,n){"use strict";n.d(t,{B6:function(){return w},LU:function(){return k},RW:function(){return y},XS:function(){return b},lC:function(){return _}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=(n(44721),n(13192)),m=n.n(h);function v(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var y=m()({BRAND:null,COLOR:null,IMAGE:null,TINT:null}),b=m()({BRANDED:null,UNBRANDED:null}),_=m()({WHITE:null,TRANSPARENT:null}),w=g(g({},{backgroundColor:"",backgroundMode:y.COLOR,cardMode:_.TRANSPARENT,entranceAnimation:!0,paddingBottom:3,paddingTop:3,styleMode:b.BRANDED}),{},{cardMode:_.WHITE});var E={360:{storyline:"#fafafa"},impact:{c:"#ececec",d:"#f5f5f5"},quote:{d:"#f5f5f5"}};function k(e,t){var n,r;return null!==(n=null===(r=E[e])||void 0===r?void 0:r[t])&&void 0!==n?n:"#ffffff"}},89830:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(68420),i=n(27344),o=function(){function e(){(0,r.Z)(this,e)}return(0,i.Z)(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)}}]),e}()},13017:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(88066),i=n.n(r),o=n(67274),a=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)+")"},s=function(e,t){var n=(0,o.Z)(e),r=n[0],i=n[1],s=n[2],u=n[3];return a([r,i,s,null!=t?t:u])},u=function(e){var t,n,r=e.alpha,o=e.color,a=e.url,u=s(o,r);return{backgroundImage:i()(t=i()(n="linear-gradient(0deg,".concat(u,",")).call(n,u,'), url("')).call(t,a,'")')}}},80396:function(e,t,n){"use strict";n.d(t,{AW:function(){return R},Ai:function(){return C},LI:function(){return P},X2:function(){return L},c7:function(){return D},jn:function(){return A},k$:function(){return I},md:function(){return j}});var r=n(83728),i=n(66242),o=n.n(i),a=n(11515),s=n.n(a),u=n(95238),c=n.n(u),l=n(50047),d=n.n(l),f=n(98882),p=n.n(f),h=n(67274),m=n(13192),v=n.n(m),g=n(50557),y=n.n(g),b=n(52892),_=n.n(b),w=n(9443),E=n.n(w),k=n(8240),x=n.n(k),S=n(47176),T=n.n(S),C=v()({NEAR_BLACK:null,DARK:null,MED:null,LIGHT:null}),N=[[32,C.NEAR_BLACK],[64,C.DARK],[128,C.MED],[256,C.LIGHT]],O=function(e){if(!e)return 0;var t=(0,h.Z)(e),n=(0,r.Z)(t,3);return.2126*n[0]+.7152*n[1]+.0722*n[2]},A=function(e){return!!e&&1-O(e)/255>.4},P=function(e){return!!e&&1-O(e)/255>.25},L=function(e,t){var n=function(e){var t,n;if(!e)return null;var r=parseInt(e.substr(1),16);return o()(r)?null:s()(t=s()(n=r.toString(16)).call(n,6,"0")).call(t,7,"#")}(t);return n&&7===n.length?n:e},I=function(e){return function(t){var n,r=c()(n=(0,h.Z)(t)).call(n,0,3),i=e>=0?d()(r).call(r,(function(t){return(1-e)*t+255*e})):d()(r).call(r,(function(t){return(1+e)*t}));return M(i)}},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"#"+d()(e).call(e,(function(e){var t;return s()(t=Math.min(255,Math.max(0,Math.round(e))).toString(16)).call(t,2,"0")})).join("")},R=I(.9),D=(I(-.5),I(-.2)),j=function(e){var t,n=O(e);return null===(t=p()(N).call(N,(function(e){return(0,r.Z)(e,1)[0]>n})))||void 0===t?void 0:t[1]},Z=T()(E()(Number),y()(x(),(function(e){var t,n;return s()(t=s()(n=e.toString(16)).call(n,6,"0")).call(t,7,"#")})));y()(Z,_()("#ff631e"))},41785:function(e,t,n){"use strict";n.d(t,{BL:function(){return a},IU:function(){return o},Jg:function(){return u},Sz:function(){return i},XY:function(){return s}});var r=n(13192),i={validEmail:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,validIframe:/^<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>$/,validUrl:/^(?:(?:(?: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*)?$/},o={ARTICLE:"Article",INTERACTION:"Interaction",QUIZ:"Quiz",VIDEO:"Video"},a="onePage",s={SCROLL:"scroll",SLIDE:"slide"},u=n.n(r)()({COMOVERVIEW:null,COMPACT:null,COVER:null,OVERLAY:null,SIDEBAR:null})},35641:function(e,t,n){"use strict";n.d(t,{Au:function(){return b},B2:function(){return y},B7:function(){return m},F3:function(){return _},NC:function(){return k},gk:function(){return x},h9:function(){return h},iH:function(){return v},jM:function(){return w},le:function(){return p},s4:function(){return g},vt:function(){return d}});var r=n(88066),i=n.n(r),o=n(86869),a=n.n(o),s=n(46489),u=n.n(s),c=(n(61949),n(64393)),l="_articulate_user_id",d=function(){return c.VO?(0,c.dU)("SESSION_COOKIE_NAME"):"_articulate_rise_"},f=function(e,t){var n,r;return i()(n=i()(r="".concat(e,"=")).call(r,t,"; domain=")).call(n,(0,c.dU)("SESSION_COOKIE_DOMAIN"),"; path=/; secure=true")},p=function(e){return document.cookie=f(l,e)},h=function(){return document.cookie="".concat(f(l,""),"; Max-Age=-99999999")},m=function(){return document.cookie="".concat(f("_rise_authoring_api_session",""),"; Max-Age=-99999999")},v=function(){return a().load(l)},g=function(){return a().load(d())},y=function(){return!!g()&&u()(g()).staff},b=function(){return g()?u()(g()).riseId||u()(g()).sub||u()(g()).aid:""},_=function(){return g()?u()(g()).roles:[]},w=function(){return g()?u()(g()).tenantId:""},E=function(){return g()&&u()(g()).subscription||{}},k=function(){return E().plan_id||""},x=function(){return E().status||""}},19585:function(e,t,n){"use strict";n.d(t,{A1:function(){return T},A5:function(){return N},Gp:function(){return S},I:function(){return O},IC:function(){return A},Kz:function(){return L},NG:function(){return B},Vn:function(){return Z},We:function(){return q},gr:function(){return P},tV:function(){return C},tc:function(){return U},xF:function(){return F}});var r=n(44721),i=n.n(r),o=n(36573),a=n.n(o),s=n(46408),u=n.n(s),c=n(23710),l=n.n(c),d=n(13657),f=n.n(d),p=n(4603),h=n.n(p),m=n(52478),v=n.n(m),g=n(62848),y=n.n(g),b=n(67430),_=n.n(b),w=n(69532),E=n(13017),k=n(31454),x=n(41785),S=a()(y()("sidebarMode","hidden")),T=y()("sidebarMode","open"),C=function(e){var t=e.type,n=e.settings;return"quiz"!==t||n.asLesson||void 0===n.asLesson},N=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,c=s?(0,w.xR)(a):u;return c?r?(0,E.Z)({alpha:t/100,color:k.kw,url:c}):{backgroundImage:'url("'.concat(c,'")')}:null},O=function(e){var t;return i()(t=[k._M.DARK,k._M.DARK_ACCENT,k._M.DARK_IMAGE,k.Nu.DARK,k.Jx.DARK,k.Jx.DARK_IMAGE]).call(t,e)},A=h()(v()("lessons"),u()),P=y()("navigationMode",k.$h.RESTRICTED),L=y()("sidebarMode",k.mn.OPEN),I=a()(y()("sidebarMode",k.mn.HIDDEN)),M=y()("navigationType",k.uh.SIDEBAR),R=y()("navigationType",k.uh.OVERLAY),D=y()("navigationType",k.uh.COMPACT),j=l()(_()(f(),"navigation"),I,y()("navigation",!0)),Z=function(e){var t=e.course,n=e.search,r=e.isMobile;return t.type!==x.BL&&((M(t)||D(t)&&!!r)&&j(t)||n.active)},B=function(e){var t=e.course,n=e.isMobile;return D(t)&&j(t)&&!n},F=function(e){var t=e.course;return R(t)&&j(t)},U=function(e){var t;return i()(t=[k._M.DARK_IMAGE,k._M.LIGHT_IMAGE,k.Nu.DARK_IMAGE,k.Nu.IMAGE,k.Jx.DARK_IMAGE,k.Jx.LIGHT_IMAGE]).call(t,e)},q=function(e){var t;return i()(t=[k._M.LIGHT_ACCENT,k._M.DARK_ACCENT]).call(t,e)}},14938:function(e,t,n){"use strict";n.d(t,{Ag:function(){return i},Dq:function(){return o},Ht:function(){return a},j0:function(){return r}});var r="focus-lesson-content",i="preview-open-sidebar-nav",o="preview-open-overlay-nav",a="preview-close-overlay-nav"},66191:function(e,t,n){"use strict";n.d(t,{f:function(){return h.fy},v:function(){return m.v}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(1908),m=n(67337),v=n(92784),g=n(64393);function y(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var _="datadoghq.com",w=(0,g.dU)("SERVICE_ENV"),E=(0,g.dU)("RISE_FRONTEND_MANIFEST_SHA"),k=g.VO?[/https:\/\/.*(\.dev)?\.rise\.(com|zone).*/,location.origin]:[/https:\/\/(rise(\.dev)?|360)\.articulate\.(com|zone).*/];m.v.init({applicationId:"0bee3e39-361c-4a5d-8329-f815a0449459",clientToken:"pubf65cd823927d3be4c9fa1d9575b98520",site:_,service:(0,g.dU)("SERVICE_PRODUCT"),version:E,env:w,sampleRate:100,trackInteractions:!0,allowedTracingOrigins:k,beforeSend:function(e){e.context=b(b({},e.context),{},{managePrefs:{display:(0,v.le)("displayPreference")||"BLOCKS",sort:(0,v.le)("displaySortPreference")||"RECENT",transferredSort:(0,v.le)("displaySortTransferredPreference")||"FOLDER"}})}}),h.fy.init({clientToken:"pub10f6eefe0a6673ea57fd1872cfbeed7d",site:_,service:"rise-frontend",version:E,env:w,forwardErrorsToLogs:!1,sampleRate:100,beforeSend:function(e){if(e.http&&0===e.http.status_code)return!1}}),h.fy.addLoggerGlobalContext("product",(0,g.dU)("SERVICE_PRODUCT"))},60355:function(e,t,n){"use strict";var r=n(19575),i=n(50557),o=n.n(i),a=n(47176),s=n.n(a)()((function(e){return void 0!==e}),o()(JSON.parse,r.Base64.decode));t.Z=s},97236:function(e,t,n){"use strict";n.d(t,{m$:function(){return L}});var r,i,o=n(88066),a=n.n(o),s=n(30699),u=n.n(s),c=n(23018),l=n.n(c),d=n(36573),f=n.n(d),p=n(46376),h=n.n(p),m=n(77414),v=n.n(m),g=n(61894),y=n.n(g),b=n(51493),_=n.n(b),w=n(4603),E=n.n(w),k=n(84585),x=n.n(k),S=n(52478),T=n.n(S),C=n(64393),N="Accessibility",O=function(e){return e.title===N},A=f()(O),P=[{title:"Course Overview",labels:a()(r=[{name:"courseStart",text:"START COURSE"},{name:"courseResume",text:"RESUME COURSE"}]).call(r,C.VO?[]:[{name:"courseDetails",text:"DETAILS"}])},{title:"Global",labels:a()(i=[{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(i,C.VO?[{name:"courseFinish",text:"Finish"}]:[])},{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."}]},{title:N,labels:[{name:"overviewPageTitleSuffix",text:"Overview Page Title"},{name:"lessonHeaderLandmark",text:"Lesson Header"},{name:"timelineLandmark",text:"Timeline"},{name:"timelineCardGroupPrefix",text:"Timeline Card"},{name:"labeledGraphicMarkerLabel",text:"Labeled graphic marker"},{name:"labeledGraphicBubbleLabel",text:"Labeled graphic bubble"},{name:"labeledGraphicPreviousMarkerLabel",text:"Previous marker"},{name:"labeledGraphicNextMarkerLabel",text:"Next marker"},{name:"audioPlayerGroup",text:"Audio player. You can use the space bar to toggle playback and arrow keys to scrub."},{name:"seekSliderLabel",text:"Seek"},{name:"playButtonLabel",text:"Play"},{name:"pauseButtonLabel",text:"Pause"},{name:"videoPlayerGroup",text:"Video player. You can use the space bar to toggle playback and arrow keys to scrub."},{name:"embedPlayerGroup",text:"Embedded media player"},{name:"embedPhotoGroup",text:"Embedded photo"},{name:"embedLinkGroup",text:"Embedded web content"},{name:"embedVideoGroup",text:"Embedded video"},{name:"noteGroup",text:"Note"},{name:"statementGroup",text:"Statement"},{name:"numberedListGroup",text:"Numbered list"},{name:"checkboxListGroup",text:"Checkbox list"},{name:"bulletedListGroup",text:"Bulleted list"},{name:"quoteGroup",text:"Quote"},{name:"lessonContentLandmark",text:"Lesson Content"},{name:"imageGalleryGroup",text:"Image gallery"},{name:"imageAndTextGroup",text:"Image and text"},{name:"textOnImageGroup",text:"Text on image"},{name:"attachmentGroup",text:"File Attachment"},{name:"codeGroup",text:"Code"},{name:"numberedDividerGroup",text:"Numbered divider"},{name:"accordionGroup",text:"Accordion"},{name:"tabGroup",text:"Tab"},{name:"flashcardStackGroup",text:"Flashcard stack"},{name:"flashcardGridGroup",text:"Flashcard grid"},{name:"buttonGroup",text:"Button"},{name:"buttonStackGroup",text:"Button stack"},{name:"knowledgeCheckGroup",text:"Knowledge check"},{name:"storylineGroup",text:"Storyline"},{name:"processLandmark",text:"Process"},{name:"quizLandmark",text:"Quiz"},{name:"labeledGraphicLandmark",text:"Labeled Graphic"},{name:"sortingLandmark",text:"Sorting Activity"},{name:"urlEmbedLandmark",text:"URL/Embed"},{name:"flashcardFrontLabel",text:"Flashcard front"},{name:"flashcardBackLabel",text:"Flashcard back"},{name:"previousFlashCardLabel",text:"Previous flashcard"},{name:"nextFlashCardLabel",text:"Next flashcard"},{name:"feedbackGroup",text:"Feedback"}]}],L=(E()(h()(O),T()("labels"),x()("name"))(P),E()(y()(T()("labels")),v(),y()((function(e){var t={};return t[e.name]=e.text,t})),_())(P));u()(P).call(P,l()(A,(function(e){var t=e.title;return!C.VO||"Exit Course (LMS)"!==t})))},81996:function(e,t,n){"use strict";n.d(t,{Tl:function(){return a},V:function(){return o}});var r=n(95238),i=n.n(r),o=(n(416),function(e){return function(){return document.querySelector(e)}}),a=function(e){return i()(Array.prototype).call(e)}},5992:function(e,t,n){"use strict";n.d(t,{B:function(){return f}});var r=n(95238),i=n.n(r),o=n(79927),a=n.n(o),s=n(50557),u=n.n(s),c=n(64393),l=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return i()(e=t.split(".")).call(e,-2).join(".")},d=u()(l,c.dU),f=function(e){if(!e||p(e))return!1;"//"===i()(e).call(e,0,2)&&(e="https:".concat(e));try{var t=new(a())(e).hostname,n=l(t);return n!==d("ARTICULATE_DOMAIN")&&n!==d("RISE_DOMAIN")}catch(e){return!1}},p=function(e){return!!e&&"mailto:"===i()(e).call(e,0,7)}},85715:function(e,t,n){"use strict";var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(88066),m=n.n(h),v=n(42825),g=n.n(v),y=n(94066),b=n.n(y),_=n(64057),w=n.n(_),E=n(71066),k=n.n(E),x=n(22673),S=n.n(x),T=n(99993),C=n.n(T),N=n(85745),O=n.n(N),A=n(54405),P=n.n(A),L=n(9134),I=n.n(L),M=n(97877),R=n.n(M),D=n(23710),j=n.n(D),Z=n(13657),B=n.n(Z),F=n(144),U=n.n(F),q=n(54782),z=n.n(q),H=n(5206),V=n.n(H),W=n(4603),Y=n.n(W),G=n(52478),K=n.n(G),$=n(1465),X=n.n($),J=n(61937),Q=n.n(J),ee=n(47176),te=n.n(ee),ne=n(96249),re=n(31826),ie=n(17657),oe=n(64393),ae=n(66191);function se(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}var ue=I()(P()),ce=function(e){return function(t){var n;return m()(n="".concat(e,"/")).call(n,t.id)}},le=function(e,t){return S()(function(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){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):se(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}({data:(0,ne.action)(t),method:"POST",url:(0,re.g8)(ue("/".concat(t)),K()("url"),e)},V()(["headers","withCredentials"],e)))},de=function(e){return function(t,n){return w()(t,ce(n),ve(e,n))}},fe=function(){return!oe.VO&&B()((0,ie.LP)())},pe=function(e){var t=new Error("Nil token detected");return ae.v.addError(t,e),b().Rejected(t)},he=function(e){return function(t){return function(n){return function(r){return(0,re.qT)(r,le(t,n),j()(fe,pe,e),C()(function(e){return Y()(z()({},["response","data"]),Q()(K()("type"),(0,ne.error)(e)))}(n),te()(R()("data"),K()("data"))),O()(j()(K()("error"),b().Rejected,b().of)),function(e,t){return function(n){return e.postRequest?e.postRequest(t,n):n}}(t,{type:n,payload:r}))}}}},me=b().fromPromise((function(e){var t=e.url,n=e.method,r=e.data;return fetch(t,{method:n,credentials:"include",headers:{"Content-Type":"application/json"},body:g()(r),keepalive:!0}).then((function(e){return e.json()})).then(U()("data"))})),ve=X()(3,he(ie.WY)),ge=X()(3,he(me)),ye=function(e){return function(t,n){return k()(t,ce(n),ve(e,n))}};t.Z=function(e){return{debounce:de(e),send:ve(e),fetchWithKeepAlive:ge(e),throttle:ye(e)}}},97076:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},b:function(){return o}});var r=n(30381),i=n.n(r),o=function(e){if(!e)return"";var t=i()(e),n=i()(),r=i()(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"))},a=function(e){return i()(e).isSameOrBefore(i()().add(3,"d"),"days")}},53454:function(e,t,n){"use strict";n.d(t,{OR:function(){return C},vE:function(){return N}});var r=n(66497),i=n.n(r),o=n(50557),a=n.n(o),s=(n(33784),n(17794),n(14087)),u=n.n(s),c=n(416),l=n.n(c),d=n(54782),f=n.n(d),p=n(4603),h=n.n(p),m=n(52478),v=n.n(m),g=n(8727),y=n.n(g),b=n(5683),_=n.n(b),w=n(73495),E=n.n(w),k=n(41785),x=n(65194),S=k.Sz.validIframe,T=k.Sz.validUrl,C=(i()("type","embed"),y()("type","embedType"),_()(/http:/i,"https:"),h()(f()({},[0]),u()(l()(["media","embed","embedType"]),l()(["media","embed","type"])))),N=u()(v()("embedType"),v()("type"));u()(a()(E()(S),x.zZ),E()(T))},46130:function(e,t,n){"use strict";n.d(t,{Py:function(){return o},oZ:function(){return i}});var r=n(6037),i=(n.n(r)()((function(e){return e.preventDefault()})),function(e){return function(t){return e(t),t.preventDefault()}}),o=function(e){return function(t){e(t),t.preventDefault(),function(e){e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}(t)}}},46412:function(e,t,n){"use strict";n.d(t,{Dw:function(){return w},EN:function(){return b},Ki:function(){return _},s_:function(){return E}});var r=n(56169),i=n.n(r),o=n(46164),a=n.n(o),s=n(53485),u=n.n(s),c=n(99062),l=n.n(c),d=n(27632),f=n.n(d),p=n(99325),h=n.n(p),m=n(72956),v=n.n(m),g=n(47176),y=n.n(g),b=h()(l()),_=y()(l(),(function(){return{}})),w=h()(u()),E=a()(i()(w),i()(f()));v()(E)},37787:function(e,t){"use strict";t.Z=function(e,t){return window.courseData?e(window.courseData):window.course?{course:e(window.course),media:[]}:t}},61848:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=function(e){return"<p><br></p>"===e?"":e}},31826:function(e,t,n){"use strict";n.d(t,{ZT:function(){return h},g8:function(){return f},qT:function(){return p}});var r=n(86302),i=n(50557),o=n.n(i),a=(n(17794),n(50898)),s=n.n(a),u=n(27601),c=n.n(u),l=n(4603),d=n.n(l),f=(n(96828),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o().apply(void 0,(0,r.Z)(s()(1,t)))(c()(t))}),p=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 d().apply(void 0,n)(e)},h=Function.prototype},1897:function(e,t){"use strict";t.Z=function(e){return e.displayName||e.name||"Component"}},55109:function(e,t,n){"use strict";n.d(t,{WY:function(){return C}});var r=n(59104),i=n.n(r),o=n(42825),a=n.n(o),s=n(69798),u=n.n(s),c=n(16896),l=n.n(c),d=n(30269),f=n.n(d),p=n(60740),h=n.n(p),m=n(9386),v=n.n(m),g=n(52892),y=n.n(g),b=n(12601),_=n.n(b),w=n(8240),E=n.n(w),k=n(35641);function x(e,t){return void 0===t?e:t}f()(v()((function(e,t){var n,r,o=t.split("=");return l()(i()(n=o[0]).call(n),i()(r=o[1]).call(r),e)}),{}),_()(/; */));function S(e,t){var n,r,o=t.indexOf(":"),a=i()(n=t.substr(0,o)).call(n).toLowerCase(),s=i()(r=t.substr(o+1)).call(r);return a&&(e[a]=e[a]?e[a]+", "+s:s),e}function T(e){return e?e.split("\n").reduce(S,{}):{}}function C(e){var t=e.data,n=x(h(),e.deserialize),r=x({},e.headers),i=x(!1,e.json),o=x(!1,e.jwt),s=x(null,e.token),c=x("GET",e.method),l=e.onUploadProgress,d=x(h(),e.serialize),f=e.url,p=x(!1,e.withCredentials),m=e.file,v=new XMLHttpRequest;if(v.withCredentials=p,i&&(n=JSON.parse,d=a(),r["Content-Type"]="application/json"),o){var g=s||(0,k.s4)();r.Authorization="Bearer "+g}"GET"===c&&t&&(f+="?"+function(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}(t));var y=new(u())((function(e,i){for(var o in v.addEventListener("abort",i),v.addEventListener("error",i),v.addEventListener("load",(function(){v.status>=400?i(n(v.response)):e({body:n(v.response),headers:T(v.getAllResponseHeaders()),status:v.status})})),v.upload&&"function"==typeof l&&v.upload.addEventListener("progress",l),v.open(c,f),r)v.setRequestHeader(o,r[o]);"GET"!==c&&t?v.send(d(t)):m?v.send(m):v.send()}));return y.abort=v.abort.bind(v),y}f()(E(),y()(""))},65194:function(e,t,n){"use strict";n.d(t,{Kp:function(){return b},Vt:function(){return y},zZ:function(){return g}});var r=n(54115),i=n.n(r),o=n(9134),a=n.n(o),s=n(69105),u=n.n(s),c=n(23710),l=n.n(c),d=n(38289),f=n.n(d),p=a()(f()),h=p({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"]}),m=p({allowedAttributes:{iframe:["align","allow","allowfullscreen","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","width"]},allowedTags:["iframe"],allowedSchemes:["http","https"]}),v=l()(u(),h,i()("")),g=l()(u(),m,i()("")),y=p({allowedTags:[],allowedAttributes:[]}),b=p({allowedTags:["mark"],allowedAttributes:[]});t.ZP=v},48277:function(e,t,n){"use strict";n.d(t,{NQ:function(){return C},b3:function(){return T},hQ:function(){return S},qU:function(){return N}});var r=n(95238),i=n.n(r),o=n(54115),a=n.n(o),s=n(50557),u=n.n(s),c=n(61949),l=n.n(c),d=n(51481),f=n.n(d),p=n(23710),h=n.n(p),m=n(27601),v=n.n(m),g=n(4603),y=n.n(g),b=n(53176),_=n.n(b),w=n(12601),E=n.n(w),k=n(65194),x=u()(l()(".svg"),_()("","originalUrl")),S=h()(x,a()({width:"500rem"}),a()({})),T=function(e){var t=e.alt,n=e.caption,r=e.fileName,o=e.key;if('""'===t)return"";if(t)return t;if(n){var a=(0,k.Vt)(n);if(a)return a}if(r)return r;if(o){var s,u=i()(s=o.split("/")).call(s,-1)[0];if(u)return u}},C=function(e){return e&&'""'!==e?e:void 0},N=function(e){return e?"img":void 0},O=function(e){return y()(_()("","originalUrl"),E()("."),v(),f()(e))};O("svg"),O("gif")},78892:function(e,t,n){"use strict";n.d(t,{Dw:function(){return a.Dw},Gf:function(){return r.Z},LI:function(){return o.LI},b5:function(){return s.b5},jn:function(){return o.jn},lh:function(){return i.Z},md:function(){return s.md},yE:function(){return u.yE}});var r=n(1897),i=n(44413),o=(n(38620),n(80396)),a=n(46412),s=n(42159),u=n(23301)},11525:function(e,t,n){"use strict";var r=n(43083),i=n.n(r);i().dynamicDrop(!0),t.Z=i()},12868:function(e,t,n){"use strict";n.d(t,{$Y:function(){return Z},$o:function(){return P},Fi:function(){return V},IA:function(){return L},ID:function(){return F},IU:function(){return U},Jr:function(){return H},Ru:function(){return q},Uf:function(){return j},V4:function(){return M},V8:function(){return R},Zt:function(){return A},_4:function(){return B},id:function(){return O},ke:function(){return z},mJ:function(){return D},r$:function(){return N},up:function(){return I}});var r=n(60488),i=n.n(r),o=n(54366),a=n.n(o),s=n(17794),u=n.n(s),c=n(61949),l=n.n(c),d=n(3087),f=n.n(d),p=n(47176),h=n.n(p),m=n(14087),v=n.n(m),g={keys:["End"],keyCode:a().KEY_END},y={keys:["Enter"],keyCode:a().KEY_RETURN},b={keys:["Home"],keyCode:a().KEY_HOME},_={keys:["Tab"],keyCode:a().KEY_TAB},w={keys:[" "],keyCode:a().KEY_SPACE},E={keys:["Escape","Esc"],keyCode:a().KEY_ESCAPE},k={keys:["ArrowUp"],keyCode:a().KEY_UP},x={keys:["ArrowDown"],keyCode:a().KEY_DOWN},S={keys:["ArrowLeft"],keyCode:a().KEY_LEFT},T={keys:["ArrowRight"],keyCode:a().KEY_RIGHT},C=function(e){var t=e.keyCode,n=i()(e);return function(e){return e.keyCode?e.keyCode===t:l()(e.key,n)}},N=(C(g),C(y)),O=(C(b),C(_)),A=C(w),P=C(E),L=C(k),I=C(x),M=C(S),R=C(T),D=v()(I,R),j=v()(A,N),Z=(v()(O,N),v()(R,L)),B=v()(M,I),F=v()(L,I),U=v()(L,M),q=h()(j),z=f()((function(e,t){0!==e.scrollTop&&(t.preventDefault(),e.scrollTop-=25)})),H=f()((function(e,t,n){t&&(n.preventDefault(),e.scrollTop+=25)})),V=function(e,t){return function(n){var r=H(e,t),i=z(e);u()([[I,r],[L,i]])(n)}}},23106:function(e,t,n){"use strict";n.d(t,{Jv:function(){return d},T4:function(){return c},eP:function(){return l},jx:function(){return p},nu:function(){return m},sk:function(){return h}});var r=n(13192),i=n.n(r),o=n(40437),a=n.n(o),s=n(62848),u=n.n(s),c={LESSON:"lesson",QUIZ:"quiz",SECTION:"section"},l=i()({ENROLLMENT:null,ORDER:null,QUIZ:null}),d=function(e){return"/lessons/".concat(encodeURIComponent(e))},f=u()("type"),p=f(c.SECTION),h=f(c.QUIZ),m=a()(["settings","passToContinue"],!0)},42159:function(e,t,n){"use strict";n.d(t,{Cm:function(){return Ie},Nl:function(){return Te},P4:function(){return Ne},T5:function(){return ke},Z:function(){return Oe},b5:function(){return Le},m5:function(){return Se},md:function(){return Ae},wd:function(){return xe},yV:function(){return Ee}});var r=n(95238),i=n.n(r),o=n(51446),a=n.n(o),s=n(19996),u=n.n(s),c=n(83728),l=n(44845),d=n(12088),f=n.n(d),p=n(53592),h=n.n(p),m=n(50047),v=n.n(m),g=n(34923),y=n.n(g),b=n(82515),_=n.n(b),w=n(22626),E=n.n(w),k=n(54115),x=n.n(k),S=n(78095),T=n.n(S),C=n(75748),N=n.n(C),O=(n(36573),n(50557)),A=n.n(O),P=n(61949),L=n.n(P),I=n(3087),M=n.n(I),R=n(2220),D=n.n(R),j=n(51481),Z=n.n(j),B=n(51383),F=n.n(B),U=n(53523),q=n.n(U),z=n(9134),H=n.n(z),V=n(425),W=n.n(V),Y=n(23710),G=n.n(Y),K=n(73411),$=n.n(K),X=n(27938),J=n.n(X),Q=n(90368),ee=n.n(Q),te=n(24234),ne=n.n(te),re=n(97560),ie=n.n(re),oe=n(61894),ae=n.n(oe),se=n(4603),ue=n.n(se),ce=n(56396),le=n.n(ce),de=n(99072),fe=n.n(de),pe=n(98313),he=n.n(pe);function me(e,t){var n=void 0!==a()&&u()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return ve(e,t);var r=i()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return h()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ve(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 s,c=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){l=!0,s=e},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw s}}}}function ve(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 ge=function(e){return-1===e},ye=M()((function(e,t,n){return _()(e,n,t)})),be=D()(3,(function(e,t,n){return n[e]==t})),_e=(D()(3,(function(e,t,n){return ue()(q()(be("id",t)),G()(ge,x()(n),ye(e,n)))(n)})),D()(3,(function(e,t,n){return J()(t,n[e],fe()(e,1,n))})),M()((function(e,t,n){var r;return f()([],n,(r={},(0,l.Z)(r,e,n[t]),(0,l.Z)(r,t,n[e]),r))}))),we=E()((function(e){var t=(0,c.Z)(e,2),n=t[0],r=t[1];return Z()(Number(n),Number(r))})),Ee=A()(we,he()),ke=function(e){return function(t,n){var r=(0,c.Z)(n,2),i=r[0],o=r[1],a=$()(Number(i),t),s=$()(Number(o),e);return a===s?t:_e(a,s,t)}},xe=A()(le()(0),ne());function Se(e,t){var n,r=[],i=me(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}var Te=D()(2,(function(e,t){return A()(W(),ae()(_()(e,1)),he())(t)})),Ce=D()(2,(function(e,t){return A()(W(),F()(N()(e)),he())(t)})),Ne=D()(2,(function(e,t){return A()(ee(),Ce((function(e,n){return t(n)})))(e)})),Oe=D()(2,(function(e,t){return F()(A()(H()(L())(t),e))})),Ae=T()(ie()(y(),0)),Pe=A()(h(),Array),Le=M()((function(e,t){var n;return v()(n=Pe(t)).call(n,(function(){return e}))})),Ie=M()((function(e,t,n,r){var i;return v()(i=Pe(n)).call(i,(function(n,i){return i===r?t:e}))}))},73188:function(e,t,n){"use strict";n.d(t,{_:function(){return C}});var r=n(88066),i=n.n(r),o=n(69798),a=n.n(o),s=n(50047),u=n.n(s),c=n(50557),l=n.n(c),d=n(54405),f=n.n(d),p=n(9134),h=n.n(p),m=n(18231),v=n.n(m),g=n(90368),y=n.n(g),b=n(61894),_=n.n(b),w=(n(33411),n(37347)),E=n.n(w),k=(n(75933),n(64393)),x=(_()(h()(f())(":".concat("n3,n4,i4,n7,n9"))),l()(v()(","),y()),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)}))}),S=function(e,t){var n,r,o,a=document.createElement("style");return a.innerText=i()(n=i()(r=i()(o="@font-face { font-family: '".concat(t.name,"'; src: ")).call(o,e,"; font-weight: ")).call(r,t.weight,"; font-style: ")).call(n,t.style,"; }"),document.head.appendChild(a),new(E())(t.name,{style:t.style,weight:t.weight}).load()},T=function(e){var t="url(".concat((0,k.eg)(e),") format('woff')");return("fonts"in document?x:S)(t,e)},C=function(e,t){var n,r=a().all(u()(e).call(e,T)),i=new(a())((function(e){n=setTimeout(e,5e3)}));return a().race([r,i]).finally((function(){clearTimeout(n),t()}))}},92784:function(e,t,n){"use strict";n.d(t,{le:function(){return c}});var r=n(86869),i=n.n(r),o=n(32207),a=n.n(o),s=(0,n(64393).dU)("SESSION_COOKIE_DOMAIN"),u=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}}(),c=function(e){return u?window.localStorage.getItem(e):null};a()((function(e,t){return function(e,t){if(!u)return null;window.localStorage.setItem(e,t)}(e,t),i().save(e,t,{domain:s}),t}))},44413:function(e,t,n){"use strict";var r=n(67294),i=n(3087),o=n.n(i),a=n(3522),s=n.n(a),u=n(53735),c=n.n(u),l=function(e,t){return r.createElement("mark",{key:t},e)};t.Z=o()((function(e,t){return c()(new RegExp(s()(t),"igm"),l,e)}))},65635:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});var r={"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"},i=function(e){return r[e]||""}},1187:function(e,t,n){"use strict";n.d(t,{$Z:function(){return f},B6:function(){return p},Z2:function(){return c},a7:function(){return d},gi:function(){return u},hV:function(){return l}});var r=n(73126),i=n(19585),o=n(32922),a=n(68339),s=n(67294);function u(){return(0,a.kS)(960)}var c=(0,a.$$)(960,"isMobile","Mobile");function l(e){function t(t){var n,a,c,l=(n=(0,o.Tn)(),a=u(),c=(0,o.Rx)(),(0,i.Vn)({course:n,isMobile:a,search:c}));return s.createElement(e,(0,r.Z)({},t,{sidebarAvailable:l}))}return t.displayName="withNavSidebarAvailable(".concat(e.displayName||e.name,")"),t}function d(){var e=(0,o.Tn)(),t=u();return(0,i.NG)({course:e,isMobile:t})}function f(e){function t(t){var n=d();return s.createElement(e,(0,r.Z)({},t,{compactAvailable:n}))}return t.displayName="withNavCompactAvailable(".concat(e.displayName||e.name,")"),t}function p(e){function t(t){var n,a,c=(n=(0,o.Tn)(),a=u(),(0,i.xF)({course:n,isMobile:a}));return s.createElement(e,(0,r.Z)({},t,{overlayAvailable:c}))}return t.displayName="withNavOverlayAvailable(".concat(e.displayName||e.name,")"),t}},23301:function(e,t,n){"use strict";n.d(t,{li:function(){return i},yE:function(){return o}});var r=n(3087),i=(n.n(r)()((function(e,t,n){return n>=e&&n<t})),function(e){return e<10?"0".concat(e):String(e)}),o=function(e){return Intl.NumberFormat(void 0,{style:"percent",maximumFractionDigits:2}).format(e)}},31811:function(e,t,n){"use strict";n.d(t,{Km:function(){return I}});var r=n(53007),i=n.n(r),o=n(50557),a=n.n(o),s=n(17794),u=n.n(s),c=n(3087),l=n.n(c),d=n(425),f=n.n(d),p=n(69105),h=n.n(p),m=n(90368),v=n.n(m),g=n(24234),y=n.n(g),b=n(61894),_=n.n(b),w=n(4603),E=n.n(w),k=(n(52478),n(98313)),x=n.n(k),S=(n(33411),n(93530)),T=n.n(S),C=n(27632),N=n.n(C),O=n(11865),A=n.n(O),P=n(68929),L=n.n(P),I=(l()((function(e,t){return E()(x(),_()(e),f())(t)})),a()(y(),v())),M=function(e,t,n){var r={};for(var i in n)r[e(i)]=t(n[i]);return r},R=u()([[N(),function(e){return M(L(),R,e)}],[T(),function(e){return _()(R,e)}],[i(),h()]]),D=u()([[N(),function(e){return M(A(),D,e)}],[T(),function(e){return _()(D,e)}],[i(),h()]])},78453:function(e,t,n){"use strict";var r=n(47176),i=n.n(r),o=function(){return"visible"===document.visibilityState};t.Z=function(e){document.addEventListener("visibilitychange",function(e){return i()(o,(function(){return e()}))}(e)),window.addEventListener("focus",(function(){return e()}))}},49269:function(e,t,n){"use strict";var r=n(5778),i=n(83854),o=n(85429),a=n(6518),s=n(8762),u=n(17161),c=n(21910),l=n(3992),d=n(43420),f=n(18059),p=n(75058),h=n(62718),m=n(13708),v=n(9231),g=n(51131),y=n(87922);t.Z={ar:r,cs:i,de:o,en:a,es:s,fr:u,it:c,ja:l,nl:d,pl:f,sk:p,tr:h,"pt-BR":m,"pt-PT":v,"zh-CN":g,"zh-TW":y}},21995:function(e,t,n){"use strict";n.d(t,{k:function(){return b}});var r=n(85745),i=n.n(r),o=n(50557),a=n.n(o),s=n(54405),u=n.n(s),c=n(54782),l=n.n(c),d=n(53176),f=n.n(d),p=n(90086),h=n.n(p),m=n(31826),v=l()([],["items"]),g=a()(i()((function(e){var t=e.partnerContentId;return t&&[t]||[]})),v),y=a()(i()(g),v),b=function(e){var t=e.course,n=e.lessons,r=i()(y,n),o=f()(null,"partnerContentId",t),a=o?[o]:[];return(0,m.qT)(r,u()(a),h())}},75781:function(e,t,n){"use strict";n.d(t,{J_:function(){return V},w4:function(){return H}});var r=n(45582),i=n.n(r),o=n(66497),a=n.n(o),s=n(36573),u=n.n(s),c=n(50557),l=n.n(c),d=n(47166),f=n.n(d),p=n(51383),h=n.n(p),m=n(9134),v=n.n(m),g=n(13657),y=n.n(g),b=n(90368),_=n.n(b),w=n(24234),E=n.n(w),k=n(13207),x=n.n(k),S=n(1102),T=n.n(S),C=n(4603),N=n.n(C),O=n(52478),A=n.n(O),P=n(62848),L=n.n(P),I=n(20793),M=n.n(I),R=n(5994),D=n.n(R),j=n(33411),Z=n.n(j),B=n(47176),F=n.n(B),U=u()(y()),q=i()(M()),z=function(e){var t=e.key,n=e.percent;return function(e){return a()(n,N()(A()("items"),Z(),h()(L()(t,!0)),E(),v()(f())(l()(E(),_(),A()("items"))(e)),T()(100),Math.round)(e),e)}},H=(q((function e(t,n,r){var i=n.id,o=n.items;return N()(a()(i,{index:r}),F()((function(){return U(o)}),(function(t){return D()(x()([i,"items"]),q(e,{},o))(t)})))(t)}),{}),z({key:"isComplete",percent:"percentComplete"})),V=z({key:"isViewed",percent:"percentViewed"})},60818:function(e,t,n){"use strict";n.d(t,{KB:function(){return ai},W5:function(){return oi},qJ:function(){return si}});var r=n(44845),i=n(37990),o=n.n(i),a=n(53007),s=n.n(a),u=(n(57735),n(54115)),c=n.n(u),l=(n(78095),n(98766),n(50557)),d=n.n(l),f=n(17794),p=n.n(f),h=n(61949),m=n.n(h),v=n(51383),g=n.n(v),y=n(46376),b=n.n(y),_=n(53523),w=n.n(_),E=n(77414),k=n.n(E),x=n(9134),S=n.n(x),T=n(69105),C=n.n(T),N=n(23710),O=n.n(N),A=n(42157),P=n.n(A),L=n(13657),I=n.n(L),M=n(61894),R=n.n(M),D=n(4603),j=n.n(D),Z=n(84585),B=n.n(Z),F=n(52478),U=n.n(F),q=n(62848),z=n.n(q),H=n(67430),V=n.n(H),W=n(63266),Y=n.n(W),G=(n(67031),n(33411),n(3522),n(89356)),K=n.n(G),$=n(63263),X=n.n($),J=n(30699),Q=n.n(J),ee=n(58377),te=n.n(ee),ne=n(13038),re=n.n(ne),ie=n(86302),oe=n(73126),ae=n(50047),se=n.n(ae),ue=n(88066),ce=n.n(ue),le=n(44721),de=n.n(le),fe=n(94184),pe=n.n(fe),he=(n(63073),n(45582)),me=n.n(he),ve=n(15636),ge=n.n(ve),ye=(n(88524),n(24234),n(56396),n(20793)),be=n.n(ye),_e=(n(16392),n(65814),n(29454),n(43656),n(67294)),we=(n(191),n(2562)),Ee=n(89576),ke=n.n(Ee),xe=n(66497),Se=n.n(xe),Te=n(79098),Ce=n.n(Te),Ne=n(54405),Oe=n.n(Ne),Ae=n(40731),Pe=n.n(Ae),Le=n(73411),Ie=n.n(Le),Me=n(1667),Re=n.n(Me),De=n(8240),je=n.n(De),Ze=n(50898),Be=n.n(Ze),Fe=n(27601),Ue=n.n(Fe),qe=(n(96828),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 j().apply(void 0,n)(e)}),ze=Re()(d()(je(),U()("title"))),He=function e(t){return function(n){var r=b()(z()("id",n),t),i=qe(t,Ce()(O()(z()("parentId",n),j()(U()("id"),e(t)),c()([]))),ze);return Se()("subfolders",i,r)}},Ve=j()((function(e){var t=Pe()(U()("id"),e||[]);return be()(function(e){return function(t,n){return e[n.parentId]?t:ke()(n,t)}}(t),[],e)}),B()(["id"])),We=j()((function(e){return{folders:e,ids:Ve(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 d().apply(void 0,(0,ie.Z)(Be()(1,t)))(Ue()(t))}(ze,R()(He(t)),n)})),Ye="owner",Ge="manager",Ke="editor",$e="viewer",Xe=[$e,Ke,Ge,Ye],Je=function(e){var t=e.effectiveRole,n=e.requiredRole;return Ie()(t,Xe)>=Ie()(n,Xe)},Qe=n(83728),et=n(26047),tt=n(95238),nt=n.n(tt),rt=n(53592),it=n.n(rt),ot=n(51446),at=n.n(ot),st=n(19996),ut=n.n(st),ct=n(13535),lt=n.n(ct),dt=n(68420),ft=n(27344),pt=n(90306),ht=n(3020),mt=n(3362),vt=n(90),gt=n.n(vt),yt=n(54991),bt=n.n(yt),_t=n(12088),wt=n.n(_t),Et=n(23493),kt=n.n(Et),xt=n(61584),St=n.n(xt),Tt=n(5281),Ct=n(97877),Nt=n.n(Ct),Ot=n(9443),At=n.n(Ot),Pt=n(96942),Lt=n.n(Pt),It=n(73935);function Mt(e){var t=function(){if("undefined"==typeof Reflect||!lt())return!1;if(lt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(lt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,mt.Z)(e);if(t){var i=(0,mt.Z)(this).constructor;n=lt()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ht.Z)(this,n)}}var Rt=p()([[At()(String),C()],[I(),c()(void 0)],[Nt()("displayName"),U()("displayName")],[Nt()("name"),U()("name")],[s(),c()("Component")]]),Dt=St()(["enableClickOutside","hideScroll","onClickOutside","preventDefault","stopPropagation"]),jt=function(e){(0,pt.Z)(n,e);var t=Mt(n);function n(){var e,r;(0,dt.Z)(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,ce()(e=[this]).call(e,o))).onBodyMouseDownDelegate=r.onBodyMouseDown.bind((0,Tt.Z)(r)),r.onBodyClickDelegate=r.onBodyClick.bind((0,Tt.Z)(r)),r.addDomEvents(),r}return(0,ft.Z)(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 _e.createElement(e,Dt(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,It.findDOMNode)(this);return t&&!this.cancel&&null!==n&&n!==e&&!n.contains(e)}}]),n}(_e.Component);jt.defaultProps={onClickOutside:c()(),preventDefault:!0,stopPropagation:!0};var Zt=jt.prototype;wt()(Zt,{addDomEvents:Lt()(Zt.setupDomEvents,[!0]),removeDomEvents:Lt()(Zt.setupDomEvents,[!1])});var Bt=function(e){return function(t){(0,pt.Z)(r,t);var n=Mt(r);function r(){return(0,dt.Z)(this,r),n.apply(this,arguments)}return(0,ft.Z)(r,[{key:"Child",get:function(){return e}}],[{key:"displayName",get:function(){return"ClickableOutside(".concat(Rt(e),")")}}]),r}(jt)},Ft=Bt("div"),Ut=(Bt("span"),Bt("form"),n(36335)),qt=["active","align","children","className","onClose","role","slideIn"];function zt(e){var t=function(){if("undefined"==typeof Reflect||!lt())return!1;if(lt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(lt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,mt.Z)(e);if(t){var i=(0,mt.Z)(this).constructor;n=lt()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ht.Z)(this,n)}}function Ht(e,t){var n=void 0!==at()&&ut()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return Vt(e,t);var r=nt()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return it()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vt(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 Vt(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 Wt=(0,Ut.Z)("bc-dropdown"),Yt=new(gt()),Gt=function e(t){return null==t?0:t.offsetLeft+e(t.offsetParent)},Kt=kt()((function(){var e,t=Ht(bt()(Yt).call(Yt));try{for(t.s();!(e=t.n()).done;){(0,e.value)()}}catch(e){t.e(e)}finally{t.f()}}),250);window.addEventListener("resize",Kt),window.addEventListener("orientationchange",Kt);var $t=function(e){(0,pt.Z)(n,e);var t=zt(n);function n(){var e,r;(0,dt.Z)(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,ce()(e=[this]).call(e,o))).posRef=_e.createRef(),r.update(r.props),r}return(0,ft.Z)(n,[{key:"componentDidUpdate",value:function(e){this.update(this.props,e)}},{key:"componentWillUnmount",value:function(){Yt.delete(this)}},{key:"fitOnScreen",value:function(){var e=this.props.fit,t=this.posRef.current;if(e&&null!=t){wt()(t.style,{left:"",right:""});var n=Gt(t)+t.offsetWidth-window.innerWidth+20>0?["auto","0"]:["",""],r=(0,Qe.Z)(n,2),i=r[0],o=r[1];wt()(t.style,{left:i,right:o})}}},{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,c=(0,we.Z)(e,qt),l=Wt("pos",{inactive:!t,active:t,left:"right"!==n,right:"right"===n}),d=Wt({inactive:!t,active:t,alignLeft:"left"===n,alignCenter:"center"===n,alignRight:"right"===n,slideIn:u,inPlace:!u});return _e.createElement("div",{className:i||Wt("wrap")},_e.createElement("div",{ref:this.posRef,className:l},_e.createElement(Ft,(0,oe.Z)({"aria-hidden":!t,className:d,enableClickOutside:t,onClickOutside:o,role:s},St()(["fit"],c)),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?Yt.set(this,this.fitOnScreen.bind(this)):!t&&r&&Yt.delete(this)}}]),n}(_e.Component);wt()($t.prototype,{componentDidMount:$t.prototype.fitOnScreen,componentDidUpdate:$t.prototype.fitOnScreen}),$t.defaultProps={align:"center"};var Xt=n(40277),Jt=(0,Ut.Z)("breadcrumb"),Qt=function(){return _e.createElement("span",{className:Jt("caret")},_e.createElement(Xt.Z,null))},en=n(5206),tn=n.n(en),nn=["menu"],rn=function(e){var t=e.menu,n=(0,we.Z)(e,nn);return _e.createElement(t,tn()(["category","depth","id","isDeleted","type","effectiveRole"],n))},on=(0,Ut.Z)("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,c=e.type,l=I()(i),d=function(e){var t=e.allowViewer,n=e.effectiveRole,r=e.id,i=e.type;return I()(r)||!("shared"===i)||Je({effectiveRole:n,requiredRole:t?$e:Ke})}({allowViewer:n,effectiveRole:r,id:i,type:c}),f=(0,_e.useCallback)((function(e){d&&a(e)}),[d,a]),p=(0,_e.useCallback)((function(e){13===e.keyCode&&f(e)}),[f]),h={className:on({active:t,root:(l||"deleted"===i)&&t,disabled:!d}),onClick:f,onKeyPress:p,role:"listitem","aria-current":t?"page":null};return _e.createElement("li",h,_e.createElement("span",{className:on("label")},o),u&&t&&_e.createElement(rn,e),s&&!t&&_e.createElement(Qt,null))}).defaultProps={allowViewer:!1};me()(ge());var an=n(51010),sn=n.n(an),un=n(90086),cn=n.n(un),ln=n(47176),dn=n.n(ln),fn=n(23018),pn=n.n(fn),hn=n(36573),mn=n.n(hn),vn=n(14087),gn=n.n(vn),yn=function(e,t){return e&t?3&e:0},bn=function(e){return function(t){13===t.keyCode&&e()}},_n=(c()(),mn()(I())),wn=mn()(P()),En=pn()(_n,wn),kn=(gn()(I(),P()),n(74081)),xn=(0,Ut.Z)("folder-tree"),Sn=function(e){var t=e.isOpen,n=e.onFolderToggle,r=xn("folder","caret",{open:t}),i={className:xn("folder","caretWrap").toString(),onClick:n,onKeyPress:bn(n),role:"button"};return _e.createElement("div",(0,oe.Z)({},i,{"data-ba":kn.r.common.folderTree.caret}),_e.createElement("div",{className:r}))},Tn=(0,Ut.Z)("folder-tree"),Cn=function(e){var t=e.category,n=e.folder,r=n.id,i=n.type,o=e.isActive,a=e.menu,s=e.setMenuActive,u=Tn("folderOptions",{active:o}),c=(0,_e.useCallback)((function(){return s(!1)}),[s]),l=(0,_e.useCallback)((function(){return s(!0)}),[s]);return _e.createElement("div",{className:u},_e.createElement(a,{category:t,className:Tn("folderMenu").toString(),id:r,onClose:c,onOpen:l,type:i}))},Nn=(0,Ut.Z)("folder-tree"),On=function(e){var t=e.activeClassName,n=e.children,i=e.className,o=e["data-ba"],a=e["data-ba-name"],s=e.forceHover,u=e.hasItems,c=e.isActive,l=e.onClick,d=e.onDrop,f=e.onKeyPress,p=e.paddingLeft,h=e.treeType,m=(0,_e.useState)(!1),v=(0,Qe.Z)(m,2),g=v[0],y=v[1],b=Boolean(d)&&"folder"===h,_=pe()(i,Nn("folder",{active:c,forceHover:s,hideCaret:!u,dndEnabled:b}).toString(),(0,r.Z)({},t,c));return _e.createElement("div",{className:_,"data-ba":o,"data-ba-name":a,onClick:l,onKeyPress:f,role:"button",style:{paddingLeft:p},tabIndex:"0",onDragEnter:function(){return y(!0)}},b&&g&&_e.createElement("div",{className:Nn("folder","drop-mask"),onDragOver:function(e){e.preventDefault()},onDrop:function(e){y(!1),null==d||d(e)},onDragLeave:function(){return y(!1)}}),n)},An=(0,Ut.Z)("folder-tree"),Pn=function(e){var t=e.active,n=e.activeClassName,r=e.activeType,i=e.disableRootMenu,o=e.className,a=e.folders,s=e.menu,u=e.isOpen,c=e.onDrop,l=e.onFolderClick,d=e.onFolderToggle,f=e.root,p=e.type,h=(0,_e.useState)(!1),m=(0,Qe.Z)(h,2),v=m[0],g=m[1],y=f.id,b=f.title,_=f.icon,w=(0,_e.useCallback)((function(){return l(f)}),[l,f]),E=t===y&&r===p;return _e.createElement(On,{activeClassName:n,className:o,"data-ba":kn.r.common.folderTree.rootFolder,"data-ba-name":b,forceHover:v,hasItems:!P()(a),isActive:E,onClick:w,onDrop:null==c?void 0:c(y),onKeyPress:bn(w),treeType:"folder"},_e.createElement(Sn,{isOpen:u,onFolderToggle:d}),_&&_e.createElement("div",{className:An("folderIcon")},_),_e.createElement("div",{className:An("folderNameWrap")},_e.createElement("div",{className:An("folderName")},b)),!i&&s&&_e.createElement(Cn,(0,oe.Z)({},e,{folder:f,isActive:E,setMenuActive:g})))},Ln=n(76290),In=n.n(Ln),Mn=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return d()(R()(Se()("treeType","item")),dn()(c()(t),Y()(z()("deleted",!0))),g()(z()("folderId",e)))},Rn=function(e,t,n){return function(r){d()(n,In()([e]))(t),r.stopPropagation()}},Dn=function(e,t,n){return function(r){d()(n,ke()(e))(t),r.stopPropagation()}},jn=n(44491),Zn=(n(22624),function(e){var t=e||[],n=t.effectiveRole,r=function(e){return{editor:Je({effectiveRole:e,requiredRole:Ke}),manager:Je({effectiveRole:e,requiredRole:Ge}),owner:Je({effectiveRole:e,requiredRole:Ye})}}(t.type!==ai?Ye:n),i=r.editor,o=r.manager,a=r.owner;return{canChangePermissions:o,canCreate:i,canDelete:a,canMove:o,canMoveTo:i,canRename:i,canUnshare:a}}),Bn=(0,Ut.Z)("folder-tree"),Fn=function e(t){var n,r,i,o=t.active,a=t.activeClassName,u=t.activeType,c=t.category,l=t.className,f=t.folder,h=t.id,m=t.itemIcon,v=t.items,g=t.menu,y=t.onDrop,b=t.onFolderClick,_=t.onItemClick,w=t.openFolders,E=t.setOpenFolders,k=t.showItems,x=f.title,S=f.subfolders,T=f.treeType,C=f.type,N=f.id,O=(0,_e.useState)(!1),A=(0,Qe.Z)(O,2),P=A[0],L=A[1],I=(0,_e.useState)(de()(w).call(w,N)),M=(0,Qe.Z)(I,2),R=M[0],D=M[1];(0,_e.useEffect)((function(){D(de()(w).call(w,N))}),[N,w]);var j=(0,_e.useCallback)(Rn(N,w,E),[N,w,E]),Z=(0,_e.useCallback)(Dn(N,w,E),[N,w,E]),B=f.index||0,F=(0,_e.useCallback)((function(){return"folder"===T?b(f):_(f)}),[f,b,_,T]),U=k?Mn(N)(v):[],q=(0,_e.useMemo)((function(){return"".concat(21*(B+2),"px")}),[B]),H=(0,_e.useMemo)((function(){return R?j:Z}),[R,j,Z]),V=d()((function(n){return _e.createElement(e,(0,oe.Z)({key:n.id},t,{folder:n}))}),Se()("treeType","folder"),Se()("index",B+1)),W=d()((function(n){return _e.createElement(e,(0,oe.Z)({key:n.id},t,{folder:n}))}),Se()("treeType","item"),Se()("index",B+1)),Y=p()([[z()("treeType","item"),W],[s(),V]]),G=Bn("folderWrap",{open:R}),K=En(S)||En(U),$=K?se()(n=ce()(r=[]).call(r,(0,ie.Z)(S),(0,ie.Z)(U))).call(n,Y):null,X=(0,_e.useCallback)(bn(F),[bn,F]),J="team"===C?jn.Z:et.Z;return _e.createElement("div",{id:ce()(i="".concat(h,"-qbf-")).call(i,N),key:N,className:G,"data-ba-name":x,"data-ba":kn.r.common.folderTree.item},_e.createElement(On,{activeClassName:a,className:l,forceHover:P,hasItems:K,isActive:o===f.id,onClick:F,onKeyPress:X,paddingLeft:q,onDrop:Zn(f).canCreate?null==y?void 0:y(N):null,treeType:T},_e.createElement(Sn,{isOpen:R,onFolderToggle:H}),_e.createElement("div",{className:Bn("folderIcon").toString()},"folder"===T?_e.createElement(J,{"data-ba":kn.r.common.folderTree.icon}):_e.createElement(m,{"data-ba":kn.r.common.folderTree.icon})),_e.createElement("div",{className:Bn("folderNameWrap").toString()},_e.createElement("div",{className:Bn("folderName").toString()},x)),g&&_e.createElement(Cn,{category:c,folder:f,isActive:o===f.id&&u===C,menu:g,setMenuActive:L})),$)},Un=(0,Ut.Z)("folder-tree"),qn=function(e){var t=e.folderTree,n=e.folders,r=e.id,i=e.items,o=e.openFolders,a=e.root,s=e.setOpenFolders,u=e.showItems,c=(0,_e.useState)(de()(o).call(o,"root")),l=(0,Qe.Z)(c,2),f=l[0],p=l[1],h=u?Mn(r)(i):[];(0,_e.useEffect)((function(){p(de()(o).call(o,"root"))}),[o]);var v=(0,_e.useCallback)(Rn("root",[],s),[r,o,s]),y=(0,_e.useCallback)(Dn("root",o,s),[h,r,o,s]),b=Un("folderWrap",{open:f});return _e.createElement("div",{id:"".concat(r,"-qbf-root"),className:b},a&&_e.createElement(Pn,(0,oe.Z)({},e,{onFolderToggle:f?v:y,isOpen:f})),d()(R()((function(t){return _e.createElement(Fn,(0,oe.Z)({key:t.id},e,{folder:t}))})),R()(Se()("treeType","folder")))(t),u&&d()(R()((function(t){return _e.createElement(Fn,(0,oe.Z)({key:t.id},e,{folder:t}))})),R()(Se()("treeType","item")),function(e){var t=qe(e,B()("id"));return d()(R()(Se()("treeType","item")),g()((function(e){return null===e.folderId||!m()(e.folderId,t)})))}(n))(i))};function zn(e,t){var n=K()(e);if(X()){var r=X()(e);t&&(r=Q()(r).call(r,(function(t){return te()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zn(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):re()?Object.defineProperties(e,re()(n)):zn(Object(n)).forEach((function(t){Object.defineProperty(e,t,te()(n,t))}))}return e}var Vn=(0,Ut.Z)("folder-tree"),Wn=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=b()(z()("id",t),n);return void 0===o?[]:e(o.parentId,n,ce()(r=[o]).call(r,(0,ie.Z)(i)))},Yn=function(e){var t=e.id,n=e.active,r=e.deleted,i=e.folders,o=e.initialFolders,a=e.openToActive,s=e.reportOpenFolders,u=e.type,c=e.viewingTree,l=(0,_e.useState)(!1),f=(0,Qe.Z)(l,2),p=f[0],h=f[1],m=(0,_e.useState)(c?o:[]),v=(0,Qe.Z)(m,2),y=v[0],b=v[1],_=(0,_e.useMemo)((function(){return We(i)}),[i]);(0,_e.useEffect)((function(){s(r?"deleted":u,y)}),[r,y,s,u]);var w=a?Wn(n,i):[];(0,_e.useEffect)((function(){h(!1)}),[n]),(0,_e.useEffect)((function(){var e;a&&!p&&(d()(b,(e=B()("id",i),g()((function(t){return"root"===t||de()(e).call(e,t)}))),cn(),dn()((function(e){return e.length>0}),ke()("root")),k(),S()(ke())(y),sn(),B()("id"))(w),h(!0))}),[a,e.root,p,t,y,w,i]);var E=Hn(Hn({},e),{},{folders:i,folderTree:_,openFolders:y,setOpenFolders:b});return _e.createElement("div",{className:Vn("wrap")},_e.createElement(qn,E))};Yn.defaultProps={initialFolders:["root"],items:[],openToActive:!1,reportOpenFolders:function(){},showItems:!1,viewingTree:!0};n(63500),(0,Ut.Z)("folder"),(0,Ut.Z)("folder-list");var Gn=n(34923),Kn=n.n(Gn),$n=n(7772),Xn=n.n($n),Jn=n(78045),Qn=n.n(Jn),er=n(18231),tr=n.n(er),nr=n(55389),rr=n.n(nr),ir=n(36218),or=n.n(ir),ar=n(51481),sr=n.n(ar),ur=n(40486),cr=n.n(ur),lr=n(33367),dr=n.n(lr),fr=["children","enableHover"];function pr(e,t){var n=K()(e);if(X()){var r=X()(e);t&&(r=Q()(r).call(r,(function(t){return te()(e,t).enumerable}))),n.push.apply(n,r)}return n}function hr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):re()?Object.defineProperties(e,re()(n)):pr(Object(n)).forEach((function(t){Object.defineProperty(e,t,te()(n,t))}))}return e}function mr(e){var t=function(){if("undefined"==typeof Reflect||!lt())return!1;if(lt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(lt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,mt.Z)(e);if(t){var i=(0,mt.Z)(this).constructor;n=lt()(r,arguments,i)}else n=r.apply(this,arguments);return(0,ht.Z)(this,n)}}var vr=(0,Ut.Z)("table"),gr=[1,2],yr=U()("sortable"),br=pn()(yr,z()("sortDirection",1)),_r=pn()(yr,z()("sortDirection",2)),wr=pn()(yr,d()(U()("hover"),dr()(1))),Er=p()([[br,c()("ascending")],[_r,c()("descending")],[s(),c()("none")]]),kr=j()(Ie()(Kn(),gr),O()(sr()(gr.length-1),c()(0),cr()),U()(Kn(),gr)),xr=St()(["onSort","sortable","sortDirection","sortKey","className"]),Sr=function(e){return _e.createElement("table",(0,oe.Z)({className:"table"},e))},Tr=function(e){(0,pt.Z)(n,e);var t=mr(n);function n(){var e,r;(0,dt.Z)(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,ce()(e=[this]).call(e,o))).onMouseOverDelegate=r.onMouseOver.bind((0,Tt.Z)(r)),r.onMouseOutDelegate=r.onMouseOut.bind((0,Tt.Z)(r)),r.renderChildDelegate=r.renderChild.bind((0,Tt.Z)(r)),r.state={hoverIndex:-1},r}return(0,ft.Z)(n,[{key:"onMouseOver",value:function(e){var t=e.currentTarget.children,n=e.target,r=w()((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=(0,we.Z)(e,fr),i=n?this.onMouseOutDelegate:void 0,o=n?this.onMouseOverDelegate:void 0,a=hr(hr({},r),{},{onMouseOut:i,onMouseOver:o});return _e.createElement("tbody",a,se()(_e.Children).call(_e.Children,t,this.renderChildDelegate))}},{key:"renderChild",value:function(e,t){return(0,_e.cloneElement)(e,{hover:t===this.state.hoverIndex})}}]),n}(_e.Component),Cr=function(e){return _e.createElement("td",(0,oe.Z)({className:pe()(vr("cell").toString(),vr("td").toString(),e.className)},St()(["className"],e)))},Nr=function(e){(0,pt.Z)(n,e);var t=mr(n);function n(){var e,r;(0,dt.Z)(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,ce()(e=[this]).call(e,o))).state={hover:!1},r.onClickDelegate=r.onClick.bind((0,Tt.Z)(r)),r.onMouseEnterDelegate=r.onMouseEnter.bind((0,Tt.Z)(r)),r.onMouseLeaveDelegate=r.onMouseLeave.bind((0,Tt.Z)(r)),r}return(0,ft.Z)(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=kr(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=pe()(n,vr("cell").toString(),vr("thcol",{ascHover:pn()(wr,br)(this.props),descHover:pn()(wr,_r)(this.props),hover:wr(this.props),asc:br(this.props),desc:_r(this.props),sortable:yr(this.props)}).toString());return _e.createElement("th",(0,oe.Z)({"aria-sort":Er(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},xr(this.props)))}}]),n}(_e.Component);Nr.defaultProps={sortable:!1,sortDirection:0,onSort:c()()},wt()(Nr.prototype,{onMouseEnter:Lt()(Nr.prototype.onMouse,[!0]),onMouseLeave:Lt()(Nr.prototype.onMouse,[!1])});var Or=function(e){return _e.createElement("thead",e)},Ar=function(e){return _e.createElement("tr",e)},Pr=n(30381),Lr=n.n(Pr),Ir=n(87947),Mr=n(54782),Rr=n.n(Mr),Dr=(0,Ut.Z)("question-bank-list"),jr=Rr()("",["links","micro"]),Zr=function(e){var t,n=e.profile,r=e.updateCol;if(!n)return _e.createElement("span",null,"Loading...");var i=ce()(t="".concat(n.firstName," ")).call(t,n.lastName),o=jr(n);return _e.createElement("div",{className:Dr("avatar")},r&&_e.createElement("span",null,"Updated by: "),_e.createElement("span",{className:Dr("avatar","icon"),style:{backgroundImage:"url(".concat(o,")")}}),_e.createElement("span",{className:Dr("avatar","name")},i))},Br=function(e,t){return t[e]},Fr=(0,Ut.Z)("question-bank-list"),Ur=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,c=e.row,l=e.tooltipFn,d=e.type,f=c.authorId,p=c.deleted,h=c.id,m=c.lastEditedBy,v=c.questions,g=c.title,y=c.updatedAt,b=Br(f,u),_=Br(m,u),w=(0,_e.useCallback)((function(){return s(c)}),[s,c]),E=Nt()(h,o),k=vr("tr",{active:t===h,deleted:p}),x=qr(y);return _e.createElement(Ar,{className:k,key:i,onClick:p?null:w},_e.createElement(Cr,null,_e.createElement("div",{className:Fr("title")},_e.createElement("span",{className:Fr("titleText")},g),E&&_e.createElement(zr,null))),_e.createElement(Cr,{className:Fr("colQuestions").toString()},r(v.length)),n&&_e.createElement(Cr,{className:Fr("colOwner").toString()},_e.createElement(Zr,{profile:b})),_e.createElement(Cr,{className:Fr("colUpdated").toString()},_&&"team"===d?l(x,_e.createElement(Zr,{profile:_,updateCol:!0})):x),_e.createElement(Cr,{className:Fr("menuTd").toString()},a&&_e.createElement(Hr,(0,oe.Z)({isLocked:E},e,c))))},qr=function(e){return Lr()(e).format("M/D/YY @ h:mma")},zr=function(){return _e.createElement("div",{className:Fr("editing"),"data-testid":"editing"},_e.createElement("span",{className:Fr("editingIcon")},_e.createElement(Ir.Z,null)),"Editing")},Hr=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,c=(0,_e.useCallback)((function(){return s(null)}),[s]),l=(0,_e.useCallback)((function(){return s(r)}),[r,s]);return _e.createElement("div",{className:Fr("menuWrap")},_e.createElement(o,{authorId:a.authorId,category:"questionBanks",className:pe()(Fr("menu").toString(),vr("menu").toString()),effectiveRole:n,id:r,isDeleted:t,isLocked:i,onClose:c,onOpen:l,type:u,scrollableAreaSelector:".question-banks"}))};Ur.defaultProps={locks:{}};var Vr=Ur,Wr=n(47648),Yr=n.n(Wr),Gr=function(e){var t=e.columns.title,n=Yr()(e),r=e.setSort,i={className:vr("th").toString(),onSort:r,sortDirection:yn(n,4),sortKey:4,sortable:!0};return _e.createElement(Nr,i,t)},Kr=Oe()("queston-bank-list__"),$r=function(e){var t=e.columns.owner,n=Yr()(e),r=e.setSort,i={className:pe()(vr("th").toString(),Kr("colOwner")),onSort:r,sortDirection:yn(n,16),sortKey:16,sortable:!0};return _e.createElement(Nr,i,t)},Xr=(0,Ut.Z)("question-bank-list"),Jr=function(e){var t=e.columns.lastUpdated,n=Yr()(e),r=e.setSort,i={className:pe()(vr("th").toString(),Xr("colUpdated").toString()),onSort:r,sortDirection:yn(n,8),sortKey:8,sortable:!0};return _e.createElement(Nr,i,t)},Qr=(0,Ut.Z)("question-bank-list"),ei=function(e){var t=(0,_e.useState)(null),n=(0,Qe.Z)(t,2),r=n[0],i=n[1],o=(0,_e.useState)(5),a=(0,Qe.Z)(o,2),s=a[0],u=a[1],c=e.columns.questions,l=e.displayOwnerColumn,d=e.label,f=e.profiles,p=ni(e.questionBanks,f,s);return _e.createElement("div",{className:Qr()},_e.createElement("div",{className:Qr("label")},d),_e.createElement(Sr,null,_e.createElement("colgroup",null,_e.createElement("col",null),_e.createElement("col",{className:Qr("colQuestions")}),l&&_e.createElement("col",{className:Qr("colOwner")}),_e.createElement("col",{className:Qr("colUpdated")}),_e.createElement("col",{className:Qr("colMenu")})),_e.createElement(Or,{className:vr("thead").toString()},_e.createElement(Ar,null,_e.createElement(Gr,(0,oe.Z)({sort:s,setSort:u},e)),_e.createElement(Nr,{className:vr("th").toString()},c),l&&_e.createElement($r,(0,oe.Z)({sort:s,setSort:u},e)),_e.createElement(Jr,(0,oe.Z)({sort:s,setSort:u},e)),_e.createElement(Nr,null))),_e.createElement(Tr,null,se()(p).call(p,(function(t,n){var o;return _e.createElement(Vr,(0,oe.Z)({key:ce()(o="".concat(n,"-")).call(o,t.id),index:n,row:t,active:r,setActive:i},e))})))))},ti=function(e){return j()(U()("authorId"),U()(Kn(),e),rr()([U()("firstName"),U()("lastName")]),tr()(" "))},ni=function(e,t,n){switch(n){case 5:return or()(Xn()(d()(je(),U()("title"))),e);case 6:return or()(Qn()(d()(je(),U()("title"))),e);case 9:return or()(Xn()(U()("updatedAt")),e);case 10:return or()(Qn()(U()("updatedAt")),e);case 17:return or()(Xn()(ti(t)),e);case 18:return or()(Qn()(ti(t)),e);default:return e}};ei.defaultProps={hasDropdownMenu:!0};var ri,ii=n(41148),oi=(n(31826),ri={},(0,r.Z)(ri,ii.ZP.FILL_IN_THE_BLANK,"fillin"),(0,r.Z)(ri,ii.ZP.MATCHING,"matching"),(0,r.Z)(ri,ii.ZP.MULTIPLE_CHOICE,"multiple choice"),(0,r.Z)(ri,ii.ZP.MULTIPLE_RESPONSE,"multiple response"),ri),ai="team",si=function(e){var t=e.drawCount,n=e.questions,r=e.drawnQuestions,i=void 0===r?[]:r;if(i.length===t)return null;return d()(o()("index",(function(e){return w()(z()("id",e.id),n)})),(function(e){return e[Math.floor(Math.random()*e.length)]}),Y()(V()(S()(m())(i),"id")))(n)}},50554:function(e,t,n){"use strict";n.d(t,{$j:function(){return d},I0:function(){return c.I0},v9:function(){return f},zt:function(){return c.zt}});var r=n(51614),i=n.n(r),o=n(50557),a=n.n(o),s=n(67294),u=n(30644),c=n(50533),l=n(22727);function d(){return a()(c.$j.apply(void 0,arguments),l.Nh)}function f(e,t){var n,r=(0,s.useContext)(l.WL),o=(0,s.useContext)(l.qN),a=(0,s.useRef)(null),d=!(0,u.Z)()&&r&&(null==o||null===(n=i()(o))||void 0===n?void 0:n.call(o,"exit")),f=(0,c.v9)((function(t){if(!d)return e(t)}),t);return d||(a.current=f),a.current}},22727:function(e,t,n){"use strict";n.d(t,{Kv:function(){return C},Nh:function(){return N},W3:function(){return x},WL:function(){return k},qN:function(){return E},uT:function(){return T}});var r=n(13535),i=n.n(r),o=n(68420),a=n(27344),s=n(5281),u=n(90306),c=n(3020),l=n(3362),d=n(73126),f=n(88066),p=n.n(f),h=n(51614),m=n.n(h),v=n(67294),g=n(74004),y=n(96630),b=n(29697),_=n(67294);function w(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,l.Z)(e);if(t){var o=(0,l.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var E=(0,v.createContext)(null),k=(0,v.createContext)(!1),x=(0,v.forwardRef)((function(e,t){return _.createElement(k.Provider,{value:!0},_.createElement(g.Z,(0,d.Z)({ref:t},e)))}));function S(e){var t=function(t){(0,u.Z)(r,t);var n=w(r);function r(){var e,t;(0,o.Z)(this,r);for(var i=arguments.length,a=new Array(i),u=0;u<i;u++)a[u]=arguments[u];return(t=n.call.apply(n,p()(e=[this]).call(e,a))).onEnterDelegate=t.onTransition.bind((0,s.Z)(t),"enter"),t.onEnteringDelegate=t.onTransition.bind((0,s.Z)(t),"entering"),t.onEnteredDelegate=t.onTransition.bind((0,s.Z)(t),"entered"),t.onExitDelegate=t.onTransition.bind((0,s.Z)(t),"exit"),t.onExitingDelegate=t.onTransition.bind((0,s.Z)(t),"exiting"),t.onExitedDelegate=t.onTransition.bind((0,s.Z)(t),"exited"),t.state={transitionState:null},t}return(0,a.Z)(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 _.createElement(E.Provider,{value:this.state.transitionState},_.createElement(e,(0,d.Z)({},this.props,{onEnter:this.onEnterDelegate,onEntering:this.onEnteringDelegate,onEntered:this.onEnteredDelegate,onExit:this.onExitDelegate,onExiting:this.onExitingDelegate,onExited:this.onExitedDelegate})))}}]),r}(v.Component);return t.defaultProps={onEnter:Function.prototype,onEntering:Function.prototype,onEntered:Function.prototype,onExit:Function.prototype,onExiting:Function.prototype,onExited:Function.prototype},t.displayName="withStaleTransitionState(".concat(e.displayName||e.name,")"),t}var T=S(y.ZP),C=S(b.Z);function N(e){var t=(0,v.forwardRef)((function(t,n){var r,i,o,a,s,u=(r=t,o=(0,v.useContext)(k),a=(0,v.useContext)(E),s=(0,v.useRef)(r),o&&null!=a&&null!==(i=m()(a))&&void 0!==i&&i.call(a,"exit")||(s.current=r),s.current);return _.createElement(e,(0,d.Z)({ref:n},u))}));return t.displayName="withTransitionableState(".concat(e.displayName||e.name,")"),t}},76637:function(e,t,n){"use strict";n.d(t,{Yq:function(){return f},aD:function(){return d},jw:function(){return h},pr:function(){return p}});var r=n(50047),i=n.n(r),o=n(54115),a=n.n(o),s=n(2220),u=n.n(s),c=n(19716),l=n.n(c),d=u()(2,(function(e,t){return{type:e,payload:t}})),f=(u()(2,(function(e,t){return[t,e]})),u()(2,(function(e,t){return{type:e,payload:t,error:!0}})),function(e){var t=e.dispatch;return function(e){return function(n){"function"!=typeof i()(n)?e(n):i()(n).call(n,t)}}}),p=u()(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}})),h=function(e){var t;return i()(t=l()(e)).call(t,a()({type:"SIDE_EFFECT"}))};a()(h((function(){return location.href="/"})))},59673:function(e,t,n){"use strict";var r=n(30269),i=n.n(r),o=n(32207),a=n.n(o),s=n(52788),u=n.n(s),c=n(83023),l=n.n(c),d=a()((function(e,t){return i()(u()(null),l()(e,t))}));t.Z=d},91243:function(e,t,n){"use strict";var r=n(42825),i=n.n(r),o=n(5683),a=n.n(o),s=n(4603),u=n.n(s),c=n(64393),l="prod"===(0,c.dU)("SERVICE_ENV")?"com":"zone",d=u()(i(),a()(new RegExp("https://images.riseusercontent.".concat(l,"/"),"g"),"".concat((0,c.dU)("IMAGES_URI"),"/")),a()(new RegExp("https://riseusercontent.".concat(l,"/"),"g"),"".concat((0,c.dU)("CDN_USER_CONTENT_URI"),"/")),a()(new RegExp("https://video.rise.".concat(l,"/"),"g"),"https://video.riseusercontent.".concat(l,"/")),JSON.parse);t.Z=d},68339:function(e,t,n){"use strict";n.d(t,{$$:function(){return S},Br:function(){return x},fx:function(){return T},kS:function(){return k}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(83728),m=n(88066),v=n.n(m),g=n(67294),y=n(67294);function b(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}function w(e,t){var n=(0,g.useMemo)((function(){var n;return matchMedia(v()(n="(".concat(e,": ")).call(n,.0625*t,"em)"))}),[e,t]),r=(0,g.useState)(n.matches),i=(0,h.Z)(r,2),o=i[0],a=i[1];return(0,g.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",o),function(){return i.call(n,"change",o)};function o(){a(n.matches)}}),[n]),o}function E(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=w(e,t);return y.createElement(i,_(_({},r),{},(0,p.Z)({},n,o)))}return a.displayName=v()(o="".concat(r,"(")).call(o,i.displayName||i.name,")"),a}}function k(e){return w("max-width",e-1)}function x(e){return w("min-width",e)}function S(e,t,n){return E("max-width",e-1,t,n)}function T(e,t,n){return E("min-width",e,t,n)}},43878:function(e,t,n){"use strict";var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(2562),m=n(42825),v=n.n(m),g=n(88066),y=n.n(g),b=n(94066),_=n.n(b),w=n(64057),E=n.n(w),k=n(99993),x=n.n(k),S=n(50557),T=n.n(S),C=n(54405),N=n.n(C),O=n(22624),A=n.n(O),P=n(69105),L=n.n(P),I=n(23710),M=n.n(I),R=n(13657),D=n.n(R),j=n(20780),Z=n.n(j),B=n(5206),F=n.n(B),U=n(144),q=n.n(U),z=n(4603),H=n.n(z),V=n(52478),W=n.n(V),Y=n(17657),G=n(64393),K=n(31826),$=n(66191),X=["baseURL"];function J(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var ee={"Content-Type":"application/json"},te=[function(e,t){return t.Authorization="Bearer ".concat((0,Y.LP)()),v()(e)}],ne=M()(D(),L(),F()(["data","status","statusText"])),re=H()(F()(["name","message","response"]),A()({response:ne})),ie=_().fromPromise((function(e){var t=e.data,n=e.method,r=e.url;return fetch(r,{body:v()(t),headers:Q(Q({},ee),{},{Authorization:"Bearer ".concat((0,Y.LP)())}),keepalive:!0,method:n}).then((function(e){return e.json()})).then(q()("data"))})),oe=function(e){var t=new Error("Nil token detected");return $.v.addError(t,e),_().Rejected(t)},ae=function(){return!G.VO&&D()((0,Y.LP)())},se=function(e){return function(t,n){return E()(t,function(e){return function(t){var n,r,i=t.method,o=t.url;return y()(n=y()(r="".concat(i,":")).call(r,e)).call(n,o)}}(n),ue(Y.WY,e))}},ue=function(e,t){return function(n){return(0,K.qT)(n,(r=t,function(e){return r.preRequest?r.preRequest(e):e}),function(e){var t=e.baseURL,n=(0,h.Z)(e,X);return T()(Z()({headers:ee,transformRequest:te}),Z()(n),A()({url:N()(t)}))}(t),M()(ae,oe,e),x()(re,W()("data")),function(e){return function(t){return e.postRequest?e.postRequest(t):t}}(t));var r}};t.Z=function(e){return{debounce:se(e),send:ue(Y.WY,e),sendWithKeepAlive:ue(ie,e)}}},64393:function(e,t,n){"use strict";n.d(t,{AP:function(){return _},EZ:function(){return w},JF:function(){return b},VO:function(){return p},dU:function(){return f},eg:function(){return y},i3:function(){return g},xw:function(){return m}});var r=n(51614),i=n.n(r),o=n(88066),a=n.n(o),s=n(9134),u=n.n(s),c=n(52478),l=n.n(c),d=window.Runtime,f=u()(l())(window.env||{}),p=!1,h=function(e){return d&&d[e]},m="Rise 360";function v(e){return f("CDN_USER_CONTENT_URI")+"/"+e}function g(e){var t=e||"",n=h("resolvePath")?d.resolvePath.bind(d):v;return i()(t).call(t,"http")||i()(t).call(t,"data:")||i()(t).call(t,"//")?t:n(t)}function y(e){var t;if(h("resolveFontPath"))return d.resolveFontPath(e);var n=e.default?f("CDN_URI"):f("CDN_USER_CONTENT_URI");return a()(t="".concat(n,"/")).call(t,e.key)}function b(){h("exit")&&d.exit()}function _(){return!!h("isExport")&&d.isExport()}function w(){if(h("sendTouch"))return d.sendTouch()}},73080:function(e,t,n){"use strict";var r=n(85715),i=n(64393),o="".concat((0,i.dU)("RISE_RUNTIME_URI"),"/ducks");t.Z=(0,r.Z)({headers:function(){return{"x-rise-authoring-client":"775fd883bc267569730cfcf773020f6ef25532a6"}},postRequest:function(e,t){return t},url:o,withCredentials:!0})},82695:function(e,t,n){"use strict";n.d(t,{j:function(){return B}});var r=n(65605),i=n(65194),o=n(49420),a=n.n(o),s=n(54115),u=n.n(s),c=n(98038),l=n.n(c),d=n(30269),f=n.n(d),p=n(32207),h=n.n(p),m=n(51481),v=n.n(m),g=n(9730),y=n.n(g),b=n(46408),_=n.n(b),w=n(33796),E=n.n(w),k=n(54547),x=n.n(k),S=n(79963),T=n.n(S),C=n(12601),N=n.n(C),O=n(60830),A=n.n(O),P=n(61937),L=n.n(P),I=n(53007),M=n.n(I),R=E()(v(),["http","https"]),D=f()(_(),N()(":")),j=f()(y()(x()(a()),R),l()),Z=f()(T()(A()("//"),j),D),B=h()((function(e){return f()(function(e){return L()((t=e,n=Z,function(e){return!t(e)||n(e)}),u()(""));var t,n}(e),r.htmlDecode,i.Vt)})),F=B(M());t.Z=F},31218:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13311),i=n.n(r);function o(e){var t=e.authors,n=e.author,r=e.selectedAuthorId;return i()(t,{id:r||n})||{}}},63563:function(e,t,n){"use strict";n.d(t,{L:function(){return H},g:function(){return V}});var r=n(66497),i=n.n(r),o=n(50557),a=n.n(o),s=n(52892),u=n.n(s),c=n(51383),l=n.n(c),d=n(9134),f=n.n(d),p=n(40486),h=n.n(p),m=n(24234),v=n.n(m),g=n(13207),y=n.n(g),b=n(25677),_=n.n(b),w=n(20780),E=n.n(w),k=n(61584),x=n.n(k),S=n(92738),T=n.n(S),C=n(40437),N=n.n(C),O=n(4603),A=n.n(O),P=n(52478),L=n.n(P),I=n(62848),M=n.n(I),R=n(61937),D=n.n(R),j=n(33411),Z=n.n(j),B=n(47176),F=n.n(B),U=n(42159),q=n(75781),z=function(e){return i()("correctlyAnswered",A()(L()("items"),Z(),l()(M()("isCorrect",!0)),v())(e),e)},H=A()(T()(_()("items"),(0,U.Nl)(x()(["isViewed","isCorrect"]))),x()(["percentViewed","correctlyAnswered"]),T()(_()("retryAttempts"),a()(h(),u()(0)))),V=function(e){var t=e.itemId,n=e.isCorrect;return A()(T()(y()(["items",t]),A()(f()(E())({isComplete:n,isViewed:n}),E()({isCorrect:n}))),F()(N()(["items",t,"isCorrect"],!1),i()("lastIncorrectCardId",t)),z,D()(M()("percentComplete",100),q.w4),q.J_,F()(M()("percentComplete",100),i()("isComplete",!0)))}},90305:function(e,t,n){"use strict";var r=n(33938),i=n(63109),o=n.n(i),a=n(50557),s=n.n(a),u=n(17794),c=n.n(u),l=n(97877),d=n.n(l),f=n(144),p=n.n(f),h=n(40437),m=n.n(h),v=n(52478),g=n.n(v),y=n(53007),b=n.n(y),_=n(6037),w=n.n(_),E=n(64393),k=n(17657),x=n(65119),S=(0,E.dU)("SUBSCRIPTIONS_ENDPOINT"),T=(0,E.dU)("THREESIXTY_FRONTEND_URI"),C=m()(["error","status"],404),N=s()(p()("error"),g()("response")),O=function(){return window.location.href=T},A=[function(e,t){return t.Authorization="Bearer ".concat((0,k.LP)()),e}],P=function(){var e=(0,r.Z)(o().mark((function e(t){var n,r,i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n="".concat(S,"/users/authorized_status"),e.next=3,(0,k.WY)({transformRequest:A,url:n}).toPromise().catch(N);case 3:return r=e.sent,i=s()(t,w()((function(e){return(0,x.j)({event:"Unexpected Logout",payload:{category:"auth",data:e,detail:"Subscription Error"}})}))),a=c()([[C,O],[d()("error"),i],[b(),g()("data")]]),e.abrupt("return",a(r));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.Z=P},9988:function(e,t,n){"use strict";n.d(t,{Px:function(){return i.Px},pI:function(){return r.Z},rP:function(){return i.rP},wz:function(){return i.wz}});var r=n(90305),i=n(52307)},52307:function(e,t,n){"use strict";n.d(t,{Px:function(){return d},rP:function(){return p},wz:function(){return f}});var r=n(57735),i=n.n(r),o=n(14087),a=n.n(o),s=n(40437),u=n.n(s),c=n(62848),l=n.n(c),d=(n(41785),l()("status","active"),l()("status","inactive")),f=(l()("plan","individual"),u()(["features","enable_review"],!0),u()(["features","enable_rise"],!0)),p=(l()("plan","trial"),i()([l()("plan","trial"),l()("status","inactive"),l()("is_retrial_eligible",!1)]));a()(l()("plan","team"),l()("plan","individual")),i()([l()("plan","team"),l()("is_team_admin",!0)]),i()([l()("plan","trial"),l()("is_team_admin",!0)])},38620:function(e,t,n){"use strict";var r=n(32207);n.n(r)()((function(e,t){return t.reduce((function(t,n){return t+n[e]}),0)}))},87699:function(e,t,n){"use strict";var r=n(54115),i=n.n(r),o=n(17794),a=n.n(o),s=n(9134),u=n.n(s),c=n(72038),l=n.n(c),d=n(97560),f=n.n(d),p=n(53007),h=n.n(p),m=function(e){return function(t){e.setState({xTouchDown:t.touches[0].clientX,yTouchDown:t.touches[0].clientY})}},v=function(e){return function(t){e.setState({xTouchMove:t.touches[0].clientX,yTouchMove:t.touches[0].clientY})}},g=function(e,t,n,r){return function(){if(e.state.xTouchDown&&e.state.xTouchMove){var o=e.state.xTouchDown-e.state.xTouchMove,s=e.state.yTouchDown-e.state.yTouchMove,c=u()(l()),d=u()(f()),p=b(e);if(Math.abs(o)>Math.abs(s))a()([[c(r),t],[d(-r),n],[h(),i()()]])(o),p()}}},y=function(e){return function(){b(e)}},b=function(e){return function(){e.setState({xTouchDown:null,yTouchDown:null,xTouchMove:null,yTouchMove:null})}};t.Z=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o={touchstart:m(t),touchmove:v(t),touchend:g(t,n,r,i),touchcancel:y(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)}}}},32542:function(e,t,n){"use strict";n.d(t,{$_:function(){return T},Cz:function(){return P},PT:function(){return Z},Qr:function(){return D},V0:function(){return N},WV:function(){return I},_6:function(){return A},hp:function(){return O},lR:function(){return j},mR:function(){return C},qD:function(){return R},yK:function(){return L}});var r=n(46408),i=n.n(r),o=n(27601),a=n.n(o),s=n(23710),u=n.n(s),c=n(54115),l=n.n(c),d=n(40486),f=n.n(d),p=n(17919),h=n.n(p),m=n(24234),v=n.n(m),g=n(81996),y=n(12868),b=n(51151),_=n(58539),w=n(24230),E=":focus{outline: none}",k="focus-ring-style",x=function(){return document.getElementById(k)||S()},S=function(){var e=document.createElement("style");return e.id=k,document.head.appendChild(e),e},T=0,C=-1,N=function(){var e=x();document.addEventListener("mousedown",(function(){setTimeout((function(){e.innerHTML=E}),0),(0,_.W)((0,w.Mi)(!1))})),window.addEventListener("keydown",O)},O=function(e){var t=e.target,n=x();((0,y.id)(e)||(0,y.Uf)(e)&&!t.classList.contains("ignore-prefers"))&&(n.innerHTML="",(0,_.W)((0,w.Mi)(!0)))},A=function(e){return e?T:C},P=function(e,t){var n=t!==T;(e||{}).tabIndex=t,(0,b.Je)({element:e,isHidden:n})},L=function(e){var t=e.element,n=e.selector,r=e.tabIndex;(0,g.Tl)(t.querySelectorAll(n)).forEach((function(e){P(e,r)}))},I=function(e){(0,g.Tl)(e.getElementsByTagName("*")).forEach((function(e){P(e,C)}))},M=function(e){return function(t){var n,r,o=t.querySelectorAll('[tabindex = "0"]');return!!o.length&&(n=l()(e),r=o,u()(n,i(),a())(r).focus(),!0)}},R=M(!0),D=(M(!1),function(e){var t=e.list,n=e.index;n>=0&&n<v()(t)&&t[n].focus()}),j=function(e){var t=e.list,n=e.currentIndex,r=f()(n||0),i=r<v()(t)?r:0;return D({list:t,index:i}),i},Z=function(e){var t=e.list,n=e.currentIndex,r=h()(n||v()(t));return D({list:t,index:r}),r}},7199:function(e,t,n){"use strict";n.d(t,{$G:function(){return g}});var r=n(82515),i=n.n(r),o=n(61894),a=n.n(o),s=n(50557),u=n.n(s),c=n(18231),l=n.n(c),d=(n(24234),n(81753),n(12601)),f=n.n(d),p=n(74633),h=n.n(p),m=n(8240),v=n.n(m);n(47176);function g(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 y=u()(l()(""),i()(h(),0));u()(l()(" "),a()(y),f()(" ")),u()(y,v())},31454:function(e,t,n){"use strict";n.d(t,{$h:function(){return f},Du:function(){return s},Jx:function(){return l},Ms:function(){return g},Nu:function(){return p},_M:function(){return d},cX:function(){return h},iy:function(){return v},kw:function(){return o},lh:function(){return u},mn:function(){return y},rw:function(){return a},uh:function(){return c},zq:function(){return m}});var r=n(13192),i=n.n(r),o="#000",a=600,s=i()({ACCENT:null,BLACK:null,COLOR:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),u=i()({LARGE:null,MEDIUM:null,SMALL:null}),c=i()({COMPACT:null,OVERLAY:null,SIDEBAR:null}),l=i()({DARK:null,DARK_IMAGE:null,LIGHT:null,LIGHT_IMAGE:null}),d=i()({DARK:null,DARK_ACCENT:null,DARK_IMAGE:null,LIGHT:null,LIGHT_ACCENT:null,LIGHT_IMAGE:null}),f={FREE:"free",RESTRICTED:"restricted"},p=i()({ACCENT:null,DARK:null,GRAY:null,IMAGE:null,LIGHT:null,TINT:null}),h=i()({ACCENT:null,DARK:null,LIGHT:null,TINT:null}),m=i()({FULL:null,FLOATING:null,FLOATING_FULL:null}),v=i()({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}),g=(v.CENTERED,v.CENTERED_OVERLAY,v.LEFT,v.LEFT_OVERLAY,v.SPLIT_LEFT_IMAGE,v.SPLIT_RIGHT_IMAGE,v.TWO_THIRDS_LEFT_IMAGE,v.TWO_THIRDS_RIGHT_IMAGE,v.CENTERED,v.CENTERED_OVERLAY,v.LEFT,v.LEFT_OVERLAY,v.SPLIT_LEFT_IMAGE,v.SPLIT_RIGHT_IMAGE,v.TWO_THIRDS_LEFT_IMAGE,v.TWO_THIRDS_RIGHT_IMAGE,v.CENTERED,v.CENTERED_OVERLAY,v.LEFT,v.LEFT_OVERLAY,v.SPLIT_LEFT,v.SPLIT_RIGHT,v.SPLIT_LEFT_IMAGE,v.SPLIT_RIGHT_IMAGE,v.CENTERED,v.CENTERED_OVERLAY,v.CENTERED_IMAGE,v.CENTERED_ACCENT_TINT,v.SPLIT_LEFT_IMAGE,v.SPLIT_RIGHT_IMAGE,v.TWO_THIRDS_LEFT_IMAGE,v.TWO_THIRDS_RIGHT_IMAGE,i()({SQUARED:null,ROUNDED:null})),y=(v.IMAGE,v.ACCENT,v.WHITE,{CLOSED:"closed",HIDDEN:"hidden",OPEN:"open"})},56296:function(e,t,n){"use strict";n.d(t,{B:function(){return y}});var r=n(66497),i=n.n(r),o=n(92650),a=n.n(o),s=n(13207),u=n.n(s),c=n(92738),l=n.n(c),d=n(4603),f=n.n(d),p=n(62848),h=n.n(p),m=n(47176),v=n.n(m),g=n(75781),y=function(e){var t=e.itemId,n=e.activeIndex;return f()(i()("activeIndex",n),l()(u()(["items",t]),i()("isComplete",!0)),g.w4,v()(h()("percentComplete",100),i()("isComplete",!0)))};a()("activeIndex")},68358:function(e,t,n){"use strict";var r=n(64393);t.Z=function(e){return(0,r.AP)()?e:((t=e)?"".concat(t," | "):"")+r.xw;var t}},98938:function(e,t,n){"use strict";n.d(t,{c:function(){return a}});var r=n(57046),i=n.n(r),o=n(35641),a=i()({context:{app:{name:"rise-frontend"}},payload:{articulate_user:(0,o.B2)(),userRole:(0,o.F3)(),subId:(0,o.jM)(),subPlan:(0,o.NC)(),subStatus:(0,o.gk)()}})},67e3:function(e,t,n){"use strict";var r=n(67294),i=n(7578),o=n.n(i),a=n(68434);t.Z=function(e,t){var n=(0,a.Z)(t);(0,r.useEffect)((function(){!n&&t&&e&&o()(e.focus)&&e.focus()}),[t,n,e])}},96022:function(e,t,n){"use strict";n.d(t,{$:function(){return s},N:function(){return a}});var r=n(50554),i=n(68339),o=n(31454),a=function(e){return e===o.zq.FLOATING||e===o.zq.FLOATING_FULL};function s(){var e=(0,r.v9)((function(e){return e.course.buttonNavigationStyle}));return(0,i.kS)(480)&&e===o.zq.FLOATING?o.zq.FLOATING_FULL:e}},41697:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(69798),i=n.n(r),o=function(){return new(i())((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()}))}},86683:function(e,t,n){"use strict";n.d(t,{S:function(){return S}});var r=n(83728),i=n(88066),o=n.n(i),a=n(23637),s=n(6350),u=n(73989),c=n(57367),l=n(89213),d=n(25581),f=n(67839),p=n(41117),h=n(27126),m=n(17502),v=n(3207),g=n(5244),y=n(62050),b=n(33206),_=n(87965),w=n(75524),E=n(79020),k=n(60299),x=n(88819),S=function(){var e,t,n,i,E,k,x,S,P,L,I={closeText:"Unzoom image",modalText:"Zoomed item",openText:"Zoom image",overlayBgColor:"#fff",overlayOpacity:1,transitionDuration:300,zoomMargin:0,zoomZindex:2147483647},M=[],R="UNLOADED",D=I.transitionDuration,j=function(e){var t,n=e?0:D,r=(0,a.L)(i),d=r.height,f=r.left,p=r.top,h=r.width,m=i,v=m.naturalHeight,g=m.naturalWidth,y=(0,s.$)("transform",i),b=N.test(i.currentSrc);if("LOADED"!==R)t="scale(1) translate(0,0)"+(y?" ".concat(y):"");else{var _,w,E=T(h,g,d,v,b,I.zoomMargin),x=((0,u.b)()/2-(f+h/2))/E,S=((0,c.W)()/2-(p+d/2))/E;t=o()(_=o()(w="scale(".concat(E,") translate(")).call(w,x,"px,")).call(_,S,"px)")+(y?" ".concat(y):"")}(0,l.P)("style","position:absolute;"+"width:".concat(h,"px;")+"height:".concat(d,"px;")+"left:".concat(f,"px;")+"top:".concat(p,"px;")+"transition:transform ".concat(n,"ms ease;")+"-webkit-transform:".concat(t,";")+"-ms-transform:".concat(t,";")+"transform:".concat(t,";"),k)},Z=function(){(0,h.U)("","visibility","",i),R="UNLOADED",j(!0),Y(),A(P),P=void 0},B=function(){A(n)},F=function(e){C(e)&&(e.stopPropagation(),K())},U=function(){"LOADED"===R?K():"UNLOADING"===R&&j(!1)},q=function(){j(!0)},z=function(){A(n)},H=function(){K()},V=function(){K()},W=function(){x=function(){var r=(0,m.a)("div");(0,l.P)("data-iz-overlay","",r),(0,l.P)("style","position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;"+"z-index:".concat(I.zoomZindex,";"),r),(0,v.O)("click",V,r),L=(0,m.a)("div");var i=(0,m.a)("div");return(0,l.P)("aria-label",I.modalText,i),(0,l.P)("aria-modal","true",i),(0,l.P)("role","dialog",i),e=(0,m.a)("div"),(0,l.P)("tabindex","0",e),(0,v.O)("focus",z,e),t=(0,m.a)("div"),(0,l.P)("tabindex","0",t),(0,v.O)("focus",z,t),n=(0,m.a)("button"),(0,l.P)("aria-label",I.closeText,n),(0,l.P)("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),(0,l.P)("type","button",n),(0,v.O)("click",H,n),(0,g.j)(n,i),k=(0,m.a)("div"),(0,g.j)(E,k),(0,g.j)(k,i),(0,g.j)(L,r),(0,g.j)(e,r),(0,g.j)(i,r),(0,g.j)(t,r),r}(),(0,g.j)(x,document.body),(0,v.O)("keydown",F,document),(0,v.O)("scroll",U,window),(0,v.O)("resize",q,window),(0,h.U)("","visibility","hidden",i),(0,v.O)("transitionend",B,k),R="LOADED",j(!1),x&&(0,d.T)((function(e){if(!O(e)){var t=(0,f.I)("aria-hidden",e);t&&M.push([e,t]),(0,l.P)("aria-hidden","true",e)}}),x),(0,l.P)("style","position:absolute;top:0;right:0;bottom:0;left:0;"+"background-color:".concat(I.overlayBgColor,";")+"transition:opacity ".concat(D,"ms ease;")+"opacity:0;",L),(0,h.U)("","opacity",I.overlayOpacity,L)},Y=function(){(0,y.x)("resize",q,window),(0,y.x)("scroll",U,window),(0,y.x)("keydown",F,document),E&&(0,y.x)("load",W,E),k&&((0,y.x)("transitionend",Z,k),(0,y.x)("transitionend",B,k)),n&&(0,y.x)("click",H,n),e&&(0,y.x)("focus",z,e),t&&(0,y.x)("focus",z,t),x&&((0,y.x)("click",V,x),(0,b.h)(x,document.body)),S&&S.removeListener(G),M=[],e=void 0,t=void 0,n=void 0,i=void 0,E=void 0,k=void 0,x=void 0,S=void 0,L=void 0,R="UNLOADED"},G=function(){D=0},K=function(){"LOADED"===R?((0,_.y)(n),x&&(0,d.T)((function(e){O(e)||(0,p.d)("aria-hidden",e)}),x),M.forEach((function(e){var t=(0,r.Z)(e,2),n=t[0],i=t[1];n&&(0,l.P)("aria-hidden",i,n)})),M=[],(0,v.O)("transitionend",Z,k),R="UNLOADING",j(!1),(0,h.U)("","opacity","0",L)):j(!1)};return(S=window.matchMedia("(prefers-reduced-motion:reduce)")).addListener(G),{cleanup:function(){Y()},zoom:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("UNLOADED"===R){for(var r in i=e,P=t,n)I[r]=n[r];E=(0,w.T)(!0,e),(0,p.d)("id",E),(0,l.P)("data-iz-zoomed","",E),(0,h.U)("","max-width","100%",E),(0,h.U)("","max-height","100%",E),(0,h.U)("","width","100%",E),(0,h.U)("","height","auto",E),(0,v.O)("load",W,E)}}}},T=function(e,t,n,r,i,o){return!i&&r&&t?(0,E.d)(e,t,n,r,o):(0,k.V)(e,n,o)},C=function(e){return"Escape"===e.key||27===e.keyCode},N=/\.svg$/i,O=function(e){var t=e.tagName;return"SCRIPT"===t||"NOSCRIPT"===t||"STYLE"===t},A=x.T.bind(null,{preventScroll:!0})},8900:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e.className;return r.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"},r.createElement("path",{d:"M2.34315 7.34315L8 13L13.6569 7.34315",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),r.createElement("rect",{x:"7",y:"1",width:"2",height:"12",rx:"0.999999",fill:"currentColor"}))}},34163:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=e.className;return r.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"},r.createElement("path",{d:"M13.6569 7.65685L8 2L2.34315 7.65686",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),r.createElement("rect",{x:"9",y:"14",width:"2",height:"12",rx:"0.999999",transform:"rotate(180 9 14)",fill:"currentColor"}))}},17867:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(73126),i=n(61584),o=n.n(i),a=n(5596),s=n(67294);function u(e){return s.createElement(a.Z,(0,r.Z)({},o()(["Default"],e),{fill:"none",viewBox:"1 1 18 18"}),s.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"}))}},63325:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(73126),i=n(61584),o=n.n(i),a=n(5596),s=n(67294);function u(e){return s.createElement(a.Z,(0,r.Z)({},o()(["Default"],e),{fill:"none",viewBox:"0 0 18 18"}),s.createElement("circle",{cx:"9",cy:"9",r:"9",fill:"#74BF44"}),s.createElement("path",{d:"M6.43994 9.12061L8.43994 11.1206L11.9399 7.62061",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}},79057:function(e,t,n){"use strict";n.r(t),n.d(t,{AlignLeft:function(){return f},ArrowDown:function(){return r.Z},ArrowLeft:function(){return s},ArrowRight:function(){return c},ArrowUp:function(){return l.Z},Category:function(){return P.Z},ChevronDown:function(){return h},ChevronUp:function(){return v},Favorite:function(){return L.Z},LessonsComplete:function(){return _.Z},LessonsRequirement:function(){return I.Z},QuestionBox:function(){return y},QuizFailed:function(){return b.Z},QuizPassed:function(){return _.Z},QuizRequirement:function(){return M.Z},Search:function(){return E},ToggleDown:function(){return x},Touch:function(){return T},VideoCamera:function(){return N},X:function(){return A}});var r=n(8900),i=n(73126),o=n(80869),a=n(67294);function s(e){return a.createElement(o.Z,(0,i.Z)({viewBox:"0 0 24 24"},e),a.createElement("path",{d:"M1 10.9609L10 19.9609",stroke:"currentColor",strokeWidth:"1.5"}),a.createElement("path",{d:"M1 11.9609L10 2.96094",stroke:"currentColor",strokeWidth:"1.5"}),a.createElement("path",{d:"M2 11.5H23",stroke:"currentColor",strokeWidth:"1.5"}))}var u=n(67294),c=function(e){var t=e.className;return u.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"},u.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"}))},l=n(34163),d=n(67294);function f(e){return d.createElement(o.Z,(0,i.Z)({height:"12",width:"18",viewBox:"0 0 18 12"},e),d.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 p=n(67294);function h(e){return p.createElement(o.Z,(0,i.Z)({height:"6",width:"10",viewBox:"0 0 10 6"},e),p.createElement("path",{d:"M9 1L5 5L1 1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}var m=n(67294);function v(e){return m.createElement(o.Z,(0,i.Z)({height:"6",width:"10",viewBox:"0 0 10 6"},e),m.createElement("path",{d:"M1 5L5 1L9 5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))}var g=n(67294);function y(e){return g.createElement(o.Z,(0,i.Z)({height:"21",width:"20",viewBox:"0 0 20 21"},e),g.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"}),g.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"}),g.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 b=n(17867),_=n(63325),w=n(67294);function E(e){return w.createElement(o.Z,(0,i.Z)({height:"12",width:"12",viewBox:"0 0 12 12"},e),w.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 k=n(67294);function x(e){return k.createElement(o.Z,(0,i.Z)({height:"5",width:"10",viewBox:"0 0 10 5"},e),k.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 S=n(67294);function T(e){return S.createElement(o.Z,(0,i.Z)({height:"18",width:"18",viewBox:"0 0 18 18"},e),S.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"}),S.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 C=n(67294);function N(e){return C.createElement(o.Z,(0,i.Z)({height:"14",width:"20",viewBox:"0 0 20 14"},e),C.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"}),C.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 O=n(67294);function A(e){return O.createElement(o.Z,(0,i.Z)({height:"10",width:"10",viewBox:"0 0 10 10"},e),O.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 P=n(98785),L=n(79005),I=n(15261),M=n(62495)},70091:function(e,t,n){"use strict";n.d(t,{Av:function(){return o},Hz:function(){return i},dD:function(){return a}});var r=n(68339),i=r.kS.bind(null,1200),o=(r.kS.bind(null,992),r.kS.bind(null,768)),a=r.kS.bind(null,480)},74792:function(e,t,n){"use strict";n.d(t,{FJ:function(){return d},Fm:function(){return p},HN:function(){return g},Hw:function(){return h},K5:function(){return o},Kh:function(){return l},Ni:function(){return i},O$:function(){return y},WD:function(){return u},Wr:function(){return f},X:function(){return w},Xh:function(){return b},_M:function(){return c},a2:function(){return s},fS:function(){return v},hf:function(){return m},ol:function(){return a},z1:function(){return _}});var r=n(75716),i=(0,r.kS)("AlignLeft"),o=(0,r.kS)("ArrowDown"),a=((0,r.kS)("ArrowLeft"),(0,r.kS)("ArrowRight")),s=(0,r.kS)("ArrowUp"),u=(0,r.kS)("Category"),c=(0,r.kS)("ChevronDown"),l=(0,r.kS)("ChevronUp"),d=((0,r.kS)("Favorite"),(0,r.kS)("LessonsComplete")),f=(0,r.kS)("LessonsRequirement"),p=(0,r.kS)("QuestionBox"),h=(0,r.kS)("QuizFailed"),m=(0,r.kS)("QuizPassed"),v=(0,r.kS)("QuizRequirement"),g=(0,r.kS)("Search"),y=(0,r.kS)("ToggleDown"),b=(0,r.kS)("Touch"),_=(0,r.kS)("VideoCamera"),w=(0,r.kS)("X")},75716:function(e,t,n){"use strict";n.d(t,{Mw:function(){return ro},kS:function(){return io},f6:function(){return Qi}});var r={};n.r(r),n.d(r,{CoverAction:function(){return Ot},CoverContentNoImage:function(){return At},CoverDescription:function(){return D},CoverDetailsContentHeading:function(){return Pt},CoverDueDate:function(){return F},CoverHeader:function(){return ae},CoverLayout:function(){return de},CoverTitle:function(){return Lt},LessonHeader:function(){return Ce},LessonHeaderAuthor:function(){return It},LessonNavFinish:function(){return Re},LessonNavNext:function(){return Ze},LessonNavPrevious:function(){return qe},LessonProgressGraphic:function(){return Qe},NavCompactHeaderCounter:function(){return Mt},NavCompactHeaderProgress:function(){return Rt},NavCompactOutline:function(){return Dt},NavSidebarHeaderProgress:function(){return jt},NavSidebarOutline:function(){return Zt},NavSidebarSearch:function(){return Bt},OverviewListItem:function(){return Ft},OverviewListSectionTitle:function(){return Ut},Progress:function(){return Nt}});var i={};n.r(i),n.d(i,{components:function(){return r},icons:function(){return qt}});var o={};n.r(o),n.d(o,{CoverCourseInfo:function(){return Yt},CoverDescription:function(){return $t},CoverDetailsSection:function(){return an},CoverHeader:function(){return kn},CoverLayout:function(){return Tn},LessonHeader:function(){return An},LessonProgressGraphic:function(){return Rn},NavSidebarHeader:function(){return Zn},OverviewListItemLinkContent:function(){return Fn},Progress:function(){return Un}});var a={};n.r(a),n.d(a,{ArrowDown:function(){return zn},ArrowLeft:function(){return Gn},ArrowRight:function(){return Wn},ArrowUp:function(){return zn},ChevronDown:function(){return Xn},ChevronUp:function(){return Xn},Favorite:function(){return lr.Z},LessonsComplete:function(){return Qn},LessonsRequirement:function(){return tr},QuizFailed:function(){return or},QuizPassed:function(){return Qn},QuizRequirement:function(){return tr},Search:function(){return rr},ToggleDown:function(){return sr},X:function(){return cr}});var s={};n.r(s),n.d(s,{components:function(){return o},icons:function(){return a}});var u={};n.r(u),n.d(u,{CoverDescription:function(){return mr},CoverDetails:function(){return Er},CoverGraphic:function(){return kr},CoverHeader:function(){return ni},CoverLayout:function(){return ii},CoverProgress:function(){return ui},CoverSVG:function(){return Hr},LessonHeader:function(){return pi},LessonProgressGraphic:function(){return bi},NavSidebarHeaderProgress:function(){return wi}});var c={};n.r(c),n.d(c,{AlignLeft:function(){return Oi},ArrowDown:function(){return Ei},ArrowLeft:function(){return xi},ArrowRight:function(){return Ti},ArrowUp:function(){return Ci},ChevronDown:function(){return Pi},ChevronUp:function(){return Ii},Favorite:function(){return lr.Z},LessonsComplete:function(){return Hi.Z},LessonsRequirement:function(){return Vi.Z},QuestionBox:function(){return Ri},QuizFailed:function(){return Wi.Z},QuizPassed:function(){return Hi.Z},QuizRequirement:function(){return Yi.Z},Search:function(){return ji},ToggleDown:function(){return Pi},Touch:function(){return Bi},VideoCamera:function(){return Ui},X:function(){return zi}});var l={};n.r(l),n.d(l,{components:function(){return u},icons:function(){return c}});var d=n(73126),f=n(2562),p=n(12088),h=n.n(p),m=n(67294),v=n(88066),g=n.n(v),y=n(67294),b=["Default","className"];function _(e){return function(t){var n,r=t.Default,i=t.className,o=(0,f.Z)(t,b),a="brand--".concat(e),s=i?g()(n="".concat(i," ")).call(n,a):a;return y.createElement(r,(0,d.Z)({},o,{className:s}))}}var w=_("background"),E=_("head"),k=_("ui"),x=n(32922),S=n(65364),T=n(30381),C=n.n(T),N=n(36335),O=n(67294),A=(0,N.Z)("cover");function P(e){var t=e.format,n=void 0===t?"[Published] MMMM D, YYYY":t,r=(0,x.Tn)().publishedAt;if(!r)return null;var i=C()(r);return i.isValid()?O.createElement("div",{className:A("details-content-published-at")},i.format(n)):null}var L=n(27028),I=n(61848),M=n(70091),R=(0,N.Z)("cover"),D=function(){var e=(0,x.Tn)(),t=(0,M.Hz)(),n=e.description;return n?m.createElement("div",null,m.createElement("section",{className:R("details-content-section")},t?m.createElement(S.Z,null):m.createElement(P,null),m.createElement(L.Z,{className:R("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:(0,I.A)(n)}))):null},j=n(97076),Z=n(67294),B=["Default"];function F(e){var t=e.Default,n=(0,f.Z)(e,B),r=n.dueAt,i=r&&(0,j.Z)(r)?"brand--background":"brand--color";return Z.createElement(t,(0,d.Z)({},n,{className:i}))}var U=n(13632),q=n(8689),z=n(94184),H=n.n(z),V=ro("CoverContentNoImage",(function(e){var t=e.className,n=e.children,r=H()(t,"cover__header-content");return m.createElement("div",{className:r},n)})),W=n(19585),Y=function(e){var t,n=e.children,r=(null!==(t=(0,x.Tn)())&&void 0!==t?t:{}).coverImage,i=(0,W.A5)(r);return m.createElement("div",{className:"cover__header-content",style:i},n)},G=function(e){var t,n=e.hasOverlay,r=void 0!==n&&n,i=(null!==(t=(0,x.Tn)())&&void 0!==t?t:{}).coverImage,o=i.alpha,a=i.media,s=(0,W.A5)({alpha:o,media:a,hasOverlay:r});return m.createElement("div",{className:"cover__header-graphic",style:s})},K=n(59353),$=(0,n(6646).D)("CoverProgress"),X=n(22033),J={SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_LEFT_IMAGE:"LEFT_OVERLAY",TWO_THIRDS_RIGHT_IMAGE:"LEFT_OVERLAY"};function Q(){var e,t=(0,x.Tn)().coverPageType;return(0,M.Av)()&&null!==(e=J[t])&&void 0!==e?e:t}var ee=n(31454),te=function(){return m.createElement(m.Fragment,null,m.createElement(Y,null,m.createElement(K.Z,null,m.createElement(q.ZP,null),m.createElement(X.Z,null),m.createElement($,null),m.createElement(U.Z,null))))},ne=function(){return m.createElement(m.Fragment,null,m.createElement(V,null,m.createElement(K.Z,null,m.createElement(q.ZP,null),m.createElement(X.Z,null),m.createElement($,null),m.createElement(U.Z,null))))},re=function(){return m.createElement(m.Fragment,null,m.createElement(G,null),m.createElement(V,null,m.createElement(K.Z,null,m.createElement(q.ZP,null),m.createElement(X.Z,null),m.createElement($,null),m.createElement(U.Z,null))))},ie=function(){return m.createElement(m.Fragment,null,m.createElement(V,null,m.createElement(K.Z,null,m.createElement(q.ZP,null),m.createElement(X.Z,null),m.createElement($,null),m.createElement(U.Z,null))),m.createElement(G,null))};function oe(e){switch(Q()){default:case ee.iy.LEFT_OVERLAY:case ee.iy.CENTERED_OVERLAY:return m.createElement(te,e);case ee.iy.LEFT:case ee.iy.CENTERED:return m.createElement(ne,e);case ee.iy.SPLIT_LEFT_IMAGE:case ee.iy.TWO_THIRDS_LEFT_IMAGE:return m.createElement(ie,e);case ee.iy.SPLIT_RIGHT_IMAGE:case ee.iy.TWO_THIRDS_RIGHT_IMAGE:return m.createElement(re,e)}}function ae(e){return m.createElement("header",{className:"cover__header"},m.createElement(oe,e))}var se=n(21804),ue=n.n(se),ce=n(67294),le=(0,N.Z)("cover");function de(e){var t=e.children,n=Q(),r=(0,m.useMemo)((function(){return ue()(n)}),[n]),i=le(null,{layout:r});return ce.createElement("div",{id:"cover",className:i},t)}var fe=n(13657),pe=n.n(fe),he=n(88392),me=n(50047),ve=n.n(me),ge=n(69532),ye=n(67294),be=(0,N.Z)("lesson-header"),_e=function(e){return"url(".concat((0,ge.NY)({width:"76",height:"76",imageKey:null==e?void 0:e.image}),")")},we=function(e){var t=e.partnerContentAuthors,n=ve()(t).call(t,(function(e){return e.name})).join(", "),r=1===t.length;return ye.createElement("div",{className:be("partner-content",{mobile:!0})},ye.createElement("div",{className:be("partner-content-author",{single:r})},ve()(t).call(t,(function(e){return ye.createElement("div",{key:e.name,className:be("partner-content-author-img",{single:r}),style:{backgroundImage:_e(e)}})}))),ye.createElement("div",{className:be("author-name"),"aria-hidden":"true"},n))},Ee=function(e){var t=e.partnerContentAuthors;return ye.createElement("div",{className:be("partner-content")},ve()(t).call(t,(function(e){return ye.createElement("div",{key:e.name,className:be("partner-content-author")},ye.createElement("div",{className:be("partner-content-author-img"),style:{backgroundImage:_e(e)}}),ye.createElement("div",null,ye.createElement("span",{className:"visually-hidden"},"by ",e.name),ye.createElement("span",{className:be("author-name"),"aria-hidden":"true"},e.name)))})))},ke=(0,N.Z)("lesson-header"),xe=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,c=e.showLessonCount,l=e.title,d=e.totalLessons,f=!pe()(s)&&u,p=n&&t&&u&&!f,h=p||f||c,v=c&&p;return m.createElement("div",{className:ke("content")},h&&m.createElement("div",{className:ke("info-row")},p?m.createElement(he.S3,{avatar:n,authorName:t}):m.createElement(he.qR,null),f&&m.createElement(Ee,{partnerContentAuthors:s}),v&&m.createElement("span",{"aria-hidden":"true",className:ke("info-row--divider")},"|"),c?m.createElement(he.XF,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(he.Iw,null)),m.createElement("div",{className:ke("title-wrapper",{"no-info":!h})},m.createElement(he.Dx,{title:l}),r&&m.createElement(he.dk,{description:r})))},Se=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,c=e.showLessonCount,l=e.title,d=e.totalLessons,f=(0,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!pe()(s);return m.createElement("div",{className:ke("content")},c?m.createElement(he.XF,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(he.Iw,null),f&&m.createElement(he.S3,{avatar:n,authorName:t}),u&&p&&m.createElement(we,{partnerContentAuthors:s}),m.createElement(he.Dx,{title:l}),r&&m.createElement(he.dk,{description:r}))},Te=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,c=e.showLessonCount,l=e.title,d=e.totalLessons,f=(0,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!pe()(s);return m.createElement("div",{className:ke("content")},c?m.createElement(he.XF,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(he.Iw,null),m.createElement(he.Dx,{title:l}),f?m.createElement(he.S3,{avatar:n,authorName:t}):m.createElement(he.qR,{showPartnerContent:p}),u&&p&&m.createElement(Ee,{partnerContentAuthors:s}),r&&m.createElement(he.dk,{description:r}))},Ce=function(e){var t=(0,M.dD)();return e.lessonHeaderSize!==ee.lh.SMALL||t?t?m.createElement(Se,e):m.createElement(Te,e):m.createElement(xe,e)},Ne=n(86565),Oe=n(80396),Ae=n(96022),Pe=n(8900),Le=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"}))},Ie=(0,N.Z)("lesson-nav");function Me(e,t){var n=e.allowTooltip,r=e.buttonScheme,i=e.color,o=e.courseFinishLabel,a=e.nextLesson,s=e.restrictionData,u=e.restrictionType,c=null==a?void 0:a.id,l=(0,Ae.$)(),d=(0,Ae.N)(l),f=r===ee.cX.ACCENT,p=r===ee.cX.TINT,h=p?(0,Oe.c7)(i):i,v=d?Pe.Z:Le,g=(0,M.dD)(),y={color:d&&p&&g?i:h,backgroundColor:p&&!d?i:null},b={backgroundColor:d&&(p||f)?i:null,borderColor:d&&p?i:null,color:d&&p?h:null};return m.createElement(Ne.Z,{allowTooltip:n,direction:"next",finish:!0,isFloating:d,linkStyles:b,navLessonId:c,ref:t,restrictionData:s,restrictionType:u,wrapStyles:y},m.createElement("span",{className:Ie("link-text").mix("brand--ui")},o),m.createElement(v,{className:Ie("link-icon")}))}var Re=(0,m.forwardRef)(Me),De=(0,N.Z)("lesson-nav");function je(e,t){var n,r,i,o=e.allowTooltip,a=e.buttonScheme,s=e.color,u=e.lessonNameLabel,c=e.nextLesson,l=e.nextLessonNumber,d=e.restrictionData,f=e.restrictionType,p=null==c?void 0:c.id,h=(0,Ae.$)(),v=(0,Ae.N)(h),y=(0,W.tV)(c)&&p,b=(null==c?void 0:c.title)||"",_=a===ee.cX.ACCENT,w=a===ee.cX.TINT,E=w?(0,Oe.c7)(s):s,k=v?Pe.Z:Le,x=(0,M.dD)(),S=y?g()(n="".concat(u," ")).call(n,l," - "):"",T=v&&y?g()(r="".concat(u," ")).call(r,l):g()(i="".concat(S)).call(i,b),C={color:v&&w&&x?s:E,backgroundColor:w&&!v?s:null},N={backgroundColor:v&&(w||_)?s:null,borderColor:v&&w?s:null,color:v&&w?E:null};return m.createElement(Ne.Z,{allowTooltip:o,direction:"next",isFloating:v,linkStyles:N,navLessonId:p,ref:t,restrictionData:d,restrictionType:f,wrapStyles:C},m.createElement("span",{className:De("link-text").mix("brand--ui")},T),m.createElement(k,{className:De("link-icon")}))}var Ze=(0,m.forwardRef)(je),Be=n(34163),Fe=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"}))},Ue=(0,N.Z)("lesson-nav");function qe(e){var t,n,r,i=e.allowTooltip,o=e.buttonScheme,a=e.color,s=e.courseHomeLabel,u=e.lessonNameLabel,c=e.previousLesson,l=e.previousLessonNumber,d=null==c?void 0:c.id,f=(0,Ae.$)(),p=(0,Ae.N)(f),h=(0,W.tV)(c)&&d,v=(null==c?void 0:c.title)||s,y=p?Be.Z:Fe,b=o===ee.cX.ACCENT,_=o===ee.cX.TINT,w=_?(0,Oe.c7)(a):a,E=(0,M.dD)(),k=h?g()(t=g()(n="".concat(u," ")).call(n,l," - ")).call(t,v):v,x=h&&p?g()(r="".concat(u," ")).call(r,l):k,S={color:p&&_&&E?a:w,backgroundColor:_&&!p?a:null},T={backgroundColor:p&&(_||b)?a:null,borderColor:p&&_?a:null,color:p&&_?w:null};return m.createElement(Ne.Z,{allowTooltip:i,direction:"previous",isFloating:p,linkStyles:T,navLessonId:d,wrapStyles:S},p?m.createElement(m.Fragment,null,m.createElement("span",{className:Ue("link-text").mix("brand--ui")},x),m.createElement(y,{className:Ue("link-icon")})):m.createElement(m.Fragment,null,m.createElement(y,{className:Ue("link-icon")}),m.createElement("span",{className:Ue("link-text").mix("brand--ui")},x)))}var ze=n(83728),He=n(37176),Ve=n(78892),We=n(41785),Ye=n(27309),Ge=We.Jg.COMPACT,Ke=We.Jg.COVER,$e=We.Jg.OVERLAY,Xe=We.Jg.SIDEBAR,Je=(0,N.Z)("progress-circle");function Qe(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,c=e.scope,l=e.value,d=(0,m.useState)(100===l),f=(0,ze.Z)(d,2),p=f[0],h=f[1],v=(0,He.Z)(l),g=(0,Ve.LI)(r),y=c===$e,b=y&&u===ee.Nu.ACCENT,_=y&&u===ee.Nu.TINT,w=y&&u===ee.Nu.GRAY,E=y&&u===ee.Nu.LIGHT,k=y&&u===ee.Nu.IMAGE,x=Je({compact:c===Ge,cover:c===Ke,current:o,dark:i,light:!i&&!b,sidebar:c===Xe,"accent-full-dark":b&&g,"accent-full-light":b&&!g}),S=Je("track",{dark:i,light:!i,"accent-full-dark":b&&g,"accent-full-light":b&&!g,image:k}),T=Je("runner",{dark:i,done:p,failed:a,light:!i&&!b,passed:s,unstarted:0===l,"accent-full-dark":b&&g,"accent-full-light":b&&!g,image:k,"failed-dark-style":(k||i||b)&&a,"failed-light-style":(w||_||E)&&a,"failed-image":k&&a}),C=Je("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:k}),N=Je("fail",{dark:i,done:p,light:!i,visible:a,image:k,"accent-full":b});return(0,m.useEffect)((function(){if(100!==l&&100===v)h(!1);else if(100===l&&!p){var e=setTimeout((function(){return h(!0)}),300);return clearTimeout.bind(null,e)}}),[p,v,l]),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(Ye.Z,{className:T,cx:"8",cy:"8",diameter:"16",r:"7",strokeWidth:"2",transform:"rotate(-89.9 8 8)",value:l}),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:N,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 et=n(13535),tt=n.n(et),nt=n(68420),rt=n(27344),it=n(5281),ot=n(90306),at=n(3020),st=n(3362),ut=n(95238),ct=n.n(ut),lt=n(1187),dt=n(40486),ft=n.n(dt),pt=n(24234),ht=n.n(pt),mt=n(416),vt=n.n(mt),gt=n(95425),yt=n.n(gt),bt=n(53176),_t=n.n(bt),wt=n(45697),Et=n.n(wt),kt=n(5683),xt=n.n(kt),St=n(67294);function Tt(e){var t=function(){if("undefined"==typeof Reflect||!tt())return!1;if(tt().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(tt()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,st.Z)(e);if(t){var i=(0,st.Z)(this).constructor;n=tt()(r,arguments,i)}else n=r.apply(this,arguments);return(0,at.Z)(this,n)}}var Ct=function(e){(0,ot.Z)(n,e);var t=Tt(n);function n(e){var r;return(0,nt.Z)(this,n),(r=t.call(this,e)).state={isSticky:!1},setTimeout((function(){document.getElementsByClassName("page-wrap")[0].addEventListener("scroll",r.onScrollRef=r.onScroll.bind((0,it.Z)(r)))}),10),r}return(0,rt.Z)(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=_t()(-1,"activeIndex",n),i=ht()(t);return-1===r?0:ft()(r)===i?100:xt()("%","",vt()([r,"linePosition"],t))}},{key:"processProgressValue",value:function(){var e=this.props,t=e.items,n=e.lessonProgress,r=_t()(0,"activeIndex",n),i=ht()(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 _t()(0,"percentViewed",t);case"timeline":return this.timelineProgressValue();default:return _t()(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,c=H()("progress-wrap",{}),l=H()("lesson-progress-wrapper",{"lesson-progress-wrapper--visible":u&&!o&&!a,"lesson--open":i&&s&&!this.isLessonPreview(),"lesson--open-mobile":s&&o&&!this.isLessonPreview()}),d=H()("progress",{"progress--timeline":"timeline"===n,"progress--video":"video"===n}),f=this.progressValue(),p="timeline"===n&&r&&ve()(r).call(r,(function(e){var t,n=H()("progress__marker",{"progress__marker--active brand--background":parseInt(f)>=parseInt(ct()(t=e.linePosition).call(t,0,-1))});return St.createElement("div",{className:n,style:{left:e.linePosition},key:e.id})})),h=St.createElement("div",{className:c},St.createElement("div",{className:d},St.createElement("div",{className:"progress__container"},St.createElement("div",{className:"progress__indicator brand--background",style:{transform:"translate3d(".concat(f,"%,0px,0px)")}}),p)));return St.createElement("div",{ref:function(t){return e.progresswrap=t}},h,St.createElement(yt(),null,St.createElement("div",{className:l},h)))}}],[{key:"propTypes",get:function(){return{id:Et().any.isRequired,lessonProgress:Et().object.isRequired,navigationType:Et().string,type:Et().string.isRequired,items:Et().array}}}]),n}(St.Component),Nt=(0,lt.hV)(Ct),Ot=k,At=w,Pt=k,Lt=E,It=k,Mt=k,Rt=k,Dt=k,jt=k,Zt=k,Bt=k,Ft=k,Ut=k,qt=n(79057),zt=n(76676),Ht=n(58519),Vt=n(67294),Wt=(0,N.Z)("cover"),Yt=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=Wt("details-content-aside",{logo:r});return Vt.createElement("div",{className:s},Vt.createElement(zt.Z,{type:"partner-content"},Vt.createElement(Ht.Z,{courseId:t,partnerContent:n,publishedAt:o,tenantId:a})))},Gt=n(34092),Kt=(0,N.Z)("cover"),$t=function(){var e=(0,x.Tn)(),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=Kt("details-row-logo",{"has-partner-content":o}),u=C()(i),c=i&&u.isValid();return m.createElement("div",{className:Kt("details-content-description-container",{published:c})},n&&m.createElement(Gt.Z,{className:s,imageClassName:Kt("details-row-logo-image")}),m.createElement(zt.Z,{type:a},m.createElement(P,{format:"[Published — ] MMMM D, YYYY"}),m.createElement(L.Z,{className:Kt("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:(0,I.A)(t)})))},Xt=n(54782),Jt=n.n(Xt),Qt=n(61584),en=n.n(Qt),tn=["className","type"],nn=(0,N.Z)("cover"),rn=ro("CoverDetailsContentHeading",(function(e){var t=e.className,n=void 0===t?"":t,r=e.type,i=(0,f.Z)(e,tn),o=en()(["Default"],i);return m.createElement("header",(0,d.Z)({},o,{className:nn("details-content-heading",{type:r}).mix(n)}))})),on=(0,N.Z)("cover"),an=function(e){var t=e.children,n=e.title,r=e.type,i=(0,x.Tn)(),o=i.description,a=i.media,s=i.partnerContentId,u=Boolean(s),c=Jt()(void 0,["image","key"],a),l=!pe()(c),d="outline"===r?o?l||u?u&&!l?"outline-has-partner-content":u&&l?"outline-has-pc-and-logo":"outline":"outline-no-logo":"outline-no-description":r;return m.createElement("section",{className:on("details-content-section",{type:d})},m.createElement(rn,{type:r},m.createElement("h2",null,n)),t)},sn=(0,N.Z)("cover"),un=function(){return m.createElement("svg",{"aria-hidden":"true",className:sn("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"}))},cn=n(68339),ln=cn.kS.bind(null,480),dn=cn.kS.bind(null,768),fn=(cn.kS.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 pn(){var e,t=(0,x.Tn)().coverPageType;return dn()&&null!==(e=fn[t])&&void 0!==e?e:t}var hn=n(67294),mn=(0,N.Z)("cover"),vn=function(){return null},gn=function(){return hn.createElement(hn.Fragment,null,hn.createElement(Y,null,hn.createElement(K.Z,null,hn.createElement($,null),hn.createElement(un,null),hn.createElement(q.ZP,null),hn.createElement(X.Z,null),hn.createElement(U.Z,null))))},yn=function(){return hn.createElement(hn.Fragment,null,hn.createElement(V,null,hn.createElement(K.Z,null,hn.createElement($,null),hn.createElement(un,null),hn.createElement(q.ZP,null),hn.createElement(X.Z,null),hn.createElement(U.Z,null))))},bn=function(){return hn.createElement(hn.Fragment,null,hn.createElement(G,null),hn.createElement(V,null,hn.createElement(K.Z,null,hn.createElement($,null),hn.createElement(un,null),hn.createElement(q.ZP,null),hn.createElement(X.Z,null),hn.createElement(U.Z,null))))},_n=function(){return hn.createElement(hn.Fragment,null,hn.createElement(V,null,hn.createElement(K.Z,null,hn.createElement($,null),hn.createElement(un,null),hn.createElement(q.ZP,null),hn.createElement(X.Z,null),hn.createElement(U.Z,null))),hn.createElement(G,null))},wn=function(){return hn.createElement(hn.Fragment,null,hn.createElement(V,null,hn.createElement(K.Z,null,hn.createElement($,null),hn.createElement(un,null),hn.createElement(q.ZP,null),hn.createElement(X.Z,null),hn.createElement(U.Z,null))),hn.createElement("div",{className:"cover__header-graphic-wrap"},hn.createElement(G,null)))};function En(){switch(pn()){default:case"CENTERED_IMAGE":return hn.createElement(wn,null);case"CENTERED":case"CENTERED_ACCENT_TINT":return hn.createElement(yn,null);case"SPLIT_LEFT_IMAGE":case"TWO_THIRDS_LEFT_IMAGE":return hn.createElement(_n,null);case"SPLIT_RIGHT_IMAGE":case"TWO_THIRDS_RIGHT_IMAGE":return hn.createElement(bn,null);case"CENTERED_OVERLAY":return hn.createElement(gn,null)}}function kn(){return hn.createElement("header",{className:mn("header",{meta:false})},hn.createElement(En,{hasMetaData:false}),hn.createElement(vn,null))}var xn=n(67294),Sn=(0,N.Z)("cover");function Tn(e){var t=e.children,n=pn(),r=(0,m.useMemo)((function(){return ue()(n)}),[n]),i=Sn(null,{layout:r});return xn.createElement("div",{id:"cover",className:i},t)}var Cn=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,c=e.title,l=e.totalLessons,d=!pe()(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(he.S3,{avatar:n,authorName:t}):m.createElement(he.qR,null),d&&m.createElement(Ee,{partnerContentAuthors:a}),h&&m.createElement("span",{"aria-hidden":"true",className:"lesson-header__info-row--divider"},"|"),u?m.createElement(he.XF,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:l}):m.createElement(he.Iw,null)),m.createElement("div",null,m.createElement(he.Dx,{title:c})))},Nn=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,c=e.title,l=e.totalLessons,d=(0,m.useMemo)((function(){return n&&t&&s&&!f}),[n,t,s,f]),f=!pe()(a);return m.createElement(m.Fragment,null,u?m.createElement(he.XF,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:l}):m.createElement(he.Iw,null),d&&m.createElement(he.S3,{avatar:n,authorName:t}),s&&f&&m.createElement(we,{partnerContentAuthors:a}),m.createElement(he.Dx,{title:c}))},On=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,c=e.title,l=e.totalLessons,d=(0,m.useMemo)((function(){return n&&t&&s&&!f}),[n,t,s,f]),f=!pe()(a);return m.createElement(m.Fragment,null,d?m.createElement(he.S3,{avatar:n,authorName:t}):m.createElement(he.qR,null),s&&f&&m.createElement(Ee,{partnerContentAuthors:a}),m.createElement(he.Dx,{title:c}),u?m.createElement(he.XF,{lessonName:r,lessonNumber:i,lessonPreposition:o,totalLessons:l}):m.createElement(he.Iw,null))},An=function(e){var t=ln();return e.lessonHeaderSize!==ee.lh.SMALL||t?t?m.createElement(Nn,e):m.createElement(On,e):m.createElement(Cn,e)},Pn=We.Jg.COMPACT,Ln=We.Jg.COVER,In=We.Jg.SIDEBAR,Mn=(0,N.Z)("progress-circle");function Rn(e){var t=e["aria-hidden"],n=e["aria-label"],r=e.isDark,i=e.isFailed,o=e.isPassed,a=e.scope,s=Mn({compact:a===Pn,cover:a===Ln,dark:r,failed:i,light:!r,passed:o,sidebar:a===In});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 Dn=n(67294),jn=["Default"];function Zn(e){var t=e.Default,n=(0,f.Z)(e,jn);return Dn.createElement(t,(0,d.Z)({},n,{hasOverlay:!1}))}var Bn=n(8485);function Fn(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,c=e.navigationStyle,l=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(Bn.Z,{canComplete:!1,color:t,hasRestriction:n,isComplete:r,isCurrentLesson:i,isDark:!1,isEnabled:!0,isFailed:o,isPassed:a,isTooltipVisible:s,navigationStyle:c,onHideTooltip:l,onShowTooltip:d,percentComplete:f,progressGraphic:p,scope:h})),m.createElement("span",{className:"overview-list-item__title"},u))}var Un=function(){return null},qn=n(67294);function zn(e){var t=e.className;return qn.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},qn.createElement("path",{d:"M3.33177 4.1487L6.48034 1.00013M9.6289 4.14869L6.48034 1.00013M6.48034 1.00013L6.47966 11.9601"}))}var Hn=n(5596),Vn=n(67294);function Wn(e){return Vn.createElement(Hn.Z,(0,d.Z)({},en()(["Default"],e),{viewBox:"0 3 16 10",fill:"none"}),Vn.createElement("path",{d:"M1.51472 7.99993H14.4853",stroke:"currentColor",strokeWidth:"0.75",strokeMiterlimit:"10"}),Vn.createElement("path",{d:"M9.50008 12.4994L14.5004 7.99932L9.50008 3.99973",stroke:"currentColor",strokeWidth:"0.75",strokeMiterlimit:"10"}))}var Yn=n(67294);function Gn(e){return Yn.createElement(Hn.Z,(0,d.Z)({viewBox:"0 0 25 16"},en()(["Default"],e)),Yn.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 Kn=n(80869),$n=n(67294);function Xn(e){return $n.createElement(Kn.Z,(0,d.Z)({width:"14",height:"8",viewBox:"0 0 14 8"},e),$n.createElement("path",{clipRule:"evenodd",d:"M13 1L7 7L1 1",stroke:"currentColor"}))}var Jn=n(67294);function Qn(e){return Jn.createElement(Hn.Z,(0,d.Z)({},en()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),Jn.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"white"}),Jn.createElement("path",{d:"M5 7.71429L7.54545 10L11.5 5.5",stroke:"white"}))}var er=n(67294);function tr(e){return er.createElement(Hn.Z,(0,d.Z)({},en()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),er.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"}),er.createElement("circle",{cx:"8",cy:"7.5293",r:"7",stroke:"white"}))}var nr=n(67294);function rr(e){var t=e.className;return nr.createElement("svg",{className:t,fill:"none",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"},nr.createElement("circle",{cx:"6",cy:"6",r:"5"}),nr.createElement("path",{d:"M9.5 9.5L14 14"}))}var ir=n(67294);function or(e){return ir.createElement(Hn.Z,(0,d.Z)({},en()(["Default"],e),{fill:"none",viewBox:"0 0 16 16"}),ir.createElement("circle",{cx:"8",cy:"8",r:"7",stroke:"white"}),ir.createElement("path",{d:"M10 6L6 10",stroke:"white"}),ir.createElement("path",{d:"M6 6L10 10",stroke:"white"}))}var ar=n(67294);function sr(e){var t=e.className;return ar.createElement("svg",{"aria-hidden":"true",className:t,fill:"none",focusable:"false",viewBox:"0 0 10 7",xmlns:"http://www.w3.org/2000/svg"},ar.createElement("path",{d:"M1 1.40002L5 5.40002L9 1.40002",strokeWidth:"1.6"}))}var ur=n(67294);function cr(e){return ur.createElement(Hn.Z,(0,d.Z)({viewBox:"0 0 12 12"},en()(["Default"],e)),ur.createElement("path",{d:"M10.7425 0.742189L11.4496 1.4493L1.55012 11.3488L0.843012 10.6417L10.7425 0.742189Z",fill:"currentColor"}),ur.createElement("path",{d:"M11.1571 10.6417L10.45 11.3488L0.550537 1.44929L1.25764 0.742188L11.1571 10.6417Z",fill:"currentColor"}))}var lr=n(79005),dr=cn.kS.bind(null,1200),fr=cn.kS.bind(null,768),pr=cn.kS.bind(null,480),hr=(0,N.Z)("cover"),mr=function(){var e=(0,x.Tn)(),t=dr(),n=e.description;return n?m.createElement("div",null,m.createElement("section",{className:hr("details-content-section")},t&&m.createElement(S.Z,null),m.createElement(L.Z,{className:hr("details-content-description").mix(["brand--body","brand--linkColor"]),key:"text",value:(0,I.A)(n)}))):null},vr=n(44721),gr=n.n(vr),yr={SPLIT_LEFT:"LEFT",SPLIT_LEFT_IMAGE:"LEFT_OVERLAY",SPLIT_RIGHT:"LEFT",SPLIT_RIGHT_IMAGE:"LEFT_OVERLAY"};function br(){var e,t=(0,x.Tn)().coverPageType;return fr()&&null!==(e=yr[t])&&void 0!==e?e:t}var _r=n(67294),wr=["Default"];function Er(e){var t,n=e.Default,r=(0,f.Z)(e,wr),i=br(),o=gr()(t=["SPLIT_RIGHT","SPLIT_RIGHT_IMAGE"]).call(t,i);return _r.createElement(n,(0,d.Z)({},r,{reverseColumns:o}))}var kr=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=(0,x.Tn)())&&void 0!==t?t:{}).coverImage,u=s.alpha,c=s.media,l=a?{backgroundColor:n}:(0,W.A5)({alpha:u,media:c,hasOverlay:i});return m.createElement("div",{className:"cover__header-graphic-container"},m.createElement("div",{className:"cover__header-graphic",style:l}))},xr=n(89356),Sr=n.n(xr),Tr=n(63263),Cr=n.n(Tr),Nr=n(30699),Or=n.n(Nr),Ar=n(58377),Pr=n.n(Ar),Lr=n(13038),Ir=n.n(Lr),Mr=n(44845),Rr=n(64393),Dr=n(54115),jr=n.n(Dr),Zr=function(e){return m.createElement(zr,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"})))},Br=function(e){return m.createElement(zr,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"})))},Fr=function(e){return m.createElement(zr,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"})))},Ur=function(e){return m.createElement(zr,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"})))},qr={LEFT_OVERLAY:Zr,LEFT:Zr,CENTERED:Br,CENTERED_OVERLAY:Br,SPLIT_LEFT:Fr,SPLIT_LEFT_IMAGE:Fr,SPLIT_RIGHT:Ur,SPLIT_RIGHT_IMAGE:Ur},zr=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)},Hr=function(e){var t=e.className,n=e.coverPageType;return _t()(jr()(null),n,qr)({className:t})};function Vr(e,t){var n=Sr()(e);if(Cr()){var r=Cr()(e);t&&(r=Or()(r).call(r,(function(t){return Pr()(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vr(Object(n),!0).forEach((function(t){(0,Mr.Z)(e,t,n[t])})):Ir()?Object.defineProperties(e,Ir()(n)):Vr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Pr()(n,t))}))}return e}var Yr=(0,N.Z)("cover"),Gr=function(){return m.createElement("div",{className:Yr("author-published-wrap")},m.createElement(q.ZP,null),m.createElement(P,null))},Kr=function(e){var t=e.coverPageType,n=pr();return m.createElement(Y,null,m.createElement(Hr,{coverPageType:t}),m.createElement(K.Z,null,!n&&m.createElement($,null),m.createElement(Gr,null),m.createElement(X.Z,null),n&&m.createElement($,null),m.createElement(U.Z,null)))},$r=function(e){var t=e.coverPageType,n=pr();return m.createElement(V,null,m.createElement(Hr,{coverPageType:t}),m.createElement(K.Z,null,!n&&m.createElement($,null),m.createElement(Gr,null),m.createElement(X.Z,null),n&&m.createElement($,null),m.createElement(U.Z,null)))},Xr=function(e){var t=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(Hr,{coverPageType:t}),m.createElement(kr,null),m.createElement(V,null,m.createElement(K.Z,null,m.createElement($,null),m.createElement(Gr,null),m.createElement(X.Z,null),m.createElement(U.Z,null))))},Jr=function(e){var t=e.accentColor,n=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(V,null,m.createElement(K.Z,null,m.createElement($,null),m.createElement(Gr,null),m.createElement(X.Z,null),m.createElement(U.Z,null))),m.createElement(Hr,{coverPageType:n}),m.createElement(kr,{accentColor:t,isShape:!0}))},Qr=function(e){var t=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(V,null,m.createElement(K.Z,null,m.createElement($,null),m.createElement(Gr,null),m.createElement(X.Z,null),m.createElement(U.Z,null))),m.createElement(Hr,{coverPageType:t}),m.createElement(kr,null))},ei=function(e){var t=e.accentColor,n=e.coverPageType;return m.createElement(m.Fragment,null,m.createElement(Hr,{coverPageType:n}),m.createElement(kr,{accentColor:t,isShape:!0}),m.createElement(V,null,m.createElement(K.Z,null,m.createElement($,null),m.createElement(Gr,null),m.createElement(X.Z,null),m.createElement(U.Z,null))))};function ti(e){var t=br(),n=Wr(Wr({},e),{},{coverPageType:t});switch(t){default:case ee.iy.LEFT_OVERLAY:case ee.iy.CENTERED_OVERLAY:return m.createElement(Kr,n);case ee.iy.LEFT:case ee.iy.CENTERED:return m.createElement($r,n);case ee.iy.SPLIT_LEFT:return m.createElement(Jr,n);case ee.iy.SPLIT_LEFT_IMAGE:return m.createElement(Qr,n);case ee.iy.SPLIT_RIGHT:return m.createElement(ei,n);case ee.iy.SPLIT_RIGHT_IMAGE:return m.createElement(Xr,n)}}var ni=function(e){var t=(0,x.Tn)().partnerContentId,n=(0,x.ny)(),r=!(!(Boolean(t)&&n)&&!Rr.VO);return m.createElement("header",{className:Yr("header",{"with-info":r})},m.createElement(ti,e))},ri=(0,N.Z)("cover"),ii=function(e){var t=e.children,n=br(),r=(0,m.useMemo)((function(){return ue()(n)}),[n]),i=ri(null,{layout:r});return m.createElement("div",{id:"cover",className:i},t)},oi=n(74792),ai=n(67294),si=(0,N.Z)("cover");function ui(e){var t=e.nextLesson,n=e.percentComplete,r=pr();return 0!==n&&Rr.VO?ai.createElement("div",{className:si("progress")},r&&ai.createElement("div",{className:si("progress-text")},n,"% Complete"),ai.createElement("div",{"aria-valuenow":n,className:si("progress-outer"),role:"progressbar"},ai.createElement("div",{className:si("progress-inner"),style:{width:"".concat(n,"%")}})),ai.createElement("div",{className:si("progress-text-wrap")},!r&&ai.createElement("div",{className:si("progress-text")},n,"% Complete"),t&&ai.createElement("div",{className:si("progress-next-lesson")},ai.createElement(oi.ol,{className:si("progress-next-lesson-icon").toString(),decorative:!0}),ai.createElement("span",{"aria-hidden":"true",className:si("progress-next-lesson-text")},t.title),ai.createElement("span",{className:"visually-hidden"},"Next lesson: ",t.title)))):null}var ci=function(){return m.createElement("div",{className:"lesson-header__author--hidden"})},li=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,c=e.showLessonCount,l=e.title,d=e.totalLessons,f=!pe()(s)&&u,p=n&&t&&u&&!f,h=p||f||c,v=c&&p;return m.createElement("div",{className:"lesson-header__content"},h&&m.createElement("div",{className:"lesson-header__info-row"},p?m.createElement(he.S3,{avatar:n,authorName:t}):m.createElement(ci,null),f&&m.createElement(Ee,{partnerContentAuthors:s}),v&&m.createElement("span",{"aria-hidden":"true",className:"lesson-header__info-row--divider"},"|"),c?m.createElement(he.XF,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(he.Iw,null)),m.createElement("div",null,m.createElement(he.Dx,{title:l}),r&&m.createElement(he.dk,{description:r})))},di=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,c=e.showLessonCount,l=e.title,d=e.totalLessons,f=(0,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!pe()(s);return m.createElement(m.Fragment,null,m.createElement(he.Dx,{title:l}),m.createElement(he.RG,null,f?m.createElement(he.S3,{avatar:n,authorName:t}):m.createElement(ci,{showPartnerContent:p}),u&&p&&m.createElement(Ee,{partnerContentAuthors:s}),c?m.createElement(he.XF,{lessonName:i,lessonNumber:o,lessonPreposition:a,showPartnerContent:p,totalLessons:d}):m.createElement(he.Iw,null)),r&&m.createElement(he.dk,{description:r}))},fi=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,c=e.showLessonCount,l=e.title,d=e.totalLessons,f=(0,m.useMemo)((function(){return n&&t&&u&&!p}),[n,t,u,p]),p=!pe()(s);return m.createElement(m.Fragment,null,c?m.createElement(he.XF,{lessonName:i,lessonNumber:o,lessonPreposition:a,totalLessons:d}):m.createElement(he.Iw,null),f?m.createElement(he.S3,{avatar:n,authorName:t}):m.createElement(ci,null),u&&p&&m.createElement(we,{partnerContentAuthors:s}),m.createElement(he.Dx,{title:l}),r&&m.createElement(he.dk,{description:r}))},pi=function(e){var t=(0,M.dD)();return e.lessonHeaderSize!==ee.lh.SMALL||t?t?m.createElement(fi,e):m.createElement(di,e):m.createElement(li,e)},hi=We.Jg.COMPACT,mi=We.Jg.COVER,vi=We.Jg.OVERLAY,gi=We.Jg.SIDEBAR,yi=(0,N.Z)("progress-circle");function bi(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,c=e.value,l=(0,m.useState)(100===c),d=(0,ze.Z)(l,2),f=d[0],p=d[1],h=(0,He.Z)(c),v=(0,Ve.LI)(r),g=u===vi,y=g&&s===ee.Nu.ACCENT,b=g&&s===ee.Nu.TINT,_=g&&s===ee.Nu.IMAGE,w=g&&s===ee.Nu.GRAY,E=g&&s===ee.Nu.LIGHT,k=yi({"accent-full-dark":y&&v,"accent-full-light":y&&!v,compact:u===hi,cover:u===mi,dark:i,light:!i&&!y,sidebar:u===gi}),x=yi("track",{dark:i,light:!i,image:_,"accent-full-dark":y&&v,"accent-full-light":y&&!v}),S=yi("runner",{dark:i,done:f,failed:o,light:!i,passed:a,unstarted:0===c,image:_,"accent-full-dark":y&&v,"accent-full-light":y&&!v,"failed-dark-style":(_||i||y)&&o,"failed-light-style":(w||b||E)&&o,"failed-image":_&&o}),T=yi("pass",{dark:i,done:f,light:!i,visible:a,"accent-dark":v&&!y&&!_,"accent-light":!v&&!y,image:_,"accent-full-dark":y&&v,"accent-full-light":y&&!v}),C=yi("fail",{dark:i,done:f,light:!i,visible:o,image:_,"accent-full":y});(0,m.useEffect)((function(){100!==c&&100===h&&p(!1)}),[h,c]);var N=(0,m.useCallback)((function(){100===c&&p(!0)}),[c]);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:x,cx:"7.5",cy:"7.5",fill:"transparent",r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)"}),m.createElement(Ye.Z,{className:S,cx:"7.5",cy:"7.5",diameter:"15",onTransitionEnd:N,r:"6.5",strokeWidth:"2",transform:"rotate(-89.9 7.5 7.5)",value:c}),m.createElement("path",{className:T,d:"M5.36816 7.25119L7.03483 8.91815L9.9515 6.00098",strokeWidth:"1.50026"}),m.createElement("path",{className:C,clipRule:"evenodd",d:"M7.5 8.56157L8.84426 9.90564L9.90503 8.84473L8.56078 7.50066L9.90543 6.15582L8.84452 5.09504L7.49986 6.43988L6.15452 5.09473L5.09375 6.15564L6.43909 7.5008L5.09452 8.84555L6.15543 9.90632L7.5 8.56157Z",fillRule:"evenodd"}))}var _i=n(74388),wi=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(_i.Z,{"aria-hidden":"true",color:o,progress:a,runnerClass:n,trackClass:i}))},Ei=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"}))},ki=n(67294);function xi(e){return ki.createElement(Hn.Z,(0,d.Z)({},e,{viewBox:"0 0 16 8"}),ki.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 Si=n(67294);function Ti(e){return Si.createElement(Hn.Z,(0,d.Z)({},en()(["Default"],e),{viewBox:"0 0 16 8"}),Si.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 Ci=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"}))},Ni=n(67294);function Oi(e){return Ni.createElement(Kn.Z,(0,d.Z)({height:"12",width:"16",viewBox:"0 0 16 12"},e),Ni.createElement("path",{clipRule:"evenodd",d:"M9.6665 2H0.666504V0H9.6665V2ZM12.6665 6H0.666504V4H12.6665V6ZM0.666504 10H7.6665V8H0.666504V10Z",fill:"currentColor",fillRule:"evenodd"}))}var Ai=n(67294);function Pi(e){return Ai.createElement(Kn.Z,(0,d.Z)({height:"8",width:"12",viewBox:"0 0 12 8"},e),Ai.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 Li=n(67294);function Ii(e){return Li.createElement(Kn.Z,(0,d.Z)({height:"8",width:"12",viewBox:"0 0 12 8"},e),Li.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 Mi=n(67294);function Ri(e){return Mi.createElement(Kn.Z,(0,d.Z)({height:"21",width:"20",viewBox:"0 0 20 21"},e),Mi.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"}),Mi.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"}),Mi.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 Di=n(67294);function ji(e){return Di.createElement(Kn.Z,(0,d.Z)({height:"15",width:"16",viewBox:"0 0 16 15"},e),Di.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 Zi=n(67294);function Bi(e){return Zi.createElement(Kn.Z,(0,d.Z)({height:"18",width:"18",viewBox:"0 0 18 18"},e),Zi.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"}),Zi.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 Fi=n(67294);function Ui(e){return Fi.createElement(Kn.Z,(0,d.Z)({height:"14",width:"20",viewBox:"0 0 20 14"},e),Fi.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"}),Fi.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 qi=n(67294);function zi(e){return qi.createElement(Kn.Z,(0,d.Z)({height:"14",width:"14",viewBox:"0 0 14 14"},e),qi.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 Hi=n(63325),Vi=n(15261),Wi=n(17867),Yi=n(62495),Gi=n(67294),Ki=["themeId"],$i=i,Xi={classic:i,default:i,imaginative:s,organic:l},Ji=h()((0,m.createContext)($i),{displayName:"ThemeContext"});function Qi(e){var t,n=e.themeId,r=(0,f.Z)(e,Ki);return Gi.createElement(Ji.Provider,(0,d.Z)({},r,{value:null!==(t=Xi[n])&&void 0!==t?t:$i}))}function eo(e){return Gi.createElement(Gi.Fragment,null,e.children)}function to(){return null}function no(e,t,n){function r(r,i){var o,a,s=(0,m.useContext)(Ji),u=null!==(o=null==s||null===(a=s[e])||void 0===a?void 0:a[t])&&void 0!==o?o:n;return Gi.createElement(u,(0,d.Z)({ref:i},r,{Default:n}))}return r.displayName="ThemeComponent(".concat(t,")"),(0,m.forwardRef)(r)}function ro(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eo;return no("components",e,t)}function io(e){return no("icons",e,to)}},80869:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294);function i(e){var t=e.children,n=e.className,i=e.height,o=e.width,a=e.viewBox;return r.createElement("svg",{"aria-hidden":"true",className:n,fill:"none",focusable:"false",height:i,viewBox:a,width:o,xmlns:"http://www.w3.org/2000/svg"},t)}},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),c=n(88066),l=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 c=i(a,s);if(void 0!==c){if("value"in c)return c.value;var l=c.get;if(void 0===l)return;return l.call(u)}var d=o(a);if(null===d)return;e=d,t=s,n=u,r=!0,c=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,c=s({},this.state.style,this.props.style,{animationDelay:u+"s"});return g.default.createElement(w,{classes:t,initiallyVisible:i,keepStructure:o,key:n,style:c},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=c(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)}(l(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),c=n(83669),l=r(i(["filter"],u,(function(e,t){return a(t)?s((function(n,r){return e(t[r])&&(n[r]=t[r]),n}),{},c(t)):o(e,t)})));e.exports=l},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,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){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,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=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 c=t.apply(null,a);return c(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),c=n(82514),l=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!c((function(e,t){return!c(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"===l(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 c=n.length-1;c>=0;){if(n[c]===e)return i[c]===t;c-=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(c=g.length-1;c>=0;){var _=g[c];if(!d(_,t)||!v(t[_],e[_],y,b))return!1;c-=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 c(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var l=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 c(e,t,n,"fantasy-land/reduce");if(null!=n[l])return u(e,t,n[l]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return c(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),c=n(16891),l=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 c(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):c(l(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())+")":c(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(80658),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"],c=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},d=i("function"!=typeof r||c?function(e){if(Object(e)!==e)return[];var t,n,r=[],i=c&&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)&&!l(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),c=n(83669),l=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}),{},c(t));default:return o(e,t)}})));e.exports=l},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},80658: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},41029: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),c=function(e,t){return t&&l(0,e*Math.pow(2,t))},l=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 l=e.when;void 0===l&&(l=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)}),c(n,d))}))},p=function(){return r.resolve(e).then(i(t)).catch(a(l,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,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){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,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=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 c(e,t,n,r){return e["@@transducer/result"](n[r](s(e["@@transducer/step"],e),t))}var l=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 c(e,t,n,"fantasy-land/reduce");if(null!=n[l])return u(e,t,n[l]());if("function"==typeof n.next)return u(e,t,n);if("function"==typeof n.reduce)return c(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(89894),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"),c=n(7961).typeFn(u(),5),l=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 E((function(t,n){return n(e)}))};function E(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)),c=g(u)?u:h;return p((function(){return a((c(),void(i=!0)))}))}function d(e){return function(t){if(!g(t))throw new TypeError("Async."+e+": Function required");return E((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 E((function(e,r){return a(f(e,t),f(r,n))}))}}function v(e){return function(t){if(!_(E,t))throw new TypeError("Async."+e+": Async required");return E((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 E((function(n,r){var i=h,o=h;return i=a(n,(function(i){var a=t(i);if(!_(E,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 E((function(n,r){return a(f(r,e),f(n,t))}))},race:function(e){if(!_(E,e))throw new TypeError("Async.race: Async required");return E((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 E((function(n,r){return a(f(r,e),f(r,t))}))},ap:function(e){if(!_(E,e))throw new TypeError("Async.ap: Async required");return E((function(t,n){var r=null,i=null,o=!1,s=!1,u=!1,c=p(t);function l(){!u&&o&&s&&f(n,r)(i)}var d=a(c,(function(e){if(!g(e))throw new TypeError("Async.ap: Wrapped value must be a function");o=!0,r=e,l()})),h=e.fork(c,(function(e){s=!0,i=e,l()}));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 E((function(r,i){var o=h,s=h;function u(e){return function(t){var o=e(t);if(!_(E,o))throw new TypeError(n);s=o.fork(r,i)}}return o=a(u(e),u(t)),p((function(){return s(o())}))}))}})[l.of]=n,t[l.alt]=v(l.alt),t[l.bimap]=m(l.bimap),t[o(l)]=d(o(l)),t[l.chain]=y(l.chain),t["@@type"]=c,t.constructor=E,t}E.of=w,E.type=u,E[l.of]=w,E["@@type"]=c,E.Rejected=function(e){return E((function(t){return t(e)}))},E.Resolved=w,E.fromPromise=function(e){if(!g(e))throw new TypeError("Async.fromPromise: Promise returning function required");return function(){var t=arguments;return E((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)}))}},E.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 E((function(i,o){e.apply(t,r(n).call(n,(function(e,t){return e?i(e):o(t)})))}))}},E.all=function(e){if(!v(e)||!e.reduce((function(e,t){return e&&_(E,t)}),!0))throw new TypeError("Async.all: Foldable structure of Asyncs required");return m(e)?d.sequence(E.of,e):e.sequence(E.of)},E.rejectAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.rejectAfter: Positive Integer required for first argument");return E((function(n){var r=setTimeout((function(){n(t)}),e);return function(){clearTimeout(r)}}))},E.resolveAfter=function(e,t){if(!(y(e)&&e>=0))throw new TypeError("Async.resolveAfter: Positive Integer required for first argument");return E((function(n,r){var i=setTimeout((function(){r(t)}),e);return function(){clearTimeout(i)}}))},E["@@implements"]=a(["alt","ap","bimap","chain","map","of"]),e.exports=E},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),c=n(12384),l=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)||!l(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&&c(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(!l(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(!l(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 c=u.length===t.length?t.apply(null,u):u.reduce(o,t);return i(c)?e(c):c}}},71426:function(e,t,n){var r=n(89356),i=n(17430),o=n(85957),a=n(82111),s=n(29560),u=n(57345),c=function(e,t){return e.valueOf()===t.valueOf()},l={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):(l[s(e)]||c)(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),c=n(74251),l=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(", ")+" }":c(e)?' "'+e+'"':l(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)}}},51071:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(13535),i=n.n(r),o=n(86302),a=n(68420),s=n(27344),u=n(5281),c=n(32647),l=n(90306),d=n(3020),f=n(3362),p=n(88066),h=n.n(p),m=n(26729);function v(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var g=function(e){(0,l.Z)(n,e);var t=v(n);function n(){var e,r;(0,a.Z)(this,n);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return r=t.call.apply(t,h()(e=[this]).call(e,o)),navigator.serviceWorker&&navigator.serviceWorker.addEventListener("message",r._handleMessage.bind((0,u.Z)(r))),r}return(0,s.Z)(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=(0,c.Z)((0,f.Z)(n.prototype),"emit",this)).call.apply(e,h()(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=(0,c.Z)((0,f.Z)(n.prototype),"emit",this)).call.apply(t,h()(r=[this]).call(r,(0,o.Z)(e.data.params)))}}]),n}(n.n(m)())},5862:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(95238),i=n.n(r),o=n(53592),a=n.n(o),s=n(51446),u=n.n(s),c=n(19996),l=n.n(c),d=n(13535),f=n.n(d),p=n(90306),h=n(3020),m=n(3362),v=n(84087),g=n(86302),y=n(68420),b=n(27344),_=n(12088),w=n.n(_),E=n(88066),k=n.n(E),x=n(26729),S=n.n(x),T=n(51829),C=n.n(T),N=n(77897),O=n(88541),A=n(13275);function P(e){var t=function(){if("undefined"==typeof Reflect||!f())return!1;if(f().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(f()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,m.Z)(e);if(t){var i=(0,m.Z)(this).constructor;n=f()(r,arguments,i)}else n=r.apply(this,arguments);return(0,h.Z)(this,n)}}function L(e,t){var n=void 0!==u()&&l()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return I(e,t);var r=i()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return a()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return I(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 s,c=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){d=!0,s=e},f:function(){try{c||null==n.return||n.return()}finally{if(d)throw s}}}}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var M=function(){function e(t,n){(0,y.Z)(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(S()),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(0,b.Z)(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=(0,v.Z)(O.EventSourcePolyfill,(0,g.Z)(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=L(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):((0,A.Z)(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):(C()(this._listeners[e],[t]),this._source.removeEventListener(e,t))}}]),e}();function R(e,t){return function(n){(0,p.Z)(i,n);var r=P(i);function i(){var n;(0,y.Z)(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,k()(n=[this,e,t]).call(n,a))}return i}(M)}["onerror","onmessage","onopen"].forEach((function(e){Object.defineProperty(M.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(M.prototype,e,{get:function(){return this._source[e]}})})),w()(M.prototype,(0,N.pick)(["CONNECTING","OPEN","CLOSED"],O.EventSourcePolyfill.prototype))},63149:function(e,t,n){"use strict";var r=n(33938),i=n(63109),o=n.n(i),a=n(2220),s=n.n(a),u=n(69564),c=n(53037);function l(){return(l=(0,r.Z)(o().mark((function e(t,n,r){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("heyokra"!==r.idp){e.next=7;break}return e.next=4,(0,u.Z)(t,n,r);case 4:e.t0=e.sent,e.next=10;break;case 7:return e.next=9,(0,c.Z)(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)})))).apply(this,arguments)}t.Z=s()(3,(function(e,t,n){return l.apply(this,arguments)}))},30697:function(e,t,n){"use strict";var r=n(2220),i=n.n(r),o=n(41082);t.Z=i()(3,(function(){return o.Z.apply(void 0,arguments).toPromise()}))},41082:function(e,t,n){"use strict";var r=n(13535),i=n.n(r),o=n(95238),a=n.n(o),s=n(53592),u=n.n(s),c=n(19996),l=n.n(c),d=n(68420),f=n(90306),p=n(3020),h=n(3362),m=n(25794),v=n(51446),g=n.n(v),y=n(79927),b=n.n(y),_=n(88066),w=n.n(_),E=n(90),k=n.n(E),x=n(54991),S=n.n(x),T=n(14886),C=n.n(T),N=n(50557),O=n.n(N),A=n(2220),P=n.n(A),L=n(37365),I=n.n(L),M=n(52478),R=n.n(M),D=n(6037),j=n.n(D),Z=n(17636),B=n(18311),F=n(6160),U=n(12950),q=n(45574);function z(e,t){var n=void 0!==g()&&l()(e)||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){var n;if(!e)return;if("string"==typeof e)return H(e,t);var r=a()(n=Object.prototype.toString.call(e)).call(n,8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return u()(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H(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,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw o}}}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function V(e){var t=function(){if("undefined"==typeof Reflect||!i())return!1;if(i().sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,h.Z)(e);if(t){var o=(0,h.Z)(this).constructor;n=i()(r,arguments,o)}else n=r.apply(this,arguments);return(0,p.Z)(this,n)}}var W=g()("TimeoutError"),Y=function(e){(0,f.Z)(n,e);var t=V(n);function n(){return(0,d.Z)(this,n),t.call(this,"Authorization timed out")}return n}((0,m.Z)(Error));Y.prototype[W]=!0;var G=(0,Z.Z)({tries:2,when:function(e){return e[W]}}),K={},$=0,X=I()(R()("AUTH_SERVICE_URI"),(function(e){window.addEventListener("message",(function(t){var n=new(b())(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,c=K[u];c&&(o?c.reject(new Error([o,a].join(", "))):c.resolve({access_token:i,id_token:s}))}}))}));var J,Q,ee=function(e,t){return[e.AUTH_SERVICE_URI,t].join("|")};t.Z=P()(3,(J=G((function(e,t,n){return new(C())((function(r,i){var o=j()((function(){delete K[a],document.body.removeChild(u)}));X(e);var a=$++,s=(0,F.Z)(),u=document.createElement("iframe");return u.style.display="none",document.body.appendChild(u),C()((function(t,r){var i=(0,q.Z)(),o={resolve:r,reject:t};K[a]=o,u.addEventListener("error",O()(t,R()("error"))),u.src=(0,U.Z)({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(C().rejectAfter(5e3,new Y)).chain((function(e){var n,r=e.id_token,i=e.access_token,o=r?(0,B.Z)(r):null;return s!==o.nonce?C().Reject(new Error(w()(n="Expected nonce ".concat(s," but received ")).call(n,o.nonce))):(t.set(r,i),C().of(t.get()))})).bimap(o,o).fork(r,i,o)}))})),Q={},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C()((function(e,n){var r={resolve:n,reject:e},i=ee.apply(void 0,t),o=g()();null==Q[i]&&(Q[i]={listeners:new(k())});var a=Q[i];if(a.listeners.set(o,r),1===a.listeners.size){var s=function(e){return function(t){var n,r,o=[],s=z(S()(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 Q[i],o.length>0)throw o[0]}};a.cancel=J.apply(void 0,t).fork(s("reject"),s("resolve"))}return function(){a.listeners.delete(o),0===a.listeners.size&&a.cancel&&a.cancel()}}))}))},83807:function(e,t,n){"use strict";var r=n(9669),i=n.n(r),o=n(37365),a=n.n(o);t.Z=a()(String,(function(e){return i().create({baseURL:e,withCredentials:!0})}))},17636:function(e,t,n){"use strict";var r=n(14886),i=n.n(r),o=n(53007),a=n.n(o),s=n(2220),u=n.n(s),c=n(23710),l=n.n(c);function d(e,t){return t&&(n=0,r=e*Math.pow(t,2),Math.round(n+Math.random()+(r-n)));var n,r}t.Z=u()(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,o=e.tries,s=void 0===o?10:o,u=e.when,c=void 0===u?a():u;function f(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var a=0;function u(){return i().resolveAfter(d(r,a)).chain(p)}function f(e){return++a<s?u():i().Rejected(e)}function p(){return t.apply(void 0,n).bichain(l()(c,f,i().Rejected),i().of)}return p()}return f}))},42101:function(e,t,n){"use strict";var r=n(14886),i=n.n(r),o=n(2220),a=n.n(o);t.Z=a()(2,(function(e,t){return e?i()((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}))},3391:function(e,t,n){"use strict";var r=n(33938),i=n(63109),o=n.n(i),a=n(2220),s=n.n(a),u=n(40437),c=n.n(u),l=n(10339),d=n.n(l),f=n(6037),p=n.n(f),h=n(61937),m=n.n(h),v=n(83807),g=n(45574);function y(){return(y=(0,r.Z)(o().mark((function e(t,n,r,i){var a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i.clear(),a=(0,g.Z)()?r.HEYOKRA_AUTH_SERVICE_URI:r.AUTH_SERVICE_URI,e.next=4,(0,v.Z)(a).delete("/api/v1/sessions/me").then(p()((function(){return n.emit&&t.emit("session:closed")}))).catch(m()(c()(["response","status"],404),d()));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}t.Z=s()(4,(function(e,t,n,r){return y.apply(this,arguments)}))},71508:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(76489);function i(e){return r.parse(document.cookie)[e]}},56042:function(e,t,n){"use strict";var r=n(76489),i=n(2220),o=n.n(i);t.Z=o()(2,(function(e,t){var n=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=r.serialize(t,"",{domain:n,expires:new Date(0),path:"/",secure:!0})}))},71368:function(e,t,n){"use strict";var r=n(83728),i=n(76489),o=n(2220),a=n.n(o);t.Z=a()(3,(function(e,t,n){var o=(0,r.Z)(n,1)[0];if(t){var a=e.SESSION_COOKIE_DOMAIN||window.location.host;document.cookie=i.serialize(t,o,{domain:a,path:"/",secure:!0})}}))},18311:function(e,t,n){"use strict";var r=n(46489),i=n.n(r),o=n(30845);t.Z=(0,o.Z)(i())},11736:function(e,t,n){"use strict";var r=n(83728),i=n(69798),o=n.n(i),a=n(50047),s=n.n(a),u=n(44721),c=n.n(u),l=n(14886),d=n.n(l),f=n(54115),p=n.n(f),h=n(98766),m=n.n(h),v=n(97411),g=n.n(v),y=n(32573),b=n.n(y),_=n(23018),w=n.n(_),E=n(36573),k=n.n(E),x=n(33784),S=n.n(x),T=n(3087),C=n.n(T),N=n(14087),O=n.n(N),A=n(51481),P=n.n(A),L=n(97877),I=n.n(L),M=n(23710),R=n.n(M),D=n(13594),j=n.n(D),Z=n(61894),B=n.n(Z),F=n(54782),U=n.n(F),q=n(52478),z=n.n(q),H=n(67430),V=n.n(H),W=n(16722),Y=n.n(W),G=n(6037),K=n.n(G),$=n(1465),X=n.n($),J=n(61937),Q=n.n(J),ee=n(41082),te=o().reject.bind(o()),ne=function(e){return e instanceof Response},re=function(e){return V()(e,"status")},ie=w()(ne,re(j()(500))),oe=k()(ne),ae=S()(Q()(z()("ok"),te),(function(e){return window.fetch(e.clone())})),se=b()({when:O()(ie,oe),tries:3},ae),ue=X()(2,(function(e){return w()(p()(I()("OKTA_CLIENT_ID",e)),re(m()(B()(P(),[401,403]))))})),ce=U()([],["roles"]),le=U()("",["subscription","status"]),de=C()((function(e,t,n){var i,o,a=(0,r.Z)(n,2)[1],u=s()(i=[t,a]).call(i,ce),c=(0,r.Z)(u,2),l=c[0],d=c[1],f=s()(o=[t,a]).call(o,le),p=(0,r.Z)(f,2),h=p[0],m=p[1];Y()(l,d).length>0&&e.emit("change:roles",a,t),h!==m&&e.emit("change:status",a,t)})),fe=C()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return c()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&c()(r=n.message).call(r,"redirect_uri")?g()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),d().Rejected(n)})).toPromise():(n instanceof DOMException&&"AbortError"===n.name||e.emit("unauthorized",n),o().reject(n))})),pe=C()((function(e,t,n,r){if(null!=n&&n.sub!==r[1].sub)throw e.emit("unauthorized",t),t;return r})),he=C()((function(e,t,n,i,a){var s,u,c=n.get(),l=(0,r.Z)(c,2)[1];return(s=(0,ee.Z)(t,n,void 0),u=i.signal,new(o())((function(e,t){if(u instanceof AbortSignal){var n=function(){return t(new DOMException("Aborted","AbortError"))};if(u.aborted)n();else{var r=Function.prototype,i=function(){return r()};u.addEventListener("abort",i);var o=function(e){return function(t){u.removeEventListener("abort",i),e(t)}};r=s.fork(o(t),o(e),o(n))}}else s.fork(t,e)}))).then(pe(e,a,l),fe(e,t)).then(K()(de(e,l))).then((function(){return se(i)}))})),me=X()(5,(function(e,t,n,r){return R()(ue(t),he(e,t,n,r),te)})),ve=Q()(ne,te);t.Z=function(e){return function(t,n,r,i){var o=new Request(r,i);return se(o).catch(me(e,t,n,o)).catch(ve)}}},6160:function(e,t,n){"use strict";var r=n(93007),i=n.n(r);t.Z=i()(9)},12950:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(61577),i=n.n(r),o=n(12088),a=n.n(o),s=n(79927),u=n.n(s),c=n(13657),l=n.n(c),d=n(63266),f=n.n(d),p=n(6160),h=f()(l());function m(e){var t=e.client_id,n=e.issuer,r=e.idp,o=e.nonce,s=e.prompt,c=void 0===s?"none":s,l=e.redirect_uri,d=void 0===l?window.location.origin:l,f=e.response_mode,m=e.scope,v=e.sessionToken,g=e.state,y=new(i())(h({client_id:t,idp:r,nonce:o||(0,p.Z)(),prompt:c,redirect_uri:d,response_mode:f,response_type:"id_token token",scope:m,sessionToken:v,state:g}));return a()(new(u())("".concat(n,"/v1/authorize"),window.location.origin),{search:y.toString()}).toString()}},69564:function(e,t,n){"use strict";var r=n(33938),i=n(63109),o=n.n(i),a=n(12088),s=n.n(a),u=n(2220),c=n.n(u),l=n(83807);function d(){return(d=(0,r.Z)(o().mark((function e(t,n,r){var i,a,u,c,d,f;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,a=r.googleIdToken,u=r.password,c=r.tenantId,e.prev=1,d=a?{tenantId:c,token:a}:{password:u,tenantId:c,username:i},f=a?"google/signin":"signin",e.next=6,(0,l.Z)(t.HEYOKRA_AUTH_SERVICE_URI).post(f,d);case 6:e.next=11;break;case 8:throw e.prev=8,e.t0=e.catch(1),s()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}t.Z=c()(3,(function(e,t,n){return d.apply(this,arguments)}))},70226:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(89356),i=n.n(r),o=n(63263),a=n.n(o),s=n(30699),u=n.n(s),c=n(58377),l=n.n(c),d=n(13038),f=n.n(d),p=n(44845),h=n(3087),m=n.n(h),v=n(61894),g=n.n(v),y=n(96942),b=n.n(y),_=n(63149),w=n(3391),E=n(12950),k=n(51071),x=n(11736),S=n(5862),T=n(62191),C=n(13275),N=n(52477),O=n(30756),A=n(69561);function P(e,t){var n=i()(e);if(a()){var r=a()(e);t&&(r=u()(r).call(r,(function(t){return l()(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):f()?Object.defineProperties(e,f()(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,l()(n,t))}))}return e}var I=["addListener","listenerCount","listeners","off","on","once","removeAllListeners","removeListener"],M=m()((function(e,t,n){return b()(n,[e,t])}));function R(e){var t,n=new k.Z,r=(0,A.Z)(e);return L(L({getAuthorizationUrl:E.Z,EventSource:(0,S.Z)(e,r)},(t=n,I.reduce((function(e,n){return e[n]=t[n].bind(t),e}),{}))),g()(M(e,r),{authenticate:_.Z,closeSession:(0,w.Z)(n,{emit:!0}),fetch:(0,x.Z)(n),request:(0,T.Z)(n),resetSession:C.Z,resumeSession:N.Z,startSession:(0,O.Z)(n)}))}},45574:function(e,t,n){"use strict";function r(){return window.tenant&&"heyokra"===window.tenant.idp}n.d(t,{Z:function(){return r}})},53037:function(e,t,n){"use strict";var r=n(33938),i=n(63109),o=n.n(i),a=n(88066),s=n.n(a),u=n(12088),c=n.n(u),l=n(2220),d=n.n(l),f=n(416),p=n.n(f),h=n(83807);function m(){return(m=(0,r.Z)(o().mark((function e(t,n,r){var i,a,u,l,d,f;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.email,a=r.login,u=r.oktaNamespace,l=r.password,e.prev=1,e.next=4,(0,h.Z)(t.AUTH_SERVICE_URI).post("/api/v1/authn",{password:l,username:a||s()(d="".concat(u,"/")).call(d,i),options:{multiOptionalFactorEnroll:!1,warnBeforePasswordExpired:!1}});case 4:return f=e.sent,e.abrupt("return",p()(["data","sessionToken"],f));case 8:throw e.prev=8,e.t0=e.catch(1),c()(new Error,e.t0.response.data);case 11:case"end":return e.stop()}}),e,null,[[1,8]])})))).apply(this,arguments)}t.Z=d()(3,(function(e,t,n){return m.apply(this,arguments)}))},62191:function(e,t,n){"use strict";var r=n(83728),i=n(50047),o=n.n(i),a=n(44721),s=n.n(a),u=n(54115),c=n.n(u),l=n(98766),d=n.n(l),f=n(14886),p=n.n(f),h=n(97411),m=n.n(h),v=n(23018),g=n.n(v),y=n(36573),b=n.n(y),_=n(3087),w=n.n(_),E=n(92650),k=n.n(E),x=n(14087),S=n.n(x),T=n(51481),C=n.n(T),N=n(97877),O=n.n(N),A=n(23710),P=n.n(A),L=n(13594),I=n.n(L),M=n(61894),R=n.n(M),D=n(54782),j=n.n(D),Z=n(4991),B=n.n(Z),F=n(16722),U=n.n(F),q=n(6037),z=n.n(q),H=n(1465),V=n.n(H),W=n(41082),Y=n(17636),G=n(42101),K=function(e){return B()(e,["response","status"])},$=w()((function(e){return g()(c()(O()("OKTA_CLIENT_ID",e)),K(d()(R()(C(),[401,403]))))})),X=K(I()(500)),J=b()(K(Boolean)),Q=function(e){var t={base:e.backoffBase,when:S()(X,J),tries:5};return(0,Y.Z)(t,m())(e)},ee=j()([],["roles"]),te=j()("",["subscription","status"]),ne=w()((function(e,t,n){var i,a,s=(0,r.Z)(n,2)[1],u=o()(i=[t,s]).call(i,ee),c=(0,r.Z)(u,2),l=c[0],d=c[1],f=o()(a=[t,s]).call(a,te),p=(0,r.Z)(f,2),h=p[0],m=p[1];U()(l,d).length>0&&e.emit("change:roles",s,t),h!==m&&e.emit("change:status",s,t)})),re=w()((function(e,t,n){var r,i=t.RISE_ACCOUNTS_URI;return function(e){var t;return s()(t=window.location.hostname).call(t,e)}(t.RISE_DOMAIN)&&i&&s()(r=n.message).call(r,"redirect_uri")?m()({method:"GET",url:"".concat(i,"/api/subdomain_active")}).chain((function(t){return!1===t.data?e.emit("change:subdomain"):e.emit("unauthorized",n),p().Rejected(n)})):(e.emit("unauthorized",n),p().Rejected(n))})),ie=w()((function(e,t,n,r){return null!=n&&n.sub!==r[1].sub?(e.emit("unauthorized",t),p().Rejected(t)):p().of(r)})),oe=w()((function(e,t,n,i,a){var s,u=n.get(),c=(0,r.Z)(u,2)[1];return o()(s=(0,W.Z)(t,n,void 0).bichain(re(e,t),ie(e,a,c))).call(s,z()(ne(e,c))).chain((function(){return Q(i)}))})),ae=V()(4,(function(e,t,n,r){return P()($(t),oe(e,t,n,r),p().Rejected)})),se=w()((function(e,t,n,r){return Q(r).bichain(ae(e,t,n,r),p().of)})),ue=w()((function(e,t,n,r){return(0,G.Z)(r.timeout,se(e,t,n,k()("timeout",r)))}));t.Z=ue},13275:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(33938),i=n(63109),o=n.n(i),a=n(52477);function s(e,t){return u.apply(this,arguments)}function u(){return(u=(0,r.Z)(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.clear(),e.next=3,(0,a.Z)(t,n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},52477:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(33938),i=n(63109),o=n.n(i),a=n(61577),s=n.n(a),u=n(30697),c=new(s())(window.location.hash.substr(1)),l=c.get("id_token"),d=c.get("access_token");function f(e,t){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(o().mark((function e(t,n){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!l){e.next=5;break}n.set(l,d),l=d=void 0,e.next=8;break;case 5:if(n.get()[0]){e.next=8;break}return e.next=8,(0,u.Z)(t,n,void 0);case 8:return e.abrupt("return",n.get());case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}l&&(c.delete("id_token"),window.history.replaceState(null,null,"#".concat(c.toString()))),d&&(c.delete("access_token"),c.delete("expires_in"),c.delete("scope"),c.delete("token_type"),window.history.replaceState(null,null,"#".concat(c.toString())))},30756:function(e,t,n){"use strict";var r=n(33938),i=n(63109),o=n.n(i),a=n(2220),s=n.n(a),u=n(416),c=n.n(u),l=n(63149),d=n(30697),f=n(3391),p=function(e){return c()([1,"sub"],e.get())};function h(){return(h=(0,r.Z)(o().mark((function e(t,n,r,i){var a,s,u,c;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=p(r),e.next=3,(0,f.Z)(t,{emit:!1},n,r);case 3:return e.prev=3,e.next=6,(0,l.Z)(n,r,i);case 6:return s=e.sent,e.next=9,(0,d.Z)(n,r,s);case 9:return u=e.sent,c=p(r),a&&a!==c&&t.emit("session:closed"),e.abrupt("return",u);case 15:throw e.prev=15,e.t0=e.catch(3),a&&t.emit("session:closed"),e.t0;case 19:case"end":return e.stop()}}),e,null,[[3,15]])})))).apply(this,arguments)}t.Z=s()(4,(function(e,t,n,r){return h.apply(this,arguments)}))},69561:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(18311),i=n(71508),o=n(56042),a=n(71368);function s(e){return{clear:function(){(0,o.Z)(e,e.SESSION_COOKIE_NAME),(0,o.Z)(e,e.ACCESS_COOKIE_NAME)},get:function(){var t=(0,i.Z)(e.SESSION_COOKIE_NAME),n=(0,i.Z)(e.ACCESS_COOKIE_NAME);return[t,t?(0,r.Z)(t):null,n,n?(0,r.Z)(n):null]},set:function(t,n){var i=t?(0,r.Z)(t):null,o=n?(0,r.Z)(n):null;(0,a.Z)(e,e.SESSION_COOKIE_NAME,[t,i]),(0,a.Z)(e,e.ACCESS_COOKIE_NAME,[n,o])}}}},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],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),l=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)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[l++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},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(c(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 c(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)},c=function(e,t,n,r){return String.prototype.split.call(l(e,t),n,r)},l=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:c.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:l.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 l(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 c=n.filter(a).reduce((function(e,t){return r.assign(e,t)}),{});return s.mods=r.assign({},s.mods,c),d(s,e)}.bind(null,t,n);return i.mix=s.bind(null,t,n),i.split=c.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=l.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 c(this,e,t,n)}function c(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 l(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(l(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 q(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 A(this,t,n);case"utf8":case"utf-8":return T(this,t,n);case"ascii":return N(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 c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var l=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===u)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,f=0;f<u;f++)if(c(e,o+f)!==c(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 z(U(t,e.length-n),e,n,r)}function w(e,t,n,r){return z(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function E(e,t,n,r){return w(e,t,n,r)}function k(e,t,n,r){return z(q(t),e,n,r)}function x(e,t,n,r){return z(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,c=e[i],l=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(l=c);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&c)<<6|63&o)>127&&(l=u);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=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&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,d=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),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 c(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 l(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),c=this.slice(r,i),l=e.slice(t,n),d=0;d<s;++d)if(c[d]!==l[d]){o=c[d],a=l[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 E(this,e,t,n);case"base64":return k(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 N(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 A(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 I(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,o){return o||D(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function Z(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)||I(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)||I(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||I(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||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||I(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||I(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);I(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);I(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||I(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||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||I(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||I(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 j(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return Z(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return Z(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 q(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 z(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 c(e){return void 0===e}function l(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 Yn(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(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),_.length>0)for(n=0;n<_.length;n++)c(i=t[r=_[n]])||(e[r]=i);return e}var E=!1;function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===E&&(E=!0,i.updateOffset(this),E=!1)}function x(e){return e instanceof k||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 N(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)}N(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var A,P={};function L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(N(t),P[e]=!0)}function I(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)I(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,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var j={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Z(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return I(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 q(){return this._invalidDate}var z="%d",H=/\d{1,2}/;function V(e){return this._ordinal.replace("%d",e)}var W={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 Y(e,t,n,r){var i=this._relativeTime[n];return I(i)?i(e,t,n,r):i.replace(/%d/i,e)}function G(e,t){var n=this._relativeTime[e>0?"future":"past"];return I(n)?n(t):n.replace(/%s/i,t)}var K={};function $(e,t){var n=e.toLowerCase();K[n]=K[n+"s"]=K[t]=e}function X(e){return"string"==typeof e?K[e]||K[e.toLowerCase()]:void 0}function J(e){var t,n,r={};for(n in e)p(e,n)&&(t=X(n))&&(r[t]=e[n]);return r}var Q={};function ee(e,t){Q[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:Q[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 ce(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+=I(r[i])?r[i].call(t,e):r[i];return o}}function le(e,t){return e.isValid()?(t=de(t,e.localeData()),oe[t]=oe[t]||ce(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}/,Ee=/[+-]?\d{1,6}/,ke=/\d+/,xe=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Ne=/[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 Ae(e,t,n){Oe[e]=I(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 Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={};function Re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n<e.length;n++)Me[e[n]]=r}function De(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function je(e,t,n){null!=t&&p(Me,e)&&Me[e](t,n._a,n,e)}var Ze=0,Be=1,Fe=2,Ue=3,qe=4,ze=5,He=6,Ve=7,We=8;function Ye(e){return Ge(e)?366:365}function Ge(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),$("year","y"),ee("year",1),Ae("Y",xe),Ae("YY",ge,pe),Ae("YYYY",we,me),Ae("YYYYY",Ee,ve),Ae("YYYYYY",Ee,ve),Re(["YYYYY","YYYYYY"],Ze),Re("YYYY",(function(e,t){t[Ze]=2===e.length?i.parseTwoDigitYear(e):T(e)})),Re("YY",(function(e,t){t[Ze]=i.parseTwoDigitYear(e)})),Re("Y",(function(e,t){t[Ze]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var Ke,$e=Je("FullYear",!0);function Xe(){return Ge(this.year())}function Je(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Qe(this,e)}}function Qe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ge(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 I(this[e=X(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=J(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(I(this[e=X(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?Ge(e)?29:28:31-n%7%2}Ke=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),$("month","M"),ee("month",8),Ae("M",ge),Ae("MM",ge,pe),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("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 ct(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 lt(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=Ke.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ke.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ke.call(this._shortMonthsParse,a))||-1!==(i=Ke.call(this._longMonthsParse,a))?i:null:-1!==(i=Ke.call(this._longMonthsParse,a))||-1!==(i=Ke.call(this._shortMonthsParse,a))?i:null}function dt(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.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(!l(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):Qe(this,"Month")}function ht(){return it(this.year(),this.month())}var mt=Ne;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=Ne;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]=Ie(r[t]),i[t]=Ie(i[t]);for(t=0;t<24;t++)o[t]=Ie(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 Et(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function kt(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Et(e,r,i);return s<=0?a=Ye(o=e-1)+s:s>Ye(e)?(o=e+1,a=s-Ye(e)):(o=e,a=s),{year:o,dayOfYear:a}}function xt(e,t,n){var r,i,o=Et(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=Et(e,t,n),i=Et(e+1,t,n);return(Ye(e)-r+i)/7}function Tt(e){return xt(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ae("w",ge),Ae("ww",ge,pe),Ae("W",ge),Ae("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 Nt(){return this._week.dow}function Ot(){return this._week.doy}function At(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 It(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ae("d",ge),Ae("e",ge),Ae("E",ge),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=T(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Rt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function jt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Zt="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=Ke.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ke.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ke.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ke.call(this._weekdaysParse,a))||-1!==(i=Ke.call(this._shortWeekdaysParse,a))||-1!==(i=Ke.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ke.call(this._shortWeekdaysParse,a))||-1!==(i=Ke.call(this._weekdaysParse,a))||-1!==(i=Ke.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ke.call(this._minWeekdaysParse,a))||-1!==(i=Ke.call(this._weekdaysParse,a))||-1!==(i=Ke.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 qt(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 zt(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 Ht(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=It(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Vt=Ne;function Wt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Yt=Ne;function Gt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Kt=Ne;function $t(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];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),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=Ie(s[t]),u[t]=Ie(u[t]),c[t]=Ie(c[t]);this._weekdaysRegex=new RegExp("^("+c.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 Jt(){return this.hours()%12||12}function Qt(){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,Jt),se("k",["kk",2],0,Qt),se("hmm",0,0,(function(){return""+Jt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Jt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),$("hour","h"),ee("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",ge),Ae("h",ge),Ae("k",ge),Ae("HH",ge,pe),Ae("hh",ge,pe),Ae("kk",ge,pe),Ae("hmm",ye),Ae("hmmss",be),Ae("Hmm",ye),Ae("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[qe]=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[qe]=T(e.substr(r,2)),t[ze]=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[qe]=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[qe]=T(e.substr(r,2)),t[ze]=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=Je("Hours",!0),un={calendar:j,longDateFormat:B,invalidDate:U,ordinal:z,dayOfMonthOrdinalParse:H,relativeTime:W,months:at,monthsShort:ut,week:Ct,weekdays:Mt,weekdaysMin:Zt,weekdaysShort:Dt,meridiemParse:rn},cn={},ln={};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(!cn[t]&&e&&e.exports)try{r=an._abbr,n(16515)("./"+t),hn(r)}catch(e){}return cn[t]}function hn(e,t){var n;return e&&((n=c(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!=cn[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=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new D(R(r,t)),ln[e]&&ln[e].forEach((function(e){mn(e.name,e.config)})),hn(e),cn[e]}return delete cn[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=cn[e],cn[e]=n,hn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?cn[e]=cn[e].parentLocale:null!=cn[e]&&delete cn[e]);return cn[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 A(cn)}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[Ze],n[Be])?Fe:n[Ue]<0||n[Ue]>24||24===n[Ue]&&(0!==n[qe]||0!==n[ze]||0!==n[He])?Ue:n[qe]<0||n[qe]>59?qe:n[ze]<0||n[ze]>59?ze:n[He]<0||n[He]>999?He:-1,g(e)._overflowDayOfYear&&(t<Ze||t>Fe)&&(t=Fe),g(e)._overflowWeeks&&-1===t&&(t=Ve),g(e)._overflowWeekday&&-1===t&&(t=We),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 En(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]&&kn(e),null!=e._dayOfYear&&(o=_n(e._a[Ze],r[Ze]),(e._dayOfYear>Ye(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[qe]&&0===e._a[ze]&&0===e._a[He]&&(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 kn(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[Ze],xt(Gn(),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 c=xt(Gn(),o,a);n=_n(t.gg,e._a[Ze],c.year),r=_n(t.w,c.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=kt(n,r,i,o,a),e._a[Ze]=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}/]],Nn=[["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 An(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=Nn.length;t<n;t++)if(Nn[t][1].exec(u[3])){o=(u[2]||" ")+Nn[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=[In(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function In(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Rn(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jn(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 Zn(e){var t=Pn.exec(Mn(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=jn(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?(An(e),!1===e._isValid&&(delete e._isValid,Zn(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,c=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),c+=n.length),ae[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),je(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-c,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),En(e),bn(e)}else Zn(e);else An(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 qn(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 zn(e){if(!e._d){var t=J(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)})),En(e)}}function Hn(e){var t=new k(bn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(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 k(bn(t)):(d(t)?e._d=t:a(n)?qn(e):n?Fn(e):Wn(e),y(e)||(e._d=null),e))}function Wn(e){var t=e._i;c(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)})),En(e)):s(t)?zn(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Yn(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,Hn(o)}function Gn(e,t,n,r){return Yn(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 Kn=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),$n=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Xn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Gn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Xn("isBefore",[].slice.call(arguments,0))}function Qn(){return Xn("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===Ke.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=J(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,c=t.second||0,l=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+l+1e3*c+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",""),Ae("Z",Te),Ae("ZZ",Te),Re(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=lr(Te,e)}));var cr=/([\+\-]|\d\d)/gi;function lr(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(cr)||["-",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():Gn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Gn(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=lr(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=lr(Se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yr(e){return!!this.isValid()&&(e=e?Gn(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(!c(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Vn(e))._a){var t=e._isUTC?m(e._a):Gn(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 Er(){return!!this.isValid()&&this._isUTC}function kr(){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}:l(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[qe])*n,s:T(a[ze])*n,ms:T(sr(1e3*a[He]))*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(Gn(o.from),Gn(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 Nr(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=Nr(e,t):((n=Nr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ar(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,Qe(e,"Month")+s*n),a&&et(e,"Date",Qe(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=Ar(1,"add"),Ir=Ar(-1,"subtract");function Mr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Rr(e,t){var n=e||Gn(),r=dr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(I(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Gn(n)))}function Dr(){return new k(this)}function jr(e,t){var n=x(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Zr(e,t){var n=x(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Br(e,t,n,r){var i=x(e)?e:Gn(e),o=x(t)?t:Gn(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:Gn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=X(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 qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function zr(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=X(t)){case"year":o=Hr(this,r)/12;break;case"month":o=Hr(this,r);break;case"quarter":o=Hr(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 Hr(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 Vr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Wr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?le(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",le(n,"Z")):le(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Yr(){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 Gr(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=le(this,e);return this.localeData().postformat(t)}function Kr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Gn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function $r(e){return this.from(Gn(),e)}function Xr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Gn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Jr(e){return this.to(Gn(),e)}function Qr(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=X(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=X(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 ci(){return this.isValid()?this.toISOString():null}function li(){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=kt(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ae("G",xe),Ae("g",xe),Ae("GG",ge,pe),Ae("gg",ge,pe),Ae("GGGG",we,me),Ae("gggg",we,me),Ae("GGGGG",Ee,ve),Ae("ggggg",Ee,ve),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=T(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),$("quarter","Q"),ee("quarter",7),Ae("Q",fe),Re("Q",(function(e,t){t[Be]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),$("date","D"),ee("date",9),Ae("D",ge),Ae("DD",ge,pe),Ae("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 Ei=Je("Date",!0);function ki(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),ee("dayOfYear",4),Ae("DDD",_e),Ae("DDDD",he),Re(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=T(e)})),se("m",["mm",2],0,"minute"),$("minute","m"),ee("minute",14),Ae("m",ge),Ae("mm",ge,pe),Re(["m","mm"],qe);var xi=Je("Minutes",!1);se("s",["ss",2],0,"second"),$("second","s"),ee("second",15),Ae("s",ge),Ae("ss",ge,pe),Re(["s","ss"],ze);var Si,Ti=Je("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),$("millisecond","ms"),ee("millisecond",16),Ae("S",_e,fe),Ae("SS",_e,pe),Ae("SSS",_e,he),Si="SSSS";Si.length<=9;Si+="S")Ae(Si,ke);function Ci(e,t){t[He]=T(1e3*("0."+e))}for(Si="S";Si.length<=9;Si+="S")Re(Si,Ci);var Ni=Je("Milliseconds",!1);function Oi(){return this._isUTC?"UTC":""}function Ai(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Pi=k.prototype;function Li(e){return Gn(1e3*e)}function Ii(){return Gn.apply(null,arguments).parseZone()}function Mi(e){return e}Pi.add=Lr,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=zr,Pi.endOf=ri,Pi.format=Gr,Pi.from=Kr,Pi.fromNow=$r,Pi.to=Xr,Pi.toNow=Jr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=jr,Pi.isBefore=Zr,Pi.isBetween=Br,Pi.isSame=Fr,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=qr,Pi.isValid=li,Pi.lang=ei,Pi.locale=Qr,Pi.localeData=ti,Pi.max=$n,Pi.min=Kn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Ir,Pi.toArray=si,Pi.toObject=ui,Pi.toDate=ai,Pi.toISOString=Wr,Pi.inspect=Yr,Pi.toJSON=ci,Pi.toString=Vr,Pi.unix=oi,Pi.valueOf=ii,Pi.creationData=pi,Pi.year=$e,Pi.isLeapYear=Xe,Pi.weekYear=mi,Pi.isoWeekYear=vi,Pi.quarter=Pi.quarters=wi,Pi.month=pt,Pi.daysInMonth=ht,Pi.week=Pi.weeks=At,Pi.isoWeek=Pi.isoWeeks=Pt,Pi.weeksInYear=yi,Pi.isoWeeksInYear=gi,Pi.date=Ei,Pi.day=Pi.days=qt,Pi.weekday=zt,Pi.isoWeekday=Ht,Pi.dayOfYear=ki,Pi.hour=Pi.hours=sn,Pi.minute=Pi.minutes=xi,Pi.second=Pi.seconds=Ti,Pi.millisecond=Pi.milliseconds=Ni,Pi.utcOffset=pr,Pi.utc=mr,Pi.local=vr,Pi.parseZone=gr,Pi.hasAlignedHourOffset=yr,Pi.isDST=br,Pi.isLocal=wr,Pi.isUtcOffset=Er,Pi.isUtc=kr,Pi.isUTC=kr,Pi.zoneAbbr=Oi,Pi.zoneName=Ai,Pi.dates=O("dates accessor is deprecated. Use date instead.",Ei),Pi.months=O("months accessor is deprecated. Use month instead",pt),Pi.years=O("years accessor is deprecated. Use year instead",$e),Pi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Pi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var Ri=D.prototype;function Di(e,t,n,r){var i=gn(),o=m().set(r,t);return i[n](o,e)}function ji(e,t,n){if(l(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 Zi(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(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 ji(e,t,"months")}function Fi(e,t){return ji(e,t,"monthsShort")}function Ui(e,t,n){return Zi(e,t,n,"weekdays")}function qi(e,t,n){return Zi(e,t,n,"weekdaysShort")}function zi(e,t,n){return Zi(e,t,n,"weekdaysMin")}Ri.calendar=Z,Ri.longDateFormat=F,Ri.invalidDate=q,Ri.ordinal=V,Ri.preparse=Mi,Ri.postformat=Mi,Ri.relativeTime=Y,Ri.pastFuture=G,Ri.set=M,Ri.months=st,Ri.monthsShort=ct,Ri.monthsParse=dt,Ri.monthsRegex=yt,Ri.monthsShortRegex=vt,Ri.week=Tt,Ri.firstDayOfYear=Ot,Ri.firstDayOfWeek=Nt,Ri.weekdays=Rt,Ri.weekdaysMin=Bt,Ri.weekdaysShort=jt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Wt,Ri.weekdaysShortRegex=Gt,Ri.weekdaysMinRegex=$t,Ri.isPM=nn,Ri.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=O("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=O("moment.langData is deprecated. Use moment.localeData instead.",gn);var Hi=Math.abs;function Vi(){var e=this._data;return this._milliseconds=Hi(this._milliseconds),this._days=Hi(this._days),this._months=Hi(this._months),e.milliseconds=Hi(e.milliseconds),e.seconds=Hi(e.seconds),e.minutes=Hi(e.minutes),e.hours=Hi(e.hours),e.months=Hi(e.months),e.years=Hi(e.years),this}function Wi(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 Yi(e,t){return Wi(this,e,t,1)}function Gi(e,t){return Wi(this,e,t,-1)}function Ki(e){return e<0?Math.floor(e):Math.ceil(e)}function $i(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Ki(Ji(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(Xi(a)),a-=Ki(Ji(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Xi(e){return 4800*e/146097}function Ji(e){return 146097*e/4800}function Qi(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=X(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Xi(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Ji(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"),co=to("y");function lo(){return Tr(this)}function fo(e){return e=X(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 Eo=Math.round,ko={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=Eo(r.as("s")),o=Eo(r.as("m")),a=Eo(r.as("h")),s=Eo(r.as("d")),u=Eo(r.as("M")),c=Eo(r.as("y")),l=i<=ko.ss&&["s",i]||i<ko.s&&["ss",i]||o<=1&&["m"]||o<ko.m&&["mm",o]||a<=1&&["h"]||a<ko.h&&["hh",a]||s<=1&&["d"]||s<ko.d&&["dd",s]||u<=1&&["M"]||u<ko.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=t,l[3]=+e>0,l[4]=n,xo.apply(null,l)}function To(e){return void 0===e?Eo:"function"==typeof e&&(Eo=e,!0)}function Co(e,t){return void 0!==ko[e]&&(void 0===t?ko[e]:(ko[e]=t,"s"===e&&(ko.ss=t-1),!0))}function No(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 Ao(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,c=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=Ao(this._months)!==Ao(d)?"-":"",h=Ao(this._days)!==Ao(d)?"-":"",m=Ao(this._milliseconds)!==Ao(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||c||l?"T":"")+(u?m+u+"H":"")+(c?m+c+"M":"")+(l?m+l+"S":"")}var Lo=or.prototype;return Lo.isValid=rr,Lo.abs=Vi,Lo.add=Yi,Lo.subtract=Gi,Lo.as=Qi,Lo.asMilliseconds=no,Lo.asSeconds=ro,Lo.asMinutes=io,Lo.asHours=oo,Lo.asDays=ao,Lo.asWeeks=so,Lo.asMonths=uo,Lo.asYears=co,Lo.valueOf=eo,Lo._bubble=$i,Lo.clone=lo,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=No,Lo.toISOString=Po,Lo.toString=Po,Lo.toJSON=Po,Lo.locale=Qr,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"),Ae("x",xe),Ae("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(Gn),i.fn=Pi,i.min=Jn,i.max=Qn,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=Ii,i.localeData=gn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=zi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=qi,i.normalizeUnits=X,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Mr,i.prototype=Pi,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},11419:function(e,t,n){var r=n(51492)();r.helpers=n(68743),n(52371)(r),r.Animation=n(20393),r.animationService=n(68762),r.defaults=n(4398),r.Element=n(20054),r.elements=n(96292),r.Interaction=n(53110),r.layouts=n(49234),r.platform=n(14511),r.plugins=n(91408),r.Scale=n(26925),r.scaleService=n(73920),r.Ticks=n(81933),r.Tooltip=n(18680),n(1210)(r),n(63946)(r),n(94979)(r),n(63318)(r),n(61503)(r),n(26524)(r),n(88759)(r),n(82172)(r),n(39914)(r),n(69486)(r),n(93547)(r),n(3643)(r),n(3843)(r),n(17340)(r),n(75084)(r),n(26295)(r),n(48133)(r),n(87362)(r),n(50498)(r),n(51653)(r),n(85610)(r),n(38563)(r);var i=n(29325);for(var o in i)i.hasOwnProperty(o)&&r.plugins.register(i[o]);r.platform.initialize(),e.exports=r,"undefined"!=typeof window&&(window.Chart=r),r.Legend=i.legend._element,r.Title=i.title._element,r.pluginService=r.plugins,r.PluginBase=r.Element.extend({}),r.canvasHelpers=r.helpers.canvas,r.layoutService=r.layouts},26295:function(e){"use strict";e.exports=function(e){e.Bar=function(t,n){return n.type="bar",new e(t,n)}}},48133:function(e){"use strict";e.exports=function(e){e.Bubble=function(t,n){return n.type="bubble",new e(t,n)}}},87362:function(e){"use strict";e.exports=function(e){e.Doughnut=function(t,n){return n.type="doughnut",new e(t,n)}}},50498:function(e){"use strict";e.exports=function(e){e.Line=function(t,n){return n.type="line",new e(t,n)}}},51653:function(e){"use strict";e.exports=function(e){e.PolarArea=function(t,n){return n.type="polarArea",new e(t,n)}}},85610:function(e){"use strict";e.exports=function(e){e.Radar=function(t,n){return n.type="radar",new e(t,n)}}},38563:function(e){"use strict";e.exports=function(e){e.Scatter=function(t,n){return n.type="scatter",new e(t,n)}}},39914:function(e,t,n){"use strict";var r=n(4398),i=n(96292),o=n(68743);r._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),r._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(e,t){var n="";return e.length>0&&(e[0].yLabel?n=e[0].yLabel:t.labels.length>0&&e[0].index<t.labels.length&&(n=t.labels[e[0].index])),n},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": "+e.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:i.Rectangle,initialize:function(){var t,n=this;e.DatasetController.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0},update:function(e){var t,n,r=this,i=r.getMeta().data;for(r._ruler=r.getRuler(),t=0,n=i.length;t<n;++t)r.updateElement(i[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getMeta(),s=r.getDataset(),u=e.custom||{},c=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:c.borderSkipped,backgroundColor:u.backgroundColor?u.backgroundColor:o.valueAtIndexOrDefault(s.backgroundColor,t,c.backgroundColor),borderColor:u.borderColor?u.borderColor:o.valueAtIndexOrDefault(s.borderColor,t,c.borderColor),borderWidth:u.borderWidth?u.borderWidth:o.valueAtIndexOrDefault(s.borderWidth,t,c.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(),c=r.calculateBarValuePixels(r.index,t),l=r.calculateBarIndexPixels(r.index,t,u);i.horizontal=s,i.base=n?a:c.base,i.x=s?n?a:c.head:l.center,i.y=s?l.center:n?a:c.head,i.height=s?l.size:void 0,i.width=s?void 0:l.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(),c=u?i.left:i.top,l=c+(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:c,end:l,stackCount:a,scale:i}},calculateBarValuePixels:function(e,t){var n,r,i,o,a,s,u=this,c=u.chart,l=u.getMeta(),d=u.getValueScale(),f=c.data.datasets,p=d.getRightValue(f[e].data[t]),h=d.options.stacked,m=l.stack,v=0;if(h||void 0===h&&void 0!==m)for(n=0;n<e;++n)(r=c.getDatasetMeta(n)).bar&&r.stack===m&&r.controller.getValueScaleId()===d.id&&c.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),c=r.getDataset().data[t],l=r.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof c?c:NaN,t,l),f=n?s.getBasePixel():s.getPixelForValue(c,t,l);e._xScale=a,e._yScale=s,e._options=u,e._datasetIndex=l,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],c=e.custom||{},l=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([c[i],u[i],l[i]],h,t);return p.radius=d([c.radius,f?f.r:void 0,u.radius,l.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||{},c=o.valueAtIndexOrDefault,l=e.options.elements.arc;return{text:n,fillStyle:u.backgroundColor?u.backgroundColor:c(a.backgroundColor,r,l.backgroundColor),strokeStyle:u.borderColor?u.borderColor:c(a.borderColor,r,l.borderColor),lineWidth:u.borderWidth?u.borderWidth:c(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]&&(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,c=Math.min(s,u),l={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,E=f/100,k={x:_?-1:Math.min(v.x*(v.x<0?1:E),g.x*(g.x<0?1:E)),y:w?-1:Math.min(v.y*(v.y<0?1:E),g.y*(g.y<0?1:E))},x={x:y?1:Math.max(v.x*(v.x>0?1:E),g.x*(g.x>0?1:E)),y:b?1:Math.max(v.y*(v.y>0?1:E),g.y*(g.y>0?1:E))},S={width:.5*(x.x-k.x),height:.5*(x.y-k.y)};c=Math.min(s/S.width,u/S.height),l={x:-.5*(x.x+k.x),y:-.5*(x.y+k.y)}}n.borderWidth=t.getMaxBorderWidth(d.data),n.outerRadius=Math.max((c-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=l.x*n.outerRadius,n.offsetY=l.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,c=(a.left+a.right)/2,l=(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:c+i.offsetX,y:l+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,c=s.data||[],l=a.chart.options,d=l.elements.line,f=a.getScaleForId(s.yAxisID),p=a.getDataset(),h=t(p,l);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=c,u._model={spanGaps:p.spanGaps?p.spanGaps:l.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=c.length;n<r;++n)a.updateElement(c[n],n,e);for(h&&0!==u._model.tension&&a.updateBezierControlPoints(),n=0,r=c.length;n<r;++n)c[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||{},c=a.getDataset(),l=a.index,d=c.data[t],f=a.getScaleForId(s.yAxisID),p=a.getScaleForId(s.xAxisID),h=a.chart.options.elements.point;void 0!==c.radius&&void 0===c.pointRadius&&(c.pointRadius=c.radius),void 0!==c.hitRadius&&void 0===c.pointHitRadius&&(c.pointHitRadius=c.hitRadius),r=p.getPixelForValue("object"==typeof d?d:NaN,t,l),i=n?f.getBasePixel():a.calculatePointY(d,t,l),e._xScale=p,e._yScale=f,e._datasetIndex=l,e._index=t,e._model={x:r,y:i,skip:u.skip||isNaN(r)||isNaN(i),radius:u.radius||o.valueAtIndexOrDefault(c.pointRadius,t,h.radius),pointStyle:u.pointStyle||o.valueAtIndexOrDefault(c.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(c.pointHitRadius,t,h.hitRadius)}},calculatePointY:function(e,t,n){var r,i,o,a=this,s=a.chart,u=a.getMeta(),c=a.getScaleForId(u.yAxisID),l=0,d=0;if(c.options.stacked){for(r=0;r<n;r++)if(i=s.data.datasets[r],"line"===(o=s.getDatasetMeta(r)).type&&o.yAxisID===c.id&&s.isDatasetVisible(r)){var f=Number(c.getRightValue(i.data[t]));f<0?d+=f||0:l+=f||0}var p=Number(c.getRightValue(e));return p<0?c.getPixelForValue(d+p):c.getPixelForValue(l+p)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this,a=i.getMeta(),s=i.chart.chartArea,u=a.data||[];function c(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=c(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=c(n.controlPointPreviousY,s.top,s.bottom),n.controlPointNextX=c(n.controlPointNextX,s.left,s.right),n.controlPointNextY=c(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,c=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));c<u;++c)a[c].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,c=e.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:u(a.backgroundColor,r,c.backgroundColor),strokeStyle:s.borderColor?s.borderColor:u(a.borderColor,r,c.borderColor),lineWidth:s.borderWidth?s.borderWidth:u(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].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,c=i._starts=[],l=i._angles=[];for(i._updateRadius(),s.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)c[t]=u,r=i._computeAngle(t),l[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,c=i.scale,l=i.data.labels,d=c.xCenter,f=c.yCenter,p=s.startAngle,h=e.hidden?0:c.getDistanceFromCenterForValue(a.data[t]),m=r._starts[t],v=m+(e.hidden?0:r._angles[t]),g=u.animateScale?0:c.getDistanceFromCenterForValue(a.data[t]);o.extend(e,{_datasetIndex:r.index,_index:t,_scale:c,_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(l,t,l[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,c=t.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o.extend(n.dataset,{_datasetIndex:t.index,_scale:c,_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,c=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:c.x,y:n?s.yCenter:c.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),c=n(14511),l=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=c.acquireContext(t,n),s=i&&i.canvas,u=s&&s.height,l=s&&s.width;r.id=a.uid(),r.ctx=i,r.canvas=s,r.config=n,r.width=l,r.height=u,r.aspectRatio=u?l/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 l.notify(e,"beforeInit"),a.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.initToolTip(),l.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};l.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 c=null;if(s in r&&r[s].type===u)(c=r[s]).options=i,c.ctx=e.ctx,c.chart=e;else{var l=d.getScaleConstructor(u);if(!l)return;c=new l({id:s,type:u,options:i,ctx:e.ctx,chart:e}),r[c.id]=c}c.mergeTicksOptions(),t.isDefault&&(e.scale=c)})),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),l._invalidate(n),!1!==l.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=[],l.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!==l.notify(e,"beforeLayout")&&(u.update(this,this.width,this.height),l.notify(e,"afterScaleUpdate"),l.notify(e,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==l.notify(e,"beforeDatasetsUpdate")){for(var t=0,n=e.data.datasets.length;t<n;++t)e.updateDataset(t);l.notify(e,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this,n=t.getDatasetMeta(e),r={meta:n,index:e};!1!==l.notify(t,"beforeDatasetUpdate",[r])&&(n.controller.update(),l.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!==l.notify(t,"beforeRender")){var s=t.options.animation,u=function(e){l.notify(t,"afterRender"),a.callback(s&&s.onComplete,[e],t)};if(s&&(void 0!==n&&0!==n||void 0===n&&0!==s.duration)){var c=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,c,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!==l.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),l.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!==l.notify(t,"beforeDatasetsDraw",[e])){for(var n=(t.data.datasets||[]).length-1;n>=0;--n)t.isDatasetVisible(n)&&t.drawDataset(n,e);l.notify(t,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r=n.getDatasetMeta(e),i={meta:r,index:e,easingValue:t};!1!==l.notify(n,"beforeDatasetDraw",[i])&&(r.controller.draw(t),l.notify(n,"afterDatasetDraw",[i]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==l.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),l.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),c.releaseContext(r.ctx),r.canvas=null,r.ctx=null),l.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){c.addEventListener(e,r,n),t[r]=n})),e.options.responsive&&(n=function(){e.resize()},c.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){c.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!==l.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)),l.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,c,l,d,f,p,h=Object.keys(n);for(o=0,a=h.length;o<a;++o)if(l=n[s=h[o]],t.hasOwnProperty(s)||(t[s]=l),(u=t[s])!==l&&"_"!==s[0]){if(e.hasOwnProperty(s)||(e[s]=u),(d=typeof l)==typeof(c=e[s]))if("string"===d){if((f=r(c)).valid&&(p=r(l)).valid){t[s]=p.mix(f,i).rgbString();continue}}else if("number"===d&&isFinite(c)&&isFinite(l)){t[s]=c+(l-c)*i;continue}t[s]=l}}(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],c=a.getComputedStyle(s)[r],l=t(u),d=t(c),f=Number.POSITIVE_INFINITY;return l||d?Math.min(l?e(u,n,i):f,d?e(c,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,c=n[e].length;for(t[e]||(t[e]=[]),i=0;i<c;++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)),c=s/(s+u),l=u/(s+u),d=r*(c=isNaN(c)?0:c),f=r*(l=isNaN(l)?0:l);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,c,l,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,(c=Math.pow(a,2)+Math.pow(s,2))<=9||(u=3/Math.sqrt(c),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&&(l=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-l,r.model.controlPointPreviousY=r.model.y-l*r.mK),i&&!i.model.skip&&(l=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+l,r.model.controlPointNextY=r.model.y+l*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 c=parseFloat(o.getStyle(a,"padding-left")),l=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-c-d,h=s.bottom-s.top-l-f;return{x:n=Math.round((n-s.left-c)/p*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-s.top-l)/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 c=0;c<u;c++)delete i[a[c]];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 c(e,t,n){var r=i(t,e);n.axis=n.axis||"x";var o=u(n.axis),c=n.intersect?a(e,r):s(e,r,!1,o),l=[];return c.length?(e.data.datasets.forEach((function(t,n){if(e.isDatasetVisible(n)){var r=e.getDatasetMeta(n).data[c[0]._index];r&&!r._view.skip&&l.push(r)}})),l):[]}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:c,index:c,dataset:function(e,t,n){var r=i(t,e);n.axis=n.axis||"xy";var o=u(n.axis),c=n.intersect?a(e,r):s(e,r,!1,o);return c.length>0&&(c=e.getDatasetMeta(c[0]._datasetIndex).data),c},"x-axis":function(e,t){return c(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,c=s.right,l=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-c,y=n-l-d,b=y/2,_=(t-g/2)/(f.length+p.length),w=(n-b)/(h.length+m.length),E=g,k=y,x=[];r.each(f.concat(p,h,m),(function(e){var t,n=e.isHorizontal();n?(t=e.update(e.fullWidth?g:E,w),k-=t.height):(t=e.update(_,k),E-=t.width),x.push({horizontal:n,minSize:t,box:e})}));var S=0,T=0,C=0,N=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),N=Math.max(N,t.bottom)}}));var O=u,A=c,P=l,L=d;r.each(f.concat(p),B),r.each(f,(function(e){O+=e.width})),r.each(p,(function(e){A+=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,k,n)})),O=u,A=c,P=l,L=d,r.each(f,(function(e){O+=e.width})),r.each(p,(function(e){A+=e.width})),r.each(h,(function(e){P+=e.height})),r.each(m,(function(e){L+=e.height}));var I=Math.max(S-O,0);O+=I,A+=Math.max(T-A,0);var M=Math.max(C-P,0);P+=M,L+=Math.max(N-L,0);var R=n-P-L,D=t-O-A;D===E&&R===k||(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)})),k=R,E=D);var j=u+I,Z=l+M;r.each(f.concat(h),F),j+=E,Z+=k,r.each(p,F),r.each(m,F),e.chartArea={left:O,top:P,right:O+E,bottom:P+k},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(E,k)}))}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(A,T),top:0,bottom:0};e.update(e.fullWidth?g:E,y/2,n)}else e.update(t.minSize.width,k)}function F(e){e.isHorizontal()?(e.left=e.fullWidth?u:O,e.right=e.fullWidth?t-c:O+E,e.top=Z,e.bottom=Z+e.height,Z=e.bottom):(e.left=j,e.right=j+e.width,e.top=P,e.bottom=P+k,j=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),c=u.length;for(r=0;r<c;++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 c(e,t,n){return o.isArray(t)?o.longestText(e,n,t):e.measureText(t).width}function l(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,c,l=this;for(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=o.extend({left:0,right:0,top:0,bottom:0},n),l.longestTextCache=l.longestTextCache||{},l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),u=l.buildTicks()||[],l.afterBuildTicks(),l.beforeTickToLabelConversion(),a=l.convertTicksToLabels(u)||l.ticks,l.afterTickToLabelConversion(),l.ticks=a,r=0,i=a.length;r<i;++r)s=a[r],(c=u[r])?c.label=s:u.push(c={label:s,major:!1});return l._ticks=u,l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l.afterUpdate(),l.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=l(n);t.font=i.font;var a=n.minRotation||0;if(r.length&&e.options.display&&e.isHorizontal())for(var u,c=o.longestText(t,i.font,r,e.longestTextCache),d=c,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)*c>e.maxHeight){a--;break}a++,d=u*c}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=l(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),E=Math.cos(w),k=Math.sin(w)*g+h.size*y+b*(y-1)+b;t.height=Math.min(e.maxHeight,t.height+k+_),e.ctx.font=h.font;var x=c(e.ctx,n[0],h.font),S=c(e.ctx,n[n.length-1],h.font);0!==e.labelRotation?(e.paddingLeft="bottom"===r.position?E*x+3:E*b+3,e.paddingRight="bottom"===r.position?E*b+3:E*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,c=e.length,l=o.toRadians(a.labelRotation),d=Math.cos(l),f=a.longestLabelWidth*d,p=[];for(u.maxTicksLimit&&(i=u.maxTicksLimit),s&&(t=!1,(f+u.autoSkipPadding)*c>a.width-(a.paddingLeft+a.paddingRight)&&(t=1+Math.floor((f+u.autoSkipPadding)*c/(a.width-(a.paddingLeft+a.paddingRight)))),i&&c>i&&(t=Math.max(t,Math.floor(c/i)))),n=0;n<c;n++)r=e[n],(t>1&&n%t>0||n%t==0&&n+t>=c)&&n!==c-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,c=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=l(s),b=o.valueOrDefault(c.fontColor,a.defaultFontColor),_=l(c),w=f.drawTicks?f.tickMarkLength:0,E=o.valueOrDefault(p.fontColor,a.defaultFontColor),k=l(p),x=o.options.toPadding(p.padding),S=o.toRadians(t.labelRotation),T=[],C=t.options.gridLines.lineWidth,N="right"===n.position?t.left:t.right-C-w,O="right"===n.position?t.left+w:t.right,A="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 c,l,d,p,g,y,b,_,E,k,x,L,I,M,R=r.label;i===t.zeroLineIndex&&n.offset===f.offsetGridLines?(c=f.zeroLineWidth,l=f.zeroLineColor,d=f.zeroLineBorderDash,p=f.zeroLineBorderDashOffset):(c=o.valueAtIndexOrDefault(f.lineWidth,i),l=o.valueAtIndexOrDefault(f.color,i),d=o.valueOrDefault(f.borderDash,a.borderDash),p=o.valueOrDefault(f.borderDashOffset,a.borderDashOffset));var D="middle",j="middle",Z=s.padding;if(m){var B=w+Z;"bottom"===n.position?(j=h?"middle":"top",D=h?"right":"center",M=t.top+B):(j=h?"middle":"bottom",D=h?"left":"center",M=t.bottom-B);var F=u(t,i,f.offsetGridLines&&v.length>1);F<t.left&&(l="rgba(0,0,0,0)"),F+=o.aliasPixel(c),I=t.getPixelForTick(i)+s.labelOffset,g=b=E=x=F,y=A,_=P,k=e.top,L=e.bottom+C}else{var U,q="left"===n.position;s.mirror?(D=q?"left":"right",U=Z):(D=q?"right":"left",U=w+Z),I=q?t.right-U:t.left+U;var z=u(t,i,f.offsetGridLines&&v.length>1);z<t.top&&(l="rgba(0,0,0,0)"),z+=o.aliasPixel(c),M=t.getPixelForTick(i)+s.labelOffset,g=N,b=O,E=e.left,x=e.right+C,y=_=k=L=z}T.push({tx1:g,ty1:y,tx2:b,ty2:_,x1:E,y1:k,x2:x,y2:L,labelX:I,labelY:M,glWidth:c,glColor:l,glBorderDash:d,glBorderDashOffset:p,rotation:-1*S,label:R,major:r.major,textBaseline:j,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,c=0;c<r;++c)i.fillText(""+n[c],0,u),u+=a;else i.fillText(n,0,0);i.restore()}})),p.display){var L,I,M=0,R=d(p)/2;if(m)L=t.left+(t.right-t.left)/2,I="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,I=t.top+(t.bottom-t.top)/2,M=D?-.5*Math.PI:.5*Math.PI}i.save(),i.translate(L,I),i.rotate(M),i.textAlign="center",i.textBaseline="middle",i.fillStyle=E,i.font=k.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 j=t.left,Z=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):(j=Z="left"===n.position?t.right:t.left,j+=U,Z+=U),i.beginPath(),i.moveTo(j,B),i.lineTo(Z,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 c=e[n];if(c&&c.hasValue()){var l=c.getCenterPoint(),d=o.distanceBetweenPoints(t,l);d<u&&(u=d,i=c)}}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 c(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function l(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([],c(e))}var f=e.exports=i.extend({initialize:function(){this._model=l(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,c(r)),a=u(a,c(i)),a=u(a,c(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,c(r.beforeLabel.call(n,e,t))),u(o.lines,r.label.call(n,e,t)),u(o.after,c(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,c(n)),o=u(o,c(r)),o=u(o,c(i))},update:function(e){var t,n,r,i,s,u,c,d=this,f=d._options,p=d._model,h=d._model=l(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=[],E=[];_=a[f.position].call(d,m,d._eventPosition);var k=[];for(t=0,n=m.length;t<n;++t)k.push((r=m[t],i=void 0,s=void 0,u=void 0,c=void 0,i=r._xScale,s=r._yScale||r._scale,u=r._index,c=r._datasetIndex,{xLabel:i?i.getLabelForIndex(u,c):"",yLabel:s?s.getLabelForIndex(u,c):"",index:u,datasetIndex:c,x:r._model.x,y:r._model.y}));f.filter&&(k=k.filter((function(e){return f.filter(e,v)}))),f.itemSort&&(k=k.sort((function(e,t){return f.itemSort(e,t,v)}))),o.each(k,(function(e){w.push(f.callbacks.labelColor.call(d,e,d._chart)),E.push(f.callbacks.labelTextColor.call(d,e,d._chart))})),h.title=d.getTitle(k,v),h.beforeBody=d.getBeforeBody(k,v),h.body=d.getBody(k,v),h.afterBody=d.getAfterBody(k,v),h.footer=d.getFooter(k,v),h.x=Math.round(_.x),h.y=Math.round(_.y),h.caretPadding=f.caretPadding,h.labelColors=w,h.labelTextColors=E,h.dataPoints=k,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,c=t.footer.length,l=t.titleFontSize,d=t.bodyFontSize,f=t.footerFontSize;r+=u*l,r+=u?(u-1)*t.titleSpacing:0,r+=u?t.titleMarginBottom:0,r+=s*d,r+=s?(s-1)*t.bodySpacing:0,r+=c?t.footerMarginTop:0,r+=c*f,r+=c?(c-1)*t.footerSpacing:0;var p=0,h=function(e){i=Math.max(i,n.measureText(e).width+p)};return n.font=o.fontString(l,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,c=e._chart.chartArea,l="center",d="center";s.y<t.height?d="top":s.y>u.height-t.height&&(d="bottom");var f=(c.left+c.right)/2,p=(c.top+c.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)?(l="left",i(s.x)&&(l="center",d=a(s.y))):r(s.x)&&(l="right",o(s.x)&&(l="center",d=a(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:l,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,c=n.xAlign,l=n.yAlign,d=a+s,f=u+s;return"right"===c?i-=t.width:"center"===c&&((i-=t.width/2)+t.width>r.width&&(i=r.width-t.width),i<0&&(i=0)),"top"===l?o+=d:o-="bottom"===l?t.height+d:t.height/2,"center"===l?"left"===c?i+=d:"right"===c&&(i-=d):"left"===c?i-=f:"right"===c&&(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,c=n.caretSize,l=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)-c,o=r,a=s+c,u=s-c):(i=(r=p+m)+c,o=r,a=s-c,u=s+c);else if("left"===d?(r=(i=p+l+c)-c,o=i+c):"right"===d?(r=(i=p+m-l-c)-c,o=i+c):(r=(i=n.caretX)-c,o=i+c),"top"===f)s=(a=h)-c,u=a;else{s=(a=h+v)+c,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,c=t.titleFontSize,l=t.titleSpacing;for(n.fillStyle=s(t.titleFontColor,r),n.font=o.fontString(c,t._titleFontStyle,t._titleFontFamily),a=0,u=i.length;a<u;++a)n.fillText(i[a],e.x,e.y),e.y+=c+l,a+1===i.length&&(e.y+=t.titleMarginBottom-l)}},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 c=0,l=function(t){n.fillText(t,e.x+c,e.y),e.y+=i+a};n.fillStyle=s(t.bodyFontColor,r),o.each(t.beforeBody,l);var d=t.displayColors;c=d?i+2:0,o.each(u,(function(a,u){var c=s(t.labelTextColors[u],r);n.fillStyle=c,o.each(a.before,l),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=c),l(o)})),o.each(a.after,l)})),c=0,o.each(t.afterBody,l),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,c=e.y,l=r.width,d=r.height,f=t.cornerRadius;n.beginPath(),n.moveTo(u+f,c),"top"===a&&this.drawCaret(e,r),n.lineTo(u+l-f,c),n.quadraticCurveTo(u+l,c,u+l,c+f),"center"===a&&"right"===o&&this.drawCaret(e,r),n.lineTo(u+l,c+d-f),n.quadraticCurveTo(u+l,c+d,u+l-f,c+d),"bottom"===a&&this.drawCaret(e,r),n.lineTo(u+f,c+d),n.quadraticCurveTo(u,c+d,u,c+d-f),"center"===a&&"left"===o&&this.drawCaret(e,r),n.lineTo(u,c+f),n.quadraticCurveTo(u,c,u+f,c),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 c=i>=s&&i<=u,l=a>=n.innerRadius&&a<=n.outerRadius;return c&&l}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,c=s.spanGaps,l=i._children.slice(),d=a.elements.line,f=-1;for(i._loop&&l.length&&l.push(l[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<l.length;++e)t=l[e],n=o.previousItem(l,e),r=t._view,0===e?r.skip||(u.moveTo(r.x,r.y),f=e):(n=-1===f?n:l[f],r.skip||(f!==e-1&&!c||-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,c=t.radius,l=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,c,l,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,c=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"),c){var l=Math.min(Math.abs(e-t),Math.abs(n-r)),d=(c=c>l?l:c)/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=c;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(),c&&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,c,l,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":l=(s=3*n/Math.sqrt(3))*Math.sqrt(3)/2,e.moveTo(-s/2,l/3),e.lineTo(s/2,l/3),e.lineTo(0,-2*l/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,c=Math.sin(Math.PI/4)*n,e.moveTo(-u,-c),e.lineTo(u,c),e.moveTo(-u,c),e.lineTo(u,-c);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,c=Math.sin(Math.PI/4)*n,e.moveTo(-u,-c),e.lineTo(u,c),e.moveTo(-u,c),e.lineTo(u,-c);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,c=n.isArray(t)?t:[t],l=c.length;if(!n.isObject(e))return e;for(i=(r=r||{}).merger||n._merger,o=0;o<l;++o)if(t=c[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 c=!!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 l(e,t,n){e.addEventListener(t,n,c)}function d(e,t,n){e.removeEventListener(t,n,c)}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,c,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 l(o,"scroll",s.bind(o,"expand")),l(a,"scroll",s.bind(a,"shrink")),t}((s=function(){if(p.resizer)return t(f("resize",n))},c=!1,d=[],function(){d=Array.prototype.slice.call(arguments),u=u||this,c||(c=!0,r.requestAnimFrame.call(window,(function(){c=!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){l(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))};l(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=l,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 c(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 l(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=c(p,r,f),a.boundary=u(a),a.mapper=l(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||[],c=n.mapper,l=s.backgroundColor||r.global.defaultColor;c&&l&&u.length&&(o.canvas.clipArea(i,e.chartArea),function(e,t,n,r,i,o){var a,s,u,c,l,p,h,m=t.length,v=r.spanGaps,g=[],y=[],b=0,_=0;for(e.beginPath(),a=0,s=m+!!o;a<s;++a)l=n(c=t[u=a%m]._view,u,r),p=d(c),h=d(l),p&&h?(b=g.push(c),_=y.push(l)):b&&_&&(v?(p&&g.push(c),h&&y.push(l)):(f(e,g,y,b,_),b=_=0,g=[],y=[]));f(e,g,y,b,_),e.closePath(),e.fillStyle=i,e.fill()}(i,u,c,s,l,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 c=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,c=o.valueOrDefault,l=c(n.fontSize,s.defaultFontSize),d=c(n.fontStyle,s.defaultFontStyle),f=c(n.fontFamily,s.defaultFontFamily),p=o.fontString(l,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?l+n.padding:0;a.textAlign="left",a.textBaseline="top",o.each(e.legendItems,(function(t,r){var i=u(n,l)+l/2+a.measureText(t.text).width;g[g.length-1]+i+n.padding>=e.width&&(y+=l+n.padding,g[g.length]=e.left),h[r]={left:0,top:0,width:i,height:l},g[g.length-1]+=i+n.padding})),m.height+=y}else{var b=n.padding,_=e.columnWidths=[],w=n.padding,E=0,k=0,x=l+b;o.each(e.legendItems,(function(e,t){var r=u(n,l)+l/2+a.measureText(e.text).width;k+x>m.height&&(w+=E+n.padding,_.push(E),E=0,k=0),E=Math.max(E,r),k+=x,h[t]={left:0,top:0,width:r,height:l}})),w+=E,_.push(E),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,c=e.lineWidths;if(t.display){var l,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();l=_?{x:e.left+(s-c[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=l.x,g=l.y;_?v+m>=s&&(g=l.y+=w,l.line++,v=l.x=e.left+(s-c[l.line])/2):g+w>e.bottom&&(v=l.x=v+e.columnWidths[l.line]+n.padding,g=l.y=e.top+n.padding,l.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,c=u/Math.SQRT2,l=e+c,p=n+c;o.canvas.drawPoint(d,r.pointStyle,u,l,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),_?l.x+=m+n.padding:l.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 c=s[u];if(o>=c.left&&o<=c.left+c.width&&a>=c.top&&a<=c.top+c.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 l(e,t){var n=new c({ctx:e.ctx,options:t,chart:e});a.configure(e,n,t),a.addBox(e,n),e.legend=n}e.exports={id:"legend",_element:c,beforeInit:function(e){var t=e.options.legend;t&&l(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):l(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,c=o.options.toLineHeight(n.lineHeight,a),l=i?u*c+2*n.padding:0;e.isHorizontal()?(s.width=e.maxWidth,s.height=l):(s.width=l,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,c,l=n(i.fontSize,a.defaultFontSize),d=n(i.fontStyle,a.defaultFontStyle),f=n(i.fontFamily,a.defaultFontFamily),p=o.fontString(l,d,f),h=o.options.toLineHeight(i.lineHeight,l),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,c=g+m,s=_-y):(u="left"===i.position?y+m:_-m,c=g+(b-g)/2,s=b-g,v=Math.PI*("left"===i.position?-.5:.5)),t.save(),t.translate(u,c),t.rotate(v),t.textAlign="center",t.textBaseline="middle";var w=i.text;if(o.isArray(w))for(var E=0,k=0;k<w.length;++k)t.fillText(w[k],0,E,s),E+=h;else t.fillText(w,0,0,s);t.restore()}}});function c(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&&c(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):c(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 c=r.height/o,l=c*(t-r.minIndex);return i&&(l+=c/2),r.top+Math.round(l)},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),c=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");void 0===u[c]&&(u[c]={positiveValues:[],negativeValues:[]});var l=u[c].positiveValues,d=u[c].negativeValues;n.isDatasetVisible(o)&&a(s)&&i.each(r.data,(function(n,r){var i=+e.getRightValue(n);isNaN(i)||s.data[r].hidden||(l[r]=l[r]||0,d[r]=d[r]||0,t.relativePoints?l[r]=100:i<0?d[r]+=i:l[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,c=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,c=e.max);var l=(c-u)/o;l=r.almostEquals(l,Math.round(l),o/1e3)?Math.round(l):Math.ceil(l),i=1,o<1&&(i=Math.pow(10,1-Math.floor(r.log10(o))),u=Math.round(u*i)/i,c=Math.round(c*i)/i),a.push(void 0!==e.min?e.min:u);for(var d=1;d<l;++d)a.push(Math.round((u+d*o)*i)/i);return a.push(void 0!==e.max?e.max:c),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),c=[s.type,void 0===t.stacked&&void 0===s.stack?o:"",s.stack].join(".");n.isDatasetVisible(o)&&a(s)&&(void 0===u[c]&&(u[c]=[]),r.each(i.data,(function(t,n){var r=u[c],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)),c=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 l=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(s),10==++i&&(i=1,l=++n>=0?1:l),s=Math.round(i*Math.pow(10,n)*l)/l}while(n<u||n===u&&i<c);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,c=u.options.ticks.reverse,l=r.log10,d=u._getFirstTickValue(u.minNotZero),f=0;return t=+u.getRightValue(t),c?(o=u.end,a=u.start,s=-1):(o=u.start,a=u.end,s=1),u.isHorizontal()?(n=u.width,i=c?u.right:u.left):(n=u.height,s*=-1,i=c?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/(l(a)-l(o))*(l(t)-l(o))),i+=s*f),i},getValueForPixel:function(t){var n,i,o,a,s=this,u=s.options.ticks.reverse,c=r.log10,l=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=l}a*=c(o)-c(i),a/=n,a=Math.pow(10,c(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 c(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 l(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),l={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=c(g,r.x,n.w,0,180),b=c(g,r.y,n.h,90,270);y.start<l.l&&(l.l=y.start,d.l=v),y.end>l.r&&(l.r=y.end,d.r=v),b.start<l.t&&(l.t=b.start,d.t=v),b.end>l.b&&(l.b=b.end,d.b=v)}e.setReductions(a,l,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 c=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 l=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 c=1;c<a;c++)u=e.getPointPosition(c,n),o.lineTo(u.x,u.y);o.closePath(),o.stroke()}}(e,r,l,u),o.display){var d=a(o.fontColor,t.defaultFontColor);if(c.font=g,c.save(),c.translate(e.xCenter,e.yCenter),c.rotate(p),o.showLabelBackdrop){var f=c.measureText(n).width;c.fillStyle=o.backdropColor,c.fillRect(-f/2-o.backdropPaddingX,-l-h/2-o.backdropPaddingY,f+2*o.backdropPaddingX,h+2*o.backdropPaddingY)}c.textAlign="center",c.textBaseline="middle",c.fillStyle=d,c.fillText(n,0,-l),c.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 c=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,c);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,c+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=l(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,c=Number.MAX_SAFE_INTEGER||9007199254740991,l={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(l);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,c=(a[r]-o[r])*u;return o[r]+c}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(l[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=l[d[i]]).steps?o.steps[o.steps.length-1]:c,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=l[u],y=r(e),b=r(t),_=[];for(p||(p=function(e,t,n,r){var i,o,a,s=t-e,u=l[n],c=u.size,d=u.steps;if(!d)return Math.ceil(s/(r*c));for(i=0,o=d.length;i<o&&(a=d[i],!(Math.ceil(s/(c*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,l=this,d=l.chart,h=l.options.time,m=h.unit||"day",g=c,y=u,b=[],_=[],w=[];for(e=0,n=d.data.labels.length;e<n;++e)w.push(v(d.data.labels[e],l));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],l),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,l)||g,y=v(h.max,l)||y,g=g===c?+r().startOf(m):g,y=y===u?+r().endOf(m)+1:y,l.min=Math.min(g,y),l.max=Math.max(g+1,y),l._horizontal=l.isHorizontal(),l._table=[],l._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,c=[],f=[];switch(s.ticks.source){case"data":c=i._timestamps.data;break;case"labels":c=i._timestamps.labels;break;default:c=y(o,a,i.getLabelCapacity(o),s)}for("ticks"===s.bounds&&c.length&&(o=c[0],a=c[c.length-1]),o=v(u.min,i)||o,a=v(u.max,i)||a,e=0,t=c.length;e<t;++e)(n=c[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],l[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,c=[],l=[t];for(i=0,o=e.length;i<o;++i)(s=e[i])>t&&s<n&&l.push(s);for(l.push(n),i=0,o=l.length;i<o;++i)u=l[i+1],a=l[i-1],s=l[i],void 0!==a&&void 0!==u&&Math.round((u+a)/2)===s||c.push({time:s,pos:i/(o-1)});return c}(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,c=u[i._unit],l=i._majorUnit,d=u[l],f=e.clone().startOf(l).valueOf(),p=a.ticks.major,h=p.enabled&&l&&d&&s===f,m=e.format(r||(h?d:c)),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]=l(t[o],0,255);return n=n||0==n?l(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[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(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[l(parseInt(t[1]),0,360),l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(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 c(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function l(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 c(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:c,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 c=a[e];for(n=0;n<e.length;n++)o[e][n]=t[c[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 l in a)l!==e&&(o[l]=r[e][l](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,c=4,l=8;function d(e,t,n){var r=a;return e<n.left?r|=s:e>n.right&&(r|=u),t<n.top?r|=l:t>n.bottom&&(r|=c),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)&l?(r=o+(f-o)*(t.top-a)/(p-a),i=t.top):n&c?(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 E(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 k(e,t,n,r){var i,o=r.textAlign,a=r.color,s=!!a,u=r.font,c=t.length,l=r.textStrokeColor,d=r.textStrokeWidth,f=l&&d;if(c&&(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=l),i=0,c=t.length;i<c;++i)E(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,c=r.parseFont(u([i.font,{}],o,s)),l=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:l,display:t,font:c,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,c),textAlign:u([i.textAlign,"start"],o,s),textShadowBlur:u([i.textShadowBlur,0],o,s),textShadowColor:u([i.textShadowColor,l],o,s),textStrokeColor:u([i.textStrokeColor,l],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,c=o._config,l=m.options.resolve([c.display,!0],e,u);l&&(t=e.dataset.data[u],n=m.valueOrDefault(m.callback(c.formatter,[t,e]),t),(i=m.isNullOrUndef(n)?[]:r.toTextLines(n)).length&&(s=g(a=o._modelize(l,i,c,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),k(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 N(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,c=t.origin;for(n=0;n<e.length;++n)i=(r=e[n]).x-c.x,o=r.y-c.y,a=t.vx*i+t.vy*o,s=Math.min(s,a),u=Math.max(u,a);return{min:s,max:u}}function A(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,c=Math.abs(a/2*Math.cos(u))+Math.abs(s/2*Math.sin(u)),l=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 c*=i*d,l*=o*d,c+=t.offset*i,l+=t.offset*o,{x:r.x+c,y:r.y+l}}function I(e,t){var n,r,i,o;for(n=e.length-1;n>=0;--n)for(i=e[n].$layout,r=n-1;r>=0&&i._visible;--r)(o=e[r].$layout)._visible&&i._box.intersects(o._box)&&t(i,o);return e}function M(e){var t,n,r,i,o,a;for(t=0,n=e.length;t<n;++t)(i=(r=e[t]).$layout)._visible&&(o=r.geometry(),a=L(r._el._model,r.model(),o),i._box.update(a,o,r.rotation()));return I(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=N(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=[A(i[0],i[1]),A(i[0],i[3])];for(this._rotation!==e._rotation&&a.push(A(o[0],o[1]),A(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[N({x:t.x,y:t.y},r,n),N({x:t.x+t.w,y:t.y},r,n),N({x:t.x+t.w,y:t.y+t.h},r,n),N({x:t.x,y:t.y+t.h},r,n)]}});var R={prepare:function(e){var t,n,r,i,o,a=[];for(t=0,r=e.length;t<r;++t)for(n=0,i=e[t].length;n<i;++n)o=e[t][n],a.push(o),o.$layout={_box:new P,_hidable:!1,_visible:!0,_set:t,_idx:n};return a.sort((function(e,t){var n=e.$layout,r=t.$layout;return n._idx===r._idx?n._set-r._set:r._idx-n._idx})),this.update(a),a},update:function(e){var t,n,r,i,o,a=!1;for(t=0,n=e.length;t<n;++t)i=(r=e[t]).model(),(o=r.$layout)._hidable=i&&"auto"===i.display,o._visible=r.visible(),a|=o._hidable;a&&M(e)},lookup:function(e,t){var n,r;for(n=e.length-1;n>=0;--n)if((r=e[n].$layout)&&r._visible&&r._box.contains(t))return{dataset:r._set,label:e[n]};return null},draw:function(e,t){var n,r,i,o,a,s;for(n=0,r=t.length;n<r;++n)(o=(i=t[n]).$layout)._visible&&(a=i.geometry(),s=L(i._el._view,i.model(),a),o._box.update(s,a,i.rotation()),i.draw(e,s))}},D=e.helpers,j={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},Z=e.helpers,B="$datalabels";function F(e,t){var n=e.datalabels,r={};return!1===n?null:(!0===n&&(n={}),Z.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===Z.callback(r,[o])&&(e[B]._dirty=!0,i.update(o))}}function q(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 z(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,q(e,o,n,r)}}function H(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=j,e.defaults.global.plugins.datalabels=j;var V={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]=[],c=e.isDatasetVisible(a),l=e.data.datasets[a],d=F(l,n),f=t.meta.data||[],p=f.length,h=e.ctx;for(h.save(),r=0;r<p;++r)i=f[r],c&&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:l,datasetIndex:a})):o=null,i[B]=o;h.restore(),Z.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":z(e,t);break;case"click":H(e,t)}},afterEvent:function(e){var t,n,i,o,a=e[B],s=a._actives,u=a._actives=e.lastActive||[],c=r.arrayDiff(s,u);for(t=0,n=c.length;t<n;++t)(i=c[t])[1]&&(o=i[0][B])&&(o.$context.active=1===i[1],o.update(o.$context));(a._dirty||c.length)&&(R.update(a._labels),e.animating||e.render()),delete a._dirty}};return e.plugins.register(V),V}(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 k[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 c(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 c=0;c<3;c++)(r=a+1/3*-(c-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[c]=255*o;return i}function l(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,c=s+u;switch(c>1&&(s/=c,u/=c),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 E[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:c,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(c(e))},hsl2cmyk:function(e){return o(c(e))},hsl2keyword:function(e){return a(c(e))},hsv2rgb:l,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(l(e))},hsv2cmyk:function(e){return o(l(e))},hsv2keyword:function(e){return a(l(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 E={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]},k={};for(var x in E)k[JSON.stringify(E[x])]=x},12085:function(e,t,n){var r=n(48168),i=function(){return new c};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 c=function(){this.convs={}};c.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))},c.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},c.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){c.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]}},97734:function(e,t,n){"use strict";n.d(t,{O:function(){return c}});var r=!("undefined"==typeof window||!window.document||!window.document.createElement);var i=void 0;function o(){return void 0===i&&(i=function(){if(!r)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}()),i}function a(e){e.handlers===e.nextHandlers&&(e.nextHandlers=e.handlers.slice())}function s(e){this.target=e,this.events={}}s.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]},s.prototype.handleEvent=function(e,t,n){var r=this.getEventHandlers(e,t);r.handlers=r.nextHandlers,r.handlers.forEach((function(e){e&&e(n)}))},s.prototype.add=function(e,t,n){var r=this,i=this.getEventHandlers(e,n);a(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;return function(){if(o){o=!1,a(i);var s=i.nextHandlers.indexOf(t);i.nextHandlers.splice(s,1),0===i.nextHandlers.length&&(r.target&&r.target.removeEventListener(e,i.handleEvent,n),i.handleEvent=void 0)}}};var u="__consolidated_events_handlers__";function c(e,t,n,r){e[u]||(e[u]=new s(e));var i=function(e){if(e)return o()?e:!!e.capture}(r);return e[u].add(t,n,i)}},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 c=o.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");u.push("Max-Age="+c)}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},28429: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(28429),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},93738: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(59680),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,c=void 0===u?n:i(u,n);c>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),c=n(24284),l=n(10623),d=n(55449),f=n(53476),p=n(22902),h=r.Array;e.exports=function(e){var t=a(e),n=c(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,E,k=p(t),x=0;if(!k||this==h&&u(k))for(g=l(t),y=n?new this(g):h(g);g>x;x++)E=v?m(t[x],x):t[x],d(y,x,E);else for(w=(_=f(t,k)).next,y=n?new this:[];!(b=o(w,_)).done;x++)E=v?s(_,m,[b.value,x],!0):b.value,d(y,x,E);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),c=o(u),l=i(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||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),c=i([].push),l=function(e){var t=1==e,n=2==e,i=3==e,l=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(_),E=r(m,v),k=s(w),x=0,S=g||u,T=t?S(h,k):n||f?S(h,0):void 0;k>x;x++)if((p||x in w)&&(b=E(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:c(T,y)}else switch(e){case 4:return!1;case 7:c(T,y)}return d?-1:i||l?l:T}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(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),c=i(t,r),l=i(void 0===n?r:n,r),d=s(u(l-c,0)),f=0;c<l;c++,f++)a(d,f,e[c]);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,c="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:c?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,c,l,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?(c=0,l=r(f,d>2?arguments[2]:void 0),s(e,(function(e){i(u,n,l(e,c++))}))):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),c=n(47771),l=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,c){var l=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[c],{that:e,AS_ENTRIES:n})})),p=l.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}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);c(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),l(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),c=n(93091),l=n(3610),d=n(90953),f=n(45402),p=f.set,h=f.getterFor,m=l.find,v=l.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 l=e((function(e,i){u(e,f),p(e,{type:t,id:y++,frozen:void 0}),null!=i&&c(i,e[r],{that:e,AS_ENTRIES:n})})),f=l.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)}}),l}}},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),c=n(5743),l=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",E=i[e],k=E&&E.prototype,x={};if(m&&l(E)&&(_||k.forEach&&!a((function(){(new E).entries().next()})))){var S=(v=t((function(t,n){g(c(t,S),{type:e,collection:new E}),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 k)||_&&"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,c=o.f,l=0;l<s.length;l++){var d=s[l];r(e,d)||n&&r(n,d)||u(e,d,c(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,c){var l=t+" Iterator";return e.prototype=i(r,{next:o(+!c,n)}),a(e,l,!1,!0),s[l]=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),c=n(249),l=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"),E="keys",k="values",x="entries",S=function(){return this};e.exports=function(e,t,n,a,h,v,T){u(n,t,a);var C,N,O,A=function(e){if(e===h&&R)return R;if(!_&&e in I)return I[e];switch(e){case E:case k:case x:return function(){return new n(this,e)}}return function(){return new n(this)}},P=t+" Iterator",L=!1,I=e.prototype,M=I[w]||I["@@iterator"]||h&&I[h],R=!_&&M||A(h),D="Array"==t&&I.entries||M;if(D&&(C=c(D.call(new e)))!==Object.prototype&&C.next&&(o||c(C)===b||(l?l(C,b):s(C[w])||p(C,w,S)),d(C,P,!0,!0),o&&(m[P]=S)),g&&h==k&&M&&M.name!==k&&(!o&&y?f(I,"name",k):(L=!0,R=function(){return i(M,this)})),h)if(N={values:A(k),keys:v?R:A(E),entries:A(x)},T)for(O in N)(_||L||!(O in I))&&p(I,O,N[O]);else r({target:t,proto:!0,forced:_||L},N);return o&&!T||I[w]===R||p(I,w,R,{name:h}),m[t]=R,N}},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,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(i=(r=l.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),c=n(54058),l=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,E=e.stat,k=e.proto,x=w?r:E?r[_]:(r[_]||{}).prototype,S=w?c:c[_]||d(c,_,{})[_],T=S.prototype;for(h in t)n=!u(w?h:_+(E?".":"#")+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?l(m,r):e.wrap&&n?p(m):k&&a(m)?o(m):m,(e.sham||m&&m.sham||v&&v.sham)&&d(y,"sham",!0),d(S,h,y),k&&(f(c,i=_+"Prototype")||d(c,i,{}),d(c[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),c=n(18285),l=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]=l("C,a","return new C("+f(r,",")+")")}return p[t](e,n)};e.exports=c?l.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,c=s&&(!r||r&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},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),c=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?u(e):t;if(o(n))return a(i(n,e));throw c(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,c=n(10946),l=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=c.f,t=i([].splice),n={};n[m]=1,e(n).length&&(c.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:l.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),c=n(10941),l=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 E=p("state");h[E]=!0,r=function(e,t){if(d(e,E))throw new v(m);return t.facade=e,l(e,E,t),t},i=function(e){return d(e,E)?e[E]:{}},o=function(e){return d(e,E)}}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(!c(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),c=function(){},l=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(c),m=function(e){if(!o(e))return!1;try{return d(c,l,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==l||n!=c&&(i(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=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),c=n(10623),l=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,E,k=n&&n.that,x=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),C=i(t,k),N=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],N):C(e[0],e[1])):T?C(e,N):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=c(e);b>y;y++)if((_=O(e[y]))&&l(v,_))return _;return new m(!1)}r=d(e,g)}for(w=r.next;!(E=o(w,r)).done;){try{_=O(E.value)}catch(e){p(r,"throw",e)}if("object"==typeof _&&_&&l(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),c=n(249),l=n(99754),d=n(99813),f=n(82529),p=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(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])||l(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),c=r(s,n,e)&&"update"in t?t.update(r(a,n,e),e,n):t.insert(e,n);return r(u,n,e,c),c}},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),c=o(r.get),l=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(l,r,e)?(n=i(c,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,c,l,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,E=d.Promise,k=p(d,"queueMicrotask"),x=k&&k.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&&E&&E.resolve?((c=E.resolve(void 0)).constructor=E,l=f(c.then,c),a=function(){l(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),c=n(36760),l=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=l(e),i=arguments.length,a=1,f=u.f,p=c.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),c=n(61333),l=n(44262),d=l("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=c("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),c=i.length,l=0;c>l;)o.f(e,n=i[l++],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),c=r.TypeError,l=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 l(e,t,n)}:l:function(e,t,n){if(s(e),t=u(t),s(n),o)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("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),c=n(90953),l=n(2840),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=u(t),l)try{return d(e,t)}catch(e){}if(c(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),c=s("IE_PROTO"),l=r.Object,d=l.prototype;e.exports=u?l.getPrototypeOf:function(e){var t=a(e);if(i(t,c))return t[c];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof l?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),c=0,l=[];for(n in r)!i(s,n)&&i(r,n)&&u(l,n);for(;t.length>c;)i(r,n=t[c++])&&(~a(l,n)||u(l,n));return l}},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),c=function(e){return function(t){for(var n,i=a(t),c=o(i),l=c.length,d=0,f=[];l>d;)n=c[d++],r&&!s(i,n)||u(f,e?[n,i[n]]:i[n]);return f}};e.exports={entries:c(!0),values:c(!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),c=n(23321),l=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(l&&(!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&&c&&!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,c){if(e){var l=n?e:e.prototype;a(l,u)||i(l,u,{configurable:!0,value:t}),c&&!r&&o(l,"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),c=r("".slice),l=function(e){return function(t,n){var r,l,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||(l=u(d,f+1))<56320||l>57343?e?s(d,f):r:e?c(d,f,f+2):l-56320+(r-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!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),c=r("".slice),l=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,l((a=p-h)/m.length))).length>a&&(d=c(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",c=r.RangeError,l=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,l=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 c(u);for(s+=(y-a)*w,a=y,n=0;n<e.length;n++){if((r=e[n])<a&&++s>o)throw c(u);if(r==a){for(var E=s,k=36;;){var x=k<=l?1:k>=l+26?26:k-l;if(E<x)break;var S=E-x,T=36-x;m(t,f(b(x+S%T))),E=d(S/T),k+=36}m(t,f(b(E))),l=_(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,l(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+"]",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),d=function(e){return function(t){var n=o(i(t));return 1&e&&(n=s(n,c,"")),2&e&&(n=s(n,l,"")),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),c=n(86843),l=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,E=s.Dispatch,k=s.Function,x=s.MessageChannel,S=s.String,T=0,C={},N="onreadystatechange";try{r=s.location}catch(e){}var O=function(e){if(d(C,e)){var t=C[e];delete C[e],t()}},A=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=l(e)?e:k(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(A(e))}:E&&E.now?i=function(e){E.now(A(e))}:x&&!g?(a=(o=new x).port2,o.port1.onmessage=P,i=c(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(L)?(i=L,s.addEventListener("message",P,!1)):i=N in m("script")?function(e){p.appendChild(m("script")).onreadystatechange=function(){p.removeChild(this),O(e)}}:function(e){setTimeout(A(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),c=n(99813),l=r.TypeError,d=c("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 l("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),c=i("wks"),l=r.Symbol,d=l&&l.for,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){if(!o(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&o(l,e)?c[e]=l[e]:c[e]=u&&d?d(t):f(t)}return c[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),c=n(29290),l=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(E,this);s?n=s(new b,i?a(this):E):(n=i?this:c(E),l(n,y,"Error")),void 0!==t&&l(n,"message",m(t)),g&&l(n,"stack",f(n.stack,1)),p(n,r);var u=[];return h(e,_,{that:u}),l(n,"errors",u),n};s?s(w,b):u(w,b,{name:!0});var E=w.prototype=c(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),c=n(10623),l=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=c(o))>v)throw y(g);for(n=0;n<i;n++,f++)n in o&&l(s,f,o[n])}else{if(f>=v)throw y(g);l(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,c=a("indexOf");r({target:"Array",proto:!0,forced:u||!c},{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),c=n(82529),l=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"),!c&&l&&"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),c=n(10623),l=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=l(this),p=c(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),c=n(95981),l=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=c((function(){v.sort(void 0)})),_=c((function(){v.sort(null)})),w=d("sort"),E=!c((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||!E},{sort:function(e){void 0!==e&&o(e);var t=a(this);if(E)return void 0===e?g(t):g(t,e);var n,r,i=[],c=s(t);for(r=0;r<c;r++)r in t&&y(i,t[r]);for(l(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<c;)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),c=n(1052),l=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,E=/^[\uD800-\uDBFF]$/,k=/^[\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 c(t)||(t=function(e,t){if(l(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(E,e)&&!v(k,i)||v(k,e)&&!v(E,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,c=o(r),l={},d=0;c.length>d;)void 0!==(n=i(r,t=c[d++]))&&u(l,t,n);return l}})},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,c=n.reject,l=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]={status:"fulfilled",value:e},--c||r(a))}),(function(e){u||(u=!0,a[o]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return l.error&&c(l.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,c=n.reject,l=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]=e,--l||r(a))}),c)})),--l||r(a)}));return l.error&&c(l.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),c=n(93091),l="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;c(e,(function(e){var o=s++,c=!1;u++,i(r,t,e).then((function(e){c||p||(p=!0,d(e))}),(function(e){c||p||(c=!0,a[o]=e,--u||f(new n(a,l)))}))})),--u||f(new n(a,l))}));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),c=n(99754),l=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;l.catch!==d&&c(l,"catch",d,{unsafe:!0})}},26934:function(e,t,n){"use strict";var r,i,o,a=n(76887),s=n(82529),u=n(6049),c=n(21899),l=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,E=n(66132),k=n(34845),x=n(40002),S=n(18397),T=n(45402),C=n(6991),N=n(67742),O=n(69520),A="Promise",P=N.CONSTRUCTOR,L=N.REJECTION_EVENT,I=N.SUBCLASSING,M=T.getterFor(A),R=T.set,D=C&&C.prototype,j=C,Z=D,B=c.TypeError,F=c.document,U=c.process,q=O.f,z=q,H=!!(F&&F.createEvent&&c.dispatchEvent),V="unhandledrejection",W=function(e){var t;return!(!y(e)||!g(t=e.then))&&t},Y=function(e,t){var n,r,i,o=t.value,a=1==t.state,s=a?e.ok:e.fail,u=e.resolve,c=e.reject,d=e.domain;try{s?(a||(2===t.rejection&&J(t),t.rejection=1),!0===s?n=o:(d&&d.enter(),n=s(o),d&&(d.exit(),i=!0)),n===e.promise?c(B("Promise-chain cycle")):(r=W(n))?l(r,n,u,c):u(n)):c(o)}catch(e){d&&!i&&d.exit(),c(e)}},G=function(e,t){e.notified||(e.notified=!0,E((function(){for(var n,r=e.reactions;n=r.get();)Y(n,e);e.notified=!1,t&&!e.rejection&&$(e)})))},K=function(e,t,n){var r,i;H?((r=F.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!L&&(i=c["on"+e])?i(r):e===V&&k("Unhandled promise rejection",n)},$=function(e){l(w,c,(function(){var t,n=e.facade,r=e.value;if(X(e)&&(t=x((function(){u?U.emit("unhandledRejection",r,n):K(V,n,r)})),e.rejection=u||X(e)?2:1,t.error))throw t.value}))},X=function(e){return 1!==e.rejection&&!e.parent},J=function(e){l(w,c,(function(){var t=e.facade;u?U.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},Q=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,G(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=W(t);r?E((function(){var n={done:!1};try{l(r,t,Q(te,n,e),Q(ee,n,e))}catch(t){ee(n,t,e)}})):(e.value=t,e.state=1,G(e,!1))}catch(t){ee({done:!1},t,e)}}};if(P&&(Z=(j=function(e){b(this,Z),v(e),l(r,this);var t=M(this);try{e(Q(te,t),Q(ee,t))}catch(e){ee(t,e)}}).prototype,(r=function(e){R(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=f(Z,{then:function(e,t){var n=M(this),r=q(_(this,j));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):E((function(){Y(r,n)})),r.promise}}),i=function(){var e=new r,t=M(e);this.promise=e,this.resolve=Q(te,t),this.reject=Q(ee,t)},O.f=q=function(e){return e===j||undefined===e?new i(e):z(e)},!s&&g(C)&&D!==Object.prototype)){o=D.then,I||d(D,"then",(function(e,t){var n=this;return new j((function(e,t){l(o,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete D.constructor}catch(e){}p&&p(D,Z)}a({global:!0,wrap:!0,forced:P},{Promise:j}),h(j,A,!1,!0),m(A)},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),c=n(70487),l=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=c(this,s("Promise")),n=u(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!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,c=s((function(){var a=o(t.resolve);u(e,(function(e){i(a,t,e).then(n.resolve,r)}))}));return c.error&&r(c.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),c=i("Promise"),l=o&&!s;r({target:"Promise",stat:!0,forced:o||s},{resolve:function(e){return u(l&&this===c?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),c=n(10941),l=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=l(c(i)?i:p),g=o(e,d,t);return c(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),c=n(249);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,l,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(l=c(t))?e(l,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),c=n(70344),l=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(l(this));c(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),c=i("".indexOf);r({target:"String",proto:!0,forced:!u("includes")},{includes:function(e){return!!~c(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,c=o.getterFor(s);a(String,"String",(function(e){u(this,{type:s,string:i(e),index:0})}),(function(){var e,t=c(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),c=n(70344),l=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(l(this));c(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),c=n(72497),l=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),E=n(87857),k=n(49677),x=n(65988),S=n(59938),T=n(36760),C=n(99754),N=n(68726),O=n(44262),A=n(27748),P=n(99418),L=n(99813),I=n(11477),M=n(66349),R=n(29630),D=n(90904),j=n(45402),Z=n(3610).forEach,B=O("hidden"),F="Symbol",U=j.set,q=j.getterFor(F),z=Object.prototype,H=i.Symbol,V=H&&H.prototype,W=i.TypeError,Y=i.QObject,G=k.f,K=x.f,$=w.f,X=T.f,J=a([].push),Q=N("symbols"),ee=N("op-symbols"),te=N("wks"),ne=!Y||!Y.prototype||!Y.prototype.findChild,re=u&&l((function(){return 7!=y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=G(z,t);r&&delete z[t],K(e,t,n),r&&e!==z&&K(z,t,r)}:K,ie=function(e,t){var n=Q[e]=y(V);return U(n,{type:F,tag:e,description:t}),u||(n.description=t),n},oe=function(e,t,n){e===z&&oe(ee,t,n),p(e);var r=m(t);return p(n),d(Q,r)?(n.enumerable?(d(e,B)&&e[B][r]&&(e[B][r]=!1),n=y(n,{enumerable:g(0,!1)})):(d(e,B)||K(e,B,g(1,{})),e[B][r]=!0),re(e,r,n)):K(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=b(n).concat(le(n));return Z(r,(function(t){u&&!o(se,n,t)||oe(e,t,n[t])})),e},se=function(e){var t=m(e),n=o(X,this,t);return!(this===z&&d(Q,t)&&!d(ee,t))&&(!(n||!d(this,t)||!d(Q,t)||d(this,B)&&this[B][t])||n)},ue=function(e,t){var n=h(e),r=m(t);if(n!==z||!d(Q,r)||d(ee,r)){var i=G(n,r);return!i||!d(Q,r)||d(n,B)&&n[B][r]||(i.enumerable=!0),i}},ce=function(e){var t=$(h(e)),n=[];return Z(t,(function(e){d(Q,e)||d(A,e)||J(n,e)})),n},le=function(e){var t=e===z,n=$(t?ee:h(e)),r=[];return Z(n,(function(e){!d(Q,e)||t&&!d(z,e)||J(r,Q[e])})),r};c||(H=function(){if(f(V,this))throw W("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===z&&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(z,t,{configurable:!0,set:n}),ie(t,e)},C(V=H.prototype,"toString",(function(){return q(this).tag})),C(H,"withoutSetter",(function(e){return ie(P(e),e)})),T.f=se,x.f=oe,S.f=ae,k.f=ue,_.f=w.f=ce,E.f=le,I.f=function(e){return ie(L(e),e)},u&&(K(V,"description",{configurable:!0,get:function(){return q(this).description}}),s||C(z,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:H}),Z(b(te),(function(e){M(e)})),r({target:F,stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,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:!c},{getOwnPropertyNames:ce}),R(),D(H,F),A[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),c=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!u},{for:function(e){var t=a(e);if(o(c,t))return c[t];var n=i("Symbol")(t);return c[t]=n,l[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),c=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(c,e))return c[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),c=n(8850),l=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,c);if(p&&h){r=c.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(l(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(l(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(l(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(l(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),c=n(70487),l=n(79993),d=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=u(this),n=l(t),r=o(e,arguments.length>1?arguments[1]:void 0),f=new(c(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),c=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),l=a(r.get),d=a(r.set);return u(n,(function(e){var n=t(e);i(o,r,n)?c(i(l,r,n),e):i(d,r,n,[e])}),{IS_ITERATOR:!0}),r}})},59680: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),c=n(70487),l=n(79993),d=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=u(this),n=l(t),r=o(e,arguments.length>1?arguments[1]:void 0),f=new(c(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),c=n(70487),l=n(79993),d=n(93091);r({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=u(this),n=l(t),r=o(e,arguments.length>1?arguments[1]:void 0),f=new(c(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),c=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 c("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),c=s(n.set),l=arguments.length;s(t);var d=o(i,n,e);if(!d&&l<3)throw u("Updating absent value");var f=d?o(r,n,e):s(l>2?arguments[2]:void 0)(e,n);return o(c,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 c in r){var l=i[c],d=l&&l.prototype;d&&o(d)!==u&&a(d,u,c),s[c]=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),c=n(99754),l=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),E=n(29290),k=n(31887),x=n(53476),S=n(22902),T=n(18348),C=n(99813),N=n(61388),O=C("iterator"),A="URLSearchParams",P="URLSearchParamsIterator",L=p.set,I=p.getterFor(A),M=p.getterFor(P),R=Object.getOwnPropertyDescriptor,D=function(e){if(!s)return i[e];var t=R(i,e);return t&&t.value},j=D("fetch"),Z=D("Request"),B=D("Headers"),F=Z&&Z.prototype,U=B&&B.prototype,q=i.RegExp,z=i.TypeError,H=i.decodeURIComponent,V=i.encodeURIComponent,W=a("".charAt),Y=a([].join),G=a([].push),K=a("".replace),$=a([].shift),X=a([].splice),J=a("".split),Q=a("".slice),ee=/\+/g,te=Array(4),ne=function(e){return te[e-1]||(te[e-1]=q("((?:%[\\da-f]{2}){"+e+"})","gi"))},re=function(e){try{return H(e)}catch(t){return e}},ie=function(e){var t=K(e,ee," "),n=4;try{return H(t)}catch(e){for(;n;)t=K(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 K(V(e),oe,se)},ce=f((function(e,t){L(this,{type:P,iterator:x(I(e).entries),kind:t})}),"Iterator",(function(){var e=M(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===W(e,0)?Q(e,1):e:w(e)))};le.prototype={type:A,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,s,u,c=S(e);if(c)for(n=(t=x(e,c)).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 z("Expected sequence with length 2");G(this.entries,{key:w(s.value),value:w(u.value)})}else for(var l in e)v(e,l)&&G(this.entries,{key:l,value:w(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=J(e,"&"),i=0;i<r.length;)(t=r[i++]).length&&(n=J(t,"="),G(this.entries,{key:ie($(n)),value:ie(Y(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],G(n,ue(e.key)+"="+ue(e.value));return Y(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 le(e))},fe=de.prototype;if(l(fe,{append:function(e,t){T(arguments.length,2);var n=I(this);G(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){T(arguments.length,1);for(var t=I(this),n=t.entries,r=w(e),i=0;i<n.length;)n[i].key===r?X(n,i,1):i++;t.updateURL()},get:function(e){T(arguments.length,1);for(var t=I(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=I(this).entries,n=w(e),r=[],i=0;i<t.length;i++)t[i].key===n&&G(r,t[i].value);return r},has:function(e){T(arguments.length,1);for(var t=I(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=I(this),i=r.entries,o=!1,a=w(e),s=w(t),u=0;u<i.length;u++)(n=i[u]).key===a&&(o?X(i,u--,1):(o=!0,n.value=s));o||G(i,{key:a,value:s}),r.updateURL()},sort:function(){var e=I(this);N(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=I(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 ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),c(fe,O,fe.entries,{name:"entries"}),c(fe,"toString",(function(){return I(this).serialize()}),{enumerable:!0}),d(de,A),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)===A)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"),E(e,{body:k(0,w(n)),headers:k(0,t)})}return e};if(m(j)&&r({global:!0,enumerable:!0,noTargetGet:!0,forced:!0},{fetch:function(e){return j(e,arguments.length>1?me(arguments[1]):{})}}),m(Z)){var ve=function(e){return h(this,F),new Z(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:I}},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),c=n(95329),l=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),E=n(62524),k=n(45402),x=k.set,S=k.getterFor("URL"),T=E.URLSearchParams,C=E.getState,N=s.URL,O=s.TypeError,A=s.parseInt,P=Math.floor,L=Math.pow,I=c("".charAt),M=c(/./.exec),R=c([].join),D=c(1..toString),j=c([].pop),Z=c([].push),B=c("".replace),F=c([].shift),U=c("".split),q=c("".slice),z=c("".toLowerCase),H=c([].unshift),V="Invalid scheme",W="Invalid host",Y="Invalid port",G=/[a-z]/i,K=/[\d+-.a-z]/i,$=/\d/,X=/^0x/i,J=/^[0-7]+$/,Q=/^\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++)H(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}),ce=h({},ue,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),le=function(e,t){var n=g(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var n;return 2==e.length&&M(G,I(e,0))&&(":"==(n=I(e,1))||!t&&"|"==n)},pe=function(e){var t;return e.length>1&&fe(q(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===z(e)},me={},ve={},ge={},ye={},be={},_e={},we={},Ee={},ke={},xe={},Se={},Te={},Ce={},Ne={},Oe={},Ae={},Pe={},Le={},Ie={},Me={},Re={},De=function(e,t,n){var r,i,o,a=b(e);if(t){if(i=this.parse(a))throw O(i);this.searchParams=null}else{if(void 0!==n&&(r=new De(n,!0)),i=this.parse(a,null,r))throw O(i);(o=C(new T)).bindURL(this),this.searchParams=o}};De.prototype={type:"URL",parse:function(e,t,n){var i,o,a,s,u,c=this,l=t||me,d=0,f="",h=!1,g=!1,y=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=B(e,re,"")),e=B(e,ie,""),i=m(e);d<=i.length;){switch(o=i[d],l){case me:if(!o||!M(G,o)){if(t)return V;l=ge;continue}f+=z(o),l=ve;break;case ve:if(o&&(M(K,o)||"+"==o||"-"==o||"."==o))f+=z(o);else{if(":"!=o){if(t)return V;f="",l=ge,d=0;continue}if(t&&(c.isSpecial()!=p(de,f)||"file"==f&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&de[c.scheme]==c.port&&(c.port=null));f="","file"==c.scheme?l=Ne:c.isSpecial()&&n&&n.scheme==c.scheme?l=ye:c.isSpecial()?l=Ee:"/"==i[d+1]?(l=be,d++):(c.cannotBeABaseURL=!0,Z(c.path,""),l=Ie)}break;case ge:if(!n||n.cannotBeABaseURL&&"#"!=o)return V;if(n.cannotBeABaseURL&&"#"==o){c.scheme=n.scheme,c.path=v(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,l=Re;break}l="file"==n.scheme?Ne:_e;continue;case ye:if("/"!=o||"/"!=i[d+1]){l=_e;continue}l=ke,d++;break;case be:if("/"==o){l=xe;break}l=Le;continue;case _e:if(c.scheme=n.scheme,o==r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=v(n.path),c.query=n.query;else if("/"==o||"\\"==o&&c.isSpecial())l=we;else if("?"==o)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=v(n.path),c.query="",l=Me;else{if("#"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=v(n.path),c.path.length--,l=Le;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=v(n.path),c.query=n.query,c.fragment="",l=Re}break;case we:if(!c.isSpecial()||"/"!=o&&"\\"!=o){if("/"!=o){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,l=Le;continue}l=xe}else l=ke;break;case Ee:if(l=ke,"/"!=o||"/"!=I(f,d+1))continue;d++;break;case ke:if("/"!=o&&"\\"!=o){l=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 E=le(w,ce);y?c.password+=E:c.username+=E}else y=!0}f=""}else if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(h&&""==f)return"Invalid authority";d-=m(f).length+1,f="",l=Se}else f+=o;break;case Se:case Te:if(t&&"file"==c.scheme){l=Ae;continue}if(":"!=o||g){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()){if(c.isSpecial()&&""==f)return W;if(t&&""==f&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(f))return s;if(f="",l=Pe,t)return;continue}"["==o?g=!0:"]"==o&&(g=!1),f+=o}else{if(""==f)return W;if(s=c.parseHost(f))return s;if(f="",l=Ce,t==Te)return}break;case Ce:if(!M($,o)){if(o==r||"/"==o||"?"==o||"#"==o||"\\"==o&&c.isSpecial()||t){if(""!=f){var k=A(f,10);if(k>65535)return Y;c.port=c.isSpecial()&&k===de[c.scheme]?null:k,f=""}if(t)return;l=Pe;continue}return Y}f+=o;break;case Ne:if(c.scheme="file","/"==o||"\\"==o)l=Oe;else{if(!n||"file"!=n.scheme){l=Le;continue}if(o==r)c.host=n.host,c.path=v(n.path),c.query=n.query;else if("?"==o)c.host=n.host,c.path=v(n.path),c.query="",l=Me;else{if("#"!=o){pe(R(v(i,d),""))||(c.host=n.host,c.path=v(n.path),c.shortenPath()),l=Le;continue}c.host=n.host,c.path=v(n.path),c.query=n.query,c.fragment="",l=Re}}break;case Oe:if("/"==o||"\\"==o){l=Ae;break}n&&"file"==n.scheme&&!pe(R(v(i,d),""))&&(fe(n.path[0],!0)?Z(c.path,n.path[0]):c.host=n.host),l=Le;continue;case Ae:if(o==r||"/"==o||"\\"==o||"?"==o||"#"==o){if(!t&&fe(f))l=Le;else if(""==f){if(c.host="",t)return;l=Pe}else{if(s=c.parseHost(f))return s;if("localhost"==c.host&&(c.host=""),t)return;f="",l=Pe}continue}f+=o;break;case Pe:if(c.isSpecial()){if(l=Le,"/"!=o&&"\\"!=o)continue}else if(t||"?"!=o)if(t||"#"!=o){if(o!=r&&(l=Le,"/"!=o))continue}else c.fragment="",l=Re;else c.query="",l=Me;break;case Le:if(o==r||"/"==o||"\\"==o&&c.isSpecial()||!t&&("?"==o||"#"==o)){if(".."===(u=z(u=f))||"%2e."===u||".%2e"===u||"%2e%2e"===u?(c.shortenPath(),"/"==o||"\\"==o&&c.isSpecial()||Z(c.path,"")):he(f)?"/"==o||"\\"==o&&c.isSpecial()||Z(c.path,""):("file"==c.scheme&&!c.path.length&&fe(f)&&(c.host&&(c.host=""),f=I(f,0)+":"),Z(c.path,f)),f="","file"==c.scheme&&(o==r||"?"==o||"#"==o))for(;c.path.length>1&&""===c.path[0];)F(c.path);"?"==o?(c.query="",l=Me):"#"==o&&(c.fragment="",l=Re)}else f+=le(o,ue);break;case Ie:"?"==o?(c.query="",l=Me):"#"==o?(c.fragment="",l=Re):o!=r&&(c.path[0]+=le(o,ae));break;case Me:t||"#"!=o?o!=r&&("'"==o&&c.isSpecial()?c.query+="%27":c.query+="#"==o?"%23":le(o,ae)):(c.fragment="",l=Re);break;case Re:o!=r&&(c.fragment+=le(o,se))}d++}},parseHost:function(e){var t,n,r;if("["==I(e,0)){if("]"!=I(e,e.length-1))return W;if(t=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,d=0,f=function(){return I(e,d)};if(":"==f()){if(":"!=I(e,1))return;d+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&M(ee,f());)t=16*t+A(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,c>6)return;for(r=0;f();){if(i=null,r>0){if(!("."==f()&&r<4))return;d++}if(!M($,f()))return;for(;M($,f());){if(o=A(f(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;d++}u[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;u[c++]=t}else{if(null!==l)return;d++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u}(q(e,1,-1)),!t)return W;this.host=t}else if(this.isSpecial()){if(e=y(e),M(te,e))return W;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"==I(i,0)&&(o=M(X,i)?16:8,i=q(i,8==o?1:2)),""===i)a=0;else{if(!M(10==o?Q:8==o?J:ee,i))return e;a=A(i,o)}Z(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=j(n),r=0;r<n.length;r++)s+=n[r]*L(256,3-r);return s}(e),null===t)return W;this.host=t}else{if(M(ne,e))return W;for(t="",n=m(e),r=0;r<n.length;r++)t+=le(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,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=oe(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+R(a,"/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},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 je(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+=le(t[n],ce)}},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+=le(t[n],ce)}},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:("?"==I(e,0)&&(e=q(e,1)),this.query="",this.parse(e,Me)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=b(e))?("#"==I(e,0)&&(e=q(e,1)),this.fragment="",this.parse(e,Re)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var je=function(e){var t=f(this,Ze),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())},Ze=je.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&&l(Ze,{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(Ze,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),d(Ze,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),N){var Fe=N.createObjectURL,Ue=N.revokeObjectURL;Fe&&d(je,"createObjectURL",u(Fe,N)),Ue&&d(je,"revokeObjectURL",u(Ue,N))}_(je,"URL"),i({global:!0,forced:!a,sham:!o},{URL:je})},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(93738);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),c=n(95185),l=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,E=y&&f(y),k=b&&f(b),x=Object.prototype,S=x.isPrototypeOf,T=!(!o.ArrayBuffer||!o.DataView),C=T&&!!p,N=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},A=function(e){return a(e)&&s(O,u(e))};for(r in O)o[r]||(C=!1);if((!C||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},C))for(r in O)o[r]&&p(o[r],E);if((!C||!k||k===x)&&(k=E.prototype,C))for(r in O)o[r]&&p(o[r].prototype,k);if(C&&f(w)!==k&&p(w,k),i&&!s(k,h))for(r in N=!0,d(k,h,{get:function(){return a(this)?this[m]:void 0}}),O)o[r]&&c(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:N&&m,aTypedArray:function(e){if(A(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(S.call(E,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]}k[e]&&!n||l(k,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(E[e]&&!n)return;try{return l(E,e,n?t:C&&y[e]||t)}catch(e){}}for(r in O)!(a=o[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=u(e);return"DataView"===t||s(O,t)},isTypedArray:A,TypedArray:E,TypedArrayPrototype:k}},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),c=n(25787),l=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",E="Wrong index",k=r.ArrayBuffer,x=k,S=r.DataView,T=r.Math,C=r.RangeError,N=1/0,O=T.abs,A=T.pow,P=T.floor,L=T.log,I=T.LN2,M=function(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,u=(1<<s)-1,c=u>>1,l=23===t?A(2,-24)-A(2,-77):0,d=e<0||0===e&&1/e<0?1:0,f=0;for((e=O(e))!=e||e===N?(i=e!=e?1:0,r=u):(r=P(L(e)/I),e*(o=A(2,-r))<1&&(r--,o*=2),(e+=r+c>=1?l/o:l*A(2,1-c))*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(e*o-1)*A(2,t),r+=c):(i=e*A(2,c-1)*A(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,c=e[u--],l=127&c;for(c>>=7;s>0;l=256*l+e[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===l)l=1-a;else{if(l===o)return n?NaN:c?-1/0:N;n+=A(2,t),l-=a}return(c?-1:1)*n*A(2,l-t)},D=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},j=function(e){return[255&e]},Z=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 M(e,23,4)},U=function(e){return M(e,52,8)},q=function(e,t){h(e.prototype,t,{get:function(){return y(this)[t]}})},z=function(e,t,n,r){var i=f(+n),o=y(e);if(i+t>o.byteLength)throw C(E);var a=y(o.buffer).bytes,s=i+o.byteOffset,u=a.slice(s,s+t);return r?u:u.reverse()},H=function(e,t,n,r,i,o){var a=f(+n),s=y(e);if(a+t>s.byteLength)throw C(E);for(var u=y(s.buffer).bytes,c=a+s.byteOffset,l=r(+i),d=0;d<t;d++)u[c+d]=l[o?d:t-d-1]};if(o){if(!u((function(){k(1)}))||!u((function(){new k(-1)}))||u((function(){return new k,new k(1.5),new k(NaN),k.name!=_}))){for(var V,W=(x=function(e){return c(this,x),new k(f(e))}).prototype=k.prototype,Y=p(k),G=0;Y.length>G;)(V=Y[G++])in x||a(x,V,k[V]);W.constructor=x}var K=new S(new x(2)),$=S.prototype.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||s(S.prototype,{setInt8:function(e,t){$.call(this,e,t<<24>>24)},setUint8:function(e,t){$.call(this,e,t<<24>>24)}},{unsafe:!0})}else x=function(e){c(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){c(this,S,w),c(e,x,w);var r=y(e).byteLength,o=l(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&&(q(x,"byteLength"),q(S,"buffer"),q(S,"byteLength"),q(S,"byteOffset")),s(S.prototype,{getInt8:function(e){return z(this,1,e)[0]<<24>>24},getUint8:function(e){return z(this,1,e)[0]},getInt16:function(e){var t=z(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=z(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(z(this,4,e,arguments[1]))},getUint32:function(e){return D(z(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return R(z(this,4,e,arguments[1]),23)},getFloat64:function(e){return R(z(this,8,e,arguments[1]),52)},setInt8:function(e,t){H(this,1,e,j,t)},setUint8:function(e,t){H(this,1,e,j,t)},setInt16:function(e,t){H(this,2,e,Z,t,arguments[2])},setUint16:function(e,t){H(this,2,e,Z,t,arguments[2])},setInt32:function(e,t){H(this,4,e,B,t,arguments[2])},setUint32:function(e,t){H(this,4,e,B,t,arguments[2])},setFloat32:function(e,t){H(this,4,e,F,t,arguments[2])},setFloat64:function(e,t){H(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),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-u,a-s),d=1;for(u<s&&s<u+l&&(d=-1,u+=l-1,s+=l-1);l-- >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,c=void 0===u?n:i(u,n);c>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),c=n(71246);e.exports=function(e){var t,n,l,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=c(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;!(l=d.next()).done;g++)u(n,g,v?o(d,m,[l.value,g],!0):l.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),c=i(u.length),l=o(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||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,c=3==e,l=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,E=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)E[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:E.push(m)}else if(l)return!1;return d?-1:c||l?l:E}}},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),c=n(70654),l=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,c){var l=e((function(e,r){s(e,l,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[c],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(l.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(l.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(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",i=m(t),o=m(r);c(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),l(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),c=n(77550),l=n(86656),d=n(29909),f=d.set,p=d.getterFor,h=c(5),m=c(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,c){var d=e((function(e,r){s(e,d,t),f(e,{type:t,id:v++,frozen:void 0}),null!=r&&u(r,e[c],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&&l(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&&l(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),c=n(25787),l=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={},E=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&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!l(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 k=new b,x=k[_](v?{}:-0,1)!=k,S=d((function(){k.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){c(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)&&(E("delete"),E("has"),m&&E("get")),(C||x)&&E(_),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,c=0;c<n.length;c++){var l=n[c];r(e,l)||s(e,l,u(t,l))}}},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 c=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,c,!1,!0),s[c]=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),c=n(31320),l=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,E){i(n,t,p);var k,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",N=!1,O=e.prototype,A=O[d]||O["@@iterator"]||_&&O[_],P=!m&&A||T(_),L="Array"==t&&O.entries||A;if(L&&(k=o(L.call(new e)),h!==Object.prototype&&k.next&&(l||o(k)===h||(a?a(k,h):"function"!=typeof k[d]&&u(k,d,b)),s(k,C,!0,!0),l&&(f[C]=b))),_==g&&A&&A.name!==g&&(N=!0,P=function(){return A.call(this)}),l&&!E||O[d]===P||u(O,d,P),f[t]=P,_)if(x={values:T(g),keys:w?P:T(v),entries:T(y)},E)for(S in x)(m||N||!(S in O))&&c(O,S,x[S]);else r({target:t,proto:!0,forced:m||N},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,c=0;s.length>c;)u.call(e,a=s[c++])&&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),c=n(96114);e.exports=function(e,t){var n,l,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(l in t){if(f=t[l],d=e.noTargetGet?(p=i(n,l))&&p.value:n[l],!c(m?l:h+(v?".":"#")+l,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,l,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"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=!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&&!c||"split"===e&&!l){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,c,l,d){for(var f,p=u,h=0,m=!!l&&o(l,d,3);h<s;){if(h in n){if(f=m?m(n[h],h,t):n[h],c>0&&r(f))p=a(e,t,f,i(f.length),p,c-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,c=Object.isExtensible||function(){return!0},l=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(!c(e))return"F";if(!t)return"E";l(e)}return e[r].objectID},getWeakData:function(e,t){if(!a(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].weakData},onFreeze:function(e){return i&&d.REQUIRED&&c(e)&&!a(e,r)&&l(e),e}};n(3501)[r]=!0},29909:function(e,t,n){var r,i,o,a=n(68536),s=n(70111),u=n(95185),c=n(86656),l=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=l("state");d[g]=!0,r=function(e,t){return u(e,g,t),t},i=function(e){return c(e,g)?e[g]:{}},o=function(e){return c(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==c||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",c=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),c={};(e.exports=function(e,t,n,l,d){var f,p,h,m,v,g=a(t,n,l?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((l?g(r(v=e[h])[0],v[1]):g(e[h]))===c)return c;return}f=p.call(e)}for(;!(v=f.next()).done;)if(u(f,g,v.value,l)===c)return c}).BREAK=c},13383:function(e,t,n){"use strict";var r,i,o,a=n(79518),s=n(95185),u=n(86656),c=n(31913),l=n(5112)("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),c||u(r,l)||s(r,l,(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),c=r(e);return i<u?c*(i/u/a+1/o-1/o)*u*a:(n=(t=(1+a/o)*i)-(t-i))>s||n!=n?c*(1/0):c*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,c,l=n(17854),d=n(31236).f,f=n(84326),p=n(20261).set,h=n(20227),m=l.MutationObserver||l.WebKitMutationObserver,v=l.process,g=l.Promise,y="process"==f(v),b=d(l,"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?(c=g.resolve(void 0),a=function(){c.then(r)}):a=function(){p.call(l,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,c=1,l=i.f,d=o.f;u>c;)for(var f,p=s(arguments[c++]),h=l?r(p).concat(l(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"),c=function(){},l=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(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[u]=e):n=l(),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),c=n(64664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),c)try{return l(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,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~o(c,n)||c.push(n));return c}},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,c=0,l=[];u>c;)o.call(a,n=s[c++])&&l.push(t?[n,a[n]]:a[n]);return l}},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))},c=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,c,l=e.length,d=128,f=0,p=72;for(r=0;r<e.length;r++)(c=e[r])<128&&n.push(a(c));var h=n.length,m=h;for(h&&n.push("-");m<l;){var v=t;for(r=0;r<e.length;r++)(c=e[r])>=d&&c<v&&(v=c);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((c=e[r])<d&&++f>t)throw RangeError(i);if(c==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-_,E=36-_;n.push(a(s(_+w%E))),y=o(w/E)}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--"+c(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),c=u.get,l=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,c=!!s&&!!s.enumerable,f=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),l(n).source=d.join("string"==typeof t?t:"")),e!==r?(u?!f&&e[t]&&(c=!0):delete e[t],c?e[t]=n:i(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(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,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),c&&(t=u.lastIndex),r=a.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&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),c=s.length;return u<0||u>=c?n?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(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,c=String(o(e)),l=c.length,d=void 0===n?" ":String(n),f=r(t);return f<=l||""==d?c:(s=f-l,(u=i.call(d,Math.ceil(s/d.length))).length>s&&(u=u.slice(0,s)),a?u+c:c+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),c=n(60490),l=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 l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.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),c=n(79114),l=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),E=n(77550)(0),k=n(96340),x=n(3070),S=n(31236),T=n(29909),C=T.get,N=T.set,O=x.f,A=S.f,P=r.RangeError,L=s.ArrayBuffer,I=s.DataView,M=a.NATIVE_ARRAY_BUFFER_VIEWS,R=a.TYPED_ARRAY_TAG,D=a.TypedArray,j=a.TypedArrayPrototype,Z=a.aTypedArrayConstructor,B=a.isTypedArray,F="BYTES_PER_ELEMENT",U="Wrong length",q=function(e,t){for(var n=0,r=t.length,i=new(Z(e))(r);r>n;)i[n]=t[n++];return i},z=function(e,t){O(e,t,{get:function(){return C(this)[t]}})},H=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},V=function(e,t){return B(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},W=function(e,t){return V(e,t=h(t,!0))?c(2,e[t]):A(e,t)},Y=function(e,t,n){return!(V(e,t=h(t,!0))&&g(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?O(e,t,n):(e[t]=n.value,e)};M||(S.f=W,x.f=Y,z(j,"buffer"),z(j,"byteOffset"),z(j,"byteLength"),z(j,"length")),i({target:"Object",stat:!0,forced:!M},{getOwnPropertyDescriptor:W,defineProperty:Y}),e.exports=function(e,t,n,a){var s=e+(a?"Clamped":"")+"Array",c="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[c](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var i=C(e);a&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.view[h](n*t+i.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};M?o&&(v=n((function(e,n,r,i){return u(e,v,s),g(n)?H(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)?q(v,n):w.call(v,n):new m(f(n))})),b&&b(v,D),E(_(m),(function(e){e in v||l(v,e,m[e])})),v.prototype=x):(v=n((function(e,n,r,i){u(e,v,s);var o,a,c,l=0,h=0;if(g(n)){if(!H(n))return B(n)?q(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);c=a/t}else c=f(n),o=new L(a=c*t);for(N(e,{buffer:o,byteOffset:h,byteLength:a,length:c,view:new I(o)});l<c;)T(e,l++)})),b&&b(v,D),x=v.prototype=y(j)),x.constructor!==v&&l(x,"constructor",v),R&&l(x,R,s),S[s]=v,i({global:!0,forced:v!=m,sham:!M},S),F in v||l(v,F,t),F in x||l(x,F,t),k(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,c,l,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=[];!(l=d.next()).done;)f.push(l.value);for(m&&p>2&&(h=s(h,arguments[2],2)),n=i(f.length),c=new(u(this))(n),t=0;n>t;t++)c[t]=m?h(f[t],t):f[t];return c}},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,c=r.DataView,l=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!==l&&void 0===t)return l.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 c(this),h=new c(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),c=n(5112)("isConcatSpreadable"),l=9007199254740991,d="Maximum allowed index exceeded",f=!n(47293)((function(){var e=[];return e[c]=!1,e.concat()[0]!==e})),p=n(81194)("concat"),h=function(e){if(!i(e))return!1;var t=e[c];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,c,f=o(this),p=u(f,0),m=0;for(t=-1,r=arguments.length;t<r;t++)if(h(c=-1===t?f:arguments[t])){if(m+(i=a(c.length))>l)throw TypeError(d);for(n=0;n<i;n++,m++)n in c&&s(p,m,c[n])}else{if(m>=l)throw TypeError(d);s(p,m++,c)}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",c=a.set,l=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=l(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),c=n(5112)("species"),l=[].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[c])&&(n=void 0):n=void 0,n===Array||void 0===n))return l.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)})),c=o((function(){s.sort(null)})),l=n(36637)("sort"),d=u||!c||l;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),c=Math.max,l=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=l(c(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,c=0;s<u;)c<(n=r(arguments[s++]))?(a=a*(o=c/n)*o+1,c=n):a+=n>0?(o=n/c)*o:n;return c===1/0?1/0:c*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),c=n(47293),l=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,c,l=u(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=y?l.trim():p(l,3)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=l.slice(2)).length,s=0;s<a;s++)if((c=o.charCodeAt(s))<48||c>i)return NaN;return parseInt(o,r)}return+l};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?c((function(){v.valueOf.call(n)})):a(n)!=h)?s(new m(b(t)),n,w):b(t)},E=n(19781)?l(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(","),k=0;E.length>k;k++)o(m,_=E[k])&&!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],c=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=s(r/1e7)},l=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(c(0,n),a=p;a>=7;)c(1e7,0),a-=7;for(c(f(10,a,1),0),a=t-1;a>=23;)l(1<<23),a-=23;l(1<<a),c(1,1),l(2),m=d()}else c(0,n),c(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,c=i(r),l={},d=0;c.length>d;)void 0!==(n=u(r,t=c[d++]))&&s(l,t,n);return l}})},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),c=n(82109),l=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),E=n(12534),k=n(20227),x=n(5112)("species"),S=n(29909),T=n(96114),C=S.get,N=S.set,O=S.getterFor(a),A=u.Promise,P=u.TypeError,L=u.document,I=u.process,M=u.fetch,R=I&&I.versions,D=R&&R.v8||"",j=w.f,Z=j,B="process"==p(I),F=!!(L&&L.createEvent&&u.dispatchEvent),U="unhandledrejection",q=T(a,(function(){var e=A.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===k.indexOf("Chrome/66"))})),z=q||!m((function(e){A.all(e).catch((function(){}))})),H=function(e){var t;return!(!l(e)||"function"!=typeof(t=e.then))&&t},V=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,c=n.resolve,l=n.reject,d=n.domain;try{u?(o||(2===t.rejection&&K(e,t),t.rejection=1),!0===u?r=i:(d&&d.enter(),r=u(i),d&&(d.exit(),s=!0)),r===n.promise?l(P("Promise-chain cycle")):(a=H(r))?a.call(r,c,l):c(r)):l(i)}catch(e){d&&!s&&d.exit(),l(e)}};r.length>a;)s(r[a++]);t.reactions=[],t.notified=!1,n&&!t.rejection&&Y(e,t)}))}},W=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)},Y=function(e,t){g.call(u,(function(){var n,r=t.value;if(G(t)&&(n=E((function(){B?I.emit("unhandledRejection",r,e):W(U,e,r)})),t.rejection=B||G(t)?2:1,n.error))throw n.value}))},G=function(e){return 1!==e.rejection&&!e.parent},K=function(e,t){g.call(u,(function(){B?I.emit("rejectionHandled",e):W("rejectionhandled",e,t.value)}))},$=function(e,t,n,r){return function(i){e(t,n,i,r)}},X=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,V(e,t,!0))},J=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=H(n);i?y((function(){var r={done:!1};try{i.call(n,$(J,e,r,t),$(X,e,r,t))}catch(n){X(e,r,n,t)}})):(t.value=n,t.state=1,V(e,t,!1))}catch(n){X(e,{done:!1},n,t)}}};q&&(A=function(e){f(this,A,a),d(e),r.call(this);var t=C(this);try{e($(J,this,t),$(X,this,t))}catch(e){X(this,t,e)}},(r=function(e){N(this,{type:a,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=n(12248)(A.prototype,{then:function(e,t){var n=O(this),r=j(v(this,A));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=B?I.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&V(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=$(J,e,t),this.reject=$(X,e,t)},w.f=j=function(e){return e===A||e===o?new i(e):Z(e)},s||"function"!=typeof M||c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return b(A,M.apply(u,arguments))}})),c({global:!0,wrap:!0,forced:q},{Promise:A}),n(58003)(A,a,!1,!0),n(96340)(a),o=n(40857).Promise,c({target:a,stat:!0,forced:q},{reject:function(e){var t=j(this);return t.reject.call(void 0,e),t.promise}}),c({target:a,stat:!0,forced:s||q},{resolve:function(e){return b(s&&this===o?A:this,e)}}),c({target:a,stat:!0,forced:z},{all:function(e){var t=this,n=j(t),r=n.resolve,i=n.reject,o=E((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=j(t),r=n.reject,i=E((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),c=(n(17854).Reflect||{}).construct,l=s((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),d=!s((function(){c((function(){}))})),f=l||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&&!l)return c(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,c,l=arguments.length<3?t:arguments[2];return s(t)===l?t[n]:(u=r.f(t,n))?o(u,"value")?u.value:void 0===u.get?void 0:u.get.call(l):a(c=i(t))?e(c,n,l):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),c=n(70111);n(82109)({target:"Reflect",stat:!0},{set:function e(t,n,l){var d,f,p=arguments.length<4?t:arguments[3],h=i.f(u(t),n);if(!h){if(c(f=o(t)))return e(f,n,l,p);h=s(0)}if(a(h,"value")){if(!1===h.writable||!c(p))return!1;if(d=i.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=l,r.f(p,n,d)}else r.f(p,n,s(0,l));return!0}return void 0!==h.set&&(h.set.call(p,l),!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,c=n(8006).f,l=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=l(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=c(h),E=0;E<w.length;)_(w[E++]);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,c=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=u.name!=s;(c||l)&&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),c=void 0===n?u:s(r(n),u),l=String(e);return a?a.call(t,l,c):t.slice(c-l.length,c)===l}})},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),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;for(var d,f=[],p=0;null!==(d=s(u,c));){var h=String(d[0]);f[p]=h,""===h&&(u.lastIndex=a(c,i(u.lastIndex),l)),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),c=n(97651),l=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=c(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="",E=0,k=0;k<y.length;k++){b=y[k];for(var x=String(b[0]),S=l(d(a(b.index),p.length),0),T=[],C=1;C<b.length;C++)T.push(void 0===(_=b[C])?_:String(_));var N=b.groups;if(h){var O=[x].concat(T,S,p);void 0!==N&&O.push(N);var A=String(i.apply(void 0,O))}else A=m(x,p,S,T,N,i);S>=E&&(w+=p.slice(E,S)+A,E=S+x.length)}return w+p.slice(E)}];function m(e,n,r,o,a,s){var u=r+e.length,c=o.length,l=h;return void 0!==a&&(a=i(a),l=p),t.call(s,l,(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 l=+i;if(0===l)return t;if(l>c){var d=f(l/10);return 0===d?t:d<=c?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):t}s=o[l-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),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var l=a(s,u);return o(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.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),c=n(97651),l=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,c,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,v=new RegExp(e.source,p+"g");(s=l.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)),c=s[0].length,m=u,d.length>=a));)v.lastIndex===s.index&&v.lastIndex++;return m===i.length?!c&&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 l=i(e),f=String(this),v=a(l,RegExp),g=l.unicode,y=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(m?"y":"g"),b=new v(m?l:"^(?:"+l.source+")",y),_=void 0===r?h:r>>>0;if(0===_)return[];if(0===f.length)return null===c(b,f)?[f]:[];for(var w=0,E=0,k=[];E<f.length;){b.lastIndex=m?E:0;var x,S=c(b,m?f:f.slice(E));if(null===S||(x=p(u(b.lastIndex+(m?0:E)),f.length))===w)E=s(f,E,g);else{if(k.push(f.slice(w,E)),k.length===_)return k;for(var T=1;T<=S.length-1;T++)if(k.push(S[T]),k.length===_)return k;E=w=x}}return k.push(f.slice(w)),k}]}),!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 c={},l=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof l?new u(e):void 0===e?u():u(e);return""===e&&(c[t]=!0),t};s(l,u);var d=l.prototype=u.prototype;d.constructor=l;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(c,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:l})}},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),c=n(3501),l=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),E=n(57593),k=n(79114),x=n(70030),S=n(1156),T=n(31236),C=n(3070),N=n(55296),O=n(95185),A=n(81956),P=n(6200)("hidden"),L=n(29909),I="Symbol",M=L.set,R=L.getterFor(I),D=T.f,j=C.f,Z=S.f,B=r.Symbol,F=r.JSON,U=F&&F.stringify,q=h("toPrimitive"),z=N.f,H=d("symbol-registry"),V=d("symbols"),W=d("op-symbols"),Y=d("wks"),G=Object.prototype,K=r.QObject,$=n(30133),X=!K||!K.prototype||!K.prototype.findChild,J=o&&l((function(){return 7!=x(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=D(G,t);r&&delete G[t],j(e,t,n),r&&e!==G&&j(G,t,r)}:j,Q=function(e,t){var n=V[e]=x(B.prototype);return M(n,{type:I,tag:e,description:t}),o||(n.description=t),n},ee=$&&"symbol"==typeof B.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof B},te=function(e,t,n){return e===G&&te(W,t,n),b(e),t=E(t,!0),b(n),i(V,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:k(0,!1)})):(i(e,P)||j(e,P,k(1,{})),e[P][t]=!0),J(e,t,n)):j(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=z.call(this,e=E(e,!0));return!(this===G&&i(V,e)&&!i(W,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,P)&&this[P][e])||t)},ie=function(e,t){if(e=w(e),t=E(t,!0),e!==G||!i(V,t)||i(W,t)){var n=D(e,t);return!n||!i(V,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},oe=function(e){for(var t,n=Z(w(e)),r=[],o=0;n.length>o;)i(V,t=n[o++])||i(c,t)||r.push(t);return r},ae=function(e){for(var t,n=e===G,r=Z(n?W:w(e)),o=[],a=0;r.length>a;)!i(V,t=r[a++])||n&&!i(G,t)||o.push(V[t]);return o};$||(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===G&&n.call(W,e),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),J(this,t,k(1,e))};return o&&X&&J(G,t,{configurable:!0,set:n}),Q(t,e)},u(B.prototype,"toString",(function(){return R(this).tag})),N.f=re,C.f=te,T.f=ie,n(8006).f=S.f=oe,n(25181).f=ae,o&&(j(B.prototype,"description",{configurable:!0,get:function(){return R(this).description}}),a||u(G,"propertyIsEnumerable",re,{unsafe:!0})),m.f=function(e){return Q(h(e),e)}),s({global:!0,wrap:!0,forced:!$,sham:!$},{Symbol:B});for(var se=A(Y),ue=0;se.length>ue;)v(se[ue++]);s({target:I,stat:!0,forced:!$},{for:function(e){return i(H,e+="")?H[e]:H[e]=B(e)},keyFor:function(e){if(!ee(e))throw TypeError(e+" is not a symbol");for(var t in H)if(H[t]===e)return t},useSetter:function(){X=!0},useSimple:function(){X=!1}}),s({target:"Object",stat:!0,forced:!$,sham:!o},{create:function(e,t){return void 0===t?x(e):ne(x(e),t)},defineProperty:te,defineProperties:ne,getOwnPropertyDescriptor:ie}),s({target:"Object",stat:!0,forced:!$},{getOwnPropertyNames:oe,getOwnPropertySymbols:ae}),F&&s({target:"JSON",stat:!0,forced:!$||l((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[q]||O(B.prototype,q,B.prototype.valueOf),f(B,I),c[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,c=new(s(n))(u);u>i;)c[i]=t[i++];return c}))},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,c=r.entries,l=o.aTypedArray,d=o.exportProto,f=i&&i.prototype[a],p=!!f&&("values"==f.name||null==f.name),h=function(){return s.call(l(this))};d("entries",(function(){return c.call(l(this))})),d("keys",(function(){return u.call(l(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),c=0;if(u+t>n)throw RangeError("Wrong length");for(;c<u;)this[t+c]=a[c++]}),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,c=n.length,l=new(a(i))(c);c>u;)l[u]=n[u++];return l}),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,c=!!r&&i((function(){s.call(new r(1))})),l=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(c?u.call(a(this)):a(this),arguments)}),l)},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),c=n(29909).enforce,l=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(l&&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=c(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=c(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=c(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=c(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],c=u&&u.prototype;if(c&&c.forEach!==i)try{o(c,"forEach",i)}catch(e){c.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"),c=s("toStringTag"),l=i.values;for(var d in r){var f=o[d],p=f&&f.prototype;if(p){if(p[u]!==l)try{a(p,u,l)}catch(e){p[u]=l}if(p[c]||a(p,c,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),c=n(86656),l=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,E=Array(4),k=function(e){return E[e-1]||(E[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(k(n--),x);return t},T=/[!'()~]|%20/g,C={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(e){return C[e]},O=function(e){return encodeURIComponent(e).replace(T,N)},A=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,A(this.entries,e)},L=function(e,t){if(e<t)throw TypeError("Not enough arguments")},I=a((function(e,t){y(this,{type:g,iterator:p(b(e).entries),kind:t})}),"Iterator",(function(){var e=_(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),M=function(){u(this,M,v);var e,t,n,r,i,o,a,s=arguments.length>0?arguments[0]:void 0,l=this,m=[];if(y(l,{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)c(s,a)&&m.push({key:a,value:s[a]+""});else A(m,"string"==typeof s?"?"===s.charAt(0)?s.slice(1):s:s+"")},R=M.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=l(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 I(this,"keys")},values:function(){return new I(this,"values")},entries:function(){return new I(this,"entries")}},{enumerable:!0}),i(R,m,R.entries),i(R,"toString",(function(){for(var e,t=b(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(O(e.key)+"="+O(e.value));return n.join("&")}),{enumerable:!0}),n(58003)(M,v),n(82109)({global:!0,forced:!r},{URLSearchParams:M}),e.exports={URLSearchParams:M,getState:b}},60285:function(e,t,n){"use strict";n(78783);var r,i=n(19781),o=n(590),a=n(17854).URL,s=n(36048),u=n(31320),c=n(25787),l=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,E="Invalid scheme",k="Invalid host",x="Invalid port",S=/[a-zA-Z]/,T=/[a-zA-Z0-9+\-.]/,C=/\d/,N=/^(0x|0X)/,O=/^[0-7]+$/,A=/^\d+$/,P=/^[0-9A-Fa-f]+$/,L=/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/,I=/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/,M=/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,R=/\u0009|\u000A|\u000D/g,D=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return k;if(!(n=Z(t.slice(1,-1))))return k;e.host=n}else if(W(e)){if(t=h(t),L.test(t))return k;if(null===(n=j(t)))return k;e.host=n}else{if(I.test(t))return k;for(n="",r=f(t),i=0;i<r.length;i++)n+=H(r[i],F);e.host=n}},j=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=N.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?A: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},Z=function(e){var t,n,r,i,o,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,l=++c}for(;f();){if(8==c)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,c>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[c]=256*u[c]+i,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;u[c++]=t}else{if(null!==l)return;d++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)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}),q=d({},U,{"#":1,"?":1,"{":1,"}":1}),z=d({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(e,t){var n=p(e,0);return n>32&&n<127&&!l(t,e)?e:encodeURIComponent(e)},V={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},W=function(e){return l(V,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},G=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&S.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},$=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},X=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},J=function(e){return"."===e||"%2e"===e.toLowerCase()},Q={},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ue={},ce={},le={},de={},fe={},pe={},he={},me={},ve={},ge={},ye={},be={},_e=function(e,t,n,i){var o,a,s,u,c,d=n||Q,p=0,h="",m=!1,v=!1,g=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(M,"")),t=t.replace(R,""),o=f(t);p<=o.length;){switch(a=o[p],d){case Q:if(!a||!S.test(a)){if(n)return E;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 E;h="",d=te,p=0;continue}if(n&&(W(e)!=l(V,h)||"file"==h&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(W(e)&&V[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?d=fe:W(e)&&i&&i.scheme==e.scheme?d=ne:W(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 E;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&&W(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(!W(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 _=H(b,z);g?e.password+=_:e.username+=_}else g=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(m&&""==h)return"Invalid authority";p-=f(h).length+1,h="",d=ce}else h+=a;break;case ce:case le:if(n&&"file"==e.scheme){d=he;continue}if(":"!=a||v){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)){if(W(e)&&""==h)return k;if(n&&""==h&&(Y(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 k;if(u=D(e,h))return u;if(h="",d=de,n==le)return}break;case de:if(!C.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&W(e)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return x;e.port=W(e)&&w===V[e.scheme]?null:w,h=""}if(n)return;d=me;continue}return x}h+=a;break;case fe:if(e.scheme="file","/"==a||"\\"==a)d=pe;else{if(!i||"file"!=i.scheme){d=ve;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",d=ye;else{if("#"!=a){$(o.slice(p).join(""))||(e.host=i.host,e.path=i.path.slice(),X(e)),d=ve;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",d=be}}break;case pe:if("/"==a||"\\"==a){d=he;break}i&&"file"==i.scheme&&!$(o.slice(p).join(""))&&(K(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&&K(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(W(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&&W(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(X(e),"/"==a||"\\"==a&&W(e)||e.path.push("")):J(h)?"/"==a||"\\"==a&&W(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(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+=H(a,q);break;case ge:"?"==a?(e.query="",d=ye):"#"==a?(e.fragment="",d=be):a!=r&&(e.path[0]+=H(a,F));break;case ye:n||"#"!=a?a!=r&&("'"==a&&W(e)?e.query+="%27":e.query+="#"==a?"%23":H(a,F)):(e.fragment="",d=be);break;case be:a!=r&&(e.fragment+=H(a,U))}p++}},we=function(e){var t,n,r=c(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,l=g(u);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(u)||null},i||(r.href=ke.call(r),r.origin=xe.call(r),r.protocol=Se.call(r),r.username=Te.call(r),r.password=Ce.call(r),r.host=Ne.call(r),r.hostname=Oe.call(r),r.port=Ae.call(r),r.pathname=Pe.call(r),r.search=Le.call(r),r.searchParams=Ie.call(r),r.hash=Me.call(r))},Ee=we.prototype,ke=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,c=t+":";return null!==i?(c+="//",Y(e)&&(c+=n+(r?":"+r:"")+"@"),c+=B(i),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},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&&W(e)?t+"://"+B(e.host)+(null!==n?":"+n:""):"null"},Se=function(){return _(this).scheme+":"},Te=function(){return _(this).username},Ce=function(){return _(this).password},Ne=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)},Ae=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:""},Ie=function(){return _(this).searchParams},Me=function(){var e=_(this).fragment;return e?"#"+e:""},Re=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(Ee,{href:Re(ke,(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)+":",Q)})),username:Re(Te,(function(e){var t=_(this),n=f(String(e));if(!G(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=H(n[r],z)}})),password:Re(Ce,(function(e){var t=_(this),n=f(String(e));if(!G(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=H(n[r],z)}})),host:Re(Ne,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),ce)})),hostname:Re(Oe,(function(e){var t=_(this);t.cannotBeABaseURL||_e(t,String(e),le)})),port:Re(Ae,(function(e){var t=_(this);G(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(Ie),hash:Re(Me,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",_e(t,e,be)):t.fragment=null}))}),u(Ee,"toJSON",(function(){return ke.call(this)}),{enumerable:!0}),u(Ee,"toString",(function(){return ke.call(this)}),{enumerable:!0}),a){var De=a.createObjectURL,je=a.revokeObjectURL;De&&u(we,"createObjectURL",(function(e){return De.apply(a,arguments)})),je&&u(we,"revokeObjectURL",(function(e){return je.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)}})},49420: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),c=n(37356),l=n(36352),d=n(49439),f=function(){return p(!1)};function p(e){var t,n=l(e)?f().valueOf():e;if(!arguments.length||c(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),c=n(89064),l=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)),c=h(u)?u:d;return l((function(){return a((c(),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,c(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(c(e,t),c(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),l((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)})),l((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(c(r,e),c(n,t))}))},race:function(e){if(!g(b,e))throw new TypeError("Async.race: Async required");return b((function(t,n){var r=l((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(c(r,e),c(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=l(t);function f(){!s&&o&&a&&c(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)),l((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),c=n(37356),l=n(49439),d=function(e){return f((function(){return e}))};function f(e){var t;if(!c(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(!c(n))throw new TypeError("IO."+t+": Function required");return f(u(n,e))}}function h(t){return function(n){if(!c(n))throw new TypeError("IO."+t+": Function required");return f((function(){var r=n(e());if(!l(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(!l(f,t))throw new TypeError("IO.ap: IO required");return f((function(){var n=e();if(!c(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"),c=n(15408).typeFn(u(),4),l=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,E=_.Just;T.Nothing=f(T,w),T.Just=f(T,E);var k=f(T,E),x=f(T,w);function S(e){if(!h(e)&&!m(e))throw new TypeError("Maybe.sequence: Must wrap an Apply");return e.map(k)}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:E(e),r=k,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)}))}))},N=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 A(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 I(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");return O(T.Nothing,f(T.Just,t))}}function M(e){return function(t){if(!g(T,t))throw new TypeError("Maybe."+e+": Maybe required");return O(y(t),T.Just)}}function R(e){var t=w(y(void 0));if(!v(t))throw new TypeError("Maybe.ap: Wrapped value must be a function");if(!g(T,e))throw new TypeError("Maybe.ap: Maybe required");return O(T.Nothing,e.map)}function D(e){return function(t){if(!v(t))throw new TypeError("Maybe."+e+": Function required");var n=O(T.Nothing,t);if(!g(T,n))throw new TypeError("Maybe."+e+": Function must return a Maybe");return n}}function j(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 Z(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(k)))}return(t={inspect:N,toString:N,either:O,option:w,type:u,equals:C,bichain:L,coalesce:P,zero:o,ap:R,of:r,sequence:j,traverse:Z,alt:M("alt"),chain:D("chain"),concat:A("concat"),map:I("map")})[l.zero]=o,t[l.of]=r,t[l.equals]=C,t[l.alt]=M(l.alt),t[l.concat]=A(l.concat),t[l.map]=I(l.map),t[l.chain]=D(l.chain),t["@@type"]=c,t.constructor=T,t}T.of=k,T.zero=x,T.type=u,T[l.of]=k,T[l.zero]=x,T["@@type"]=c,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),c=n(38142),l=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 E(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 k(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(!c(n)&&!f(n))throw new TypeError("Pair.sequence: Applicative TypeRep or Apply returning function required");if(!l(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 N(n,r){if(!c(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(!l(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:E,ap:S,sequence:C,traverse:N,concat:w("concat"),map:k("map"),bimap:x("bimap"),chain:T("chain"),extend:O("extend")})[u.equals]=_,n[u.concat]=w(u.concat),n[u.map]=k(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),c=n(37356),l=n(49439),d=function(){return f((function(){return!0}))};function f(e){var t;if(!c(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(!l(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(!c(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),c=n(68534),l=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=c(e);return t.reduceRight(f("sequence",l),n([]))},set:function(e,t,n){var r=n.slice();return r[e]=t,r},traverse:function(e,t,n){var r=c(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),c=function(e){return function(){return e}};function l(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:c(n[r])},e}),{tag:c(t)})}}(r,n),t}),{caseOf:r(l(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()},c={Array:function(e,t){return e.length===t.length&&l(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&&l(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 l(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):(c[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 c(e){return e&&i(e.inspect)?" "+e.inspect():i(e)?" Function":r(e)?" ["+(((t=e).length?t.map(c).reduce((function(e,t){return e+","+t})):t)+" ]"):o(e)?" { "+Object.keys(e).reduce((function(t,n){return t.concat([n+":"+c(e[n])])}),[]).join(", ")+" }":a(e)?' "'+e+'"':s(e)||u(e)?" "+e.toString():" "+e;var t}e.exports=c},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),c=n(50694);function l(e){return r((function(t,n,r){if(a(r)){if(s(t))return c.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=l("setProp");d.origFn=l,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),c=n(42319),l=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 c.map(e,t);if(t&&u(t))return(t[d.map]||t.map).call(t,e);if(a(t))return l.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)},58255:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(11132);function i(e,t){e.classList?e.classList.add(t):(0,r.Z)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}},11132:function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:function(){return r}})},74277:function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function i(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}n.d(t,{Z:function(){return i}})},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+=l(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},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function l(e,t){"foreign"===t.xmlMode&&(e.name=o.elementNames[e.name]||e.name,e.parent&&c.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=l(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 c=function(e,t){return e<t?1:-1};function l(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(c),t=Object.keys(i.default).sort(c),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=l(i.default);function u(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,u)}}()},66312:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(39451));t.default=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i.default&&(e=i.default[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}},35278:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=u(r(n(94204)).default),o=c(i);t.encodeXML=h(i,o);var a=u(r(n(91363)).default),s=c(a);function u(e){return Object.keys(e).sort().reduce((function(t,n){return t[e[n]]="&"+n+";",t}),{})}function c(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 l=/[^\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(l,f)}}var m=c(i);t.escape=function(e){return e.replace(m,f).replace(d,p).replace(l,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,c,l,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:(c=(u=p[f-1]).children,l=p[f],d=h[f],c.indexOf(l)>c.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"�";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,c=o.XDomainRequest,l=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 l("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 E(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 k(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[k(o)]=a}this._map=t}function S(){}function T(e){this._headers=e}function C(){}function N(){this._listeners=Object.create(null)}function O(e){a((function(){throw e}),0)}function A(e){this.type=e,this.target=void 0}function P(e,t){A.call(this,e),this.data=t.data,this.lastEventId=t.lastEventId}function L(e,t){A.call(this,e),this.status=t.status,this.statusText=t.statusText,this.headers=t.headers}function I(e,t){A.call(this,e),this.error=t.error}E.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 c=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())}},l=function(){if(c(),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}),l(),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&&l()};"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=l),"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||l():2===r.readyState&&c())}(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))},E.prototype.abort=function(){this._abort(!1)},E.prototype.getResponseHeader=function(e){return this._contentType},E.prototype.setRequestHeader=function(e,t){var n=this._xhr;"setRequestHeader"in n&&n.setRequestHeader(e,t)},E.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},E.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[k(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 c 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,c)&&e.setRequestHeader(c,a[c]);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,c=u.signal,l=new v;return h(i,{headers:a,credentials:o?"include":"same-origin",signal:c,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=l.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()}}},N.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)}}},N.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)},N.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(A.prototype),L.prototype=Object.create(A.prototype),I.prototype=Object.create(A.prototype);var M=-1,R=-1,D=/^text\/event\-stream;?(\s*charset\=utf\-8)?$/i,j=function(e,t){var n=null==e?t:parseInt(e,10);return n!=n&&(n=t),Z(n)},Z=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){N.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=Z(1e3),o=j(n.heartbeatTimeout,45e3),l="",d=i,f=!1,p=0,h=n.headers||{},m=n.Transport,v=U&&null==m?void 0:new E(null!=m?new m:null!=u&&"withCredentials"in u.prototype||null==c?new u:new c),g=null!=m&&"string"!=typeof m?new m:null==v?new C:new S,y=void 0,b=0,_=M,w="",k="",x="",T="",N=0,O=0,A=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.",H();a=new L("error",{status:t,statusText:n,headers:o});e.dispatchEvent(a),B(e,e.onerror,a),console.error(s)}},q=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 c=0;c<u.length;c+=1){var h=u.charCodeAt(c);if(N===R&&h==="\n".charCodeAt(0))N=0;else if(N===R&&(N=0),h==="\r".charCodeAt(0)||h==="\n".charCodeAt(0)){if(0!==N){1===N&&(A=c+1);var m=u.slice(O,A-1),v=u.slice(A+(A<c&&u.charCodeAt(A)===" ".charCodeAt(0)?1:0),c);"data"===m?(w+="\n",w+=v):"id"===m?k=v:"event"===m?x=v:"retry"===m?(i=j(v,i),d=i):"heartbeatTimeout"===m&&(o=j(v,o),0!==b&&(s(b),b=a((function(){V()}),o)))}if(0===N){if(""!==w){l=k,""===x&&(x="message");var g=new P(x,{data:w.slice(1),lastEventId:k});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=""}N=h==="\r".charCodeAt(0)?R:0}else 0===N&&(O=c,N=1),1===N?h===":".charCodeAt(0)&&(A=c+1,N=2):2===N&&(N=3)}}},z=function(t){if(1===_||0===_){_=M,0!==b&&(s(b),b=0),b=a((function(){V()}),d),d=Z(Math.min(16*i,2*d)),e.readyState=0;var n=new I("error",{error:t});e.dispatchEvent(n),B(e,e.onerror,n)}},H=function(){_=2,null!=y&&(y.abort(),y=void 0),0!==b&&(s(b),b=0),e.readyState=2},V=function(){if(b=0,_===M){f=!1,p=0,b=a((function(){V()}),o),_=0,w="",x="",k=l,T="",O=0,A=0,N=0;var n=t;"data:"!==t.slice(0,5)&&"blob:"!==t.slice(0,5)&&""!==l&&(n+=(-1===t.indexOf("?")?"?":"&")+"lastEventId="+encodeURIComponent(l));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,q,z,n,r,i)}catch(e){throw H(),e}}else f||null==y?(f=!1,b=a((function(){V()}),o)):(z(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=H,V()}(this,e,t)}var U=null!=h&&null!=m&&"body"in m.prototype;F.prototype=Object.create(N.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 q=d;null==u||null!=d&&"withCredentials"in d.prototype||(q=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=q}))}("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,c,l=this._events[s],d=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),d){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,a),!0}for(c=1,u=new Array(d-1);c<d;c++)u[c-1]=arguments[c];l.fn.apply(l.context,u)}else{var f,p=l.length;for(c=0;c<p;c++)switch(l[c].once&&this.removeListener(e,l[c].fn,void 0,!0),d){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,t);break;case 3:l[c].fn.call(l[c].context,t,r);break;case 4:l[c].fn.call(l[c].context,t,r,i);break;default:if(!u)for(f=1,u=new Array(d-1);f<d;f++)u[f-1]=arguments[f];l[c].fn.apply(l[c].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,c=[],l=s.length;u<l;u++)(s[u].fn!==t||i&&!s[u].once||r&&s[u].context!==r)&&c.push(s[u]);c.length?this._events[o]=1===c.length?c[0]:c: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 c(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 c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,function(e){console&&console.warn&&console.warn(e)}(c)}return e}function l(){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=l.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 c=u.length,l=h(u,c);for(n=0;n<c;++n)r(l[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(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 c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).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,c=void 0,l=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 c=!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,l=u>2?1e3:1024,(p=(h=Number(e))<0)&&(h=-h),(-1===s||isNaN(s))&&(s=Math.floor(Math.log(h)/Math.log(l)))<0&&(s=0),s>8&&(s=8),0===h?(o[0]=0,o[1]=g?"":r[b][c?"bits":"bytes"][s]):(a=h/(2===u?Math.pow(2,10*s):Math.pow(1e3,s)),c&&(a*=8)>=l&&s<8&&(a/=l,s++),o[0]=Number(a.toFixed(s>0?v:0)),o[1]=10===u&&1===s?c?"kb":"kB":r[b][c?"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]+(c?"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,c=null,l=null;function d(){return null===l&&(l=!!document.fonts),l}function f(){if(null===c){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}c=""!==e.style.font}return c}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",c=0,l=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>=l?t(Error(l+"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){c=setTimeout((function(){t(Error(l+"ms timeout exceeded"))}),l)}));Promise.race([m,h]).then((function(){clearTimeout(c),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&&(E.parentNode&&E.parentNode.removeChild(E),clearTimeout(c),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,E=document.createElement("div");E.dir="ltr",r(d,p(i,"sans-serif")),r(h,p(i,"serif")),r(m,p(i,"monospace")),E.appendChild(d.a),E.appendChild(h.a),E.appendChild(m.a),document.body.appendChild(E),b=d.a.offsetWidth,_=h.a.offsetWidth,w=m.a.offsetWidth,function e(){if((new Date).getTime()-f>=l)E.parentNode&&E.parentNode.removeChild(E),t(Error(l+"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()),c=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 c=Object.defineProperty,l=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=l(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{c(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 c(e,t,n){return o.getText(o.getElementsByTagName(e,t,n,1)).trim()}function l(e,t,n,r,i){var o=c(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",l(n,"id","id",t),l(n,"title","title",t),(e=u("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),l(n,"description","subtitle",t),(e=c("updated",t))&&(n.updated=new Date(e)),l(n,"author","email",t,!0),n.items=s("entry",t).map((function(e){var t,n={};return l(n,"id","id",e=e.children),l(n,"title","title",e),(t=u("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=c("summary",e)||c("content",e))&&(n.description=t),(t=c("updated",e))&&(n.pubDate=new Date(t)),n}))):(t=u("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",l(n,"title","title",t),l(n,"link","link",t),l(n,"description","description",t),(e=c("lastBuildDate",t))&&(n.updated=new Date(e)),l(n,"author","managingEditor",t,!0),n.items=s("item",r.children).map((function(e){var t,n={};return l(n,"id","guid",e=e.children),l(n,"title","title",e),l(n,"link","link",e),l(n,"description","description",e),(t=c("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),c=0,l=c++,d=c++,f=c++,p=c++,h=c++,m=c++,v=c++,g=c++,y=c++,b=c++,_=c++,w=c++,E=c++,k=c++,x=c++,S=c++,T=c++,C=c++,N=c++,O=c++,A=c++,P=c++,L=c++,I=c++,M=c++,R=c++,D=c++,j=c++,Z=c++,B=c++,F=c++,U=c++,q=c++,z=c++,H=c++,V=c++,W=c++,Y=c++,G=c++,K=c++,$=c++,X=c++,J=c++,Q=c++,ee=c++,te=c++,ne=c++,re=c++,ie=c++,oe=c++,ae=c++,se=c++,ue=c++,ce=c++,le=c++,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=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,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=l,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=l:"!"===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=l:this._special!==fe?"s"===e||"S"===e?this._state=U:(this._state=l,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=l,this._sectionStart=this._index+1)},ye.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,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=l,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=E,this._sectionStart=this._index+1):me(e)||(this._state=k,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=l,this._sectionStart=this._index+1)},ye.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},ye.prototype._stateBeforeComment=function(e){"-"===e?(this._state=N,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?A:N},ye.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=N)},ye.prototype._stateBeforeCdata1=ve("C",L,S),ye.prototype._stateBeforeCdata2=ve("D",I,S),ye.prototype._stateBeforeCdata3=ve("A",M,S),ye.prototype._stateBeforeCdata4=ve("T",R,S),ye.prototype._stateBeforeCdata5=ve("A",D,S),ye.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=j,this._sectionStart=this._index+1):(this._state=S,this._index--)},ye.prototype._stateInCdata=function(e){"]"===e&&(this._state=Z)},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=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=j)},ye.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=q:"t"===e||"T"===e?this._state=J:(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=l:this._state=ne:this._state=Y},ye.prototype._stateBeforeScript1=ge("R",z),ye.prototype._stateBeforeScript2=ge("I",H),ye.prototype._stateBeforeScript3=ge("P",V),ye.prototype._stateBeforeScript4=ge("T",W),ye.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||me(e))&&(this._special=pe),this._state=f,this._index--},ye.prototype._stateAfterScript1=ve("R",G,l),ye.prototype._stateAfterScript2=ve("I",K,l),ye.prototype._stateAfterScript3=ve("P",$,l),ye.prototype._stateAfterScript4=ve("T",X,l),ye.prototype._stateAfterScript5=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-6,this._index--):this._state=l},ye.prototype._stateBeforeStyle1=ge("Y",Q),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,l),ye.prototype._stateAfterStyle2=ve("L",ie,l),ye.prototype._stateAfterStyle3=ve("E",oe,l),ye.prototype._stateAfterStyle4=function(e){">"===e||me(e)?(this._special=fe,this._state=m,this._sectionStart=this._index-5,this._index--):this._state=l},ye.prototype._stateBeforeEntity=ve("#",se,ue),ye.prototype._stateBeforeNumericEntity=ve("X",le,ce),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!==l?"="!==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===l?(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===l?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===E?this._stateInAttributeValueSingleQuotes(e):this._state===k?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===N?this._stateInComment(e):this._state===O?this._stateAfterComment1(e):this._state===A?this._stateAfterComment2(e):this._state===P?this._stateBeforeCdata1(e):this._state===L?this._stateBeforeCdata2(e):this._state===I?this._stateBeforeCdata3(e):this._state===M?this._stateBeforeCdata4(e):this._state===R?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===j?this._stateInCdata(e):this._state===Z?this._stateAfterCdata1(e):this._state===B?this._stateAfterCdata2(e):this._state===F?this._stateBeforeSpecial(e):this._state===U?this._stateBeforeSpecialEnd(e):this._state===q?this._stateBeforeScript1(e):this._state===z?this._stateBeforeScript2(e):this._state===H?this._stateBeforeScript3(e):this._state===V?this._stateBeforeScript4(e):this._state===W?this._stateBeforeScript5(e):this._state===Y?this._stateAfterScript1(e):this._state===G?this._stateAfterScript2(e):this._state===K?this._stateAfterScript3(e):this._state===$?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===J?this._stateBeforeStyle1(e):this._state===Q?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===ce?this._stateInNumericEntity(e):this._state===le?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===j||this._state===Z||this._state===B?this._cbs.oncdata(e):this._state===N||this._state===O||this._state===A?this._cbs.oncomment(e):this._state!==ue||this._xmlMode?this._state!==ce||this._xmlMode?this._state!==le||this._xmlMode?this._state!==f&&this._state!==g&&this._state!==_&&this._state!==b&&this._state!==y&&this._state!==E&&this._state!==w&&this._state!==k&&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!==l?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,c=u>>1,l=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-l)-1,p>>=-l,l+=s;l>0;o=256*o+e[t+d],d+=f,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+e[t+d],d+=f,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,c=8*o-i-1,l=(1<<c)-1,d=l>>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=l):(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>=l?(s=0,a=l):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,c+=i;c>0;e[n+p]=255&a,p+=h,a/=256,c-=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 c=e.touches?e.touches[0].screenY:e.screenY,l=n<=c&&0===t.scrollTop,d=n>=c&&t.scrollHeight-t.scrollTop===a;return void((l||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 c={enable:a,disable:function(){window.removeEventListener("touchstart",o,!1),window.removeEventListener("touchmove",i,!1),r=!1},isEnabled:function(){return r}};e.exports&&(e.exports=c),"function"==typeof t.define?(0,t.define)("iNoBounce",[],(function(){return c})):t.iNoBounce=c}(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 c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return i(n||e)}),c,c.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,c,l,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,l,u),v="start"===c,g="end"===c,y=v?t.startCoords:t.curCoords,b=t.prevEvent;l=l||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=l,this.currentTarget=l,this.relatedTarget=d||null,this.preEnd=f,this.type=u+(c||""),this.interaction=t,this.interactable=p,this.t0=v?t.downTimes[t.downTimes.length-1]:b.t0;var E={interaction:t,event:n,action:u,phase:c,element:l,related:d,page:_,client:w,coords:y,starting:v,ending:g,deltaSource:h,iEvent:this};s.fire("set-xy",E),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",E),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"===c?this.getSwipe():null,s.fire("new",E)}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"),c=e("./scope"),l=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;c.interactables=[];var w=function(){function e(t,n){r(this,e),n=n||{},this.target=t,this.events=new l,this._context=n.context||c.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}),c.addDocument(this._doc,this._win),c.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 c=e.settingsMethods[s];this.options[c]=d.base[c],c in t&&this[c](t[c])}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}),c.interactables.splice(c.interactables.indexOf(this),1);for(var n=0;n<(c.interactions||[]).length;n++){var r=(c.interactions||[])[n];r.target===this&&r.interacting()&&!r._ending&&r.stop()}return c.interact},e}();c.interactables.indexOfElement=function(e,t){t=t||c.document;for(var n=0;n<this.length;n++){var r=this[n];if(r.target===e&&r._context===t)return n}return-1},c.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},c.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=c.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"),c=e("./utils/interactionFinder"),l=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,l.fire("new",this),i.interactions.push(this)}return e.prototype.pointerDown=function(e,t,n){var r=this.updatePointer(e,t,!0);l.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,l.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),l.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||{}),l.fire("before-action-move",e),this._dontFireMove||l.fire("action-move",e),this._dontFireMove=!1},e.prototype.pointerUp=function(e,t,n,r){var i=this.getPointerIndex(e);l.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()&&l.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(){l.fire("stop",{interaction:this}),this._interacting&&(l.fire("stop-active",{interaction:this}),l.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&&l.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&&(l.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],l=[];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=c.search(f,t.type,a);l.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=c.search(t,t.type,a);y||(y=new h({pointerType:n})),l.push([t,y])}}for(var b=0;b<l.length;b++){var _=l[b],w=_[0],E=_[1];E._updateEventTargets(a,u),E[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),l.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,l.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=l,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"),c={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=c,r.names.push("drag"),i.merge(a.eventTypes,["dragstart","dragmove","draginertiastart","draginertiaresume","dragend"]),r.methodDict.drag="draggable",u.drag=c.defaults,t.exports=c},{"../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"),c=e("../Interaction"),l=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 c=i.is.string(s.target)?s._context.querySelectorAll(s.target):[s.target],l=0;l<c.length;l++){var d=c[l];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],c=r.activeDrops.rects[a];o.push(s.dropCheck(e,t,r.target,n,u,c)?u:null)}var l=i.indexOfDeepestElement(o);return{dropzone:r.activeDrops.dropzones[l]||null,element:r.activeDrops.elements[l]||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}c.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)}})),c.signals.on("action-move",(function(e){var t=e.interaction;"drag"===t.prepared.name&&y(t,t.dropEvents)})),c.signals.on("action-end",(function(e){var t=e.interaction;"drag"===t.prepared.name&&y(t,t.dropEvents)})),c.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 c=i.getOriginXY(n,r,"drag"),l=i.getPageXY(e);l.x+=c.x,l.y+=c.y;var d=l.x>a.left&&l.x<a.right,f=l.y>a.top&&l.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"),c.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:[]}})),c.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",l.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"),c={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,c=e.deltaSource;if("gesture"===r){var l=t.pointers;n.touches=[l[0],l[1]],s?(n.distance=i.touchDistance(l,c),n.box=i.touchBBox(l),n.scale=1,n.ds=0,n.angle=i.touchAngle(l,void 0,c),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(l,c),n.box=i.touchBBox(l),n.scale=n.distance/t.gesture.startDistance,n.angle=i.touchAngle(l,t.gesture.prevAngle,c),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=c,r.names.push("gesture"),i.merge(a.eventTypes,["gesturestart","gesturemove","gestureend"]),r.methodDict.gesture="gesturable",u.gesture=c.defaults,t.exports=c},{"../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"),c=e("../defaultOptions"),l=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 c=u.resize,d={left:!1,right:!1,top:!1,bottom:!1};if(i.is.object(c.edges)){for(var p in d)d[p]=f(p,c.edges[p],s,o._eventTarget,r,a,c.margin||l);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-l,m="x"!==u.resize.axis&&s.y>a.bottom-l;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,c=i.is.number(a.height)?a.height:a.bottom-a.top;if(u<0&&("left"===e?e="right":"right"===e&&(e="left")),c<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<(c>=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>(c>=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,c=r.resizeRects.start,l=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&&(l.top+=v),u.bottom&&(l.bottom+=v),u.left&&(l.left+=m),u.right&&(l.right+=m),s){if(i.extend(d,l),"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(l.top,c.bottom),d.bottom=Math.max(l.bottom,c.top),d.left=Math.min(l.left,c.right),d.right=Math.max(l.right,c.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=c.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",c.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"),c={defaults:{enabled:!1,container:null,margin:60,speed:300},interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,start:function(e){c.isScrolling=!0,r.cancel(c.i),c.interaction=e,c.prevTime=(new Date).getTime(),c.i=r.request(c.scroll)},stop:function(){c.isScrolling=!1,r.cancel(c.i)},scroll:function(){var e=c.interaction.target.options[c.interaction.prepared.name].autoScroll,t=e.container||i(c.interaction.element),n=(new Date).getTime(),a=(n-c.prevTime)/1e3,s=e.speed*a;s>=1&&(o.window(t)?t.scrollBy(c.x*s,c.y*s):t&&(t.scrollLeft+=c.x*s,t.scrollTop+=c.y*s),c.prevTime=n),c.isScrolling&&(r.cancel(c.i),c.i=r.request(c.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()&&c.check(t.target,t.prepared.name))if(t.simulation)c.x=c.y=0;else{var r=void 0,s=void 0,u=void 0,l=void 0,d=t.target.options[t.prepared.name].autoScroll,f=d.container||i(t.element);if(o.window(f))l=n.clientX<c.margin,r=n.clientY<c.margin,s=n.clientX>f.innerWidth-c.margin,u=n.clientY>f.innerHeight-c.margin;else{var p=a.getElementClientRect(f);l=n.clientX<p.left+c.margin,r=n.clientY<p.top+c.margin,s=n.clientX>p.right-c.margin,u=n.clientY>p.bottom-c.margin}c.x=s?1:l?-1:0,c.y=u?1:r?-1:0,c.isScrolling||(c.margin=d.margin,c.speed=d.speed,c.start(t))}}};s.signals.on("stop-active",(function(){c.stop()})),s.signals.on("action-move",c.onInteractionMove),u.perAction.autoScroll=c.defaults,t.exports=c},{"./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 c=i.names[u];if((!n.pointerIsDown||!/mouse|pointer/.test(n.pointerType)||0!=(a&this.options[c].mouseButtons))&&(s=i[c].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"),c=e("../utils"),l=e("../utils/Signals").new();e("./InteractableMethods");var d={signals:l,withinInteractionLimit:v,maxInteractions:1/0,defaults:{perAction:{manualStart:!1,max:1/0,maxPerElement:1,allowFrom:null,ignoreFrom:null,mouseButtons:1}},setActionDefaults:function(e){c.extend(e.defaults,d.defaults.perAction)},validateAction:f};function f(e,t,n,r){return c.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],c=i[a],l=f(u.getAction(t,n,e,c),u,c,o);if(l)return{action:l,target:u,element:c}}return{}}function h(e,t,n,r){var i=[],o=[],a=r;function s(e){i.push(e),o.push(a)}for(;c.is.element(a);){i=[],o=[],u.interactables.forEachMatch(a,s);var l=p(e,t,n,i,o,r);if(l.action&&!l.target.options[l.action.name].manualStart)return l;a=c.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,c.copyAction(e.prepared,n),r&&r.options.styleCursor){var o=n?a[n.name].getCursor(n):"";e.target._doc.documentElement.style.cursor=o}l.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,c=0;if(i&&o&&d.maxInteractions){for(var l=0;l<u.interactions.length;l++){var f=u.interactions[l],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&&(c++,p!==n.name||c>=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){l.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 c.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,c.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,c=e.dy;if("drag"===t.prepared.name){var l=Math.abs(u),d=Math.abs(c),f=t.target.options.drag,p=f.startAxis,h=l>d?"x":l<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 c(){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 l(){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 c.apply(e)},e.boundSmoothEndFrame=function(){return l.apply(e)}})),i.signals.on("down",(function(e){var t=e.interaction,n=e.event,u=e.pointer,c=e.eventTarget,l=t.inertiaStatus;if(l.active)for(var d=c;a.is.element(d);){if(d===t.element){s.cancel(l.i),l.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 c=t.target,l=c&&c.options,d=l&&t.prepared.name&&l[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,c.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"),c={};function l(e,t){var n=a.interactables.get(e,t);return n||((n=new s(e,t)).events.global=c),n}l.isSet=function(e,t){return-1!==a.interactables.indexOfElement(e,t&&t.context)},l.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];l.on(u,t,n)}return l}if(o.is.object(e)){for(var d in e)l.on(d,e[d],t);return l}return o.contains(s.eventTypes,e)?c[e]?c[e].push(t):c[e]=[t]:i.add(a.document,e,t,{options:n}),l},l.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];l.off(u,t,n)}return l}if(o.is.object(e)){for(var d in e)l.off(d,e[d],t);return l}if(o.contains(s.eventTypes,e)){var f=void 0;e in c&&-1!==(f=c[e].indexOf(t))&&c[e].splice(f,1)}else i.remove(a.document,e,t,n);return l},l.debug=function(){return a},l.getPointerAverage=o.pointerAverage,l.getTouchBBox=o.touchBBox,l.getTouchDistance=o.touchDistance,l.getTouchAngle=o.touchAngle,l.getElementRect=o.getElementRect,l.getElementClientRect=o.getElementClientRect,l.matchesSelector=o.matchesSelector,l.closest=o.closest,l.supportsTouch=function(){return r.supportsTouch},l.supportsPointerEvent=function(){return r.supportsPointerEvent},l.stop=function(e){for(var t=a.interactions.length-1;t>=0;t--)a.interactions[t].stop(e);return l},l.pointerMoveTolerance=function(e){return o.is.number(e)?(u.pointerMoveTolerance=e,l):u.pointerMoveTolerance},l.addDocument=a.addDocument,l.removeDocument=a.removeDocument,a.interact=l,t.exports=l},{"./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"),c=e("./utils/domUtils"),l=c.nodeContains,d=c.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||l(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 c=a.names[u];e.options=r.options[t.prepared.name][c],e.options&&(t.modifierOffsets[c]=a[c].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 c=0;c<a.names.length;c++){var l=a.names[c],d=a[l],f=t.target.options[t.prepared.name][l];s(f,r,i)&&(e.status=e.status=n[l],e.options=f,e.offset=e.interaction.modifierOffsets[l],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 c=u,l=a.x,d=a.y,f=n.modifierOffsets.restrict;"x"in u&&"y"in u?(l=Math.max(Math.min(c.x+c.width-f.right,a.x),c.x+f.left),d=Math.max(Math.min(c.y+c.height-f.bottom,a.y),c.y+f.top)):(l=Math.max(Math.min(c.right-f.right,a.x),c.left+f.left),d=Math.max(Math.min(c.bottom-f.bottom,a.y),c.top+f.top)),r.dx=l-a.x,r.dy=d-a.y,r.changed=r.modifiedX!==l||r.modifiedY!==d,r.locked=!(!r.dx&&!r.dy),r.modifiedX=l,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,c={top:1/0,left:1/0,bottom:-1/0,right:-1/0},l={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))||c,h=o.xywhToTlbr(u(s.outer,n,f))||l,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:c,noOuter:l,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"),c={width:-1/0,height:-1/0},l={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))||c,d=a.tlbrToXywh(i.getRestrictionRect(n.max,t))||l;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=[],c=o.rectToXY(o.resolveRectLike(s.origin))||o.getOriginXY(n,r,t.prepared.name),l=void 0;if("startCoords"===(s=s||n.options[t.prepared.name].snap||{}).offset)l={x:t.startCoords.page.x-c.x,y:t.startCoords.page.y-c.y};else{var d=o.resolveRectLike(s.offset,n,r,[t]);l=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+l.x,y:a.top-i.height*m+l.y})}else u.push(l);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,c=void 0,l=void 0;if(r.useStatusXY)c={x:r.x,y:r.y};else{var d=o.getOriginXY(t.target,t.element,t.prepared.name);(c=o.extend({},n)).x-=d.x,c.y-=d.y}r.realX=c.x,r.realY=c.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=c.x-m,y=c.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(l=0,f=s.length;l<f;l++){var E=(u=s[l]).range,k=u.x-c.x,x=u.y-c.y,S=o.hypot(k,x),T=S<=E;E===1/0&&w.inRange&&w.range!==1/0&&(T=!1),w.target&&!(T?w.inRange&&E!==1/0?S/E<w.distance/w.range:E===1/0&&w.range!==1/0||S<w.distance:!w.inRange&&S<w.distance)||(w.target=u,w.distance=S,w.range=E,w.inRange=T,w.dx=k,w.dy=x,r.range=E)}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,c=a.y-r[0].y;e.options=s.extend({},n),e.options.targets=[];for(var l=0;l<(n.targets||[]).length;l++){var d=(n.targets||[])[l],f=void 0;(f=s.is.function(d)?d(u,c,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 c=this.timeStamp-s.tapTime;this.double=!!(s.prevTap&&"doubletap"!==s.prevTap.type&&s.prevTap.target===this.target&&c<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"],c=["down","up","cancel"],l={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,c=void 0===u?e.pointerEvent.type:u,l=e.targets,p=void 0===l?f(e):l,h=e.pointerEvent,m=void 0===h?new r(c,n,i,a,t):h,v={interaction:t,pointer:n,event:i,eventTarget:a,targets:p,type:c,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"===c){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 c=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:a,path:c,targets:[],element:null},d=0;d<c.length;d++){var f=c[d];l.element=f,s.fire("collect-targets",l)}return"hold"===a&&(l.targets=l.targets.filter((function(e){return e.eventable.options.holdDuration===t.holdTimers[u].duration}))),l.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],c=o.getPath(i),l={interaction:t,pointer:n,event:r,eventTarget:i,type:"hold",targets:[],path:c,element:null},f=0;f<c.length;f++){var p=c[f];l.element=p,s.fire("collect-targets",l)}if(l.targets.length){for(var h=1/0,m=0;m<l.targets.length;m++){var v=l.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(c[g]));i.signals.on("new",(function(e){e.prevTap=null,e.tapTime=0,e.holdTimers=[]})),a.pointerEvents=l.defaults,t.exports=l},{"../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",c);for(var o=["move","up","cancel","endall"],a=0;a<o.length;a++){var s=o[a];i.signals.on(s,l)}function u(e){var t=e.pointerEvent;"hold"===t.type&&(t.count=(t.count||0)+1)}function c(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 l(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:c,endHoldRepeat:l}},{"../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 c=i.prototype._backCompatOption;i.prototype._backCompatOption=function(e,t){var n=c.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,c=void 0,l=void 0;for(c=1;c<e.length;c++)if((r=e[c])&&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(l=0;n[l]&&n[l]===t[l];)l++;var d=[n[l-1],n[l],t[l]];for(u=d[0].lastChild;u;){if(u===d[1]){i=r,o=c,t=[];break}if(u===d[2])break;u=u.previousSibling}}else i=r,o=c}else i=r,o=c;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,c=e("./arr").contains,l=[],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=E(r),o=l.indexOf(e),a=d[o];a||(a={events:{},typeCount:0},o=l.push(e)-1,d.push(a)),a.events[t]||(a.events[t]=[],a.typeCount++),c(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=E(r),o=l.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 c=0;c<s;c++)if(a.events[t][c]===n){e.removeEventListener("on"+t,n,h?i:!!i.capture),a.events[t].splice(c,1);break}a.events[t]&&0===a.events[t].length&&(a.events[t]=null,a.typeCount--)}a.typeCount||(d.splice(o,1),l.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=E(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],c=void 0;for(c=u.selectors.length-1;c>=0&&(u.selectors[c]!==e||u.contexts[c]!==t);c--);-1===c&&(c=u.selectors.length,u.selectors.push(e),u.contexts.push(t),u.listeners.push([])),u.listeners[c].push([r,!!o.capture,o.passive])}function y(e,t,n,r,i){var o=E(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 c=a.listeners[u],l=c.length-1;l>=0;l--){var d=c[l],p=d[0],h=d[1],m=d[2];if(p===r&&h===!!o.capture&&m===o.passive){c.splice(l,1),c.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=E(t),r={},u=f[e.type],c=a.getEventTargets(e)[0],l=c;for(s(r,e),r.originalEvent=e,r.preventDefault=w;i.element(l);){for(var d=0;d<u.selectors.length;d++){var p=u.selectors[d],h=u.contexts[d];if(o.matchesSelector(l,p)&&o.nodeContains(h,c)&&o.nodeContains(h,l)){var m=u.listeners[d];r.currentTarget=l;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)}}}l=o.parentNode(l)}}function _(e){return b.call(this,e,!0)}function w(){this.originalEvent.preventDefault()}function E(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:l,_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 c=o[u](a);if(c)return c}},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 c=0;c<r.interactions.length;c++){var l=r.interactions[c];if(!(l.pointerType!==n||/down/i.test(o)&&l.simulation))return l}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"),c={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&&c.isNativePointer(e)?(c.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):c.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},i.isOperaMobile&&c.isNativePointer(e)?c.getXY("screen",e,t):c.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?c.pointerAverage(t):t[0],i={};c.getPageXY(r,i),e.page.x=i.x,e.page.y=i.y,c.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=c.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=c.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=c.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=c},{"./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,c={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=c.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=c},{"./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 c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var l=i(t);l&&this._monitorIntersections(l.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=l(i),s=this._rootContainsTarget(i),u=r.entry,c=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:c});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&&l(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=l(s))}if(d&&(a=c(d,a)),!a)break;s=s&&h(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=l(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 c(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 l(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 c=[n,r,i,o,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).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)},c=o.push,l=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 E(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var k="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=E(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:k,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:c,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,c=!1;for("boolean"==typeof a&&(c=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&&(c&&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(c,o,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+(k+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):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.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,c,l,d,f,p,h,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,E=0,k=0,x=ue(),S=ue(),T=ue(),C=ue(),N=function(e,t){return e===t&&(d=!0),0},O={}.hasOwnProperty,A=[],P=A.pop,L=A.push,I=A.push,M=A.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",j="[\\x20\\t\\r\\n\\f]",Z="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",B="\\[[\\x20\\t\\r\\n\\f]*("+Z+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Z+"))|)"+j+"*\\]",F=":("+Z+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",U=new RegExp(j+"+","g"),q=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),H=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(j+"|>"),W=new RegExp(F),Y=new RegExp("^"+Z+"$"),G={ID:new RegExp("^#("+Z+")"),CLASS:new RegExp("^\\.("+Z+")"),TAG:new RegExp("^("+Z+"|[*])"),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")},K=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{I.apply(A=M.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){I={apply:A.length?function(e,t){L.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,l,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=Q.exec(e)))if(o=d[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return I.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.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&&(V.test(e)||H.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=_)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);g=h.join(",")}try{return I.apply(r,y.querySelectorAll(g)),r}catch(t){C(e,!0)}finally{l===_&&t.removeAttribute("id")}}}return u(e.replace(q,"$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 ce(e){return e[_]=!0,e}function le(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 ce((function(t){return t=+t,ce((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!K.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=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=J.test(p.getElementsByClassName),n.getById=le((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=J.test(p.querySelectorAll))&&(le((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]")})),le((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=J.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((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=J.test(h.compareDocumentPosition),b=t||J.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},N=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:l?R(l,e)-R(l,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:l?R(l,e)-R(l,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,l=!n.sortStable&&e.slice(0),e.sort(N),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=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:ce,match:G,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 G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.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+"("+j+"|$)"))&&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 c,l,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=(c=(l=(d=(f=v)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===E&&c[1])&&c[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[E,p,b];break}}else if(y&&(b=p=(c=(l=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===E&&c[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[E,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())?ce((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:ce((function(e){var t=[],n=[],r=s(e.replace(q,"$1"));return r[_]?ce((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:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return Y.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 X.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=k++;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 c,l,d,f=[E,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(l=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=l[o])&&c[0]===E&&c[1]===s)return f[2]=c[2];if(l[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 Ee(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),c&&t.push(s)));return a}function ke(e,t,n,r,i,o){return r&&!r[_]&&(r=ke(r)),i&&!i[_]&&(i=ke(i,o)),ce((function(o,a,s,u){var c,l,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:Ee(m,f,e,s,u),g=n?i||(o?e:h||r)?[]:a:v;if(n&&n(v,g,s,u),r)for(c=Ee(g,p),r(c,[],s,u),l=c.length;l--;)(d=c[l])&&(g[p[l]]=!(v[p[l]]=d));if(o){if(i||e){if(i){for(c=[],l=g.length;l--;)(d=g[l])&&c.push(v[l]=d);i(null,g=[],c,u)}for(l=g.length;l--;)(d=g[l])&&(c=i?R(o,d):f[l])>-1&&(o[c]=!(a[c]=d))}}else g=Ee(g===a?g.splice(h,g.length):g),i?i(null,a,g,u):I.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,l=_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!==c)||((t=n).nodeType?l(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 ke(u>1&&we(f),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(q,"$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,c,l=S[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=r.preFilter;s;){for(a in n&&!(i=z.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=H.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),s=s.slice(n.length)),r.filter)!(i=G[a].exec(s))||c[a]&&!(i=c[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,l){var d,h,v,g=0,y="0",b=o&&[],_=[],w=c,k=o||i&&r.find.TAG("*",l),x=E+=null==w?1:Math.random()||.1,S=k.length;for(l&&(c=a==p||a||l);y!==S&&null!=(d=k[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}l&&(E=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));_=Ee(_)}I.apply(u,_),l&&!o&&_.length>0&&g+t.length>1&&se.uniqueSort(u)}return l&&(E=x,c=w),b};return n?ce(o):o}(o,i)),s.selector=e}return s},u=se.select=function(e,t,n,i){var o,u,c,l,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"===(c=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=G.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((d=r.find[l])&&(i=d(c.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 I.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(N).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((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&&le((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})),le((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},N=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 A(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 l.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 I,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),P.test(r[1])&&x.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(x):x.makeArray(e,this)}).prototype=x.fn,I=x(b);var R=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function j(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?l.call(x(e),this[0]):l.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 j(e,"nextSibling")},prev:function(e){return j(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 N((e.parentNode||{}).firstChild,e)},children:function(e){return N(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(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 Z=/[^\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(Z)||[],(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?[]:"")},c={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&&c.has(r)||o.push(r):r&&r.length&&"string"!==E(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 c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},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,c=function(){var r,c;if(!(e<o)){if((r=n.apply(s,u))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(c)?i?c.call(r,a(o,t,B,i),a(o,t,F,i)):(o++,c.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))}},l=i?c:function(){try{c()}catch(r){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(r,l.stackTrace),e+1>=o&&(n!==F&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?l():(x.Deferred.getStackHook&&(l.stackTrace=x.Deferred.getStackHook()),r.setTimeout(l))}}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 q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&q.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},x.readyException=function(e){r.setTimeout((function(){throw e}))};var z=x.Deferred();function H(){b.removeEventListener("DOMContentLoaded",H),r.removeEventListener("load",H),x.ready()}x.fn.ready=function(e){return z.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||z.resolveWith(b,[x]))}}),x.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(x.ready):(b.addEventListener("DOMContentLoaded",H),r.addEventListener("load",H));var V=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===E(n))for(s in i=!0,n)V(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.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:c?t.call(e):u?t(e[0],n):o},W=/^-ms-/,Y=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function K(e){return e.replace(W,"ms-").replace(Y,G)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=x.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[K(t)]=n;else for(r in t)i[K(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(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(K):(t=K(t))in r?[t]:t.match(Z)||[]).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 J=new X,Q=new X,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){}Q.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Q.hasData(e)||J.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.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=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Q.set(this,e)})):V(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))||void 0!==(n=ne(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),x.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.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 J.get(e,n)||J.access(e,n,{empty:x.Callbacks("once memory").add((function(){J.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=J.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 ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===x.css(e,"display")};function le(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},u=s(),c=n&&n[3]||(x.cssNumber[t]?"":"px"),l=e.nodeType&&(x.cssNumber[t]||"px"!==c&&+u)&&ie.exec(x.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)x.style(e,t,l+c),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),l/=o;l*=2,x.style(e,t,l+c),n=n||[]}return n&&(l=+l||+u||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,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]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ce(r)&&(i[o]=fe(r))):"none"!==n&&(i[o]="none",J.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(){ce(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&&A(e,t)?x.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.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 Ee=/<|&#?\w+;/;function ke(e,t,n,r,i){for(var o,a,s,u,c,l,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((o=e[p])||0===o)if("object"===E(o))x.merge(f,o.nodeType?[o]:o);else if(Ee.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],l=u[0];l--;)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(c=se(o),a=_e(d.appendChild(o),"script"),c&&we(a),n)for(l=0;o=a[l++];)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 Ne(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)Ne(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?(J.set(e,t,!1),x.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=J.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),J.set(this,t,o),r=n(this,t),this[t](),o!==(i=J.get(this,t))||r?J.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(J.set(this,t,{value:x.event.trigger(x.extend(o[0],x.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&x.event.add(e,t,Se)}x.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,m,v=J.get(e);if($(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&x.find.matchesSelector(ae,i),n.guid||(n.guid=x.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Z)||[""]).length;c--;)p=m=(s=xe.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=x.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=x.event.special[p]||{},l=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,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),x.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,m,v=J.hasData(e)&&J.get(e);if(v&&(u=v.events)){for(c=(t=(t||"").match(Z)||[""]).length;c--;)if(p=m=(s=xe.exec(t[c])||[])[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--;)l=f[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));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[c],n,r,!0);x.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=x.event.fix(e),c=(J.get(this,"events")||Object.create(null))[u.type]||[],l=x.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=x.event.handlers.call(this,u,c),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 l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.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(c)>-1:x.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u<t.length&&s.push({elem:c,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&&A(t,"input")&&Oe(t,"click",Se),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&A(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&A(t,"input")&&J.get(t,"click")||A(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 Ne(this,e,t,n,r)},one:function(e,t,n,r){return Ne(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 Ae=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Le=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ie(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function De(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(J.hasData(e)&&(s=J.get(e).events))for(i in J.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)x.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=x.extend({},o),Q.set(t,a))}}function je(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 Ze(e,t,n,r){t=u(t);var i,o,a,s,c,l,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())),Ze(o,t,n,r)}));if(f&&(o=(i=ke(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=x.map(_e(i,"script"),Me)).length;d<f;d++)c=i,d!==p&&(c=x.clone(c,!0,!0),s&&x.merge(a,_e(c,"script"))),n.call(e[d],c,d);if(s)for(l=a[a.length-1].ownerDocument,x.map(a,Re),d=0;d<s;d++)c=a[d],ye.test(c.type||"")&&!J.access(c,"globalEval")&&x.contains(l,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?x._evalUrl&&!c.noModule&&x._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},l):w(c.textContent.replace(Le,""),c,l))}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++)je(o[r],a[r]);if(t)if(n)for(o=o||_e(e),a=a||_e(s),r=0,i=o.length;r<i;r++)De(o[r],a[r]);else De(e,s);return(a=_e(s,"script")).length>0&&we(a,!u&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,i=x.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.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 V(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 Ze(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return Ze(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ze(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ze(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 V(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&&!Ae.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 Ze(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),c.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)},qe=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},ze=new RegExp(oe.join("|"),"i");function He(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)&&ze.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 Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),i=36===t(e.width),l.style.position="absolute",o=12===t(l.offsetWidth/3),ae.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var n,i,o,a,s,u,c=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.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 We=["Webkit","Moz","ms"],Ye=b.createElement("div").style,Ge={};function Ke(e){var t=x.cssProps[e]||Ge[e];return t||(e in Ye?e:Ge[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=We.length;n--;)if((e=We[n]+t)in Ye)return e}(e)||e)}var $e=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Je={position:"absolute",visibility:"hidden",display:"block"},Qe={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=He(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()&&A(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=He(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=K(t),u=Xe.test(t),c=e.style;if(u||(t=Ke(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:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(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")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=K(t);return Xe.test(t)||(t=Ke(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=He(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),x.each(["height","width"],(function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!$e.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):qe(e,Je,(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=Ve(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-qe(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 V(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[Ke(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 ct(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function lt(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||ct(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=K(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}(l,c.opts.specialEasing);o<a;o++)if(r=ft.prefilters[o].call(c,e,l,c.opts))return g(r.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return x.map(l,dt,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(Z);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,c,l,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&ce(e),v=J.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==(c=v&&v.display)&&(c=J.get(e,"display")),"none"===(l=x.css(e,"display"))&&(c?l=c:(pe([e],!0),c=e.style.display||c,l=x.css(e,"display"),pe([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===x.css(e,"float")&&(u||(f.done((function(){h.display=c})),null==c&&(l=h.display,c="none"===l?"":l)),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=J.access(e,"fxshow",{display:c}),o&&(v.hidden=!m),m&&pe([e],!0),f.done((function(){for(r in m||pe([e]),J.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(ce).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||J.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=J.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=J.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(lt(t,!0),e,r,i)}})),x.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("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 V(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&&A(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(Z);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(Z)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(Z)||[]}x.fn.extend({prop:function(e,t){return V(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))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.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||!A(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)$/,Et=function(e){e.stopPropagation()};x.extend(x.event,{trigger:function(e,t,n,i){var o,a,s,u,c,l,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()),c=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,(l=(J.get(a,"events")||Object.create(null))[e.type]&&J.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&$(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!$(n)||c&&g(n[m])&&!y(n)&&((s=n[c])&&(n[c]=null),x.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Et),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Et),x.event.triggered=void 0,s&&(n[c]=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=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}}));var kt=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,Nt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var i;if(Array.isArray(t))x.each(t,(function(t,i){n||Tt.test(e)?r(e,i):At(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==E(t))r(e,t);else for(i in t)At(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)At(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)&&!Nt.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=/#.*$/,It=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Dt=/^\/\//,jt={},Zt={},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(Z)||[];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 qt(e,t,n,r){var i={},o=e===Zt;function a(s){var u;return i[s]=!0,x.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(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=kt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(kt.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?zt(zt(e,x.ajaxSettings),t):zt(x.ajaxSettings,e)},ajaxPrefilter:Ut(jt),ajaxTransport:Ut(Zt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,u,c,l,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={},E="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Mt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||E;return n&&n.abort(t),S(0,t),this}};if(v.promise(k),p.url=((e||p.url||kt.href)+"").replace(Dt,kt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Z)||[""],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)),qt(jt,p,t,k),c)return k;for(d in(l=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(It,"$1"),f=(St.test(i)?"&":"?")+"_="+xt.guid+++f),p.url=i+f),p.ifModified&&(x.lastModified[i]&&k.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&k.setRequestHeader("If-None-Match",x.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.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)k.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,k,p)||c))return k.abort();if(E="abort",g.add(p.complete),k.done(p.success),k.fail(p.error),n=qt(Zt,p,t,k)){if(k.readyState=1,l&&m.trigger("ajaxSend",[k,p]),c)return k;p.async&&p.timeout>0&&(s=r.setTimeout((function(){k.abort("timeout")}),p.timeout));try{c=!1,n.send(_,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,u){var d,f,b,_,w,E=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=u||"",k.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,k,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,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.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,_,k,d),d?(p.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=k.getResponseHeader("etag"))&&(x.etag[i]=w)),204===e||"HEAD"===p.type?E="nocontent":304===e?E="notmodified":(E=_.state,f=_.data,d=!(b=_.error))):(b=E,!e&&E||(E="error",e<0&&(e=0))),k.status=e,k.statusText=(t||E)+"",d?v.resolveWith(h,[f,E,k]):v.rejectWith(h,[k,E,b]),k.statusCode(y),y=void 0,l&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,p,d?f:b]),g.fireWith(h,[k,E]),l&&(m.trigger("ajaxComplete",[k,p]),--x.active||x.event.trigger("ajaxStop")))}return k},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 Ht={0:200,1223:204},Vt=x.ajaxSettings.xhr();v.cors=!!Vt&&"withCredentials"in Vt,v.ajax=Vt=!!Vt,x.ajaxTransport((function(e){var t,n;if(v.cors||Vt&&!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(Ht[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 Wt,Yt=[],Gt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.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&&(Gt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gt.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(Gt,"$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,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0})),"script"})),v.createHTMLDocument=((Wt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Wt.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=ke([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,c=x.css(e,"position"),l=x(e),d={};"static"===c&&(e.style.position="relative"),s=l.offset(),o=x.css(e,"top"),u=x.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1?(a=(r=l.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):l.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 V(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]=Ve(v.pixelPosition,(function(e,n){if(n)return n=He(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 V(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 Kt=/^[\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=A,x.isFunction=g,x.isWindow=y,x.camelCase=K,x.type=E,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(Kt,"")},void 0===(n=function(){return x}.apply(t,[]))||(e.exports=n);var $t=r.jQuery,Xt=r.$;return x.noConflict=function(e){return r.$===x&&(r.$=Xt),e&&r.jQuery===x&&(r.jQuery=$t),x},void 0===i&&(r.jQuery=r.$=x),x}))},19575:function(e,t,n){var r,i;i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:this,e.exports=function(n){"use strict";var i,o=(n=n||{}).Base64,a="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(s),c=String.fromCharCode,l=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,f=function(e){return e.replace(d,l)},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],c=o<<16|a<<8|u;n+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==a?s.charAt(c>>>6&63):"=")+(void 0!==u?s.charAt(63&c):"=")}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 c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},E=function(e){return e.replace(_,w)},k=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=[c(r>>>16),c(r>>>8&255),c(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,k)},S=function(e){return x(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},T=function(e){return E(x(e))},C=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},N=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:N,toBase64:g,utob:f,encode:g,encodeURI:y,btou:E,decode:N,noConflict:O,fromUint8Array:i,toUint8Array:b},"function"==typeof Object.defineProperty){var A=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};n.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",A((function(){return N(this)}))),Object.defineProperty(String.prototype,"toBase64",A((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",A((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;")},c=function(e){return e.replace(/&#?\w+;/g,s)},l=u;u.htmlEncode=u,u.htmlDecode=c,i?e.exports=l:(t.htmlEncode=u,t.htmlDecode=c,o&&(void 0===(r=function(){return l}.call(l,n,l,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,c=Object.prototype,l=c.hasOwnProperty,d=c.toString,f=c.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)&&E(e)}(e)&&l.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&&!l.call(e,a)||o&&("length"==a||y(a,i))||r.push(a);return r}function g(e,t,n){var r=e[t];l.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||c)}function _(e,t){return e===t||e!=e&&t!=t}var w=Array.isArray;function E(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=k(e)?d.call(e):"";return t==r||t==i}(e)}function k(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var x,S=(x=function(e,t){if(m||b(t)||E(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 E(e)?v(e):function(e){if(!b(e))return p(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}(t),e);else for(var n in t)l.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(!k(n))return!1;var r=typeof t;return!!("number"==r?E(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]",c="[object GeneratorFunction]",l="[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]",E="[object Float64Array]",k="[object Int8Array]",x="[object Int16Array]",S="[object Int32Array]",T="[object Uint8Array]",C="[object Uint8ClampedArray]",N="[object Uint16Array]",O="[object Uint32Array]",A=/\w*$/,P=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,I={};I[o]=I["[object Array]"]=I[b]=I[_]=I[a]=I[s]=I[w]=I[E]=I[k]=I[x]=I[S]=I[l]=I[d]=I[f]=I[h]=I[m]=I[v]=I[g]=I[T]=I[C]=I[N]=I[O]=!0,I["[object Error]"]=I[u]=I[y]=!1;var M="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,R="object"==typeof self&&self&&self.Object===Object&&self,D=M||R||Function("return this")(),j=t&&!t.nodeType&&t,Z=j&&e&&!e.nodeType&&e,B=Z&&Z.exports===j;function F(e,t){return e.set(t[0],t[1]),e}function U(e,t){return e.add(t),e}function q(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 z(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function H(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function V(e,t){return function(n){return e(t(n))}}function W(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Y,G=Array.prototype,K=Function.prototype,$=Object.prototype,X=D["__core-js_shared__"],J=(Y=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"",Q=K.toString,ee=$.hasOwnProperty,te=$.toString,ne=RegExp("^"+Q.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=B?D.Buffer:void 0,ie=D.Symbol,oe=D.Uint8Array,ae=V(Object.getPrototypeOf,Object),se=Object.create,ue=$.propertyIsEnumerable,ce=G.splice,le=Object.getOwnPropertySymbols,de=re?re.isBuffer:void 0,fe=V(Object.keys,Object),pe=Ze(D,"DataView"),he=Ze(D,"Map"),me=Ze(D,"Promise"),ve=Ze(D,"Set"),ge=Ze(D,"WeakMap"),ye=Ze(Object,"create"),be=ze(pe),_e=ze(he),we=ze(me),Ee=ze(ve),ke=ze(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 Ne(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 Ae(e,t){var n=Ve(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(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)&&He(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Le(e,t){for(var n=e.length;n--;)if(He(e[n][0],t))return n;return-1}function Ie(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(!Ke(e))return e;var L=Ve(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 M=Fe(e),R=M==u||M==c;if(Ye(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(M==f||M==o||R&&!p){if(z(e))return p?e:{};if(P=function(e){return"function"!=typeof e.constructor||qe(e)?{}:(t=ae(e),Ke(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,$e(t),e)}(P,e))}else{if(!I[M])return p?e:{};P=function(e,t,n,r){var i=e.constructor;switch(t){case b:return Re(e);case a:case s:return new i(+e);case _:return function(e,t){var n=t?Re(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case w:case E:case k:case x:case S:case T:case C:case N: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 l:return function(e,t,n){return q(t?n(H(e),!0):H(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,A.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,n){return q(t?n(W(e),!0):W(e),U,new e.constructor)}(e,r,n);case g:return o=e,Se?Object(Se.call(o)):{}}var o}(e,M,Ie,t)}}y||(y=new Oe);var D=y.get(e);if(D)return D;if(y.set(e,P),!L)var j=n?function(e){return function(e,t,n){var r=t(e);return Ve(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,$e,Be)}(e):$e(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(j||e,(function(i,o){j&&(i=e[o=i]),Pe(P,o,Ie(i,t,n,r,o,e,y))})),P}function Me(e){return!(!Ke(e)||(t=e,J&&J in t))&&(Ge(e)||z(e)?ne:P).test(ze(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 je(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 Ze(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Me(n)?n:void 0}Te.prototype.clear=function(){this.__data__=ye?ye(null):{}},Te.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Te.prototype.get=function(e){var t=this.__data__;if(ye){var n=t[e];return n===r?void 0:n}return ee.call(t,e)?t[e]:void 0},Te.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:ee.call(t,e)},Te.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},Ce.prototype.clear=function(){this.__data__=[]},Ce.prototype.delete=function(e){var t=this.__data__,n=Le(t,e);return!(n<0)&&(n==t.length-1?t.pop():ce.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},Ne.prototype.clear=function(){this.__data__={hash:new Te,map:new(he||Ce),string:new Te}},Ne.prototype.delete=function(e){return je(this,e).delete(e)},Ne.prototype.get=function(e){return je(this,e).get(e)},Ne.prototype.has=function(e){return je(this,e).has(e)},Ne.prototype.set=function(e,t){return je(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 Ne(r)}return n.set(e,t),this};var Be=le?V(le,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 qe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||$)}function ze(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){return e===t||e!=e&&t!=t}(pe&&Fe(new pe(new ArrayBuffer(1)))!=_||he&&Fe(new he)!=l||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?ze(n):void 0;if(r)switch(r){case be:return _;case _e:return l;case we:return p;case Ee:return m;case ke:return y}return t});var Ve=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!Ge(e)}var Ye=de||function(){return!1};function Ge(e){var t=Ke(e)?te.call(e):"";return t==u||t==c}function Ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function $e(e){return We(e)?Ae(e):function(e){if(!qe(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 Ie(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,c="object"==typeof self&&self&&self.Object===Object&&self,l=u||c||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,h=function(){return l.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,c=0,l=!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,c=t,a=e.apply(o,n)}function b(e){return c=e,s=setTimeout(w,t),l?y(e):a}function _(e){var n=e-u;return void 0===u||n>=t||n<0||d&&e-c>=o}function w(){var e=h();if(_(e))return E(e);s=setTimeout(w,function(e){var n=t-(e-u);return d?p(n,o-(e-c)):n}(e))}function E(e){return s=void 0,g&&r?y(e):(r=i=void 0,a)}function k(){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)&&(l=!!n.leading,o=(d="maxWait"in n)?f(v(n.maxWait)||0,t):o,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=u=i=s=void 0},k.flush=function(){return void 0===s?a:E(h())},k}},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")(),c=Object.prototype.toString,l=u.Symbol,d=l?l.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)&&c.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,c=s.hasOwnProperty,l=s.toString,d=RegExp("^"+u.call(c).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)&&l.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]"==l.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,c=-1,l="function"==typeof o&&o.prototype===e,d=Array(n),f=n>0;++c<n;)d[c]=c+"";for(var p in e)f&&u(p,n)||"constructor"==p&&(l||!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\]$/,c=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[o]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[a]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[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,E,k,x=Array.prototype,S=Function.prototype,T=Object.prototype,C=p["__core-js_shared__"],N=S.toString,O=T.hasOwnProperty,A=(w=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+w:"",P=T.toString,L=N.call(Object),I=RegExp("^"+N.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),M=v?p.Buffer:void 0,R=p.Symbol,D=p.Uint8Array,j=M?M.allocUnsafe:void 0,Z=(E=Object.getPrototypeOf,k=Object,function(e){return E(k(e))}),B=Object.create,F=T.propertyIsEnumerable,U=x.splice,q=R?R.toStringTag:void 0,z=function(){try{var e=me(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),H=M?M.isBuffer:void 0,V=Math.max,W=Date.now,Y=me(p,"Map"),G=me(Object,"create"),K=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 $(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 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 J(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=this.__data__=new X(e);this.size=t.size}function ee(e,t){var n=Ee(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 c in e)!t&&!O.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ve(c,u))||s.push(c);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&&z?z(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}$.prototype.clear=function(){this.__data__=G?G(null):{},this.size=0},$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$.prototype.get=function(e){var t=this.__data__;if(G){var n=t[e];return n===r?void 0:n}return O.call(t,e)?t[e]:void 0},$.prototype.has=function(e){var t=this.__data__;return G?void 0!==t[e]:O.call(t,e)},$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=G&&void 0===t?r:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.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)},X.prototype.get=function(e){var t=this.__data__,n=re(t,e);return n<0?void 0:t[n][1]},X.prototype.has=function(e){return re(this.__data__,e)>-1},X.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},J.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(Y||X),string:new $}},J.prototype.delete=function(e){var t=he(this,e).delete(e);return this.size-=t?1:0,t},J.prototype.get=function(e){return he(this,e).get(e)},J.prototype.has=function(e){return he(this,e).has(e)},J.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},Q.prototype.clear=function(){this.__data__=new X,this.size=0},Q.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Q.prototype.get=function(e){return this.__data__.get(e)},Q.prototype.has=function(e){return this.__data__.has(e)},Q.prototype.set=function(e,t){var n=this.__data__;if(n instanceof X){var r=n.__data__;if(!Y||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new J(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]":q&&q in Object(e)?function(e){var t=O.call(e,q),n=e[q];try{e[q]=void 0;var r=!0}catch(e){}var i=P.call(e);r&&(t?e[q]=n:delete e[q]);return i}(e):function(e){return P.call(e)}(e)}function ue(e){return Ne(e)&&se(e)==o}function ce(e){return!(!Ce(e)||function(e){return!!A&&A in e}(e))&&(Se(e)?I:u).test(function(e){if(null!=e){try{return N.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function le(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 Q),Ce(o))!function(e,t,n,r,i,o,a){var u=ye(e,n),c=ye(t,n),l=a.get(c);if(l)return void te(e,n,l);var d=o?o(u,c,n+"",e,t,a):void 0,f=void 0===d;if(f){var p=Ee(c),h=!p&&xe(c),m=!p&&!h&&Oe(c);d=c,p||h||m?Ee(u)?d=u:Ne(_=u)&&ke(_)?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=j?j(n):new e.constructor(n);return e.copy(r),r}(c,!0)):m?(f=!1,v=c,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(!Ne(e)||se(e)!=s)return!1;var t=Z(e);if(null===t)return!0;var n=O.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&N.call(n)==L}(c)||we(c)?(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,Ae(e))}(u):Ce(u)&&!Se(u)||(d=function(e){return"function"!=typeof e.constructor||ge(e)?{}:K(Z(e))}(c))):f=!1}var v,g,y,b;var _;f&&(a.set(c,d),i(d,c,r,o,a),a.delete(c));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)}}),Ae)}function fe(e,t){return be(function(e,t,n){return t=V(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=V(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,Ie),e+"")}var pe=z?function(e,t){return z(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ie;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 ce(n)?n:void 0}function ve(e,t){var n=typeof e;return!!(t=null==t?i:t)&&("number"==n||"symbol"!=n&&c.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=W(),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 Ne(e)&&O.call(e,"callee")&&!F.call(e,"callee")},Ee=Array.isArray;function ke(e){return null!=e&&Te(e.length)&&!Se(e)}var xe=H||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 Ne(e){return null!=e&&"object"==typeof e}var Oe=b?function(e){return function(t){return e(t)}}(b):function(e){return Ne(e)&&Te(e.length)&&!!l[se(e)]};function Ae(e){return ke(e)?ee(e,!0):le(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?ke(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 Ie(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,c=-1,l=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)})));++c<l;)for(var f=0,p=t[c],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,c,l=(u=function(e,t){return e&&e.length&&t&&t.length?s(e,t):e},c=a(void 0===c?u.length-1:c,0),function(){for(var e=arguments,n=-1,r=a(e.length-c,0),i=Array(r);++n<r;)i[n]=e[c+n];n=-1;for(var o=Array(c+1);++n<c;)o[n]=e[n];return o[c]=i,t(u,this,o)});e.exports=l},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,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,d=c||l||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,c,l=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,l=t,s=e.apply(r,n)}function _(e){return l=e,u=setTimeout(E,t),d?b(e):s}function w(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-l>=a}function E(){var e=m();if(w(e))return k(e);u=setTimeout(E,function(e){var n=t-(e-c);return f?h(n,a-(e-l)):n}(e))}function k(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,c=e,n){if(void 0===u)return _(c);if(f)return u=setTimeout(E,t),b(c)}return void 0===u&&(u=setTimeout(E,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),l=0,i=c=o=u=void 0},x.flush=function(){return void 0===u?s:k(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 c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},62705:function(e,t,n){var r=n(55639).Symbol;e.exports=r},11149:function(e,t,n){var r=n(55639).Uint8Array;e.exports=r},70577:function(e,t,n){var r=n(10852)(n(55639),"WeakMap");e.exports=r},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),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),d=!n&&!l&&a(e),f=!n&&!l&&!d&&u(e),p=n||l||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!c.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),c=n(44144),l=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),E=(_=_==d?p:_)==p,k=(w=w==d?p:w)==p,x=_==w;if(x&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(x&&!E)return g||(g=new r),y||l(e)?i(e,t,n,m,v,g):o(e,t,_,n,m,v,g);if(!(1&n)){var S=E&&h.call(e,"__wrapped__"),T=k&&h.call(t,"__wrapped__");if(S||T){var C=S?e.value():e,N=T?t.value():t;return g||(g=new r),v(C,N,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 c=n[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=n[a])[0],d=e[l],f=c[1];if(u&&c[2]){if(void 0===d&&!(l in e))return!1}else{var p=new r;if(o)var h=o(d,f,l,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,c=Object.prototype,l=u.toString,d=c.hasOwnProperty,f=RegExp("^"+l.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),c=n(40327);e.exports=function(e,t){return a(e)&&s(t)?u(c(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 c=e(t,n,a);return c>-1?s[u?t[c]:c]: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 c=1&n,l=e.length,d=t.length;if(l!=d&&!(c&&d>l))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<l;){var v=e[p],g=t[p];if(a)var y=c?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),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,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,c,d,f);return f.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.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,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var d=l;d--;){var f=c[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<l;){var v=e[f=c[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),c=n(80346),l="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),v=c(i),g=c(o),y=c(a),b=c(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=l||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?c(n):"";if(r)switch(r){case m:return h;case v:return l;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 c=-1,l=(t=r(t,e)).length,d=!1;++c<l;){var f=u(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=l?d:!!(l=null==e?0:e.length)&&s(l)&&a(f,l)&&(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]?",c=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),l="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+l+c,"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]?",c=u+s+("(?:\\u200d(?:"+[i,o,a].join("|")+")"+u+s+")*"),l="(?:"+[i+n+"?",n,o,a,t].join("|")+")",d=RegExp(r+"(?="+r+")|"+l+c,"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+"]",c="[^\\ud800-\\udfff"+i+a+t+n+r+"]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",f="["+r+"]",p="(?:"+u+"|"+c+")",h="(?:"+f+"|"+c+")",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]",l,d].join("|")+")"+y+g+")*"),_="(?:"+[s,l,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,c,l,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=c;return u=c=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>=l}function w(){var e=i();if(_(e))return E(e);f=setTimeout(w,function(e){var n=t-(e-p);return v?s(n,l-(e-h)):n}(e))}function E(e){return f=void 0,g&&u?y(e):(u=c=void 0,d)}function k(){var e=i(),n=_(e);if(u=arguments,c=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,l=(v="maxWait"in n)?a(o(n.maxWait)||0,t):l,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==f&&clearTimeout(f),h=0,u=p=c=f=void 0},k.flush=function(){return void 0===f?d:E(i())},k}},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,c=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)?c(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),c=n(83140),l=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?l(t.length):n,p="omission"in t?r(t.omission):p}var m=(e=d(e)).length;if(o(e)){var v=c(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 E=y.lastIndexOf(h);E>-1&&(y=y.slice(0,E))}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)||[]}},30845:function(e,t){"use strict";function n(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}t.Z=function(e,t){var r;void 0===t&&(t=n);var i,o=[],a=!1;return function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];return a&&r===this&&t(n,o)||(i=e.apply(this,n),a=!0,r=this,o=n),i}}},42554:function(e,t,n){"use strict";var r=n(67294),i=n(94578),o=n(45697),a=n.n(o),s=1073741823,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function c(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=r.createContext||function(e,t){var n,o,l,d="__create-react-context-"+((u[l="__global_unique_id__"]=(u[l]||0)+1)+"__"),f=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=c(t.props.value),t}(0,i.Z)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[d]=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):s,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,a},r.render=function(){return this.props.children},n}(r.Component);f.childContextTypes=((n={})[d]=a().object.isRequired,n);var p=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,i.Z)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?s:t},r.componentDidMount=function(){this.context[d]&&this.context[d].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?s:e},r.componentWillUnmount=function(){this.context[d]&&this.context[d].off(this.onUpdate)},r.getValue=function(){return this.context[d]?this.context[d].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return p.contextTypes=((o={})[d]=a().object,o),{Provider:f,Consumer:p}};t.Z=l},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 c(e){return void 0===e}function l(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 Yn(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(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),_.length>0)for(n=0;n<_.length;n++)c(i=t[r=_[n]])||(e[r]=i);return e}var E=!1;function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===E&&(E=!0,i.updateOffset(this),E=!1)}function x(e){return e instanceof k||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 N(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)}N(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var A,P={};function L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),P[e]||(N(t),P[e]=!0)}function I(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)I(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,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)p(e,t)&&n.push(t);return n};var j={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Z(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return I(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 q(){return this._invalidDate}var z="%d",H=/\d{1,2}/;function V(e){return this._ordinal.replace("%d",e)}var W={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 Y(e,t,n,r){var i=this._relativeTime[n];return I(i)?i(e,t,n,r):i.replace(/%d/i,e)}function G(e,t){var n=this._relativeTime[e>0?"future":"past"];return I(n)?n(t):n.replace(/%s/i,t)}var K={};function $(e,t){var n=e.toLowerCase();K[n]=K[n+"s"]=K[t]=e}function X(e){return"string"==typeof e?K[e]||K[e.toLowerCase()]:void 0}function J(e){var t,n,r={};for(n in e)p(e,n)&&(t=X(n))&&(r[t]=e[n]);return r}var Q={};function ee(e,t){Q[e]=t}function te(e){var t=[];for(var n in e)t.push({unit:n,priority:Q[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 ce(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+=I(r[i])?r[i].call(t,e):r[i];return o}}function le(e,t){return e.isValid()?(t=de(t,e.localeData()),oe[t]=oe[t]||ce(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}/,Ee=/[+-]?\d{1,6}/,ke=/\d+/,xe=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ce=/[+-]?\d+(\.\d{1,3})?/,Ne=/[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 Ae(e,t,n){Oe[e]=I(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 Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Me={};function Re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),l(t)&&(r=function(e,n){n[t]=T(e)}),n=0;n<e.length;n++)Me[e[n]]=r}function De(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function je(e,t,n){null!=t&&p(Me,e)&&Me[e](t,n._a,n,e)}var Ze=0,Be=1,Fe=2,Ue=3,qe=4,ze=5,He=6,Ve=7,We=8;function Ye(e){return Ge(e)?366:365}function Ge(e){return e%4==0&&e%100!=0||e%400==0}se("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),se(0,["YY",2],0,(function(){return this.year()%100})),se(0,["YYYY",4],0,"year"),se(0,["YYYYY",5],0,"year"),se(0,["YYYYYY",6,!0],0,"year"),$("year","y"),ee("year",1),Ae("Y",xe),Ae("YY",ge,pe),Ae("YYYY",we,me),Ae("YYYYY",Ee,ve),Ae("YYYYYY",Ee,ve),Re(["YYYYY","YYYYYY"],Ze),Re("YYYY",(function(e,t){t[Ze]=2===e.length?i.parseTwoDigitYear(e):T(e)})),Re("YY",(function(e,t){t[Ze]=i.parseTwoDigitYear(e)})),Re("Y",(function(e,t){t[Ze]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return T(e)+(T(e)>68?1900:2e3)};var Ke,$e=Je("FullYear",!0);function Xe(){return Ge(this.year())}function Je(e,t){return function(n){return null!=n?(et(this,e,n),i.updateOffset(this,t),this):Qe(this,e)}}function Qe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function et(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Ge(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 I(this[e=X(e)])?this[e]():this}function nt(e,t){if("object"==typeof e)for(var n=te(e=J(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(I(this[e=X(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?Ge(e)?29:28:31-n%7%2}Ke=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},se("M",["MM",2],"Mo",(function(){return this.month()+1})),se("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),se("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),$("month","M"),ee("month",8),Ae("M",ge),Ae("MM",ge,pe),Ae("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ae("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 ct(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 lt(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=Ke.call(this._shortMonthsParse,a))?i:null:-1!==(i=Ke.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Ke.call(this._shortMonthsParse,a))||-1!==(i=Ke.call(this._longMonthsParse,a))?i:null:-1!==(i=Ke.call(this._longMonthsParse,a))||-1!==(i=Ke.call(this._shortMonthsParse,a))?i:null}function dt(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.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(!l(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):Qe(this,"Month")}function ht(){return it(this.year(),this.month())}var mt=Ne;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=Ne;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]=Ie(r[t]),i[t]=Ie(i[t]);for(t=0;t<24;t++)o[t]=Ie(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 Et(e,t,n){var r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}function kt(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Et(e,r,i);return s<=0?a=Ye(o=e-1)+s:s>Ye(e)?(o=e+1,a=s-Ye(e)):(o=e,a=s),{year:o,dayOfYear:a}}function xt(e,t,n){var r,i,o=Et(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=Et(e,t,n),i=Et(e+1,t,n);return(Ye(e)-r+i)/7}function Tt(e){return xt(e,this._week.dow,this._week.doy).week}se("w",["ww",2],"wo","week"),se("W",["WW",2],"Wo","isoWeek"),$("week","w"),$("isoWeek","W"),ee("week",5),ee("isoWeek",5),Ae("w",ge),Ae("ww",ge,pe),Ae("W",ge),Ae("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 Nt(){return this._week.dow}function Ot(){return this._week.doy}function At(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 It(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}se("d",0,"do","day"),se("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),se("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),se("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),se("e",0,0,"weekday"),se("E",0,0,"isoWeekday"),$("day","d"),$("weekday","e"),$("isoWeekday","E"),ee("day",11),ee("weekday",11),ee("isoWeekday",11),Ae("d",ge),Ae("e",ge),Ae("E",ge),Ae("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ae("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ae("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=T(e)}));var Mt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Rt(e,t){return e?a(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone}var Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function jt(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Zt="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=Ke.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ke.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Ke.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Ke.call(this._weekdaysParse,a))||-1!==(i=Ke.call(this._shortWeekdaysParse,a))||-1!==(i=Ke.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Ke.call(this._shortWeekdaysParse,a))||-1!==(i=Ke.call(this._weekdaysParse,a))||-1!==(i=Ke.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Ke.call(this._minWeekdaysParse,a))||-1!==(i=Ke.call(this._weekdaysParse,a))||-1!==(i=Ke.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 qt(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 zt(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 Ht(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=It(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var Vt=Ne;function Wt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Vt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Yt=Ne;function Gt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var Kt=Ne;function $t(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Kt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];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),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=Ie(s[t]),u[t]=Ie(u[t]),c[t]=Ie(c[t]);this._weekdaysRegex=new RegExp("^("+c.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 Jt(){return this.hours()%12||12}function Qt(){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,Jt),se("k",["kk",2],0,Qt),se("hmm",0,0,(function(){return""+Jt.apply(this)+ne(this.minutes(),2)})),se("hmmss",0,0,(function(){return""+Jt.apply(this)+ne(this.minutes(),2)+ne(this.seconds(),2)})),se("Hmm",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)})),se("Hmmss",0,0,(function(){return""+this.hours()+ne(this.minutes(),2)+ne(this.seconds(),2)})),en("a",!0),en("A",!1),$("hour","h"),ee("hour",13),Ae("a",tn),Ae("A",tn),Ae("H",ge),Ae("h",ge),Ae("k",ge),Ae("HH",ge,pe),Ae("hh",ge,pe),Ae("kk",ge,pe),Ae("hmm",ye),Ae("hmmss",be),Ae("Hmm",ye),Ae("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[qe]=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[qe]=T(e.substr(r,2)),t[ze]=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[qe]=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[qe]=T(e.substr(r,2)),t[ze]=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=Je("Hours",!0),un={calendar:j,longDateFormat:B,invalidDate:U,ordinal:z,dayOfMonthOrdinalParse:H,relativeTime:W,months:at,monthsShort:ut,week:Ct,weekdays:Mt,weekdaysMin:Zt,weekdaysShort:Dt,meridiemParse:rn},cn={},ln={};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(!cn[t]&&e&&e.exports)try{r=an._abbr,n(44009)("./"+t),hn(r)}catch(e){}return cn[t]}function hn(e,t){var n;return e&&(n=c(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!=cn[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=cn[e]._config;else if(null!=t.parentLocale){if(null==cn[t.parentLocale])return ln[t.parentLocale]||(ln[t.parentLocale]=[]),ln[t.parentLocale].push({name:e,config:t}),null;n=cn[t.parentLocale]._config}return cn[e]=new D(R(n,t)),ln[e]&&ln[e].forEach((function(e){mn(e.name,e.config)})),hn(e),cn[e]}return delete cn[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=cn[e],cn[e]=n,hn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?cn[e]=cn[e].parentLocale:null!=cn[e]&&delete cn[e]);return cn[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 A(cn)}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[Ze],n[Be])?Fe:n[Ue]<0||n[Ue]>24||24===n[Ue]&&(0!==n[qe]||0!==n[ze]||0!==n[He])?Ue:n[qe]<0||n[qe]>59?qe:n[ze]<0||n[ze]>59?ze:n[He]<0||n[He]>999?He:-1,g(e)._overflowDayOfYear&&(t<Ze||t>Fe)&&(t=Fe),g(e)._overflowWeeks&&-1===t&&(t=Ve),g(e)._overflowWeekday&&-1===t&&(t=We),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 En(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]&&kn(e),null!=e._dayOfYear&&(o=_n(e._a[Ze],r[Ze]),(e._dayOfYear>Ye(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[qe]&&0===e._a[ze]&&0===e._a[He]&&(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 kn(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[Ze],xt(Gn(),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 c=xt(Gn(),o,a);n=_n(t.gg,e._a[Ze],c.year),r=_n(t.w,c.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=kt(n,r,i,o,a),e._a[Ze]=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}/]],Nn=[["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 An(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=Nn.length;t<n;t++)if(Nn[t][1].exec(u[3])){o=(u[2]||" ")+Nn[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=[In(e),ut.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&a.push(parseInt(o,10)),a}function In(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function Rn(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}var Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jn(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 Zn(e){var t=Pn.exec(Mn(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=jn(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?(An(e),!1===e._isValid&&(delete e._isValid,Zn(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,c=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),c+=n.length),ae[o]?(n?g(e).empty=!1:g(e).unusedTokens.push(o),je(o,n,e)):e._strict&&!n&&g(e).unusedTokens.push(o);g(e).charsLeftOver=u-c,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),En(e),bn(e)}else Zn(e);else An(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 qn(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 zn(e){if(!e._d){var t=J(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)})),En(e)}}function Hn(e){var t=new k(bn(Vn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Vn(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 k(bn(t)):(d(t)?e._d=t:a(n)?qn(e):n?Fn(e):Wn(e),y(e)||(e._d=null),e))}function Wn(e){var t=e._i;c(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)})),En(e)):s(t)?zn(e):l(t)?e._d=new Date(t):i.createFromInputFallback(e)}function Yn(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,Hn(o)}function Gn(e,t,n,r){return Yn(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 Kn=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),$n=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Gn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));function Xn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Gn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function Jn(){return Xn("isBefore",[].slice.call(arguments,0))}function Qn(){return Xn("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===Ke.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=J(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,c=t.second||0,l=t.millisecond||0;this._isValid=nr(t),this._milliseconds=+l+1e3*c+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",""),Ae("Z",Te),Ae("ZZ",Te),Re(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=lr(Te,e)}));var cr=/([\+\-]|\d\d)/gi;function lr(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(cr)||["-",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():Gn(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Gn(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=lr(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=lr(Se,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function yr(e){return!!this.isValid()&&(e=e?Gn(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(!c(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Vn(e))._a){var t=e._isUTC?m(e._a):Gn(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 Er(){return!!this.isValid()&&this._isUTC}function kr(){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}:l(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[qe])*n,s:T(a[ze])*n,ms:T(sr(1e3*a[He]))*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(Gn(o.from),Gn(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 Nr(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=Nr(e,t):((n=Nr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ar(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,Qe(e,"Month")+s*n),a&&et(e,"Date",Qe(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=Ar(1,"add"),Ir=Ar(-1,"subtract");function Mr(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Rr(e,t){var n=e||Gn(),r=dr(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(I(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Gn(n)))}function Dr(){return new k(this)}function jr(e,t){var n=x(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(c(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Zr(e,t){var n=x(e)?e:Gn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=X(c(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:Gn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=X(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 qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function zr(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=X(t)){case"year":o=Hr(this,r)/12;break;case"month":o=Hr(this,r);break;case"quarter":o=Hr(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 Hr(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 Vr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Wr(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?le(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):I(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this._d.valueOf()).toISOString().replace("Z",le(n,"Z")):le(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Yr(){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 Gr(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=le(this,e);return this.localeData().postformat(t)}function Kr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Gn(e).isValid())?Tr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function $r(e){return this.from(Gn(),e)}function Xr(e,t){return this.isValid()&&(x(e)&&e.isValid()||Gn(e).isValid())?Tr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Jr(e){return this.to(Gn(),e)}function Qr(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=X(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=X(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 ci(){return this.isValid()?this.toISOString():null}function li(){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=kt(e,t,n,r,i),a=wt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function wi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}se(0,["gg",2],0,(function(){return this.weekYear()%100})),se(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),hi("gggg","weekYear"),hi("ggggg","weekYear"),hi("GGGG","isoWeekYear"),hi("GGGGG","isoWeekYear"),$("weekYear","gg"),$("isoWeekYear","GG"),ee("weekYear",1),ee("isoWeekYear",1),Ae("G",xe),Ae("g",xe),Ae("GG",ge,pe),Ae("gg",ge,pe),Ae("GGGG",we,me),Ae("gggg",we,me),Ae("GGGGG",Ee,ve),Ae("ggggg",Ee,ve),De(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=T(e)})),De(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),se("Q",0,"Qo","quarter"),$("quarter","Q"),ee("quarter",7),Ae("Q",fe),Re("Q",(function(e,t){t[Be]=3*(T(e)-1)})),se("D",["DD",2],"Do","date"),$("date","D"),ee("date",9),Ae("D",ge),Ae("DD",ge,pe),Ae("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 Ei=Je("Date",!0);function ki(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}se("DDD",["DDDD",3],"DDDo","dayOfYear"),$("dayOfYear","DDD"),ee("dayOfYear",4),Ae("DDD",_e),Ae("DDDD",he),Re(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=T(e)})),se("m",["mm",2],0,"minute"),$("minute","m"),ee("minute",14),Ae("m",ge),Ae("mm",ge,pe),Re(["m","mm"],qe);var xi=Je("Minutes",!1);se("s",["ss",2],0,"second"),$("second","s"),ee("second",15),Ae("s",ge),Ae("ss",ge,pe),Re(["s","ss"],ze);var Si,Ti=Je("Seconds",!1);for(se("S",0,0,(function(){return~~(this.millisecond()/100)})),se(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),se(0,["SSS",3],0,"millisecond"),se(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),se(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),se(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),se(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),se(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),se(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),$("millisecond","ms"),ee("millisecond",16),Ae("S",_e,fe),Ae("SS",_e,pe),Ae("SSS",_e,he),Si="SSSS";Si.length<=9;Si+="S")Ae(Si,ke);function Ci(e,t){t[He]=T(1e3*("0."+e))}for(Si="S";Si.length<=9;Si+="S")Re(Si,Ci);var Ni=Je("Milliseconds",!1);function Oi(){return this._isUTC?"UTC":""}function Ai(){return this._isUTC?"Coordinated Universal Time":""}se("z",0,0,"zoneAbbr"),se("zz",0,0,"zoneName");var Pi=k.prototype;function Li(e){return Gn(1e3*e)}function Ii(){return Gn.apply(null,arguments).parseZone()}function Mi(e){return e}Pi.add=Lr,Pi.calendar=Rr,Pi.clone=Dr,Pi.diff=zr,Pi.endOf=ri,Pi.format=Gr,Pi.from=Kr,Pi.fromNow=$r,Pi.to=Xr,Pi.toNow=Jr,Pi.get=tt,Pi.invalidAt=fi,Pi.isAfter=jr,Pi.isBefore=Zr,Pi.isBetween=Br,Pi.isSame=Fr,Pi.isSameOrAfter=Ur,Pi.isSameOrBefore=qr,Pi.isValid=li,Pi.lang=ei,Pi.locale=Qr,Pi.localeData=ti,Pi.max=$n,Pi.min=Kn,Pi.parsingFlags=di,Pi.set=nt,Pi.startOf=ni,Pi.subtract=Ir,Pi.toArray=si,Pi.toObject=ui,Pi.toDate=ai,Pi.toISOString=Wr,Pi.inspect=Yr,Pi.toJSON=ci,Pi.toString=Vr,Pi.unix=oi,Pi.valueOf=ii,Pi.creationData=pi,Pi.year=$e,Pi.isLeapYear=Xe,Pi.weekYear=mi,Pi.isoWeekYear=vi,Pi.quarter=Pi.quarters=wi,Pi.month=pt,Pi.daysInMonth=ht,Pi.week=Pi.weeks=At,Pi.isoWeek=Pi.isoWeeks=Pt,Pi.weeksInYear=yi,Pi.isoWeeksInYear=gi,Pi.date=Ei,Pi.day=Pi.days=qt,Pi.weekday=zt,Pi.isoWeekday=Ht,Pi.dayOfYear=ki,Pi.hour=Pi.hours=sn,Pi.minute=Pi.minutes=xi,Pi.second=Pi.seconds=Ti,Pi.millisecond=Pi.milliseconds=Ni,Pi.utcOffset=pr,Pi.utc=mr,Pi.local=vr,Pi.parseZone=gr,Pi.hasAlignedHourOffset=yr,Pi.isDST=br,Pi.isLocal=wr,Pi.isUtcOffset=Er,Pi.isUtc=kr,Pi.isUTC=kr,Pi.zoneAbbr=Oi,Pi.zoneName=Ai,Pi.dates=O("dates accessor is deprecated. Use date instead.",Ei),Pi.months=O("months accessor is deprecated. Use month instead",pt),Pi.years=O("years accessor is deprecated. Use year instead",$e),Pi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hr),Pi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var Ri=D.prototype;function Di(e,t,n,r){var i=gn(),o=m().set(r,t);return i[n](o,e)}function ji(e,t,n){if(l(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 Zi(e,t,n,r){"boolean"==typeof e?(l(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,l(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 ji(e,t,"months")}function Fi(e,t){return ji(e,t,"monthsShort")}function Ui(e,t,n){return Zi(e,t,n,"weekdays")}function qi(e,t,n){return Zi(e,t,n,"weekdaysShort")}function zi(e,t,n){return Zi(e,t,n,"weekdaysMin")}Ri.calendar=Z,Ri.longDateFormat=F,Ri.invalidDate=q,Ri.ordinal=V,Ri.preparse=Mi,Ri.postformat=Mi,Ri.relativeTime=Y,Ri.pastFuture=G,Ri.set=M,Ri.months=st,Ri.monthsShort=ct,Ri.monthsParse=dt,Ri.monthsRegex=yt,Ri.monthsShortRegex=vt,Ri.week=Tt,Ri.firstDayOfYear=Ot,Ri.firstDayOfWeek=Nt,Ri.weekdays=Rt,Ri.weekdaysMin=Bt,Ri.weekdaysShort=jt,Ri.weekdaysParse=Ut,Ri.weekdaysRegex=Wt,Ri.weekdaysShortRegex=Gt,Ri.weekdaysMinRegex=$t,Ri.isPM=nn,Ri.meridiem=on,hn("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===T(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=O("moment.lang is deprecated. Use moment.locale instead.",hn),i.langData=O("moment.langData is deprecated. Use moment.localeData instead.",gn);var Hi=Math.abs;function Vi(){var e=this._data;return this._milliseconds=Hi(this._milliseconds),this._days=Hi(this._days),this._months=Hi(this._months),e.milliseconds=Hi(e.milliseconds),e.seconds=Hi(e.seconds),e.minutes=Hi(e.minutes),e.hours=Hi(e.hours),e.months=Hi(e.months),e.years=Hi(e.years),this}function Wi(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 Yi(e,t){return Wi(this,e,t,1)}function Gi(e,t){return Wi(this,e,t,-1)}function Ki(e){return e<0?Math.floor(e):Math.ceil(e)}function $i(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Ki(Ji(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(Xi(a)),a-=Ki(Ji(i)),r=S(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Xi(e){return 4800*e/146097}function Ji(e){return 146097*e/4800}function Qi(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=X(e))||"year"===e)return t=this._days+r/864e5,n=this._months+Xi(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Ji(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"),co=to("y");function lo(){return Tr(this)}function fo(e){return e=X(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 Eo=Math.round,ko={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=Eo(r.as("s")),o=Eo(r.as("m")),a=Eo(r.as("h")),s=Eo(r.as("d")),u=Eo(r.as("M")),c=Eo(r.as("y")),l=i<=ko.ss&&["s",i]||i<ko.s&&["ss",i]||o<=1&&["m"]||o<ko.m&&["mm",o]||a<=1&&["h"]||a<ko.h&&["hh",a]||s<=1&&["d"]||s<ko.d&&["dd",s]||u<=1&&["M"]||u<ko.M&&["MM",u]||c<=1&&["y"]||["yy",c];return l[2]=t,l[3]=+e>0,l[4]=n,xo.apply(null,l)}function To(e){return void 0===e?Eo:"function"==typeof e&&(Eo=e,!0)}function Co(e,t){return void 0!==ko[e]&&(void 0===t?ko[e]:(ko[e]=t,"s"===e&&(ko.ss=t-1),!0))}function No(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 Ao(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,c=e,l=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var f=d<0?"-":"",p=Ao(this._months)!==Ao(d)?"-":"",h=Ao(this._days)!==Ao(d)?"-":"",m=Ao(this._milliseconds)!==Ao(d)?"-":"";return f+"P"+(o?p+o+"Y":"")+(a?p+a+"M":"")+(s?h+s+"D":"")+(u||c||l?"T":"")+(u?m+u+"H":"")+(c?m+c+"M":"")+(l?m+l+"S":"")}var Lo=or.prototype;return Lo.isValid=rr,Lo.abs=Vi,Lo.add=Yi,Lo.subtract=Gi,Lo.as=Qi,Lo.asMilliseconds=no,Lo.asSeconds=ro,Lo.asMinutes=io,Lo.asHours=oo,Lo.asDays=ao,Lo.asWeeks=so,Lo.asMonths=uo,Lo.asYears=co,Lo.valueOf=eo,Lo._bubble=$i,Lo.clone=lo,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=No,Lo.toISOString=Po,Lo.toString=Po,Lo.toJSON=Po,Lo.locale=Qr,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"),Ae("x",xe),Ae("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(Gn),i.fn=Pi,i.min=Jn,i.max=Qn,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=Ii,i.localeData=gn,i.isDuration=ar,i.monthsShort=Fi,i.weekdaysMin=zi,i.defineLocale=mn,i.updateLocale=vn,i.locales=yn,i.weekdaysShort=qi,i.normalizeUnits=X,i.relativeTimeRounding=To,i.relativeTimeThreshold=Co,i.calendarFormat=Mr,i.prototype=Pi,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},i}()},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 l(0,0),new l(0,1),new l(1,0),new l(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],c=function(){for(var e=[],t=15;t--;)e.push("");return e},l=function(e,t){l.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_=c();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=c();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=c()),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}};l.prototype=new r,l.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_})},l.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=c(),this.nonDisplayed_=c(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},l.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_},l.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},l.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},l.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},l.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},l.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},l.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},l.prototype.isNormalChar=function(e){return e>=32&&e<=127},l.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=c(),this.displayed_=c()),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},l.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)},l.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)}},l.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},l.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},l.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_]=""},l.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},e.exports={CaptionStream:o,Cea608Stream:l}},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={},c=[];return i.forEach((function(e,t){var r=n[t];c.push({mdat:e,traf:r})})),c.forEach((function(e){var n,i,c=e.mdat,l=e.traf,d=o.findBox(l,["tfhd"]),f=a.parseTfhd(d[0]),p=f.trackId,h=o.findBox(l,["tfdt"]),m=h.length>0?a.parseTfdt(h[0]).baseMediaDecodeTime:0,v=o.findBox(l,["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,c=new DataView(e.buffer,e.byteOffset,e.byteLength),l=[];for(o=0;o+4<e.length;o+=a)if(a=c.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),l.push(i)}return l}(c,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 c=t.shift();this.parse(c,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,c=n(71976).toHexString,l=n(42628);r=function(e){return l.findBox(e,["moov","trak"]).reduce((function(e,t){var n,r,i,o,a;return(n=l.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=l.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=l.findBox(t,["moof","traf"]),r=[].concat.apply([],n.map((function(t){return l.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=l.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=l.findBox(t,["moof","traf"]),i=0,o=0;if(r&&r.length)for(var a=l.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=l.findBox(e,["moov","trak"]),n=[];return t.forEach((function(e){var t=l.findBox(e,["mdia","hdlr"]),r=l.findBox(e,["tkhd"]);t.forEach((function(e,t){var i,o,a=l.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=l.findBox(e,["moov","trak"]),n=[];return t.forEach((function(e){var t,r,i={},o=l.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=l.findBox(e,["mdia","hdlr"])[0];if(a){var s=l.parseType(a.subarray(8,12));i.type="vide"===s?"video":"soun"===s?"audio":s}var d=l.findBox(e,["mdia","minf","stbl","stsd"])[0];if(d){var f=d.subarray(8);i.codec=l.parseType(f.subarray(4,8));var p,h=l.findBox(f,[i.codec])[0];h&&(/^[a-z]vc[1-9]$/i.test(i.codec)?(p=h.subarray(78),"avcC"===l.parseType(p.subarray(4,8))&&p.length>11?(i.codec+=".",i.codec+=c(p[9]),i.codec+=c(p[10]),i.codec+=c(p[11])):i.codec="avc1.4d400d"):/^mp4[a,v]$/i.test(i.codec)&&(p=h.subarray(28),"esds"===l.parseType(p.subarray(4,8))&&p.length>20&&0!==p[19]?(i.codec+="."+c(p[19]),i.codec+="."+c(p[20]>>>2&63).replace(/^0/,"")):i.codec="mp4a.40.2"))}var m=l.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:l.findBox,parseType:l.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])},c=function(e,t){var n,r,i,a,s,l=[];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?l.push(e.subarray(n+8,a)):(s=c(e.subarray(n+8,a),t.slice(1))).length&&(l=l.concat(s))),n=a;return l},l=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:l(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],c=65536&r.flags[0],l=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)),c&&(r.durationIsEmpty=!0),!i&&l&&(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],c=4&n.flags[1],l=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),l&&(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),c&&(t.flags=s(e.subarray(f,f+4)),f+=4),l&&(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=[],c=new ArrayBuffer(e.length),l=new Uint8Array(c),f=0;f<e.length;++f)l[f]=e[f];for(t=new DataView(c);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:c,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,c=function(e,t,n){for(var r,i,a,c,l=0,d=s,f=!1;d<=e.byteLength;)if(e[l]!==u||e[d]!==u&&d!==e.byteLength)l++,d++;else{if(r=e.subarray(l,d),"pes"===o.ts.parseType(r,t.pid))i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(c=o.ts.parsePesTime(r))&&(c.type="audio",n.audio.push(c),f=!0);if(f)break;l+=s,d+=s}for(l=(d=e.byteLength)-s,f=!1;l>=0;)if(e[l]!==u||e[d]!==u&&d!==e.byteLength)l--,d--;else{if(r=e.subarray(l,d),"pes"===o.ts.parseType(r,t.pid))i=o.ts.parsePesType(r,t.table),a=o.ts.parsePayloadUnitStartIndicator(r),"audio"===i&&a&&(c=o.ts.parsePesTime(r))&&(c.type="audio",n.audio.push(c),f=!0);if(f)break;l-=s,d-=s}},l=function(e,t,n){for(var r,i,a,c,l,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&&(c=o.ts.parsePesTime(r))&&(c.type="video",n.video.push(c),m=!0),!n.firstKeyFrame)){if(a&&0!==v.size){for(l=new Uint8Array(v.size),d=0;v.data.length;)f=v.data.shift(),l.set(f,d),d+=f.byteLength;if(o.ts.videoPacketContainsKeyFrame(l)){var g=o.ts.parsePesTime(l);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&&(c=o.ts.parsePesTime(r))&&(c.type="video",n.video.push(c),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=[],l(e,t,n),0===n.video.length&&delete n.video;break;case r.ADTS_STREAM_TYPE:n.audio=[],c(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,c=0;e.length-c>=3;){switch(o.aac.parseType(e,c)){case"timed-metadata":if(e.length-c<10){n=!0;break}if((u=o.aac.parseId3TagSize(e,c))>e.length){n=!0;break}null===s&&(t=e.subarray(c,c+u),s=o.aac.parseAacTimestamp(t)),c+=u;break;case"audio":if(e.length-c<7){n=!0;break}if((u=o.aac.parseAdtsSize(e,c))>e.length){n=!0;break}null===i&&(t=e.subarray(c,c+u),i=o.aac.parseSampleRate(t)),r++,c+=u;break;default:c++}if(n)return null}if(null===i||null===s)return null;var l=a/i;return{audio:[{type:"audio",dts:s,pts:s},{type:"audio",dts:s+1024*r*l,pts:s+1024*r*l}]}}(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_:c}},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},c={currentLocale:u.currentLocale,zeroFormat:u.zeroFormat,nullFormat:u.nullFormat,defaultFormat:u.defaultFormat,scalePercentBy100:u.scalePercentBy100};function l(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(c.zeroFormat&&n===c.zeroFormat)r=0;else if(c.nullFormat&&n===c.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 l(n,r)}).version=o,e.isNumeral=function(e){return e instanceof l},e._=t={numberToFormat:function(t,n,r){var i,o,a,u,c,l,d,f=s[e.options.currentLocale],p=!1,h=!1,m=0,v="",g=1e12,y=1e9,b=1e6,_=1e3,w="",E=!1;if(t=t||0,o=Math.abs(t),e._.includes(n,"(")?(p=!0,n=n.replace(/[\(|\)]/g,"")):(e._.includes(n,"+")||e._.includes(n,"-"))&&(c=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],l=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),E=!0),a.length<m)for(var k=m-a.length;k>0;k--)a="0"+a;return l>-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&&E?"(":"")+d+(p&&E?")":""):c>=0?d=0===c?(E?"-":"+")+d:d+(E?"-":"+"):E&&(d="-"+d),d},stringToNumber:function(e){var t,n,r,i=s[c.currentLocale],o=e,a={thousand:3,million:6,billion:9,trillion:12};if(c.zeroFormat&&e===c.zeroFormat)n=0;else if(c.nullFormat&&e===c.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("."),c=t-(r||0);return i=2===u.length?Math.min(Math.max(u[1].length,c),t):c,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=c,e.formats=a,e.locales=s,e.locale=function(e){return e&&(c.currentLocale=e.toLowerCase()),c.currentLocale},e.localeData=function(e){if(!e)return s[c.currentLocale];if(e=e.toLowerCase(),!s[e])throw new Error("Unknown locale : "+e);return s[e]},e.reset=function(){for(var e in u)c[e]=u[e]},e.zeroFormat=function(e){c.zeroFormat="string"==typeof e?e:null},e.nullFormat=function(e){c.nullFormat="string"==typeof e?e:null},e.defaultFormat=function(e){c.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,c,l;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{c=e.localeData(n)}catch(t){c=e.localeData(e.locale())}return o=c.currency.symbol,s=c.abbreviations,r=c.delimiters.decimal,i="."===c.delimiters.thousands?"\\.":c.delimiters.thousands,!(null!==(l=t.match(/^[^\d]+/))&&(t=t.substr(1),l[0]!==o)||null!==(l=t.match(/[^\d]+$/))&&(t=t.slice(0,-1),l[0]!==s.thousand&&l[0]!==s.million&&l[0]!==s.billion&&l[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=l.prototype={clone:function(){return e(this)},format:function(t,n){var r,i,o,s=this._value,u=t||c.defaultFormat;if(n=n||Math.round,0===s&&null!==c.zeroFormat)i=c.zeroFormat;else if(null===s&&null!==c.nullFormat)i=c.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,c=e._.includes(i,"ib")?r:n,l=e._.includes(i," b")||e._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=c.suffixes.length;a++)if(s=Math.pow(c.base,a),u=Math.pow(c.base,a+1),null===t||0===t||t>=s&&t<u){l+=c.suffixes[a],s>0&&(t/=s);break}return e._.numberToFormat(t,i,o)+l},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),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))n.call(a,l)&&(u[l]=a[l]);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,c=a<u?a:u,l=-1,d=0;d<=c;++d){if(d===c){if(u>c){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else a>c&&(47===e.charCodeAt(i+d)?l=d:0===d&&(l=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(l=d)}var p="";for(d=i+l+1;d<=o;++d)d!==o&&47!==e.charCodeAt(d)||(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+l):(s+=l,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 c=e.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===u&&(a=!1,u=r+1),s>=0&&(c===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,c=!0,l=e.length-1,d=0;l>=r;--l)if(47!==(i=e.charCodeAt(l)))-1===u&&(c=!1,u=l+1),46===i?-1===a?a=l:1!==d&&(d=1):-1!==a&&(d=-1);else if(!c){s=l+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 c=arguments.length,l=Array(c>6?c-6:0),d=6;d<c;d++)l[d-6]=arguments[d];return e.apply(void 0,[n,r,s,o,u].concat(l))}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},c=function(e,t,n,r){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(o),c=s?o.slice(0,s.index):o,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}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;l.push(s[1])}return s&&l.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 c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=i:"__proto__"!==c&&(a[c]=i):a={0:i}}i=a}return i}(l,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 l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.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(c,m)?c[m]=r.combine(c[m],v):c[m]=v}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(l),p=0;p<f.length;++p){var h=f[p],m=c(h,l[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,c=Array.prototype.push,l=function(e,t){c.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,c,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 c&&!y?c(n,p.encoder,b,"key",v):n;w=""}if("string"==typeof(_=w)||"number"==typeof _||"boolean"==typeof _||"symbol"==typeof _||"bigint"==typeof _||r.isBuffer(w)){if(c){var E=y?n:c(n,p.encoder,b,"key",v);if("comma"===i&&y){for(var k=u.call(String(w),","),x="",S=0;S<k.length;++S)x+=(0===S?"":",")+g(c(k[S],p.encoder,b,"value",v));return[g(E)+"="+x]}return[g(E)+"="+g(c(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 N=Object.keys(w);T=f?N.sort(f):N}for(var O=0;O<T.length;++O){var A=T[O],P="object"==typeof A&&void 0!==A.value?A.value:w[A];if(!a||null!==P){var L=s(w)?"function"==typeof i?i(n,A):n:n+(h?"."+A:"["+A+"]");l(C,e(P,L,i,o,a,c,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 c,d=[];if("object"!=typeof r||null===r)return"";c=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=a[c];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]||l(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 c=s[u],l=a[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}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="",c=0;c<s.length;++c){var l=s.charCodeAt(c);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?u+=s.charAt(c):l<128?u+=a[l]:l<2048?u+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?u+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(c+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(c)),u+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}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 c=0;c<u;++c){var l,d,f,p,h=e[c].replace(a,"%20"),m=h.indexOf(r);m>=0?(l=h.substr(0,m),d=h.substr(m+1)):(l=h,d=""),f=decodeURIComponent(l),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)},74249:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(77897),i=null,o=null;try{i=new Function("return function* () {}")().constructor,o=(0,r.is)(i)}catch(e){o=r.F}var a=(0,r.curryN)(1,(0,r.either)((0,r.pipe)(r.type,(0,r.identical)("GeneratorFunction")),o)),s=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)("AsyncFunction"))),u=(0,r.anyPass)([(0,r.pipe)(r.type,(0,r.identical)("Function")),a,s]),c=(0,r.curryN)(1,u(Array.isArray)?Array.isArray:(0,r.pipe)(r.type,(0,r.identical)("Array"))),l=(0,r.complement)(c),d=(0,r.when)(l,r.of)},58726:function(e,t,n){"use strict";var r=n(77897),i=(0,r.curryN)(1,(0,r.either)(r.isNil,r.isEmpty));t.Z=i},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),c=n(20793),l=n(33411);e.exports=r((function e(t){return t=a((function(t){return"function"==typeof t?t:e(t)}),t),o(c(s,0,u("length",l(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 c=t[0];if(t.length>1){var l=!u(r)&&i(c,r)?r[c]:a(t[1])?[]:{};n=e(Array.prototype.slice.call(t,1),n,l)}if(a(c)&&o(r)){var d=[].concat(r);return d[c]=n,d}return s(c,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,c,l){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,c);case 10:return new t(e,n,r,i,o,a,s,u,c,l)}})))}))},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],c=Array.prototype.slice.call(t,1);return null==n[r]?n:i(t[0])?u(r,e(c,n[r]),n):o(r,e(c,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(41392);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),c=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}),{},c(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,c){return t.apply(this,arguments)};case 10:return function(e,n,r,i,o,a,s,u,c,l){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,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=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,c,l){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()),c,l))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=c.length-1;f>=0;){if(c[f]===t)return l[f]===n;f-=1}for(c.push(t),l.push(n),f=d.length-1;f>=0;){var p=d[f];if(!o(p,n)||!e(n[p],t[p],c,l))return!1;f-=1}return c.pop(),l.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,c=n.length;u<c;){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),c=n(69082),l=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)?l(t[0],t[1]):t)},"@@transducer/result":s},function(e){if(c(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 c=function(i){var o=n.concat([t]);return r(i,o)?"<Circular>":e(i,o)},l=function(e,t){return i((function(t){return o(t)+": "+c(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+i(c,t).join(", ")+"))";case"[object Array]":return"["+i(c,t).concat(l(t,u((function(e){return/^\d+$/.test(e)}),s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+c(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?c(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+c(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+c(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"{"+l(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)}))}()},41392: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],c=i(u,a)?a[u]:a[u]=[];c[c.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,c=[],l=n&&o(r);for(s in r)!i(s,r)||l&&"length"===s||(c[c.length]=s);if(e)for(u=t.length-1;u>=0;)i(s=t[u],r)&&!a(c,s)&&(c[c.length]=s),u-=1;return c})):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),c=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}),{},c(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,c){return t.call(this,e,n,r,i,o,a,s,u,c)};case 10:return function(e,n,r,i,o,a,s,u,c,l){return t.call(this,e,n,r,i,o,a,s,u,c,l)};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 c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},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},97574: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),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),l=!n&&i(e),d=!n&&!l&&a(e),f=!n&&!l&&!d&&u(e),p=n||l||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!c.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),c=n(90234),l=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),E=(_=_==d?p:_)==p,k=(w=w==d?p:w)==p,x=_==w;if(x&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(x&&!E)return g||(g=new r),y||l(e)?i(e,t,n,m,v,g):o(e,t,_,n,m,v,g);if(!(1&n)){var S=E&&h.call(e,"__wrapped__"),T=k&&h.call(t,"__wrapped__");if(S||T){var C=S?e.value():e,N=T?t.value():t;return g||(g=new r),v(C,N,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 c=n[a];if(u&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var l=(c=n[a])[0],d=e[l],f=c[1];if(u&&c[2]){if(void 0===d&&!(l in e))return!1}else{var p=new r;if(o)var h=o(d,f,l,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,c=Object.prototype,l=u.toString,d=c.hasOwnProperty,f=RegExp("^"+l.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(65889),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}},65889: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),c=n(32771);e.exports=function(e,t){return a(e)&&s(t)?u(c(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,c=t?t():{};return u(n,e,o(s,2),c)}}},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 c=e(t,n,a);return c>-1?s[u?t[c]:c]: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 c=1&n,l=e.length,d=t.length;if(l!=d&&!(c&&d>l))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<l;){var v=e[p],g=t[p];if(a)var y=c?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),c=r?r.prototype:void 0,l=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,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,c,d,f);return f.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.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,c=r(e),l=c.length;if(l!=r(t).length&&!u)return!1;for(var d=l;d--;){var f=c[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<l;){var v=e[f=c[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(97574),u=n(6365),c=n(48345),l="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),v=c(i),g=c(o),y=c(a),b=c(s),_=u;(r&&_(new r(new ArrayBuffer(1)))!=h||i&&_(new i)!=l||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?c(n):"";if(r)switch(r){case m:return h;case v:return l;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 c=-1,l=(t=r(t,e)).length,d=!1;++c<l;){var f=u(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=l?d:!!(l=null==e?0:e.length)&&s(l)&&a(f,l)&&(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(98509)(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)}},98509: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,c=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)?c(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 c(e,t){return e+Math.random()*(t-e)}function l(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(),l=u.colors,f=u.initialVelocityX,p=u.initialVelocityY;this.context=t,this.x=r,this.y=o,this.w=c(5,20),this.h=c(5,20),this.radius=c(5,10),this.vx=c(-f,f),this.vy=c(-p,0),this.shape=(a=0,s=2,Math.floor(a+Math.random()*(s-a+1))),this.angle=c(0,360)*Math.PI/180,this.angularSpin=c(-.2,.2),this.color=l[Math.floor(Math.random()*l.length)],this.rotateY=c(0,1),this.rotationDirection=c(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()}}])&&l(t.prototype,n),o&&l(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=c(r.x,r.w+r.x),t=c(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,c=o.debug,l=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=l(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 c&&(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 E(){return(E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function k(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?k(n,!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(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 N(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 A(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 I}));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?N(e):t}(this,(n=C(t)).call.apply(n,[this,e].concat(o))),A(N(r),"canvas",a.a.createRef()),A(N(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",E({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,{}]}A(P,"defaultProps",x({},y)),A(P,"displayName","ReactConfetti");var I=a.a.forwardRef((function(e,t){return a.a.createElement(P,E({canvasRef:t},e))}));t.default=I}]).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,c=0;c<s.length;c++){var l=s[c],d=l.indexOf("=");if(!(d<0)){var f=l.substr(0,d).trim(),p=l.substr(++d,l.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 c=i.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");u+="; Max-Age="+Math.floor(c)}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 c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var u=!1,c=null,l=!1,d=null,f={onError:function(e){u=!0,c=e}};function p(e,t,n,r,i,o,a,l,d){u=!1,c=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=c;u=!1,c=null,l||(l=!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,E=_?Symbol.for("react.portal"):60106,k=_?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,N=_?Symbol.for("react.concurrent_mode"):60111,O=_?Symbol.for("react.forward_ref"):60112,A=_?Symbol.for("react.suspense"):60113,P=_?Symbol.for("react.suspense_list"):60120,L=_?Symbol.for("react.memo"):60115,I=_?Symbol.for("react.lazy"):60116,M=_?Symbol.for("react.block"):60121,R="function"==typeof Symbol&&Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}function j(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case E:return"Portal";case S:return"Profiler";case x:return"StrictMode";case A: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 j(e.type);case M:return j(e.render);case I:if(e=1===e._status?e._result:null)return j(e)}return null}function Z(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=j(e.type);n=null,r&&(n=j(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(!z[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in z[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,u=r;if(H.hasOwnProperty(u))throw Error(a(99,u));H[u]=o;var c=o.phasedRegistrationNames;if(c){for(i in c)c.hasOwnProperty(i)&&q(c[i],s,u);i=!0}else o.registrationName?(q(o.registrationName,s,u),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function q(e,t,n){if(V[e])throw Error(a(100,e));V[e]=t,W[e]=t.eventTypes[n].dependencies}var z=[],H={},V={},W={};function Y(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 G=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),K=null,$=null,X=null;function J(e){if(e=m(e)){if("function"!=typeof K)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),K(e.stateNode,e.type,t))}}function Q(e){$?X?X.push(e):X=[e]:$=e}function ee(){if($){var e=$,t=X;if(X=$=null,J(e),t)for(e=0;e<t.length;e++)J(t[e])}}function te(e,t){return e(t)}function ne(e,t,n,r,i){return e(t,n,r,i)}function re(){}var ie=te,oe=!1,ae=!1;function se(){null===$&&null===X||(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 ce=/^[: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]*$/,le=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!!le.call(fe,e)||!le.call(de,e)&&(ce.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 Ee(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 ke(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 Ne(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 Ae(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 Ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(me,ve);he[t]=new pe(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(me,ve);he[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(me,ve);he[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){he[e]=new pe(e,1,!1,e.toLowerCase(),null,!1)})),he.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){he[e]=new pe(e,1,!1,e.toLowerCase(),null,!0)}));var Me="http://www.w3.org/1999/xhtml",Re="http://www.w3.org/2000/svg";function De(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function je(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 Ze,Be,Fe=(Be=function(e,t){if(e.namespaceURI!==Re||"innerHTML"in e)e.innerHTML=t;else{for((Ze=Ze||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ze.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 qe(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ze={animationend:qe("Animation","AnimationEnd"),animationiteration:qe("Animation","AnimationIteration"),animationstart:qe("Animation","AnimationStart"),transitionend:qe("Transition","TransitionEnd")},He={},Ve={};function We(e){if(He[e])return He[e];if(!ze[e])return e;var t,n=ze[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ve)return He[e]=n[t];return e}G&&(Ve=document.createElement("div").style,"AnimationEvent"in window||(delete ze.animationend.animation,delete ze.animationiteration.animation,delete ze.animationstart.animation),"TransitionEvent"in window||delete ze.transitionend.transition);var Ye=We("animationend"),Ge=We("animationiteration"),Ke=We("animationstart"),$e=We("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Je=new("function"==typeof WeakMap?WeakMap:Map);function Qe(e){var t=Je.get(e);return void 0===t&&(t=new Map,Je.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(l)throw e=d,l=!1,d=null,e}}function ct(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!G)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=ct(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,u=0;u<z.length;u++){var c=z[u];c&&(c=c.extractEvents(r,t,o,i,a))&&(s=it(s,c))}ut(s)}}function mt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&Gt(e,t)}n.set(e,null)}}var vt,gt,yt,bt=!1,_t=[],wt=null,Et=null,kt=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(" "),Nt="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 At(e,t){switch(e){case"focus":case"blur":wt=null;break;case"dragenter":case"dragleave":Et=null;break;case"mouseover":case"mouseout":kt=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 It(e){if(null!==e.blockedOn)return!1;var t=Qt(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 Mt(e,t,n){It(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=Qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:_t.shift()}null!==wt&&It(wt)&&(wt=null),null!==Et&&It(Et)&&(Et=null),null!==kt&&It(kt)&&(kt=null),xt.forEach(Mt),St.forEach(Mt)}function Dt(e,t){e.blockedOn===t&&(e.blockedOn=null,bt||(bt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Rt)))}function jt(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!==Et&&Dt(Et,e),null!==kt&&Dt(kt,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 Zt={},Bt=new Map,Ft=new Map,Ut=["abort","abort",Ye,"animationEnd",Ge,"animationIteration",Ke,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",$e,"transitionEnd","waiting","waiting"];function qt(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),Zt[i]=o}}qt("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),qt("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),qt(Ut,2);for(var zt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ht=0;Ht<zt.length;Ht++)Ft.set(zt[Ht],0);var Vt=o.unstable_UserBlockingPriority,Wt=o.unstable_runWithPriority,Yt=!0;function Gt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Ft.get(t);switch(void 0===r?2:r){case 0:r=$t.bind(null,t,1,e);break;case 1:r=Xt.bind(null,t,1,e);break;default:r=Jt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function $t(e,t,n,r){oe||re();var i=Jt,o=oe;oe=!0;try{ne(i,e,t,n,r)}finally{(oe=o)||se()}}function Xt(e,t,n,r){Wt(Vt,Jt.bind(null,e,t,n,r))}function Jt(e,t,n,r){if(Yt)if(0<_t.length&&-1<Ct.indexOf(e))e=Ot(null,e,t,n,r),_t.push(e);else{var i=Qt(e,t,n,r);if(null===i)At(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 Et=Pt(Et,e,t,n,r,i),!0;case"mouseover":return kt=Pt(kt,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)){At(e,r),e=pt(e,r,null,t);try{ue(ht,e)}finally{ft(e)}}}}function Qt(e,t,n,r){if(null!==(n=Pn(n=ct(r)))){var i=et(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=tt(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=pt(e,r,n,t);try{ue(ht,e)}finally{ft(e)}return null}var en={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tn=["Webkit","ms","Moz","O"];function nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||en.hasOwnProperty(e)&&en[e]?(""+t).trim():t+"px"}function rn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(en).forEach((function(e){tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),en[t]=en[e]}))}));var on=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function sn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Me;function cn(e,t){var n=Qe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=W[t];for(var r=0;r<t.length;r++)mt(t[r],e,n)}function ln(){}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 En(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 kn="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),Nn="__reactInternalInstance$"+Cn,On="__reactEventHandlers$"+Cn,An="__reactContainere$"+Cn;function Pn(e){var t=e[Nn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[An]||n[Nn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Tn(e);null!==e;){if(n=e[Nn])return n;e=Tn(e)}return t}n=(e=n).parentNode}return null}function Ln(e){return!(e=e[Nn]||e[An])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function In(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Mn(e){return e[On]||null}function Rn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Dn(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=Dn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=it(n._dispatchListeners,t),n._dispatchInstances=it(n._dispatchInstances,e))}function Zn(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--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(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,Zn)}var qn=null,zn=null,Hn=null;function Vn(){if(Hn)return Hn;var e,t,n=zn,r=n.length,i="value"in qn?qn.value:qn.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 Hn=i.slice(e,1<t?1-t:void 0)}function Wn(){return!0}function Yn(){return!1}function Gn(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)?Wn:Yn,this.isPropagationStopped=Yn,this}function Kn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function $n(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Xn(e){e.eventPool=[],e.getPooled=Kn,e.release=$n}i(Gn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){this.isPersistent=Wn},isPersistent:Yn,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=Yn,this._dispatchInstances=this._dispatchListeners=null}}),Gn.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},Gn.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,Xn(n),n},Xn(Gn);var Jn=Gn.extend({data:null}),Qn=Gn.extend({data:null}),er=[9,13,27,32],tr=G&&"CompositionEvent"in window,nr=null;G&&"documentMode"in document&&(nr=document.documentMode);var rr=G&&"TextEvent"in window&&!nr,ir=G&&(!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 cr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var lr=!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 lr?ur(e,n)&&(o=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ar.compositionStart);return o?(ir&&"ko"!==n.locale&&(lr||o!==ar.compositionStart?o===ar.compositionEnd&&lr&&(i=Vn()):(zn="value"in(qn=r)?qn.value:qn.textContent,lr=!0)),o=Jn.getPooled(o,t,n,r),i?o.data=i:null!==(i=cr(n))&&(o.data=i),Un(o),i=o):i=null,(e=rr?function(e,t){switch(e){case"compositionend":return cr(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(lr)return"compositionend"===e||!tr&&ur(e,t)?(e=Vn(),Hn=zn=qn=null,lr=!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=Qn.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=Gn.getPooled(hr.change,e,t,n)).type="change",Q(n),Un(e),e}var vr=null,gr=null;function yr(e){ut(e)}function br(e){if(we(In(e)))return e}function _r(e,t){if("change"===e)return t}var wr=!1;function Er(){vr&&(vr.detachEvent("onpropertychange",kr),gr=vr=null)}function kr(e){if("value"===e.propertyName&&br(gr))if(e=mr(gr,e,ct(e)),oe)ut(e);else{oe=!0;try{te(yr,e)}finally{oe=!1,se()}}}function xr(e,t,n){"focus"===e?(Er(),gr=n,(vr=t).attachEvent("onpropertychange",kr)):"blur"===e&&Er()}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)}G&&(wr=lt("input")&&(!document.documentMode||9<document.documentMode));var Nr={eventTypes:hr,_isInputEventSupported:wr,extractEvents:function(e,t,n,r){var i=t?In(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=Gn.extend({view:null,detail:null}),Ar={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ar[e])&&!!t[e]}function Lr(){return Pr}var Ir=0,Mr=0,Rr=!1,Dr=!1,jr=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=Ir;return Ir=e.screenX,Rr?"mousemove"===e.type?e.screenX-t:0:(Rr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Mr;return Mr=e.screenY,Dr?"mousemove"===e.type?e.screenY-t:0:(Dr=!0,0)}}),Zr=jr.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=jr,u=Br.mouseLeave,c=Br.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Zr,u=Br.pointerLeave,c=Br.pointerEnter,l="pointer");if(e=null==a?o:In(a),o=null==t?o:In(t),(u=s.getPooled(u,a,n,r)).type=l+"leave",u.target=e,u.relatedTarget=o,(n=s.getPooled(c,t,n,r)).type=l+"enter",n.target=o,n.relatedTarget=e,l=t,(r=a)&&l)e:{for(c=l,a=0,e=s=r;e;e=Rn(e))a++;for(e=0,t=c;t;t=Rn(t))e++;for(;0<a-e;)s=Rn(s),a--;for(;0<e-a;)c=Rn(c),e--;for(;a--;){if(s===c||s===c.alternate)break e;s=Rn(s),c=Rn(c)}s=null}else s=null;for(c=s,s=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)s.push(r),r=Rn(r);for(r=[];l&&l!==c&&(null===(a=l.alternate)||a!==c);)r.push(l),l=Rn(l);for(l=0;l<s.length;l++)Bn(s[l],"bubbled",u);for(l=r.length;0<l--;)Bn(r[l],"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},qr=Object.prototype.hasOwnProperty;function zr(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(!qr.call(t,n[r])||!Ur(e[n[r]],t[n[r]]))return!1;return!0}var Hr=G&&"documentMode"in document&&11>=document.documentMode,Vr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wr=null,Yr=null,Gr=null,Kr=!1;function $r(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Kr||null==Wr||Wr!==dn(n)?null:("selectionStart"in(n=Wr)&&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},Gr&&zr(Gr,n)?null:(Gr=n,(e=Gn.getPooled(Vr.select,Yr,e,t)).type="select",e.target=Wr,Un(e),e))}var Xr={eventTypes:Vr,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=Qe(i),o=W.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?In(t):window,e){case"focus":(pr(i)||"true"===i.contentEditable)&&(Wr=i,Yr=t,Gr=null);break;case"blur":Gr=Yr=Wr=null;break;case"mousedown":Kr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Kr=!1,$r(n,r);case"selectionchange":if(Hr)break;case"keydown":case"keyup":return $r(n,r)}return null}},Jr=Gn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Qr=Gn.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=jr.extend({dataTransfer:null}),ai=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Lr}),si=Gn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ui=jr.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}),ci={eventTypes:Zt,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=jr;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 Ye:case Ge:case Ke:e=Jr;break;case $e:e=si;break;case"scroll":e=Or;break;case"wheel":e=ui;break;case"copy":case"cut":case"paste":e=Qr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Zr;break;default:e=Gn}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=Mn,m=Ln,v=In,Y({SimpleEventPlugin:ci,EnterLeaveEventPlugin:Fr,ChangeEventPlugin:Nr,SelectEventPlugin:Xr,BeforeInputEventPlugin:dr});var li=[],di=-1;function fi(e){0>di||(e.current=li[di],li[di]=null,di--)}function pi(e,t){di++,li[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 Ei(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,j(t)||"Unknown",o));return i({},n,{},r)}function ki(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=Ei(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,Ni=o.unstable_requestPaint,Oi=o.unstable_now,Ai=o.unstable_getCurrentPriorityLevel,Pi=o.unstable_ImmediatePriority,Li=o.unstable_UserBlockingPriority,Ii=o.unstable_NormalPriority,Mi=o.unstable_LowPriority,Ri=o.unstable_IdlePriority,Di={},ji=o.unstable_shouldYield,Zi=void 0!==Ni?Ni:function(){},Bi=null,Fi=null,Ui=!1,qi=Oi(),zi=1e4>qi?Oi:function(){return Oi()-qi};function Hi(){switch(Ai()){case Pi:return 99;case Li:return 98;case Ii:return 97;case Mi:return 96;case Ri:return 95;default:throw Error(a(332))}}function Vi(e){switch(e){case 99:return Pi;case 98:return Li;case 97:return Ii;case 96:return Mi;case 95:return Ri;default:throw Error(a(332))}}function Wi(e,t){return e=Vi(e),Si(e,t)}function Yi(e,t,n){return e=Vi(e),Ti(e,t,n)}function Gi(e){return null===Bi?(Bi=[e],Fi=Ti(Pi,$i)):Bi.push(e),Di}function Ki(){if(null!==Fi){var e=Fi;Fi=null,Ci(e)}$i()}function $i(){if(!Ui&&null!==Bi){Ui=!0;var e=0;try{var t=Bi;Wi(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,Ki),t}finally{Ui=!1}}}function Xi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Ji(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 Qi={current:null},eo=null,to=null,no=null;function ro(){no=to=eo=null}function io(e){var t=Qi.current;fi(Qi),e.type._context._currentValue=t}function oo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ao(e,t){eo=e,no=to=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ma=!0),e.firstContext=null)}function so(e,t){if(no!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(no=e,t=1073741823),t={context:e,observedBits:t,next:null},null===to){if(null===eo)throw Error(a(308));to=t,eo.dependencies={expirationTime:0,firstContext:t,responders:null}}else to=to.next=t;return e._currentValue}var uo=!1;function co(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function lo(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&&lo(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 c=o.baseState,l=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=c):p=p.next=m,s>l&&(l=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)){c=v.call(m,c,s);break e}c=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,c,s):v))break e;c=i({},c,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=c:p.next=f,o.baseState=d,o.baseQueue=p,hu(l),e.expirationTime=l,e.memoizedState=c}}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||(!zr(n,r)||!zr(i,o))}function Eo(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 ko(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,co(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 No(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Mu(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=ju(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=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 l(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Zu(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=ju(""+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 E:return(t=Zu(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===k?d(e,t,n.props.children,r,i):c(e,t,n,r):null;case E:return n.key===i?l(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===k?d(t,e,r.props.children,i,r.key):c(t,e,r,i);case E:return l(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 c=null,l=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===l?c=g:l.sibling=g,l=g,d=v}if(m===s.length)return n(i,d),c;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],u))&&(a=o(d,a,m),null===l?c=d:l.sibling=d,l=d);return c}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===l?c=v:l.sibling=v,l=v);return e&&d.forEach((function(e){return t(i,e)})),c}function v(i,s,u,c){var l=D(u);if("function"!=typeof l)throw Error(a(150));if(null==(u=l.call(u)))throw Error(a(151));for(var d=l=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,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?l=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),l;if(null===m){for(;!y.done;v++,y=u.next())null!==(y=f(i,y.value,c))&&(s=o(y,s,v),null===d?l=y:d.sibling=y,d=y);return l}for(m=r(i,m);!y.done;v++,y=u.next())null!==(y=h(m,i,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?l=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),l}return function(e,r,o,u){var c="object"==typeof o&&null!==o&&o.type===k&&null===o.key;c&&(o=o.props.children);var l="object"==typeof o&&null!==o;if(l)switch(o.$$typeof){case w:e:{for(l=o.key,c=r;null!==c;){if(c.key===l){if(7===c.tag){if(o.type===k){n(e,c.sibling),(r=i(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=i(c,o.props)).ref=To(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===k?((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 E:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Zu(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=ju(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(l&&Co(e,o),void 0===o&&!c)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=No(!0),Ao=No(!1),Po={},Lo={current:Po},Io={current:Po},Mo={current:Po};function Ro(e){if(e===Po)throw Error(a(174));return e}function Do(e,t){switch(pi(Mo,t),pi(Io,e),pi(Lo,Po),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,"");break;default:t=je(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}fi(Lo),pi(Lo,t)}function jo(){fi(Lo),fi(Io),fi(Mo)}function Zo(e){Ro(Mo.current);var t=Ro(Lo.current),n=je(t,e.type);t!==n&&(pi(Io,e),pi(Lo,n))}function Bo(e){Io.current===e&&(fi(Lo),fi(Io))}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 qo(e,t){return{responder:e,props:t}}var zo=y.ReactCurrentDispatcher,Ho=y.ReactCurrentBatchConfig,Vo=0,Wo=null,Yo=null,Go=null,Ko=!1;function $o(){throw Error(a(321))}function Xo(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 Jo(e,t,n,r,i,o){if(Vo=o,Wo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,zo.current=null===e||null===e.memoizedState?wa:Ea,e=n(r,i),t.expirationTime===Vo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Go=Yo=null,t.updateQueue=null,zo.current=ka,e=n(r,i)}while(t.expirationTime===Vo)}if(zo.current=_a,t=null!==Yo&&null!==Yo.next,Vo=0,Go=Yo=Wo=null,Ko=!1,t)throw Error(a(300));return e}function Qo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Go?Wo.memoizedState=Go=e:Go=Go.next=e,Go}function ea(){if(null===Yo){var e=Wo.alternate;e=null!==e?e.memoizedState:null}else e=Yo.next;var t=null===Go?Wo.memoizedState:Go.next;if(null!==t)Go=t,Yo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Yo=e).memoizedState,baseState:Yo.baseState,baseQueue:Yo.baseQueue,queue:Yo.queue,next:null},null===Go?Wo.memoizedState=Go=e:Go=Go.next=e}return Go}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=Yo,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,c=i;do{var l=c.expirationTime;if(l<Vo){var d={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(s=u=d,o=r):u=u.next=d,l>Wo.expirationTime&&(Wo.expirationTime=l,hu(l))}else null!==u&&(u=u.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),pu(l,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==i);null===u?o=r:u.next=s,Ur(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Ur(o,t.memoizedState)||(Ma=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ia(e){var t=Qo();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,Wo,e),[t.memoizedState,e]}function oa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Wo.updateQueue)?(t={lastEffect:null},Wo.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=Qo();Wo.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!==Yo){var a=Yo.memoizedState;if(o=a.destroy,null!==r&&Xo(r,a.deps))return void oa(t,n,o,r)}Wo.effectTag|=e,i.memoizedState=oa(1|t,n,o,r)}function ca(e,t){return sa(516,4,e,t)}function la(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 Qo().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&&Xo(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&&Xo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=Hi();Wi(98>r?98:r,(function(){e(!0)})),Wi(97<r?97:r,(function(){var r=Ho.suspense;Ho.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ho.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===Wo||null!==o&&o===Wo)Ko=!0,i.expirationTime=Vo,Wo.expirationTime=Vo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Ur(s,a))return}catch(e){}nu(e,r)}}var _a={readContext:so,useCallback:$o,useContext:$o,useEffect:$o,useImperativeHandle:$o,useLayoutEffect:$o,useMemo:$o,useReducer:$o,useRef:$o,useState:$o,useDebugValue:$o,useResponder:$o,useDeferredValue:$o,useTransition:$o},wa={readContext:so,useCallback:ma,useContext:so,useEffect:ca,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=Qo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qo();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,Wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Qo().memoizedState=e},useState:ia,useDebugValue:ha,useResponder:qo,useDeferredValue:function(e,t){var n=ia(e),r=n[0],i=n[1];return ca((function(){var n=Ho.suspense;Ho.suspense=void 0===t?null:t;try{i(e)}finally{Ho.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]}},Ea={readContext:so,useCallback:va,useContext:so,useEffect:la,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ha,useResponder:qo,useDeferredValue:function(e,t){var n=na(ta),r=n[0],i=n[1];return la((function(){var n=Ho.suspense;Ho.suspense=void 0===t?null:t;try{i(e)}finally{Ho.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]}},ka={readContext:so,useCallback:va,useContext:so,useEffect:la,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ha,useResponder:qo,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],i=n[1];return la((function(){var n=Ho.suspense;Ho.suspense=void 0===t?null:t;try{i(e)}finally{Ho.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 Na(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(!Na(e,t)){if(!(t=Sn(n.nextSibling))||!Na(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 Aa(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 Aa(e),Ta=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!En(t,e.memoizedProps))for(t=Sa;t;)Ca(e,t),t=Sn(t.nextSibling);if(Aa(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 Ia=y.ReactCurrentOwner,Ma=!1;function Ra(e,t,n,r){t.child=null===e?Ao(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=Jo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Ra(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function ja(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Iu(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,Za(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:zr)(i,r)&&e.ref===t.ref)?Ja(e,t,o):(t.effectTag|=1,(e=Mu(a,r)).ref=t.ref,e.return=t,t.child=e)}function Za(e,t,n,r,i,o){return null!==e&&zr(e.memoizedProps,r)&&e.ref===t.ref&&(Ma=!1,i<o)?(t.expirationTime=e.expirationTime,Ja(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=Jo(e,t,n,r,o,i),null===e||Ma?(t.effectTag|=1,Ra(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function Ua(e,t,n,r,i){if(bi(n)){var o=!0;ki(t)}else o=!1;if(ao(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Eo(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,c=n.contextType;"object"==typeof c&&null!==c?c=so(c):c=yi(t,c=bi(n)?gi:mi.current);var l=n.getDerivedStateFromProps,d="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&ko(t,a,r,c),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 l&&(bo(t,n,l,r),u=t.memoizedState),(s=uo||wo(t,n,s,r,f,u,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,lo(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Ji(t.type,s),u=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=so(c):c=yi(t,c=bi(n)?gi:mi.current),(d="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||u!==c)&&ko(t,a,r,c),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 l&&(bo(t,n,l,r),f=t.memoizedState),(l=uo||wo(t,n,s,r,u,f,c))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,c)),"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=c,r=l):("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 qa(e,t,n,r,o,i)}function qa(e,t,n,r,i,o){Ba(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&xi(t,n,!1),Ja(e,t,o);r=t.stateNode,Ia.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 za(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 Ha,Va,Wa,Ya={dehydrated:null,retryTime:0};function Ga(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=Ya,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Ao(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Mu(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Mu(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Ya,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=Ya,t.child=o,n}return t.memoizedState=null,t.child=Oo(t,e,o.children,n)}function Ka(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),oo(e.return,t)}function $a(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Xa(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&&Ka(e,n);else if(19===e.tag)Ka(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),$a(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Uo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$a(t,!0,n,null,o,t.lastEffect);break;case"together":$a(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ja(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&hu(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Mu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Mu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qa(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 jo(),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(Mo.current);var o=t.type;if(null!==e&&null!=t.stateNode)Va(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[Nn]=t,r[On]=s,o){case"iframe":case"object":case"embed":Gt("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)Gt(Xe[e],r);break;case"source":Gt("error",r);break;case"img":case"image":case"link":Gt("error",r),Gt("load",r);break;case"form":Gt("reset",r),Gt("submit",r);break;case"details":Gt("toggle",r);break;case"input":ke(r,s),Gt("invalid",r),cn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Gt("invalid",r),cn(n,"onChange");break;case"textarea":Pe(r,s),Gt("invalid",r),cn(n,"onChange")}for(var u in an(o,s),e=null,s)if(s.hasOwnProperty(u)){var c=s[u];"children"===u?"string"==typeof c?r.textContent!==c&&(e=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(e=["children",""+c]):V.hasOwnProperty(u)&&null!=c&&cn(n,u)}switch(o){case"input":_e(r),Te(r,s,!0);break;case"textarea":_e(r),Ie(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=ln)}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[Nn]=t,e[On]=r,Ha(e,t),t.stateNode=e,u=sn(o,r),o){case"iframe":case"object":case"embed":Gt("load",e),c=r;break;case"video":case"audio":for(c=0;c<Xe.length;c++)Gt(Xe[c],e);c=r;break;case"source":Gt("error",e),c=r;break;case"img":case"image":case"link":Gt("error",e),Gt("load",e),c=r;break;case"form":Gt("reset",e),Gt("submit",e),c=r;break;case"details":Gt("toggle",e),c=r;break;case"input":ke(e,r),c=Ee(e,r),Gt("invalid",e),cn(n,"onChange");break;case"option":c=Ne(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=i({},r,{value:void 0}),Gt("invalid",e),cn(n,"onChange");break;case"textarea":Pe(e,r),c=Ae(e,r),Gt("invalid",e),cn(n,"onChange");break;default:c=r}an(o,c);var l=c;for(s in l)if(l.hasOwnProperty(s)){var d=l[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&&(V.hasOwnProperty(s)?null!=d&&cn(n,s):null!=d&&ge(e,s,d,u))}switch(o){case"input":_e(e),Te(e,r,!1);break;case"textarea":_e(e),Ie(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 c.onClick&&(e.onclick=ln)}wn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Wa(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Ro(Mo.current),Ro(Lo.current),Pa(t)?(n=t.stateNode,r=t.memoizedProps,n[Nn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Nn]=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===Ns&&(Rs=Os):(Rs!==Ns&&Rs!==Os||(Rs=As),0!==Fs&&null!==Ls&&(Uu(Ls,Ms),qu(Ls,Fs)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),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)Qa(r,!1);else if(Rs!==Ns||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Uo(s))){for(t.effectTag|=64,Qa(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),Qa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*zi()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,Qa(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=zi()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=zi(),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(jo(),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 jo(),null;case 10:return io(e),null;default:return null}}function ns(e,t){return{value:e,source:t,stack:Z(t)}}Ha=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}},Va=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,u,c=t.stateNode;switch(Ro(Lo.current),e=null,n){case"input":a=Ee(c,a),r=Ee(c,r),e=[];break;case"option":a=Ne(c,a),r=Ne(c,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Ae(c,a),r=Ae(c,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=ln)}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 c=a[s])c.hasOwnProperty(u)&&(n||(n={}),n[u]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(V.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var l=r[s];if(c=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&l!==c&&(null!=l||null!=c))if("style"===s)if(c){for(u in c)!c.hasOwnProperty(u)||l&&l.hasOwnProperty(u)||(n||(n={}),n[u]="");for(u in l)l.hasOwnProperty(u)&&c[u]!==l[u]&&(n||(n={}),n[u]=l[u])}else n||(e||(e=[]),e.push(s,n)),n=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(e=e||[]).push(s,l)):"children"===s?c===l||"string"!=typeof l&&"number"!=typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(V.hasOwnProperty(s)?(null!=l&&cn(o,s),e||c===l||(e=[])):(e=e||[]).push(s,l))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Wa=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=Z(n)),null!==n&&j(n.type),t=t.value,null!==e&&1===e.tag&&j(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:Ji(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 cs(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:Ji(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&&jt(n)))))}throw Error(a(163))}function ls(e,t,n){switch("function"==typeof Au&&Au(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;Wi(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=ln));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,c=o,l=n,d=c;;)if(ls(u,d,l),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===c)break e;for(;null===d.sibling;){if(null===d.return||d.return===c)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(u=r,c=o.stateNode,8===u.nodeType?u.parentNode.removeChild(c):u.removeChild(c)):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(ls(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,jt(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,qs=zi()),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=Nu.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(){Hs||(Hs=!0,Vs=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===Ws?Ws=new Set([this]):Ws.add(this),is(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Es,ks=Math.ceil,xs=y.ReactCurrentDispatcher,Ss=y.ReactCurrentOwner,Ts=16,Cs=32,Ns=0,Os=3,As=4,Ps=0,Ls=null,Is=null,Ms=0,Rs=Ns,Ds=null,js=1073741823,Zs=1073741823,Bs=null,Fs=0,Us=!1,qs=0,zs=null,Hs=!1,Vs=null,Ws=null,Ys=!1,Gs=null,Ks=90,$s=null,Xs=0,Js=null,Qs=0;function eu(){return 0!=(48&Ps)?1073741821-(zi()/10|0):0!==Qs?Qs:Qs=1073741821-(zi()/10|0)}function tu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Hi();if(0==(4&t))return 99===r?1073741823:1073741822;if(0!=(Ps&Ts))return Ms;if(null!==n)e=Xi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xi(e,150,100);break;case 97:case 96:e=Xi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Ls&&e===Ms&&--e,e}function nu(e,t){if(50<Xs)throw Xs=0,Js=null,Error(a(185));if(null!==(e=ru(e,t))){var n=Hi();1073741823===t?0!=(8&Ps)&&0==(48&Ps)?su(e):(ou(e),0===Ps&&Ki()):ou(e),0==(4&Ps)||98!==n&&99!==n||(null===$s?$s=new Map([[e,t]]):(void 0===(n=$s.get(e))||n>t)&&$s.set(e,t))}}function ru(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Ls===i&&(hu(t),Rs===As&&Uu(i,Ms)),qu(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=Gi(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?Gi(su.bind(null,e)):Yi(r,au.bind(null,e),{timeout:10*(1073741821-t)-zi()}),e.callbackNode=t}}}function au(e,t){if(Qs=0,t)return zu(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(ku(),e===Ls&&n===Ms||lu(e,n),null!==Is){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,lu(e,n),Uu(e,n),ou(e),t;if(null===Is)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Rs,Ls=null,r){case Ns:case 1:throw Error(a(345));case 2:zu(e,2<n?2:n);break;case Os:if(Uu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(i)),1073741823===js&&10<(i=qs+500-zi())){if(Us){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,lu(e,n);break}}if(0!==(o=iu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=kn(_u.bind(null,e),i);break}_u(e);break;case As:if(Uu(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bu(i)),Us&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,lu(e,n);break}if(0!==(i=iu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Zs?r=10*(1073741821-Zs)-zi():1073741823===js?r=0:(r=10*(1073741821-js)-5e3,0>(r=(i=zi())-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*ks(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=kn(_u.bind(null,e),r);break}_u(e);break;case 5:if(1073741823!==js&&null!==Bs){o=js;var s=Bs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=zi()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Uu(e,n),e.timeoutHandle=kn(_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(ku(),e===Ls&&t===Ms||lu(e,t),null!==Is){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,lu(e,t),Uu(e,t),ou(e),n;if(null!==Is)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)&&Ki()}}function cu(e,t){var n=Ps;Ps&=-2,Ps|=8;try{return e(t)}finally{0===(Ps=n)&&Ki()}}function lu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Is)for(n=Is.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&_i();break;case 3:jo(),fi(vi),fi(mi);break;case 5:Bo(r);break;case 4:jo();break;case 13:case 19:fi(Fo);break;case 10:io(r)}n=n.return}Ls=e,Is=Mu(e.current,null),Ms=t,Rs=Ns,Ds=null,Zs=js=1073741823,Bs=null,Fs=0,Us=!1}function du(e,t){for(;;){try{if(ro(),zo.current=_a,Ko)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Vo=0,Go=Yo=Wo=null,Ko=!1,null===Is||null===Is.return)return Rs=1,Ds=t,Is=null;e:{var i=e,o=Is.return,a=Is,s=t;if(t=Ms,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&a.mode)){var c=a.alternate;c?(a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):a.memoizedState=null}var l=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||!l)}}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((j(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."+Z(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===Ws||!Ws.has(w)))){d.effectTag|=4096,d.expirationTime=t,ho(d,ws(d,u,t));break e}}d=d.return}while(null!==d)}Is=yu(Is)}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<js&&2<e&&(js=e),null!==t&&e<Zs&&2<e&&(Zs=e,Bs=t)}function hu(e){e>Fs&&(Fs=e)}function mu(){for(;null!==Is;)Is=gu(Is)}function vu(){for(;null!==Is&&!ji();)Is=gu(Is)}function gu(e){var t=Es(e.alternate,e,Ms);return e.memoizedProps=e.pendingProps,null===t&&(t=yu(e)),Ss.current=null,t}function yu(e){Is=e;do{var t=Is.alternate;if(e=Is.return,0==(2048&Is.effectTag)){if(t=es(t,Is,Ms),1===Ms||1!==Is.childExpirationTime){for(var n=0,r=Is.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Is.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Is.firstEffect),null!==Is.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Is.firstEffect),e.lastEffect=Is.lastEffect),1<Is.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Is:e.firstEffect=Is,e.lastEffect=Is))}else{if(null!==(t=ts(Is)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Is.sibling))return t;Is=e}while(null!==Is);return Rs===Ns&&(Rs=5),null}function bu(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function _u(e){var t=Hi();return Wi(99,wu.bind(null,e,t)),null}function wu(e,t){do{ku()}while(null!==Gs);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&&(Is=Ls=null,Ms=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Ps;Ps|=Cs,Ss.current=null,bn=Yt;var s=mn();if(vn(s)){if("selectionStart"in s)var u={start:s.selectionStart,end:s.selectionEnd};else e:{var c=(u=(u=s.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(c&&0!==c.rangeCount){u=c.anchorNode;var l=c.anchorOffset,d=c.focusNode;c=c.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!==l&&3!==g.nodeType||(p=f+l),g!==d||0!==c&&3!==g.nodeType||(h=f+c),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===l&&(p=f),y===d&&++v===c&&(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},Yt=!1,zs=i;do{try{Eu()}catch(e){if(null===zs)throw Error(a(330));Tu(zs,e),zs=zs.nextEffect}}while(null!==zs);zs=i;do{try{for(s=e,u=t;null!==zs;){var _=zs.effectTag;if(16&_&&Ue(zs.stateNode,""),128&_){var w=zs.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&_){case 2:ps(zs),zs.effectTag&=-3;break;case 6:ps(zs),zs.effectTag&=-3,gs(zs.alternate,zs);break;case 1024:zs.effectTag&=-1025;break;case 1028:zs.effectTag&=-1025,gs(zs.alternate,zs);break;case 4:gs(zs.alternate,zs);break;case 8:vs(s,l=zs,u),ds(l)}zs=zs.nextEffect}}catch(e){if(null===zs)throw Error(a(330));Tu(zs,e),zs=zs.nextEffect}}while(null!==zs);if(E=_n,w=mn(),_=E.focusedElem,u=E.selectionRange,w!==_&&_&&_.ownerDocument&&hn(_.ownerDocument.documentElement,_)){null!==u&&vn(_)&&(w=u.start,void 0===(E=u.end)&&(E=w),"selectionStart"in _?(_.selectionStart=w,_.selectionEnd=Math.min(E,_.value.length)):(E=(w=_.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),l=_.textContent.length,s=Math.min(u.start,l),u=void 0===u.end?s:Math.min(u.end,l),!E.extend&&s>u&&(l=u,u=s,s=l),l=pn(_,s),d=pn(_,u),l&&d&&(1!==E.rangeCount||E.anchorNode!==l.node||E.anchorOffset!==l.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((w=w.createRange()).setStart(l.node,l.offset),E.removeAllRanges(),s>u?(E.addRange(w),E.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),E.addRange(w))))),w=[];for(E=_;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof _.focus&&_.focus(),_=0;_<w.length;_++)(E=w[_]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Yt=!!bn,_n=bn=null,e.current=n,zs=i;do{try{for(_=e;null!==zs;){var k=zs.effectTag;if(36&k&&cs(_,zs.alternate,zs),128&k){w=void 0;var x=zs.ref;if(null!==x){var S=zs.stateNode;zs.tag,w=S,"function"==typeof x?x(w):x.current=w}}zs=zs.nextEffect}}catch(e){if(null===zs)throw Error(a(330));Tu(zs,e),zs=zs.nextEffect}}while(null!==zs);zs=null,Zi(),Ps=o}else e.current=n;if(Ys)Ys=!1,Gs=e,Ks=t;else for(zs=i;null!==zs;)t=zs.nextEffect,zs.nextEffect=null,zs=t;if(0===(t=e.firstPendingTime)&&(Ws=null),1073741823===t?e===Js?Xs++:(Xs=0,Js=e):Xs=0,"function"==typeof Ou&&Ou(n.stateNode,r),ou(e),Hs)throw Hs=!1,e=Vs,Vs=null,e;return 0!=(8&Ps)||Ki(),null}function Eu(){for(;null!==zs;){var e=zs.effectTag;0!=(256&e)&&as(zs.alternate,zs),0==(512&e)||Ys||(Ys=!0,Yi(97,(function(){return ku(),null}))),zs=zs.nextEffect}}function ku(){if(90!==Ks){var e=97<Ks?97:Ks;return Ks=90,Wi(e,xu)}}function xu(){if(null===Gs)return!1;var e=Gs;if(Gs=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,Ki(),!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===Ws||!Ws.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&&Ms===n?Rs===As||Rs===Os&&1073741823===js&&zi()-qs<500?lu(e,Ms):Us=!0:Fu(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,ou(e)))}function Nu(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)}Es=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||vi.current)Ma=!0;else{if(r<n){switch(Ma=!1,t.tag){case 3:za(t),La();break;case 5:if(Zo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:bi(t.type)&&ki(t);break;case 4:Do(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,pi(Qi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ga(e,t,n):(pi(Fo,1&Fo.current),null!==(t=Ja(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 Xa(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 Ja(e,t,n)}Ma=!1}}else Ma=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=yi(t,mi.current),ao(t,n),i=Jo(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;ki(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,co(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=qa(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 Iu(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===L)return 14}return 2}(i),e=Ji(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=ja(null,t,i,Ji(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:Ji(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ua(e,t,r,i=t.elementType===r?i:Ji(r,i),n);case 3:if(za(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,lo(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===i)La(),t=Ja(e,t,n);else{if((i=t.stateNode.hydrate)&&(Sa=Sn(t.stateNode.containerInfo.firstChild),xa=t,i=Ta=!0),i)for(n=Ao(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 Zo(t),null===e&&Oa(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,En(r,i)?s=null:null!==o&&En(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 Ga(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:Ji(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(Qi,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=Ja(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){s=u.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!=(l.observedBits&o)){1===u.tag&&((l=fo(n,null)).tag=2,po(u,l)),u.expirationTime<n&&(u.expirationTime=n),null!==(l=u.alternate)&&l.expirationTime<n&&(l.expirationTime=n),oo(u.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.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=Ji(i=t.type,t.pendingProps),ja(e,t,i,o=Ji(i.type,o),r,n);case 15:return Za(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ji(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,bi(r)?(e=!0,ki(t)):e=!1,ao(t,n),Eo(t,r,i),xo(t,r,i,n),qa(null,t,r,!0,e,n);case 19:return Xa(e,t,n)}throw Error(a(156,t.tag))};var Ou=null,Au=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 Iu(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Mu(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)Iu(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Du(n.children,i,o,t);case N: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 A:return(e=Lu(13,n,t,i)).type=A,e.elementType=A,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 I:s=16,r=null;break e;case M: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 ju(e,t,n){return(e=Lu(6,e,null,t)).expirationTime=n,e}function Zu(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 qu(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 zu(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Hu(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 c=n.type;if(bi(c)){n=Ei(n,c,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 Vu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Yu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}function Gu(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,co(i),e[An]=r.current,n&&0!==t&&function(e,t){var n=Qe(t);Ct.forEach((function(e){mt(e,t,n)})),Nt.forEach((function(e){mt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $u(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Vu(a);s.call(e)}}Hu(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 Gu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=Vu(a);u.call(e)}}cu((function(){Hu(t,a,e,i)}))}return Vu(a)}function Xu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:E,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Ju(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ku(t))throw Error(a(200));return Xu(e,t,null,n)}Gu.prototype.render=function(e){Hu(e,this._internalRoot,null,null)},Gu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Hu(null,e,null,(function(){t[An]=null}))},vt=function(e){if(13===e.tag){var t=Xi(eu(),150,100);nu(e,t),Yu(e,t)}},gt=function(e){13===e.tag&&(nu(e,3),Yu(e,3))},yt=function(e){if(13===e.tag){var t=eu();nu(e,t=tu(t,e,null)),Yu(e,t)}},K=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Mn(r);if(!i)throw Error(a(90));we(r),Se(r,i)}}}break;case"textarea":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 Wi(98,e.bind(null,t,n,r,i))}finally{0===(Ps=o)&&Ki()}},re=function(){0==(49&Ps)&&(function(){if(null!==$s){var e=$s;$s=null,e.forEach((function(e,t){zu(t,e),ou(t)})),Ki()}}(),ku())},ie=function(e,t){var n=Ps;Ps|=2;try{return e(t)}finally{0===(Ps=n)&&Ki()}};var Qu={Events:[Ln,In,Mn,Y,H,Un,function(e){ot(e,Fn)},Q,ee,Jt,ut,ku,{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){}},Au=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=Qu,t.createPortal=Ju,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 Wi(99,e.bind(null,t))}finally{Ps=n,Ki()}},t.hydrate=function(e,t,n){if(!Ku(t))throw Error(a(200));return $u(null,e,t,!0,n)},t.render=function(e,t,n){if(!Ku(t))throw Error(a(200));return $u(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ku(e))throw Error(a(40));return!!e._reactRootContainer&&(cu((function(){$u(null,null,e,!1,(function(){e._reactRootContainer=null,e[An]=null}))})),!0)},t.unstable_batchedUpdates=uu,t.unstable_createPortal=function(e,t){return Ju(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ku(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return $u(e,t,n,!1,r)},t.version="16.13.0"},73935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},57209:function(e,t,n){"use strict";var r,i=(r=n(67294))&&"object"==typeof r&&"default"in r?r.default:r;function o(e){return o.warnAboutHMRDisabled&&(o.warnAboutHMRDisabled=!0,console.error("React-Hot-Loader: misconfiguration detected, using production version in non-production environment."),console.error("React-Hot-Loader: Hot Module Replacement is not enabled.")),i.Children.only(e.children)}o.warnAboutHMRDisabled=!1;var a=function e(){return e.shouldWrapWithAppContainer?function(e){return function(t){return i.createElement(o,null,i.createElement(e,t))}}:function(e){return e}};a.shouldWrapWithAppContainer=!1;t.v6=function(){}},71570:function(e,t){t.w=function(e){return e}},69921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=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 l:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case u:return e;default:return t}}case i:return t}}}function E(e){return w(e)===d}t.AsyncMode=l,t.ConcurrentMode=d,t.ContextConsumer=c,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 E(e)||w(e)===l},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},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===c||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),c=["lines","ellipsis"],l=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,l=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)(c,l)),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}();l.displayName="LineClamp",t.default=l},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),c=t.hexToB=a(4,6),l=(t.hexToRGB=function(e){return[s(e),u(e),c(e)].join(", ")},t.getNumberPixels=function(e){return Number(e.replace(/[a-zA-Z]+/,""))}),d=t.styleProp=function(e){return function(t){return l(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=c(n(19085)),i=c(n(90621)),o=c(n(67294)),a=c(n(73935)),s=c(n(33464)),u=c(n(290));function c(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 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;l(this,t);for(var i=arguments.length,c=Array(i),f=0;f<i;f++)c[f]=arguments[f];return n=r=d(this,e.call.apply(e,[this].concat(c))),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=l(n(19085)),i=l(n(90621)),o=l(n(67294)),a=l(n(73935)),s=l(n(33464)),u=l(n(290)),c=l(n(77281));function l(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:c.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"},6526:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var r=n(67294).createContext(null)},60682:function(e,t,n){"use strict";var r=n(67294),i=(n(45697),n(6526)),o=n(86496),a=n(1881);t.Z=function(e){var t=e.store,n=e.context,s=e.children,u=(0,r.useMemo)((function(){var e=new o.Z(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),c=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,a.L)((function(){var e=u.subscription;return e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,c]);var l=n||i.E;return r.createElement(l.Provider,{value:u},s)}},26685:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(87462),i=n(63366),o=n(8679),a=n.n(o),s=n(67294),u=n(59864),c=n(86496),l=n(1881),d=n(6526),f=[],p=[null,null];function h(e,t){var n=e[1];return[t.payload,n+1]}function m(e,t,n){(0,l.L)((function(){return e.apply(void 0,t)}),n)}function v(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function g(e,t,n,r,i,o,a,s,u,c){if(e){var l=!1,d=null,f=function(){if(!l){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,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var y=function(){return[null,0]};function b(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,l=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,b=n.methodName,_=void 0===b?"connectAdvanced":b,w=n.renderCountProp,E=void 0===w?void 0:w,k=n.shouldHandleStateChanges,x=void 0===k||k,S=n.storeKey,T=void 0===S?"store":S,C=(n.withRef,n.forwardRef),N=void 0!==C&&C,O=n.context,A=void 0===O?d.E:O,P=(0,i.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),L=A;return function(t){var n=t.displayName||t.name||"Component",o=l(n),d=(0,r.Z)({},P,{getDisplayName:l,methodName:_,renderCountProp:E,shouldHandleStateChanges:x,storeKey:T,displayName:o,wrappedComponentName:n,WrappedComponent:t}),b=P.pure;var w=b?s.useMemo:function(e){return e()};function k(n){var o=(0,s.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,i.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),a=o[0],l=o[1],b=o[2],_=(0,s.useMemo)((function(){return a&&a.Consumer&&(0,u.isContextConsumer)(s.createElement(a.Consumer,null))?a:L}),[a,L]),E=(0,s.useContext)(_),k=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(E)&&Boolean(E.store);var S=k?n.store:E.store,T=(0,s.useMemo)((function(){return function(t){return e(t.dispatch,d)}(S)}),[S]),C=(0,s.useMemo)((function(){if(!x)return p;var e=new c.Z(S,k?null:E.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[S,k,E]),N=C[0],O=C[1],A=(0,s.useMemo)((function(){return k?E:(0,r.Z)({},E,{subscription:N})}),[k,E,N]),P=(0,s.useReducer)(h,f,y),I=P[0][0],M=P[1];if(I&&I.error)throw I.error;var R=(0,s.useRef)(),D=(0,s.useRef)(b),j=(0,s.useRef)(),Z=(0,s.useRef)(!1),B=w((function(){return j.current&&b===D.current?j.current:T(S.getState(),b)}),[S,I,b]);m(v,[D,R,Z,b,B,j,O]),m(g,[x,S,N,T,D,R,Z,j,O,M],[S,N,T]);var F=(0,s.useMemo)((function(){return s.createElement(t,(0,r.Z)({},B,{ref:l}))}),[l,t,B]);return(0,s.useMemo)((function(){return x?s.createElement(_.Provider,{value:A},F):F}),[_,F,A])}var S=b?s.memo(k):k;if(S.WrappedComponent=t,S.displayName=k.displayName=o,N){var C=s.forwardRef((function(e,t){return s.createElement(S,(0,r.Z)({},e,{reactReduxForwardedRef:t}))}));return C.displayName=o,C.WrappedComponent=t,a()(C,t)}return a()(S,t)}}},57034:function(e,t,n){"use strict";var r=n(87462),i=n(63366),o=n(26685),a=n(35067),s=n(55112),u=n(11743),c=n(5532),l=n(38548);function d(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 f(e,t){return e===t}function p(e){var t=void 0===e?{}:e,n=t.connectHOC,p=void 0===n?o.Z:n,h=t.mapStateToPropsFactories,m=void 0===h?u.ZP:h,v=t.mapDispatchToPropsFactories,g=void 0===v?s.ZP:v,y=t.mergePropsFactories,b=void 0===y?c.ZP:y,_=t.selectorFactory,w=void 0===_?l.ZP:_;return function(e,t,n,o){void 0===o&&(o={});var s=o,u=s.pure,c=void 0===u||u,l=s.areStatesEqual,h=void 0===l?f:l,v=s.areOwnPropsEqual,y=void 0===v?a.Z:v,_=s.areStatePropsEqual,E=void 0===_?a.Z:_,k=s.areMergedPropsEqual,x=void 0===k?a.Z:k,S=(0,i.Z)(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),T=d(e,m,"mapStateToProps"),C=d(t,g,"mapDispatchToProps"),N=d(n,b,"mergeProps");return p(w,(0,r.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:T,initMapDispatchToProps:C,initMergeProps:N,pure:c,areStatesEqual:h,areOwnPropsEqual:y,areStatePropsEqual:E,areMergedPropsEqual:x},S))}}t.Z=p()},55112:function(e,t,n){"use strict";var r=n(63480),i=n(26343);t.ZP=[function(e){return"function"==typeof e?(0,i.xv)(e,"mapDispatchToProps"):void 0},function(e){return e?void 0:(0,i.dX)((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?(0,i.dX)((function(t){return(0,r.Z)(e,t)})):void 0}]},11743:function(e,t,n){"use strict";var r=n(26343);t.ZP=[function(e){return"function"==typeof e?(0,r.xv)(e,"mapStateToProps"):void 0},function(e){return e?void 0:(0,r.dX)((function(){return{}}))}]},5532:function(e,t,n){"use strict";var r=n(87462);function i(e,t,n){return(0,r.Z)({},n,e,t)}t.ZP=[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 i}}]},38548:function(e,t,n){"use strict";n.d(t,{ZP:function(){return a}});var r=n(63366);function i(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function o(e,t,n,r,i){var o,a,s,u,c,l=i.areStatesEqual,d=i.areOwnPropsEqual,f=i.areStatePropsEqual,p=!1;function h(i,p){var h,m,v=!d(p,a),g=!l(i,o);return o=i,a=p,v&&g?(s=e(o,a),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):v?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(u=t(r,a)),c=n(s,u,a)):g?(h=e(o,a),m=!f(h,s),s=h,m&&(c=n(s,u,a)),c):c}return function(i,l){return p?h(i,l):(s=e(o=i,a=l),u=t(r,a),c=n(s,u,a),p=!0,c)}}function a(e,t){var n=t.initMapStateToProps,a=t.initMapDispatchToProps,s=t.initMergeProps,u=(0,r.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),c=n(e,u),l=a(e,u),d=s(e,u);return(u.pure?o:i)(c,l,d,e,u)}},26343:function(e,t,n){"use strict";function r(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(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=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}n.d(t,{dX:function(){return r},xv:function(){return o}})},72307:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var r=n(6526),i=n(420);function o(e){void 0===e&&(e=r.E);var t=e===r.E?i.o:(0,i.f)(e);return function(){return t().dispatch}}var a=o()},2975:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(67294),i=n(6526);function o(){return(0,r.useContext)(i.E)}},59854:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});var r=n(67294),i=n(2975),o=n(86496),a=n(1881),s=n(6526),u=function(e,t){return e===t};function c(e){void 0===e&&(e=s.E);var t=e===s.E?i.x:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=u);var i=t(),s=function(e,t,n,i){var s,u=(0,r.useReducer)((function(e){return e+1}),0)[1],c=(0,r.useMemo)((function(){return new o.Z(n,i)}),[n,i]),l=(0,r.useRef)(),d=(0,r.useRef)(),f=(0,r.useRef)(),p=(0,r.useRef)(),h=n.getState();try{if(e!==d.current||h!==f.current||l.current){var m=e(h);s=void 0!==p.current&&t(m,p.current)?p.current:m}else s=p.current}catch(e){throw l.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),e}return(0,a.L)((function(){d.current=e,f.current=h,p.current=s,l.current=void 0})),(0,a.L)((function(){function e(){try{var e=n.getState(),r=d.current(e);if(t(r,p.current))return;p.current=r,f.current=e}catch(e){l.current=e}u()}return c.onStateChange=e,c.trySubscribe(),e(),function(){return c.tryUnsubscribe()}}),[n,c]),s}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(s),s}}var l=c()},420:function(e,t,n){"use strict";n.d(t,{f:function(){return a},o:function(){return s}});var r=n(67294),i=n(6526),o=n(2975);function a(e){void 0===e&&(e=i.E);var t=e===i.E?o.x:function(){return(0,r.useContext)(e)};return function(){return t().store}}var s=a()},50533:function(e,t,n){"use strict";n.d(t,{$j:function(){return i.Z},I0:function(){return o.I},v9:function(){return a.v},zt:function(){return r.Z}});var r=n(60682),i=(n(26685),n(6526),n(57034)),o=n(72307),a=n(59854),s=(n(420),n(9256)),u=n(71679);(0,s.F)(u.m)},86496:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9256),i={notify:function(){}};var o=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=i,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(){var e,t,n;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(e=(0,r.k)(),t=null,n=null,{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=i)},e}()},9256:function(e,t,n){"use strict";n.d(t,{F:function(){return i},k:function(){return o}});var r=function(e){e()},i=function(e){return r=e},o=function(){return r}},63480:function(e,t,n){"use strict";function r(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}n.d(t,{Z:function(){return r}})},71679:function(e,t,n){"use strict";n.d(t,{m:function(){return r.unstable_batchedUpdates}});var r=n(73935)},35067:function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function i(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!r(e[n[o]],t[n[o]]))return!1;return!0}n.d(t,{Z:function(){return i}})},1881:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(67294),i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},73727:function(e,t,n){"use strict";n.d(t,{OL:function(){return y},rU:function(){return m}});var r=n(16550),i=n(94578),o=n(67294),a=n(68466),s=(n(45697),n(87462)),u=n(63366),c=n(2177);o.Component;o.Component;var l=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?(0,a.ob)(e,null,null,t):e},f=function(e){return e},p=o.forwardRef;void 0===p&&(p=f);var h=p((function(e,t){var n=e.innerRef,r=e.navigate,i=e.onClick,a=(0,u.Z)(e,["innerRef","navigate","onClick"]),c=a.target,l=(0,s.Z)({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return l.ref=f!==p&&t||n,o.createElement("a",l)}));var m=p((function(e,t){var n=e.component,i=void 0===n?h:n,a=e.replace,m=e.to,v=e.innerRef,g=(0,u.Z)(e,["component","replace","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=d(l(m,e.location),e.location),u=r?n.createHref(r):"",h=(0,s.Z)({},g,{href:u,navigate:function(){var t=l(m,e.location);(a?n.replace:n.push)(t)}});return f!==p?h.ref=t||v:h.innerRef=v,o.createElement(i,h)}))})),v=function(e){return e},g=o.forwardRef;void 0===g&&(g=v);var y=g((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,a=e.activeClassName,f=void 0===a?"active":a,p=e.activeStyle,h=e.className,y=e.exact,b=e.isActive,_=e.location,w=e.sensitive,E=e.strict,k=e.style,x=e.to,S=e.innerRef,T=(0,u.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return o.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=_||e.location,a=d(l(x,n),n),u=a.pathname,C=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),N=C?(0,r.LX)(n.pathname,{path:C,exact:y,sensitive:w,strict:E}):null,O=!!(b?b(N,n):N),A=O?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,f):h,P=O?(0,s.Z)({},k,{},p):k,L=(0,s.Z)({"aria-current":O&&i||null,className:A,style:P,to:a},T);return v!==g?L.ref=t||S:L.innerRef=S,o.createElement(m,L)}))}))},68466:function(e,t,n){"use strict";n.d(t,{lX:function(){return y},ob:function(){return d},q_:function(){return x}});var r=n(87462),i=n(96547),o=n(2177);function a(e){return"/"===e.charAt(0)?e:"/"+e}function s(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function c(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function l(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 d(e,t,n,o){var a;"string"==typeof e?(a=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),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,i.Z)(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function f(){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 p=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,t){t(window.confirm(e))}var m="popstate",v="hashchange";function g(){try{return window.history.state||{}}catch(e){return{}}}function y(e){void 0===e&&(e={}),p||(0,o.Z)(!1);var t,n=window.history,i=(-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,s=!(-1===window.navigator.userAgent.indexOf("Trident")),y=e,b=y.forceRefresh,_=void 0!==b&&b,w=y.getUserConfirmation,E=void 0===w?h:w,k=y.keyLength,x=void 0===k?6:k,S=e.basename?c(a(e.basename)):"";function T(e){var t=e||{},n=t.key,r=t.state,i=window.location,o=i.pathname+i.search+i.hash;return S&&(o=u(o,S)),d(o,r,n)}function C(){return Math.random().toString(36).substr(2,x)}var N=f();function O(e){(0,r.Z)(U,e),U.length=n.length,N.notifyListeners(U.location,U.action)}function A(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(T(e.state))}function P(){I(T(g()))}var L=!1;function I(e){if(L)L=!1,O();else{N.confirmTransitionTo(e,"POP",E,(function(t){t?O({action:"POP",location:e}):function(e){var t=U.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var i=n-r;i&&(L=!0,j(i))}(e)}))}}var M=T(g()),R=[M.key];function D(e){return S+l(e)}function j(e){n.go(e)}var Z=0;function B(e){1===(Z+=e)&&1===e?(window.addEventListener(m,A),s&&window.addEventListener(v,P)):0===Z&&(window.removeEventListener(m,A),s&&window.removeEventListener(v,P))}var F=!1;var U={length:n.length,action:"POP",location:M,createHref:D,push:function(e,t){var r="PUSH",o=d(e,t,C(),U.location);N.confirmTransitionTo(o,r,E,(function(e){if(e){var t=D(o),a=o.key,s=o.state;if(i)if(n.pushState({key:a,state:s},null,t),_)window.location.href=t;else{var u=R.indexOf(U.location.key),c=R.slice(0,u+1);c.push(o.key),R=c,O({action:r,location:o})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",o=d(e,t,C(),U.location);N.confirmTransitionTo(o,r,E,(function(e){if(e){var t=D(o),a=o.key,s=o.state;if(i)if(n.replaceState({key:a,state:s},null,t),_)window.location.replace(t);else{var u=R.indexOf(U.location.key);-1!==u&&(R[u]=o.key),O({action:r,location:o})}else window.location.replace(t)}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(e){void 0===e&&(e=!1);var t=N.setPrompt(e);return F||(B(1),F=!0),function(){return F&&(F=!1,B(-1)),t()}},listen:function(e){var t=N.appendListener(e);return B(1),function(){B(-1),t()}}};return U}var b="hashchange",_={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+s(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s,decodePath:a},slash:{encodePath:a,decodePath:a}};function w(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function k(e){window.location.replace(w(window.location.href)+"#"+e)}function x(e){void 0===e&&(e={}),p||(0,o.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),i=n.getUserConfirmation,s=void 0===i?h:i,m=n.hashType,v=void 0===m?"slash":m,g=e.basename?c(a(e.basename)):"",y=_[v],x=y.encodePath,S=y.decodePath;function T(){var e=S(E());return g&&(e=u(e,g)),d(e)}var C=f();function N(e){(0,r.Z)(F,e),F.length=t.length,C.notifyListeners(F.location,F.action)}var O=!1,A=null;function P(){var e=E(),t=x(e);if(e!==t)k(t);else{var n=T(),r=F.location;if(!O&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(r,n))return;if(A===l(n))return;A=null,function(e){if(O)O=!1,N();else{var t="POP";C.confirmTransitionTo(e,t,s,(function(n){n?N({action:t,location:e}):function(e){var t=F.location,n=R.lastIndexOf(l(t));-1===n&&(n=0);var r=R.lastIndexOf(l(e));-1===r&&(r=0);var i=n-r;i&&(O=!0,D(i))}(e)}))}}(n)}}var L=E(),I=x(L);L!==I&&k(I);var M=T(),R=[l(M)];function D(e){t.go(e)}var j=0;function Z(e){1===(j+=e)&&1===e?window.addEventListener(b,P):0===j&&window.removeEventListener(b,P)}var B=!1;var F={length:t.length,action:"POP",location:M,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=w(window.location.href)),n+"#"+x(g+l(e))},push:function(e,t){var n="PUSH",r=d(e,void 0,void 0,F.location);C.confirmTransitionTo(r,n,s,(function(e){if(e){var t=l(r),i=x(g+t);if(E()!==i){A=t,function(e){window.location.hash=e}(i);var o=R.lastIndexOf(l(F.location)),a=R.slice(0,o+1);a.push(t),R=a,N({action:n,location:r})}else N()}}))},replace:function(e,t){var n="REPLACE",r=d(e,void 0,void 0,F.location);C.confirmTransitionTo(r,n,s,(function(e){if(e){var t=l(r),i=x(g+t);E()!==i&&(A=t,k(i));var o=R.indexOf(l(F.location));-1!==o&&(R[o]=t),N({action:n,location:r})}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return B||(Z(1),B=!0),function(){return B&&(B=!1,Z(-1)),t()}},listen:function(e){var t=C.appendListener(e);return Z(1),function(){Z(-1),t()}}};return F}},96547:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var i,o=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&n(e),u=t&&n(t),c=s||u;if(e&&n(e)?a=o:o.length&&(a.pop(),a=a.concat(o)),!a.length)return"/";if(a.length){var l=a[a.length-1];i="."===l||".."===l||""===l}else i=!1;for(var d=0,f=a.length;f>=0;f--){var p=a[f];"."===p?r(a,f):".."===p?(r(a,f),d++):d&&(r(a,f),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&n(a[0])||a.unshift("");var h=a.join("/");return i&&"/"!==h.substr(-1)&&(h+="/"),h}},16550:function(e,t,n){"use strict";n.d(t,{$B:function(){return L},AW:function(){return E},EN:function(){return O},F0:function(){return y},LX:function(){return w},k6:function(){return P},rs:function(){return N},s6:function(){return g}});var r=n(94578),i=n(67294),o=(n(45697),n(59172)),a=n(42554),s=n(2177),u=n(87462),c=n(39658),l=n.n(c),d=(n(59864),n(63366)),f=n(8679),p=n.n(f),h=function(e){var t=(0,a.Z)();return t.displayName=e,t},m=h("Router-History"),v=function(e){var t=(0,a.Z)();return t.displayName=e,t},g=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,r.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 i.createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.Component);i.Component;i.Component;var b={},_=0;function w(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,c=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=b[n]||(b[n]={});if(r[e])return r[e];var i=[],o={regexp:l()(e,i,t),keys:i};return _<1e4&&(r[e]=o,_++),o}(n,{end:o,strict:s,sensitive:c}),i=r.regexp,a=r.keys,u=i.exec(e);if(!u)return null;var d=u[0],f=u.slice(1),p=e===d;return o&&!p?null:{path:n,url:"/"===n&&""===d?"/":d,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i.createElement(g.Consumer,null,(function(t){t||(0,s.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?w(n.pathname,e.props):t.match,o=(0,u.Z)({},t,{location:n,match:r}),a=e.props,c=a.children,l=a.component,d=a.render;return Array.isArray(c)&&0===c.length&&(c=null),i.createElement(g.Provider,{value:o},o.match?c?"function"==typeof c?c(o):c:l?i.createElement(l,o):d?d(o):null:"function"==typeof c?c(o):null)}))},t}(i.Component);function k(e){return"/"===e.charAt(0)?e:"/"+e}function x(e,t){if(!e)return t;var n=k(e);return 0!==t.pathname.indexOf(n)?t:(0,u.Z)({},t,{pathname:t.pathname.substr(n.length)})}function S(e){return"string"==typeof e?e:(0,o.Ep)(e)}function T(e){return function(){(0,s.Z)(!1)}}function C(){}i.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i.createElement(g.Consumer,null,(function(t){t||(0,s.Z)(!1);var n,r,o=e.props.location||t.location;return i.Children.forEach(e.props.children,(function(e){if(null==r&&i.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?w(o.pathname,(0,u.Z)({},e.props,{path:a})):t.match}})),r?i.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.Component);function O(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,d.Z)(t,["wrappedComponentRef"]);return i.createElement(g.Consumer,null,(function(t){return t||(0,s.Z)(!1),i.createElement(e,(0,u.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,p()(n,e)}var A=i.useContext;function P(){return A(m)}function L(e){var t=A(g).location,n=A(g).match;return e?w(t.pathname,e):n}},59172:function(e,t,n){"use strict";n.d(t,{Ep:function(){return o},PP:function(){return c},ob:function(){return a}});var r=n(87462),i=n(4790);function o(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 a(e,t,n,o){var a;"string"==typeof e?(a=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),a.state=t):(void 0===(a=(0,r.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,i.Z)(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function s(){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 u(e,t,n){return Math.min(Math.max(e,t),n)}function c(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,i=t.initialEntries,c=void 0===i?["/"]:i,l=t.initialIndex,d=void 0===l?0:l,f=t.keyLength,p=void 0===f?6:f,h=s();function m(e){(0,r.Z)(w,e),w.length=w.entries.length,h.notifyListeners(w.location,w.action)}function v(){return Math.random().toString(36).substr(2,p)}var g=u(d,0,c.length-1),y=c.map((function(e){return a(e,void 0,"string"==typeof e?v():e.key||v())})),b=o;function _(e){var t=u(w.index+e,0,w.entries.length-1),r=w.entries[t];h.confirmTransitionTo(r,"POP",n,(function(e){e?m({action:"POP",location:r,index:t}):m()}))}var w={length:y.length,action:"POP",location:y[g],index:g,entries:y,createHref:b,push:function(e,t){var r="PUSH",i=a(e,t,v(),w.location);h.confirmTransitionTo(i,r,n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,i):n.push(i),m({action:r,location:i,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",i=a(e,t,v(),w.location);h.confirmTransitionTo(i,r,n,(function(e){e&&(w.entries[w.index]=i,m({action:r,location:i}))}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),h.setPrompt(e)},listen:function(e){return h.appendListener(e)}};return w}},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="",l=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,E="+"===b||"*"===b,k="?"===b||"*"===b,x=n[2]||l,S=g||y;r.push({name:v||o++,prefix:m||"",delimiter:x,optional:k,repeat:E,partial:w,asterisk:!!_,pattern:S?c(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,c=0;c<e.length;c++){var l=e[c];if("string"!=typeof l){var d,f=s[l.name];if(null==f){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(r(f)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=u(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===p?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(f),!n[c].test(d))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+d+'"');o+=l.prefix+d}}else o+=l}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(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 c=e[s];if("string"==typeof c)a+=u(c);else{var f=u(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),a+=p=c.optional?c.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+"|$)",l(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 l(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 l(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(o(e,n),t,n)}(e,t,n)}},4790:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var i,o=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&n(e),u=t&&n(t),c=s||u;if(e&&n(e)?a=o:o.length&&(a.pop(),a=a.concat(o)),!a.length)return"/";if(a.length){var l=a[a.length-1];i="."===l||".."===l||""===l}else i=!1;for(var d=0,f=a.length;f>=0;f--){var p=a[f];"."===p?r(a,f):".."===p?(r(a,f),d++):d&&(r(a,f),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&n(a[0])||a.unshift("");var h=a.join("/");return i&&"/"!==h.substr(-1)&&(h+="/"),h}},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 c=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)(c)},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 c(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 d=function(e){function t(){return c(this,t),l(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),c=0;c<o;c++)u[c]=arguments[c];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.NY=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)),c=p(n(53200)),l=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,t.NY=c.default,l.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:c.default,ScrollLink:l.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),c=(n(73935),n(54259),n(87606)),l=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||l,d=function(t){function l(e){o(this,l);var t=a(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return h.call(t),t.state={active:!1},t}return s(l,t),i(l,[{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();c.isMounted(e)||c.mount(e),this.props.hashSpy&&(f.isMounted()||f.mount(n),f.mapContainer(this.props.to,e)),this.props.spy&&c.addStateHandler(this.stateHandler),c.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){c.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)}}]),l}(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 l=o.getBoundingClientRect();s=(a=l.top-u+t)+l.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()),c.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)),c.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;l.unregister(this.props.name)}},{key:"registerElems",value:function(e){l.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},c=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,(new Date).getTime())},l=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);c.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=l(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(){c.call(window,p)}),t.delay):c.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(l(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=l(n(67294)),a=(l(n(73935)),l(n(54259)),l(n(87606))),s=l(n(82628)),u=l(n(52987)),c=l(n(29678));function l(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 l.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&&(c.default.isMounted()||c.default.mount(n),c.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),l=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(!c.default.isMounted()||c.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 l=o.getBoundingClientRect();s=(a=l.top-u+t)+l.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&&c.default.getHash()===i&&c.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&&c.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={},c=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 c=e},getActiveLink:function(){return c},scrollTo:function(e,t){var n=this.get(e);if(n){var s=(t=r({},t,{absolute:!1})).containerId,u=t.container,c=void 0;c=s?document.getElementById(s):u&&u.nodeType?u:document,a.default.registered.begin&&a.default.registered.begin(e,n),t.absolute=!0;var l=i.default.scrollOffset(c,n)+(t.offset||0);if(!t.smooth)return c===document?window.scrollTo(0,l):c.scrollTop=l,void(a.default.registered.end&&a.default.registered.end(e,n));o.default.animateTopScroll(l,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 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}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 l=[],d=void 0;function f(){d=e(l.map((function(e){return e.props}))),p.canUseDOM?t(d):n&&(d=n(d))}var p=function(e){function t(){return u(this,t),c(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,l=[],e},t.prototype.shouldComponentUpdate=function(e){return!(0,a.default)(e,this.props)},t.prototype.componentWillMount=function(){l.push(this),f()},t.prototype.componentDidUpdate=function(){f()},t.prototype.componentWillUnmount=function(){var e=l.indexOf(this);l.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 c=o[u];if(!s(c))return!1;var l=e[c],d=t[c];if(!1===(i=n?n.call(r,l,d,c):void 0)||void 0===i&&l!==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 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}function l(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),c(this,e.apply(this,arguments))}return l(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),c(this,e.apply(this,arguments))}return l(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},c=t.clickHandler.bind(t,u);return i.default.createElement("li",{key:n,className:s},i.default.cloneElement(t.props.customPaging(n),{onClick:c}))}));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)),c=m(n(94184)),l=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,l.getHeight)(e)+"px"}},m.componentWillMount=function(){if(m.ssrInit(),m.props.onInit&&m.props.onInit(),m.props.lazyLoad){var e=(0,l.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 c;if(s){if(u>=a.length)break;c=a[u++]}else{if((u=a.next()).done)break;c=u.value}var l=c;if(!e.hasOwnProperty(l)){n=!0;break}if("object"!==r(e[l])&&"function"!=typeof e[l]&&e[l]!==m.props[l]){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,l.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,l.initializedState)(e);e=i({},e,r,{slideIndex:r.currentSlide});var a=(0,l.getTrackLeft)(e);e=i({},e,{left:a});var s=(0,l.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,l.getPreClones)(i({},m.props,m.state,{slideCount:m.props.children.length})),a=(0,l.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 c=0;c<m.state.currentSlide;c++)t+=n[c];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,l.getPreClones)(h)+(0,l.getPostClones)(h)+p,g=100/m.props.slidesToShow*v,y=100/v,b=-y*((0,l.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,l.getPostClones)(t);n++)if(m.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var r=m.state.currentSlide-1;r>=-(0,l.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,c=m.state.currentSlide,d=(0,l.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(c,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!==c&&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,l.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,l.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,l.swipeStart)(e,m.props.swipe,m.props.draggable);""!==t&&m.setState(t)},m.swipeMove=function(e){var t=(0,l.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,l.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,l.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,c.default)("slick-slider",m.props.className,{"slick-vertical":m.props.vertical,"slick-initialized":!0}),a=i({},m.props,m.state),s=(0,l.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,l.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,l.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,E={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},k={className:r,dir:"ltr"};return m.props.unslick&&(E={className:"slick-list"},k={className:r}),o.default.createElement("div",k,m.props.unslick?"":t,o.default.createElement("div",i({ref:m.listRefHandler},E),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=c(n(67294)),o=n(58517),a=c(n(80973)),s=c(n(23492)),u=n(15518);function c(e){return e&&e.__esModule?e:{default:e}}var l=(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){l.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){l.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=[],c=null,l=0;l<a.length;l+=e.rows*e.slidesPerRow){for(var d=[],f=l;f<l+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var p=[],h=f;h<f+e.slidesPerRow&&(e.variableWidth&&a[h].props.style&&(c=a[h].props.style.width),!(h>=a.length));h+=1)p.push(i.default.cloneElement(a[h],{key:100*l+10*f+h,tabIndex:-1,style:{width:100/e.slidesPerRow+"%",display:"inline-block"}}));d.push(i.default.createElement("div",{key:10*l+f},p))}e.variableWidth?u.push(i.default.createElement("div",{key:l,style:{width:c}},d)):u.push(i.default.createElement("div",{key:l},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 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 l=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=[],c=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||"",_=l(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=c-m;w<=(0,a.getPreClones)(e)&&c!==e.slidesToShow&&((t=-w)>=f&&(v=h),_=l(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)}}))),c!==e.slidesToShow&&((t=c+m)<p&&(v=h),_=l(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),c(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=c(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=c(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-l(e)}),c=t.lazyEndIndex=function(e){return e.currentSlide+d(e)},l=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 c=o.default.findDOMNode(e.listRef)&&p(o.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=c*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:c,listHeight:l,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,c=e.lazyLoadedList,l=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,k=void 0,x={},S={};if(i){if(!o&&(a<0||a>=u))return{};a<0?g=a+u:a>=u&&(g=a-u),l&&c.indexOf(g)<0&&c.push(g),x={animating:!0,currentSlide:g,lazyLoadedList:c},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=E(r({},e,{slideIndex:g})),k=E(r({},e,{slideIndex:y})),o||(b===k&&(g=y),b=k),l&&c.concat(s(r({},e,{currentSlide:g}))),v?(x={animating:!0,currentSlide:y,trackStyle:w(r({},e,{left:b})),lazyLoadedList:c},S={animating:!1,currentSlide:y,trackStyle:_(r({},e,{left:k})),swipeLeft:null}):x={currentSlide:y,trackStyle:_(r({},e,{left:k})),lazyLoadedList:c};return{state:x,nextState:S}},t.changeSlide=function(e,t){var n,i,o,a,s=e.slidesToScroll,u=e.slidesToShow,c=e.slideCount,l=e.currentSlide,d=e.lazyLoad,f=e.infinite;if(n=c%s!=0?0:(c-l)%s,"previous"===t.message)a=l-(o=0===n?s:u-n),d&&!f&&(a=-1===(i=l-o)?c-1:i);else if("next"===t.message)a=l+(o=0===n?s:n),d&&!f&&(a=(l+s)%c+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-=c:a<t.currentSlide&&"right"===p&&(a+=c)}}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,c=t.currentSlide,l=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,k=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={},N=E(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 A=(u?-1:1)*(w.curX>w.startX?1:-1);s&&(A=w.curY>w.startY?1:-1);var P=Math.ceil(g/y),L=h(t.touchObject,s),I=w.swipeLength;return b||(0===c&&"right"===L||c+1>=P&&"left"===L||!m(t)&&"left"===L)&&(I=w.swipeLength*l,!1===d&&f&&(f(L),C.edgeDragged=!0)),!p&&k&&(k(L),C.swiped=!0),T=o?N+I*(x/S)*A:u?N-I*A:N+I*A,s&&(T=N+I*A),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,c=t.listHeight,l=t.currentSlide,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe;if(!n)return i&&e.preventDefault(),{};var m=u?c/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,k=void 0;switch(v){case"left":case"up":k=l+y(t),_=d?g(t,k):k,b.currentDirection=0;break;case"right":case"down":k=l-y(t),_=d?g(t,k):k,b.currentDirection=1;break;default:_=l}b.triggerSlideHandler=_}else{var x=E(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},E=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,c=e.slidesToShow,l=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=-k(e),u%l!=0&&r+l>u&&(g=-(r>u?c-(r-u):u%l)),s&&(g+=parseInt(c/2))):(u%l!=0&&r+l>u&&(g=c-u%l),s&&(g=parseInt(c/2))),t=v?r*h*-1+g*h:r*d*-1+g*d,!0===p){var y,_=o.default.findDOMNode(i);if(y=r+k(e),t=(n=_&&_.childNodes[y])?-1*n.offsetLeft:0,!0===s){y=a?r+k(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},k=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:k(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-N(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},N=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,c=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)};c.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},c.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.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},c.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)},c.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)},c.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),s.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var l=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 c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}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,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},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 E="undefined"!=typeof WeakMap?new WeakMap:new r,k=function(e){if(!(this instanceof k))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=c.getInstance(),n=new w(e,t,this);E.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){return(t=E.get(this))[e].apply(t,arguments);var t}}));var x=void 0!==o.ResizeObserver?o.ResizeObserver:k;t.default=x},29697:function(e,t,n){"use strict";var r=n(87462),i=n(63366),o=n(94578),a=(n(45697),n(58255)),s=n(74277),u=n(67294),c=n(96630),l=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,s.Z)(e,t)}))},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).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,o.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(0,a.Z)(e,t)}))}(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&&l(e,r),i&&l(e,i),o&&l(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,i.Z)(e,["classNames"]));return u.createElement(c.ZP,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.Component);d.defaultProps={classNames:""},d.propTypes={},t.Z=d},96630:function(e,t,n){"use strict";var r=n(63366),i=n(94578),o=(n(45697),n(67294)),a=n(73935),s=n(6035),u=n(220),c="unmounted",l="exited",d="entering",f="entered",p="exiting",h=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=l,r.appearStatus=d):i=f:i=t.unmountOnExit||t.mountOnEnter?c:l,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:l}: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!==d&&n!==f&&(t=d):n!==d&&n!==f||(t=p)}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===d?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===l&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],u=i[1],c=this.getTimeouts(),l=r?c.appear:c.enter;!e&&!n||s.Z.disabled?this.safeSetState({status:f},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,u),this.safeSetState({status:d},(function(){t.props.onEntering(o,u),t.onTransitionEnd(l,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(o,u)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s.Z.disabled?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:l},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:l},(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:a.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],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,i=(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,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o.createElement(u.Z.Provider,{value:null},"function"==typeof n?n(e,i):o.cloneElement(o.Children.only(n),i))},t}(o.Component);function m(){}h.contextType=u.Z,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=c,h.EXITED=l,h.ENTERING=d,h.ENTERED=f,h.EXITING=p,t.ZP=h},74004:function(e,t,n){"use strict";var r=n(63366),i=n(87462),o=n(97326),a=n(94578),s=(n(45697),n(67294)),u=n(220),c=n(97803),l=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},d=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind((0,o.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,a.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?(0,c.Kg)(e,r):(0,c.Rp)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,c.n)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,i.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,r.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=l(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?s.createElement(u.Z.Provider,{value:o},a):s.createElement(u.Z.Provider,{value:o},s.createElement(t,i,a))},t}(s.Component);d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}},t.Z=d},220:function(e,t,n){"use strict";var r=n(67294);t.Z=r.createContext(null)},6035:function(e,t){"use strict";t.Z={disabled:!1}},97803:function(e,t,n){"use strict";n.d(t,{Kg:function(){return a},Rp:function(){return s},n:function(){return i}});var r=n(67294);function i(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return i(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})}))}function s(e,t,n){var a=i(e.children),s=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 c=i[u][r];s[i[u][r]]=n(c)}s[u]=n(u)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,a);return Object.keys(s).forEach((function(i){var u=s[i];if((0,r.isValidElement)(u)){var c=i in t,l=i in a,d=t[i],f=(0,r.isValidElement)(d)&&!d.props.in;!l||c&&!f?l||!c||f?l&&c&&(0,r.isValidElement)(d)&&(s[i]=(0,r.cloneElement)(u,{onExited:n.bind(null,u),in:d.props.in,exit:o(u,"exit",e),enter:o(u,"enter",e)})):s[i]=(0,r.cloneElement)(u,{in:!1}):s[i]=(0,r.cloneElement)(u,{onExited:n.bind(null,u),in:!0,exit:o(u,"exit",e),enter:o(u,"enter",e)})}})),s}},97809:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(67294),i="object"==typeof window,o=(n(38252),i?window:null),a=function(e){return!!e.addEventListener},s=function(e){return!!e.on},u=function(e,t,n,i){void 0===n&&(n=o),(0,r.useEffect)((function(){if(t&&n)return a(n)?n.addEventListener(e,t,i):s(n)&&n.on(e,t,i),function(){a(n)?n.removeEventListener(e,t,i):s(n)&&n.off(e,t,i)}}),[e,t,n,JSON.stringify(i)])}},30644:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294);function i(){var e=(0,r.useRef)(!0);return e.current?(e.current=!1,!0):e.current}},37176:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){var t=(0,r.useRef)();return(0,r.useEffect)((function(){t.current=e})),t.current}},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,c=n.target,l=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,c,l)}},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)},67411:function(e,t,n){"use strict";var r=n(67294),i=n(97734),o=n(21960),a=n.n(o);function s(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 u="above",c="inside",l="below",d="invisible";function f(e){if(e)try{r.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 p(e){return"string"==typeof e.type}var h=void 0,m=[];function v(e){m.push(e),h||(h=setTimeout((function(){h=null;for(var e=void 0;e=m.shift();)e()}),0));var t=!0;return function(){if(t){t=!1;var n=m.indexOf(e);-1!==n&&(m.splice(n,1),!m.length&&h&&(clearTimeout(h),h=null))}}}var g=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 y={topOffset:"0px",bottomOffset:"0px",horizontal:!1,onEnter:function(){},onLeave:function(){},onPositionChange:function(){},fireOnRapidScroll:!0},b=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),g(t,[{key:"componentWillMount",value:function(){f(this.props.children)}},{key:"componentDidMount",value:function(){var e=this;t.getWindow()&&(this.cancelOnNextTick=v((function(){e.cancelOnNextTick=null,function(e,t){if(e&&!p(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=(0,i.O)(e.scrollableAncestor,"scroll",e._handleScroll,{passive:!0}),e.resizeEventListenerUnsubscribe=(0,i.O)(window,"resize",e._handleScroll,{passive:!0}),e._handleScroll(null)})))}},{key:"componentWillReceiveProps",value:function(e){f(e.children)}},{key:"componentDidUpdate",value:function(){var e=this;t.getWindow()&&this.scrollableAncestor&&(this.cancelOnNextTick||(this.cancelOnNextTick=v((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,r=e.scrollableAncestor;if(r)return function(e){return"window"===e?n.g.window:e}(r);for(var i=this._ref;i.parentNode;){if((i=i.parentNode)===document.body)return window;var o=window.getComputedStyle(i),a=(t?o.getPropertyValue("overflow-x"):o.getPropertyValue("overflow-y"))||o.getPropertyValue("overflow");if("auto"===a||"scroll"===a)return i}return window}},{key:"_handleScroll",value:function(e){if(this._ref){var t=this._getBounds(),n=function(e){return e.viewportBottom-e.viewportTop==0?d:e.viewportTop<=e.waypointTop&&e.waypointTop<=e.viewportBottom||e.viewportTop<=e.waypointBottom&&e.waypointBottom<=e.viewportBottom||e.waypointTop<=e.viewportTop&&e.viewportBottom<=e.waypointBottom?c:e.viewportBottom<e.waypointTop?l:e.waypointTop<e.viewportTop?u:d}(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===c?this.props.onEnter.call(this,i):r===c&&this.props.onLeave.call(this,i);var o=r===l&&n===u,a=r===u&&n===l;this.props.fireOnRapidScroll&&(o||a)&&(this.props.onEnter.call(this,{currentPosition:c,previousPosition:r,event:e,waypointTop:t.waypointTop,waypointBottom:t.waypointBottom,viewportTop:t.viewportTop,viewportBottom:t.viewportBottom}),this.props.onLeave.call(this,{currentPosition:n,previousPosition:c,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,u=e?i:o,c=void 0,l=void 0;this.scrollableAncestor===window?(c=e?window.innerWidth:window.innerHeight,l=0):(c=e?this.scrollableAncestor.offsetWidth:this.scrollableAncestor.offsetHeight,l=e?this.scrollableAncestor.getBoundingClientRect().left:this.scrollableAncestor.getBoundingClientRect().top);var d=this.props,f=d.bottomOffset;return{waypointTop:a,waypointBottom:u,viewportTop:l+s(d.topOffset,c),viewportBottom:l+c-s(f,c)}}},{key:"render",value:function(){var e=this,t=this.props.children;if(!t)return r.createElement("span",{ref:this.refElement,style:{fontSize:0}});if(p(t)){var n=function(n){e.refElement(n),t.ref&&t.ref(n)};return r.cloneElement(t,{ref:n})}return r.cloneElement(t,{innerRef:this.refElement})}}]),t}(void 0!==r.PureComponent?r.PureComponent:r.Component);b.propTypes={children:a().node,debug:a().bool,onEnter:a().func,onLeave:a().func,onPositionChange:a().func,fireOnRapidScroll:a().bool,scrollableAncestor:a().any,horizontal:a().bool,topOffset:a().oneOfType([a().string,a().number]),bottomOffset:a().oneOfType([a().string,a().number])},b.above=u,b.below=l,b.inside=c,b.invisible=d,b.getWindow=function(){if("undefined"!=typeof window)return window},b.defaultProps=y,b.displayName="Waypoint",t.Z=b},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,c=i?Symbol.for("react.profiler"):60114,l=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 E(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 k=E.prototype=new w;k.constructor=E,r(k,_.prototype),k.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 c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];i.children=c}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 N(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g,A=[];function P(e,t,n,r){if(A.length){var i=A.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>A.length&&A.push(e)}function I(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 c=t+R(i=e[u],u);s+=I(i,c,n,r)}else if(null===e||"object"!=typeof e?c=null:c="function"==typeof(c=v&&e[v]||e["@@iterator"])?c:null,"function"==typeof c)for(e=c.call(e),u=0;!(i=e.next()).done;)s+=I(i=i.value,c=t+R(i,u++),n,r);else if("object"===i)throw n=""+e,Error(g(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function M(e,t,n){return null==e?0:I(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 j(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?Z(e,r,n,(function(e){return e})):null!=e&&(N(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 Z(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(O,"$&/")+"/"),M(e,j,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 Z(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;M(e,D,t=P(null,null,t,n)),L(t)},count:function(e){return M(e,(function(){return null}),null)},toArray:function(e){var t=[];return Z(e,t,null,(function(e){return e})),t},only:function(e){if(!N(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=s,t.Profiler=c,t.PureComponent=E,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 c=e.type.defaultProps;for(l in t)S.call(t,l)&&!T.hasOwnProperty(l)&&(i[l]=void 0===t[l]&&void 0!==c?c[l]:t[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var d=0;d<l;d++)c[d]=arguments[d+2];i.children=c}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:l,_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=N,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},14890:function(e,t,n){"use strict";n.d(t,{MT:function(){return c},UY:function(){return l},md:function(){return f}});var r=n(1413);function i(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 o="function"==typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function u(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 c(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(i(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(i(1));return n(c)(e,t)}if("function"!=typeof e)throw new Error(i(2));var a=e,l=t,d=[],f=d,p=!1;function h(){f===d&&(f=d.slice())}function m(){if(p)throw new Error(i(3));return l}function v(e){if("function"!=typeof e)throw new Error(i(4));if(p)throw new Error(i(5));var t=!0;return h(),f.push(e),function(){if(t){if(p)throw new Error(i(6));t=!1,h();var n=f.indexOf(e);f.splice(n,1),d=null}}}function g(e){if(!u(e))throw new Error(i(7));if(void 0===e.type)throw new Error(i(8));if(p)throw new Error(i(9));try{p=!0,l=a(l,e)}finally{p=!1}for(var t=d=f,n=0;n<t.length;n++){(0,t[n])()}return e}function y(e){if("function"!=typeof e)throw new Error(i(10));a=e,g({type:s.REPLACE})}function b(){var e,t=v;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(i(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[o]=function(){return this},e}return g({type:s.INIT}),(r={dispatch:g,subscribe:v,getState:m,replaceReducer:y})[o]=b,r}function l(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var a,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:s.INIT}))throw new Error(i(12));if(void 0===n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(n)}catch(e){a=e}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},s=0;s<u.length;s++){var c=u[s],l=n[c],d=e[c],f=l(d,t);if(void 0===f){t&&t.type;throw new Error(i(14))}o[c]=f,r=r||f!==d}return(r=r||u.length!==Object.keys(e).length)?o:e}}function d(){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))}}))}function f(){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),o=function(){throw new Error(i(15))},a={getState:n.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=t.map((function(e){return e(a)}));return o=d.apply(void 0,s)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:o})}}}},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=l;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===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=c(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 c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var l="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(N([])));_&&_!==n&&r.call(_,o)&&(y=_);var w=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function k(e){function t(n,i,o,a){var s=c(e[n],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(l).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=c(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 N(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}},E(k.prototype),k.prototype[a]=function(){return this},e.AsyncIterator=k,e.async=function(t,n,r,i){var o=new k(u(t,n,r,i));return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(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=N,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"),c=r.call(a,"finallyLoc");if(u&&c){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(!c)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:N(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)}},22222:function(e,t,n){"use strict";function r(e,t){return e===t}function i(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 o(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}n.d(t,{P1:function(){return a}});var a=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 a=0,s=r.pop(),u=o(r),c=e.apply(void 0,[function(){return a++,s.apply(null,arguments)}].concat(n)),l=e((function(){for(var e=[],t=u.length,n=0;n<t;n++)e.push(u[n].apply(null,arguments));return c.apply(null,e)}));return l.resultFunc=s,l.dependencies=u,l.recomputations=function(){return a},l.resetRecomputations=function(){return a=0},l}}((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return i(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}))},91033:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&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)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),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)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},f=y(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+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++){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 c=Math.round(s+o)-t,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}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(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var n,r,i,o,a,s,u,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:e,contentRect:c})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(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}(),E="undefined"!=typeof WeakMap?new WeakMap:new r,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var x=void 0!==o.ResizeObserver?o.ResizeObserver:k;t.Z=x},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),c=n(13200);function l(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 l(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={},l(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={};l(t.allowedClasses,(function(e,t){y&&(d(y,t)||(y[t]=[]),y[t].push("class")),w[t]=e}));var E,k={};l(t.transformTags,(function(e,t){var n;"function"==typeof e?n=e:"string"==typeof e&&(n=h.simpleTransform(e)),"*"===t?E=n:k[t]=n}));var x=0,S=[],T={},C={},N=!1,O=0,A=new r.Parser({onopentag:function(e,n){if(N)O++;else{var r=new g(e,n);S.push(r);var i,o=!1,h=!!r.text;d(k,e)&&(i=k[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)),E&&(i=E(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)&&(N=!0,O=1),T[x]=!0),x++,o||(v+="<"+e,(!y||d(y,e)||y["*"])&&l(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(l(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}(c.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(!N){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(N){if(--O)return;N=!1}var n=S.pop();if(n){if(N=!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 A.write(e),A.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 c(e){return e.map((function(e){return e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e}))}var l=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),c=u,l=Array.isArray(c),d=0;for(c=l?c:c[Symbol.iterator]();;){var f;if(l){if(d>=c.length)break;f=c[d++]}else{if((d=c.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(),c=u,l=Array.isArray(c),d=0;for(c=l?c:c[Symbol.iterator]();;){var f;if(l){if(d>=c.length)break;f=c[d++]}else{if((d=c.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 c=void 0;for(var l in this.indexes)e<=(c=this.indexes[l])&&(this.indexes[l]=c+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 c in this.indexes)e<(u=this.indexes[c])&&(this.indexes[c]=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=c(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 l;if(s){if(u>=a.length)break;l=a[u++]}else{if((u=a.next()).done)break;l=u.value}var d=l;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 c=n(4485);a=new c}else"decl"===e.type?a=new i.default:"comment"===e.type&&(a=new o.default);for(var l in e)"nodes"===l?a.nodes=e.nodes.map((function(e){return r.rebuild(e,a)})):"parent"===l&&t?a.parent=t:e.hasOwnProperty(l)&&(a[l]=e[l]);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=l,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),c=String(u).length;function l(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(-c)+" | ";if(r===t.line){var o=d(i.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return l(">")+d(i)+e+"\n "+o+l("^")}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 c=0,l=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||(c+=1,this.id="<input css "+c+">"),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=l,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=l(n(40429)),a=l(n(23179)),s=l(n(84133)),u=l(n(96641)),c=l(n(11665));function l(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=c.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,c=0;c<e.length;c++){var l=e[c];s?u?u=!1:"\\"===l?u=!0:l===s&&(s=!1):'"'===l||"'"===l?s=l:"("===l?a+=1:")"===l?a>0&&(a-=1):0===a&&-1!==t.indexOf(l)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=l}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),c=void 0;!1===this.mapOpts.sourcesContent?(c=new r.default.SourceMapConsumer(a.text)).sourcesContent&&(c.sourcesContent=c.sourcesContent.map((function(){return null}))):c=a.consumer(),this.map.applySourceMap(c,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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=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(c(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=l(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=c(n(85232)),i=c(n(53240)),o=c(n(91569)),a=c(n(12650)),s=c(n(71283)),u=c(n(4485));function c(e){return e&&e.__esModule?e:{default:e}}var l=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),c="",l=a;l>0;l--){var d=u[l][0];if(0===c.trim().indexOf("!")&&"space"!==d)break;c=u.pop()[1]+c}0===c.trim().indexOf("!")&&(t.important=!0,t.raws.important=c,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 c=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:a,raw:c}}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=l,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)),c=p(n(11665)),l=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=c.default,h.vendor=u.default,h.list=l.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,E=void 0,k=void 0,x=void 0,S=void 0,T=void 0,C=void 0,N=f.length,O=-1,A=1,P=0,L=[],I=[];function M(t){throw e.error("Unclosed "+t,A,P-O)}function R(){return 0===I.length&&P>=N}function D(){if(I.length)return I.pop();if(!(P>=N)){switch(((h=f.charCodeAt(P))===i||h===a||h===s&&f.charCodeAt(P+1)!==i)&&(O=P,A+=1),h){case i:case o:case 9:case s:case a:m=P;do{m+=1,(h=f.charCodeAt(m))===i&&(O=m,A+=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=["[","[",A,P-O];break;case 93:C=["]","]",A,P-O];break;case 123:C=["{","{",A,P-O];break;case 125:C=["}","}",A,P-O];break;case 58:C=[":",":",A,P-O];break;case 59:C=[";",";",A,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(k=!1,-1===(m=f.indexOf(")",m+1))){if(p){m=P;break}M("bracket")}for(x=m;f.charCodeAt(x-1)===r;)x-=1,k=!k}while(k);C=["brackets",f.slice(P,m+1),A,P-O,A,m-O],P=m}else m=f.indexOf(")",P+1),b=f.slice(P,m+1),-1===m||l.test(b)?C=["(","(",A,P-O]:(C=["brackets",b,A,P-O,A,m-O],P=m);break;case 41:C=[")",")",A,P-O];break;case n:case 34:v=h===n?"'":'"',m=P;do{if(k=!1,-1===(m=f.indexOf(v,m+1))){if(p){m=P+1;break}M("string")}for(x=m;f.charCodeAt(x-1)===r;)x-=1,k=!k}while(k);b=f.slice(P,m+1),g=b.split("\n"),(y=g.length-1)>0?(w=A+y,E=m-g[y].length):(w=A,E=O),C=["string",f.slice(P,m+1),A,P-O,w,m-E],O=E,A=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),A,P-O,A,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),A,P-O,A,m-O],P=m;break;default:47===h&&42===f.charCodeAt(P+1)?(0===(m=f.indexOf("*/",P+2)+1)&&(p?m=f.length:M("comment")),b=f.slice(P,m+1),g=b.split("\n"),(y=g.length-1)>0?(w=A+y,E=m-g[y].length):(w=A,E=O),C=["comment",b,A,P-O,w,m-E],O=E,A=w,P=m):(c.lastIndex=P+1,c.test(f),m=0===c.lastIndex?f.length-1:c.lastIndex-2,C=["word",f.slice(P,m+1),A,P-O,A,m-O],L.push(C),P=m)}return P++,C}}function j(e){I.push(e)}return{back:j,nextToken:D,endOfFile:R}};var n=39,r=92,i=10,o=32,a=12,s=13,u=/[ \n\t\r\f\{\(\)'"\\;/\[\]#]/g,c=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,l=/.[\\\/\("'\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,c=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(c,0),e}},l=Date.now();t.unstable_now=function(){return Date.now()-l},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(c,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 E=new MessageChannel,k=E.port2;E.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();w=e+_;try{y(!0,e)?k.postMessage(null):(g=!1,y=null)}catch(e){throw k.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,k.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 N=[],O=[],A=1,P=null,L=3,I=!1,M=!1,R=!1;function D(e){for(var t=S(O);null!==t;){if(null===t.callback)T(O);else{if(!(t.startTime<=e))break;T(O),t.sortIndex=t.expirationTime,x(N,t)}t=S(O)}}function j(e){if(R=!1,D(e),!M)if(null!==S(N))M=!0,n(Z);else{var t=S(O);null!==t&&r(j,t.startTime-e)}}function Z(e,n){M=!1,R&&(R=!1,i()),I=!0;var a=L;try{for(D(n),P=S(N);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(N)&&T(N),D(n)}else T(N);P=S(N)}if(null!==P)var c=!0;else{var l=S(O);null!==l&&r(j,l.startTime-n),c=!1}return c}finally{P=null,L=a,I=!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(){M||I||(M=!0,n(Z))},t.unstable_getCurrentPriorityLevel=function(){return L},t.unstable_getFirstCallbackNode=function(){return S(N)},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:A++,callback:o,priorityLevel:e,startTime:u,expirationTime:a=u+a,sortIndex:-1},u>s?(e.sortIndex=u,x(O,e),null===S(N)&&e===S(O)&&(R?i():R=!0,r(j,u-s))):(e.sortIndex=a,x(N,e),M||I||(M=!0,n(Z))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=S(N);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,c=0,l=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),c+=(o&=31)<<l,l+=5}while(i);n.value=(s=(a=c)>>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,c=a(i,o[u],!0);return 0===c?u:c>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,(l=i,d=o,Math.round(l+Math.random()*(d-l))),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 c=a+1;r(e,t,i,c-1),r(e,t,c+1,o)}var l,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 c(n,t)}function c(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),c=r.getArg(n,"sourcesContent",null),l=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=c,this._mappings=l,this._sourceMapURL=t,this.file=d}function l(){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 c.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 c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)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,c.prototype=Object.create(u.prototype),c.prototype.consumer=u,c.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},c.fromSourceMap=function(e,t){var n=Object.create(c.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 l;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},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(e,t){for(var n,i,o,u,c,d=1,f=0,p=0,h=0,m=0,v=0,g=e.length,y=0,b={},_={},w=[],E=[];y<g;)if(";"===e.charAt(y))d++,y++,f=0;else if(","===e.charAt(y))y++;else{for((n=new l).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,_),c=_.value,y=_.rest,o.push(c);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])),E.push(n),"number"==typeof n.originalLine&&w.push(n)}s(E,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.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)},c.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}},c.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}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},c.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.')},c.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],c=i.consumer._sources.at(u.source);c=r.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;u.name&&(l=i.consumer._names.at(u.name),this._names.add(l),l=this._names.indexOf(l));var d={source:c,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:l};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 c=t.source;null==c||s.has(c)||s.add(c);var l=t.name;null==l||u.has(l)||u.add(l)}),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,c=0,l=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-c),c=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-l),l=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,c=function(){return e()+(e()||"");function e(){return u<a.length?a[u++]:void 0}},l=1,d=0,f=null;return t.eachMapping((function(e){if(null!==f){if(!(l<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,c()),l++,d=0}for(;l<e.generatedLine;)r.add(c()),l++;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,c()),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 c=0,l=e.length;c<l;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===l?(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(/\/+/),c=0,l=u.length-1;l>=0;l--)"."===(a=u[l])?u.splice(l,1):".."===a?c++:c>0&&(""===a?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));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 c(e){return e}function l(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?c:function(e){return l(e)?"$"+e:e},t.fromSetString=u?c:function(e){return l(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 c(e){if(l(),0===r.listenerCount(this,"error"))throw e}function l(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",u),n.removeListener("error",c),e.removeListener("error",c),n.removeListener("end",l),n.removeListener("close",l),e.removeListener("close",l)}return n.on("error",c),e.on("error",c),n.on("end",l),n.on("close",l),e.on("close",l),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=c;var i=n(56577),o=n(20323);n(35717)(c,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var u=a[s];c.prototype[u]||(c.prototype[u]=o.prototype[u])}function c(e){if(!(this instanceof c))return new c(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",l)))}function l(){this._writableState.ended||process.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.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=k;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,c=n(40964);u=c&&c.debuglog?c.debuglog("stream"):function(){};var l,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,E=["error","close","destroy","pause","resume"];function k(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&&(l||(l=n(54729).s),this.decoder=new l(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 k(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,c=e._readableState;if(null===t)c.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,A(e)))}(e,c);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}(c,t)),o)w(e,o);else if(c.objectMode||t&&t.length>0)if("string"==typeof t||c.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)c.endEmitted?w(e,new _):T(e,c,t,!0);else if(c.ended)w(e,new y);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!n?(t=c.decoder.write(t),c.objectMode||0!==t.length?T(e,c,t,!1):P(e,c)):T(e,c,t,!1)}else r||(c.reading=!1,P(e,c));return!c.ended&&(c.length<c.highWaterMark||0===c.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){l||(l=n(54729).s);var t=new l(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 N(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(A,e))}function A(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 I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function M(e){u("readable nexttick read 0"),e.read(0)}function R(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function j(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 Z(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?Z(this):O(this),null;if(0===(e=N(e,t))&&t.ended)return 0===t.length&&Z(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=N(n,t))),null===(r=e>0?j(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&&Z(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",c),e.removeListener("error",f),e.removeListener("unpipe",a),n.removeListener("end",s),n.removeListener("end",m),n.removeListener("data",d),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function s(){u("onend"),e.end()}r.endEmitted?process.nextTick(o):n.once("end",o),e.on("unpipe",a);var c=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",c);var l=!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))&&!l&&(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(M,this))),n},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(e,t){var n=o.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(I,this),n},x.prototype.removeAllListeners=function(e){var t=o.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(I,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<E.length;o++)e.on(E[o],this.emit.bind(this,E[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=j,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=l;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 c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);u.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?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)(l,u),l.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,n){n(new i("_transform()"))},l.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)}},l.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))},l.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=k;var o={deprecate:n(94927)},a=n(83194),s=n(48764).Buffer,u=n.g.Uint8Array||function(){};var c,l=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=l.errorOrDestroy;function E(){}function k(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(A,e,t),e._writableState.errorEmitted=!0,w(e,r)):(i(r),e._writableState.errorEmitted=!0,w(e,r),A(e,t))}(e,n,r,t,i);else{var o=N(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&&!c.call(x,this))return new x(e);this._writableState=new k(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(),A(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 c=n.chunk,l=n.encoding,d=n.callback;if(S(e,t,!1,t.objectMode?1:c.length,c,l,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function N(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"),A(e,t)}))}function A(e,t){var n=N(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),k.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(k.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]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===x&&(e&&e._writableState instanceof k)}})):c=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=E),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 c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,u,r,i,o);return c}(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,A(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=l.destroy,x.prototype._undestroy=l.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"),c=Symbol("ended"),l=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[l]=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[c])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[l];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[c]?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[l]=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,c,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var r=n[f].read();r?(n[l]=null,n[a]=null,n[s]=null,e(p(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[l]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[l]=null,n[a]=null,n[s]=null,t(e)),void(n[u]=e)}var r=n[a];null!==r&&(n[l]=null,n[a]=null,n[s]=null,r(p(void 0,!0))),n[c]=!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,c;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),c&&o(t,c),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||l()},c=t._writableState&&t._writableState.finished,l=function(){s=!1,c=!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&&!c?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},m=function(){t.req.on("finish",l)};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",l),t.on("abort",h),t.req?m():t.on("request",m)),t.on("end",f),t.on("finish",l),!1!==n.error&&t.on("error",p),t.on("close",h),function(){t.removeListener("complete",l),t.removeListener("abort",h),t.removeListener("request",m),t.req&&t.req.removeListener("finish",l),t.removeListener("end",u),t.removeListener("close",u),t.removeListener("finish",l),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 c(e){e()}function l(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(c),o||(a.forEach(c),i(r))}))}));return t.reduce(l)}},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=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},71169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},32553:function(e,t,n){"use strict";var r=n(89509).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=l,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function l(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n||-2===i)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},5238:function(e){e.exports=function(){"use strict";var e=Math.cos,t=Math.sin,n=Math.pow,r=Math.abs,i=Math.sqrt,o=Math.asin,a=Math.PI,s=Math.max,u=Math.min,c=Math.round,l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},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":l(e))||"function"==typeof e?h[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":l(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 E(e){return!b(e)&&"object"===m(e)}function k(e,t){return e&&e.hasOwnProperty(t)}function x(e,t,n){if(null==e)return e;var r=n||e;if(E(e)){for(var i in e)if(k(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 N=!("undefined"==typeof window||!window.document||!window.document.createElement),O=function(){if(!N)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}(),A=N?window:null,P=N?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 I(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(e)return(null==t?P:t).querySelectorAll(e)}function M(e,t){for(var n=(e.document||e.ownerDocument).querySelectorAll(t),r=n.length;--r>=0&&n.item(r)!==e;);return r>-1}var R={y:"scrollTop",x:"scrollLeft"},D={y:"pageYOffset",x:"pageXOffset"};function j(e){return e===P.documentElement||e===P.body}function Z(){var e=A.outerWidth,t=A.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]:I(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/Z(),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 q(e){return s(e.scrollHeight,e.clientHeight,e.offsetHeight)}function z(e){return s(e.scrollWidth,e.clientWidth,e.offsetWidth)}function H(e){return{width:z(e),height:q(e)}}function V(){return{width:s(z(P.body),z(P.documentElement)),height:s(q(P.body),q(P.documentElement))}}function W(e){return j(e)?{viewport:{width:u(A.innerWidth,P.documentElement.clientWidth),height:A.innerHeight},size:V()}:{viewport:{width:e.clientWidth,height:e.clientHeight},size:H(e)}}function Y(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 G(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 K(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||j(t))i=e.ownerDocument.documentElement,r.top=A.pageYOffset,r.left=A.pageXOffset;else{var o=(i=t).getBoundingClientRect();r.top=-1*o.top+i.scrollTop,r.left=-1*o.left+i.scrollLeft}return{top:n.top+r.top-i.clientTop,left:n.left+r.left-i.clientLeft}}return n}function $(e,t,n){t.split(",").forEach((function(t){e.addEventListener(t.trim(),n,!1)}))}function X(e,t,n){t.split(",").forEach((function(t){e.removeEventListener(t.trim(),n,!1)}))}function J(e){return e}function Q(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 ce(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n}function le(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,c){var l=1.70158,d=0,f=u;return 0===i?s:1==(i/=c)?s+u:(d||(d=.3*c),f<r(u)?(f=u,l=d/4):l=d/(2*a)*o(u/f),-f*n(2,10*(i-=1))*t(2*a*(i*c-l)/d)+s)}function we(e,i,s,u,c){var l=1.70158,d=0,f=u;return 0===i?s:1==(i/=c)?s+u:(d||(d=.3*c),f<r(u)?(f=u,l=d/4):l=d/(2*a)*o(u/f),f*n(2,-10*i)*t(2*a*(i*c-l)/d)+u+s)}function Ee(e,i,s,u,c){var l=1.70158,d=0,f=u;return 0===i?s:2==(i/=c/2)?s+u:(d||(d=c*(.3*1.5)),f<r(u)?(f=u,l=d/4):l=d/(2*a)*o(u/f),i<1?f*n(2,10*(i-=1))*t(2*a*(i*c-l)/d)*-.5+s:f*n(2,-10*(i-=1))*t(2*a*(i*c-l)/d)*.5+u+s)}function ke(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 Ne(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:J,InQuad:Q,OutQuad:ee,InOutQuad:te,InCubic:ne,OutCubic:re,InOutCubic:ie,InQuart:oe,OutQuart:ae,InOutQuart:se,InQuint:ue,OutQuint:ce,InOutQuint:le,InSine:de,OutSine:fe,InOutSine:pe,InExpo:he,OutExpo:me,InOutExpo:ve,InCirc:ge,OutCirc:ye,InOutCirc:be,InElastic:_e,OutElastic:we,InOutElastic:Ee,InBack:ke,OutBack:xe,InOutBack:Se,OutBounce:Te,InBounce:Ce,InOutBounce:Ne}),Ae=["ms","moz","webkit"],Pe=0,Le=N?A.requestAnimationFrame:null,Ie=N?A.cancelAnimationFrame:null;if(N){for(var Me=0;Me<Ae.length&&!Le;++Me)Le=A[Ae[Me]+"RequestAnimationFrame"],Ie=A[Ae[Me]+"CancelAnimationFrame"]||A[Ae[Me]+"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}),Ie||(Ie=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,Ie(this.rafId),e&&(G(this.el,this.props.x,"x"),G(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,l=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=l(m,d*m,0,1,d);p[t]=c(n+r*i)})),x(p,(function(e,t){G(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:Y(this.el,"x"),y:Y(this.el,"y")};if(this.options.quickMode){var i=W(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=(N?"onwheel"in P?"wheel":"onmousewheel"in P?"mousewheel":"DOMMouseScroll":"wheel")+", touchstart, touchmove",je=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=!N,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=K(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-H(r).height)),o):null}},{key:"normalizeScrollOffset",value:function(e,t){var n=this.container,r=S({},e),i=W(n),o=i.viewport,a=i.size;return r.top=t.verticalScroll?s(0,u(a.height-o.height,r.top)):Y(n,"y"),r.left=t.horizontalScroll?s(0,u(a.width-o.width,r.left)):Y(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!==A.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=K(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(k(e,"top")||k(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=Y(this.container,t?"y":"x"),s=r.match(/^(\+|-)=(\d+)$/),u=s[1],c=parseInt(s[2],10);"+"===u?(n.top=t?a+c:0,n.left=t?0:a+c):(n.top=t?a-c:0,n.left=t?0:a-c)}}return n.top=parseInt(n.top,10),n.left=parseInt(n.left,10),n}},{key:"updateURLHash",value:function(e,t){!this.isSSR&&O&&t&&A.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),$(e,"click",this._containerClickListener))}},{key:"unbindContainerClick",value:function(){var e=this.container;e&&this._containerClickListener&&(X(e,"click",this._containerClickListener),this._containerClickListener=null)}},{key:"bindContainerStop",value:function(){var e=this.container;e&&(this._stopScrollListener=this.handleStopScroll.bind(this),$(e,De,this._stopScrollListener))}},{key:"unbindContainerStop",value:function(){var e=this.container;e&&this._stopScrollListener&&(X(e,De,this._stopScrollListener),this._stopScrollListener=null)}},{key:"hook",value:function(e,t){for(var n=e[t],r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(y(n)){var a=n.apply(this,i);if(void 0===a)return a}return this[t].apply(this,i)}},{key:"handleStopScroll",value:function(e){(this._options?this._options.stopScroll:this.options.stopScroll)?this.stop():e.preventDefault()}},{key:"handleContainerClick",value:function(e){for(var t=this.options,n=e.target;n&&n!==P;n=n.parentNode)if(M(n,t.trigger)){var r=n.getAttribute("data-scroll"),i=this.parseDataOptions(n),o=r||n.getAttribute("href");(t=S({},t,i)).preventDefault&&e.preventDefault(),t.stopPropagation&&e.stopPropagation(),this._trigger=n,t.horizontalScroll&&t.verticalScroll?this.to(o,t):t.verticalScroll?this.toTop(o,t):t.horizontalScroll&&this.toLeft(o,t)}}},{key:"parseDataOptions",value:function(e){var t=e.getAttribute("data-scroll-options");return t?JSON.parse(t):{}}}]),e}();return je.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},je}()},2177:function(e,t){"use strict";var n="Invariant failed";t.Z=function(e,t){if(!e)throw new Error(n)}},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 l},__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 k},__importStar:function(){return E},__makeTemplateObject:function(){return w},__metadata:function(){return c},__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 c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(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,c):l(o[0][2],e)}(i[e](t))}catch(e){l(o[0][3],e)}}function u(e){s("next",e)}function c(e){s("throw",e)}function l(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 E(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 k(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[l]=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"},c=function(e){return u[e]},l="__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,c)}o.append=function(e,t){f(this[l],e,t)},o.delete=function(e){delete this[l][e]},o.get=function(e){var t=this[l];return e in t?t[e][0]:null},o.getAll=function(e){var t=this[l];return e in t?t[e].slice(0):[]},o.has=function(e){return e in this[l]},o.set=function(e,t){this[l][e]=[""+t]},o.forEach=function(e,t){var n=this[l];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[l],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 c={scheme:s.scheme,netLoc:a.netLoc,path:null,params:a.params,query:a.query,fragment:a.fragment};if(!a.netLoc&&(c.netLoc=s.netLoc,"/"!==a.path[0]))if(a.path){var l=s.path,d=l.substring(0,l.lastIndexOf("/")+1)+a.path;c.path=o.normalizePath(d)}else c.path=s.path,a.params||(c.params=s.params,a.query||(c.query=s.query));return null===c.path&&(c.path=r.alwaysNormalize?o.normalizePath(a.path):a.path),o.buildURLFromParts(c)},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,c=/^xn--/,l=/[^\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 E(e){var t,n,r,i,o,a,c,l,d,f,h,v=[],g=e.length,y=0,_=128,E=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,c=u;i>=g&&m("invalid-input"),((l=(h=e.charCodeAt(i++))-48<10?h-22:h-65<26?h-65:h-97<26?h-97:u)>=u||l>p((s-y)/a))&&m("overflow"),y+=l*a,!(l<(d=c<=E?1:c>=E+26?26:c-E));c+=u)a>p(s/(f=u-d))&&m("overflow"),a*=f;E=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 k(e){var t,n,r,i,o,a,c,l,d,f,v,g,b,E,k,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(c=s,a=0;a<g;++a)(v=e[a])>=t&&v<c&&(c=v);for(c-t>p((s-n)/(b=r+1))&&m("overflow"),n+=(c-t)*b,t=c,a=0;a<g;++a)if((v=e[a])<t&&++n>s&&m("overflow"),v==t){for(l=n,d=u;!(l<(f=d<=o?1:d>=o+26?26:d-o));d+=u)k=l-f,E=u-f,x.push(h(_(f+k%E,0))),l=p(k/E);x.push(h(_(l,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:E,encode:k,toASCII:function(e){return g(e,(function(e){return l.test(e)?"xn--"+k(e):e}))},toUnicode:function(e){return g(e,(function(e){return c.test(e)?E(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),c=["%","/","?",";","#"].concat(u),l=["/","?","#"],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,E=0;E<l.length;E++){-1!==(k=i.indexOf(l[E]))&&(-1===w||k<w)&&(w=k)}-1!==(_=-1===w?i.lastIndexOf("@"):i.lastIndexOf("@",w))&&(b=i.slice(0,_),i=i.slice(_+1),this.auth=decodeURIComponent(b)),w=-1;for(E=0;E<c.length;E++){var k;-1!==(k=i.indexOf(c[E]))&&(-1===w||k<w)&&(w=k)}-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=(E=0,S.length);E<T;E++){var C=S[E];if(C&&!C.match(d)){for(var N="",O=0,A=C.length;O<A;O++)C.charCodeAt(O)>127?N+="x":N+=C[O];if(!N.match(d)){var P=S.slice(0,E),L=S.slice(E+1),I=C.match(f);I&&(P.push(I[1]),L.unshift(I[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 M=this.hostname.split("."),R=[];for(E=0;E<M.length;++E){var D=M[E];R.push(D.match(/[^A-Za-z0-9_-]/)?"xn--"+r.encode(D):D)}this.hostname=R.join(".")}var j=this.port?":"+this.port:"",Z=this.hostname||"";this.host=Z+j,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!p[s])for(E=0,T=u.length;E<T;E++){var B=u[E],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 q=i.indexOf("?");if(-1!==q?(this.search=i.substr(q),this.query=i.substr(q+1),t&&(this.query=v.parse(this.query)),i=i.slice(0,q)):t&&(this.search="",this.query={}),i&&(this.pathname=i),m[s]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){j=this.pathname||"",D=this.search||"";this.path=j+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),c=u||s||n.host&&e.pathname,l=c,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),c=c&&(""===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(!c&&!l)for(;g--;g)d.unshift("..");!c||""===d[0]||d[0]&&"/"===d[0].charAt(0)||d.unshift(""),v&&"/"!==d.join("/").substr(-1)&&d.push("");var w,E=""===d[0]||d[0]&&"/"===d[0].charAt(0);f&&(n.hostname=n.host=E?"":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(c=c||n.host&&d.length)&&!E&&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 Mu}});var r=n(92661),i=n.n(r),o=n(39561),a=n.n(o),s=n(87462),u=n(97326),c=n(94578),l=n(75974),d=n.n(l),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),E=n(49945),k=n.n(E),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 N=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}(N),A=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=A(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=A(t[1]),n.attributes.RESOLUTION){var c=n.attributes.RESOLUTION.split("x"),l={};c[0]&&(l.width=parseInt(c[0],10)),c[1]&&(l.height=parseInt(c[1],10)),n.attributes.RESOLUTION=l}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=A(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=A(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=A(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}(N);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 I=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:{}},c=0;return t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]},t.parseStream.on("data",(function(e){var t,l;({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,c=e.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number})},"playlist-type":function(){/VOD|EVENT/.test(e.playlistType)?this.manifest.playlistType=e.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist})},map:function(){n={},e.uri&&(n.uri=e.uri),e.byterange&&(n.byterange=e.byterange)},"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"]],(l={default:/yes/i.test(e.attributes.DEFAULT)}).default?l.autoselect=!0:l.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(l.language=e.attributes.LANGUAGE),e.attributes.URI&&(l.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(l.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(l.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(l.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=l}else this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){c+=1,a.discontinuity=!0,this.manifest.discontinuityStarts.push(o.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),a.dateTimeString=e.dateTimeString,a.dateTimeObject=e.dateTimeObject},targetduration:function(){!isFinite(e.duration)||e.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration}):this.manifest.targetDuration=e.duration},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=c,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}(N),M=n(49972),R=n.n(M),D=n(47927),j=n.n(D),Z=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)}),[])},q=function(e){if(!e.length)return[];for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},z="INVALID_NUMBER_OF_PERIOD",H="DASH_EMPTY_MANIFEST",V="DASH_INVALID_XML",W="NO_BASE_URL",Y="SEGMENT_TIME_UNSPECIFIED",G="UNSUPPORTED_UTC_TIMING_SCHEME",K=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,c={uri:i,resolvedUri:R()(n||"",i)};if(a||u){var l=(a||u).split("-"),d=parseInt(l[0],10),f=parseInt(l[1],10);c.byterange={length:f-d+1,offset:d}}return c},$={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,c=e.minimumUpdatePeriod,l=void 0===c?0:c,d=e.timeShiftBufferDepth,f=void 0===d?1/0:d,p=(t+n)/1e3,h=r+u,m=p+l-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)}}},X=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=$[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 c=u.length-1;u[c].duration=a-r/o*c}return u},J=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,c=e.duration;if(!t)throw new Error(W);var l=K({baseUrl:t,source:r.sourceURL,range:r.range}),d=K({baseUrl:t,source:t,indexRange:u});if(d.map=l,c){var f=X(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]},Q=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,c=t.references.filter((function(e){return 1!==e.referenceType})),l=[],d=s+t.firstOffset,f=0;f<c.length;f++){var p=t.references[f],h=p.referencedSize,m=p.subsegmentDuration,v=J({baseUrl:n,timescale:u,timeline:o,periodIndex:o,duration:m,sourceDuration:i,indexRange:d+"-"+(d+h-1)})[0];r&&(v.map=r),l.push(v),d+=h}return e.segments=l,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&&Q(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,c=void 0===u?0:u,l=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(l,t),minimumUpdatePeriod:1e3*c};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,c=void 0===u?0:u,l=e.minimumUpdatePeriod,d=(r+i)/1e3+(void 0===l?0:l)-(o+c);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,c=e.timescale,l=void 0===c?1:c,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 E=v+1;w=E===t.length?"dynamic"===r&&o>0&&s.indexOf("$Number$")>0?oe(e,m,y):(u*l-m)/y:(t[E].t-m)/y}else w=b+1;for(var k=f+h.length+w,x=f+h.length;x<k;)h.push({number:x,duration:y/l,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))},ce=function(e,t){var n={RepresentationID:e.id,Bandwidth:e.bandwidth||0},r=e.initialization,i=void 0===r?{sourceURL:"",range:""}:r,o=K({baseUrl:e.baseUrl,source:ue(i.sourceURL,n),range:i.range}),a=function(e,t){return e.duration||t?e.duration?X(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}}))},le=function(e,t){var n=e.duration,r=e.segmentUrls,i=void 0===r?[]:r;if(!n&&!t||n&&t)throw new Error(Y);var o,a=i.map((function(t){return function(e,t){var n=e.baseUrl,r=e.initialization,i=void 0===r?{}:r,o=K({baseUrl:n,source:i.sourceURL,range:i.range}),a=K({baseUrl:n,source:t.media,range:t.mediaRange});return a.map=o,a}(e,t)}));return n&&(o=X(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=ce,t=F(r,i.template)):i.base?(n=J,t=F(r,i.base)):i.list&&(n=le,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,c=s.timescale,l=void 0===c?1:c;t.duration=u/l}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 q(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?q(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],c=t&&ve(t);c&&u?c.initialization=u&&ve(u):c&&c.initialization&&(c.initialization={sourceURL:c.initialization});var l={template:c,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(l).forEach((function(e){l[e]||delete l[e]})),l},_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),c=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&&j()(o);e[r].pssh=a}}return e}),{});Object.keys(c).length&&(u=F(u,{contentProtection:c}));var l=be(r),d=fe(r,"Representation"),f=F(n,l);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,c=fe(e,"Period");if(!c.length)throw new Error(z);var l=ve(e),d=ye([i],fe(e,"BaseURL"));return l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=a,l.clientOffset=u,U(c.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}),c=fe(n,"AdaptationSet"),l=be(n);return U(c.map(_e(u,i,l)))}}(l,d)))},Ee=function(e){if(""===e)throw new Error(H);var t=(new Z.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(V);return n},ke=function(e,t){return void 0===t&&(t={}),ie(we(Ee(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(G)}return n}(Ee(e))},Se=n(42628),Te=n.n(Se),Ce=n(47661),Ne=n.n(Ce),Oe=n(66659),Ae=n.n(Oe),Pe=n(65547),Le=n.n(Pe);var Ie=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Me=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){Ie(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=[],c=[],l=void 0,d=void 0,f=void 0,p=void 0,h=void 0;for(o=0;o<256;o++)c[(u[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=c[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[l=u[a]]]^65537*d^257*l^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],c=t.length,l=1;if(4!==c&&6!==c&&8!==c)throw new Error("Invalid aes key size");for(o=t.slice(0),a=[],this._key=[o,a],n=c;n<4*c+28;n++)i=o[n-1],(n%c==0||8===c&&n%c==4)&&(i=s[i>>>24]<<24^s[i>>16&255]<<16^s[i>>8&255]<<8^s[255&i],n%c==0&&(i=i<<8^i>>>24^l<<24,l=l<<1^283*(l>>7))),o[n]=o[n-c]^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],c=n^a[2],l=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],E=g[4];for(m=0;m<h;m++)d=y[s>>>24]^b[u>>16&255]^_[c>>8&255]^w[255&l]^a[v],f=y[u>>>24]^b[c>>16&255]^_[l>>8&255]^w[255&s]^a[v+1],p=y[c>>>24]^b[l>>16&255]^_[s>>8&255]^w[255&u]^a[v+2],l=y[l>>>24]^b[s>>16&255]^_[u>>8&255]^w[255&c]^a[v+3],v+=4,s=d,u=f,c=p;for(m=0;m<4;m++)i[(3&-m)+o]=E[s>>>24]<<24^E[u>>16&255]<<16^E[c>>8&255]<<8^E[255&l]^a[v++],d=s,s=u,u=c,c=l,l=d},e}(),je=function(){function e(){Ie(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}(),Ze=function(e){function t(){Ie(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,je));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}(je),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,c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,h=void 0,m=void 0;for(s=n[0],u=n[1],c=n[2],l=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]^c),a[m+3]=Be(a[m+3]^l),s=d,u=f,c=p,l=h;return o},Ue=function(){function e(t,n,r,i){Ie(this,e);var o=e.STEP,a=new Int32Array(t.buffer),s=new Uint8Array(t.byteLength),u=0;for(this.asyncStream_=new Ze,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)}},Me(e,null,[{key:"STEP",get:function(){return 32e3}}]),e}(),qe="7.8.4",ze=[];var He=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+":"),ze){ze.push([].concat(o));var u=ze.length-1e3;ze.splice(0,u>0?u:0)}if(i().console){var c=i().console[n];c||"debug"!==n||(c=i().console.info||i().console.log),c&&a&&s.test(n)&&c[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 ze?[].concat(ze):[]}).filter=function(e){return(ze||[]).filter((function(t){return new RegExp(".*"+e+".*").test(t[0])}))},o.history.clear=function(){ze&&(ze.length=0)},o.history.disable=function(){null!==ze&&(ze.length=0,ze=null)},o.history.enable=function(){null===ze&&(ze=[])},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"),Ve=He.createLogger,We=Object.prototype.toString,Ye=function(e){return $e(e)?Object.keys(e):[]};function Ge(e,t){Ye(e).forEach((function(n){return t(e[n],n)}))}function Ke(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&&Ge(t,(function(t,n){e[n]=t}))})),e)}function $e(e){return!!e&&"object"==typeof e}function Xe(e){return $e(e)&&"[object Object]"===We.call(e)&&e.constructor===Object}function Je(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 Qe(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 $e(e)&&1===e.nodeType}function rt(){try{return i().parent!==i().self}catch(e){return!0}}function it(e){return function(t,n){if(!Qe(t))return a()[e](null);Qe(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?(He.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 ct(e,t){return e.classList?e.classList.add(t):ut(e,t)||(e.className=(e.className+" "+t).trim()),e}function lt(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?ct(e,t):lt(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(Je(e,"height"))),n.width||(n.width=parseFloat(Je(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,c=n.clientTop||r.clientTop||0,l=i().pageYOffset||r.scrollTop,d=t.top+l-c;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,c=t.pageX;return t.changedTouches&&(c=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,(c-s)/i)),n}function Et(e){return $e(e)&&3===e.nodeType}function kt(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)||Et(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(kt(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 Nt,Ot=it("querySelector"),At=it("querySelectorAll"),Pt=Object.freeze({__proto__:null,isReal:tt,isEl:nt,isInFrame:rt,createEl:ot,textContent:at,prependTo:st,hasClass:ut,addClass:ct,removeClass:lt,toggleClass:dt,setAttributes:ft,getAttributes:pt,getAttribute:ht,setAttribute:mt,removeAttribute:vt,blockTextSelection:gt,unblockTextSelection:yt,getBoundingClientRect:bt,findPosition:_t,getPointerPosition:wt,isTextNode:Et,emptyEl:kt,normalizeContent:xt,appendContent:St,insertContent:Tt,isSingleLeftClick:Ct,$:Ot,$$:At}),Lt=!1,It=function(){if(tt()&&!1!==Nt.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){Mt(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&Nt(s)}else Lt||Mt(1)}};function Mt(e,t){t&&(Nt=t),i().setTimeout(It,e)}function Rt(){Lt=!0,i().removeEventListener("load",Rt)}tt()&&("complete"===a().readyState?Rt():i().addEventListener("load",Rt));var Dt,jt=function(e){var t=a().createElement("style");return t.className=e,t},Zt=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];He("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,qt=i().WeakMap?new WeakMap:new Dt;function zt(e,t){if(qt.has(e)){var n=qt.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&&qt.delete(e)}}function Ht(e,t,n,r){n.forEach((function(n){e(t,n,r)}))}function Vt(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 Wt=["touchstart","touchmove"];function Yt(e,t,n){if(Array.isArray(t))return Ht(Yt,e,t,n);qt.has(e)||qt.set(e,{});var r=qt.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=Vt(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){He.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})()&&Wt.indexOf(t)>-1&&(o={passive:!0}),e.addEventListener(t,r.dispatcher,o)}else e.attachEvent&&e.attachEvent("on"+t,r.dispatcher)}function Gt(e,t,n){if(qt.has(e)){var r=qt.get(e);if(r.handlers){if(Array.isArray(t))return Ht(Gt,e,t,n);var i=function(e,t){r.handlers[t]=[],zt(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);zt(e,t)}else i(e,t)}else for(var s in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},s)&&i(e,s)}}}function Kt(e,t,n){var r=qt.has(e)?qt.get(e):{},i=e.parentNode||e.ownerDocument;if("string"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=Vt(t),r.dispatcher&&r.dispatcher.call(e,t,n),i&&!t.isPropagationStopped()&&!0===t.bubbles)Kt.call(null,i,t,n);else if(!i&&!t.defaultPrevented&&t.target&&t.target[t.type]){qt.has(t.target)||qt.set(t.target,{});var o=qt.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 $t(e,t,n){if(Array.isArray(t))return Ht($t,e,t,n);var r=function r(){Gt(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Ft(),Yt(e,t,r)}function Xt(e,t,n){var r=function r(){Gt(e,t,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Ft(),Yt(e,t,r)}var Jt,Qt=Object.freeze({__proto__:null,fixEvent:Vt,on:Yt,off:Gt,trigger:Kt,one:$t,any:Xt}),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(){},Yt(this,e,t),this.addEventListener=n},rn.prototype.addEventListener=rn.prototype.on,rn.prototype.off=function(e,t){Gt(this,e,t)},rn.prototype.removeEventListener=rn.prototype.off,rn.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},$t(this,e,t),this.addEventListener=n},rn.prototype.any=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Xt(this,e,t),this.addEventListener=n},rn.prototype.trigger=function(e){var t=e.type||e;"string"==typeof e&&(e={type:t}),e=Vt(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Kt(this,e)},rn.prototype.dispatchEvent=rn.prototype.trigger,rn.prototype.queueTrigger=function(e){var t=this;Jt||(Jt=new Map);var n=e.type||e,r=Jt.get(this);r||(r=new Map,Jt.set(this,r));var o=r.get(n);r.delete(n),i().clearTimeout(o);var a=i().setTimeout((function(){0===r.size&&(r=null,Jt.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.")},cn=function(e){if("function"!=typeof e)throw new Error("Invalid listener; must be a function.")},ln=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),cn(i),{isTargetingSelf:o,target:n,type:r,listener:i=tn(e,i)}},dn=function(e,t,n,r){sn(e),e.nodeName?Qt[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=ln(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(dn(a,"on",s,u),!o){var c=function(){return e.off(a,s,u)};c.guid=u.guid;var l=function(){return e.off("dispose",c)};l.guid=u.guid,dn(this,"on","dispose",c),dn(a,"on","dispose",l)}},one:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=ln(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(o)dn(a,"one",s,u);else{var c=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)};c.guid=u.guid,dn(a,"one",s,c)}},any:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=ln(this,n),o=i.isTargetingSelf,a=i.target,s=i.type,u=i.listener;if(o)dn(a,"any",s,u);else{var c=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)};c.guid=u.guid,dn(a,"any",s,c)}},off:function(e,t,n){if(!e||an(e))Gt(this.eventBusEl_,e,t);else{var r=e,i=t;sn(r),un(i),cn(n),n=tn(this,n),this.off("dispose",n),r.nodeName?(Gt(r,i,n),Gt(r,"dispose",n)):on(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(e,t){return Kt(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 Ke(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()),Ge(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 Ke(e,hn),e.state=Ke({},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&&Ge(t,(function(t,n){Xe(t)?(Xe(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_),qt.has(this.el_)&&qt.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 At(e,t||this.contentEl())},t.hasClass=function(e){return ut(this.el_,e)},t.addClass=function(e){ct(this.el_,e)},t.removeClass=function(e){lt(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=Je(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,c=Object.keys(u);if(u&&c.length>0&&c.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||"",En=/AppleWebKit\/([\d.]+)/i.exec(wn),kn=En?parseFloat(En.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}(),Nn=Tn&&Cn<5&&kn<537,On=/Firefox/i.test(wn),An=/Edg/i.test(wn),Pn=!An&&(/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}(),In=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}(),Mn=/Safari/i.test(wn)&&!Pn&&!Tn&&!An,Rn=/Windows/i.test(wn),Dn=tt()&&("ontouchstart"in i()||i().navigator.maxTouchPoints||i().DocumentTouch&&i().document instanceof i().DocumentTouch),jn=/iPad/i.test(wn)||Mn&&Dn&&!/iPhone/i.test(wn),Zn=/iPhone/i.test(wn)&&!jn,Bn=Zn||jn||xn,Fn=(Mn||Bn)&&!Pn,Un=Object.freeze({__proto__:null,IS_IPOD:xn,IOS_VERSION:Sn,IS_ANDROID:Tn,ANDROID_VERSION:Cn,IS_NATIVE_ANDROID:Nn,IS_FIREFOX:On,IS_EDGE:An,IS_CHROME:Pn,CHROME_VERSION:Ln,IE_VERSION:In,IS_SAFARI:Mn,IS_WINDOWS:Rn,TOUCH_ENABLED:Dn,IS_IPAD:jn,IS_IPHONE:Zn,IS_IOS:Bn,IS_ANY_SAFARI:Fn});function qn(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 zn(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:qn.bind(null,"start",0,e),end:qn.bind(null,"end",1,e)}}function Hn(e,t){return Array.isArray(e)?zn(e):void 0===e||void 0===t?zn():zn([[e,t]])}function Vn(e,t){var n,r,i=0;if(!t)return 0;e&&e.length||(e=Hn(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 Wn,Yn={prefixed:!0},Gn=[["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"]],Kn=Gn[0],$n=0;$n<Gn.length;$n++)if(Gn[$n][1]in a()){Wn=Gn[$n];break}if(Wn){for(var Xn=0;Xn<Wn.length;Xn++)Yn[Kn[Xn]]=Wn[Xn];Yn.prefixed=Wn[0]!==Kn[0]}function Jn(e){if(e instanceof Jn)return e;"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:$e(e)&&("number"==typeof e.code&&(this.code=e.code),Ke(this,e)),this.message||(this.message=Jn.defaultMessages[this.code]||"")}Jn.prototype.code=0,Jn.prototype.message="",Jn.prototype.status=null,Jn.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Jn.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 Qn=0;Qn<Jn.errorTypes.length;Qn++)Jn[Jn.errorTypes[Qn]]=Qn,Jn.prototype[Jn.errorTypes[Qn]]=Qn;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,c.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"),kt(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,c.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)},cr=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,c.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),lr=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){lr(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,c.Z)(t,e);var n=t.prototype;return n.addTrack=function(t){var n=this;t.selected&&lr(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&(t.selectedChange_=function(){n.changing_||(n.changing_=!0,lr(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,c.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,c.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},Er=function(e){if("string"==typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/.exec(e);if(t)return t.pop().toLowerCase()}return""},kr=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:Er,isCrossOrigin:kr}),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 He.error(e)})),i().console&&i().console.groupEnd&&i().console.groupEnd()),n.flush()},Tr=function(e,t){var n={uri:e},r=kr(e);r&&(n.cors=r),m()(n,tn(this,(function(e,n,r){if(e)return He.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);He.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_),c=!1,l=tn((0,u.Z)(n),(function(){this.activeCues=this.activeCues,c&&(this.trigger("cuechange"),c=!1)}));return"disabled"!==i&&n.tech_.ready((function(){n.tech_.on("timeupdate",l)}),!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",l)}),!0):this.tech_.off("timeupdate",l),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(c=!1,t.length!==this.activeCues_.length)c=!0;else for(var o=0;o<t.length;o++)-1===this.activeCues_.indexOf(t[o])&&(c=!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,c.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 Nr=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,c.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,c.Z)(t,e),t}(br),Ar=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,c.Z)(t,e),t}(rn);Ar.prototype.allowedEvents_={load:"load"},Ar.NONE=0,Ar.LOADING=1,Ar.LOADED=2,Ar.ERROR=3;var Pr={audio:{ListClass:cr,TrackClass:Nr,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:Ar,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Ir=(0,s.Z)({},Pr,Lr);Lr.names=Object.keys(Lr),Pr.names=Object.keys(Pr),Ir.names=[].concat(Lr.names).concat(Pr.names);var Mr=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})),Ir.names.forEach((function(e){var n=Ir[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 Ir.text.ListClass,r.initTrackListeners(),t.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}(0,c.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 Hn(0,0)},n.bufferedPercent=function(){return Vn(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 Jn(e),this.trigger("error")),this.error_},n.played=function(){return this.hasStarted_?Hn(0,0):Hn()},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"]&&Xe(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 Ir.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&&(He.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]?(He.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);Ir.names.forEach((function(e){var t=Ir[e];Mr.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),Mr.prototype.featuresVolumeControl=!0,Mr.prototype.featuresMuteControl=!0,Mr.prototype.featuresFullscreenResize=!1,Mr.prototype.featuresPlaybackRate=!1,Mr.prototype.featuresProgressEvents=!1,Mr.prototype.featuresSourceset=!1,Mr.prototype.featuresTimeupdateEvents=!1,Mr.prototype.featuresNativeTextTracks=!1,Mr.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:He.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",Mr),Mr.registerTech("Tech",Mr),Mr.defaultTechOrder_=[];var Rr={},Dr={},jr={};function Zr(e,t,n){e.setTimeout((function(){return Hr(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(zr(i),r),a=o===jr,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},qr={play:1,pause:1};function zr(e){return function(t,n){return t===jr?jr:n[e]?n[e](t):t}}function Hr(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)Hr(e,Rr[s],n,r,i,o);else if(s){var c=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(!c.setSource)return i.push(c),Hr(e,u,n,r,i,o);c.setSource(Ke({},e),(function(t,a){if(t)return Hr(e,u,n,r,i,o);i.push(c),Hr(a,e.type===a.type?u:Rr[a.type],n,r,i,o)}))}else u.length?Hr(e,u,n,r,i,o):o?n(e,i):Hr(e,Rr["*"],n,r,i,!0)}var Vr={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"},Wr=function(e){void 0===e&&(e="");var t=Er(e);return Vr[t.toLowerCase()]||""},Yr=function e(t){if(Array.isArray(t)){var n=[];t.forEach((function(t){t=e(t),Array.isArray(t)?n=n.concat(t):$e(t)&&n.push(t)})),t=n}else t="string"==typeof t&&t.trim()?[Gr({src:t})]:$e(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Gr(t)]:[];return t};function Gr(e){if(!e.type){var t=Wr(e.src);t&&(e.type=t)}return e}var Kr=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]),c=Mr.getTech(u);if(u||(c=bn.getComponent(u)),c&&c.isSupported()){t.loadTech_(u);break}}return i}return(0,c.Z)(t,e),t}(bn);bn.registerComponent("MediaLoader",Kr);var $r=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).emitTapEvents(),r.enable(),r}(0,c.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=Ke({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&He.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),r=Ke({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",$r);var Xr=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,c.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)||(In||An)&&t||this.player_.tech(!0).focus(),this.player_.paused()?tr(this.player_.play()):this.player_.pause()}},t}($r);bn.registerComponent("PosterImage",Xr);var Jr={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 Qr(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,c.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",Qr(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(a.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&ei(a.firstChild,"backgroundColor",Qr(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?ei(a,"backgroundColor",Qr(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=Jr[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 c=s.activeCues[u].displayState;ct(c,"vjs-text-track-cue"),ct(c,"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,c.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,c.Z)(t,e);var n=t.prototype;return n.createEl=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n={}),t=Ke({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},t),n=Ke({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 He.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}($r);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,c.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)||(In||An)&&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,c.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,c.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 ci(e,t){return void 0===t&&(t=e),ui(e,t)}var li=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,c.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=ci(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);li.prototype.labelText_="Time",li.prototype.controlText_="Time",bn.registerComponent("TimeDisplay",li);var di=function(e){function t(){return e.apply(this,arguments)||this}(0,c.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}(li);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,c.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}(li);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,c.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,c.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}(li);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,c.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,c.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,c.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=Ke({tabIndex:0},n),r=Ke({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,c.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),c=n.end(s),l=o[s];l||(l=t.el_.appendChild(ot()),o[s]=l),l.dataset.start===u&&l.dataset.end===c||(l.dataset.start=u,l.dataset.end=c,l.style.left=bi(u,i),l.style.width=bi(c-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,c.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?"":"-")+ci(u,s)}else o=ci(n,a);i.update(e,t,o),r&&r()}))},t}(bn);bn.registerComponent("TimeTooltip",wi);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,c.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);Ei.prototype.options_={children:[]},Bn||Tn||Ei.prototype.options_.children.push("timeTooltip"),bn.registerComponent("PlayProgressBar",Ei);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,c.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);ki.prototype.options_={children:["timeTooltip"]},bn.registerComponent("MouseTimeDisplay",ki);var xi=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).setEventHandlers_(),r}(0,c.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}",[ci(e,i),ci(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,c.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,c.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,c.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 Ni=function(e){function t(){return e.apply(this,arguments)||this}return(0,c.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",Ni);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,c.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 Ai=function(e){function t(t,n){var r;return void 0===n&&(n={}),n.vertical=n.vertical||!1,(void 0===n.volumeBar||Xe(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,c.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);Ai.prototype.options_={children:["volumeBar"]},bn.registerComponent("VolumeControl",Ai);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,c.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++)lt(this.el_,"vjs-vol-"+n);ct(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||Xe(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,c.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"),Yt(a(),"keyup",tn(this,this.handleKeyPress))},n.handleMouseOut=function(e){this.removeClass("vjs-hover"),Gt(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 Ii=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,c.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_),Yt(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",Ii);var Mi=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(),Yt(a(),"keyup",tn((0,u.Z)(r),r.handleMenuKeyUp))})),r.on("mouseleave",r.handleMouseLeave),r.on("keydown",r.handleSubmenuKeyDown),r}(0,c.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 Ii(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"),Gt(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",Mi);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,c.Z)(t,e),t}(Mi);bn.registerComponent("TrackButton",Ri);var Di=["Tab","Esc","Up","Down","Right","Left"],ji=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,c.Z)(t,e);var n=t.prototype;return n.createEl=function(t,n,r){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",Ke({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}($r);bn.registerComponent("MenuItem",ji);var Zi=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 c,l=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"],l),s.addEventListener("change",l),s.addEventListener("selectedlanguagechange",d),r.on("dispose",(function(){t.off(["loadstart","texttrackchange"],l),s.removeEventListener("change",l),s.removeEventListener("selectedlanguagechange",d)})),void 0===s.onchange)&&r.on(["tap","click"],(function(){if("object"!=typeof i().Event)try{c=new(i().Event)("change")}catch(e){}c||(c=a().createEvent("Event")).initEvent("change",!0,!0),s.dispatchEvent(c)}));return r.handleTracksChange(),r}(0,c.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}(ji);bn.registerComponent("TextTrackMenuItem",Zi);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,c.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}(Zi);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,c.Z)(t,e),t.prototype.createItems=function(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t=Zi),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,c.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}(ji);bn.registerComponent("ChaptersTrackMenuItem",Ui);var qi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,c.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);qi.prototype.kind_="chapters",qi.prototype.controlText_="Chapters",bn.registerComponent("ChaptersButton",qi);var zi=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,c.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);zi.prototype.kind_="descriptions",zi.prototype.controlText_="Descriptions",bn.registerComponent("DescriptionsButton",zi);var Hi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,c.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);Hi.prototype.kind_="subtitles",Hi.prototype.controlText_="Subtitles",bn.registerComponent("SubtitlesButton",Hi);var Vi=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,c.Z)(t,e),t.prototype.handleClick=function(e){this.player().getChild("textTrackSettings").open()},t}(Zi);bn.registerComponent("CaptionSettingsMenuItem",Vi);var Wi=function(e){function t(t,n,r){return e.call(this,t,n,r)||this}(0,c.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 Vi(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),e.prototype.createItems.call(this,t)},t}(Fi);Wi.prototype.kind_="captions",Wi.prototype.controlText_="Captions",bn.registerComponent("CaptionsButton",Wi);var Yi=function(e){function t(){return e.apply(this,arguments)||this}return(0,c.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,Ke({innerHTML:i},n),r)},t}(Zi);bn.registerComponent("SubsCapsMenuItem",Yi);var Gi=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,c.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 Vi(this.player_,{kind:this.label_})),this.hideThreshold_+=1),t=e.prototype.createItems.call(this,t,Yi)},t}(Fi);Gi.prototype.kinds_=["captions","subtitles"],Gi.prototype.controlText_="Subtitles",bn.registerComponent("SubsCapsButton",Gi);var Ki=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,c.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,Ke({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}(ji);bn.registerComponent("AudioTrackMenuItem",Ki);var $i=function(e){function t(t,n){return void 0===n&&(n={}),n.tracks=t.audioTracks(),e.call(this,t,n)||this}(0,c.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 Ki(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return e},t}(Ri);$i.prototype.controlText_="Audio Track",bn.registerComponent("AudioTrackButton",$i);var Xi=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,c.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}(ji);Xi.prototype.contentElType="button",bn.registerComponent("PlaybackRateMenuItem",Xi);var Ji=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,c.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 Ii(this.player()),t=this.playbackRates();if(t)for(var n=t.length-1;n>=0;n--)e.addChild(new Xi(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}(Mi);Ji.prototype.controlText_="Playback Rate",bn.registerComponent("PlaybackRateMenuButton",Ji);var Qi=function(e){function t(){return e.apply(this,arguments)||this}(0,c.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",Qi);var eo=function(e){function t(){return e.apply(this,arguments)||this}(0,c.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}(Qi);bn.registerComponent("CustomControlSpacer",eo);var to=function(e){function t(){return e.apply(this,arguments)||this}return(0,c.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,c.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"],co=["#F00","Red"],lo=["#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,lo,co,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:[lo,io,co,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()})),Ge(vo,(function(e){r.on(r.$(e.selector),"change",r.updateDisplay)})),r.options_.persistTextTrackSettings&&r.restoreSettings(),r}(0,c.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),Ye(e=vo).reduce((function(n,r){return t(n,e[r],r)}),n)},n.setValues=function(e){var t=this;Ge(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;Ge(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){He.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){He.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(){Gt(this,"resize",e),Gt(this,"unload",t),t=null};Yt(r.el_.contentWindow,"unload",t),Yt(r.el_.contentWindow,"resize",e)}},r.one("load",r.loadListener_)),r}(0,c.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),In&&"hidden"in a()&&"visibilityState"in a()&&r.on(a(),"visibilitychange",r.handleVisibilityChange),r}(0,c.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 Eo,ko=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 ko(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}}),No=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 ko(e)||(e.triggerSourceset(""),To(e)),n},t.currentSrc?e.triggerSourceset(t.currentSrc):ko(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)},Ao=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 c=a[s];"track"===c.nodeName.toLowerCase()&&(r.featuresNativeTextTracks?(r.remoteTextTrackEls().addTrackElement_(c),r.remoteTextTracks().addTrack(c.track),r.textTracks().addTrack(c.track),o||r.el_.hasAttribute("crossorigin")||!kr(c.src)||(o=!0)):u.push(c))}for(var l=0;l<u.length;l++)r.el_.removeChild(u[l])}return r.proxyNativeTracks_(),r.featuresNativeTextTracks&&o&&He.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||Zn||Nn)&&!0===t.nativeControlsForTouch&&r.setControls(!0),r.proxyWebkitFullscreen_(),r.triggerReady(),r}(0,c.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(){No(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,Ke(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){He(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}(Mr);Oo(Ao,"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}})),Ao.isSupported=function(){try{Ao.TEST_VID.volume=.5}catch(e){return!1}return!(!Ao.TEST_VID||!Ao.TEST_VID.canPlayType)},Ao.canPlayType=function(e){return Ao.TEST_VID.canPlayType(e)},Ao.canPlaySource=function(e,t){return Ao.canPlayType(e.type)},Ao.canControlVolume=function(){try{var e=Ao.TEST_VID.volume;return Ao.TEST_VID.volume=e/2+.1,e!==Ao.TEST_VID.volume}catch(e){return!1}},Ao.canMuteVolume=function(){try{var e=Ao.TEST_VID.muted;return Ao.TEST_VID.muted=!e,Ao.TEST_VID.muted?mt(Ao.TEST_VID,"muted","muted"):vt(Ao.TEST_VID,"muted"),e!==Ao.TEST_VID.muted}catch(e){return!1}},Ao.canControlPlaybackRate=function(){if(Tn&&Pn&&Ln<58)return!1;try{var e=Ao.TEST_VID.playbackRate;return Ao.TEST_VID.playbackRate=e/2+.1,e!==Ao.TEST_VID.playbackRate}catch(e){return!1}},Ao.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},Ao.supportsNativeTextTracks=function(){return Fn||Bn&&Pn},Ao.supportsNativeVideoTracks=function(){return!(!Ao.TEST_VID||!Ao.TEST_VID.videoTracks)},Ao.supportsNativeAudioTracks=function(){return!(!Ao.TEST_VID||!Ao.TEST_VID.audioTracks)},Ao.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(Ao.prototype,t,(function(){return Ao[n]()}),!0)})),Ao.prototype.movingMediaElementInDOM=!Bn,Ao.prototype.featuresFullscreenResize=!0,Ao.prototype.featuresProgressEvents=!0,Ao.prototype.featuresTimeupdateEvents=!0,Ao.patchCanPlayType=function(){Cn>=4&&!On&&!Pn&&(Eo=Ao.TEST_VID&&Ao.TEST_VID.constructor.prototype.canPlayType,Ao.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\/(?:x-|vnd\.apple\.)mpegurl/i.test(e)?"maybe":Eo.call(this,e)})},Ao.unpatchCanPlayType=function(){var e=Ao.TEST_VID.constructor.prototype.canPlayType;return Eo&&(Ao.TEST_VID.constructor.prototype.canPlayType=Eo),e},Ao.patchCanPlayType(),Ao.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){}}()}},Ao.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){Ao.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(e){Ao.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){Ao.prototype[e]=function(){return this.el_[e]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate","crossOrigin"].forEach((function(e){Ao.prototype["set"+gn(e)]=function(t){this.el_[e]=t}})),["pause","load","play"].forEach((function(e){Ao.prototype[e]=function(){return this.el_[e]()}})),Mr.withSourceHandlers(Ao),Ao.nativeSourceHandler={},Ao.nativeSourceHandler.canPlayType=function(e){try{return Ao.TEST_VID.canPlayType(e)}catch(e){return""}},Ao.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Ao.nativeSourceHandler.canPlayType(e.type);if(e.src){var n=Er(e.src);return Ao.nativeSourceHandler.canPlayType("video/"+n)}return""},Ao.nativeSourceHandler.handleSource=function(e,t,n){t.setSrc(e.src)},Ao.nativeSourceHandler.dispose=function(){},Ao.registerSourceHandler(Ao.nativeSourceHandler),Mr.registerTech("Html5",Ao);var Po=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Lo={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Io=["tiny","xsmall","small","medium","large","xlarge","huge"],Mo={};Io.forEach((function(e){var t="x"===e.charAt(0)?"x-"+e.substring(1):e;Mo[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=Ke(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 c=n;c&&1===c.nodeType;){if(pt(c).hasOwnProperty("lang")){r.language=c.getAttribute("lang");break}c=c.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=Ve(o.id_),o.fsApi_=Yn,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 l={};Object.getOwnPropertyNames(r.languages).forEach((function(e){l[e.toLowerCase()]=r.languages[e]})),o.languages_=l}else o.languages_=t.prototype.options_.languages;o.resetCache_(),o.poster_=r.poster||"",o.controls_=!!r.controls,n.controls=!1,n.removeAttribute("controls"),o.changingSrc_=!1,o.playCallbacks_=[],o.playTerminatedQueue_=[],n.hasAttribute("autoplay")?o.autoplay(!0):o.autoplay(o.options_.autoplay),r.plugins&&Object.keys(r.plugins).forEach((function(e){if("function"!=typeof o[e])throw new Error('plugin "'+e+'" does not exist')})),o.scrubbing_=!1,o.el_=o.createEl(),pn((0,u.Z)(o),{eventBusKey:"el_"}),o.fsApi_.requestFullscreen&&(Yt(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=qe.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,c.Z)(t,e);var n=t.prototype;return n.dispose=function(){var n=this;this.trigger("dispose"),this.off("dispose"),Gt(a(),this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),Gt(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,Ir.names.forEach((function(e){var t=Ir[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")||ct(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",(In||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_=jt("vjs-styles-dimensions");var u=Ot(".vjs-styles-defaults"),c=Ot("head");c.insertBefore(this.styleEl_,u?u.nextSibling:c.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 l=n.getElementsByTagName("a"),d=0;d<l.length;d++){var f=l.item(d);ct(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):He.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)?He.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),Zt(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&&(Mr.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};Ir.names.forEach((function(e){var t=Ir[e];o[t.getterName]=n[t.privateName]})),Ke(o,this.options_[r]),Ke(o,this.options_[i]),Ke(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=Mr.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;Ir.names.forEach((function(t){var n=Ir[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&&He.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 Wr(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&&(He.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(zr(n),r))}(this.middleware_,this.tech_,e,t);if(e in qr)return Br(this.middleware_,this.tech_,e,t);try{this.tech_&&this.tech_[e](t)}catch(e){throw He(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(zr(n),t[n]())}(this.middleware_,this.tech_,e);if(e in qr)return Br(this.middleware_,this.tech_,e);try{return this.tech_[e]()}catch(t){if(void 0===this.tech_[e])throw He("Video.js: "+e+" method not defined for "+this.techName_+" playback technology.",t),t;if("TypeError"===t.name)throw He("Video.js: "+e+" unavailable on "+this.techName_+" playback technology element.",t),this.tech_.isReady_=!1,t;throw He(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")||Hn(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=Hn(0,0)),e},n.bufferedPercent=function(){return Vn(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,Yt(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow="hidden",ct(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,Gt(a(),"keydown",this.boundFullWindowOnEscKey_),a().documentElement.style.overflow=this.docOrigOverflow,lt(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 c=bn.getComponent("FullscreenToggle");!1!==a()[this.fsApi_.fullscreenEnabled]&&c.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=Mr.getTech(i);if(o||(o=bn.getComponent(i)),o){if(o.isSupported()&&(t=o.canPlayType(e)))return t}else He.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,Mr.getTech(e)]})).filter((function(e){var t=e[0],n=e[1];return n?n.isSupported():(He.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=Yr(e);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),Zr(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 Jn(e),this.addClass("vjs-error"),He.error("(CODE:"+this.error_.code+" "+Jn.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<Io.length;n++){var r=Io[n];if(t<=this.breakpoints_[r]){if(e===r)return;e&&this.removeClass(Mo[e]),this.addClass(Mo[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_=Ke({},Ro,e),this.updateCurrentBreakpoint_()),Ke(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 Mo[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:Wr(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:Wr(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&&He.error(o),Ke(n,a)}if(Ke(t,n),e.hasChildNodes())for(var s=e.childNodes,u=0,c=s.length;u<c;u++){var l=s[u],f=l.nodeName.toLowerCase();"source"===f?t.sources.push(pt(l)):"track"===f&&t.tracks.push(pt(l))}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);Ir.names.forEach((function(e){var t=Ir[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 jo=i().navigator;Do.prototype.options_={techOrder:Mr.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","liveTracker","controlBar","errorDisplay","textTrackSettings","resizeManager"],language:jo&&(jo.languages&&jo.languages[0]||jo.userLanguage||jo.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 Zo="plugin",Bo={},Fo=function(e){return Bo.hasOwnProperty(e)},Uo=function(e){return Fo(e)?Bo[e]:void 0},qo=function(e,t){e.activePlugins_=e.activePlugins_||{},e.activePlugins_[t]=!0},zo=function(e,t,n){var r=(n?"before":"")+"pluginsetup";e.trigger(r,t),e.trigger(r+":"+t.name,t)},Ho=function(e,t){return t.prototype.name=e,function(){zo(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},zo(this,o.getEventHash()),o}},Vo=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),qo(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={}),Kt(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]=Ho(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))He.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!==Zo&&(e.isBasic(n)?Do.prototype[t]=function(e,t){var n=function(){zo(this,{name:e,plugin:t,instance:null},!0);var n=t.apply(this,arguments);return qo(this,e),zo(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]=Ho(t,n)),n},e.deregisterPlugin=function(e){if(e===Zo)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}();Vo.getPlugin=Uo,Vo.BASE_PLUGIN_NAME=Zo,Vo.registerPlugin(Zo,Vo),Do.prototype.usingPlugin=function(e){return!!this.activePlugins_&&!0===this.activePlugins_[e]},Do.prototype.hasPlugin=function(e){return!!Fo(e)};var Wo=function(e){return 0===e.indexOf("#")?e.slice(1):e};function Yo(e,t,n){var r=Yo.getPlayer(e);if(r)return t&&He.warn('Player "'+e+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof e?Ot("#"+Wo(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)||He.warn("The element supplied is not included in the DOM"),t=t||{},Yo.hooks("beforesetup").forEach((function(e){var n=e(i,yn(t));$e(n)&&!Array.isArray(n)?t=yn(t,n):He.error("please return an object in beforesetup hooks")}));var o=bn.getComponent("Player");return r=new o(i,t,n),Yo.hooks("setup").forEach((function(e){return e(r)})),r}if(Yo.hooks_={},Yo.hooks=function(e,t){return Yo.hooks_[e]=Yo.hooks_[e]||[],t&&(Yo.hooks_[e]=Yo.hooks_[e].concat(t)),Yo.hooks_[e]},Yo.hook=function(e,t){Yo.hooks(e,t)},Yo.hookOnce=function(e,t){Yo.hooks(e,[].concat(t).map((function(t){return function n(){return Yo.removeHook(e,n),t.apply(void 0,arguments)}})))},Yo.removeHook=function(e,t){var n=Yo.hooks(e).indexOf(t);return!(n<=-1)&&(Yo.hooks_[e]=Yo.hooks_[e].slice(),Yo.hooks_[e].splice(n,1),!0)},!0!==i().VIDEOJS_NO_DYNAMIC_STYLE&&tt()){var Go=Ot(".vjs-styles-defaults");if(!Go){Go=jt("vjs-styles-defaults");var Ko=Ot("head");Ko&&Ko.insertBefore(Go,Ko.firstChild),Zt(Go,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}Mt(1,Yo),Yo.VERSION=qe,Yo.options=Do.prototype.options_,Yo.getPlayers=function(){return Do.players},Yo.getPlayer=function(e){var t,n=Do.players;if("string"==typeof e){var r=Wo(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]}},Yo.getAllPlayers=function(){return Object.keys(Do.players).map((function(e){return Do.players[e]})).filter(Boolean)},Yo.players=Do.players,Yo.getComponent=bn.getComponent,Yo.registerComponent=function(e,t){Mr.isTech(t)&&He.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)},Yo.getTech=Mr.getTech,Yo.registerTech=Mr.registerTech,Yo.use=function(e,t){Rr[e]=Rr[e]||[],Rr[e].push(t)},Object.defineProperty(Yo,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Yo.middleware,"TERMINATOR",{value:jr,writeable:!1,enumerable:!0}),Yo.browser=Un,Yo.TOUCH_ENABLED=Dn,Yo.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},Yo.mergeOptions=yn,Yo.bind=tn,Yo.registerPlugin=Vo.registerPlugin,Yo.deregisterPlugin=Vo.deregisterPlugin,Yo.plugin=function(e,t){return He.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Vo.registerPlugin(e,t)},Yo.getPlugins=Vo.getPlugins,Yo.getPlugin=Vo.getPlugin,Yo.getPluginVersion=Vo.getPluginVersion,Yo.addLanguage=function(e,t){var n;return e=(""+e).toLowerCase(),Yo.options.languages=yn(Yo.options.languages,((n={})[e]=t,n)),Yo.options.languages[e]},Yo.log=He,Yo.createLogger=Ve,Yo.createTimeRange=Yo.createTimeRanges=Hn,Yo.formatTime=ci,Yo.setFormatTime=function(e){ui=e},Yo.resetFormatTime=function(){ui=si},Yo.parseUrl=_r,Yo.isCrossOrigin=kr,Yo.EventTarget=rn,Yo.on=Yt,Yo.one=$t,Yo.off=Gt,Yo.trigger=Kt,Yo.xhr=m(),Yo.TextTrack=Cr,Yo.AudioTrack=Nr,Yo.VideoTrack=Or,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(e){Yo[e]=function(){return He.warn("videojs."+e+"() is deprecated; use videojs.dom."+e+"() instead"),Pt[e].apply(null,arguments)}})),Yo.computedStyle=Je,Yo.dom=Pt,Yo.url=xr,Yo.defineLazyProperty=Oo;var $o=function(e,t){return/^[a-z]+:/i.test(t)?t:(/\/\//i.test(e)||(e=k().buildAbsoluteURL(i().location.href,e)),k().buildAbsoluteURL(e,t))},Xo=function(e,t,n){return e&&n.responseURL&&t!==n.responseURL?n.responseURL:t},Jo=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Qo=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=Yo.mergeOptions,oa=Yo.EventTarget,aa=Yo.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=$o(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=$o(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=$o(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},ca=function(e,t){return e+"-"+t},la=function(e){for(var t=e.playlists.length;t--;){var n=e.playlists[t];n.resolvedUri=$o(e.uri,n.uri),n.id=ca(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=$o(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]:{};Jo(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 c=n.options_;if(i.customTagParsers=c&&c.customTagParsers||[],i.customTagMappers=c&&c.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:$o(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),Qo(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 I;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=Xo(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 I;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=Xo(e.handleManifestRedirects,e.srcUrl,n),r.manifest.uri=e.srcUrl,r.manifest.playlists)return e.master=r.manifest,la(e.master),da(e.master),e.trigger("loadedplaylist"),void(e.request||e.media(r.manifest.playlists[0]));var o=ca(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=Yo.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}},Ea=wa.bind(null,1),ka=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]},Na=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+=ka(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-=Ea(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:Na},Aa=Yo.xhr,Pa=Yo.mergeOptions,La=function(){return function e(t,n){t=Pa({timeout:45e3},t);var r=e.beforeRequest||Yo.Hls.xhr.beforeRequest;if(r&&"function"==typeof r){var i=r(t);i&&(t=i)}var o=Aa(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}},Ia=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},Ma=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):"."},ja=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},Za=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:ja,initSegmentId:Za,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+=Ma(e,n)+" ";return t}}),qa=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)},za=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,c=t.tech,l=t.callback;if(!l)throw new Error("seekToProgramTime: callback must be provided");if(void 0===n||!r||!a)return l({message:"seekToProgramTime: programTime, seekTo and playlist must be provided"});if(!r.endList&&!c.hasStarted_)return l({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 l({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 l({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?l({message:n+" is not buffered yet. Try again"}):(a(d.estimatedStart+p),void c.one("seeked",(function(){e({programTime:n,playlist:r,retryCount:o-1,seekTo:a,pauseAfterSeek:u,tech:c,callback:l})})));var h=f.start+p;c.one("seeked",(function(){return l(null,c.currentTime())})),u&&c.pause(),a(h)},Ha=1/30,Va=.1,Wa=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 Yo.createTimeRanges(n)},Ya=function(e,t){return Wa(e,(function(e,n){return e-Va<=t&&n+Va>=t}))},Ga=function(e,t){return Wa(e,(function(e){return e-Ha>=t}))},Ka=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(", ")},$a=function(e){for(var t=[],n=0;n<e.length;n++)t.push({start:e.start(n),end:e.end(n)});return t},Xa=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)},Ja=function(e){return isNaN(e)||Math.abs(e)===1/0?Number.MAX_VALUE:e},Qa=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=Ja(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 Yo.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),e.value.key}},value:{get:function(){return Yo.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),e.value.data}},privateData:{get:function(){return Yo.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 c=s.reduce((function(e,t){var n=e[t.startTime]||[];return n.push(t),e[t.startTime]=n,e}),{}),l=Object.keys(c).sort((function(e,t){return Number(e)-Number(t)}));l.forEach((function(e,t){var n=c[e],r=Number(l[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=cs(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=cs("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 cs(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 ls=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,c,l,d,f,p,h,m,v,g,y,b,_,w,E,k,x,S,T,C,N,O,A,P,L,I,M,R,D,j,Z,B,F,U,q=e,z=Math.pow(2,32)-1;!function(){var e;if(k={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 k)k.hasOwnProperty(e)&&(k[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]),N=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:N},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]),I=new Uint8Array([0,0,0,0,0,0,0,0]),M=I,R=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),D=I,A=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(k.dinf,t(k.dref,L))},i=function(e){return t(k.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(k.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(k.mdhd,n)},h=function(e){return t(k.mdia,m(e),v(e.type),s(e))},a=function(e){return t(k.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},s=function(e){return t(k.minf,"video"===e.type?t(k.vmhd,A):t(k.smhd,P),r(),y(e))},u=function(e,n){for(var r=[],i=n.length;i--;)r[i]=_(n[i]);return t.apply(null,[k.moof,a(e)].concat(r))},c=function(e){for(var n=e.length,r=[];n--;)r[n]=f(e[n]);return t.apply(null,[k.moov,d(4294967295)].concat(r).concat(l(e)))},l=function(e){for(var n=e.length,r=[];n--;)r[n]=w(e[n]);return t.apply(null,[k.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(k.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(k.sdtp,o)},y=function(e){return t(k.stbl,b(e),t(k.stts,D),t(k.stsc,M),t(k.stsz,R),t(k.stco,I))},b=function(e){return t(k.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===e.type?j(e):Z(e))},j=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=[k.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(k.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([i.length],a,[o.length],s))),t(k.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio){var u=e.sarRatio[0],c=e.sarRatio[1];r.push(t(k.pasp,new Uint8Array([(4278190080&u)>>24,(16711680&u)>>16,(65280&u)>>8,255&u,(4278190080&c)>>24,(16711680&c)>>16,(65280&c)>>8,255&c])))}return t.apply(null,r)},Z=function(e){return t(k.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(k.tkhd,n)},_=function(e){var n,r,i,o,a,s;return n=t(k.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/(z+1)),s=Math.floor(e.baseMediaDecodeTime%(z+1)),r=t(k.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=E(e,92),t(k.traf,n,r,i)):(o=g(e),i=E(e,o.length+92),t(k.traf,n,r,i,o))},f=function(e){return e.duration=e.duration||4294967295,t(k.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(k.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(k.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(k.trun,new Uint8Array(r))},E=function(e,t){return"audio"===e.type?B(e,t):F(e,t)};o=function(){return t(k.ftyp,x,S,x,T)};var H,V,W,Y,G,K,$,X,J=function(e){return t(k.mdat,e)},Q=u,ee=function(e){var t,n=o(),r=c(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,c=e.nalCount,l=new Uint8Array(u+4*c),d=new DataView(l.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,l.set(a.data,s),s+=a.data.byteLength;return l},se=[33,16,5,32,164,27],ue=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ce=function(e){for(var t=[];e--;)t.push(0);return t},le={96e3:[se,[227,64],ce(154),[56]],88200:[se,[231],ce(170),[56]],64e3:[se,[248,192],ce(240),[56]],48e3:[se,[255,192],ce(268),[55,148,128],ce(54),[112]],44100:[se,[255,192],ce(268),[55,163,128],ce(84),[112]],32e3:[se,[255,192],ce(268),[55,234],ce(226),[112]],24e3:[se,[255,192],ce(268),[55,255,128],ce(268),[111,112],ce(126),[224]],16e3:[se,[255,192],ce(268),[55,255,128],ce(268),[111,255],ce(269),[223,108],ce(195),[1,192]],12e3:[ue,ce(268),[3,127,248],ce(268),[6,255,240],ce(268),[13,255,224],ce(268),[27,253,128],ce(259),[56]],11025:[ue,ce(268),[3,127,248],ce(268),[6,255,240],ce(268),[13,255,224],ce(268),[27,255,192],ce(268),[55,175,128],ce(108),[112]],8e3:[ue,ce(268),[3,121,16],ce(47),[7]]},de=(H=le,Object.keys(H).reduce((function(e,t){return e[t]=new Uint8Array(H[t].reduce((function(e,t){return e.concat(t)}),[])),e}),{})),fe=9e4;K=function(e,t){return V(G(e,t))},$=function(e,t){return W(Y(e),t)},X=function(e,t,n){return Y(n?e:e-t)};var pe=fe,he=(V=function(e){return e*fe},W=function(e,t){return e*t},Y=function(e){return e/fe},G=function(e,t){return e/t},K),me=$,ve=X,ge=function(e,t,n,r){var i,o,a,s,u,c=0,l=0,d=0;if(t.length&&(i=he(e.baseMediaDecodeTime,e.samplerate),o=Math.ceil(pe/(e.samplerate/1024)),n&&r&&(c=i-Math.max(n,r),d=(l=Math.floor(c/o))*o),!(l<1||d>pe/2))){for((a=de[e.samplerate])||(a=t[0].data),s=0;s<l;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,Ee=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},ke=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},Ne=4,Oe=function e(){e.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new Me(0,0),new Me(0,1),new Me(1,0),new Me(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 q).push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=Se(e.escapedRBSP)).payloadType===Ne&&(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 Ae={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=Ae[e]||e,String.fromCharCode(e))},Le=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Ie=function(){for(var e=[],t=15;t--;)e.push("");return e},Me=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_=Ie();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=Ie();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=Ie()),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}};Me.prototype=new q,Me.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_})},Me.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=Ie(),this.nonDisplayed_=Ie(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Me.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_},Me.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},Me.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},Me.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},Me.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},Me.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},Me.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},Me.prototype.isNormalChar=function(e){return e>=32&&e<=127},Me.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=Ie(),this.displayed_=Ie()),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},Me.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)},Me.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)}},Me.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},Me.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},Me.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_]=""},Me.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n};var Re={CaptionStream:Oe,Cea608Stream:Me},De={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},je="shared",Ze=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||je,this.push=function(e){this.type_!==je&&e.type!==this.type_||(void 0===r&&(r=e.dts),e.dts=Ze(e.dts,r),e.pts=Ze(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 q;var Fe,Ue=Be,qe=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},ze=function(e,t,n){return decodeURIComponent(qe(e,t,n))},He=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},Ve={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=ze(e.data,1,t),e.value=ze(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=ze(e.data,1,t),e.url=ze(e.data,t+1,e.data.length);break}},PRIV:function(e){var t,n;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=(n=e.data,unescape(qe(n,0,t)));break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};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,c;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=He(e.data.subarray(6,10)),r+=10),!(o<r)){for(t={data:new Uint8Array(r),frames:[],pts:i[0].pts,dts:i[0].dts},c=0;c<r;)t.data.set(i[0].data.subarray(0,r-c),c),c+=i[0].data.byteLength,o-=i[0].data.byteLength,i.shift();a=10,64&t.data[5]&&(a+=4,a+=He(t.data.subarray(10,14)),r-=He(t.data.subarray(16,20)));do{if((s=He(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,Ve[u.id]&&(Ve[u.id](u),"com.apple.streaming.transportStreamTimestamp"===u.owner)){var l=u.data,d=(1&l[3])<<30|l[4]<<22|l[5]<<14|l[6]<<6|l[7]>>>2;d*=4,d+=3&l[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 q;var We,Ye,Ge,Ke=Fe,$e=Ue,Xe=188;(We=function(){var e=new Uint8Array(Xe),t=0;We.prototype.init.call(this),this.push=function(n){var r,i=0,o=Xe;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+=Xe,o+=Xe);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){t===Xe&&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 q,Ye=function(){var e,t,n,r;Ye.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)}},Ye.prototype=new q,Ye.STREAM_TYPES={h264:27,adts:15},Ge=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,c=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,c),c+=o.data.byteLength;var l,d,f;l=a,(d=s).packetLength=6+(l[4]<<8|l[5]),d.dataAlignmentIndicator=0!=(4&l[6]),192&(f=l[7])&&(d.pts=(14&l[9])<<27|(255&l[10])<<20|(254&l[11])<<12|(255&l[12])<<5|(254&l[13])>>>3,d.pts*=4,d.pts+=(6&l[13])>>>1,d.dts=d.pts,64&f&&(d.dts=(14&l[14])<<27|(255&l[15])<<20|(254&l[16])<<12|(255&l[17])<<5|(254&l[18])>>>3,d.dts*=4,d.dts+=(6&l[18])>>>1)),d.data=l.subarray(9+l[8]),i="video"===n||s.packetLength<=e.size,(r||i)&&(e.size=0,e.data.length=0),i&&t.trigger("data",s)}};Ge.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")}},Ge.prototype=new q;var Je={PAT_PID:0,MP2T_PACKET_LENGTH:Xe,TransportPacketStream:We,TransportParseStream:Ye,ElementaryStream:Ge,TimestampRolloverStream:$e,CaptionStream:Re.CaptionStream,Cea608Stream:Re.Cea608Stream,MetadataStream:Ke};for(var Qe in De)De.hasOwnProperty(Qe)&&(Je[Qe]=De[Qe]);var et,tt=Je,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,c,l=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;l+5<t.length;)if(255===t[l]&&240==(246&t[l+1])){if(o=2*(1&~t[l+1]),i=(3&t[l+3])<<11|t[l+4]<<3|(224&t[l+5])>>5,c=(u=1024*(1+(3&t[l+6])))*nt/rt[(60&t[l+2])>>>2],a=l+i,t.byteLength<a)return;if(this.trigger("data",{pts:r.pts+n*c,dts:r.dts+n*c,sampleCount:u,audioobjecttype:1+(t[l+2]>>>6&3),channelcount:(1&t[l+2])<<2|(192&t[l+3])>>>6,samplerate:rt[(60&t[l+2])>>>2],samplingfrequencyindex:(60&t[l+2])>>>2,samplesize:16,data:t.subarray(l+7+o,a)}),n++,t.byteLength===a)return void(t=void 0);t=t.subarray(a)}else l++},this.flush=function(){n=0,this.trigger("done")},this.reset=function(){t=void 0,this.trigger("reset")},this.endTimeline=function(){t=void 0,this.trigger("endedtimeline")}},et.prototype=new q;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 q,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,c,l,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),c=t.readUnsignedExpGolomb(),l=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*(c+1)-2*m-2*v)*b),height:(2-d)*(l+1)*16-2*g-2*y,sarRatio:p}}},it.prototype=new q;var ct,lt={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};(ct=function(){var e=new Uint8Array,t=0;ct.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 q;var ht,mt,vt,gt,yt=ct,bt=lt.H264Stream,_t=dt,wt=pe,Et=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],kt=["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&&Et.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,c,l,d;0!==n.length?(s=ye(n,e,i),e.baseMediaDecodeTime=ke(e,t.keepOriginalTimestamps),ge(e,s,o,a),e.samples=be(s),c=J(_e(s)),n=[],u=Q(r,[e]),l=new Uint8Array(u.byteLength+c.byteLength),r++,l.set(u),l.set(c,u.byteLength),Ee(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:l}),this.trigger("done","AudioSegmentStream")):this.trigger("done","AudioSegmentStream")},this.reset=function(){Ee(e),n=[],this.trigger("reset")}},mt.prototype=new q,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],kt.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,c,l,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");Ee(e),s=h}xe(e,s),e.samples=oe(s),c=J(ae(s)),e.baseMediaDecodeTime=ke(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=Q(i,[e]),l=new Uint8Array(u.byteLength+c.byteLength),i++,l.set(u),l.set(c,u.byteLength),this.trigger("data",{track:e,boxes:l}),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(){Ee(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,c;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:((c=e.slice(n)).byteLength=o,c.duration=u,c.nalCount=s,c.pts=c[0].pts,c.dts=c[0].dts,c)},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 c=e.slice(u),l=c.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 c.byteLength=l.byteLength,c.duration=l.duration,c.nalCount=l.nalCount,c.pts=c[0].pts,c.dts=c[0].dts,c},this.alignGopsWith=function(e){a=e}},ht.prototype=new q,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 q,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,kt.forEach((function(e){a.info[e]=this.videoTrack[e]}),this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,Et.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,Ee(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,Ee(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 q;var Tt={Transmuxer:vt,VideoSegmentStream:ht,AudioSegmentStream:mt,AUDIO_PROPERTIES:Et,VIDEO_PROPERTIES:kt,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}}(),Nt=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 Nt(e,t.data.options):(this.messageHandlers||(this.messageHandlers=new Nt(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||(Yo.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 c={};r.videoCodec&&(c.video=""+r.videoCodec+r.videoObjectTypeIndicator),r.audioProfile&&(c.audio="mp4a.40."+r.audioProfile);var l=hs("audio",n,[c.audio]),d=hs("video",n,[c.video]),f=hs("video",n,[c.video,c.audio]);return a?!o&&c.video?[d,l]:o||c.video?[f,l]:[l,l]:c.video?[f]:[l]},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){Jo(this,t);var r=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,Yo.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_=Yo.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 ls,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 Yo.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 Yo.createTimeRange();for(var u=e.buffered,c=t.buffered,l=u.length;l--;)a.push({time:u.start(l),type:"start"}),a.push({time:u.end(l),type:"end"});for(l=c.length;l--;)a.push({time:c.start(l),type:"start"}),a.push({time:c.end(l),type:"end"});for(a.sort((function(e,t){return e.time-t.time})),l=0;l<a.length;l++)"start"===a[l].type?2==++o&&(r=a[l].time):"end"===a[l].type&&1==--o&&(i=a[l].time),null!==r&&null!==i&&(s.push([r,i]),r=null,i=null);return Yo.createTimeRanges(s)}(this.videoBuffer_,this.audioBuffer_,this.audioDisabled_)}}),r}return ta(t,e),Qo(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)),Xa(e,t,this.metadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)Xa(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),Qa(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}(Yo.EventTarget),Es=function(e){function t(){Jo(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?Yo.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_=Yo(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=Ja(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),Qo(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}(Yo.EventTarget),ks=0;Yo.mediaSources={};var xs=function(e,t){var n=Yo.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 Es;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 Es?(t=i().URL.createObjectURL(e.nativeMediaSource_),e.url_=t,t):e instanceof Es?(t="blob:vjs-media-source/"+ks,ks++,Yo.mediaSources[t]=e,t):(t=i().URL.createObjectURL(e),e.url_=t,t)}};Yo.MediaSource=Ts,Yo.URL=Cs;var Ns=Yo.EventTarget,Os=Yo.mergeOptions,As=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},Is=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},Ms=function(e,t,n,r,i){var o={uri:Xo(r.handleManifestRedirects,e.resolvedUri),byterange:e.byterange,playlist:t};return n(Yo.mergeOptions(o,{responseType:"arraybuffer",headers:Ia(o)}),i)},Rs=function(e){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3];Jo(this,t);var o=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this)),a=r.withCredentials,s=void 0!==a&&a,u=r.handleManifestRedirects,c=void 0!==u&&u;if(o.hls_=n,o.withCredentials=s,o.handleManifestRedirects=c,!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),Qo(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=Ms(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=ke(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=ca(0,o);t.playlists[0].uri=o,t.playlists[0].id=a,e.playlists[a]=t.playlists[0],e.playlists[o]=t.playlists[0]}})),la(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=Xo(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:$o(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=ke(e,{manifestUri:t,clientOffset:n}),o=Is(i.playlists,r);return sa(i,(function(e,t,n,i){if(e.playlists&&e.playlists.length){var a=e.playlists;o=Os(o,Is(a,r))}})),o}(e.masterXml_,e.srcUrl,e.clientOffset_,e.sidxMapping_);var r=e.parseMasterXml(),o=As(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=Ms(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=As(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}(Ns),Ds=function(e){return Yo.log.debug?Yo.log.debug.bind(Yo,"VHS:",e+" >"):function(){}};function js(){}var Zs=function(){function e(t,n,r,i){Jo(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 Qo(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 ["+Ka(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:Yo.createTimeRanges()}},{key:"remove",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:js;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_!==js}},{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,qs=-102,zs=function(e){e.forEach((function(e){e.abort()}))},Hs=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:qs,xhr:t}:e?{status:t.status,message:"HLS request errored at URL: "+t.uri,code:Fs,xhr:t}:null},Vs=function(e,t,n){var r=0,i=!1;return function(o,a){if(!i)return o?(i=!0,zs(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(ja({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}},Ws=function(e,t){return function(n){return e.stats=Yo.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)}},Ys=function(e,t,n,r,i,o,a){var s=[],u=Vs(s,n,a);if(i.key&&!i.key.bytes){var c=Yo.mergeOptions(t,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),l=function(e,t){return function(n,r){var i=r.response,o=Hs(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(c,l);s.push(d)}if(i.map&&!i.map.bytes){var f=Yo.mergeOptions(t,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:Ia(i.map)}),p=function(e,t,n){return function(r,i){var o=i.response,a=Hs(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=Ne().timescale(e.map.bytes),e.map.videoTrackIds=Ne().videoTrackIds(e.map.bytes),n(null,e))}}(i,r,u),h=e(f,p);s.push(h)}var m=Yo.mergeOptions(t,{uri:i.resolvedUri,responseType:"arraybuffer",headers:Ia(i)}),v=function(e,t,n){return function(r,i){var o=i.response,a=Hs(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",Ws(i,o)),s.push(g),function(){return zs(s)}},Gs=function(e,t){var n;return e&&(n=i().getComputedStyle(e))?n[t]:""},Ks=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}))},$s=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)},Xs=function(e,t,n){if(!e||!t)return!1;var r=n===e.segments.length;return e.endList&&"open"===t.readyState&&r},Js=function(e){return"number"==typeof e&&isFinite(e)},Qs=function(e){function t(e){Jo(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(Ae()):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),Qo(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():Yo.createTimeRanges()}},{key:"initSegment",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;var n=Za(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 Zs(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),Xa(e,t,this.segmentMetadataTrack_),this.inbandTextTracks_)for(var r in this.inbandTextTracks_)Xa(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 Xs(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 c=Oa.getMediaInfoForTime(t,a,o.segmentIndex,o.time);n=c.mediaIndex,s=c.startTime}else{var l=Oa.getMediaInfoForTime(t,i,o.segmentIndex,o.time);n=l.mediaIndex,s=l.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,c=t.playlists.filter((function(e){return!Oa.isIncompatible(e)})),l=c.filter(Oa.isEnabled);l.length||(l=c.filter((function(e){return!Oa.isDisabled(e)})));var d=l.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 Ks(f,(function(e,t){return $s(t.playlist,e.playlist)})),f.length?f[0]:(Ks(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<=Ha&&(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=Ys(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===qs?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,c=r.segmentTimestampInfo[0].dtsTime;t.timestampOffset-=u-c}this.sourceUpdater_.timestampOffset(t.timestampOffset),this.trigger("timestampoffset")}var l=this.syncController_.mappingForTimeline(t.timeline);if(null!==l&&this.trigger({type:"segmenttimemapping",mapping:l}),this.state="APPENDING",n.map){var d=Za(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,c=e.mediaIndex,l=e.timeline;return["appending ["+c+"] of ["+o+", "+(o+u.length)+"] from playlist ["+a+"]","["+n+" => "+r+"] in timeline ["+l+"]"].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(Js(n)&&Js(r)){Xa(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}(Yo.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]:{};Jo(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),Qo(t,[{key:"buffered_",value:function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues.length)return Yo.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,n=e[e.length-1].startTime;return Yo.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=Za(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){Xa(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){Yo.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}(Qs),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 c=o[u];if(c.dateTimeObject){var l=c.dateTimeObject.getTime()/1e3+e.datetimeToDisplayTime,d=Math.abs(i-l);if(null!==s&&(0===d||s<d))break;s=d,a={time:l,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 c=o[u];if(c.timeline===r&&void 0!==c.start){var l=Math.abs(i-c.start);if(null!==s&&s<l)break;(!a||null===s||s>=l)&&(s=l,a={time:c.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],c=t.discontinuitySequence+s+1,l=e.discontinuities[c];if(l){var d=Math.abs(i-l.time);if(null!==a&&a<d)break;(!o||null===a||a>=d)&&(a=d,o={time:l.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(){Jo(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),Qo(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=Ne().timescale(t.map.bytes),r=Ne().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}(Yo.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=[],c=[],l=void 0,d=void 0,f=void 0,p=void 0,h=void 0;for(o=0;o<256;o++)c[(u[o]=o<<1^283*(o>>7))^o]=o;for(a=s=0;!r[a];a^=l||1,s=c[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[l=u[a]]]^65537*d^257*l^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,c=this._tables[0][4],l=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=c[a>>>24]<<24^c[a>>16&255]<<16^c[a>>8&255]<<8^c[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:l[0][c[a>>>24]]^l[1][c[a>>16&255]]^l[2][c[a>>8&255]]^l[3][c[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],c=n^a[2],l=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],E=g[4];for(m=0;m<h;m++)d=y[s>>>24]^b[u>>16&255]^_[c>>8&255]^w[255&l]^a[v],f=y[u>>>24]^b[c>>16&255]^_[l>>8&255]^w[255&s]^a[v+1],p=y[c>>>24]^b[l>>16&255]^_[s>>8&255]^w[255&u]^a[v+2],l=y[l>>>24]^b[s>>16&255]^_[u>>8&255]^w[255&c]^a[v+3],v+=4,s=d,u=f,c=p;for(m=0;m<4;m++)i[(3&-m)+o]=E[s>>>24]<<24^E[u>>16&255]<<16^E[c>>8&255]<<8^E[255&l]^a[v++],d=s,s=u,u=c,c=l,l=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,c=new Int32Array(t.buffer),l=new Uint8Array(t.byteLength),d=0;for(this.asyncStream_=new a,this.asyncStream_.push(this.decryptChunk_(c.subarray(d,d+u),r,i,l)),d=u;d<c.length;d+=u)i=new Uint32Array([s(c[d-4]),s(c[d-3]),s(c[d-2]),s(c[d-1])]),this.asyncStream_.push(this.decryptChunk_(c.subarray(d,d+u),r,i,l));this.asyncStream_.push((function(){var e;o(null,(e=l).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),c=void 0,l=void 0,d=void 0,f=void 0,p=void 0,h=void 0,m=void 0,v=void 0,g=void 0;for(c=n[0],l=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]^c),u[g+1]=s(u[g+1]^l),u[g+2]=s(u[g+2]^d),u[g+3]=s(u[g+3]^f),c=p,l=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}(),c=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},cu=function(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)},lu=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;cu(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 c in Yo.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),r.tracks)r.tracks[c].enabled=r.tracks[c]===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];Yo.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),cu(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,c=s.tracks,l=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,l):null,p=Yo.mergeOptions({id:f,playlistLoader:h},p),fu[e](e,p.playlistLoader,t),u[d].push(p),void 0===c[f]){var m=new Yo.AudioTrack({id:f,kind:uu(p),enabled:!1,language:p.language,default:p.default,label:f});c[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],c=u.groups,l=u.tracks,d=t.masterPlaylistLoader;for(var f in s[e])for(var p in c[f]||(c[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=Yo.mergeOptions({id:p,playlistLoader:m},h),fu[e](e,h.playlistLoader,t),c[f].push(h),void 0===l[p]){var v=n.addRemoteTextTrack({id:p,kind:"subtitles",default:h.default&&h.autoselect,language:h.language,label:p},!1).track;l[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 c=r[e][s][u];if(c.instreamId.match(/CC\d/)&&(o[s].push(Yo.mergeOptions({id:u},c)),void 0===a[u])){var l=n.addRemoteTextTrack({id:c.instreamId,kind:"captions",default:c.default&&c.autoselect,language:c.language,label:u},!1).track;a[u]=l}}}},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;cu(r,o),s&&(s.playlistLoader?(r.resyncLoader(),lu(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;cu(r,o),s&&(s.playlistLoader?u!==s.playlistLoader?(r.track&&r.track(a),r.resetEverything(),lu(s.playlistLoader,o)):lu(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){Jo(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,c=e.externHls,l=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=c,r.withCredentials=a,r.tech_=s,r.hls_=s.hls,r.sourceType_=h,r.useCueTags_=l,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:js,activeTrack:js,onGroupChanged:js,onTrackChanged:js}})),n),r.mediaSource=new Yo.MediaSource,r.mediaSource.addEventListener("sourceopen",r.handleSourceOpen_.bind(r)),r.seekable_=Yo.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 Qs(Yo.mergeOptions(m,{segmentMetadataTrack:r.segmentMetadataTrack_,loaderType:"main"}),e),r.audioSegmentLoader_=new Qs(Yo.mergeOptions(m,{loaderType:"audio"}),e),r.subtitleSegmentLoader_=new nu(Yo.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),Qo(t,[{key:"setupMasterPlaylistLoaderListeners_",value:function(){var e=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var t=e.masterPlaylistLoader_.media(),n=1.5*t.targetDuration*1e3;Na(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 Yo.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;Na(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:(Yo.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(){Yo.browser.IE_VERSION||Yo.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(Yo.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 Yo.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){Yo.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<=Va;var o=i.end(i.length-1);return o-r<=Va&&n-o<=Va}},{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?(Yo.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&&(Yo.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(),Yo.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=Ya(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_=Yo.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 ["+Ka(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){Yo.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 Yo.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,c=void 0,l=s.cueOutCont.split("/").map(parseFloat),d=ra(l,2);u=d[0],c=d[1],(o=new(i().VTTCue)(r,r+s.duration,"")).adStartTime=r-u,o.adEndTime=o.adStartTime+c,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}(Yo.EventTarget),_u=function e(t,n,r){Jo(this,e);var i,o,a,s=t.masterPlaylistController_,u=s[(t.options_.smoothQualityChange?"smooth":"fast")+"QualityChange_"].bind(s);if(n.attributes.RESOLUTION){var c=n.attributes.RESOLUTION;this.width=c.width,this.height=c.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"],Eu=function(){function e(t){var n=this;Jo(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 Qo(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+Va>=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)+Va);return void 0!==n&&(this.logger_("Trying to seek outside of seekable at time "+t+" with seekable range "+Ka(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=Ya(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=Ga(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)+Va,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)-Va)}},{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=Ga(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)+Ha),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 Yo.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 Yo.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}(),ku={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_)}},xu=function e(t,n){var r=0,i=0,o=Yo.mergeOptions(ku,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);Yo.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}},c=function e(){t.off("loadedmetadata",a),t.off("error",u),t.off("dispose",e)};t.on("error",u),t.on("dispose",c),t.reloadSourceOnError=function(n){c(),e(t,n)}},Su=function(e){xu(this,e)},Tu={PlaylistLoader:pa,Playlist:Oa,Decrypter:Ue,AsyncStream:Ze,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}}));Ks(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})),c=u[u.length-1],l=u.filter((function(e){return e.bandwidth===c.bandwidth}))[0];if(!1===o){var d=l||s[0]||a[0];return d?d.playlist:null}var f=u.filter((function(e){return e.width&&e.height}));Ks(f,(function(e,t){return e.width-t.width}));var p=f.filter((function(e){return e.width===n&&e.height===r}));c=p[p.length-1];var h=p.filter((function(e){return e.bandwidth===c.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})),c=v[v.length-1],g=v.filter((function(e){return e.bandwidth===c.bandwidth}))[0]);var y=g||h||l||s[0]||a[0];return y?y.playlist:null}(this.playlists.master,this.systemBandwidth,parseInt(Gs(this.tech_.el(),"width"),10)*e,parseInt(Gs(this.tech_.el(),"height"),10)*e,this.limitRenditionByPlayerDimensions)},INITIAL_PLAYLIST_SELECTOR:function(){var e=this.playlists.master.playlists.filter(Oa.isEnabled);return Ks(e,(function(e,t){return $s(e,t)})),e.filter((function(e){return ps(e.attributes.CODECS).videoCodec}))[0]||null},comparePlaylistBandwidth:$s,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 Yo.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),Bs[e]},set:function(t){Yo.log.warn("using Hls."+e+" is UNSAFE be sure you know what you are doing"),"number"!=typeof t||t<0?Yo.log.warn("value of Hls."+e+" must be greater than or equal to 0"):Bs[e]=t}})}));var Cu="videojs-vhs",Nu=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 Yo.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};var Au=function(e){var t=e.masterPlaylistController_.mainSegmentLoader_,n=e.masterPlaylistController_.audioSegmentLoader_,r=Yo.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 c={},l=t.playlist_;for(var d in e)c[d]={audioContentType:i,videoContentType:r},l.contentProtection&&l.contentProtection[d]&&l.contentProtection[d].pssh&&(c[d].pssh=l.contentProtection[d].pssh),"string"==typeof e[d]&&(c[d].url=e[d]);return Yo.mergeOptions(e,c)}(e.source_.keySystems,t,n);i&&(r.currentSource().keySystems=i,11!==Yo.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(!Yo.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=!!Yo.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 Yo.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){Jo(this,t);var i=na(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,r.hls));if(n.options_&&n.options_.playerId){var o=Yo(n.options_.playerId);o.hasOwnProperty("hls")||Object.defineProperty(o,"hls",{get:function(){return Yo.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),Qo(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=Nu(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.masterPlaylistController_=new bu(this.options_),this.playbackWatcher_=new Eu(Yo.mergeOptions(this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()}})),this.masterPlaylistController_.on("error",(function(){Yo.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(){Yo.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 $a(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 $a(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?Yo.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)})):[]},Au(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(Yo.URL.createObjectURL(this.masterPlaylistController_.mediaSource)))}},{key:"setupQualityLevels_",value:function(){var e=this,t=Yo.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 qa({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 za({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:r,pauseAfterSeek:n,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})}}]),t}(Yo.getComponent("Component")),Iu={name:"videojs-http-streaming",VERSION:"1.13.2",canHandleSource:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Yo.mergeOptions(Yo.options,t);return Iu.canPlayType(e.type,n)},handleSource:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Yo.mergeOptions(Yo.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=Yo.mergeOptions(Yo.options,t),r=n.hls.overrideNative,i=Nu(e),o=i&&(!Tu.supportsTypeNatively(i)||r);return o?"maybe":""}};void 0!==Yo.MediaSource&&void 0!==Yo.URL||(Yo.MediaSource=Ts,Yo.URL=Cs),Ts.supportsNativeMediaSources()&&Yo.getTech("Html5").registerSourceHandler(Iu,0),Yo.HlsHandler=Lu,Yo.HlsSourceHandler=Iu,Yo.Hls=Tu,Yo.use||Yo.registerComponent("Hls",Tu),Yo.options.hls=Yo.options.hls||{},Yo.registerPlugin?Yo.registerPlugin("reloadSourceOnError",Su):Yo.plugin("reloadSourceOnError",Su);var Mu=Yo},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 c(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 c(){e=e.replace(/^\s+/,"")}if(c(),t.startTime=i(),c(),"--\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),c(),t.endTime=i(),c(),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 l=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"),c=u,m=[];null!==(o=n());)if("<"!==o[0])c.appendChild(e.document.createTextNode((s=o,l.innerHTML=s,s=l.textContent,l.textContent="",s)));else{if("/"===o[1]){m.length&&m[m.length-1]===o.substr(2).replace(">","")&&(m.pop(),c=c.parentNode);continue}var v,g=a(o.substr(1,o.length-2));if(g){v=e.document.createProcessingInstruction("timestamp",g),c.appendChild(v);continue}var y=o.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(v=i(y[1],y[3])))continue;if(!r(c,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]),c.appendChild(v),c=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 E(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 c=i.lineHeight,l=c*Math.round(a),d=n[u]+c,f=s[0];Math.abs(l)>d&&(l=l<0?-1:1,l*=Math.ceil(d/c)*c),a<0&&(l+=""===o.vertical?n.height:n.width,s=s.reverse()),i.move(f,l)}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 k(){}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}},k.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},k.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null};k.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),E(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)},k.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=[]},k.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 l=(i=n()).match(/^WEBVTT([ \t].*)?$/);if(!l||!l[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{c(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=k},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,c=i,l=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 c},set:function(e){c=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return l},set:function(e){l=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 c=!!window.FontFace;function l(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=l(e,"link",{rel:"stylesheet",href:t,media:"all"});var i=!1,o=!0,a=null,s=n||null;c?(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=l(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 E(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 k(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 N(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 A(){this.c={}}function P(e,t){this.c=e,this.f=t,this.a=l(this.c,"span",{"aria-hidden":"true"},this.f)}function L(e){d(e.c,"body",e.a)}function I(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:"+k(e.c)+";font-style:"+S(e)+";font-weight:"+e.f+"00;"}function M(e,t,n,r,i,o){this.g=e,this.j=t,this.a=r,this.c=n,this.f=i||3e3,this.h=o||void 0}function R(e,t,n,r,i,o,a){this.v=e,this.B=t,this.c=n,this.a=r,this.s=a||"BESbswy",this.f={},this.w=i||3e3,this.u=o||null,this.m=this.j=this.h=this.g=null,this.g=new P(this.c,this.s),this.h=new P(this.c,this.s),this.j=new P(this.c,this.s),this.m=new P(this.c,this.s),e=I(e=new E(this.a.c+",serif",x(this.a))),this.g.a.style.cssText=e,e=I(e=new E(this.a.c+",sans-serif",x(this.a))),this.h.a.style.cssText=e,e=I(e=new E("serif",x(this.a))),this.j.a.style.cssText=e,e=I(e=new E("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)},M.prototype.start=function(){var e=this.c.o.document,t=this,n=s(),r=new Promise((function(r,i){!function o(){s()-n>=t.f?i():e.fonts.load(function(e){return S(e)+" "+e.f+"00 300px "+k(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"},j=null;function Z(){if(null===j){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);j=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return j}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=Z()&&B(e,n,r)),t?s()-e.A>=e.w?Z()&&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 q(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 z=null;function H(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")):N(e.a))}function V(e){this.j=e,this.a=new A,this.h=0,this.f=this.g=!0}function W(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)N(t.a);else{t.f+=n.length,o&&(t.j=o);var u,c=[];for(u=0;u<n.length;u++){var l=n[u],d=s[l.c],f=t.a,h=l;if(f.g&&p(f.f,[f.a.c("wf",h.c,x(h).toString(),"loading")]),O(f,"fontloading",h),f=null,null===z)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);z=h?42<parseInt(h[1],10):!m}else z=!1;f=z?new M(a(t.g,t),a(t.h,t),t.c,l,t.s,d):new R(a(t.g,t),a(t.h,t),t.c,l,t.s,e,d),c.push(f)}for(u=0;u<c.length;u++)c[u].start()}}),0)}function Y(e,t){this.c=e,this.a=t}function G(e,t){this.c=e,this.a=t}function K(e,t){this.c=e||$,this.a=[],this.f=[],this.g=t||""}q.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,H(this)},q.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),H(this)},V.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 q(e.c,t,i);for(e.h=r.length,t=0,n=r.length;t<n;t++)r[t].load((function(t,n,r){W(e,o,t,n,r)}))}(this,new C(this.c,e),e)},Y.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 E(u,n))):a.push(new E(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([])},G.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(","),c=0;c<u.length;c+=1)s.push(new E(r[0],u[c]));else s.push(new E(r[0]));b(a,(function(){e(s,o)}))};var $="https://fonts.googleapis.com/css";function X(e){this.f=e,this.a=[],this.c={}}var J={latin:"BESbswy","latin-ext":"çöüğş",cyrillic:"йяЖ",greek:"αβΣ",khmer:"កខគ",Hanuman:"កខគ"},Q={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 K(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 X(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,c=0;c<u;c++){var l;if((l=s[c]).match(/^[\w-]+$/))if(null==(d=te.exec(l.toLowerCase())))l="";else{if(l=null==(l=d[2])||""==l?"n":ee[l],null==(d=d[1])||""==d)d="4";else var d=Q[d]||(isNaN(d)?"4":d.substr(0,1));l=[l,d].join("")}else l="";l&&a.push(l)}0<a.length&&(o=a),3==r.length&&(a=[],0<(r=(r=r[2])?r.split(","):a).length&&(r=J[r[0]])&&(e.c[i]=r))}for(e.c[i]||(r=J[i])&&(e.c[i]=r),r=0;r<o.length;r+=1)e.a.push(new E(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 E(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 E(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 V(window);ae.a.c.custom=function(e,t){return new G(t,e)},ae.a.c.fontdeck=function(e,t){return new oe(t,e)},ae.a.c.monotype=function(e,t){return new Y(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 c,o=n.domBuilder||new i,s=n.errorHandler,u=n.locator,l=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="©",l[""]="http://www.w3.org/1999/xhtml"),l.xml=l.xml||"http://www.w3.org/XML/1998/namespace",e?r.parse(e,l,d):r.errorHandler.error("invalid doc source"),o.doc},i.prototype={startDocument:function(){this.doc=(new l).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 c=0;c<s;c++){e=r.getURI(c);var l=r.getValue(c),d=(n=r.getQName(c),i.createAttributeNS(e,n));this.locator&&o(r.getLocator(c),d),d.value=d.nodeValue=l,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 c=n(36147).G,l=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,c=i.ENTITY_REFERENCE_NODE=5,l=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 E(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,E);return n.code=e,t&&(this.message=this.message+": "+t),n}function k(){}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 N(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 E(_,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 A(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 I(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(I(e,t))return!0}while(e=e.nextSibling)}function M(){}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 j(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 Z(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 q(){}function z(){}function H(){}function V(){}function W(){}function Y(){}function G(){}function K(){}function $(){}function X(){}function J(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 Q(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 l=e.attributes,v=l.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"==(_=l.item(b)).prefix?i.push({prefix:_.localName,namespace:_.value}):"xmlns"==_.nodeName&&i.push({prefix:"",namespace:_.value})}for(b=0;b<v;b++){var _;if(Q(_=l.item(b),0,i)){var w=_.prefix||"",E=_.namespaceURI,k=w?" xmlns:"+w:" xmlns";t.push(k,'="',E,'"'),i.push({prefix:w,namespace:E})}ee(_,t,n,r,i)}if(Q(e,0,i)){w=e.prefix||"",E=e.namespaceURI,k=w?" xmlns:"+w:" xmlns";t.push(k,'="',E,'"'),i.push({prefix:w,namespace:E})}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 c: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 k),r.ownerDocument=e,r.nodeType){case o:var u=t.attributes,c=r.attributes=new T,l=u.length;c._ownerElement=r;for(var d=0;d<l;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}E.prototype=Error.prototype,n(g,E),k.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,k),T.prototype={length:0,item:k.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 E(w);var n=this.getNamedItem(e.nodeName);return N(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new E(w);return t=this.getNamedItemNS(e.namespaceURI,e.localName),N(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}},A.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 M;if(r.implementation=this,r.childNodes=new k,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 V;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 Z(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return j(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),M.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),Z(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),j(this,e)},importNode:function(e,t){return te(this,e,t)},getElementById:function(e){var t=null;return I(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 k,(t.attributes=new T)._ownerElement=t,t},createDocumentFragment:function(){var e=new K;return e.ownerDocument=this,e.childNodes=new k,e},createTextNode:function(e){var t=new q;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new z;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new H;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new $;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 G;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 k,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(M,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 I(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 I(n,(function(i){i===n||i.nodeType!==o||"*"!==e&&i.namespaceURI!==e||"*"!==t&&i.localName!=t||r.push(i)})),r}))}},M.prototype.getElementsByTagName=B.prototype.getElementsByTagName,M.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),q.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(q,U),z.prototype={nodeName:"#comment",nodeType:f},r(z,U),H.prototype={nodeName:"#cdata-section",nodeType:u},r(H,U),V.prototype.nodeType=h,r(V,P),W.prototype.nodeType=v,r(W,P),Y.prototype.nodeType=l,r(Y,P),G.prototype.nodeType=c,r(G,P),K.prototype.nodeName="#document-fragment",K.prototype.nodeType=m,r(K,P),$.prototype.nodeType=d,r($,P),X.prototype.serializeToString=function(e,t,n){return J.call(e,t,n)},P.prototype.toString=J;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=A},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 c=e.charAt(s);switch(c){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(c,t))>0))throw new Error("attribute value no end '"+c+"' match");l=e.slice(t,s).replace(/&#?\w+;/g,i),n.add(a,l,t-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');l=e.slice(t,s).replace(/&#?\w+;/g,i),n.add(a,l,t),o.warning('attribute "'+a+'" missed start quot('+c+")!!"),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:"/"===(l=e.slice(t,s)).slice(-1)&&(n.closed=!0,l=l.slice(0,-1));case 2:2===u&&(l=a),4==u?(o.warning('attribute "'+l+'" missed quot(")!!'),n.add(a,l.replace(/&#?\w+;/g,i),t)):("http://www.w3.org/1999/xhtml"===r[""]&&l.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),n.add(l,l,t));break;case 3:throw new Error("attribute value missed!!")}return s;case"€":c=" ";default:if(c<=" ")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 l=e.slice(t,s).replace(/&#?\w+;/g,i);o.warning('attribute "'+l+'" missed quot(")!!'),n.add(a,l,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 c=a.prefix=s.slice(0,p),l=s.slice(p+1),f="xmlns"===c&&l;else l=s,c=null,f="xmlns"===s&&"";a.localName=l,!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--;){(c=(a=e[o]).prefix)&&("xml"===c&&(a.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==c&&(a.uri=n[c||""]))}var p;(p=r.indexOf(":"))>0?(c=e.prefix=r.slice(0,p),l=e.localName=r.slice(p+1)):(c=null,l=e.localName=r);var h=e.uri=n[c||""];if(t.startElement(h,l,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=i,!0;if(t.endElement(h,l,r),i)for(c in i)t.endPrefixMapping(c)}function c(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 l(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],c=a>4&&o[4][0],l=o[a-1];return n.startDTD(s,u&&u.replace(/^(['"])(.*?)\1$/,"$2"),c&&c.replace(/^(['"])(.*?)\1$/,"$2")),n.endDTD(),l.index+l[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>k){var n=e.substring(k,t).replace(/&#?\w+;/g,d);_&&v(k),r.characters(n,0,t-k),k=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}],E={},k=0;for(;;){try{var x=e.indexOf("<",k);if(x<0){if(!e.substr(k).match(/^\s*$/)){var S=r.doc,T=S.createTextNode(e.substr(k));S.appendChild(T),r.currentElement=T}return}switch(x>k&&m(x),e.charAt(x+1)){case"/":var C=e.indexOf(">",x+3),N=e.substring(x+2,C),O=w.pop();C<0?(N=e.substring(x+2).replace(/[\s<].*/,""),i.error("end tag name: "+N+" is not complete:"+O.tagName),C=x+1+N.length):N.match(/\s</)&&(N=N.replace(/[\s<].*/,""),i.error("end tag name: "+N+" maybe not complete"),C=x+1+N.length);var A=O.localNSMap,P=O.tagName==N;if(P||O.tagName&&O.tagName.toLowerCase()==N.toLowerCase()){if(r.endElement(O.uri,O.localName,N),A)for(var L in A)r.endPrefixMapping(L);P||i.fatalError("end tag name: "+N+" 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 I=new h,M=w[w.length-1].currentNSMap,R=(C=s(e,x,I,M,d,i),I.length);if(!I.closed&&l(e,C,I.tagName,E)&&(I.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),_&&R){for(var D=a(_,{}),j=0;j<R;j++){var Z=I[j];v(Z.offset),Z.locator=a(_,{})}r.locator=D,u(I,r,M)&&w.push(I),r.locator=_}else u(I,r,M)&&w.push(I);"http://www.w3.org/1999/xhtml"!==I.uri||I.closed?C++:C=c(e,C,I.tagName,d,r)}}catch(e){i.error("element parse error: "+e),C=-1}C>k?k=C:m(Math.max(x,k)+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},8300:function(e){"use strict";e.exports=playerjs},25893:function(){},50247:function(){},30717:function(){},31777:function(){},89917:function(){},69862:function(){},40964:function(){},65586:function(){},84406:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},9869:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(78363);function i(e){if(r(e))return e}},50033:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(78363),i=n(84406);function o(e){if(r(e))return(0,i.Z)(e)}},5281: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}})},33938:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69798);function i(e,t,n,i,o,a,s){try{var u=e[a](s),c=u.value}catch(e){return void n(e)}u.done?t(c):r.resolve(c).then(i,o)}function o(e){return function(){var t=this,n=arguments;return new r((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,u,"next",e)}function u(e){i(a,r,o,s,u,"throw",e)}s(void 0)}))}}},68420:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},84087:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(13535),i=n(51445),o=n(62534),a=n(62033);function s(e,t,n){return s=(0,a.Z)()?r:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(i(Function).apply(e,r));return n&&(0,o.Z)(a,n.prototype),a},s.apply(null,arguments)}},27344:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(44341);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),r(e,i.key,i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),r(e,"prototype",{writable:!1}),e}},44845:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(44341);function i(e,t,n){return t in e?r(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},73126:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(12088);function i(){return i=r||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)}},32647:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83863),i=n(58377),o=n(37554);function a(){return a="undefined"!=typeof Reflect&&r?r:function(e,t,n){var r=(0,o.Z)(e,t);if(r){var a=i(r,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}},a.apply(this,arguments)}},3362:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(79542),i=n(24889);function o(e){return o=r?i:function(e){return e.__proto__||i(e)},o(e)}},90306:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(189),i=n(44341),o=n(62534);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=r(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),i(e,"prototype",{writable:!1}),t&&(0,o.Z)(e,t)}},39834:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(95683);function i(e){var t;return-1!==r(t=Function.toString.call(e)).call(t,"[native code]")}},62033:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13535);function i(){if("undefined"==typeof Reflect||!r)return!1;if(r.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(r(Boolean,[],(function(){}))),!0}catch(e){return!1}}},24713:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(51446),i=n(19996),o=n(53592);function a(e){if(void 0!==r&&null!=i(e)||null!=e["@@iterator"])return o(e)}},57586:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(51446),i=n(19996);function o(e,t){var n=null==e?null:void 0!==r&&i(e)||e["@@iterator"];if(null!=n){var o,a,s=[],u=!0,c=!1;try{for(n=n.call(e);!(u=(o=n.next()).done)&&(s.push(o.value),!t||s.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{u||null==n.return||n.return()}finally{if(c)throw a}}return s}}},78458:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},90757:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},2562:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(63263),i=n(95683),o=n(70268);function a(e,t){if(null==e)return{};var n,a,s=(0,o.Z)(e,t);if(r){var u=r(e);for(a=0;a<u.length;a++)n=u[a],i(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},70268:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(89356),i=n(95683);function o(e,t){if(null==e)return{};var n,o,a={},s=r(e);for(o=0;o<s.length;o++)n=s[o],i(t).call(t,n)>=0||(a[n]=e[n]);return a}},3020:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19623),i=n(5281);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},62534:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(79542);function i(e,t){return i=r||function(e,t){return e.__proto__=t,e},i(e,t)}},83728:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9869),i=n(57586),o=n(71518),a=n(78458);function s(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},37554:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3362);function i(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}},15713:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(9869),i=n(24713),o=n(71518),a=n(78458);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},86302:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(50033),i=n(24713),o=n(71518),a=n(90757);function s(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},19623:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(51446),i=n(23882);function o(e){return 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},o(e)}},71518:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95238),i=n(53592),o=n(84406);function a(e,t){var n;if(e){if("string"==typeof e)return(0,o.Z)(e,t);var a=r(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?i(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?(0,o.Z)(e,t):void 0}}},25794:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(90),i=n(189),o=n(3362),a=n(62534),s=n(39834),u=n(84087);function c(e){var t="function"==typeof r?new r:void 0;return c=function(e){if(null===e||!(0,s.Z)(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(0,u.Z)(e,arguments,(0,o.Z)(this).constructor)}return n.prototype=i(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,a.Z)(n,e)},c(e)}},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}})},4942:function(e,t,n){"use strict";function r(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,{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)}},1413:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4942);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},63366:function(e,t,n){"use strict";function r(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}n.d(t,{Z:function(){return r}})},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":"\\""}')},5778:function(e){"use strict";e.exports=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} قيد التحميل."}')},83854:function(e){"use strict";e.exports=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á."}')},85429:function(e){"use strict";e.exports=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."}')},6518:function(e){"use strict";e.exports=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"}')},8762:function(e){"use strict";e.exports=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."}')},17161:function(e){"use strict";e.exports=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."}')},21910:function(e){"use strict";e.exports=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 l’utilizzo di impostazioni non supportate dal browser.","No compatible source was found for this media.":"Non ci sono fonti compatibili per questo filmato."}')},3992:function(e){"use strict";e.exports=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.":"この動画に対して互換性のあるソースが見つかりませんでした"}')},43420:function(e){"use strict";e.exports=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."}')},18059:function(e){"use strict";e.exports=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"}')},13708:function(e){"use strict";e.exports=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."}')},9231:function(e){"use strict";e.exports=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"}')},75058:function(e){"use strict";e.exports=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."}')},62718:function(e){"use strict";e.exports=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."}')},51131:function(e){"use strict";e.exports=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}。"}')},87922:function(e){"use strict";e.exports=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} 正在載入。"}')}},__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__(61577),t=__webpack_require__.n(e),n=(__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)),r=__webpack_require__.n(n);window.URLSearchParams=t()||r(),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 i=__webpack_require__(67294),o=__webpack_require__(73935),a=__webpack_require__(16550),s=__webpack_require__(50554),u=__webpack_require__(30670),c=__webpack_require__.n(u),l=__webpack_require__(41143),d=__webpack_require__.n(l);function f(e){return"/"===e.charAt(0)}function p(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 h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e&&e.split("/")||[],r=t&&t.split("/")||[],i=e&&f(e),o=t&&f(t),a=i||o;if(e&&f(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 c=0,l=r.length;l>=0;l--){var d=r[l];"."===d?p(r,l):".."===d?(p(r,l),c++):c&&(p(r,l),c--)}if(!a)for(;c--;c)r.unshift("..");!a||""===r[0]||r[0]&&f(r[0])||r.unshift("");var h=r.join("/");return s&&"/"!==h.substr(-1)&&(h+="/"),h},m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var v=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":m(t);if(r!==(void 0===n?"undefined":m(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},g=function(e){return"/"===e.charAt(0)?e:"/"+e},y=function(e){return"/"===e.charAt(0)?e.substr(1):e},b=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)},_=function(e,t){return b(e,t)?e.substr(t.length):e},w=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},E=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},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},x=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=k({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=h(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},S=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&v(e.state,t.state)},T=function(){var e=null,t=[];return{setPrompt:function(t){return c()(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):(c()(!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)}))}}},C=!("undefined"==typeof window||!window.document||!window.document.createElement),N=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},O=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},A=function(e,t){return t(window.confirm(e))},P=function(){return-1===window.navigator.userAgent.indexOf("Firefox")},L=("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}),I="hashchange",M={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+y(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:y,decodePath:g},slash:{encodePath:g,decodePath:g}},R=function(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)},D=function(e){return window.location.hash=e},j=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};d()(C,"Hash history needs a DOM");var t=window.history,n=P(),r=e.getUserConfirmation,i=void 0===r?A:r,o=e.hashType,a=void 0===o?"slash":o,s=e.basename?w(g(e.basename)):"",u=M[a],l=u.encodePath,f=u.decodePath,p=function(){var e=f(R());return c()(!s||b(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=_(e,s)),x(e)},h=T(),m=function(e){L(te,e),te.length=t.length,h.notifyListeners(te.location,te.action)},v=!1,y=null,k=function(){var e=R(),t=l(e);if(e!==t)j(t);else{var n=p(),r=te.location;if(!v&&S(r,n))return;if(y===E(n))return;y=null,Z(n)}},Z=function(e){if(v)v=!1,m();else{h.confirmTransitionTo(e,"POP",i,(function(t){t?m({action:"POP",location:e}):B(e)}))}},B=function(e){var t=te.location,n=z.lastIndexOf(E(t));-1===n&&(n=0);var r=z.lastIndexOf(E(e));-1===r&&(r=0);var i=n-r;i&&(v=!0,Y(i))},F=R(),U=l(F);F!==U&&j(U);var q=p(),z=[E(q)],H=function(e){return"#"+l(s+E(e))},V=function(e,t){c()(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=x(e,void 0,void 0,te.location);h.confirmTransitionTo(r,n,i,(function(e){if(e){var t=E(r),i=l(s+t);if(R()!==i){y=t,D(i);var o=z.lastIndexOf(E(te.location)),a=z.slice(0,-1===o?0:o+1);a.push(t),z=a,m({action:n,location:r})}else c()(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),m()}}))},W=function(e,t){c()(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=x(e,void 0,void 0,te.location);h.confirmTransitionTo(r,n,i,(function(e){if(e){var t=E(r),i=l(s+t);R()!==i&&(y=t,j(i));var o=z.indexOf(E(te.location));-1!==o&&(z[o]=t),m({action:n,location:r})}}))},Y=function(e){c()(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},G=function(){return Y(-1)},K=function(){return Y(1)},$=0,X=function(e){1===($+=e)?N(window,I,k):0===$&&O(window,I,k)},J=!1,Q=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=h.setPrompt(e);return J||(X(1),J=!0),function(){return J&&(J=!1,X(-1)),t()}},ee=function(e){var t=h.appendListener(e);return X(1),function(){X(-1),t()}},te={length:t.length,action:"POP",location:q,createHref:H,push:V,replace:W,go:Y,goBack:G,goForward:K,block:Q,listen:ee};return te},B=("function"==typeof Symbol&&Symbol.iterator,Object.assign,__webpack_require__(35641)),F="_course_token",U=new(t())(window.location.hash.substr(1)),q=U.get(F);q&&(U.delete(F),window.history.replaceState(null,null,"#".concat(U.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=q||(0,B.s4)();navigator.serviceWorker.ready.then((function(e){e.active.postMessage({id:r,jsonrpc:"2.0",method:n,result:{token:i}})}))}}));var z=__webpack_require__(28192),H=__webpack_require__(72131),V=__webpack_require__(58539),W=__webpack_require__(91761),Y=__webpack_require__(23328);var G=__webpack_require__(32658),K=__webpack_require__(23692),$=__webpack_require__(80396),X=__webpack_require__(23106),J=__webpack_require__(75716),Q=__webpack_require__(94184),ee=__webpack_require__.n(Q),te=__webpack_require__(13657),ne=__webpack_require__.n(te),re=__webpack_require__(416),ie=__webpack_require__.n(re),oe=__webpack_require__(90630),ae=__webpack_require__(41785),se=__webpack_require__(64393),ue=__webpack_require__(73126),ce=__webpack_require__(2562),le=__webpack_require__(73727),de=["children","disabled","onClick","to"],fe=function(e){var t=e.children,n=e.disabled,r=e.onClick,o=e.to,a=(0,ce.Z)(e,de);return n?i.createElement("a",(0,ue.Z)({"aria-disabled":"true",role:"link"},a),t):i.createElement(le.rU,(0,ue.Z)({onClick:r,to:o},a),t)},pe=__webpack_require__(67294),he=function(){return null},me=(0,J.Mw)("CoverAction",(function(e){var t=e.className,n=void 0===t?"":t,r=e.colorAccent,i=e.coverImageKey,o=e.enrolled,a=e.favoritedAt,s=e.firstLessonId,u=e.isPreview,c=e.nextLessonId,l=e.percentComplete,d=e.trackingQuizId,f=(0,oe.ye)("rise-com-lxp"),p=se.VO&&!f,h=(0,H.R)()?100===l:(0,H.ew)(),m=null!=c,v=m?c:s,g=o||a||u||(0,H.R)()||(0,H.AP)(),y=!u&&se.VO&&(h||!m&&ne()(d)),b=function(e){var t=e.isCourseComplete,n=e.percentCourseComplete,r=(0,G.Z)(),i=r.courseDetails,o=r.courseResume,a=r.courseStart,s=r.processStartAgain;return{courseCTALabel:t?s:n>0?o:a,courseDetailsLabel:i}}({isCourseComplete:h,percentCourseComplete:l}),_=b.courseCTALabel,w="preview"===window.viewType||!p||g||a,E=ee()(n,"cover__header-content-action-link",{"cover__header-content-action-link--disabled":!w,"brand--color":!i,"overview__start-again":y,"overview__button-enrolled":g}),k=ee()("cover__header-content-action-link-text",{"cover__header-content-action-link-text--dark":!(0,$.LI)(r)});return _?pe.createElement("div",{className:"cover__header-content-action-wrapper"},pe.createElement(fe,{className:E,disabled:!w,to:(0,X.Jv)(v)},pe.createElement("span",{className:k},_)),pe.createElement(he,null)):pe.createElement(he,null)}));var ve=(0,s.$j)((function(){var e=(0,Y.b5)();return function(t){var n=(0,W.Oe)(t),r=ie()(["theme","colorAccent"],n),i=(0,Y.LX)(t),o=function(e){return e.global}(t),a=(0,K._v)(t),s=(0,W.jR)(t)||{},u=ie()(["media","image","key"],s),c=e(t);return{colorAccent:r,coverImageKey:u,enrolled:n.enrolled,favoritedAt:n.favoritedAt,firstLessonId:null==i?void 0:i.id,isOnePage:n.type===ae.BL,isPreview:null==o?void 0:o.isPreview,navigation:n.navigation,nextLessonId:c,percentComplete:a,trackingQuizId:n.trackingQuizId}}}))(me),ge=__webpack_require__(31484),ye=__webpack_require__(57030),be=__webpack_require__(36335),_e=__webpack_require__(67294),we="".concat((0,H.dU)("CDN_USER_CONTENT_URI"),"/assets/rise/assets/trophy.svg"),Ee=(0,be.Z)("cover");var ke=__webpack_require__(97076),xe=__webpack_require__(67294),Se=(0,be.Z)("cover");var Te=(0,J.Mw)("CoverDueDate",(function(e){var t=e.className,n=void 0===t?"":t,r=e.dueAt,i=(0,K.g2)(),o=(0,K.Q1)(),a=null==o||o.quizPassed||o.outOfAttempts;if(!r||i&&a)return null;var s=(0,ke.Z)(r);return xe.createElement("div",{className:Se("due-date",{urgent:s}).mix(n)},(0,ke.b)(r))}));var Ce=(0,s.$j)((function(e){return{dueAt:(0,W.Oe)(e).dueAt}}))(Te),Ne=__webpack_require__(74792),Oe=__webpack_require__(67294),Ae=(0,be.Z)("cover"),Pe=(0,J.Mw)("CoverProgress",(function(e){var t=e.nextLesson,n=e.percentComplete;return 0!==n&&se.VO?Oe.createElement("div",{className:Ae("progress")},Oe.createElement("div",{className:Ae("progress-text")},n,"% Complete"),Oe.createElement("div",{"aria-valuenow":n,className:Ae("progress-outer"),role:"progressbar"},Oe.createElement("div",{className:Ae("progress-inner"),style:{width:"".concat(n,"%")}})),t&&Oe.createElement("div",{className:Ae("progress-next-lesson")},Oe.createElement(Ne.ol,{className:Ae("progress-next-lesson-icon").toString(),decorative:!0}),Oe.createElement("span",{"aria-hidden":"true",className:Ae("progress-next-lesson-text")},t.title),Oe.createElement("span",{className:"visually-hidden"},"Next lesson: ",t.title))):null})),Le=(0,s.$j)((function(){var e=(0,Y.Oy)();return function(t){return{nextLesson:e(t),percentComplete:(0,K._v)(t)}}}))(Pe),Ie=__webpack_require__(88066),Me=__webpack_require__.n(Ie),Re=__webpack_require__(32922),De=__webpack_require__(67294),je=(0,be.Z)("cover");function Ze(){var e,t=(0,Re.Tn)().trackingCompletionPercentage,n=(0,Re.An)(),r=(0,K.ye)(),i=Math.ceil(t/100*n);if(null==t||null==i)return null;var o=r>=t,a=o?Ne.FJ:Ne.Wr;return De.createElement("li",{className:je("lesson-requirement"),role:"listitem"},De.createElement(a,{className:je("lesson-requirement-icon",{complete:o}).toString()}),De.createElement("span",{className:je("lesson-requirement-text")},"Complete",i===n?" all ":Me()(e=" ".concat(i," of ")).call(e,n," "),"lessons in this course"))}var Be={passed:Ne.hf,failed:Ne.Hw,requirement:Ne.fS};function Fe(){var e,t=(0,K.OS)(),n=(0,K.Q1)(),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 c=Be[u];return De.createElement("li",{className:je("quiz-requirement"),role:"listitem"},De.createElement(c,{className:je("quiz-requirement-icon",{type:u}).toString()}),De.createElement("span",{className:je("quiz-requirement-text")},r,null!=i&&De.createElement(De.Fragment,null,De.createElement("span",{"aria-hidden":"true",className:je("quiz-requirement-seperator")}," | "),"Score of ",i,"% or higher"),s&&De.createElement("div",{className:je("quiz-requirement-no-attempts")},"No attempts remaining")))}var Ue=__webpack_require__(44845),qe=__webpack_require__(50557),ze=__webpack_require__.n(qe),He=__webpack_require__(78892),Ve=__webpack_require__(31454),We=__webpack_require__(96022),Ye=__webpack_require__(97301),Ge=__webpack_require__(67294),Ke=(0,be.Z)("lesson-nav"),$e=function(e){var t=e.children,n=e.finish,r=e.lessonId,i=e.style;if(r)return Ge.createElement(Ye.Z,(0,ue.Z)({className:"lesson-nav-link",tooltipClassName:"lesson-nav-link-tooltip",style:i},e));var o=n?"/lessons/progress-summary":"/";return Ge.createElement("span",{className:"lesson-nav-link"},Ge.createElement(le.rU,{className:"lesson-nav-link__link",to:o,style:i},t))};var Xe=ze()((0,s.$j)((function(e){var t=(0,W.Oe)(e),n=(0,G.b)(e);return{buttonScheme:t.buttonScheme,color:t.color,labelLessonRestricted:n.lessonRestricted,labelQuizRequirePassingScore:n.quizRequirePassingScore}}),null,null,{forwardRef:!0}),i.forwardRef),Je=Xe((function(e,t){var n,r,o=e.buttonScheme,a=e.children,s=e.color,u=e.direction,c=e.finish,l=e.linkStyles,d=e.navLessonId,f=e.restrictionType,p=e.wrapStyles,h=null!=f,m=(0,i.useMemo)((function(){return(0,He.LI)(s)}),[s]),v=(0,We.$)(),g=(r={className:Ke(null,(n={},(0,Ue.Z)(n,u,!0),(0,Ue.Z)(n,"accent",o===Ve.cX.ACCENT),(0,Ue.Z)(n,"accent-dark",o===Ve.cX.ACCENT&&m),(0,Ue.Z)(n,"accent-light",o===Ve.cX.ACCENT&&!m),(0,Ue.Z)(n,"dark",o===Ve.cX.DARK),(0,Ue.Z)(n,"floating",v===Ve.zq.FLOATING),(0,Ue.Z)(n,"floating-full",v===Ve.zq.FLOATING_FULL),(0,Ue.Z)(n,"finish",c),(0,Ue.Z)(n,"full",v===Ve.zq.FULL),(0,Ue.Z)(n,"light",o===Ve.cX.LIGHT),(0,Ue.Z)(n,"restricted",h),(0,Ue.Z)(n,"tint",o===Ve.cX.TINT),n))},(0,Ue.Z)(r,"data-".concat(u,"-lesson"),!0),(0,Ue.Z)(r,"style",p),r);return Ge.createElement("div",(0,ue.Z)({ref:t},g),Ge.createElement($e,{lessonId:d,finish:c,style:l},a))})),Qe=__webpack_require__(6646),et=__webpack_require__(67294),tt={CoverAction:ve,CoverCompletedInformation:function(){var e,t=(0,W.Tn)(),n=t.certificateDownload,r=t.riseComCurrentUser,i=(0,Y.az)(),o=(0,K.Q1)(),a=null===(e=null==o?void 0:o.quizPassed)||void 0===e||e;return i&&a&&!(0,H.R)()&&"preview"!==window.viewType?_e.createElement("div",{className:Ee("completed-info")},_e.createElement("div",{className:Ee("completed-info-avatar")},_e.createElement(ye.Z,(0,ue.Z)({},r,{decorative:!0})),_e.createElement("img",{className:Ee("completed-info-trophy"),src:we,alt:""})),_e.createElement("div",{className:Ee("completed-info-label")},_e.createElement("span",{"aria-hidden":"true"},"Completed"),_e.createElement("span",{className:"visually-hidden"},"Course Completed")),n&&_e.createElement(ge.Z,null)):null},CoverDueDate:Ce,CoverProgress:Le,CoverRequirements:function(){var e=(0,Re.Tn)(),t=e.trackingCompletionPercentage,n=e.trackingQuizId;return null==t&&!n?null:De.createElement("section",{className:je("requirements-section")},De.createElement("h2",{className:je("requirements-title")},"Course Requirements"),De.createElement("ul",{className:je("requirements-list")},De.createElement(Ze,null),De.createElement(Fe,null)))},LessonNav:Je};function nt(e){var t=e.children;return et.createElement(Qe.K,tt,t)}var rt=__webpack_require__(99376),it=function(e,t,n){var r=(0,i.useRef)(void 0);r.current&&n(t,r.current)||(r.current=t),(0,i.useEffect)(e,r.current)},ot=function(e,t){return e.every((function(e,n){return(0,rt.D)(e,t[n])}))},at=function(e,t){it(e,t,ot)},st=__webpack_require__(15209),ut=__webpack_require__(67294),ct={};function lt(e){var t=e.children,n=(0,s.I0)(),r=(0,oe.gV)();return at((function(){n((0,st.z)(r))}),[r]),t}function dt(e){var t,n=e.children,r=(0,W.Tn)(),i=null!==(t=null==r?void 0:r.features)&&void 0!==t?t:ct;return ut.createElement(oe.OH,{value:i},ut.createElement(lt,null,n))}var ft,pt=__webpack_require__(57209),ht=__webpack_require__(71570),mt=__webpack_require__(49611),vt=__webpack_require__.n(mt),gt=__webpack_require__(68358),yt=__webpack_require__(67294),bt=function(){return yt.createElement(vt(),{title:(0,gt.Z)()},yt.createElement("div",null,yt.createElement("div",{className:"not-found"},yt.createElement("div",{className:"not-found__copy"},yt.createElement("h1",{className:"not-found__copy--heading"},"Hmm..."),yt.createElement("div",null,"We can't seem to find the page you're looking for.")))))},_t=__webpack_require__(83728),wt=__webpack_require__(23018),Et=__webpack_require__.n(wt),kt=__webpack_require__(17794),xt=__webpack_require__.n(kt),St=__webpack_require__(62848),Tt=__webpack_require__.n(St),Ct=__webpack_require__(53007),Nt=__webpack_require__.n(Ct),Ot=__webpack_require__(95242),At=__webpack_require__(66191),Pt=(0,be.Z)("curtain"),Lt=function(e){var t=e.loadingText,n=e.showHeader,r=e.status,o=(0,i.useState)(!1),a=(0,_t.Z)(o,2),s=a[0],u=a[1],c=function(){return u(!0)},l=Tt()("status","error"),d=Tt()("status","fatalError"),f=Et()(l,Tt()("reconnectFailed",!0));return(0,i.useEffect)((function(){return ft=setTimeout(c,1e4),function(){clearTimeout(ft)}}),[]),(0,i.useEffect)((function(){if("error"===r){var e=new Error("There was a socket connection error. The renderReconnect curtain was displayed");At.f.logger.error(e.message,e)}}),[r]),xt()([[d,Rt],[f,jt],[l,Dt],[Nt(),Mt(t)]])({showHeader:n,status:r,reconnectFailed:s})},It=function(){return window.location.reload(!0)},Mt=function(e){return function(t){var n=t.showHeader;return i.createElement("div",{className:Pt("container",{"show-header":n})},i.createElement("div",{className:Pt()},i.createElement("div",{className:Pt("spinner")}),i.createElement("div",{className:Pt("text")},e||"Your content is loading.")))}},Rt=function(e){var t=e.showHeader;return i.createElement("div",{className:Pt("container",{"show-header":t})},i.createElement("div",{className:Pt()},i.createElement("div",{className:Pt("title")},"Something went wrong."),i.createElement("div",{className:Pt("description")},"Click to refresh and try again."),i.createElement(Ot.Z,{headerDone:!0,onClick:It},"Refresh")))},Dt=function(e){var t=e.showHeader;return i.createElement("div",{className:Pt("container",{"show-header":t})},i.createElement("div",{className:Pt()},i.createElement("div",{className:Pt("spinner",{reconnect:!0})}),i.createElement("div",{className:Pt("title")},"Your computer is offline."),i.createElement("div",{className:Pt("description")},"Attempting to reconnect…")))},jt=function(e){var t=e.showHeader;return i.createElement("div",{className:Pt("container",{"show-header":t})},i.createElement("div",{className:Pt()},i.createElement("div",{className:Pt("title")},"Your session has timed out."),i.createElement("div",{className:Pt("description")},"Click refresh to restart your session."),i.createElement(Ot.Z,{headerDone:!0,onClick:It},"Refresh")))},Zt=(0,i.memo)(Lt),Bt=__webpack_require__(69532),Ft=__webpack_require__(80454),Ut=__webpack_require__(24230),qt=__webpack_require__(79886),zt=__webpack_require__(67294),Ht=zt.lazy((function(){return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,28507))})),Vt=zt.lazy((function(){return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,28092))}));function Wt(e){var t=(0,oe.ye)("rise-course-themes")?Ht:Vt;return zt.createElement(t,e)}function Yt(){return(0,s.v9)((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}}))}(0,pt.v6)({ignoreSFC:!0,pureRender:!0});var Gt=(0,ht.w)((function(){var e;e=(0,s.I0)(),(0,i.useEffect)((function(){e((0,Ft.sr)()),e((0,Ut.B8)())}),[e]),function(){var e=(0,s.I0)(),t=(0,i.useCallback)((function(){e((0,qt.B9)(!0))}),[e]),n=Yt(),r=n.status,o=r.courseLoaded,a=r.coverLoaded;if(o&&!a){var u=n.course.coverImage,c=(void 0===u?{}:u).media,l=(void 0===c?{}:c).image,d=void 0===l?{}:l,f=d.key,p=d.src;if(f||p){var h=f?(0,Bt.xR)(d):p,m=setTimeout(t,5e3),v=new Image;v.src=h,v.onload=function(){clearTimeout(m),t()}}else t()}}();var t=Yt(),n=t.status,r=n.courseLoaded,o=n.coverLoaded,a=n.fontsLoaded,u=n.notFound,c=n.partnerContentLoaded,l=r&&a&&o&&c,d=!l;return(0,i.useEffect)((function(){l&&window.parent!==window&&window.parent.postMessage({type:"course:ready"},window.location.origin)}),[l]),u?zt.createElement(bt,null):d?zt.createElement(Zt,{status:status}):zt.createElement(Wt,t)})),Kt=Z();(0,H.gY)(Kt),(0,o.render)(i.createElement(i.Suspense,{fallback:null},i.createElement(s.zt,{store:V.h},i.createElement(nt,null,i.createElement(z.jS,null,i.createElement(dt,null,i.createElement(a.F0,{history:Kt},i.createElement(a.AW,{path:"/",component:Gt}))))))),document.getElementById("app"))}()})();

AnonSec - 2021